profinansy-ui-lib 4.1.4 → 4.1.5
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/profinansy-ui-lib.cjs +28 -28
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +242 -242
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +70 -33
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
`+te+S}}var pe=!1,ve;{var He=typeof WeakMap=="function"?WeakMap:Map;ve=new He}function G(S,Y){if(!S||pe)return"";{var q=ve.get(S);if(q!==void 0)return q}var fe;pe=!0;var _e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ve;Ve=z.current,z.current=null,re();try{if(Y){var be=function(){throw Error()};if(Object.defineProperty(be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(be,[])}catch(Cn){fe=Cn}Reflect.construct(S,[],be)}else{try{be.call()}catch(Cn){fe=Cn}S.call(be.prototype)}}else{try{throw Error()}catch(Cn){fe=Cn}S()}}catch(Cn){if(Cn&&fe&&typeof Cn.stack=="string"){for(var Ce=Cn.stack.split(`
|
|
19
19
|
`),xt=fe.stack.split(`
|
|
20
20
|
`),Xe=Ce.length-1,qe=xt.length-1;Xe>=1&&qe>=0&&Ce[Xe]!==xt[qe];)qe--;for(;Xe>=1&&qe>=0;Xe--,qe--)if(Ce[Xe]!==xt[qe]){if(Xe!==1||qe!==1)do if(Xe--,qe--,qe<0||Ce[Xe]!==xt[qe]){var jt=`
|
|
21
|
-
`+Ce[Xe].replace(" at new "," at ");return S.displayName&&jt.includes("<anonymous>")&&(jt=jt.replace("<anonymous>",S.displayName)),typeof S=="function"&&ve.set(S,jt),jt}while(Xe>=1&&qe>=0);break}}}finally{pe=!1,z.current=Ve,oe(),Error.prepareStackTrace=_e}var gr=S?S.displayName||S.name:"",tc=gr?Q(gr):"";return typeof S=="function"&&ve.set(S,tc),tc}function Mt(S,Y,q){return G(S,!1)}function ht(S){var Y=S.prototype;return!!(Y&&Y.isReactComponent)}function Ge(S,Y,q){if(S==null)return"";if(typeof S=="function")return G(S,ht(S));if(typeof S=="string")return Q(S);switch(S){case u:return Q("Suspense");case p:return Q("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case c:return Mt(S.render);case f:return Ge(S.type,Y,q);case g:{var fe=S,_e=fe._payload,Ve=fe._init;try{return Ge(Ve(_e),Y,q)}catch{}}}return""}var
|
|
21
|
+
`+Ce[Xe].replace(" at new "," at ");return S.displayName&&jt.includes("<anonymous>")&&(jt=jt.replace("<anonymous>",S.displayName)),typeof S=="function"&&ve.set(S,jt),jt}while(Xe>=1&&qe>=0);break}}}finally{pe=!1,z.current=Ve,oe(),Error.prepareStackTrace=_e}var gr=S?S.displayName||S.name:"",tc=gr?Q(gr):"";return typeof S=="function"&&ve.set(S,tc),tc}function Mt(S,Y,q){return G(S,!1)}function ht(S){var Y=S.prototype;return!!(Y&&Y.isReactComponent)}function Ge(S,Y,q){if(S==null)return"";if(typeof S=="function")return G(S,ht(S));if(typeof S=="string")return Q(S);switch(S){case u:return Q("Suspense");case p:return Q("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case c:return Mt(S.render);case f:return Ge(S.type,Y,q);case g:{var fe=S,_e=fe._payload,Ve=fe._init;try{return Ge(Ve(_e),Y,q)}catch{}}}return""}var Jt=Object.prototype.hasOwnProperty,ee={},ae=y.ReactDebugCurrentFrame;function he(S){if(S){var Y=S._owner,q=Ge(S.type,S._source,Y?Y.type:null);ae.setExtraStackFrame(q)}else ae.setExtraStackFrame(null)}function Ne(S,Y,q,fe,_e){{var Ve=Function.call.bind(Jt);for(var be in S)if(Ve(S,be)){var Ce=void 0;try{if(typeof S[be]!="function"){var xt=Error((fe||"React class")+": "+q+" type `"+be+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[be]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw xt.name="Invariant Violation",xt}Ce=S[be](Y,be,fe,q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Xe){Ce=Xe}Ce&&!(Ce instanceof Error)&&(he(_e),k("%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).",fe||"React class",q,be,typeof Ce),he(null)),Ce instanceof Error&&!(Ce.message in ee)&&(ee[Ce.message]=!0,he(_e),k("Failed %s type: %s",q,Ce.message),he(null))}}}var mt=Array.isArray;function Pe(S){return mt(S)}function De(S){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,q=Y&&S[Symbol.toStringTag]||S.constructor.name||"Object";return q}}function Ht(S){try{return Vt(S),!1}catch{return!0}}function Vt(S){return""+S}function Nt(S){if(Ht(S))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",De(S)),Vt(S)}var hr=y.ReactCurrentOwner,g6={key:!0,ref:!0,__self:!0,__source:!0},Gl,Xl;function v6(S){if(Jt.call(S,"ref")){var Y=Object.getOwnPropertyDescriptor(S,"ref").get;if(Y&&Y.isReactWarning)return!1}return S.ref!==void 0}function C6(S){if(Jt.call(S,"key")){var Y=Object.getOwnPropertyDescriptor(S,"key").get;if(Y&&Y.isReactWarning)return!1}return S.key!==void 0}function x6(S,Y){typeof S.ref=="string"&&hr.current}function b6(S,Y){{var q=function(){Gl||(Gl=!0,k("%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)",Y))};q.isReactWarning=!0,Object.defineProperty(S,"key",{get:q,configurable:!0})}}function y6(S,Y){{var q=function(){Xl||(Xl=!0,k("%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)",Y))};q.isReactWarning=!0,Object.defineProperty(S,"ref",{get:q,configurable:!0})}}var w6=function(S,Y,q,fe,_e,Ve,be){var Ce={$$typeof:t,type:S,key:Y,ref:q,props:be,_owner:Ve};return Ce._store={},Object.defineProperty(Ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(Ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_e}),Object.freeze&&(Object.freeze(Ce.props),Object.freeze(Ce)),Ce};function k6(S,Y,q,fe,_e){{var Ve,be={},Ce=null,xt=null;q!==void 0&&(Nt(q),Ce=""+q),C6(Y)&&(Nt(Y.key),Ce=""+Y.key),v6(Y)&&(xt=Y.ref,x6(Y,_e));for(Ve in Y)Jt.call(Y,Ve)&&!g6.hasOwnProperty(Ve)&&(be[Ve]=Y[Ve]);if(S&&S.defaultProps){var Xe=S.defaultProps;for(Ve in Xe)be[Ve]===void 0&&(be[Ve]=Xe[Ve])}if(Ce||xt){var qe=typeof S=="function"?S.displayName||S.name||"Unknown":S;Ce&&b6(be,qe),xt&&y6(be,qe)}return w6(S,Ce,xt,_e,fe,hr.current,be)}}var oa=y.ReactCurrentOwner,Jl=y.ReactDebugCurrentFrame;function mr(S){if(S){var Y=S._owner,q=Ge(S.type,S._source,Y?Y.type:null);Jl.setExtraStackFrame(q)}else Jl.setExtraStackFrame(null)}var ia;ia=!1;function aa(S){return typeof S=="object"&&S!==null&&S.$$typeof===t}function Ul(){{if(oa.current){var S=V(oa.current.type);if(S)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+S+"`."}return""}}function E6(S){return""}var Ql={};function L6(S){{var Y=Ul();if(!Y){var q=typeof S=="string"?S:S.displayName||S.name;q&&(Y=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(!S._store||S._store.validated||S.key!=null)return;S._store.validated=!0;var q=L6(Y);if(Ql[q])return;Ql[q]=!0;var fe="";S&&S._owner&&S._owner!==oa.current&&(fe=" It was passed a child from "+V(S._owner.type)+"."),mr(S),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',q,fe),mr(null)}}function ql(S,Y){{if(typeof S!="object")return;if(Pe(S))for(var q=0;q<S.length;q++){var fe=S[q];aa(fe)&&Kl(fe,Y)}else if(aa(S))S._store&&(S._store.validated=!0);else if(S){var _e=b(S);if(typeof _e=="function"&&_e!==S.entries)for(var Ve=_e.call(S),be;!(be=Ve.next()).done;)aa(be.value)&&Kl(be.value,Y)}}}function M6(S){{var Y=S.type;if(Y==null||typeof Y=="string")return;var q;if(typeof Y=="function")q=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===c||Y.$$typeof===f))q=Y.propTypes;else return;if(q){var fe=V(Y);Ne(q,S.props,"prop",fe,S)}else if(Y.PropTypes!==void 0&&!ia){ia=!0;var _e=V(Y);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_e||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $6(S){{for(var Y=Object.keys(S.props),q=0;q<Y.length;q++){var fe=Y[q];if(fe!=="children"&&fe!=="key"){mr(S),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),mr(null);break}}S.ref!==null&&(mr(S),k("Invalid attribute `ref` supplied to `React.Fragment`."),mr(null))}}function ec(S,Y,q,fe,_e,Ve){{var be=P(S);if(!be){var Ce="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(Ce+=" 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 xt=E6();xt?Ce+=xt:Ce+=Ul();var Xe;S===null?Xe="null":Pe(S)?Xe="array":S!==void 0&&S.$$typeof===t?(Xe="<"+(V(S.type)||"Unknown")+" />",Ce=" Did you accidentally export a JSX literal instead of a component?"):Xe=typeof S,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Xe,Ce)}var qe=k6(S,Y,q,_e,Ve);if(qe==null)return qe;if(be){var jt=Y.children;if(jt!==void 0)if(fe)if(Pe(jt)){for(var gr=0;gr<jt.length;gr++)ql(jt[gr],S);Object.freeze&&Object.freeze(jt)}else k("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 ql(jt,S)}return S===r?$6(qe):M6(qe),qe}}function _6(S,Y,q){return ec(S,Y,q,!0)}function I6(S,Y,q){return ec(S,Y,q,!1)}var S6=I6,D6=_6;Qr.Fragment=r,Qr.jsx=S6,Qr.jsxs=D6}()),Qr}var oc;function P6(){return oc||(oc=1,process.env.NODE_ENV==="production"?ci.exports=T6():ci.exports=F6()),ci.exports}var s=P6();function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}function Ot(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Fe(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function xe(e){Fe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Sn(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Es(e,t){Fe(2,arguments);var n=xe(e),r=Ot(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function cd(e,t){Fe(2,arguments);var n=xe(e),r=Ot(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());i.setMonth(n.getMonth()+r+1,0);var a=i.getDate();return o>=a?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}function Kr(e,t){if(Fe(2,arguments),!t||Sn(t)!=="object")return new Date(NaN);var n=t.years?Ot(t.years):0,r=t.months?Ot(t.months):0,o=t.weeks?Ot(t.weeks):0,i=t.days?Ot(t.days):0,a=t.hours?Ot(t.hours):0,l=t.minutes?Ot(t.minutes):0,c=t.seconds?Ot(t.seconds):0,u=xe(e),p=r||n?cd(u,r+n*12):u,f=i||o?Es(p,i+o*7):p,g=l+a*60,v=c+g*60,C=v*1e3,x=new Date(f.getTime()+C);return x}var B6={};function dd(){return B6}function Oi(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function ic(e){Fe(1,arguments);var t=xe(e);return t.setHours(0,0,0,0),t}var H6=864e5;function V6(e,t){Fe(2,arguments);var n=ic(e),r=ic(t),o=n.getTime()-Oi(n),i=r.getTime()-Oi(r);return Math.round((o-i)/H6)}function Jn(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}var N6=6e4,O6=36e5;function W6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function Z6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t);return n.getFullYear()-r.getFullYear()}function ac(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Y6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=ac(n,r),i=Math.abs(V6(n,r));n.setDate(n.getDate()-o*i);var a=+(ac(n,r)===-o),l=o*(i-a);return l===0?0:l}function Ls(e,t){return Fe(2,arguments),xe(e).getTime()-xe(t).getTime()}var z6={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},G6="trunc";function Ms(e){return z6[G6]}function X6(e,t,n){Fe(2,arguments);var r=Ls(e,t)/O6;return Ms()(r)}function J6(e,t,n){Fe(2,arguments);var r=Ls(e,t)/N6;return Ms()(r)}function U6(e){Fe(1,arguments);var t=xe(e);return t.setHours(23,59,59,999),t}function Q6(e){Fe(1,arguments);var t=xe(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function K6(e){Fe(1,arguments);var t=xe(e);return U6(t).getTime()===Q6(t).getTime()}function q6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=Jn(n,r),i=Math.abs(W6(n,r)),a;if(i<1)a=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*i);var l=Jn(n,r)===-o;K6(xe(e))&&i===1&&Jn(e,r)===1&&(l=!1),a=o*(i-Number(l))}return a===0?0:a}function e9(e,t,n){Fe(2,arguments);var r=Ls(e,t)/1e3;return Ms()(r)}function t9(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=Jn(n,r),i=Math.abs(Z6(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=Jn(n,r)===-o,l=o*(i-Number(a));return l===0?0:l}function sc(e,t){var n,r,o,i,a,l,c,u;Fe(1,arguments);var p=dd(),f=Ot((n=(r=(o=(i=t?.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:p.weekStartsOn)!==null&&r!==void 0?r:(c=p.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=xe(e),v=g.getUTCDay(),C=(v<f?7:0)+v-f;return g.setUTCDate(g.getUTCDate()-C),g.setUTCHours(0,0,0,0),g}var n9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r9=function(t,n,r){var o,i=n9[t];return typeof i=="string"?o=i:n===1?o=i.one:o=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function Er(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var o9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},i9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s9={date:Er({formats:o9,defaultWidth:"full"}),time:Er({formats:i9,defaultWidth:"full"}),dateTime:Er({formats:a9,defaultWidth:"full"})},l9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},c9=function(t,n,r,o){return l9[t]};function en(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",o;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{var l=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return o[u]}}var d9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},u9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},p9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},f9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},h9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},m9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g9=function(t,n){var r=Number(t),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},v9={ordinalNumber:g9,era:en({values:d9,defaultWidth:"wide"}),quarter:en({values:u9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:p9,defaultWidth:"wide"}),day:en({values:f9,defaultWidth:"wide"}),dayPeriod:en({values:h9,defaultWidth:"wide",formattingValues:m9,defaultFormattingWidth:"wide"})};function tn(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?x9(l,function(f){return f.test(a)}):C9(l,function(f){return f.test(a)}),u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;var p=t.slice(a.length);return{value:u,rest:p}}}function C9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function x9(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function ud(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(o.length);return{value:a,rest:l}}}var b9=/^(\d+)(th|st|nd|rd)?/i,y9=/\d+/i,w9={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},k9={any:[/^b/i,/^(a|c)/i]},E9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},L9={any:[/1/i,/2/i,/3/i,/4/i]},M9={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},$9={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_9={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},I9={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},S9={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},D9={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},A9={ordinalNumber:ud({matchPattern:b9,parsePattern:y9,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:w9,defaultMatchWidth:"wide",parsePatterns:k9,defaultParseWidth:"any"}),quarter:tn({matchPatterns:E9,defaultMatchWidth:"wide",parsePatterns:L9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:M9,defaultMatchWidth:"wide",parsePatterns:$9,defaultParseWidth:"any"}),day:tn({matchPatterns:_9,defaultMatchWidth:"wide",parsePatterns:I9,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:S9,defaultMatchWidth:"any",parsePatterns:D9,defaultParseWidth:"any"})},$s={code:"en-US",formatDistance:r9,formatLong:s9,formatRelative:c9,localize:v9,match:A9,options:{weekStartsOn:0,firstWeekContainsDate:1}};function pd(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function j9(e){return pd({},e)}var lc=1e3*60,Wi=60*24,cc=Wi*30,dc=Wi*365;function R9(e,t,n){var r,o,i;Fe(2,arguments);var a=dd(),l=(r=(o=n?.locale)!==null&&o!==void 0?o:a.locale)!==null&&r!==void 0?r:$s;if(!l.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var c=Jn(e,t);if(isNaN(c))throw new RangeError("Invalid time value");var u=pd(j9(n),{addSuffix:!!n?.addSuffix,comparison:c}),p,f;c>0?(p=xe(t),f=xe(e)):(p=xe(e),f=xe(t));var g=String((i=n?.roundingMethod)!==null&&i!==void 0?i:"round"),v;if(g==="floor")v=Math.floor;else if(g==="ceil")v=Math.ceil;else if(g==="round")v=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var C=f.getTime()-p.getTime(),x=C/lc,b=Oi(f)-Oi(p),y=(C-b)/lc,k=n?.unit,w;if(k?w=String(k):x<1?w="second":x<60?w="minute":x<Wi?w="hour":y<cc?w="day":y<dc?w="month":w="year",w==="second"){var L=v(C/1e3);return l.formatDistance("xSeconds",L,u)}else if(w==="minute"){var E=v(x);return l.formatDistance("xMinutes",E,u)}else if(w==="hour"){var $=v(x/60);return l.formatDistance("xHours",$,u)}else if(w==="day"){var M=v(y/Wi);return l.formatDistance("xDays",M,u)}else if(w==="month"){var _=v(y/cc);return _===12&&k!=="month"?l.formatDistance("xYears",1,u):l.formatDistance("xMonths",_,u)}else if(w==="year"){var D=v(y/dc);return l.formatDistance("xYears",D,u)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function fd(e,t){return Fe(1,arguments),R9(e,Date.now(),t)}function T9(e){Fe(1,arguments);var t=xe(e),n=t.getMonth();return n}function F9(e){return Fe(1,arguments),xe(e).getFullYear()}function P9(e){Fe(1,arguments);var t=xe(e.start),n=xe(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(t9(n,t));var o=Jn(n,t),i=Kr(t,{years:o*r.years});r.months=Math.abs(q6(n,i));var a=Kr(i,{months:o*r.months});r.days=Math.abs(Y6(n,a));var l=Kr(a,{days:o*r.days});r.hours=Math.abs(X6(n,l));var c=Kr(l,{hours:o*r.hours});r.minutes=Math.abs(J6(n,c));var u=Kr(c,{minutes:o*r.minutes});return r.seconds=Math.abs(e9(n,u)),r}function B9(e,t){Fe(2,arguments);var n=xe(e),r=xe(t);return n.getTime()>r.getTime()}function Ya(e,t){Fe(2,arguments);var n=xe(e),r=xe(t);return n.getTime()<r.getTime()}function za(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function hd(e,t){if(e){if(typeof e=="string")return za(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?za(e,t):void 0}}function H9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ga(e,t){return Ga=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ga(e,t)}function V9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ga(e,t)}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Zi(e)}function md(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(md=function(){return!!e})()}function N9(e,t){if(t&&(Sn(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H9(e)}function O9(e){var t=md();return function(){var n,r=Zi(e);if(t){var o=Zi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N9(this,n)}}function W9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z9(e,t){if(Sn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Sn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gd(e){var t=Z9(e,"string");return Sn(t)=="symbol"?t:t+""}function uc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gd(r.key),r)}}function Y9(e,t,n){return t&&uc(e.prototype,t),n&&uc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function co(e,t,n){return(t=gd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vd(e,t){Fe(2,arguments);var n=Ot(t);return Es(e,-n)}const z9=(e,t)=>{let n=null,r=null;const o=e?.is_trial,i=t.main||t.premium;return t&&"idv"in t&&!o?r=!0:o&&!Ya(new Date(o),new Date)&&(!i||Ya(new Date(i),new Date))&&(n=o),{trial:n,isPossibleTrial:r}},_s=e=>({isEmployee:!!e?.employee}),G9="https://lenta.qa.profinansy.dev",X9="https://lenta.profinansy.ru",J9="https://lms.qa.profinansy.dev",U9="https://profinansy.ru",Q9="https://frontend.qa.profinansy.dev",K9="https://profinansy.ru",q9=(e,t)=>e==="lenta"?"":t?G9:X9,e7=(e,t)=>e==="lms"?"":t?J9:U9,t7=(e,t)=>e==="profinansy"||e==="wallet"?"":t?Q9:K9,n7=(e,t)=>{const n=t7(t,e),r=q9(t,e);return{hostnameLMS:e7(t,e),hostname:n,hostnameLenta:r}},r7=e=>{const{rights:t={},authorized:n,user_id:r}=e||{},o=t.ext===1,i=t.std===1;return o?"paid":i?"standard":n===!0||r!==void 0?"authorized":"guest"},Cd=m.createContext({isTest:!1,pathname:"",project:null,user:{},userRole:null,LinkWrapper:"a",hostnames:{hostname:"",hostnameLenta:"",hostnameLMS:""}}),o7=({config:e,children:t})=>{const n=n7(e.isTest,e.project),r=r7(e.user);return s.jsx(Cd.Provider,{value:{...e,user:e.user||{},hostnames:n,userRole:r},children:t})},ue=()=>{const e=m.useContext(Cd);if(!e)throw new Error("useConfig must be used within a ConfigProvider");return e},jr=typeof window<"u";function i7(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const pc=()=>{if(!jr)return"desktop";const e=navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)||i7()?"mobile":"desktop"},zr=()=>{const[e,t]=m.useState(pc());return m.useEffect(()=>{const n=pc();t(n)},[]),{device:e}},wn=64;let Is=!1;const fc=e=>{Is=e},Yi=(e,t)=>(typeof window<"u"?window.innerWidth:1200)<=1100?64:t!==void 0?t?64:118:Is?64:118;function Je(e){const t=typeof window<"u"?window.innerWidth:1200;let n;return t<=1100?n=64:n=Is?64:118,e===!0?n:`var(--header-height, ${n}px)`}const Co=1100,we=960,le=600,xd=24,zi=48,a7={GET:"GET"},s7=process.env.NEXT_PUBLIC_API_URL||process.env.REACT_APP_BASE_ENDPOINT_MAIN,Ss=process.env.NEXT_PUBLIC_LMS_API||process.env.REACT_APP_BASE_ENDPOINT_LMS,y1=process.env.NEXT_PUBLIC_BANNER_API||process.env.REACT_APP_BANNER_API,l7={apiKey:process.env.NEXT_PUBLIC_FIREBASE_API_KEY||process.env.REACT_APP_FIREBASE_API_KEY,authDomain:process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN||process.env.REACT_APP_FIREBASE_AUTH_DOMAIN,projectId:process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID||process.env.REACT_APP_FIREBASE_PROJECT_ID,storageBucket:process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET||process.env.REACT_APP_FIREBASE_STORAGE_BUCKET,messagingSenderId:process.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID||process.env.REACT_APP_FIREBASE_MESSAGING_SENDER_ID,appId:process.env.NEXT_PUBLIC_FIREBASE_APP_ID||process.env.REACT_APP_FIREBASE_APP_ID,measurementId:process.env.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID||process.env.REACT_APP_FIREBASE_MEASUREMENT_ID,vapidKey:process.env.NEXT_PUBLIC_FIREBASE_VAPID_KEY||process.env.REACT_APP_FIREBASE_VAPID_KEY},c7=process.env.NEXT_PUBLIC_WS_URL||process.env.REACT_APP_WS_URL,bd=h.styled.div`
|
|
25
|
+
Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(!S._store||S._store.validated||S.key!=null)return;S._store.validated=!0;var q=L6(Y);if(Ql[q])return;Ql[q]=!0;var fe="";S&&S._owner&&S._owner!==oa.current&&(fe=" It was passed a child from "+V(S._owner.type)+"."),mr(S),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',q,fe),mr(null)}}function ql(S,Y){{if(typeof S!="object")return;if(Pe(S))for(var q=0;q<S.length;q++){var fe=S[q];aa(fe)&&Kl(fe,Y)}else if(aa(S))S._store&&(S._store.validated=!0);else if(S){var _e=b(S);if(typeof _e=="function"&&_e!==S.entries)for(var Ve=_e.call(S),be;!(be=Ve.next()).done;)aa(be.value)&&Kl(be.value,Y)}}}function M6(S){{var Y=S.type;if(Y==null||typeof Y=="string")return;var q;if(typeof Y=="function")q=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===c||Y.$$typeof===f))q=Y.propTypes;else return;if(q){var fe=V(Y);Ne(q,S.props,"prop",fe,S)}else if(Y.PropTypes!==void 0&&!ia){ia=!0;var _e=V(Y);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_e||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $6(S){{for(var Y=Object.keys(S.props),q=0;q<Y.length;q++){var fe=Y[q];if(fe!=="children"&&fe!=="key"){mr(S),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),mr(null);break}}S.ref!==null&&(mr(S),k("Invalid attribute `ref` supplied to `React.Fragment`."),mr(null))}}function ec(S,Y,q,fe,_e,Ve){{var be=P(S);if(!be){var Ce="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(Ce+=" 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 xt=E6();xt?Ce+=xt:Ce+=Ul();var Xe;S===null?Xe="null":Pe(S)?Xe="array":S!==void 0&&S.$$typeof===t?(Xe="<"+(V(S.type)||"Unknown")+" />",Ce=" Did you accidentally export a JSX literal instead of a component?"):Xe=typeof S,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Xe,Ce)}var qe=k6(S,Y,q,_e,Ve);if(qe==null)return qe;if(be){var jt=Y.children;if(jt!==void 0)if(fe)if(Pe(jt)){for(var gr=0;gr<jt.length;gr++)ql(jt[gr],S);Object.freeze&&Object.freeze(jt)}else k("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 ql(jt,S)}return S===r?$6(qe):M6(qe),qe}}function _6(S,Y,q){return ec(S,Y,q,!0)}function I6(S,Y,q){return ec(S,Y,q,!1)}var S6=I6,D6=_6;Qr.Fragment=r,Qr.jsx=S6,Qr.jsxs=D6}()),Qr}var oc;function P6(){return oc||(oc=1,process.env.NODE_ENV==="production"?ci.exports=T6():ci.exports=F6()),ci.exports}var s=P6();function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}function Ot(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Fe(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function xe(e){Fe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Sn(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Es(e,t){Fe(2,arguments);var n=xe(e),r=Ot(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function cd(e,t){Fe(2,arguments);var n=xe(e),r=Ot(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());i.setMonth(n.getMonth()+r+1,0);var a=i.getDate();return o>=a?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}function Kr(e,t){if(Fe(2,arguments),!t||Sn(t)!=="object")return new Date(NaN);var n=t.years?Ot(t.years):0,r=t.months?Ot(t.months):0,o=t.weeks?Ot(t.weeks):0,i=t.days?Ot(t.days):0,a=t.hours?Ot(t.hours):0,l=t.minutes?Ot(t.minutes):0,c=t.seconds?Ot(t.seconds):0,u=xe(e),p=r||n?cd(u,r+n*12):u,f=i||o?Es(p,i+o*7):p,g=l+a*60,v=c+g*60,C=v*1e3,x=new Date(f.getTime()+C);return x}var B6={};function dd(){return B6}function Oi(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function ic(e){Fe(1,arguments);var t=xe(e);return t.setHours(0,0,0,0),t}var H6=864e5;function V6(e,t){Fe(2,arguments);var n=ic(e),r=ic(t),o=n.getTime()-Oi(n),i=r.getTime()-Oi(r);return Math.round((o-i)/H6)}function Jn(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}var N6=6e4,O6=36e5;function W6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function Z6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t);return n.getFullYear()-r.getFullYear()}function ac(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Y6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=ac(n,r),i=Math.abs(V6(n,r));n.setDate(n.getDate()-o*i);var a=+(ac(n,r)===-o),l=o*(i-a);return l===0?0:l}function Ls(e,t){return Fe(2,arguments),xe(e).getTime()-xe(t).getTime()}var z6={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},G6="trunc";function Ms(e){return z6[G6]}function X6(e,t,n){Fe(2,arguments);var r=Ls(e,t)/O6;return Ms()(r)}function J6(e,t,n){Fe(2,arguments);var r=Ls(e,t)/N6;return Ms()(r)}function U6(e){Fe(1,arguments);var t=xe(e);return t.setHours(23,59,59,999),t}function Q6(e){Fe(1,arguments);var t=xe(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function K6(e){Fe(1,arguments);var t=xe(e);return U6(t).getTime()===Q6(t).getTime()}function q6(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=Jn(n,r),i=Math.abs(W6(n,r)),a;if(i<1)a=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*i);var l=Jn(n,r)===-o;K6(xe(e))&&i===1&&Jn(e,r)===1&&(l=!1),a=o*(i-Number(l))}return a===0?0:a}function e9(e,t,n){Fe(2,arguments);var r=Ls(e,t)/1e3;return Ms()(r)}function t9(e,t){Fe(2,arguments);var n=xe(e),r=xe(t),o=Jn(n,r),i=Math.abs(Z6(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=Jn(n,r)===-o,l=o*(i-Number(a));return l===0?0:l}function sc(e,t){var n,r,o,i,a,l,c,u;Fe(1,arguments);var p=dd(),f=Ot((n=(r=(o=(i=t?.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:p.weekStartsOn)!==null&&r!==void 0?r:(c=p.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=xe(e),v=g.getUTCDay(),C=(v<f?7:0)+v-f;return g.setUTCDate(g.getUTCDate()-C),g.setUTCHours(0,0,0,0),g}var n9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r9=function(t,n,r){var o,i=n9[t];return typeof i=="string"?o=i:n===1?o=i.one:o=i.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function Er(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var o9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},i9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s9={date:Er({formats:o9,defaultWidth:"full"}),time:Er({formats:i9,defaultWidth:"full"}),dateTime:Er({formats:a9,defaultWidth:"full"})},l9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},c9=function(t,n,r,o){return l9[t]};function tn(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",o;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{var l=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[c]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return o[u]}}var d9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},u9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},p9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},f9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},h9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},m9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g9=function(t,n){var r=Number(t),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},v9={ordinalNumber:g9,era:tn({values:d9,defaultWidth:"wide"}),quarter:tn({values:u9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:tn({values:p9,defaultWidth:"wide"}),day:tn({values:f9,defaultWidth:"wide"}),dayPeriod:tn({values:h9,defaultWidth:"wide",formattingValues:m9,defaultFormattingWidth:"wide"})};function nn(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?x9(l,function(f){return f.test(a)}):C9(l,function(f){return f.test(a)}),u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;var p=t.slice(a.length);return{value:u,rest:p}}}function C9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function x9(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function ud(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(o.length);return{value:a,rest:l}}}var b9=/^(\d+)(th|st|nd|rd)?/i,y9=/\d+/i,w9={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},k9={any:[/^b/i,/^(a|c)/i]},E9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},L9={any:[/1/i,/2/i,/3/i,/4/i]},M9={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},$9={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_9={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},I9={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},S9={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},D9={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},A9={ordinalNumber:ud({matchPattern:b9,parsePattern:y9,valueCallback:function(t){return parseInt(t,10)}}),era:nn({matchPatterns:w9,defaultMatchWidth:"wide",parsePatterns:k9,defaultParseWidth:"any"}),quarter:nn({matchPatterns:E9,defaultMatchWidth:"wide",parsePatterns:L9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:nn({matchPatterns:M9,defaultMatchWidth:"wide",parsePatterns:$9,defaultParseWidth:"any"}),day:nn({matchPatterns:_9,defaultMatchWidth:"wide",parsePatterns:I9,defaultParseWidth:"any"}),dayPeriod:nn({matchPatterns:S9,defaultMatchWidth:"any",parsePatterns:D9,defaultParseWidth:"any"})},$s={code:"en-US",formatDistance:r9,formatLong:s9,formatRelative:c9,localize:v9,match:A9,options:{weekStartsOn:0,firstWeekContainsDate:1}};function pd(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function j9(e){return pd({},e)}var lc=1e3*60,Wi=60*24,cc=Wi*30,dc=Wi*365;function R9(e,t,n){var r,o,i;Fe(2,arguments);var a=dd(),l=(r=(o=n?.locale)!==null&&o!==void 0?o:a.locale)!==null&&r!==void 0?r:$s;if(!l.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var c=Jn(e,t);if(isNaN(c))throw new RangeError("Invalid time value");var u=pd(j9(n),{addSuffix:!!n?.addSuffix,comparison:c}),p,f;c>0?(p=xe(t),f=xe(e)):(p=xe(e),f=xe(t));var g=String((i=n?.roundingMethod)!==null&&i!==void 0?i:"round"),v;if(g==="floor")v=Math.floor;else if(g==="ceil")v=Math.ceil;else if(g==="round")v=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var C=f.getTime()-p.getTime(),x=C/lc,b=Oi(f)-Oi(p),y=(C-b)/lc,k=n?.unit,w;if(k?w=String(k):x<1?w="second":x<60?w="minute":x<Wi?w="hour":y<cc?w="day":y<dc?w="month":w="year",w==="second"){var L=v(C/1e3);return l.formatDistance("xSeconds",L,u)}else if(w==="minute"){var E=v(x);return l.formatDistance("xMinutes",E,u)}else if(w==="hour"){var $=v(x/60);return l.formatDistance("xHours",$,u)}else if(w==="day"){var M=v(y/Wi);return l.formatDistance("xDays",M,u)}else if(w==="month"){var _=v(y/cc);return _===12&&k!=="month"?l.formatDistance("xYears",1,u):l.formatDistance("xMonths",_,u)}else if(w==="year"){var D=v(y/dc);return l.formatDistance("xYears",D,u)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function fd(e,t){return Fe(1,arguments),R9(e,Date.now(),t)}function T9(e){Fe(1,arguments);var t=xe(e),n=t.getMonth();return n}function F9(e){return Fe(1,arguments),xe(e).getFullYear()}function P9(e){Fe(1,arguments);var t=xe(e.start),n=xe(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(t9(n,t));var o=Jn(n,t),i=Kr(t,{years:o*r.years});r.months=Math.abs(q6(n,i));var a=Kr(i,{months:o*r.months});r.days=Math.abs(Y6(n,a));var l=Kr(a,{days:o*r.days});r.hours=Math.abs(X6(n,l));var c=Kr(l,{hours:o*r.hours});r.minutes=Math.abs(J6(n,c));var u=Kr(c,{minutes:o*r.minutes});return r.seconds=Math.abs(e9(n,u)),r}function B9(e,t){Fe(2,arguments);var n=xe(e),r=xe(t);return n.getTime()>r.getTime()}function Ya(e,t){Fe(2,arguments);var n=xe(e),r=xe(t);return n.getTime()<r.getTime()}function za(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function hd(e,t){if(e){if(typeof e=="string")return za(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?za(e,t):void 0}}function H9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ga(e,t){return Ga=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ga(e,t)}function V9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ga(e,t)}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Zi(e)}function md(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(md=function(){return!!e})()}function N9(e,t){if(t&&(Sn(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H9(e)}function O9(e){var t=md();return function(){var n,r=Zi(e);if(t){var o=Zi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N9(this,n)}}function W9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z9(e,t){if(Sn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Sn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gd(e){var t=Z9(e,"string");return Sn(t)=="symbol"?t:t+""}function uc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gd(r.key),r)}}function Y9(e,t,n){return t&&uc(e.prototype,t),n&&uc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function co(e,t,n){return(t=gd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vd(e,t){Fe(2,arguments);var n=Ot(t);return Es(e,-n)}const z9=(e,t)=>{let n=null,r=null;const o=e?.is_trial,i=t.main||t.premium;return t&&"idv"in t&&!o?r=!0:o&&!Ya(new Date(o),new Date)&&(!i||Ya(new Date(i),new Date))&&(n=o),{trial:n,isPossibleTrial:r}},_s=e=>({isEmployee:!!e?.employee}),G9="https://lenta.qa.profinansy.dev",X9="https://lenta.profinansy.ru",J9="https://lms.qa.profinansy.dev",U9="https://profinansy.ru",Q9="https://frontend.qa.profinansy.dev",K9="https://profinansy.ru",q9=(e,t)=>e==="lenta"?"":t?G9:X9,e7=(e,t)=>e==="lms"?"":t?J9:U9,t7=(e,t)=>e==="profinansy"||e==="wallet"?"":t?Q9:K9,n7=(e,t)=>{const n=t7(t,e),r=q9(t,e);return{hostnameLMS:e7(t,e),hostname:n,hostnameLenta:r}},r7=e=>{const{rights:t={},authorized:n,user_id:r}=e||{},o=t.ext===1,i=t.std===1;return o?"paid":i?"standard":n===!0||r!==void 0?"authorized":"guest"},Cd=m.createContext({isTest:!1,pathname:"",project:null,user:{},userRole:null,LinkWrapper:"a",hostnames:{hostname:"",hostnameLenta:"",hostnameLMS:""}}),o7=({config:e,children:t})=>{const n=n7(e.isTest,e.project),r=r7(e.user);return s.jsx(Cd.Provider,{value:{...e,user:e.user||{},hostnames:n,userRole:r},children:t})},ue=()=>{const e=m.useContext(Cd);if(!e)throw new Error("useConfig must be used within a ConfigProvider");return e},jr=typeof window<"u";function i7(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const pc=()=>{if(!jr)return"desktop";const e=navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)||i7()?"mobile":"desktop"},zr=()=>{const[e,t]=m.useState(pc());return m.useEffect(()=>{const n=pc();t(n)},[]),{device:e}},wn=64;let Is=!1;const fc=e=>{Is=e},Yi=(e,t)=>(typeof window<"u"?window.innerWidth:1200)<=1100?64:t!==void 0?t?64:118:Is?64:118;function Je(e){const t=typeof window<"u"?window.innerWidth:1200;let n;return t<=1100?n=64:n=Is?64:118,e===!0?n:`var(--header-height, ${n}px)`}const Co=1100,we=960,le=600,xd=24,zi=48,a7={GET:"GET"},s7=process.env.NEXT_PUBLIC_API_URL||process.env.REACT_APP_BASE_ENDPOINT_MAIN,Ss=process.env.NEXT_PUBLIC_LMS_API||process.env.REACT_APP_BASE_ENDPOINT_LMS,y1=process.env.NEXT_PUBLIC_BANNER_API||process.env.REACT_APP_BANNER_API,l7={apiKey:process.env.NEXT_PUBLIC_FIREBASE_API_KEY||process.env.REACT_APP_FIREBASE_API_KEY,authDomain:process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN||process.env.REACT_APP_FIREBASE_AUTH_DOMAIN,projectId:process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID||process.env.REACT_APP_FIREBASE_PROJECT_ID,storageBucket:process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET||process.env.REACT_APP_FIREBASE_STORAGE_BUCKET,messagingSenderId:process.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID||process.env.REACT_APP_FIREBASE_MESSAGING_SENDER_ID,appId:process.env.NEXT_PUBLIC_FIREBASE_APP_ID||process.env.REACT_APP_FIREBASE_APP_ID,measurementId:process.env.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID||process.env.REACT_APP_FIREBASE_MEASUREMENT_ID,vapidKey:process.env.NEXT_PUBLIC_FIREBASE_VAPID_KEY||process.env.REACT_APP_FIREBASE_VAPID_KEY},c7=process.env.NEXT_PUBLIC_WS_URL||process.env.REACT_APP_WS_URL,bd=h.styled.div`
|
|
26
26
|
position: fixed;
|
|
27
27
|
z-index: 2000;
|
|
28
28
|
top: 0;
|
|
@@ -224,7 +224,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
224
224
|
@media (max-width: ${le}px) {
|
|
225
225
|
max-height: calc(100dvh - 200px);
|
|
226
226
|
}
|
|
227
|
-
`,et={ru:{main_menu:"Меню",investments:"Инвестиции",review:"Обзор",all_review:"Все рынки",dashboard_stocks:"Акции",dashboard_bonds:"Облигации",dashboard_etf:"Фонды",dashboard_crypto:"Криптовалюты",portfolios:"Портфели",portfolios_list:"Витрина портфелей",selections:"Готовые подборки",calendars:"Календари",dividend_calendar:"Дивиденды",economic_calendar:"Экономика",bonds_calendar:"Облигации",coupon_calendar:"Купоны",bond_redemption_calendar:"Погашения",bond_offer_calendar:"Оферты",bond_default_calendar:"Дефолты",report_calendar:"Отчетность",ipo_calendar:"IPO",ico_calendar:"ICO",air_calendar:"Аирдропы",screener:"Скринер",stocks_screener:"Акции",bonds_screener:"Облигации",etf_screener:"Фонды",crypto_screener:"Криптовалюты",futures_screener:"Фьючерсы",asset_comparison:"Сравнение активов",asset_comparison_stocks:"Акции",asset_comparison_bonds:"Облигации",asset_comparison_etf:"Фонды",passive_income:"Пасс. доход",passive_income_stocks:"Акции",passive_income_bonds:"Облигации",passive_income_common:"Общий",economic_cycles:"Эконом. циклы",heat_map:"Тепловые карты",rrg:"Индикатор трендов",brokers:"Брокеры",news:"Новости",calculators:"Калькуляторы",calculator_compound_interest:"Сложного процента",calculator_mortgage:"Ипотечный",calculator_credit:"Кредитный",calculator_credit_prepayment:"Досрочного погашения кредита",calculator_credit_prepayment_short:"Досрочного погашения",calculator_goals:"Расчёта целей",calculator_refinance:"Рефинансирования",calculator_bonds:"Облигаций",calculator_currency_converter:"Конвертер валют",calculator_savings:"Накоплений",calculator_deposit:"Вкладов",calculator_inflation:"Инфляции",calculator_vacation:"Отпускных",club:"Клуб",club_main:"Главная",club_feed:"Лента",club_about:"Путеводитель",club_schedule:"Расписание",club_invest_war:"Инвест-битва",club_ideas:"Инвестиционные идеи",club_choice:"Выбор pro.finansy",club_public_account:"Публичный счет Клуба",club_portfolios:"Модельные портфели",club_selections:"Готовые подборки",club_weekly_review:"Еженедельные обзоры",club_market_ru:"Российский рынок",club_bonds:"Облигации",club_roller_coaster:"Американские горки",club_review_companies:"Обзоры компаний",club_crypto:"Криптовалюты",club_portfolios_analytic:"Разбор портфелей",club_invited_speakers:"Приглашенные спикеры",club_roller_cink:"Курсы месяца",club_faq:"Вопросы и ответы",club_client_history:"Истории клиентов",club_offline_meetings:"Наши офлайн-встречи",club_kink:"Разбор фильмов",club_rkink:"Разбор книг",club_help:"Помощь",courses:"Обучение",courses_main:"Мои курсы",courses_shop:"Магазин PRO.FINANSY",courses_list:"Витрина",courses_basket:"Корзина",courses_orders:"Мои заказы",courses_how_use:"Как пользоваться profinansy.ru",courses_budget:"Навести порядок в бюджете",courses_portfolio:"Настроить портфель под себя",courses_investing:"Как выбрать инвестиции",courses_direct_line:"Мастер-классы",courses_leaders_table:"Таблица лидеров",courses_graduate:"Кабинет выпускника",courses_graduates:"Выпускникам",courses_graduates_home:"Главная",courses_graduates_events:"События",courses_child:"Детям и родителям",courses_blog:"Блог",courses_investology:"Инвестология",courses_library:"Библиотека инвестора",courses_podcasts:"Подкасты",courses_youtube:"YouTube (Смотри и учись)",courses_kfp:"Конструктор финансового плана",feed:"Лента",feed_community:"Сообщество",feed_blog:"Блог",feed_news:"Новости",feed_selections:"Подборки",feed_investology:"Инвестология",feed_podcasts:"Подкасты",feed_analytic:"Аналитические обзоры",feed_strategy:"Стратегии",feed_youtube:"YouTube",feed_new_features:"Новые фичи",feed_library:"Библиотека",idv:"Новичкам",idv_full_name:"Инвестиции доступны всем",idv_main:"Главная",idv_lessons:"Уроки",idv_tournament:"Турнир",idv_invest_simulator:"Инвест-тренажёр",idv_review:"Обзор",idv_compound:"Состав",idv_transactions:"Сделки",idv_analytics:"Аналитика",idv_search:"Поиск инвестиций",idv_search_stocks:"Акции",idv_search_bonds:"Облигации",idv_search_etf:"Фонды",idv_schedule:"Расписание",idv_tasks:"Задания",idv_achievements:"Мои достижения",method:"Метод",method_main:"Главная",method_lessons:"Уроки",method_tasks:"Задания",method_materials:"Материалы",method_tournament:"Турнир",method_achievements:"Мои достижения",method_kfp:"Конструктор",method_budget:"Мои деньги",method_invest_ideas:"Сервис инвест идей",method_screener:"Поиск инвестиций",method_portfolios:"Портфели",myMoney:"Мои деньги",myMoney_budget:"Бюджет",myMoney_accounts:"Счета",myMoney_history:"История",myMoney_analytics:"Аналитика",myMoney_plan_budget:"Планирование бюджета",myMoney_accumulations:"Накопления",myMoney_debts:"Займы",myMoney_credits:"Кредиты",myMoney_plans:"Планы",myMoney_goals:"Цели",myMoney_goals_active:"Активные",myMoney_goals_accomplished:"Достигнутые",myMoney_desires:"Желания",myMoney_desires_active:"Загаданные",myMoney_desires_accomplished:"Исполненные",myMoney_checklists:"Чек-листы",myMoney_checklists_all:"Все",myMoney_checklists_active:"Активные",myMoney_checklists_accomplished:"Завершенные",myMoney_checklists_templates:"Шаблоны",myMoney_checklists_folders:"Папки",more:"Ещё",partner:"Партнерская программа",vacancies:"Наши вакансии",scammers:"Как бороться с мошенниками",about_company:"О компании",client_support:"Клиентская поддержка",profile:"Личный кабинет",profile_profile:"Профиль",profile_main:"Главная",profile_personal_data:"Личные данные",profile_publications:"Мои публикации",profile_groups:"Учебные группы",profile_channels:"Каналы",profile_favorite:"Избранное",profile_favorite_instruments:"Инструменты",profile_favorite_portfolio:"Портфели",profile_favorite_publications:"Публикации",profile_favorite_investidea:"Инвестидеи",profile_favorite_selections:"Подборки",profile_favorite_news:"Новости",profile_favorite_podcasts:"Подкасты",profile_favorite_investology:"Инвестология",profile_bank:"Банк обращений",profile_notifications:"Уведомления",profile_reviews:"Отзывы",profile_children_cabinet:"Кабинет родителя",about_profinansy:"О pro.finansy",goals_create:"Поставить цель",goals_wish:"Загадать желание",goals_selection:"Подборка желаний",goals_checklist:"Новый чек-лист",budget_savings:"Накопления",budget_credits:"Кредиты",budget_loans:"Займы",budget_add_expense:"Добавить расход",budget_create_account:"Создать новый счёт",budget_add_payment:"Добавить платеж по кредиту",budget_add_plan:"Запланировать бюджет",budget_add_savings:"Внести накопление",portfolios_my:"Мои портфели",portfolios_planning:"Планирование сделок",portfolios_add_deal:"Добавить сделку",portfolios_create_new:"Создать новый портфель",market_review:"Обзор рынков",pas_income:"Пассивный доход",econom_cycles:"Экономические циклы",investideas:"Инвестидеи",club_about_full:"Путеводитель по клубу",idv_achievements_short:"Достижения",all_calculators:"Все калькуляторы",referral_program:"Приведи друга",about_us:"О нас",support:"Поддержка",vacancies_short:"Вакансии",scammers_short:"Борьба с мошенниками",coming_soon:"Скоро",shop:"Магазин",portfolios_public:"Публичные портфели",leave_review:"Оставить отзыв"},en:{main_menu:"Main menu",investments:"Investments",review:"Dashboard",all_review:"All markets",dashboard_stocks:"Stocks",dashboard_bonds:"Bonds",dashboard_etf:"Funds",dashboard_crypto:"Crypto",portfolios:"Portfolios",portfolios_list:"Portfolios list",selections:"Selections",calendars:"Calendars",dividend_calendar:"Dividends",economic_calendar:"Economic",bonds_calendar:"Bonds",coupon_calendar:"Coupons",bond_redemption_calendar:"Redemptions",bond_offer_calendar:"Offers",bond_default_calendar:"Defaults",report_calendar:"Reportability",ipo_calendar:"IPO",ico_calendar:"ICO",air_calendar:"Airdrops",screener:"Screener",stocks_screener:"Stocks",bonds_screener:"Bonds",etf_screener:"ETF",asset_comparison:"Assets comparison",asset_comparison_stocks:"Stocks",asset_comparison_bonds:"Bonds",asset_comparison_etf:"ETF",passive_income:"Passive income",passive_income_stocks:"Stocks",passive_income_bonds:"Bonds",passive_income_common:"Common",economic_cycles:"Economic cycles",heat_map:"Heat map",rrg:"Trend indicator",brokers:"Brokers",news:"News",calculators:"Calculators",calculator_compound_interest:"Compounds interest",calculator_mortgage:"Mortgage",calculator_credit:"Credit",calculator_credit_prepayment:"Loan prepayment",calculator_credit_prepayment_short:"Loan prepayment",calculator_goals:"Goals",calculator_refinance:"Refinance",calculator_bonds:"Bonds",calculator_currency_converter:"Currency converter",calculator_savings:"Saving",calculator_deposit:"Deposit",calculator_inflation:"Inflation",calculator_vacation:"Vacation",club:"Club",club_main:"Main",club_feed:"Feed",club_about:"About",club_schedule:"Schedule",club_invest_war:"Invest-battle",club_ideas:"Investment ideas",club_choice:"Choice pro.finansy",club_public_account:"Public Сlub account",club_portfolios:"Model portfolios",club_selections:"Selections",club_weekly_review:"Weekly reviews",club_market_ru:"Russian market",club_bonds:"Bonds",club_roller_coaster:"Roller coaster",club_review_companies:"Reviews companies",club_crypto:"Cryptocurrencies",club_portfolios_analytic:"Portfolios analytic",club_invited_speakers:"Invited speakers",club_roller_cink:"Courses of the month",club_faq:"FAQ",club_client_history:"Clients history",club_offline_meetings:"Our offline meetings",club_kink:"Film analysis",club_rkink:"Books analysis",club_help:"Help",courses:"Courses",courses_main:"My courses",courses_shop:"Shop PRO.FINANSY",courses_list:"List",courses_basket:"Basket",courses_orders:"My orders",courses_how_use:"How use profinansy.ru",courses_budget:"How use a budget",courses_portfolio:"How settings portfolio for you",courses_investing:"How choose investing",courses_direct_line:"Master classes",courses_leaders_table:"Leaders table",courses_graduate:"Graduate office",courses_graduates:"Graduates",courses_graduates_home:"Home",courses_graduates_events:"Events",courses_child:"Child and parents",courses_blog:"Blog",courses_investology:"Investology",courses_library:"Investor library",courses_podcasts:"Podcasts",courses_youtube:"YouTube",courses_kfp:"KFP",feed:"Feed",feed_community:"Community",feed_blog:"Blog",feed_news:"News",feed_selections:"Selections",feed_investology:"Investology",feed_podcasts:"Podcasts",feed_analytic:"Analytical reviews",feed_strategy:"Strategies",feed_youtube:"YouTube",feed_new_features:"New features",feed_library:"Library",idv:"Beginners",idv_full_name:"Investments available to everyone",idv_main:"Main",idv_lessons:"Lessons",idv_tournament:"Tournament",idv_invest_simulator:"Invest-simulator",idv_review:"Review",idv_compound:"Compound",idv_transactions:"Transactions",idv_analytics:"Analytics",idv_search:"Search investment",idv_search_stocks:"Stocks",idv_search_bonds:"Bonds",idv_search_etf:"Etf",idv_schedule:"Schedule",idv_tasks:"Tasks",idv_achievements:"My achievements",method:"Method",method_main:"Main",method_lessons:"Lessons",method_tasks:"Tasks",method_materials:"Materials",method_tournament:"Tournament",method_achievements:"My achievements",method_kfp:"KFP",method_budget:"My budget",method_invest_ideas:"Investment ideas service",method_screener:"Screener",method_portfolios:"Portfolios",myMoney:"My money",myMoney_budget:"Budget",myMoney_accounts:"Accounts",myMoney_history:"History",myMoney_analytics:"Analytics",myMoney_plan_budget:"Plan budget",myMoney_accumulations:"Accumulations",myMoney_debts:"Debts",myMoney_credits:"Credits",myMoney_plans:"Plans",myMoney_goals:"Goals",myMoney_goals_active:"Active",myMoney_goals_accomplished:"Accomplished",myMoney_desires:"Desires",myMoney_desires_active:"Active",myMoney_desires_accomplished:"Accomplished",myMoney_checklists:"Checklists",myMoney_checklists_all:"All",myMoney_checklists_active:"Active",myMoney_checklists_accomplished:"Accomplished",myMoney_checklists_templates:"Templates",myMoney_checklists_folders:"Folders",more:"More",partner:"Partner program",vacancies:"Our vacancies",scammers:"How to deal with scammers",about_company:"About company",client_support:"Client support",profile:"Personal account",profile_profile:"Profile",profile_main:"Main",profile_personal_data:"Personal data",profile_publications:"My publications",profile_groups:"Study groups",profile_channels:"Channels",profile_favorite:"Favourite",profile_favorite_instruments:"Instruments",profile_favorite_portfolio:"Portfolio",profile_favorite_publications:"Publications",profile_favorite_investidea:"Investidea",profile_favorite_selections:"Selections",profile_favorite_news:"News",profile_favorite_podcasts:"Podcasts",profile_favorite_investology:"Investology",profile_bank:"Bank of appeals",profile_notifications:"Notifications",profile_reviews:"Reviews",profile_children_cabinet:"Parent cabinet",about_profinansy:"About pro.finansy",goals_create:"Create goal",goals_wish:"Create wish",goals_selection:"Selection of wishes",goals_checklist:"New checklist",budget_savings:"Savings",budget_credits:"Credits",budget_loans:"Loans",budget_add_expense:"Add expense",budget_create_account:"Create new account",budget_add_payment:"Add credit payment",budget_add_plan:"Plan budget",budget_add_savings:"Add savings",portfolios_my:"My portfolios",portfolios_planning:"Deal planning",portfolios_add_deal:"Add deal",portfolios_create_new:"Create new portfolio",market_review:"Market review",pas_income:"Passive income",econom_cycles:"Economic cycles",investideas:"Investideas",club_about_full:"Club guide",idv_achievements_short:"Achievements",all_calculators:"All calculators",referral_program:"Refer a friend",about_us:"About us",support:"Support",vacancies_short:"Vacancies",scammers_short:"How to deal with scammers",coming_soon:"Coming soon",shop:"Shop",portfolios_public:"Public portfolios",leave_review:"Leave a review"}};var pn=(e=>(e.en="en",e.ru="ru",e))(pn||{});const Ld=m.createContext({locale:pn.ru,isForeignSite:!1}),k7=({config:e,children:t})=>{const n=E7(e.locale);return s.jsx(Ld.Provider,{value:{...e,isForeignSite:n},children:t})},ie=()=>{const e=m.useContext(Ld);if(!e)throw new Error("useConfig must be used within a ConfigProvider");return e},E7=e=>{const[t,n]=m.useState(e===pn.en);return m.useEffect(()=>{if(typeof window<"u"){if(window.location.hostname==="localhost"){n(e==pn.en);return}const r=window.location.hostname.endsWith(".ae"),o=window.location.pathname.startsWith("/en/"),i=r||o;i!==t&&n(i)}},[e]),t},As=e=>({isGuest:e==="guest",isAuth:e!=="guest",isPaid:e==="paid",isStandard:e==="standard"}),nt=(e,t,n,r)=>{const o=n.baseUrl||s7,i={method:t,credentials:"include",headers:{"Content-Type":"application/json",token:n.token}};return r&&(i.body=JSON.stringify(r)),fetch(`${o}${e}`,{...i}).then(a=>a.json()).then(a=>a).catch(a=>{throw a})},L7=e=>nt("/student/courses","GET",e),M7=({enabled:e})=>{const[t,n]=m.useState(null),{user:{token:r}}=ue(),o=m.useCallback(async()=>{const{data:i}=await L7({token:r,baseUrl:Ss}),a=i?.find(l=>!l.is_free);a&&n(a.unique_id)},[r]);return m.useEffect(()=>{e&&o()},[e,o]),{childCourseId:e?t:null}},Md=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.94413 1.10227C5.08958 0.956816 5.30282 0.902358 5.5002 0.960256L6.46687 1.24381L7.43354 0.960256C7.63093 0.902358 7.84417 0.956816 7.98962 1.10227C8.13507 1.24772 8.18953 1.46096 8.13163 1.65834L7.84807 2.62501L8.13163 3.59169C8.18953 3.78907 8.13507 4.00231 7.98962 4.14776C7.84417 4.29321 7.63093 4.34767 7.43354 4.28977L6.46687 4.00621L5.5002 4.28977C5.30282 4.34767 5.08958 4.29321 4.94413 4.14776C4.79868 4.00231 4.74422 3.78907 4.80212 3.59169L5.08567 2.62501L4.80212 1.65834C4.74422 1.46096 4.79868 1.24772 4.94413 1.10227ZM6.1714 2.32954L6.21163 2.46669C6.24195 2.57006 6.24195 2.67997 6.21163 2.78334L6.1714 2.92048L6.30854 2.88026C6.41192 2.84993 6.52183 2.84993 6.6252 2.88026L6.76234 2.92048L6.72212 2.78334C6.69179 2.67997 6.69179 2.57006 6.72212 2.46669L6.76234 2.32954L6.6252 2.36977C6.52183 2.40009 6.41192 2.40009 6.30854 2.36977L6.1714 2.32954ZM12.0691 2.97722C12.9113 2.13505 14.2725 2.13505 15.1146 2.97722C15.9568 3.81939 15.9568 5.18055 15.1146 6.02272L14.0012 7.13611C13.9999 7.1375 13.9985 7.13888 13.9971 7.14025C13.9958 7.14163 13.9944 7.143 13.993 7.14436L5.36462 15.7727C4.52245 16.6149 3.1613 16.6149 2.31913 15.7727C1.47696 14.9305 1.47696 13.5694 2.31913 12.7272L12.0691 2.97722ZM13.5994 5.94699L14.3191 5.22722C14.722 4.82439 14.722 4.17555 14.3191 3.77272C13.9163 3.36989 13.2675 3.36989 12.8646 3.77272L12.1449 4.49249L13.5994 5.94699ZM11.3494 5.28798L12.8039 6.74249L4.56913 14.9772C4.1663 15.3801 3.51745 15.3801 3.11462 14.9772C2.71179 14.5744 2.71179 13.9255 3.11462 13.5227L11.3494 5.28798ZM1.94413 5.60227C2.08958 5.45682 2.30282 5.40236 2.5002 5.46026L3.46687 5.74381L4.43354 5.46026C4.63093 5.40236 4.84417 5.45682 4.98962 5.60227C5.13507 5.74772 5.18953 5.96096 5.13163 6.15834L4.84807 7.12501L5.13163 8.09169C5.18953 8.28907 5.13507 8.50231 4.98962 8.64776C4.84417 8.79321 4.63093 8.84767 4.43354 8.78977L3.46687 8.50622L2.5002 8.78977C2.30282 8.84767 2.08958 8.79321 1.94413 8.64776C1.79868 8.50231 1.74422 8.28907 1.80212 8.09169L2.08567 7.12501L1.80212 6.15834C1.74422 5.96096 1.79868 5.74772 1.94413 5.60227ZM3.1714 6.82954L3.21163 6.96669C3.24195 7.07006 3.24195 7.17997 3.21163 7.28334L3.1714 7.42049L3.30854 7.38026C3.41192 7.34993 3.52183 7.34993 3.6252 7.38026L3.76234 7.42049L3.72212 7.28334C3.69179 7.17997 3.69179 7.07006 3.72212 6.96669L3.76234 6.82954L3.6252 6.86977C3.52183 6.90009 3.41192 6.90009 3.30854 6.86977L3.1714 6.82954ZM13.1941 9.35227C13.3396 9.20682 13.5528 9.15236 13.7502 9.21026L14.7169 9.49381L15.6835 9.21026C15.8809 9.15236 16.0942 9.20682 16.2396 9.35227C16.3851 9.49772 16.4395 9.71096 16.3816 9.90834L16.0981 10.875L16.3816 11.8417C16.4395 12.0391 16.3851 12.2523 16.2396 12.3978C16.0942 12.5432 15.8809 12.5977 15.6835 12.5398L14.7169 12.2562L13.7502 12.5398C13.5528 12.5977 13.3396 12.5432 13.1941 12.3978C13.0487 12.2523 12.9942 12.0391 13.0521 11.8417L13.3357 10.875L13.0521 9.90834C12.9942 9.71096 13.0487 9.49772 13.1941 9.35227ZM14.4214 10.5795L14.4616 10.7167C14.492 10.8201 14.492 10.93 14.4616 11.0333L14.4214 11.1705L14.5585 11.1303C14.6619 11.0999 14.7718 11.0999 14.8752 11.1303L15.0123 11.1705L14.9721 11.0333C14.9418 10.93 14.9418 10.8201 14.9721 10.7167L15.0123 10.5795L14.8752 10.6198C14.7718 10.6501 14.6619 10.6501 14.5585 10.6198L14.4214 10.5795Z",fill:"#454545"})),Gi=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 11.8125C5.895 11.8125 3.375 9.375 3.375 6.375C3.375 3.375 5.895 0.9375 9 0.9375C12.105 0.9375 14.625 3.375 14.625 6.375C14.625 9.375 12.105 11.8125 9 11.8125ZM9 2.0625C6.5175 2.0625 4.5 3.9975 4.5 6.375C4.5 8.7525 6.5175 10.6875 9 10.6875C11.4825 10.6875 13.5 8.7525 13.5 6.375C13.5 3.9975 11.4825 2.0625 9 2.0625Z",fill:"#242424"}),d.createElement("path",{d:"M11.715 17.0625C11.505 17.0625 11.295 17.01 11.0775 16.9125L9.05999 15.96C9.03749 15.9525 8.955 15.9525 8.925 15.96L6.92251 16.905C6.48001 17.115 6.01501 17.1075 5.65501 16.875C5.28001 16.635 5.06251 16.1925 5.07001 15.6675L5.0775 10.1325C5.0775 9.82498 5.3175 9.55498 5.64 9.56998C5.9475 9.56998 6.2025 9.82498 6.2025 10.1325L6.19501 15.6675C6.19501 15.8325 6.24001 15.915 6.26251 15.9225C6.27751 15.93 6.34501 15.9375 6.45001 15.885L8.46 14.9325C8.7825 14.7825 9.22501 14.7825 9.54751 14.9325L11.565 15.885C11.67 15.9375 11.7375 15.93 11.7525 15.9225C11.775 15.9075 11.82 15.825 11.82 15.6675V9.99747C11.82 9.68997 12.075 9.43497 12.3825 9.43497C12.69 9.43497 12.945 9.68997 12.945 9.99747V15.6675C12.945 16.2 12.7275 16.635 12.3525 16.875C12.1575 17.0025 11.94 17.0625 11.715 17.0625Z",fill:"#242424"})),$d=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.27734 6.65997H13.2148",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.78516 6.65997L5.34766 7.22247L7.03516 5.53497",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9.27734 11.91H13.2148",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.78516 11.91L5.34766 12.4725L7.03516 10.785",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),$7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.98242 11.025L8.10742 12.15L11.1074 9.15002",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.5 4.5H10.5C12 4.5 12 3.75 12 3C12 1.5 11.25 1.5 10.5 1.5H7.5C6.75 1.5 6 1.5 6 3C6 4.5 6.75 4.5 7.5 4.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 3.01501C14.4975 3.15001 15.75 4.07251 15.75 7.50002V12C15.75 15 15 16.5 11.25 16.5H6.75C3 16.5 2.25 15 2.25 12V7.50002C2.25 4.08001 3.5025 3.15001 6 3.01501",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),_7=(e,t)=>({title:"myMoney_goals",href:t?e+"/login":e+"/my-money/goals/active",isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,Icon:Gi,columns:[{type:"first",items:[{title:"myMoney_goals",href:t?e+"/login":e+"/my-money/goals/active",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/goals1.png",width:180,height:170}}]},{type:"second",items:[{title:"myMoney_desires",href:t?e+"/login":e+"/my-money/desires/active",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/goals2.png",width:110,height:100}},{title:"myMoney_checklists",href:t?e+"/login":e+"/my-money/checklists/all",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/goals3.png",width:110,height:100}}]},{type:"third",items:[{title:"goals_create",href:t?e+"/login":e+"/my-money/goals/active?create=true",icon:Gi,isFill:!0},{title:"goals_wish",href:t?e+"/login":e+"/my-money/desires/active?create=true",icon:Md,isFill:!0},{title:"goals_selection",href:t?e+"/login":e+"/my-money/desires/active?selection_create=true",icon:$d,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/RightContent.png",bannerCode:"header_goals"}],subPages:[{name:"myMoney_goals",href:t?e+"/login":e+"/my-money/goals/active",locked:t},{name:"myMoney_desires",href:t?e+"/login":e+"/my-money/desires/active",locked:t},{name:"myMoney_checklists",href:t?e+"/login":e+"/my-money/checklists/all",locked:t}]}),_d=(e,t)=>({name:"myMoney_goals",Icon:Gi,href:t?e+"/login":e+"/my-money/goals/active",subPages:[{name:"myMoney_goals",Icon:Gi,isFill:!0,isForeignAccess:!0,href:t?e+"/login":e+"/my-money/goals/active",locked:t,subPages:[{name:"myMoney_goals_active",href:t?e+"/login":e+"/my-money/goals/active"},{name:"myMoney_goals_accomplished",href:t?e+"/login":e+"/my-money/goals/accomplished"}]},{name:"myMoney_desires",Icon:Md,isFill:!0,isForeignAccess:!0,href:t?e+"/login":e+"/my-money/desires/active",locked:t},{name:"myMoney_checklists",Icon:$7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/my-money/checklists/all",locked:t,subPages:[{name:"myMoney_checklists_all",href:t?e+"/login":e+"/my-money/checklists/all"},{name:"myMoney_checklists_templates",href:t?e+"/login":e+"/my-money/checklists/templates"},{name:"myMoney_checklists_folders",href:t?e+"/login":e+"/my-money/checklists/folders"}]}]}),fo=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.9375 9C0.9375 4.56434 4.56434 0.9375 9 0.9375C13.4357 0.9375 17.0625 4.56434 17.0625 9C17.0625 13.4357 13.4357 17.0625 9 17.0625C4.56434 17.0625 0.9375 13.4357 0.9375 9ZM9 2.0625C5.18566 2.0625 2.0625 5.18566 2.0625 9C2.0625 12.8143 5.18566 15.9375 9 15.9375C12.8143 15.9375 15.9375 12.8143 15.9375 9C15.9375 5.18566 12.8143 2.0625 9 2.0625Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4375 9C5.4375 8.68934 5.68934 8.4375 6 8.4375H12C12.3107 8.4375 12.5625 8.68934 12.5625 9C12.5625 9.31066 12.3107 9.5625 12 9.5625H6C5.68934 9.5625 5.4375 9.31066 5.4375 9Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5.4375C9.31066 5.4375 9.5625 5.68934 9.5625 6V12C9.5625 12.3107 9.31066 12.5625 9 12.5625C8.68934 12.5625 8.4375 12.3107 8.4375 12V6C8.4375 5.68934 8.68934 5.4375 9 5.4375Z",fill:"#242424"})),js=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.25 14.625H15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.25 9.375H15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.25 4.125H15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 4.125L3 4.875L5.25 2.625",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 9.375L3 10.125L5.25 7.875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 14.625L3 15.375L5.25 13.125",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Rs=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M12.12 7.5C12.12 7.5 12.0075 8.25 9.68255 11.25C7.50005 14.0775 10.6576 16.23 11.0326 16.4775C11.0551 16.4925 11.0776 16.4925 11.1076 16.4775C11.6176 16.1625 17.295 12.51 12.12 7.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.3208 5.84248C10.3208 4.11748 9.64582 2.54248 8.97082 1.64248C8.74582 1.41748 8.3708 1.49248 8.2958 1.79248C7.9958 2.91748 7.0958 5.31748 4.9208 8.16748C2.1458 11.7675 4.69581 15.6675 7.32081 16.4175C8.74581 16.7925 6.94582 15.6675 6.72082 13.3425C6.49582 10.4175 10.3208 8.24248 10.3208 5.84248Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Rr=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.91332 2.66324L5.89528 4.68749H12.6174C12.518 4.43583 12.364 4.20006 12.1539 3.99334L12.1485 3.98799L10.838 2.66246C10.03 1.86226 8.72098 1.86252 7.91332 2.66324ZM4.68081 4.31226L7.11976 1.8658C8.36659 0.628065 10.3855 0.62807 11.6323 1.8658L11.6361 1.8695L12.946 3.19441C13.5263 3.76706 13.8388 4.49997 13.8754 5.2604C13.8836 5.43029 13.8145 5.59477 13.6874 5.7078C13.5603 5.82083 13.3889 5.87029 13.2211 5.84233C13.0862 5.81984 12.9345 5.81249 12.7511 5.81249H5.25105C5.06786 5.81249 4.89404 5.82557 4.72909 5.85094C4.52123 5.88292 4.31289 5.79628 4.18901 5.62633C4.06512 5.45639 4.04639 5.23153 4.14044 5.04343C4.27849 4.76732 4.46899 4.52413 4.68081 4.31226C4.68091 4.31216 4.68071 4.31236 4.68081 4.31226Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75 11.8125C2.40316 11.8125 1.3125 12.9032 1.3125 14.25C1.3125 14.707 1.44039 15.1375 1.66378 15.4997L1.6685 15.5074C2.08836 16.2132 2.86059 16.6875 3.75 16.6875C4.63941 16.6875 5.4117 16.2133 5.83156 15.5074L5.83616 15.4997C6.05955 15.1374 6.1875 14.707 6.1875 14.25C6.1875 12.9032 5.09684 11.8125 3.75 11.8125ZM0.1875 14.25C0.1875 12.2818 1.78184 10.6875 3.75 10.6875C5.71816 10.6875 7.3125 12.2818 7.3125 14.25C7.3125 14.9164 7.12627 15.5495 6.79613 16.0864C6.18047 17.1185 5.04897 17.8125 3.75 17.8125C2.45103 17.8125 1.31952 17.1184 0.70386 16.0864C0.373726 15.5495 0.1875 14.9164 0.1875 14.25Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.07129 14.2346C2.07129 13.924 2.32313 13.6721 2.63379 13.6721H4.86879C5.17945 13.6721 5.43129 13.924 5.43129 14.2346C5.43129 14.5453 5.17945 14.7971 4.86879 14.7971H2.63379C2.32313 14.7971 2.07129 14.5453 2.07129 14.2346Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75 12.5772C4.06066 12.5772 4.3125 12.829 4.3125 13.1397V15.3821C4.3125 15.6928 4.06066 15.9446 3.75 15.9446C3.43934 15.9446 3.1875 15.6928 3.1875 15.3821V13.1397C3.1875 12.829 3.43934 12.5772 3.75 12.5772Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 5.8125C5.06681 5.8125 4.89298 5.82558 4.72803 5.85096L4.71254 5.85312C3.88205 5.95734 3.22919 6.31291 2.78216 6.83738C2.33398 7.36321 2.0625 8.09465 2.0625 9V11.1135C2.56335 10.8426 3.13765 10.6875 3.75 10.6875C5.71816 10.6875 7.3125 12.2818 7.3125 14.25C7.3125 14.8557 7.15863 15.434 6.88266 15.9375H12.75C13.7472 15.9375 14.5344 15.6076 15.071 15.071C15.6076 14.5344 15.9375 13.7472 15.9375 12.75V9C15.9375 8.08853 15.6613 7.35252 15.206 6.825C14.7518 6.29867 14.0889 5.94406 13.2475 5.84623C13.2383 5.84516 13.2292 5.84386 13.22 5.84234C13.0851 5.81985 12.9334 5.8125 12.75 5.8125H5.25ZM4.56475 4.73785C4.78735 4.70403 5.01592 4.6875 5.25 4.6875H12.75C12.9523 4.6875 13.1706 4.69482 13.3909 4.73033C14.4788 4.85981 15.4046 5.33318 16.0577 6.09C16.7125 6.84873 17.0625 7.85648 17.0625 9V12.75C17.0625 14.0028 16.6424 15.0906 15.8665 15.8665C15.0906 16.6424 14.0028 17.0625 12.75 17.0625H5.7225C5.486 17.0625 5.27476 16.9146 5.1939 16.6923C5.11304 16.4701 5.17983 16.221 5.36103 16.069C5.54324 15.9162 5.70387 15.7263 5.82912 15.5116L5.83616 15.4997C6.05955 15.1374 6.1875 14.707 6.1875 14.25C6.1875 12.9032 5.09684 11.8125 3.75 11.8125C3.01987 11.8125 2.3686 12.1341 1.92238 12.6415C1.76779 12.8172 1.5205 12.8789 1.30148 12.7963C1.08246 12.7137 0.9375 12.5041 0.9375 12.27V9C0.9375 7.86535 1.28102 6.86429 1.92597 6.10762C2.57052 5.35139 3.48609 4.87493 4.56475 4.73785Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1875 10.875C12.1875 9.73934 13.1143 8.8125 14.25 8.8125H16.5C16.8107 8.8125 17.0625 9.06434 17.0625 9.375C17.0625 9.68566 16.8107 9.9375 16.5 9.9375H14.25C13.7357 9.9375 13.3125 10.3607 13.3125 10.875C13.3125 11.3893 13.7357 11.8125 14.25 11.8125H16.5C16.8107 11.8125 17.0625 12.0643 17.0625 12.375C17.0625 12.6857 16.8107 12.9375 16.5 12.9375H14.25C13.1143 12.9375 12.1875 12.0107 12.1875 10.875Z",fill:"#454545"})),Id=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 9.45752H14.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.25 7.7101V13.0726C14.2275 15.2101 13.6425 15.7501 11.415 15.7501H4.33502C2.07002 15.7501 1.5 15.1876 1.5 12.9526V7.7101C1.5 5.6851 1.9725 5.0326 3.75 4.9276C3.93 4.9201 4.12502 4.9126 4.33502 4.9126H11.415C13.68 4.9126 14.25 5.4751 14.25 7.7101Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 5.0475V10.29C16.5 12.315 16.0275 12.9675 14.25 13.0725V7.71C14.25 5.475 13.68 4.9125 11.415 4.9125H4.33502C4.12502 4.9125 3.93 4.92 3.75 4.9275C3.7725 2.79 4.35752 2.25 6.58502 2.25H13.665C15.93 2.25 16.5 2.8125 16.5 5.0475Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.9375 13.3574H5.22748",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.83252 13.3574H9.41252",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),I7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.42749 11.4526L11.3325 6.54761",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.73501 7.77761C7.24449 7.77761 7.65749 7.36461 7.65749 6.85513C7.65749 6.34564 7.24449 5.93262 6.73501 5.93262C6.22553 5.93262 5.8125 6.34564 5.8125 6.85513C5.8125 7.36461 6.22553 7.77761 6.73501 7.77761Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.64 12.0674C12.1495 12.0674 12.5625 11.6544 12.5625 11.1449C12.5625 10.6354 12.1495 10.2224 11.64 10.2224C11.1305 10.2224 10.7175 10.6354 10.7175 11.1449C10.7175 11.6544 11.1305 12.0674 11.64 12.0674Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),S7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 10.875C10.0355 10.875 10.875 10.0355 10.875 9C10.875 7.96447 10.0355 7.125 9 7.125C7.96447 7.125 7.125 7.96447 7.125 9C7.125 10.0355 7.96447 10.875 9 10.875Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.875 7.125V10.875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.75 16.5C5.40685 16.5 6.75 15.1569 6.75 13.5C6.75 11.8431 5.40685 10.5 3.75 10.5C2.09315 10.5 0.75 11.8431 0.75 13.5C0.75 15.1569 2.09315 16.5 3.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.9375 12.5625V13.26C3.9375 13.5225 3.80251 13.77 3.57001 13.905L3 14.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 11.4V6.75C1.5 4.125 3 3 5.25 3H12.75C15 3 16.5 4.125 16.5 6.75V11.25C16.5 13.875 15 15 12.75 15H6.375",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Sd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.625 6.81738H15.375",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.4075 11.8275L11.7525 14.4825C11.6475 14.5875 11.55 14.7825 11.5275 14.925L11.385 15.9375C11.3325 16.305 11.5875 16.56 11.955 16.5075L12.9675 16.365C13.11 16.3425 13.3125 16.245 13.41 16.14L16.065 13.485C16.5225 13.0275 16.74 12.495 16.065 11.82C15.3975 11.1525 14.865 11.37 14.4075 11.8275Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.025 12.21C14.25 13.02 14.88 13.65 15.69 13.875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375V9",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.99661 10.2749H9.00335",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 10.2749H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 12.5249H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),D7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 9C16.5 13.14 13.14 16.5 9 16.5C4.86 16.5 1.5 13.14 1.5 9C1.5 4.86 4.86 1.5 9 1.5C13.14 1.5 16.5 4.86 16.5 9Z",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.7825 11.3853L9.4575 9.99781C9.0525 9.75781 8.7225 9.18031 8.7225 8.70781V5.63281",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),w1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M13.74 9.00001C15.69 9.00001 16.5 8.25001 15.78 5.79001C15.2925 4.13251 13.8675 2.70751 12.21 2.22001C9.75 1.50001 9 2.31001 9 4.26001V6.42001C9 8.25001 9.75 9.00001 11.25 9.00001H13.74Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.9991 11.025C14.3016 14.4975 10.9716 17.0175 7.18409 16.4025C4.34159 15.945 2.05409 13.6575 1.58909 10.815C0.981593 7.04251 3.48659 3.71251 6.94409 3.00751",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),A7=(e,t)=>({title:"myMoney_budget",href:t?e+"/login":e+"/wallet/accounts",Icon:Rr,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"myMoney_accounts",textWidth:190,href:t?e+"/login":e+"/wallet/accounts",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet1.png",width:174,height:174}}]},{type:"second",items:[{title:"budget_savings",href:t?e+"/login":e+"/wallet/accumulations",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet2.png",width:96,height:66}},{title:"budget_loans",href:t?e+"/login":e+"/wallet/debts",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet4.png",width:95,height:89}},{title:"budget_credits",href:t?e+"/login":e+"/wallet/credits",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet3.png",width:81,height:81}}]},{type:"third",items:[{title:"budget_add_expense",href:t?e+"/login":e+"/wallet/accounts?expenses=true",icon:fo,isFill:!0},{title:"budget_create_account",href:t?e+"/login":e+"/wallet/accounts?create=true",icon:fo,isFill:!0},{title:"budget_add_plan",href:t?e+"/login":e+"/wallet/plans?plan=true",icon:fo,isFill:!0},{title:"budget_add_payment",href:t?e+"/login":e+"/wallet/credits?payments=true",icon:js,isFill:!1},{title:"budget_add_savings",href:t?e+"/login":e+"/wallet/accumulations?savings=true",icon:Rs,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/budget6.png",bannerCode:"header_budget"}],subPages:[{name:"myMoney_accounts",href:t?e+"/login":e+"/wallet/accounts",locked:t},{name:"myMoney_accumulations",href:t?e+"/login":e+"/wallet/accumulations",locked:t},{name:"myMoney_debts",href:t?e+"/login":e+"/wallet/debts",locked:t},{name:"myMoney_credits",href:t?e+"/login":e+"/wallet/credits",locked:t},{name:"myMoney_plans",href:t?e+"/login":e+"/wallet/plans",locked:t}]}),Dd=(e,t)=>({name:"myMoney_budget",Icon:Rr,href:t?e+"/login":e+"/wallet",subPages:[{name:"myMoney_accounts",Icon:Id,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/accounts",locked:t},{name:"myMoney_accumulations",Icon:Rr,isFill:!0,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/accumulations",locked:t},{name:"myMoney_debts",Icon:S7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/debts",locked:t},{name:"myMoney_credits",Icon:I7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/credits",locked:t},{name:"myMoney_plans",Icon:Sd,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/plans",locked:t}]}),j7=(e,t)=>({name:"myMoney_budget",Icon:Rr,href:t?e+"/login":e+"/wallet",subPages:[{name:"myMoney_accounts",Icon:Id,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/accounts",locked:t},{name:"myMoney_history",Icon:D7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/history",locked:t},{name:"myMoney_analytics",Icon:w1,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/analytics",locked:t},{name:"myMoney_plan_budget",Icon:Sd,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/plans",locked:t}]}),Tr=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.59533 3.03778C6.56347 3.28182 6.56256 3.55916 6.56256 3.9V3.9375H11.4376V3.9C11.4376 3.55916 11.4367 3.28182 11.4048 3.03778C11.3736 2.7988 11.3175 2.63793 11.2373 2.522C11.0999 2.32313 10.7472 2.0625 9.60006 2.0625H8.40006C7.25293 2.0625 6.90025 2.32313 6.7628 2.522C6.68267 2.63793 6.62653 2.7988 6.59533 3.03778ZM5.43756 3.88051V3.9375H5.25008C3.58281 3.9375 2.4443 4.32343 1.78024 5.11292C1.12262 5.89475 1.06008 6.92188 1.16547 7.87961L1.72749 13.875L1.72829 13.8824C1.8109 14.6535 2.00442 15.4988 2.69287 16.1278C3.37623 16.7521 4.43495 17.0625 6.00008 17.0625H12.0001C13.5652 17.0625 14.6239 16.7521 15.3073 16.1278C15.9957 15.4988 16.1893 14.6535 16.2719 13.8824L16.79 8.35611C16.7968 8.32054 16.8003 8.28433 16.8002 8.24802L16.8347 7.87959C16.9401 6.92187 16.8775 5.89475 16.2199 5.11292C15.5559 4.32343 14.4174 3.9375 12.7501 3.9375H12.5626V3.88051C12.5626 3.56287 12.5626 3.21592 12.5203 2.89214C12.4765 2.55666 12.3827 2.20051 12.1628 1.88237C11.7002 1.21312 10.8529 0.9375 9.60006 0.9375H8.40006C7.14719 0.9375 6.29988 1.21312 5.83733 1.88237C5.61745 2.20051 5.5236 2.55666 5.4798 2.89214C5.43752 3.21591 5.43754 3.56286 5.43756 3.88051ZM15.7159 7.76063L15.6988 7.9429C14.2791 8.92906 12.6945 9.56536 11.0626 9.86003V9.75L11.0626 9.72535C11.0626 9.5595 11.0626 9.39143 11.0474 9.25428C11.0319 9.11449 10.9903 8.88228 10.8041 8.696C10.6178 8.50972 10.3856 8.46819 10.2458 8.45266C10.1086 8.43742 9.94056 8.43745 9.7747 8.43749L9.75007 8.4375H8.25007L8.22543 8.43749C8.05958 8.43745 7.8915 8.43742 7.75436 8.45266C7.61456 8.46819 7.38235 8.50972 7.19607 8.696C7.00979 8.88228 6.96826 9.11449 6.95273 9.25428C6.93749 9.39143 6.93753 9.55951 6.93756 9.72536L6.93757 9.75V9.87588C5.3136 9.6022 3.73071 8.97416 2.30724 8.00505L2.28521 7.76999L2.28417 7.76063C2.1878 6.88972 2.28739 6.2577 2.64118 5.83708C2.98962 5.42282 3.71486 5.0625 5.25008 5.0625H6.00006H12.0001H12.7501C14.2853 5.0625 15.0105 5.42282 15.359 5.83708C15.7128 6.2577 15.8123 6.88971 15.7159 7.76063ZM2.43971 9.41823L2.84727 13.7662C2.92231 14.4632 3.07765 14.9555 3.45167 15.2972C3.83144 15.6442 4.55022 15.9375 6.00008 15.9375H12.0001C13.4499 15.9375 14.1687 15.6442 14.5485 15.2972C14.9225 14.9555 15.0779 14.4632 15.1529 13.7662L15.5655 9.36511C14.1528 10.2031 12.6184 10.7471 11.05 11.0037C11.0458 11.0585 11.0403 11.1133 11.033 11.1673C11.0023 11.3942 10.9351 11.6518 10.7705 11.8867C10.4195 12.3879 9.79988 12.5625 9.00007 12.5625C8.20464 12.5625 7.58656 12.3901 7.23427 11.8931C7.06863 11.6594 7.00007 11.4027 6.96848 11.1758C6.9612 11.1234 6.95563 11.0704 6.95138 11.0174C5.38475 10.7795 3.85197 10.2424 2.43971 9.41823ZM8.06257 10.5207V10.5225C8.06257 10.7336 8.06441 10.8889 8.08275 11.0207C8.10038 11.1474 8.12838 11.2091 8.15211 11.2425C8.17858 11.2799 8.31049 11.4375 9.00007 11.4375C9.69276 11.4375 9.82311 11.2784 9.84901 11.2414C9.87288 11.2073 9.90081 11.1447 9.91816 11.0165C9.93612 10.8837 9.93756 10.7283 9.93757 10.5173V10.5113V9.75C9.93757 9.67766 9.93755 9.61663 9.93697 9.56309C9.88343 9.56251 9.8224 9.5625 9.75007 9.5625H8.25007C8.17773 9.5625 8.1167 9.56251 8.06316 9.56309C8.06258 9.61663 8.06257 9.67766 8.06257 9.75V10.5207Z",fill:"#454545"})),R7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M13.605 16.2151C12.945 16.4101 12.165 16.5001 11.25 16.5001H6.75002C5.83502 16.5001 5.05502 16.4101 4.39502 16.2151C4.56002 14.2651 6.56252 12.7275 9.00002 12.7275C11.4375 12.7275 13.44 14.2651 13.605 16.2151Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 14.085 2.355 15.6375 4.395 16.215C4.56 14.265 6.5625 12.7275 9 12.7275C11.4375 12.7275 13.44 14.265 13.605 16.215C15.645 15.6375 16.5 14.085 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5ZM9 10.6275C7.515 10.6275 6.315 9.42001 6.315 7.93501C6.315 6.45001 7.515 5.25 9 5.25C10.485 5.25 11.685 6.45001 11.685 7.93501C11.685 9.42001 10.485 10.6275 9 10.6275Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.6849 7.93501C11.6849 9.42001 10.4849 10.6275 8.99994 10.6275C7.51494 10.6275 6.31494 9.42001 6.31494 7.93501C6.31494 6.45001 7.51494 5.25 8.99994 5.25C10.4849 5.25 11.6849 6.45001 11.6849 7.93501Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),T7=(e,t,n,r,o)=>({title:"portfolios",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",Icon:Tr,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"portfolios_my",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",unavailable:!n&&!o,locked:t,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios1.png",width:170,height:170},description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"}]},{type:"second",items:[{title:"portfolios_list",textWidth:150,href:r+"/portfolios?side_menu_type=portfolios",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios2.png",width:154,height:93}},{title:"portfolios_planning",href:null,textWidth:150,comingSoon:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios3.png",width:110,height:95}}]},{type:"third",items:[{title:"portfolios_add_deal",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios?addDeal=true",icon:fo,locked:t,unavailable:!n&&!o,isFill:!0,description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"},{title:"portfolios_create_new",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios?addPortfolio=true",icon:fo,locked:t,unavailable:!n&&!o,isFill:!0,description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios4.png",bannerCode:"header_portfolios"}],subPages:[{name:"portfolios_my",unavailable:!n&&!o,locked:t,href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"},{name:"portfolios_list",href:r+"/portfolios?side_menu_type=portfolios"}]}),Ad=(e,t,n,r,o)=>({name:"portfolios",Icon:Tr,href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",subPages:[{name:"portfolios_my",Icon:Tr,isFill:!0,isForeignAccess:!0,href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",locked:t,unavailable:!n&&!o,description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"},{name:"portfolios_list",Icon:R7,isFill:!1,href:r+"/portfolios?side_menu_type=portfolios"}]}),jd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.65885 7.88136L3.05157 11.2439C2.77715 11.4998 2.34573 11.4937 2.07877 11.2304C1.80011 10.9555 1.80832 10.5079 2.09687 10.2431L6.6619 6.05344C6.94066 5.7976 7.3706 5.79036 7.65809 6.03665L9.57461 7.67855C9.88237 7.94222 10.3483 7.91287 10.6194 7.61273L14.9195 2.85286C15.1842 2.55981 15.6452 2.54772 15.9254 2.82649C16.1844 3.08418 16.1923 3.49674 15.9434 3.76388L10.623 9.47279C10.3491 9.7667 9.88686 9.79099 9.58275 9.52746L7.66243 7.8634C7.37349 7.61302 6.93837 7.6208 6.65885 7.88136Z",fill:"#242424"}),d.createElement("path",{d:"M6.65885 11.8244L3.05157 15.187C2.77715 15.4428 2.34573 15.4368 2.07877 15.1735C1.80011 14.8986 1.80832 14.451 2.09687 14.1861L6.6619 9.99652C6.94066 9.74068 7.3706 9.73344 7.65809 9.97973L9.57461 11.6216C9.88237 11.8853 10.3483 11.8559 10.6194 11.5558L14.9195 6.79594C15.1842 6.50289 15.6452 6.4908 15.9254 6.76957C16.1844 7.02726 16.1923 7.43982 15.9434 7.70696L10.623 13.4159C10.3491 13.7098 9.88686 13.7341 9.58275 13.4705L7.66243 11.8065C7.37349 11.5561 6.93837 11.5639 6.65885 11.8244Z",fill:"#242424"})),k1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 1.5V14.25C1.5 15.495 2.505 16.5 3.75 16.5H16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.75 12.75L7.1925 8.73001C7.7625 8.07001 8.775 8.025 9.39 8.6475L10.1025 9.36001C10.7175 9.97501 11.73 9.9375 12.3 9.2775L15.75 5.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Rd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.4766 11.25V6.75C16.4766 3 14.9766 1.5 11.2266 1.5H6.72656C2.97656 1.5 1.47656 3 1.47656 6.75V11.25C1.47656 15 2.97656 16.5 6.72656 16.5H11.2266C14.9766 16.5 16.4766 15 16.4766 11.25Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.7906 2.4375L2.45312 14.775",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.0449 13.5V9.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.875 11.625H10.125",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.875 5.625H4.125",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Td=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.2775 1.6125L16.0275 4.31249C16.29 4.41749 16.5 4.73248 16.5 5.00998V7.49999C16.5 7.91249 16.1625 8.24999 15.75 8.24999H2.25C1.8375 8.24999 1.5 7.91249 1.5 7.49999V5.00998C1.5 4.73248 1.71 4.41749 1.9725 4.31249L8.7225 1.6125C8.8725 1.5525 9.1275 1.5525 9.2775 1.6125Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 16.5H1.5V14.25C1.5 13.8375 1.8375 13.5 2.25 13.5H15.75C16.1625 13.5 16.5 13.8375 16.5 14.25V16.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M15 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M0.75 16.5H17.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 6.375C9.62132 6.375 10.125 5.87132 10.125 5.25C10.125 4.62868 9.62132 4.125 9 4.125C8.37868 4.125 7.875 4.62868 7.875 5.25C7.875 5.87132 8.37868 6.375 9 6.375Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Fd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M3.2002 0.650391H10.2998C10.8705 0.650391 11.2597 0.650232 11.5605 0.674805C11.8539 0.698769 12.0063 0.742352 12.1133 0.796875C12.3671 0.926276 12.5737 1.13286 12.7031 1.38672C12.7576 1.49373 12.8012 1.64615 12.8252 1.93945C12.8498 2.24033 12.8496 2.62951 12.8496 3.2002V17.3496H3.2002C2.62951 17.3496 2.24033 17.3498 1.93945 17.3252C1.64615 17.3012 1.49373 17.2576 1.38672 17.2031C1.13286 17.0737 0.926276 16.8671 0.796875 16.6133C0.742352 16.5063 0.698769 16.3539 0.674805 16.0605C0.650232 15.7597 0.650391 15.3705 0.650391 14.7998V3.2002C0.650391 2.62951 0.650232 2.24033 0.674805 1.93945C0.698769 1.64615 0.742352 1.49373 0.796875 1.38672C0.926276 1.13286 1.13286 0.926276 1.38672 0.796875C1.49373 0.742352 1.64615 0.698769 1.93945 0.674805C2.24033 0.650232 2.62951 0.650391 3.2002 0.650391Z",stroke:"#242424",strokeWidth:1.3}),d.createElement("line",{x1:8.55234,y1:3.63571,x2:10.7645,y2:3.63571,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:8.55234,y1:6.20712,x2:10.7645,y2:6.20712,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:3.28477,y1:8.77859,x2:10.7653,y2:8.77859,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:3.28477,y1:11.35,x2:10.7653,y2:11.35,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:3.28477,y1:13.9214,x2:10.7653,y2:13.9214,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("mask",{id:"path-7-inside-1_20644_36846",fill:"white"},d.createElement("rect",{x:2.63477,y:3,width:3.95122,height:3.85714,rx:1})),d.createElement("rect",{x:2.63477,y:3,width:3.95122,height:3.85714,rx:1,stroke:"#242424",strokeWidth:2.6,mask:"url(#path-7-inside-1_20644_36846)"}),d.createElement("path",{d:"M14.7998 4.07898C15.3705 4.07898 15.7597 4.07882 16.0605 4.10339C16.3539 4.12736 16.5063 4.17094 16.6133 4.22546C16.8671 4.35486 17.0737 4.56145 17.2031 4.81531C17.2576 4.92232 17.3012 5.07473 17.3252 5.36804C17.3498 5.66892 17.3496 6.05809 17.3496 6.62878V13.2001C17.3496 14.0506 17.3497 14.6495 17.3115 15.1171C17.2739 15.5771 17.2028 15.8533 17.0938 16.0673C16.8684 16.5093 16.5085 16.8684 16.0664 17.0936C15.8525 17.2026 15.5771 17.2738 15.1172 17.3114C14.6496 17.3496 14.0507 17.3505 13.2002 17.3505H13.0254V4.07898H14.7998Z",stroke:"#242424",strokeWidth:1.3})),Pd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6875 16.5C1.6875 16.1893 1.93934 15.9375 2.25 15.9375H15.75C16.0607 15.9375 16.3125 16.1893 16.3125 16.5C16.3125 16.8107 16.0607 17.0625 15.75 17.0625H2.25C1.93934 17.0625 1.6875 16.8107 1.6875 16.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6875 7.035C1.6875 6.31184 2.27684 5.7225 3 5.7225H4.19998C4.92314 5.7225 5.51248 6.31184 5.51248 7.035V13.5C5.51248 14.2232 4.92314 14.8125 4.19998 14.8125H3C2.27684 14.8125 1.6875 14.2232 1.6875 13.5V7.035ZM3 6.8475C2.89816 6.8475 2.8125 6.93316 2.8125 7.035V13.5C2.8125 13.6018 2.89816 13.6875 3 13.6875H4.19998C4.30182 13.6875 4.38748 13.6018 4.38748 13.5V7.035C4.38748 6.93316 4.30182 6.8475 4.19998 6.8475H3Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.08751 4.6425C7.08751 3.91934 7.67685 3.33 8.40001 3.33H9.59999C10.3232 3.33 10.9125 3.91934 10.9125 4.6425V13.5C10.9125 14.2232 10.3232 14.8125 9.59999 14.8125H8.40001C7.67685 14.8125 7.08751 14.2232 7.08751 13.5V4.6425ZM8.40001 4.455C8.29817 4.455 8.21251 4.54066 8.21251 4.6425V13.5C8.21251 13.6018 8.29817 13.6875 8.40001 13.6875H9.59999C9.70183 13.6875 9.78749 13.6018 9.78749 13.5V4.6425C9.78749 4.54066 9.70183 4.455 9.59999 4.455H8.40001Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4875 2.25C12.4875 1.52684 13.0769 0.9375 13.8 0.9375H15C15.7232 0.9375 16.3125 1.52684 16.3125 2.25V13.5C16.3125 14.2232 15.7232 14.8125 15 14.8125H13.8C13.0769 14.8125 12.4875 14.2232 12.4875 13.5V2.25ZM13.8 2.0625C13.6982 2.0625 13.6125 2.14816 13.6125 2.25V13.5C13.6125 13.6018 13.6982 13.6875 13.8 13.6875H15C15.1018 13.6875 15.1875 13.6018 15.1875 13.5V2.25C15.1875 2.14816 15.1018 2.0625 15 2.0625H13.8Z",fill:"#454545"})),F7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 9C16.5 4.86 13.14 1.5 9 1.5C4.86 1.5 1.5 4.86 1.5 9C1.5 13.14 4.86 16.5 9 16.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.99995 2.25H6.74995C5.28745 6.63 5.28745 11.37 6.74995 15.75H5.99995",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.25 2.25C11.9775 4.44 12.345 6.72 12.345 9",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 12V11.25C4.44 11.9775 6.72 12.345 9 12.345",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 6.74995C6.63 5.28745 11.37 5.28745 15.75 6.74995",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.65 16.05C14.9755 16.05 16.05 14.9755 16.05 13.65C16.05 12.3245 14.9755 11.25 13.65 11.25C12.3245 11.25 11.25 12.3245 11.25 13.65C11.25 14.9755 12.3245 16.05 13.65 16.05Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 16.5L15.75 15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Bd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 4.875H12",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.25 4.875H1.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.5 6.75C8.53553 6.75 9.375 5.91053 9.375 4.875C9.375 3.83947 8.53553 3 7.5 3C6.46447 3 5.625 3.83947 5.625 4.875C5.625 5.91053 6.46447 6.75 7.5 6.75Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 13.125H12.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 13.125H1.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.5 15C11.5355 15 12.375 14.1605 12.375 13.125C12.375 12.0895 11.5355 11.25 10.5 11.25C9.46447 11.25 8.625 12.0895 8.625 13.125C8.625 14.1605 9.46447 15 10.5 15Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),P7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.65 16.05C14.9755 16.05 16.05 14.9755 16.05 13.65C16.05 12.3245 14.9755 11.25 13.65 11.25C12.3245 11.25 11.25 12.3245 11.25 13.65C11.25 14.9755 12.3245 16.05 13.65 16.05Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 16.5L15.75 15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.625 6.81738H15.375",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.0275 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375V9.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.99661 10.2749H9.00335",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 10.2749H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 12.5249H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),B7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.0625C5.16852 2.0625 2.0625 5.16852 2.0625 9C2.0625 12.8315 5.16852 15.9375 9 15.9375C12.8315 15.9375 15.9375 12.8315 15.9375 9C15.9375 5.16852 12.8315 2.0625 9 2.0625ZM0.9375 9C0.9375 4.5472 4.5472 0.9375 9 0.9375C13.4528 0.9375 17.0625 4.5472 17.0625 9C17.0625 13.4528 13.4528 17.0625 9 17.0625C4.5472 17.0625 0.9375 13.4528 0.9375 9Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4375 2.25C5.4375 1.93934 5.68934 1.6875 6 1.6875H6.75C6.93086 1.6875 7.10069 1.77447 7.20641 1.92122C7.31212 2.06797 7.34083 2.2566 7.28354 2.42815C5.85965 6.69252 5.85965 11.3075 7.28354 15.5718C7.34083 15.7434 7.31212 15.932 7.20641 16.0788C7.10069 16.2255 6.93086 16.3125 6.75 16.3125H6C5.68934 16.3125 5.4375 16.0607 5.4375 15.75C5.4375 15.4448 5.6806 15.1963 5.98375 15.1877C4.79292 11.1496 4.79292 6.85042 5.98375 2.81227C5.6806 2.80367 5.4375 2.55522 5.4375 2.25Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0718 1.71646C11.3665 1.61807 11.6852 1.77718 11.7835 2.07185C13.2847 6.56748 13.2847 11.4325 11.7835 15.9282C11.6852 16.2228 11.3665 16.3819 11.0718 16.2835C10.7772 16.1852 10.6181 15.8665 10.7165 15.5718C12.1403 11.3075 12.1403 6.69252 10.7165 2.42815C10.6181 2.13348 10.7772 1.81485 11.0718 1.71646Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.92122 10.7936C2.06797 10.6879 2.2566 10.6592 2.42815 10.7165C6.69252 12.1403 11.3075 12.1403 15.5718 10.7165C15.7434 10.6592 15.932 10.6879 16.0788 10.7936C16.2255 10.8993 16.3125 11.0691 16.3125 11.25V12C16.3125 12.3107 16.0607 12.5625 15.75 12.5625C15.4448 12.5625 15.1963 12.3194 15.1877 12.0163C11.1496 13.2071 6.85042 13.2071 2.81227 12.0163C2.80367 12.3194 2.55522 12.5625 2.25 12.5625C1.93934 12.5625 1.6875 12.3107 1.6875 12V11.25C1.6875 11.0691 1.77447 10.8993 1.92122 10.7936Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5718 7.28354C11.3075 5.85965 6.69252 5.85965 2.42815 7.28354C2.13348 7.38193 1.81485 7.22282 1.71646 6.92815C1.61807 6.63348 1.77718 6.31485 2.07185 6.21646C6.56748 4.71535 11.4325 4.71535 15.9282 6.21646C16.2228 6.31485 16.3819 6.63348 16.2835 6.92815C16.1852 7.22282 15.8665 7.38193 15.5718 7.28354Z",fill:"#242424"})),H7=(e,t,n,r,o,i)=>({title:"investments",href:n?e+"/login":e+"/market/dashboard",Icon:Pd,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"market_review",href:n?e+"/login":e+"/market/dashboard",locked:n,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments1.png",width:104,height:90}},{title:"calendars",textWidth:150,locked:n,href:n?e+"/login":e+"/market/calendars/dividends",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments3.png",width:108,height:98}}]},{type:"second",items:[{title:"screener",href:!r&&!o?"https://profinansy.ru/payment":e+"/market/screener/stocks",unavailable:!r&&!o,locked:n,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments2.png",width:110,height:95},description:"Быстро находите акции, фонды и облигации, фильтруйте их по доходности и рискам и собирайте идеи для портфеля в удобном формате",imagePlug:"https://data.profinansy.ru/api/data/a3i6kzaw2/screenerWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6pvx2g/screenerMob.png"},{title:"pas_income",href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",unavailable:!r,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments4.png",width:150,height:105},description:"Формируйте пассивный доход и наблюдайте, как растут ваши вложения. Сравнивайте стратегии и выбирайте ту, что подходит именно вам",imagePlug:"https://data.profinansy.ru/api/data/a3i6rhjvx/passiveWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6il6zl/passiveMob.png"}]},{type:"third",items:[{title:"asset_comparison",href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",icon:Rd,unavailable:!r,locked:n,isFill:!1,description:"Сравнивайте акции, облигации и другие инструменты на одном экране, оценивая доходность, риски и перспективы с помощью графиков и аналитики",imagePlug:"https://data.profinansy.ru/api/data/a3i6qbobw/asset_comparisonWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6lbwfj/asset_comparisonMob.png"},{title:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",icon:jd,unavailable:!r,isFill:!0,description:"Отслеживайте тренды акций и фондов: индикатор показывает фазу актива — рост или спад, помогая принимать своевременные решения",imagePlug:"https://data.profinansy.ru/api/data/a3i6ohrri/trend_indicatorWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6gb6g4/trend_indicatorMob.png"},{title:"selections",href:t+"/selections?side_menu_type=investment",icon:js,isFill:!1},{title:"heat_map",href:n?e+"/login":e+"/market/heatmap",icon:Rs,isFill:!1},{title:"econom_cycles",href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",icon:k1,unavailable:!r,isFill:!1,description:"Изучайте экономические циклы — рост, пик, спад, рецессию — и используйте их для более взвешенных инвестиционных решений",imagePlug:"https://data.profinansy.ru/api/data/a2qotcj7e/econom_circle.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6mvp6z/economic_circleMob.png"},{title:"brokers",href:e+"/market/brokers-list",icon:Td,isFill:!1},{title:"news",href:t+"/news?side_menu_type=investment",icon:Fd,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios4.png",bannerCode:"header_investments"}],subPages:[{name:"review",isForeignAccess:!0,href:n?e+"/login":e+"/market/dashboard",locked:n,subPages:[{name:"all_review",href:n?e+"/login":e+"/market/dashboard",locked:n,innerPages:["/market/dashboard/europe","/market/dashboard/asia"]},{name:"dashboard_stocks",href:n?e+"/login":e+"/market/dashboard/rus-stocks",locked:n,innerPages:["/market/dashboard/usa-stocks","/market/dashboard/rus-stocks"]},{name:"dashboard_bonds",href:n?e+"/login":e+"/market/dashboard/rus-bonds",locked:n,innerPages:["/market/dashboard/world-bonds","/market/dashboard/rus-bonds/yield-curve-map","/market/dashboard/world-bonds/yield-curve-map"]},{name:"dashboard_etf",href:n?e+"/login":e+"/market/dashboard/rus-etf",locked:n,innerPages:["/market/dashboard/usa-etf","/market/dashboard/rus-etf"]},{name:"dashboard_crypto",href:n?e+"/login":e+"/market/dashboard/crypto",locked:n,innerPages:["/market/dashboard/crypto"]}]},{name:"selections",href:t+"/selections?side_menu_type=investment"},{name:"calendars",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,subPages:[{name:"dividend_calendar",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,innerPages:["/market/calendars/retroDividends"]},{name:"economic_calendar",href:n?e+"/login":e+"/market/calendars/economic",locked:n},{name:"bonds_calendar",href:n?e+"/login":e+"/market/calendars/bonds",locked:n},{name:"coupon_calendar",href:n?e+"/login":e+"/market/calendars/coupons",locked:n},{name:"bond_redemption_calendar",href:n?e+"/login":e+"/market/calendars/amortizations",locked:n},{name:"bond_offer_calendar",href:n?e+"/login":e+"/market/calendars/offers",locked:n},{name:"bond_default_calendar",href:n?e+"/login":e+"/market/calendars/defaults",locked:n},{name:"report_calendar",href:n?e+"/login":e+"/market/calendars/reports",locked:n,isNotVisible:!i},{name:"ipo_calendar",href:n?e+"/login":e+"/market/calendars/IPO",locked:n,crownShown:!r}]},{name:"screener",isForeignAccess:!0,href:!r&&!o?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o,isHit:!0,description:"Быстро находите акции, фонды и облигации, фильтруйте их по доходности и рискам и собирайте идеи для портфеля в удобном формате",imagePlug:"https://data.profinansy.ru/api/data/a3i6kzaw2/screenerWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6pvx2g/screenerMob.png",innerPages:["/market/screener"],subPages:[{name:"stocks_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o},{name:"bonds_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/bonds",locked:n,unavailable:!r&&!o},{name:"etf_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/etfs",locked:n,unavailable:!r&&!o},{name:"crypto_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/crypto",locked:n,unavailable:!r&&!o},{name:"futures_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/futures",locked:n,unavailable:!r&&!o}]},{name:"asset_comparison",href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Сравнивайте акции, облигации и другие инструменты на одном экране, оценивая доходность, риски и перспективы с помощью графиков и аналитики",imagePlug:"https://data.profinansy.ru/api/data/a3i6qbobw/asset_comparisonWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6lbwfj/asset_comparisonMob.png",innerPages:["/market/asset-comparison"],subPages:[{name:"asset_comparison_stocks",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/stocks",locked:n,unavailable:!r},{name:"asset_comparison_bonds",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/bonds",locked:n,unavailable:!r},{name:"asset_comparison_etf",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/etfs",locked:n,unavailable:!r}]},{name:"passive_income",isForeignAccess:!0,href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",locked:n,unavailable:!r,isHit:!0,description:"Формируйте пассивный доход и наблюдайте, как растут ваши вложения. Сравнивайте стратегии и выбирайте ту, что подходит именно вам",imagePlug:"https://data.profinansy.ru/api/data/a3i6rhjvx/passiveWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6il6zl/passiveMob.png",innerPages:["/market/passive-income/common"],subPages:[{name:"passive_income_stocks",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/stocks",locked:n,isHit:!0,unavailable:!r},{name:"passive_income_bonds",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/bonds",locked:n,unavailable:!r},{name:"passive_income_common",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/common",locked:n,unavailable:!r}]},{name:"econom_cycles",href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Изучайте экономические циклы — рост, пик, спад, рецессию — и используйте их для более взвешенных инвестиционных решений",imagePlug:"https://data.profinansy.ru/api/data/a2qotcj7e/econom_circle.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6mvp6z/economic_circleMob.png"},{name:"heat_map",href:n?e+"/login":e+"/market/heatmap",locked:n},{name:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",locked:n,unavailable:!r,isNew:!0,description:"Отслеживайте тренды акций и фондов: индикатор показывает фазу актива — рост или спад, помогая принимать своевременные решения",imagePlug:"https://data.profinansy.ru/api/data/a3i6ohrri/trend_indicatorWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6gb6g4/trend_indicatorMob.png"},{name:"brokers",href:e+"/market/brokers-list"},{name:"news",href:t+"/news?side_menu_type=investment"}]}),Hd=(e,t,n,r,o,i)=>({name:"investments",Icon:Pd,href:n?e+"/login":e+"/market/dashboard",subPages:[{name:"market_review",Icon:F7,isFill:!1,isForeignAccess:!0,href:n?e+"/login":e+"/market/dashboard",locked:n,subPages:[{name:"all_review",href:n?e+"/login":e+"/market/dashboard",locked:n,innerPages:["/market/dashboard/europe","/market/dashboard/asia"]},{name:"dashboard_stocks",href:n?e+"/login":e+"/market/dashboard/rus-stocks",locked:n,innerPages:["/market/dashboard/usa-stocks","/market/dashboard/rus-stocks"]},{name:"dashboard_bonds",href:n?e+"/login":e+"/market/dashboard/rus-bonds",locked:n,innerPages:["/market/dashboard/world-bonds","/market/dashboard/rus-bonds/yield-curve-map","/market/dashboard/world-bonds/yield-curve-map"]},{name:"dashboard_etf",href:n?e+"/login":e+"/market/dashboard/rus-etf",locked:n,innerPages:["/market/dashboard/usa-etf","/market/dashboard/rus-etf"]},{name:"dashboard_crypto",href:n?e+"/login":e+"/market/dashboard/crypto",locked:n,innerPages:["/market/dashboard/crypto"]}]},{name:"screener",Icon:Bd,isFill:!1,isForeignAccess:!0,href:!r&&!o?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o,description:"Быстро находите акции, фонды и облигации, фильтруйте их по доходности и рискам и собирайте идеи для портфеля в удобном формате",imagePlug:"https://data.profinansy.ru/api/data/a3i6kzaw2/screenerWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6pvx2g/screenerMob.png",innerPages:["/market/screener"],subPages:[{name:"stocks_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o},{name:"bonds_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/bonds",locked:n,unavailable:!r&&!o},{name:"etf_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/etfs",locked:n,unavailable:!r&&!o},{name:"crypto_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/crypto",locked:n,unavailable:!r&&!o},{name:"futures_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/futures",locked:n,unavailable:!r&&!o}]},{name:"feed_selections",Icon:js,isFill:!1,href:t+"/selections?side_menu_type=investment"},{name:"pas_income",Icon:Rr,isFill:!0,isForeignAccess:!0,href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Формируйте пассивный доход и наблюдайте, как растут ваши вложения. Сравнивайте стратегии и выбирайте ту, что подходит именно вам",imagePlug:"https://data.profinansy.ru/api/data/a3i6rhjvx/passiveWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6il6zl/passiveMob.png",innerPages:["/market/passive-income/common"],subPages:[{name:"passive_income_stocks",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/stocks",locked:n,isHit:!0,unavailable:!r},{name:"passive_income_bonds",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/bonds",locked:n,unavailable:!r},{name:"passive_income_common",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/common",locked:n,unavailable:!r}]},{name:"asset_comparison",Icon:Rd,isForeignAccess:!0,isFill:!1,href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Сравнивайте акции, облигации и другие инструменты на одном экране, оценивая доходность, риски и перспективы с помощью графиков и аналитики",imagePlug:"https://data.profinansy.ru/api/data/a3i6qbobw/asset_comparisonWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6lbwfj/asset_comparisonMob.png",innerPages:["/market/asset-comparison"],subPages:[{name:"asset_comparison_stocks",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/stocks",locked:n,unavailable:!r},{name:"asset_comparison_bonds",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/bonds",locked:n,unavailable:!r},{name:"asset_comparison_etf",isForeignAccess:!0,href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/etfs",locked:n,unavailable:!r}]},{name:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",Icon:jd,isFill:!0,isForeignAccess:!0,locked:n,unavailable:!r,isNew:!0,description:"Отслеживайте тренды акций и фондов: индикатор показывает фазу актива — рост или спад, помогая принимать своевременные решения",imagePlug:"https://data.profinansy.ru/api/data/a3i6ohrri/trend_indicatorWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6gb6g4/trend_indicatorMob.png"},{name:"calendars",href:n?e+"/login":e+"/market/calendars/dividends",Icon:P7,isFill:!1,isForeignAccess:!0,locked:n,subPages:[{name:"dividend_calendar",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,innerPages:["/market/calendars/retroDividends"]},{name:"economic_calendar",href:n?e+"/login":e+"/market/calendars/economic",locked:n},{name:"bonds_calendar",href:n?e+"/login":e+"/market/calendars/bonds",locked:n},{name:"coupon_calendar",href:n?e+"/login":e+"/market/calendars/coupons",locked:n},{name:"bond_redemption_calendar",href:n?e+"/login":e+"/market/calendars/amortizations",locked:n},{name:"bond_offer_calendar",href:n?e+"/login":e+"/market/calendars/offers",locked:n},{name:"bond_default_calendar",href:n?e+"/login":e+"/market/calendars/defaults",locked:n},{name:"report_calendar",href:n?e+"/login":e+"/market/calendars/reports",locked:n,isNotVisible:!i},{name:"ipo_calendar",href:n?e+"/login":e+"/market/calendars/IPO",locked:n,crownShown:!r}]},{name:"brokers",Icon:Td,isFill:!1,isForeignAccess:!0,href:e+"/market/brokers-list"},{name:"heat_map",Icon:Rs,isFill:!1,isForeignAccess:!0,href:n?e+"/login":e+"/market/heatmap",locked:n},{name:"econom_cycles",Icon:k1,isFill:!1,isForeignAccess:!0,href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Изучайте экономические циклы — рост, пик, спад, рецессию — и используйте их для более взвешенных инвестиционных решений",imagePlug:"https://data.profinansy.ru/api/data/a3i6stqoh/economic_circleWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6mvp6z/economic_circleMob.png"},{name:"news",Icon:B7,isFill:!0,href:t+"/news?side_menu_type=investment"}]}),Xi=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.45192 4.63953C6.15231 4.63953 5.90385 4.40233 5.90385 4.11628V2.02326C5.90385 1.73721 6.15231 1.5 6.45192 1.5C6.75154 1.5 7 1.73721 7 2.02326V4.11628C7 4.40233 6.75154 4.63953 6.45192 4.63953Z",fill:"#454545"}),d.createElement("path",{d:"M12.2981 4.63953C11.9985 4.63953 11.75 4.40233 11.75 4.11628V2.02326C11.75 1.73721 11.9985 1.5 12.2981 1.5C12.5977 1.5 12.8462 1.73721 12.8462 2.02326V4.11628C12.8462 4.40233 12.5977 4.63953 12.2981 4.63953Z",fill:"#454545"}),d.createElement("path",{d:"M6.81731 10.7442C6.72231 10.7442 6.62731 10.7233 6.53961 10.6884C6.44461 10.6535 6.37154 10.6046 6.29846 10.5419C6.16692 10.4093 6.08654 10.2349 6.08654 10.0465C6.08654 9.95582 6.10846 9.86512 6.145 9.7814C6.18154 9.69768 6.23269 9.62094 6.29846 9.55117C6.37154 9.48838 6.44461 9.43953 6.53961 9.40465C6.80269 9.3 7.13154 9.35582 7.33615 9.55117C7.46769 9.68373 7.54808 9.86512 7.54808 10.0465C7.54808 10.0884 7.54077 10.1372 7.53346 10.1861C7.52615 10.2279 7.51154 10.2698 7.48961 10.3116C7.475 10.3535 7.45308 10.3954 7.42385 10.4372C7.40192 10.4721 7.36538 10.507 7.33615 10.5419C7.19731 10.6674 7.00731 10.7442 6.81731 10.7442Z",fill:"#454545"}),d.createElement("path",{d:"M9.375 10.7442C9.28 10.7442 9.185 10.7233 9.09731 10.6884C9.00231 10.6535 8.92923 10.6046 8.85615 10.5419C8.72462 10.4093 8.64423 10.2349 8.64423 10.0465C8.64423 9.95581 8.66616 9.86511 8.70269 9.78139C8.73923 9.69767 8.79039 9.62093 8.85615 9.55117C8.92923 9.48838 9.00231 9.43952 9.09731 9.40464C9.36038 9.29301 9.68923 9.35582 9.89385 9.55117C10.0254 9.68372 10.1058 9.86511 10.1058 10.0465C10.1058 10.0884 10.0985 10.1372 10.0912 10.1861C10.0838 10.2279 10.0692 10.2698 10.0473 10.3116C10.0327 10.3535 10.0108 10.3953 9.98154 10.4372C9.95962 10.4721 9.92308 10.507 9.89385 10.5419C9.755 10.6674 9.565 10.7442 9.375 10.7442Z",fill:"#454545"}),d.createElement("path",{d:"M11.9327 10.7442C11.8377 10.7442 11.7427 10.7233 11.655 10.6884C11.56 10.6535 11.4869 10.6046 11.4138 10.5419C11.3846 10.507 11.3554 10.4721 11.3262 10.4372C11.2969 10.3953 11.275 10.3535 11.2604 10.3116C11.2385 10.2698 11.2238 10.2279 11.2165 10.1861C11.2092 10.1372 11.2019 10.0884 11.2019 10.0465C11.2019 9.86511 11.2823 9.68372 11.4138 9.55117C11.4869 9.48838 11.56 9.43952 11.655 9.40464C11.9254 9.29301 12.2469 9.35582 12.4515 9.55117C12.5831 9.68372 12.6635 9.86511 12.6635 10.0465C12.6635 10.0884 12.6562 10.1372 12.6488 10.1861C12.6415 10.2279 12.6269 10.2698 12.605 10.3116C12.5904 10.3535 12.5685 10.3953 12.5392 10.4372C12.5173 10.4721 12.4808 10.507 12.4515 10.5419C12.3127 10.6674 12.1227 10.7442 11.9327 10.7442Z",fill:"#454545"}),d.createElement("path",{d:"M6.81731 13.186C6.72231 13.186 6.62731 13.1651 6.53961 13.1302C6.45192 13.0954 6.37154 13.0465 6.29846 12.9837C6.16692 12.8512 6.08654 12.6698 6.08654 12.4884C6.08654 12.3977 6.10846 12.307 6.145 12.2233C6.18154 12.1326 6.23269 12.0558 6.29846 11.993C6.56885 11.7349 7.06577 11.7349 7.33615 11.993C7.46769 12.1256 7.54808 12.307 7.54808 12.4884C7.54808 12.6698 7.46769 12.8512 7.33615 12.9837C7.19731 13.1093 7.00731 13.186 6.81731 13.186Z",fill:"#454545"}),d.createElement("path",{d:"M9.375 13.186C9.185 13.186 8.995 13.1093 8.85615 12.9837C8.72462 12.8512 8.64423 12.6698 8.64423 12.4884C8.64423 12.3977 8.66616 12.307 8.70269 12.2233C8.73923 12.1326 8.79039 12.0558 8.85615 11.993C9.12654 11.7349 9.62346 11.7349 9.89385 11.993C9.95961 12.0558 10.0108 12.1326 10.0473 12.2233C10.0838 12.307 10.1058 12.3977 10.1058 12.4884C10.1058 12.6698 10.0254 12.8512 9.89385 12.9837C9.755 13.1093 9.565 13.186 9.375 13.186Z",fill:"#454545"}),d.createElement("path",{d:"M11.9327 13.1861C11.7427 13.1861 11.5527 13.1093 11.4138 12.9837C11.3481 12.9209 11.2969 12.8442 11.2604 12.7535C11.2238 12.6698 11.2019 12.5791 11.2019 12.4884C11.2019 12.3977 11.2238 12.307 11.2604 12.2233C11.2969 12.1326 11.3481 12.0558 11.4138 11.9931C11.5819 11.8326 11.8377 11.7558 12.0715 11.8047C12.1227 11.8116 12.1665 11.8256 12.2104 11.8465C12.2542 11.8605 12.2981 11.8814 12.3419 11.9093C12.3785 11.9303 12.415 11.9651 12.4515 11.9931C12.5831 12.1256 12.6635 12.307 12.6635 12.4884C12.6635 12.6698 12.5831 12.8512 12.4515 12.9837C12.3127 13.1093 12.1227 13.1861 11.9327 13.1861Z",fill:"#454545"}),d.createElement("path",{d:"M15.5865 7.493H3.16346C2.86385 7.493 2.61538 7.25579 2.61538 6.96974C2.61538 6.6837 2.86385 6.44649 3.16346 6.44649H15.5865C15.8862 6.44649 16.1346 6.6837 16.1346 6.96974C16.1346 7.25579 15.8862 7.493 15.5865 7.493Z",fill:"#454545"}),d.createElement("path",{d:"M12.2981 16.5H6.45192C3.78462 16.5 2.25 15.0349 2.25 12.4884V6.55814C2.25 4.01163 3.78462 2.54651 6.45192 2.54651H12.2981C14.9654 2.54651 16.5 4.01163 16.5 6.55814V12.4884C16.5 15.0349 14.9654 16.5 12.2981 16.5ZM6.45192 3.59302C4.36192 3.59302 3.34615 4.56279 3.34615 6.55814V12.4884C3.34615 14.4837 4.36192 15.4535 6.45192 15.4535H12.2981C14.3881 15.4535 15.4038 14.4837 15.4038 12.4884V6.55814C15.4038 4.56279 14.3881 3.59302 12.2981 3.59302H6.45192Z",fill:"#454545"})),E1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.11253 11.8125C9.42319 11.8125 9.67503 12.0643 9.67503 12.375V13.95C9.67503 14.2607 9.42319 14.5125 9.11253 14.5125C8.80187 14.5125 8.55003 14.2607 8.55003 13.95V12.375C8.55003 12.0643 8.80187 11.8125 9.11253 11.8125Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.80003 15.75C4.80003 14.6143 5.72687 13.6875 6.86253 13.6875H11.3625C12.4982 13.6875 13.425 14.6143 13.425 15.75V17.0625H4.80003V15.75ZM6.86253 14.8125C6.34819 14.8125 5.92503 15.2357 5.92503 15.75V15.9375H12.3V15.75C12.3 15.2357 11.8769 14.8125 11.3625 14.8125H6.86253Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05003 16.5C4.05003 16.1893 4.30187 15.9375 4.61253 15.9375H13.6125C13.9232 15.9375 14.175 16.1893 14.175 16.5C14.175 16.8107 13.9232 17.0625 13.6125 17.0625H4.61253C4.30187 17.0625 4.05003 16.8107 4.05003 16.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75003 2.0625C5.40319 2.0625 4.31253 3.15316 4.31253 4.5V6.75C4.31253 9.34184 6.40819 11.4375 9.00003 11.4375C11.5919 11.4375 13.6875 9.34184 13.6875 6.75V4.5C13.6875 3.15316 12.5969 2.0625 11.25 2.0625H6.75003ZM3.18753 4.5C3.18753 2.53184 4.78187 0.9375 6.75003 0.9375H11.25C13.2182 0.9375 14.8125 2.53184 14.8125 4.5V6.75C14.8125 9.96316 12.2132 12.5625 9.00003 12.5625C5.78687 12.5625 3.18753 9.96316 3.18753 6.75V4.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.14514 3.84936C2.53561 3.96587 2.09253 4.48745 2.09253 5.1375C2.09253 6.009 2.46082 6.77691 3.06312 7.45006C3.10038 7.48698 3.13864 7.52318 3.17787 7.55856C3.13009 7.25938 3.10503 6.95202 3.10503 6.6375V4.3875C3.10503 4.20631 3.11827 4.02635 3.14514 3.84936ZM0.967529 5.1375C0.967529 3.77684 2.04437 2.7 3.40503 2.7H3.89253C4.08213 2.7 4.25898 2.79552 4.36294 2.95408C4.4669 3.11264 4.48398 3.3129 4.40838 3.48678C4.29173 3.75508 4.23003 4.06043 4.23003 4.3875V6.6375C4.23003 7.30726 4.37041 7.93684 4.61924 8.5152C4.70635 8.71767 4.66717 8.95238 4.51901 9.11558C4.37086 9.27879 4.14103 9.34042 3.93109 9.27324C3.27123 9.06208 2.70109 8.67906 2.25728 8.23525C2.25031 8.22828 2.24352 8.22112 2.23693 8.21379C1.49516 7.38961 0.967529 6.36119 0.967529 5.1375Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6371 2.95408C13.7411 2.79552 13.9179 2.7 14.1075 2.7H14.595C15.9557 2.7 17.0325 3.77684 17.0325 5.1375C17.0325 6.36119 16.5049 7.38961 15.7631 8.21379C15.7565 8.22112 15.7497 8.22828 15.7428 8.23525C15.299 8.67906 14.7288 9.06208 14.069 9.27324C13.859 9.34042 13.6292 9.27879 13.481 9.11558C13.3329 8.95238 13.2937 8.71767 13.3808 8.5152C13.6296 7.93684 13.77 7.30726 13.77 6.6375V4.3875C13.77 4.06043 13.7083 3.75508 13.5917 3.48678C13.5161 3.3129 13.5332 3.11264 13.6371 2.95408ZM14.8549 3.84936C14.8818 4.02635 14.895 4.20631 14.895 4.3875V6.6375C14.895 6.95201 14.87 7.25938 14.8222 7.55856C14.8614 7.52318 14.8997 7.48698 14.9369 7.45006C15.5392 6.77691 15.9075 6.009 15.9075 5.1375C15.9075 4.48745 15.4645 3.96587 14.8549 3.84936Z",fill:"#454545"})),V7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("ellipse",{cx:8.625,cy:9,rx:7.5,ry:7.5,transform:"rotate(90 8.625 9)",stroke:"#242424",strokeWidth:1.4}),d.createElement("path",{d:"M6.41427 7.20935C6.47017 7.00438 6.6303 6.84426 6.83526 6.78836L11.3251 5.56385C11.773 5.4417 12.184 5.85268 12.0618 6.30058L10.8373 10.7904C10.7814 10.9954 10.6213 11.1555 10.4164 11.2114L5.9265 12.4359C5.4786 12.5581 5.06761 12.1471 5.18977 11.6992L6.41427 7.20935Z",stroke:"#242424",strokeWidth:1.4})),L1=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.80424 2.0625C5.27073 2.0625 4.03674 3.30233 4.03674 4.83C4.03674 6.31727 5.19855 7.52399 6.66541 7.58914C6.75436 7.58295 6.84834 7.58265 6.937 7.58907C8.40241 7.52324 9.56492 6.31731 9.57174 4.82886C9.57112 3.30254 8.3307 2.0625 6.80424 2.0625ZM2.91174 4.83C2.91174 2.68267 4.64776 0.9375 6.80424 0.9375C8.9524 0.9375 10.6967 2.68184 10.6967 4.83L10.6967 4.83234C10.688 6.93264 9.03246 8.64445 6.94314 8.71468C6.91816 8.71552 6.89315 8.7147 6.86827 8.71221C6.83211 8.70859 6.77806 8.70811 6.72767 8.71269C6.70446 8.7148 6.68114 8.71547 6.65785 8.71468C4.56894 8.64447 2.91174 6.93253 2.91174 4.83Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7992 3C11.7992 2.68934 12.051 2.4375 12.3617 2.4375C14.1284 2.4375 15.5492 3.86789 15.5492 5.625C15.5492 7.34659 14.1834 8.74835 12.4803 8.81211C12.4499 8.81324 12.4196 8.81192 12.3894 8.80816C12.3782 8.80675 12.3553 8.80584 12.3263 8.80906C12.0176 8.84337 11.7395 8.62088 11.7052 8.31212C11.6708 8.00336 11.8933 7.72525 12.2021 7.69094C12.2904 7.68112 12.383 7.67886 12.4743 7.68623C13.5593 7.62675 14.4242 6.72623 14.4242 5.625C14.4242 4.48711 13.505 3.5625 12.3617 3.5625C12.051 3.5625 11.7992 3.31066 11.7992 3Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.93361 9.32812C8.37976 9.32812 9.85448 9.69106 10.9942 10.4522C12.0186 11.1341 12.6055 12.0899 12.6055 13.1184C12.6055 14.1469 12.0187 15.1044 10.9946 15.7899L10.9945 15.79C9.85138 16.5549 8.3748 16.92 6.92799 16.92C5.48146 16.92 4.00517 16.555 2.8621 15.7905C1.83752 15.1086 1.25049 14.1527 1.25049 13.1241C1.25049 12.0956 1.83732 11.1381 2.86133 10.4526L2.86339 10.4512L2.8634 10.4512C4.00972 9.69113 5.48729 9.32812 6.93361 9.32812ZM3.48611 11.3881C2.69588 11.9175 2.37549 12.5572 2.37549 13.1241C2.37549 13.6908 2.69574 14.3286 3.48581 14.8542L3.48704 14.855C4.40638 15.4701 5.6523 15.795 6.92799 15.795C8.20363 15.795 9.4495 15.4701 10.3688 14.8551C11.1598 14.3256 11.4805 13.6856 11.4805 13.1184C11.4805 12.5517 11.1602 11.9139 10.3702 11.3883L10.3693 11.3878C9.454 10.7764 8.20996 10.4531 6.93361 10.4531C5.65792 10.4531 4.40969 10.7761 3.48611 11.3881Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.283 10.3765C13.3513 10.0734 13.6523 9.88309 13.9554 9.95138C14.5474 10.0848 15.1285 10.3228 15.6186 10.6966C16.3244 11.2267 16.7192 11.9656 16.7192 12.7464C16.7192 13.5269 16.3247 14.2656 15.6192 14.7957C15.1232 15.1759 14.5332 15.4239 13.9239 15.5508C13.6198 15.6142 13.3219 15.419 13.2585 15.1148C13.1952 14.8107 13.3903 14.5128 13.6945 14.4494C14.1642 14.3516 14.5932 14.1652 14.9366 13.9015L14.9417 13.8976L14.9417 13.8976C15.4047 13.5504 15.5942 13.1274 15.5942 12.7464C15.5942 12.3653 15.4047 11.9424 14.9417 11.5951L14.9378 11.5922L14.9378 11.5922C14.6034 11.3368 14.1802 11.1553 13.708 11.0489C13.405 10.9806 13.2147 10.6795 13.283 10.3765Z",fill:"#454545"})),N7=e=>({title:"club",href:e+"/club",Icon:L1,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,hiddenFromChildren:!0,columns:[{type:"first",items:[{title:"investideas",href:e+"/club/investidea",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club10.png",width:112,height:100}},{title:"club_choice",textWidth:130,href:e+"/club/profinansy-choice",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club2.png",width:112,height:85}}]},{type:"second",items:[{title:"club_portfolios",textWidth:130,href:e+"/club/club-portfolios",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club3.png",width:95,height:75}},{title:"club_public_account",textWidth:110,href:e+"/club/public-account",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club4.png",width:105,height:80}},{title:"feed_selections",href:e+"/club/club-selections",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club5.png",width:135,height:90}}]},{type:"third",items:[{title:"club_schedule",href:e+"/club/schedule",icon:Xi,isFill:!0},{title:"club_feed",href:e+"/club/feed",icon:Fd,isFill:!1},{title:"club_invest_war",href:e+"/club/invest-game",icon:E1,isFill:!0},{title:"club_about_full",href:e+"/club/about",icon:V7,isFill:!1},{title:"club_roller_cink",href:e+"/club/education/cink",icon:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club7.png"},{title:"club_kink",href:e+"/club/education/kink",icon:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club9.png"},{title:"club_rkink",href:e+"/club/education/rkink",icon:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club8.png"}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club6.png",bannerCode:"header_club"}],subPages:[{name:"club_main",href:e+"/club"},{name:"club_feed",href:e+"/club/feed"},{name:"club_about",href:e+"/club/about"},{name:"club_schedule",href:e+"/club/schedule"},{name:"club_invest_war",href:e+"/club/invest-game",isNew:!0},{name:"club_ideas",href:e+"/club/investidea"},{name:"club_choice",href:e+"/club/profinansy-choice"},{name:"club_public_account",href:e+"/club/public-account"},{name:"club_portfolios",href:e+"/club/club-portfolios"},{name:"club_selections",href:e+"/club/club-selections"},{name:"club_weekly_review",href:e+"/club/updates/weekly_review"},{name:"club_market_ru",href:e+"/club/updates/market_ru"},{name:"club_bonds",href:e+"/club/updates/bonds_club"},{name:"club_roller_coaster",href:e+"/club/updates/roller-coaster"},{name:"club_review_companies",href:e+"/club/updates/analytical-previ"},{name:"club_crypto",href:e+"/club/updates/crypto"},{name:"club_portfolios_analytic",href:e+"/club/updates/portfolios-analy"},{name:"club_invited_speakers",href:e+"/club/updates/invited-speakers"},{name:"club_roller_cink",href:e+"/club/education/cink"},{name:"club_faq",href:e+"/club/updates/faq_club"},{name:"club_client_history",href:e+"/club/updates/client_history"},{name:"club_offline_meetings",href:e+"/club/updates/offline-meetings"},{name:"club_kink",href:e+"/club/education/kink"},{name:"club_rkink",href:e+"/club/education/rkink"},{name:"club_help",href:e+"/club/help"}]}),O7=e=>({name:"club",Icon:E1,href:e+"/club",hiddenFromChildren:!0,subPages:[{name:"club_feed",href:e+"/club/feed"},{name:"club_about",href:e+"/club/about"},{name:"club_schedule",href:e+"/club/schedule"},{name:"club_invest_war",href:e+"/club/invest-game",isNew:!0},{name:"club_ideas",href:e+"/club/investidea"},{name:"club_choice",href:e+"/club/profinansy-choice"},{name:"club_public_account",href:e+"/club/public-account"},{name:"club_portfolios",href:e+"/club/club-portfolios"},{name:"club_selections",href:e+"/club/club-selections"},{name:"club_roller_cink",href:e+"/club/education/cink"},{name:"club_kink",href:e+"/club/education/kink"},{name:"club_rkink",href:e+"/club/education/rkink"}]}),W7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.991699 12.0001C0.991699 10.8644 1.91854 9.93761 3.0542 9.93761H6.5567C6.86736 9.93761 7.1192 10.1894 7.1192 10.5001V16.5001C7.1192 16.8108 6.86736 17.0626 6.5567 17.0626H1.5542C1.24354 17.0626 0.991699 16.8108 0.991699 16.5001V12.0001ZM3.0542 11.0626C2.53986 11.0626 2.1167 11.4858 2.1167 12.0001V15.9376H5.9942V11.0626H3.0542Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.9867 9.00011C5.9867 7.86445 6.91354 6.93761 8.0492 6.93761H10.0517C11.1967 6.93761 12.1142 7.86628 12.1142 9.00011V16.5001C12.1142 16.8108 11.8624 17.0626 11.5517 17.0626H6.5492C6.23854 17.0626 5.9867 16.8108 5.9867 16.5001V9.00011ZM8.0492 8.06261C7.53486 8.06261 7.1117 8.48577 7.1117 9.00011V15.9376H10.9892V9.00011C10.9892 8.48393 10.5717 8.06261 10.0517 8.06261H8.0492Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9892 12.7501C10.9892 12.4394 11.241 12.1876 11.5517 12.1876H15.0542C16.1899 12.1876 17.1167 13.1144 17.1167 14.2501V16.5001C17.1167 16.8108 16.8649 17.0626 16.5542 17.0626H11.5517C11.241 17.0626 10.9892 16.8108 10.9892 16.5001V12.7501ZM12.1142 13.3126V15.9376H15.9917V14.2501C15.9917 13.7358 15.5685 13.3126 15.0542 13.3126H12.1142Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.05607 2.03415L8.76982 2.60667C8.69214 2.76203 8.57256 2.87816 8.46844 2.95497C8.36301 3.03274 8.22007 3.1096 8.05536 3.14048L8.04416 3.14247L7.56663 3.22204L7.93869 3.59409C8.07774 3.72697 8.15502 3.8929 8.19459 4.0288C8.23521 4.16833 8.25695 4.34767 8.21479 4.52913L8.12314 4.93062L8.53905 4.6857C8.70858 4.58232 8.89647 4.54887 9.05045 4.54887C9.20442 4.54887 9.39232 4.58231 9.56184 4.68569L9.97775 4.93062L9.88611 4.52912C9.84392 4.34751 9.86564 4.16954 9.90685 4.02976C9.94866 3.88796 10.027 3.72927 10.1565 3.59985L10.5418 3.21455L10.0724 3.13632C9.89737 3.11127 9.74788 3.03269 9.63996 2.95308C9.5303 2.87219 9.41209 2.75229 9.3361 2.5942L9.05607 2.03415ZM9.05046 0.67043C9.50656 0.667402 9.79767 1.00689 9.94554 1.29754L9.94733 1.30105L10.3149 2.03622L10.9677 2.14502C10.968 2.14507 10.9682 2.14511 10.9685 2.14516C11.2978 2.19934 11.689 2.38128 11.8264 2.79915C11.9651 3.22112 11.7526 3.59894 11.5125 3.83482L10.9988 4.34848L11.1399 4.96642C11.2146 5.28843 11.2368 5.79829 10.8281 6.09581C10.4208 6.39231 9.94308 6.21691 9.66045 6.04934C9.66014 6.04916 9.65983 6.04897 9.65952 6.04879L9.05045 5.69012L8.44138 6.04879C8.44108 6.04896 8.44078 6.04914 8.44049 6.04932C8.15786 6.21689 7.68011 6.39232 7.27282 6.09581C6.86411 5.79827 6.88632 5.28835 6.96105 4.96634C6.96115 4.96591 6.96126 4.96547 6.96136 4.96503L7.10209 4.34848L6.59396 3.84036C6.36205 3.60845 6.14071 3.23135 6.27845 2.80613C6.41598 2.38159 6.8155 2.20533 7.14051 2.15254L7.7935 2.04372L8.16108 1.30855C8.30769 1.01532 8.5956 0.67345 9.05046 0.67043ZM9.12732 5.64462C9.12517 5.64596 9.12306 5.64724 9.12098 5.64847L9.12732 5.64462ZM8.97991 5.64846C8.97784 5.64724 8.97573 5.64596 8.97358 5.64462L8.97991 5.64846ZM10.3514 2.10974L10.3481 2.10276C10.3492 2.105 10.3503 2.10732 10.3514 2.10974Z",fill:"#454545"})),Ts=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M7.5 12.7125H4.6575C2.13 12.7125 1.5 12.0825 1.5 9.55502V5.05502C1.5 2.52752 2.13 1.89752 4.6575 1.89752H12.555C15.0825 1.89752 15.7125 2.52752 15.7125 5.05502",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.5 16.1025V12.7125",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 9.71252H7.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.05469 16.1025H7.49969",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5009 9.6V13.8825C16.5009 15.66 16.0584 16.1025 14.2809 16.1025H11.6184C9.84094 16.1025 9.39844 15.66 9.39844 13.8825V9.6C9.39844 7.8225 9.84094 7.38 11.6184 7.38H14.2809C16.0584 7.38 16.5009 7.8225 16.5009 9.6Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.9334 13.6875H12.9401",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Vd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 11.625C10.6575 11.625 12 10.2825 12 8.625V4.5C12 2.8425 10.6575 1.5 9 1.5C7.3425 1.5 6 2.8425 6 4.5V8.625C6 10.2825 7.3425 11.625 9 11.625Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.26172 7.23749V8.51249C3.26172 11.6775 5.83422 14.25 8.99922 14.25C12.1642 14.25 14.7367 11.6775 14.7367 8.51249V7.23749",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.95703 4.82253C8.63203 4.57503 9.36703 4.57503 10.042 4.82253",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.40039 6.41249C8.79789 6.30749 9.21039 6.30749 9.60789 6.41249",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 14.25V16.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Z7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.1016 14.25V3.75C16.1016 2.25 15.3516 1.5 13.8516 1.5H10.8516C9.35156 1.5 8.60156 2.25 8.60156 3.75V14.25C8.60156 15.75 9.35156 16.5 10.8516 16.5H13.8516C15.3516 16.5 16.1016 15.75 16.1016 14.25Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 4.5H12.3516",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 13.5H11.6016",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 10.4625L12.3516 10.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 7.5H10.8516",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M4.11844 1.5C2.89594 1.5 1.89844 2.4975 1.89844 3.7125V13.4325C1.89844 13.77 2.04094 14.28 2.21344 14.5725L2.82844 15.5925C3.53344 16.77 4.69594 16.77 5.40094 15.5925L6.01594 14.5725C6.18844 14.28 6.33094 13.77 6.33094 13.4325V3.7125C6.33094 2.4975 5.33344 1.5 4.11844 1.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M6.33094 5.25H1.89844",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"})),Fs=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.06526 12.4886C8.43872 12.4886 7.80481 12.3351 7.31096 12.0351L2.87361 9.29344C2.04806 8.78417 1.5542 7.92608 1.5542 6.99125C1.5542 6.05642 2.04806 5.19833 2.87361 4.68906L7.31833 1.95434C8.30604 1.3474 9.84658 1.3474 10.8269 1.96131L15.2422 4.70301C16.0603 5.21229 16.5542 6.07038 16.5542 6.99823C16.5542 7.92608 16.0603 8.78417 15.2422 9.29344L10.8269 12.0351C10.3331 12.3421 9.69916 12.4886 9.06526 12.4886ZM9.06526 2.54733C8.64511 2.54733 8.22496 2.63802 7.92275 2.83336L3.4854 5.56808C2.96943 5.88899 2.66722 6.40524 2.66722 6.99125C2.66722 7.57727 2.96206 8.09351 3.4854 8.41443L7.92275 11.1561C8.53454 11.5328 9.61071 11.5328 10.2225 11.1561L14.6377 8.41443C15.1537 8.09351 15.4485 7.57727 15.4485 6.99125C15.4485 6.40524 15.1537 5.88899 14.6377 5.56808L10.2225 2.82638C9.91292 2.645 9.49277 2.54733 9.06526 2.54733Z",fill:"#454545"}),d.createElement("path",{d:"M9.05789 16.5C8.73356 16.5 8.40187 16.4581 8.13651 16.3744L5.78516 15.6349C4.67214 15.2861 3.79499 14.135 3.80236 13.0258L3.80973 9.75388C3.80973 9.46785 4.06034 9.23066 4.36255 9.23066C4.66476 9.23066 4.91538 9.46785 4.91538 9.75388L4.90801 13.0258C4.90801 13.6816 5.48295 14.435 6.13897 14.6443L8.49032 15.3838C8.78516 15.4745 9.33061 15.4745 9.62545 15.3838L11.9768 14.6443C12.6328 14.435 13.2078 13.6816 13.2078 13.0328V9.79574C13.2078 9.50971 13.4584 9.27252 13.7606 9.27252C14.0628 9.27252 14.3134 9.50971 14.3134 9.79574V13.0328C14.3134 14.142 13.4436 15.2861 12.3306 15.6419L9.97926 16.3814C9.7139 16.4581 9.38221 16.5 9.05789 16.5Z",fill:"#454545"}),d.createElement("path",{d:"M15.9866 11.6166C15.6844 11.6166 15.4338 11.3794 15.4338 11.0933V6.90754C15.4338 6.62151 15.6844 6.38431 15.9866 6.38431C16.2888 6.38431 16.5395 6.62151 16.5395 6.90754V11.0933C16.5395 11.3794 16.2888 11.6166 15.9866 11.6166Z",fill:"#454545"})),hc=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.4292 10.5C9.4292 10.1893 9.68104 9.9375 9.9917 9.9375H13.1792C13.4899 9.9375 13.7417 10.1893 13.7417 10.5C13.7417 10.8107 13.4899 11.0625 13.1792 11.0625H9.9917C9.68104 11.0625 9.4292 10.8107 9.4292 10.5Z",fill:"#454545"}),d.createElement("path",{d:"M6.8042 12.9375C6.49354 12.9375 6.2417 13.1893 6.2417 13.5C6.2417 13.8107 6.49354 14.0625 6.8042 14.0625H13.1792C13.4899 14.0625 13.7417 13.8107 13.7417 13.5C13.7417 13.1893 13.4899 12.9375 13.1792 12.9375H6.8042Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0542 0.9375C13.4739 0.9375 14.5806 1.34596 15.3258 2.1485C16.064 2.94348 16.3667 4.03877 16.3667 5.25V12.75C16.3667 13.9612 16.064 15.0565 15.3258 15.8515C14.5806 16.654 13.4739 17.0625 12.0542 17.0625H6.0542C4.63449 17.0625 3.52784 16.654 2.78263 15.8515C2.04442 15.0565 1.7417 13.9612 1.7417 12.75V5.25C1.7417 4.03877 2.04442 2.94348 2.78263 2.1485C3.52784 1.34596 4.63449 0.9375 6.0542 0.9375H12.0542ZM2.8667 5.25C2.8667 4.21123 3.12647 3.43152 3.60702 2.914C4.05553 2.431 4.7685 2.09908 5.8667 2.06534V7.39499C5.8667 8.22763 6.84637 8.62453 7.43696 8.08931L9.0542 6.59754L10.6678 8.08596L10.6714 8.08929C11.262 8.62451 12.2417 8.22763 12.2417 7.39499V2.06534C13.3399 2.09908 14.0529 2.431 14.5014 2.914C14.9819 3.43152 15.2417 4.21123 15.2417 5.25V12.75C15.2417 13.7888 14.9819 14.5685 14.5014 15.086C14.0278 15.596 13.2595 15.9375 12.0542 15.9375H6.0542C4.84891 15.9375 4.08056 15.596 3.60702 15.086C3.12647 14.5685 2.8667 13.7888 2.8667 12.75V5.25ZM11.1167 2.0625H6.9917V6.96951L8.41564 5.65605C8.77414 5.31968 9.33426 5.31968 9.69276 5.65605L11.1167 6.96951V2.0625Z",fill:"#454545"})),Y7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M11.025 17.0625H6.97501C3.27001 17.0625 1.69501 15.48 1.69501 11.7825V8.41504C1.69501 8.10754 1.95001 7.85254 2.25751 7.85254C2.56501 7.85254 2.82001 8.10754 2.82001 8.41504V11.7825C2.82001 14.85 3.90751 15.9375 6.97501 15.9375H11.0175C14.085 15.9375 15.1725 14.85 15.1725 11.7825V8.41504C15.1725 8.10754 15.4275 7.85254 15.735 7.85254C16.0425 7.85254 16.2975 8.10754 16.2975 8.41504V11.7825C16.305 15.48 14.7225 17.0625 11.025 17.0625Z",fill:"white"}),d.createElement("path",{d:"M9 9.5625C8.175 9.5625 7.425 9.24 6.8925 8.6475C6.36 8.055 6.1125 7.2825 6.195 6.4575L6.6975 1.4475C6.7275 1.1625 6.9675 0.9375 7.26 0.9375H10.7625C11.055 0.9375 11.295 1.155 11.325 1.4475L11.8275 6.4575C11.91 7.2825 11.6625 8.055 11.13 8.6475C10.575 9.24 9.825 9.5625 9 9.5625ZM7.7625 2.0625L7.3125 6.57C7.26 7.0725 7.41 7.545 7.725 7.89C8.3625 8.595 9.6375 8.595 10.275 7.89C10.59 7.5375 10.74 7.065 10.6875 6.57L10.2375 2.0625H7.7625Z",fill:"white"}),d.createElement("path",{d:"M13.7325 9.5625C12.21 9.5625 10.8525 8.3325 10.695 6.8175L10.17 1.56C10.155 1.4025 10.2075 1.245 10.3125 1.125C10.4175 1.005 10.5675 0.9375 10.7325 0.9375H13.02C15.225 0.9375 16.2525 1.86 16.56 4.125L16.77 6.21C16.86 7.095 16.59 7.935 16.0125 8.5725C15.435 9.21 14.625 9.5625 13.7325 9.5625ZM11.355 2.0625L11.82 6.705C11.9175 7.6425 12.7875 8.4375 13.7325 8.4375C14.3025 8.4375 14.8125 8.22 15.18 7.8225C15.54 7.425 15.705 6.8925 15.6525 6.3225L15.4425 4.26C15.21 2.565 14.6625 2.0625 13.02 2.0625H11.355Z",fill:"white"}),d.createElement("path",{d:"M4.23002 9.5625C3.33752 9.5625 2.52752 9.21 1.95002 8.5725C1.37252 7.935 1.10252 7.095 1.19252 6.21L1.39502 4.1475C1.71002 1.86 2.73752 0.9375 4.94252 0.9375H7.23002C7.38752 0.9375 7.53752 1.005 7.65002 1.125C7.76252 1.245 7.80752 1.4025 7.79252 1.56L7.26752 6.8175C7.11002 8.3325 5.75252 9.5625 4.23002 9.5625ZM4.94252 2.0625C3.30002 2.0625 2.75252 2.5575 2.51252 4.275L2.31002 6.3225C2.25002 6.8925 2.42252 7.425 2.78252 7.8225C3.14252 8.22 3.65252 8.4375 4.23002 8.4375C5.17502 8.4375 6.05252 7.6425 6.14252 6.705L6.60752 2.0625H4.94252Z",fill:"white"}),d.createElement("path",{d:"M10.875 17.0625H7.125C6.8175 17.0625 6.5625 16.8075 6.5625 16.5V14.625C6.5625 13.05 7.425 12.1875 9 12.1875C10.575 12.1875 11.4375 13.05 11.4375 14.625V16.5C11.4375 16.8075 11.1825 17.0625 10.875 17.0625ZM7.6875 15.9375H10.3125V14.625C10.3125 13.68 9.945 13.3125 9 13.3125C8.055 13.3125 7.6875 13.68 7.6875 14.625V15.9375Z",fill:"white"})),z7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.991699 3.49507C0.991699 2.27591 1.99796 1.33972 3.22044 1.44197C4.88439 1.57688 7.35189 2.39933 8.76266 3.27766L8.95297 3.39184C8.95488 3.39275 8.96281 3.39639 8.97807 3.40019C8.9985 3.40528 9.02484 3.40882 9.0542 3.40882C9.08356 3.40882 9.1099 3.40528 9.13033 3.40019C9.14479 3.39658 9.15268 3.39313 9.15508 3.39201L9.27961 3.31143C10.6906 2.42364 13.1693 1.59228 14.8337 1.44962C14.8496 1.44825 14.8657 1.44757 14.8817 1.44757H14.9048C16.1111 1.36001 17.1167 2.27872 17.1167 3.50257V12.5551C17.1167 13.5543 16.3248 14.4725 15.319 14.5982L15.3169 14.5985L15.0726 14.6281C13.5085 14.8368 11.0609 15.6453 9.68223 16.4055C9.47895 16.5211 9.24825 16.5619 9.04951 16.5619C8.85206 16.5619 8.62678 16.5217 8.42618 16.4137L8.40516 16.4032C8.39898 16.4001 8.39286 16.3969 8.3868 16.3936C7.0072 15.6391 4.5609 14.8359 3.00219 14.6276L2.99984 14.6273L2.78562 14.5977C1.78159 14.4702 0.991699 13.5531 0.991699 12.5551V3.49507ZM3.1271 2.56309C2.56497 2.51585 2.1167 2.92951 2.1167 3.49507V12.5551C2.1167 12.9958 2.49481 13.4276 2.92897 13.4819L2.93607 13.4828L3.15121 13.5125L3.15242 13.5127C4.84524 13.7392 7.41598 14.5827 8.91735 15.4015L8.93824 15.4119C8.94524 15.4154 8.95215 15.4191 8.95899 15.4229C8.95899 15.4229 8.96624 15.4263 8.98209 15.4299C9.00053 15.4341 9.0239 15.4369 9.04951 15.4369C9.07518 15.4369 9.0974 15.4341 9.1137 15.4303C9.12212 15.4284 9.12706 15.4266 9.12895 15.4259L9.13478 15.4225C10.6358 14.5938 13.2229 13.7392 14.9275 13.5125L14.934 13.5116L15.1794 13.4819L15.1803 13.4818C15.6141 13.4271 15.9917 12.9955 15.9917 12.5551V3.50257C15.9917 2.93494 15.5413 2.5229 14.9738 2.57059C14.9581 2.57191 14.9424 2.57257 14.9267 2.57257H14.9063C13.4211 2.70586 11.1348 3.4744 9.88171 4.26181L9.74839 4.34807C9.52964 4.48385 9.27568 4.53382 9.0542 4.53382C8.83415 4.53382 8.58209 4.48441 8.3643 4.35061L8.17151 4.23494C6.91182 3.4494 4.61321 2.6834 3.12881 2.56323L3.1271 2.56309Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.0542 3.55507C9.36486 3.55507 9.6167 3.80691 9.6167 4.11757V15.3676C9.6167 15.6782 9.36486 15.9301 9.0542 15.9301C8.74354 15.9301 8.4917 15.6782 8.4917 15.3676V4.11757C8.4917 3.80691 8.74354 3.55507 9.0542 3.55507Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6167 6.36757C3.6167 6.05691 3.86854 5.80507 4.1792 5.80507H5.8667C6.17736 5.80507 6.4292 6.05691 6.4292 6.36757C6.4292 6.67823 6.17736 6.93007 5.8667 6.93007H4.1792C3.86854 6.93007 3.6167 6.67823 3.6167 6.36757Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6167 8.61757C3.6167 8.30691 3.86854 8.05507 4.1792 8.05507H6.4292C6.73986 8.05507 6.9917 8.30691 6.9917 8.61757C6.9917 8.92823 6.73986 9.18007 6.4292 9.18007H4.1792C3.86854 9.18007 3.6167 8.92823 3.6167 8.61757Z",fill:"#454545"})),Nd=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4126 7.125C5.4126 6.81434 5.66444 6.5625 5.9751 6.5625H13.4751C13.7858 6.5625 14.0376 6.81434 14.0376 7.125C14.0376 7.43566 13.7858 7.6875 13.4751 7.6875H5.9751C5.66444 7.6875 5.4126 7.43566 5.4126 7.125ZM5.4126 10.875C5.4126 10.5643 5.66444 10.3125 5.9751 10.3125H11.2251C11.5358 10.3125 11.7876 10.5643 11.7876 10.875C11.7876 11.1857 11.5358 11.4375 11.2251 11.4375H5.9751C5.66444 11.4375 5.4126 11.1857 5.4126 10.875ZM12.7251 2.625H6.7251C5.39851 2.625 4.6102 2.95588 4.14559 3.4205C3.68098 3.88511 3.3501 4.67341 3.3501 6V15.375H12.7251C14.0517 15.375 14.84 15.0441 15.3046 14.5795C15.7692 14.1149 16.1001 13.3266 16.1001 12V6C16.1001 4.67341 15.7692 3.88511 15.3046 3.4205C14.84 2.95588 14.0517 2.625 12.7251 2.625ZM6.7251 1.5H12.7251C15.7251 1.5 17.2251 3 17.2251 6V12C17.2251 15 15.7251 16.5 12.7251 16.5H2.9751C2.5626 16.5 2.2251 16.1625 2.2251 15.75V6C2.2251 3 3.7251 1.5 6.7251 1.5Z",fill:"#454545"})),G7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.82141 1.66475C9.33911 1.14706 10.07 0.9375 10.9067 0.9375H13.9067C14.7434 0.9375 15.4742 1.14706 15.9919 1.66475C16.5096 2.18245 16.7192 2.91329 16.7192 3.75V14.25C16.7192 15.0867 16.5096 15.8176 15.9919 16.3352C15.4742 16.8529 14.7434 17.0625 13.9067 17.0625H10.9067C10.07 17.0625 9.33911 16.8529 8.82141 16.3352C8.30372 15.8176 8.09416 15.0867 8.09416 14.25V3.75C8.09416 2.91329 8.30372 2.18245 8.82141 1.66475ZM9.61691 2.46025C9.3846 2.69255 9.21916 3.08671 9.21916 3.75V14.25C9.21916 14.9133 9.3846 15.3074 9.61691 15.5398C9.84921 15.7721 10.2434 15.9375 10.9067 15.9375H13.9067C14.57 15.9375 14.9641 15.7721 15.1964 15.5398C15.4287 15.3074 15.5942 14.9133 15.5942 14.25V3.75C15.5942 3.08671 15.4287 2.69255 15.1964 2.46025C14.9641 2.22794 14.57 2.0625 13.9067 2.0625H10.9067C10.2434 2.0625 9.84921 2.22794 9.61691 2.46025Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09416 4.5C8.09416 4.18934 8.346 3.9375 8.65666 3.9375H12.4067C12.7173 3.9375 12.9692 4.18934 12.9692 4.5C12.9692 4.81066 12.7173 5.0625 12.4067 5.0625H8.65666C8.346 5.0625 8.09416 4.81066 8.09416 4.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09416 13.5C8.09416 13.1893 8.346 12.9375 8.65666 12.9375H11.6567C11.9673 12.9375 12.2192 13.1893 12.2192 13.5C12.2192 13.8107 11.9673 14.0625 11.6567 14.0625H8.65666C8.346 14.0625 8.09416 13.8107 8.09416 13.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09419 10.4569C8.09729 10.1462 8.35164 9.89692 8.66228 9.90003L12.4123 9.93753C12.7229 9.94063 12.9722 10.195 12.9691 10.5056C12.966 10.8163 12.7117 11.0656 12.401 11.0625L8.65104 11.025C8.34039 11.0219 8.09108 10.7675 8.09419 10.4569Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09416 7.5C8.09416 7.18934 8.346 6.9375 8.65666 6.9375H10.9067C11.2173 6.9375 11.4692 7.18934 11.4692 7.5C11.4692 7.81066 11.2173 8.0625 10.9067 8.0625H8.65666C8.346 8.0625 8.09416 7.81066 8.09416 7.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.38916 3.7125C1.38916 2.1856 2.63974 0.9375 4.17166 0.9375C5.69732 0.9375 6.94666 2.18684 6.94666 3.7125V13.4325C6.94666 13.6687 6.89883 13.9337 6.8334 14.1697C6.76782 14.4062 6.67264 14.6565 6.55368 14.8582L6.5509 14.863L5.93677 15.8815L5.9363 15.8822C5.51798 16.5805 4.8932 17.0381 4.16791 17.0381C3.44264 17.0381 2.81786 16.5805 2.39954 15.8823L2.39905 15.8815L1.78212 14.8583C1.66316 14.6565 1.568 14.4062 1.50242 14.1697C1.43699 13.9337 1.38916 13.6687 1.38916 13.4325V3.7125ZM4.17166 2.0625C3.25858 2.0625 2.51416 2.8094 2.51416 3.7125V13.4325C2.51416 13.5338 2.53758 13.6926 2.58652 13.8691C2.63495 14.0438 2.69671 14.1937 2.74998 14.2847L3.36427 15.3035C3.65095 15.7824 3.95972 15.9131 4.16791 15.9131C4.3761 15.9131 4.68487 15.7824 4.97155 15.3035L4.97245 15.3021L5.58584 14.2847C5.63911 14.1937 5.70087 14.0437 5.7493 13.8691C5.79824 13.6926 5.82166 13.5338 5.82166 13.4325V3.7125C5.82166 2.80816 5.076 2.0625 4.17166 2.0625Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.38916 5.25C1.38916 4.93934 1.641 4.6875 1.95166 4.6875H6.38416C6.69482 4.6875 6.94666 4.93934 6.94666 5.25C6.94666 5.56066 6.69482 5.8125 6.38416 5.8125H1.95166C1.641 5.8125 1.38916 5.56066 1.38916 5.25Z",fill:"#242424"})),X7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.82695 2.64775C3.44333 3.03137 3.2417 3.74598 3.2417 5.25V13.5C3.2417 13.8107 2.98986 14.0625 2.6792 14.0625C2.36854 14.0625 2.1167 13.8107 2.1167 13.5V5.25C2.1167 3.75402 2.29007 2.59363 3.03145 1.85225C3.77283 1.11087 4.93322 0.9375 6.4292 0.9375H11.6792C13.1752 0.9375 14.3356 1.11087 15.0769 1.85225C15.8183 2.59363 15.9917 3.75402 15.9917 5.25V12.7575C15.9917 12.8578 15.9917 12.9799 15.9828 13.1051C15.9606 13.4149 15.6915 13.6482 15.3816 13.6261C15.0718 13.6039 14.8385 13.3348 14.8606 13.0249C14.8665 12.9433 14.8667 12.8583 14.8667 12.75V5.25C14.8667 3.74598 14.6651 3.03137 14.2815 2.64775C13.8978 2.26413 13.1832 2.0625 11.6792 2.0625H6.4292C4.92518 2.0625 4.21057 2.26413 3.82695 2.64775Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.8167 11.8125C3.94986 11.8125 3.2417 12.5207 3.2417 13.3875V13.875C3.2417 15.0118 4.16736 15.9375 5.3042 15.9375H12.8042C13.941 15.9375 14.8667 15.0118 14.8667 13.875V11.8125H4.8167ZM2.1167 13.3875C2.1167 11.8993 3.32854 10.6875 4.8167 10.6875H15.4292C15.7399 10.6875 15.9917 10.9393 15.9917 11.25V13.875C15.9917 15.6332 14.5624 17.0625 12.8042 17.0625H5.3042C3.54604 17.0625 2.1167 15.6332 2.1167 13.875V13.3875Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4917 5.25C5.4917 4.93934 5.74354 4.6875 6.0542 4.6875H12.0542C12.3649 4.6875 12.6167 4.93934 12.6167 5.25C12.6167 5.56066 12.3649 5.8125 12.0542 5.8125H6.0542C5.74354 5.8125 5.4917 5.56066 5.4917 5.25Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4917 7.875C5.4917 7.56434 5.74354 7.3125 6.0542 7.3125H9.8042C10.1149 7.3125 10.3667 7.56434 10.3667 7.875C10.3667 8.18566 10.1149 8.4375 9.8042 8.4375H6.0542C5.74354 8.4375 5.4917 8.18566 5.4917 7.875Z",fill:"#242424"})),J7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.01661 2.09985C5.11824 2.09985 2.04014 5.25209 2.11651 9.15385L2.11661 9.16485V13.7849C2.11661 14.9302 3.0808 15.8999 4.23161 15.8999C5.38345 15.8999 6.34661 14.9367 6.34661 13.7849V11.6774C6.34661 11.1998 5.96815 10.8599 5.52911 10.8599C5.05151 10.8599 4.71161 11.2383 4.71161 11.6774V13.8674C4.71161 14.178 4.45977 14.4299 4.14911 14.4299C3.83845 14.4299 3.58661 14.178 3.58661 13.8674V11.6774C3.58661 10.6614 4.38671 9.73485 5.52911 9.73485C6.54508 9.73485 7.47161 10.535 7.47161 11.6774V13.7849C7.47161 15.558 6.00478 17.0249 4.23161 17.0249C2.45743 17.0249 0.991615 15.5495 0.991615 13.7849V9.17026C0.906043 4.64459 4.48685 0.974854 9.01661 0.974854C13.547 0.974854 17.1166 4.64394 17.1166 9.08235V13.7024C17.1166 15.4755 15.6498 16.9424 13.8766 16.9424C12.1035 16.9424 10.6366 15.4755 10.6366 13.7024V11.5949C10.6366 10.5789 11.4367 9.65235 12.5791 9.65235C13.5951 9.65235 14.5216 10.4525 14.5216 11.5949V13.8674C14.5216 14.178 14.2698 14.4299 13.9591 14.4299C13.6485 14.4299 13.3966 14.178 13.3966 13.8674V11.5949C13.3966 11.1173 13.0181 10.7774 12.5791 10.7774C12.1015 10.7774 11.7616 11.1558 11.7616 11.5949V13.7024C11.7616 14.8542 12.7248 15.8174 13.8766 15.8174C15.0285 15.8174 15.9916 14.8542 15.9916 13.7024V9.08235C15.9916 5.25576 12.9162 2.09985 9.01661 2.09985Z",fill:"#242424"})),U7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.9832 4.429C2.44664 4.96556 2.1167 5.75283 2.1167 6.75V11.25C2.1167 12.2472 2.44664 13.0344 2.9832 13.571C3.51976 14.1076 4.30703 14.4375 5.3042 14.4375H12.8042C13.8014 14.4375 14.5886 14.1076 15.1252 13.571C15.6618 13.0344 15.9917 12.2472 15.9917 11.25V6.75C15.9917 5.75283 15.6618 4.96556 15.1252 4.429C14.5886 3.89244 13.8014 3.5625 12.8042 3.5625H5.3042C4.30703 3.5625 3.51976 3.89244 2.9832 4.429ZM2.1877 3.6335C2.96364 2.85756 4.05137 2.4375 5.3042 2.4375H12.8042C14.057 2.4375 15.1448 2.85756 15.9207 3.6335C16.6966 4.40944 17.1167 5.49717 17.1167 6.75V11.25C17.1167 12.5028 16.6966 13.5906 15.9207 14.3665C15.1448 15.1424 14.057 15.5625 12.8042 15.5625H5.3042C4.05137 15.5625 2.96364 15.1424 2.1877 14.3665C1.41176 13.5906 0.991699 12.5028 0.991699 11.25V6.75C0.991699 5.49717 1.41176 4.40944 2.1877 3.6335Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.87649 7.56853C7.84632 7.63875 7.8167 7.76045 7.8167 7.95V10.2C7.8167 10.4886 7.91723 10.5591 7.92904 10.5659C7.93625 10.5701 8.04673 10.6285 8.3148 10.4677L10.1773 9.35018C10.4031 9.19647 10.4229 9.07314 10.4229 9.0375C10.4229 9.00186 10.4031 8.87853 10.1773 8.72482L8.3148 7.60734C8.17645 7.52433 8.07307 7.49324 8.00808 7.48523C7.97672 7.48137 7.95665 7.48311 7.9458 7.48504C7.93555 7.48686 7.93098 7.48924 7.92904 7.49035C7.9271 7.49148 7.92175 7.49482 7.91346 7.50465C7.90477 7.51494 7.8911 7.53453 7.87649 7.56853ZM7.36686 6.5159C7.86498 6.22852 8.43655 6.36843 8.8936 6.64266L10.7686 7.76766C10.7763 7.77225 10.7838 7.77702 10.7912 7.78197C11.2309 8.07511 11.5479 8.51116 11.5479 9.0375C11.5479 9.56384 11.2309 9.99989 10.7912 10.293C10.7838 10.298 10.7763 10.3027 10.7686 10.3073L8.8936 11.4323C8.41166 11.7215 7.84715 11.8174 7.36686 11.5404C6.89117 11.2659 6.6917 10.7364 6.6917 10.2V7.95C6.6917 7.37384 6.86971 6.80271 7.36686 6.5159Z",fill:"#242424"})),Q7=(e,t,n,r,o,i)=>{const a=i?`/courses/course/${i}`:"/courses";return{title:"courses",href:r?e+"/subscribe":n+a,isFirstRowHorizontal:!1,Icon:Fs,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"courses_main",href:r?e+"/subscribe":n+a,locked:r,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study1.png",width:120,height:100}},{title:"courses_graduate",href:e+"/cabinet-ratings",hiddenFromChildren:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study2.png",width:115,height:95}}]},{type:"second",items:[{title:"shop",href:n+"/course-store",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study3.png",width:124,height:95}},{title:"courses_child",textWidth:150,href:t+"/children-and-parents?side_menu_type=education",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study4.png",width:100,height:105}}]},{type:"third",items:[{title:"courses_leaders_table",href:r?e+"/subscribe":e+"/cabinet-ratings/leaderboard",icon:W7,locked:r,isFill:!0},{title:"courses_how_use",href:e+"/training-section/training/use_wallet",icon:Ts,isFill:!1},{title:"courses_investology",href:t+"/investology?side_menu_type=education",icon:Z7,isFill:!1},{title:"courses_podcasts",href:t+"/podcasts?side_menu_type=education",icon:Vd,isFill:!1},{title:"courses_kfp",href:"https://kfp-v2.profinansy.ru/",icon:w1,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study5.png",href:e+"/method/lessons",bannerCode:"header_education"}],subPages:[{name:"courses_main",href:r?e+"/subscribe":n+a,locked:r},{name:"courses_shop",isNew:!0,href:n+"/course-store",innerPages:[`${n}/course-store`],hiddenFromChildren:!0,subPages:[{name:"courses_list",href:n+"/course-store"},{name:"courses_basket",href:r?e+"/subscribe":n+"/course-store/cart",locked:r},{name:"courses_orders",href:r?e+"/subscribe":n+"/course-store/my-orders",locked:r}]},{name:"courses_how_use",href:e+"/training-section/training/use_wallet",hiddenFromChildren:!0,subPages:[{name:"courses_budget",href:e+"/training-section/training/use_wallet",innerPages:[`${e}/training-section/training/use_wallet`]},{name:"courses_portfolio",href:e+"/training-section/training/use_portfolios",innerPages:[`${e}/training-section/training/use_portfolios`]},{name:"courses_investing",href:e+"/training-section/training/use_investment",innerPages:[`${e}/training-section/training/use_investment`]},{name:"courses_direct_line",href:e+"/training-section/training/use_broadcast",innerPages:[`${e}/training-section/training/use_investment`]}]},{name:"courses_graduates",href:e+"/cabinet-ratings",hiddenFromChildren:!0,subPages:[{name:"courses_graduates_home",href:e+"/cabinet-ratings",innerPages:[`${e}/cabinet-ratings`]},{name:"courses_graduates_events",href:e+"/cabinet-ratings/office",isNotVisible:!o,innerPages:[`${e}/webinar`]},{name:"courses_leaders_table",href:r?e+"/subscribe":e+"/cabinet-ratings/leaderboard",locked:r,innerPages:[`${e}/cabinet-ratings/tasks`]},{name:"courses_kfp",href:"https://kfp-v2.profinansy.ru/",hiddenFromChildren:!0}]},{name:"courses_child",href:t+"/children-and-parents?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_blog",href:t+"/blog?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_investology",href:t+"/investology?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_library",href:t+"/library?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_podcasts",href:t+"/podcasts?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_youtube",href:t+"/youtube?side_menu_type=education",hiddenFromChildren:!0}]}},Od=(e,t,n,r,o,i)=>{const a="/courses";return{name:"courses",Icon:hc,href:o?e+"/subscribe":n+a,subPages:[{name:"courses_main",Icon:hc,href:o?e+"/subscribe":n+a,locked:o},{name:"courses_shop",Icon:Y7,isNew:!0,href:n+"/course-store",innerPages:[`${n}/course-store`],hiddenFromChildren:!0,subPages:[{name:"courses_list",href:n+"/course-store"},{name:"courses_basket",href:o?e+"/subscribe":n+"/course-store/cart",locked:o},{name:"courses_orders",href:o?e+"/subscribe":n+"/course-store/my-orders",locked:o}]},{name:"courses_how_use",Icon:z7,href:e+"/training-section/training/use_wallet",hiddenFromChildren:!0,subPages:[{name:"courses_budget",href:e+"/training-section/training/use_wallet",innerPages:[`${e}/training-section/training/use_wallet`]},{name:"courses_portfolio",href:e+"/training-section/training/use_portfolios",innerPages:[`${e}/training-section/training/use_portfolios`]},{name:"courses_investing",href:e+"/training-section/training/use_investment",innerPages:[`${e}/training-section/training/use_investment`]},{name:"courses_direct_line",href:e+"/training-section/training/use_broadcast",innerPages:[`${e}/training-section/training/use_investment`]}]},{name:"courses_graduates",Icon:Fs,href:e+"/cabinet-ratings",innerPages:[`${e}/cabinet-ratings`],hiddenFromChildren:!0,subPages:[{name:"courses_graduates_home",href:e+"/cabinet-ratings"},{name:"courses_graduates_events",href:e+"/cabinet-ratings/office",isNotVisible:!r,innerPages:[`${e}/webinar`]},{name:"courses_leaders_table",href:o?e+"/subscribe":e+"/cabinet-ratings/leaderboard",locked:o,innerPages:[`${e}/cabinet-ratings/tasks`]},{name:"courses_kfp",href:"https://kfp-v2.profinansy.ru/"}]},{name:"courses_child",Icon:L1,href:t+"/children-and-parents?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_blog",Icon:Nd,href:t+"/blog?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_investology",Icon:G7,href:t+"/investology?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_library",Icon:X7,href:t+"/library?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_podcasts",Icon:J7,href:t+"/podcasts?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_youtube",Icon:U7,href:t+"/youtube?side_menu_type=education",hiddenFromChildren:!0}]}},Ji=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 12.5625C8.7 12.5625 8.4 12.54 8.115 12.4875C6.525 12.255 5.0775 11.34 4.1625 9.9825C3.525 9.0225 3.1875 7.905 3.1875 6.75C3.1875 3.5475 5.7975 0.9375 9 0.9375C12.2025 0.9375 14.8125 3.5475 14.8125 6.75C14.8125 7.905 14.475 9.0225 13.8375 9.9825C12.915 11.3475 11.4675 12.255 9.8625 12.495C9.6 12.54 9.3 12.5625 9 12.5625ZM9 2.0625C6.4125 2.0625 4.3125 4.1625 4.3125 6.75C4.3125 7.6875 4.5825 8.5875 5.0925 9.3525C5.835 10.4475 6.9975 11.1825 8.2875 11.37C8.7675 11.4525 9.24 11.4525 9.6825 11.37C10.995 11.1825 12.1575 10.44 12.9 9.34499C13.41 8.57999 13.68 7.67999 13.68 6.74249C13.6875 4.16249 11.5875 2.0625 9 2.0625Z",fill:"#242424"}),d.createElement("path",{d:"M4.85249 16.9425C4.74749 16.9425 4.64999 16.9275 4.54499 16.905C4.05749 16.7925 3.68249 16.4175 3.56999 15.93L3.30749 14.8275C3.29249 14.76 3.23999 14.7075 3.16499 14.685L1.92749 14.3925C1.46249 14.28 1.09499 13.935 0.967485 13.4775C0.839985 13.02 0.967485 12.525 1.30499 12.1875L4.22999 9.26248C4.34999 9.14248 4.51499 9.08248 4.67999 9.09748C4.84499 9.11248 4.99499 9.20247 5.09249 9.34497C5.83499 10.44 6.99749 11.1825 8.29499 11.37C8.77499 11.4525 9.24749 11.4525 9.68999 11.37C11.0025 11.1825 12.165 10.44 12.9075 9.34497C12.9975 9.20247 13.155 9.11248 13.32 9.09748C13.485 9.08248 13.65 9.14248 13.77 9.26248L16.695 12.1875C17.0325 12.525 17.16 13.02 17.0325 13.4775C16.905 13.935 16.53 14.2875 16.0725 14.3925L14.835 14.685C14.7675 14.7 14.715 14.7525 14.6925 14.8275L14.43 15.93C14.3175 16.4175 13.9425 16.7925 13.455 16.905C12.9675 17.025 12.465 16.8525 12.15 16.47L8.99999 12.8475L5.84999 16.4775C5.59499 16.7775 5.23499 16.9425 4.85249 16.9425ZM4.56749 10.5225L2.09999 12.99C2.03249 13.0575 2.03999 13.1325 2.05499 13.1775C2.06249 13.215 2.09999 13.29 2.18999 13.305L3.42749 13.5975C3.91499 13.71 4.28999 14.085 4.40249 14.5725L4.66499 15.675C4.68749 15.7725 4.76249 15.8025 4.80749 15.8175C4.85249 15.825 4.92749 15.8325 4.99499 15.7575L7.86749 12.45C6.59249 12.2025 5.42249 11.52 4.56749 10.5225ZM10.1325 12.4425L13.005 15.7425C13.0725 15.825 13.155 15.825 13.2 15.81C13.245 15.8025 13.3125 15.765 13.3425 15.6675L13.605 14.565C13.7175 14.0775 14.0925 13.7025 14.58 13.59L15.8175 13.2975C15.9075 13.275 15.945 13.2075 15.9525 13.17C15.9675 13.1325 15.975 13.05 15.9075 12.9825L13.44 10.515C12.5775 11.5125 11.415 12.195 10.1325 12.4425Z",fill:"#242424"}),d.createElement("path",{d:"M10.4176 9.66769C10.2226 9.66769 9.99011 9.61519 9.71261 9.45019L9.00011 9.02268L8.28761 9.44268C7.63511 9.83268 7.20761 9.60769 7.05011 9.49519C6.89261 9.38269 6.55511 9.04519 6.72761 8.30269L6.90761 7.53019L6.30761 6.97517C5.97761 6.64517 5.85761 6.24769 5.97011 5.88769C6.08261 5.52769 6.41261 5.27268 6.87761 5.19768L7.68011 5.06268L8.06261 4.22269C8.28011 3.79519 8.61761 3.55518 9.00011 3.55518C9.38261 3.55518 9.72761 3.80269 9.93761 4.23019L10.3801 5.11519L11.1226 5.20518C11.5801 5.28018 11.9101 5.53517 12.0301 5.89517C12.1426 6.25517 12.0226 6.65268 11.6926 6.98268L11.0701 7.60519L11.2651 8.30269C11.4376 9.04519 11.1001 9.38269 10.9426 9.49519C10.8601 9.56269 10.6801 9.66769 10.4176 9.66769ZM7.20761 6.29269L7.72511 6.81017C7.96511 7.05017 8.08511 7.45519 8.01011 7.78519L7.86761 8.38518L8.46761 8.03268C8.79011 7.84518 9.22511 7.84518 9.54011 8.03268L10.1401 8.38518L10.0051 7.78519C9.93011 7.44769 10.0426 7.05017 10.2826 6.81017L10.8001 6.29269L10.1476 6.18018C9.83261 6.12768 9.51761 5.89519 9.37511 5.61019L9.00011 4.87518L8.62511 5.62518C8.49011 5.90268 8.17511 6.14269 7.86011 6.19519L7.20761 6.29269Z",fill:"#242424"})),Xa=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 12.555V3.50249C16.5 2.60249 15.765 1.93499 14.8725 2.00999H14.8275C13.2525 2.14499 10.86 2.94749 9.525 3.78749L9.3975 3.86999C9.18 4.00499 8.82 4.00499 8.6025 3.86999L8.415 3.75749C7.08 2.92499 4.695 2.12999 3.12 2.00249C2.2275 1.92749 1.5 2.60249 1.5 3.49499V12.555C1.5 13.275 2.085 13.95 2.805 14.04L3.0225 14.07C4.65 14.2875 7.1625 15.1125 8.6025 15.9L8.6325 15.915C8.835 16.0275 9.1575 16.0275 9.3525 15.915C10.7925 15.12 13.3125 14.2875 14.9475 14.07L15.195 14.04C15.915 13.95 16.5 13.275 16.5 12.555Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 4.11749V15.3675",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.8125 6.36749H4.125",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.375 8.61749H4.125",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),K7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.4478 5.07001L13.9203 15.2175C13.7403 15.975 13.0654 16.5 12.2854 16.5H2.43034C1.29784 16.5 0.487853 15.39 0.825353 14.3025L3.98285 4.16254C4.20035 3.45754 4.85286 2.96997 5.58786 2.96997H14.8128C15.5253 2.96997 16.1179 3.40497 16.3654 4.00497C16.5079 4.32747 16.5378 4.69501 16.4478 5.07001Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10}),d.createElement("path",{d:"M12 16.5H15.585C16.5525 16.5 17.31 15.6825 17.2425 14.715L16.5 4.5",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.25977 4.785L8.03977 1.54504",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.2852 4.79251L12.9902 1.53754",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.77539 9H11.7754",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.02539 12H11.0254",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),M1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V9.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.0304 2.26501L6.1204 8.17501C5.8954 8.40001 5.6704 8.84251 5.6254 9.16501L5.3029 11.4225C5.1829 12.24 5.7604 12.81 6.5779 12.6975L8.8354 12.375C9.1504 12.33 9.5929 12.105 9.8254 11.88L15.7354 5.97001C16.7554 4.95001 17.2354 3.76501 15.7354 2.26501C14.2354 0.765006 13.0504 1.24501 12.0304 2.26501Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.1816 3.11249C11.6841 4.90499 13.0866 6.30749 14.8866 6.81749",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Wd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.67999 1.5C1.67999 1.18934 1.93183 0.9375 2.24249 0.9375H15.7425C16.0532 0.9375 16.305 1.18934 16.305 1.5V10.575C16.305 11.3815 16.0917 12.09 15.5871 12.5946C15.0825 13.0992 14.374 13.3125 13.5675 13.3125H4.425C3.61824 13.3125 2.91021 13.0991 2.40494 12.5951C1.89993 12.0914 1.68424 11.3839 1.68 10.578L1.67999 10.575V1.5ZM2.80499 2.0625V10.5735C2.80849 11.1917 2.97148 11.5713 3.19942 11.7986C3.42728 12.0259 3.80675 12.1875 4.425 12.1875H13.5675C14.186 12.1875 14.565 12.0258 14.7916 11.7991C15.0183 11.5725 15.18 11.1935 15.18 10.575V2.0625H2.80499Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.9375 1.5C0.9375 1.18934 1.18934 0.9375 1.5 0.9375H16.5C16.8107 0.9375 17.0625 1.18934 17.0625 1.5C17.0625 1.81066 16.8107 2.0625 16.5 2.0625H1.5C1.18934 2.0625 0.9375 1.81066 0.9375 1.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12.1875C9.31066 12.1875 9.5625 12.4393 9.5625 12.75V15C9.5625 15.2131 9.44212 15.4078 9.25156 15.5031L6.25156 17.0031C5.97369 17.142 5.63582 17.0294 5.49688 16.7516C5.35795 16.4737 5.47058 16.1358 5.74844 15.9969L8.4375 14.6524V12.75C8.4375 12.4393 8.68934 12.1875 9 12.1875Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.49688 14.7484C8.63582 14.4706 8.97369 14.358 9.25156 14.4969L12.2516 15.9969C12.5294 16.1358 12.642 16.4737 12.5031 16.7516C12.3642 17.0294 12.0263 17.142 11.7484 17.0031L8.74844 15.5031C8.47058 15.3642 8.35795 15.0263 8.49688 14.7484Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8068 5.63949C13.0059 5.87796 12.974 6.23268 12.7355 6.43179L10.373 8.40429L10.3639 8.41174C10.1556 8.5784 9.88767 8.65883 9.61628 8.6136C9.3427 8.568 9.1121 8.40231 8.96919 8.16692L8.96766 8.16441L8.17917 6.85025L5.98551 8.68179C5.74704 8.88089 5.39232 8.84898 5.19321 8.61051C4.99411 8.37204 5.02602 8.01732 5.26449 7.81821L7.6257 5.84679L7.6265 5.84612C7.83812 5.66872 8.11236 5.58582 8.38871 5.63444C8.6637 5.68282 8.89075 5.85239 9.03081 6.08307L9.03234 6.08559L9.82084 7.39975L12.0145 5.56821C12.253 5.36911 12.6077 5.40102 12.8068 5.63949Z",fill:"#454545"})),Zd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"Style=linear"},d.createElement("g",{id:"Vector"},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.09467 3.09467C4.42914 1.7602 6.42603 1.25 9 1.25H15C17.574 1.25 19.5709 1.7602 20.9053 3.09467C22.2398 4.42914 22.75 6.42603 22.75 9V15C22.75 17.574 22.2398 19.5709 20.9053 20.9053C19.5709 22.2398 17.574 22.75 15 22.75H9C6.42603 22.75 4.42914 22.2398 3.09467 20.9053C1.7602 19.5709 1.25 17.574 1.25 15V9C1.25 6.42603 1.7602 4.42914 3.09467 3.09467ZM4.15533 4.15533C3.2398 5.07086 2.75 6.57397 2.75 9V15C2.75 17.426 3.2398 18.9291 4.15533 19.8447C5.07086 20.7602 6.57397 21.25 9 21.25H15C17.426 21.25 18.9291 20.7602 19.8447 19.8447C20.7602 18.9291 21.25 17.426 21.25 15V9C21.25 6.57397 20.7602 5.07086 19.8447 4.15533C18.9291 3.2398 17.426 2.75 15 2.75H9C6.57397 2.75 5.07086 3.2398 4.15533 4.15533Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.77 7.11C1.77 6.69579 2.10579 6.36 2.52 6.36H21.48C21.8942 6.36 22.23 6.69579 22.23 7.11C22.23 7.52421 21.8942 7.86 21.48 7.86H2.52C2.10579 7.86 1.77 7.52421 1.77 7.11Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.52 1.36C8.93421 1.36 9.27 1.69579 9.27 2.11V6.97C9.27 7.38421 8.93421 7.72 8.52 7.72C8.10579 7.72 7.77 7.38421 7.77 6.97V2.11C7.77 1.69579 8.10579 1.36 8.52 1.36Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.48 1.36C15.8942 1.36 16.23 1.69579 16.23 2.11V6.52C16.23 6.93421 15.8942 7.27 15.48 7.27C15.0658 7.27 14.73 6.93421 14.73 6.52V2.11C14.73 1.69579 15.0658 1.36 15.48 1.36Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8367 12.333C10.7098 12.4064 10.5 12.6402 10.5 13.25V15.65C10.5 16.2598 10.7098 16.4936 10.8367 16.567C10.9631 16.6401 11.2687 16.7052 11.7942 16.4009L13.8742 15.2009C14.3993 14.8968 14.4975 14.5982 14.4975 14.45C14.4975 14.3018 14.3997 14.0035 13.8747 13.6993L11.7942 12.4991C11.2687 12.1948 10.9631 12.2599 10.8367 12.333ZM12.5453 11.2006C11.7409 10.7351 10.8367 10.6002 10.0858 11.0345C9.33519 11.4686 9 12.3198 9 13.25V15.65C9 16.5802 9.33519 17.4314 10.0858 17.8655C10.8367 18.2998 11.741 18.1649 12.5453 17.6993L14.6258 16.4991C15.4303 16.0333 15.9975 15.3168 15.9975 14.45C15.9975 13.5832 15.4303 12.8667 14.6258 12.4009L13.5848 11.8004L12.5453 11.2006Z",fill:"#242424"})))),Yd=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.66667 12.3333C10.244 12.3333 12.3333 10.244 12.3333 7.66667C12.3333 5.08934 10.244 3 7.66667 3C5.08934 3 3 5.08934 3 7.66667C3 10.244 5.08934 12.3333 7.66667 12.3333ZM7.66667 13.3333C10.7963 13.3333 13.3333 10.7963 13.3333 7.66667C13.3333 4.53705 10.7963 2 7.66667 2C4.53705 2 2 4.53705 2 7.66667C2 10.7963 4.53705 13.3333 7.66667 13.3333Z",fill:"#A2A1A7"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6464 12.313C11.8417 12.1177 12.1583 12.1177 12.3536 12.313L13.6869 13.6463C13.8821 13.8415 13.8821 14.1581 13.6869 14.3534C13.4916 14.5487 13.175 14.5487 12.9798 14.3534L11.6464 13.0201C11.4512 12.8248 11.4512 12.5082 11.6464 12.313Z",fill:"#A2A1A7"})),q7=(e,t,n)=>({title:"idv",href:e+"/idv",Icon:Ji,hiddenFromChildren:!0,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"idv_main",href:e+"/idv",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv1.png",width:125,height:100}},{title:"idv_invest_simulator",href:e+"/idv/invest-simulator/structure",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv2.png",width:94,height:105}}]},{type:"second",items:[{title:"idv_tournament",href:e+"/idv/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv3.png",width:109.784,height:110}},{title:"idv_search",textWidth:130,href:e+"/idv/search-investments/stocks",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv4.png",width:105,height:90}}]},{type:"third",items:[{title:"idv_lessons",href:e+"/idv/lessons",icon:Xa,isFill:!1},{title:"idv_tasks",href:e+"/idv/tasks",icon:M1,isFill:!1},{title:"idv_schedule",href:e+"/idv/schedule",icon:K7,isFill:!1},{title:"idv_achievements_short",href:e+"/idv/achievements",icon:Ji,isFill:!0}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv5.png",href:e+"/idv/lessons",bannerCode:"header_beginners"}],subPages:[{name:"idv_main",href:e+"/idv"},{name:"idv_lessons",href:e+"/idv/lessons",innerPages:[`${e}/idv/lessons`]},{name:"idv_tasks",href:e+"/idv/tasks"},{name:"idv_tournament",unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/tournament",innerPages:[`${e}/idv/tournament`]},{name:"idv_invest_simulator",unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/invest-simulator/structure"},{name:"idv_search",unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/search-investments/stocks"},{name:"idv_schedule",href:e+"/idv/schedule"},{name:"idv_achievements",href:e+"/idv/achievements"}]}),zd=(e,t,n)=>({name:"idv",href:e+"/idv",isWithoutSubpage:!0,hiddenFromChildren:!0,Icon:Ji,subPages:[{name:"idv_main",Icon:Wd,href:e+"/idv"},{name:"idv_lessons",Icon:Zd,href:e+"/idv/lessons",innerPages:[`${e}/idv/lessons`]},{name:"idv_tasks",Icon:M1,href:e+"/idv/tasks",isFill:!1},{name:"idv_tournament",Icon:E1,unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/tournament",innerPages:[`${e}/idv/tournament`]},{name:"idv_invest_simulator",Icon:Tr,unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/invest-simulator/structure",subPages:[{name:"idv_compound",href:e+"/idv/invest-simulator/structure"},{name:"idv_transactions",href:e+"/idv/invest-simulator/deals"},{name:"idv_review",href:e+"/idv/invest-simulator/review"},{name:"idv_analytics",href:e+"/idv/invest-simulator/analytics"}]},{name:"idv_search",Icon:Yd,unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/search-investments/stocks",subPages:[{name:"idv_search_stocks",href:e+"/idv/search-investments/stocks"},{name:"idv_search_bonds",href:e+"/idv/search-investments/bonds"},{name:"idv_search_etf",href:e+"/idv/search-investments/etfs"}]},{name:"idv_schedule",Icon:Xi,href:e+"/idv/schedule"},{name:"idv_achievements",Icon:Ji,href:e+"/idv/achievements"}]}),e8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.8125 6.75H6.1875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.8125 11.25H6.1875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),t8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7683 1.48783L10.77 1.48894L15.2594 4.43441C16.2242 5.06754 16.6543 6.13256 16.5498 7.15074V11.25C16.5498 11.5261 16.3259 11.75 16.0498 11.75C15.7737 11.75 15.5498 11.5261 15.5498 11.25V9.05134C15.4591 9.12808 15.3623 9.20049 15.2595 9.26799L14.2848 9.90743V13.3276C14.2848 13.9277 14.056 14.5208 13.7106 15.0006C13.3653 15.4803 12.8759 15.8851 12.308 16.0744L9.91035 16.8711C9.63564 16.9594 9.30472 16.9963 8.99703 16.9963C8.68978 16.9963 8.35946 16.9595 8.08682 16.8703L8.08467 16.8696L5.69217 16.0745C5.12421 15.8852 4.63433 15.4803 4.28904 15.0006C3.94369 14.5208 3.71484 13.9277 3.71484 13.3276L3.71484 13.3265L3.72214 9.90373L2.74931 9.26865C0.999585 8.12634 0.999577 5.5686 2.7493 4.42629L7.26297 1.47966C7.7672 1.14843 8.40545 0.997962 9.01601 0.999029C9.62619 1.0001 10.2639 1.15216 10.7683 1.48783ZM15.5564 6.66851C15.5521 6.69503 15.5498 6.72225 15.5498 6.75V7.09319C15.4837 7.61224 15.2041 8.10821 14.7108 8.43191L10.2183 11.3794C9.91267 11.5804 9.47743 11.6968 9.01513 11.6968C8.55284 11.6968 8.11798 11.5806 7.8123 11.3797L3.29597 8.43129C2.1507 7.6836 2.15069 6.01134 3.29596 5.26365L7.81096 2.31615L7.8123 2.31527C8.11795 2.11433 8.5526 1.99822 9.01426 1.99903C9.4759 1.99983 9.90996 2.11744 10.2153 2.32099L10.2183 2.32302L14.7108 5.27049C15.2228 5.60649 15.5047 6.12812 15.5564 6.66851ZM10.7673 12.2153L13.2848 10.5635V13.3276C13.2848 13.6799 13.1462 14.073 12.899 14.4164C12.6519 14.7598 12.3239 15.015 11.9919 15.1257L9.60223 15.9197C9.45693 15.966 9.23754 15.9963 8.99703 15.9963C8.75544 15.9963 8.53868 15.9658 8.39878 15.9202L6.00795 15.1257C5.67594 15.015 5.34783 14.7598 5.10064 14.4164C4.8536 14.0732 4.71497 13.6803 4.71484 13.3281L4.72075 10.5557L7.26297 12.2153C7.76719 12.5465 8.40517 12.6968 9.01513 12.6968C9.62526 12.6968 10.263 12.5467 10.7673 12.2153Z",fill:"#242424"})),$1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.071 2.321C4.07185 1.32015 5.56952 0.9375 7.5 0.9375H10.5C12.4305 0.9375 13.9281 1.32015 14.929 2.321C15.9298 3.32185 16.3125 4.81952 16.3125 6.75V11.25C16.3125 13.1805 15.9298 14.6781 14.929 15.679C13.9281 16.6798 12.4305 17.0625 10.5 17.0625H7.5C5.56952 17.0625 4.07185 16.6798 3.071 15.679C2.07015 14.6781 1.6875 13.1805 1.6875 11.25V6.75C1.6875 4.81952 2.07015 3.32185 3.071 2.321ZM3.8665 3.1165C3.17985 3.80315 2.8125 4.93048 2.8125 6.75V11.25C2.8125 13.0695 3.17985 14.1969 3.8665 14.8835C4.55315 15.5702 5.68048 15.9375 7.5 15.9375H10.5C12.3195 15.9375 13.4469 15.5702 14.1335 14.8835C14.8201 14.1969 15.1875 13.0695 15.1875 11.25V6.75C15.1875 4.93048 14.8201 3.80315 14.1335 3.1165C13.4469 2.42985 12.3195 2.0625 10.5 2.0625H7.5C5.68048 2.0625 4.55315 2.42985 3.8665 3.1165ZM6.75 5.1225C6.4406 5.1225 6.1875 5.37822 6.1875 5.685V6.435C6.1875 6.7444 6.44322 6.9975 6.75 6.9975H11.25C11.5594 6.9975 11.8125 6.74178 11.8125 6.435V5.685C11.8125 5.37316 11.5618 5.1225 11.25 5.1225H6.75ZM5.0625 5.685C5.0625 4.76178 5.8144 3.9975 6.75 3.9975H11.25C12.1832 3.9975 12.9375 4.75184 12.9375 5.685V6.435C12.9375 7.35822 12.1856 8.1225 11.25 8.1225H6.75C5.82678 8.1225 5.0625 7.3706 5.0625 6.435V5.685ZM5.53959 10.5C5.53959 10.1893 5.79143 9.9375 6.10209 9.9375H6.11075C6.42141 9.9375 6.67325 10.1893 6.67325 10.5C6.67325 10.8107 6.42141 11.0625 6.11075 11.0625H6.10209C5.79143 11.0625 5.53959 10.8107 5.53959 10.5ZM8.43392 10.5C8.43392 10.1893 8.68576 9.9375 8.99642 9.9375H9.00508C9.31574 9.9375 9.56758 10.1893 9.56758 10.5C9.56758 10.8107 9.31574 11.0625 9.00508 11.0625H8.99642C8.68576 11.0625 8.43392 10.8107 8.43392 10.5ZM11.3282 10.5C11.3282 10.1893 11.5801 9.9375 11.8907 9.9375H11.8994C12.2101 9.9375 12.4619 10.1893 12.4619 10.5C12.4619 10.8107 12.2101 11.0625 11.8994 11.0625H11.8907C11.5801 11.0625 11.3282 10.8107 11.3282 10.5ZM5.53959 13.125C5.53959 12.8143 5.79143 12.5625 6.10209 12.5625H6.11075C6.42141 12.5625 6.67325 12.8143 6.67325 13.125C6.67325 13.4357 6.42141 13.6875 6.11075 13.6875H6.10209C5.79143 13.6875 5.53959 13.4357 5.53959 13.125ZM8.43392 13.125C8.43392 12.8143 8.68576 12.5625 8.99642 12.5625H9.00508C9.31574 12.5625 9.56758 12.8143 9.56758 13.125C9.56758 13.4357 9.31574 13.6875 9.00508 13.6875H8.99642C8.68576 13.6875 8.43392 13.4357 8.43392 13.125ZM11.3282 13.125C11.3282 12.8143 11.5801 12.5625 11.8907 12.5625H11.8994C12.2101 12.5625 12.4619 12.8143 12.4619 13.125C12.4619 13.4357 12.2101 13.6875 11.8994 13.6875H11.8907C11.5801 13.6875 11.3282 13.4357 11.3282 13.125Z",fill:"#454545"})),n8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M12 17.0625H6C3.735 17.0625 2.4375 15.765 2.4375 13.5V6.1875C2.4375 3.825 3.6375 2.625 6 2.625C6.3075 2.625 6.5625 2.88 6.5625 3.1875C6.5625 3.4875 6.6825 3.7725 6.8925 3.9825C7.1025 4.1925 7.3875 4.3125 7.6875 4.3125H10.3125C10.935 4.3125 11.4375 3.81 11.4375 3.1875C11.4375 2.88 11.6925 2.625 12 2.625C14.3625 2.625 15.5625 3.825 15.5625 6.1875V13.5C15.5625 15.765 14.265 17.0625 12 17.0625ZM5.51248 3.765C4.32748 3.8625 3.5625 4.395 3.5625 6.1875V13.5C3.5625 15.165 4.335 15.9375 6 15.9375H12C13.665 15.9375 14.4375 15.165 14.4375 13.5V6.1875C14.4375 4.395 13.6725 3.87 12.4875 3.765C12.2325 4.725 11.355 5.4375 10.3125 5.4375H7.6875C7.0875 5.4375 6.525 5.205 6.0975 4.7775C5.8125 4.4925 5.61748 4.1475 5.51248 3.765Z",fill:"#242424"}),d.createElement("path",{d:"M10.3125 5.4375H7.6875C7.0875 5.4375 6.525 5.205 6.0975 4.7775C5.67 4.35 5.4375 3.7875 5.4375 3.1875C5.4375 1.95 6.45 0.9375 7.6875 0.9375H10.3125C10.9125 0.9375 11.475 1.17 11.9025 1.5975C12.33 2.025 12.5625 2.5875 12.5625 3.1875C12.5625 4.425 11.55 5.4375 10.3125 5.4375ZM7.6875 2.0625C7.065 2.0625 6.5625 2.565 6.5625 3.1875C6.5625 3.4875 6.6825 3.7725 6.8925 3.9825C7.1025 4.1925 7.3875 4.3125 7.6875 4.3125H10.3125C10.935 4.3125 11.4375 3.81 11.4375 3.1875C11.4375 2.8875 11.3175 2.6025 11.1075 2.3925C10.8975 2.1825 10.6125 2.0625 10.3125 2.0625H7.6875Z",fill:"#242424"}),d.createElement("path",{d:"M9 10.3125H6C5.6925 10.3125 5.4375 10.0575 5.4375 9.75C5.4375 9.4425 5.6925 9.1875 6 9.1875H9C9.3075 9.1875 9.5625 9.4425 9.5625 9.75C9.5625 10.0575 9.3075 10.3125 9 10.3125Z",fill:"#242424"}),d.createElement("path",{d:"M12 13.3125H6C5.6925 13.3125 5.4375 13.0575 5.4375 12.75C5.4375 12.4425 5.6925 12.1875 6 12.1875H12C12.3075 12.1875 12.5625 12.4425 12.5625 12.75C12.5625 13.0575 12.3075 13.3125 12 13.3125Z",fill:"#242424"})),Gd=e=>d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",...e},d.createElement("path",{d:"M12.1425 1.5H5.8575C3.1275 1.5 1.5 3.1275 1.5 5.8575V12.135C1.5 14.8725 3.1275 16.5 5.8575 16.5H12.135C14.865 16.5 16.4925 14.8725 16.4925 12.1425V5.8575C16.5 3.1275 14.8725 1.5 12.1425 1.5ZM6.8325 12.675C6.8325 12.885 6.6675 13.05 6.4575 13.05H4.365C4.155 13.05 3.99 12.885 3.99 12.675V9.21C3.99 8.7375 4.3725 8.355 4.845 8.355H6.4575C6.6675 8.355 6.8325 8.52 6.8325 8.73V12.675ZM10.4175 12.675C10.4175 12.885 10.2525 13.05 10.0425 13.05H7.95C7.74 13.05 7.575 12.885 7.575 12.675V5.805C7.575 5.3325 7.9575 4.95 8.43 4.95H9.57C10.0425 4.95 10.425 5.3325 10.425 5.805V12.675H10.4175ZM14.01 12.675C14.01 12.885 13.845 13.05 13.635 13.05H11.5425C11.3325 13.05 11.1675 12.885 11.1675 12.675V10.0125C11.1675 9.8025 11.3325 9.6375 11.5425 9.6375H13.155C13.6275 9.6375 14.01 10.02 14.01 10.4925V12.675Z",fill:"#242424"}),d.createElement("path",{d:"M12.1425 1.5H5.8575C3.1275 1.5 1.5 3.1275 1.5 5.8575V12.135C1.5 14.8725 3.1275 16.5 5.8575 16.5H12.135C14.865 16.5 16.4925 14.8725 16.4925 12.1425V5.8575C16.5 3.1275 14.8725 1.5 12.1425 1.5ZM6.8325 12.675C6.8325 12.885 6.6675 13.05 6.4575 13.05H4.365C4.155 13.05 3.99 12.885 3.99 12.675V9.21C3.99 8.7375 4.3725 8.355 4.845 8.355H6.4575C6.6675 8.355 6.8325 8.52 6.8325 8.73V12.675ZM10.4175 12.675C10.4175 12.885 10.2525 13.05 10.0425 13.05H7.95C7.74 13.05 7.575 12.885 7.575 12.675V5.805C7.575 5.3325 7.9575 4.95 8.43 4.95H9.57C10.0425 4.95 10.425 5.3325 10.425 5.805V12.675H10.4175ZM14.01 12.675C14.01 12.885 13.845 13.05 13.635 13.05H11.5425C11.3325 13.05 11.1675 12.885 11.1675 12.675V10.0125C11.1675 9.8025 11.3325 9.6375 11.5425 9.6375H13.155C13.6275 9.6375 14.01 10.02 14.01 10.4925V12.675Z",fill:"url(#paint0_linear_6044_111979)"}),d.createElement("defs",null,d.createElement("linearGradient",{id:"paint0_linear_6044_111979",x1:3.24571,y1:7.66072,x2:18.494,y2:9.01923,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#6553F5"}),d.createElement("stop",{offset:1,stopColor:"#EE2CFF"})))),r8=(e,t,n,r)=>({title:"method",href:e+"/method",Icon:Xa,isFill:!1,hiddenFromChildren:!0,isFirstRowHorizontal:!1,isSecondRowHorizontal:!0,columns:[{type:"first",items:[{title:"method_main",href:e+"/method",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/method1.png",width:125,height:100}},{title:"method_tournament",href:e+"/method/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv3.png",width:109.784,height:110}}]},{type:"second",items:[{title:"courses_kfp",href:"https://kfp-v2.profinansy.ru/",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/method2.png",width:148,height:108}}]},{type:"third",items:[{title:"method_lessons",href:e+"/method/lessons",icon:Xa,isFill:!1},{title:"method_tasks",href:e+"/method/tasks",icon:M1,isFill:!1},{title:"method_materials",href:e+"/method/materials",icon:e8,isFill:!1},{title:"method_invest_ideas",href:"https://t.me/profinansy_max_bot?start=podpiskainvestiidea",icon:Gd,preserveIconColor:!0,isOpenNewTab:!0,isNotVisible:!r},{title:"method_screener",href:e+"/method/screener/stocks",icon:Bd,unavailable:!t&&!n,isOpenUnavailable:!0,isFill:!1},{title:"method_portfolios",href:e+"/method/portfolios",unavailable:!t&&!n,icon:Tr,isOpenUnavailable:!0,isFill:!0}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study5.png",href:e+"/method/lessons",bannerCode:"header_method"}],subPages:[{name:"method_main",href:e+"/method"},{name:"method_lessons",href:e+"/method/lessons",innerPages:[`${e}/method/lessons`]},{name:"method_tasks",href:e+"/method/tasks"},{name:"method_materials",href:e+"/method/materials"},{name:"method_tournament",href:e+"/method/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,isDeleteCommonNavigation:!0},{name:"method_kfp",href:"https://kfp-v2.profinansy.ru/",isOpenNewTab:!0},{name:"method_budget",href:"https://profinansy.ru/wallet/accounts",isOpenNewTab:!0},{name:"method_invest_ideas",href:"https://t.me/profinansy_max_bot?start=podpiskainvestiidea",preserveIconColor:!0,isOpenNewTab:!0,isNotVisible:!r},{name:"method_screener",href:e+"/method/screener/stocks",unavailable:!t&&!n,isOpenUnavailable:!0,innerPages:["/method/screener"]},{name:"method_portfolios",href:e+"/method/portfolios",innerPages:["method/portfolios/structure","method/portfolios/deals","method/portfolios/analytics"],unavailable:!t&&!n,isOpenUnavailable:!0}]}),Xd=(e,t,n,r)=>({name:"method",href:e+"/method",isWithoutSubpage:!0,Icon:t8,hiddenFromChildren:!0,subPages:[{name:"method_main",Icon:Wd,href:e+"/method"},{name:"method_lessons",Icon:Zd,href:e+"/method/lessons",innerPages:[`${e}/method/lessons`]},{name:"method_tasks",Icon:M1,href:e+"/method/tasks",isFill:!1},{name:"method_materials",Icon:n8,href:e+"/method/materials"},{name:"method_tournament",Icon:E1,href:e+"/method/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,isDeleteCommonNavigation:!0},{name:"method_kfp",Icon:Fs,href:"https://kfp-v2.profinansy.ru/",isOpenNewTab:!0},{name:"method_budget",Icon:Rr,href:"https://profinansy.ru/wallet/accounts",isOpenNewTab:!0},{name:"method_invest_ideas",Icon:Gd,href:"https://t.me/profinansy_max_bot?start=podpiskainvestiidea",preserveIconColor:!0,isOpenNewTab:!0,isNotVisible:!r},{name:"method_screener",Icon:Yd,href:e+"/method/screener/stocks",unavailable:!t&&!n,isOpenUnavailable:!0,innerPages:["/method/screener"]},{name:"method_portfolios",Icon:Tr,href:e+"/method/portfolios",innerPages:["method/portfolios/structure","method/portfolios/deals","method/portfolios/analytics"],unavailable:!t&&!n,isOpenUnavailable:!0},{name:"calculators",Icon:$1,href:e+"/method/calculators/compound-interest",isDeleteCommonNavigation:!0,subPages:[{name:"calculator_compound_interest",href:e+"/method/calculators/compound-interest"},{name:"calculator_mortgage",href:e+"/method/calculators/mortgage"},{name:"calculator_credit",href:e+"/method/calculators/credit"},{name:"calculator_goals",href:e+"/method/calculators/goals"},{name:"calculator_refinance",href:e+"/method/calculators/refinance"},{name:"calculator_bonds",href:e+"/method/calculators/bonds"},{name:"calculator_currency_converter",href:e+"/method/calculators/currency-converter"},{name:"calculator_savings",href:e+"/method/calculators/savings"},{name:"calculator_deposit",href:e+"/method/calculators/deposit"}]}]}),o8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M15.75 5.25V12.75C15.75 15 14.625 16.5 12 16.5H6C3.375 16.5 2.25 15 2.25 12.75V5.25C2.25 3 3.375 1.5 6 1.5H12C14.625 1.5 15.75 3 15.75 5.25Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.875 3.375V4.875C10.875 5.7 11.55 6.375 12.375 6.375H13.875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 9.75H9",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 12.75H12",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),i8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("mask",{id:"path-1-inside-1_11960_899",fill:"white"},d.createElement("path",{d:"M12.6482 16.875H6.80202C4.13471 16.875 2.6001 15.3366 2.6001 12.6628V5.33721C2.6001 2.66337 4.13471 1.125 6.80202 1.125H12.6482C15.3155 1.125 16.8501 2.66337 16.8501 5.33721V12.6628C16.8501 15.3366 15.3155 16.875 12.6482 16.875ZM6.80202 2.22384C4.71202 2.22384 3.69625 3.24209 3.69625 5.33721V12.6628C3.69625 14.7579 4.71202 15.7762 6.80202 15.7762H12.6482C14.7382 15.7762 15.7539 14.7579 15.7539 12.6628V5.33721C15.7539 3.24209 14.7382 2.22384 12.6482 2.22384H6.80202Z"}),d.createElement("path",{d:"M9.7251 12.4797H6.80202C6.50241 12.4797 6.25394 12.2306 6.25394 11.9302C6.25394 11.6299 6.50241 11.3808 6.80202 11.3808H9.7251C10.0247 11.3808 10.2732 11.6299 10.2732 11.9302C10.2732 12.2306 10.0247 12.4797 9.7251 12.4797Z"}),d.createElement("path",{d:"M12.6482 6.61919H6.80202C6.50241 6.61919 6.25394 6.37012 6.25394 6.06977C6.25394 5.76942 6.50241 5.52035 6.80202 5.52035H12.6482C12.9478 5.52035 13.1963 5.76942 13.1963 6.06977C13.1963 6.37012 12.9478 6.61919 12.6482 6.61919Z"}),d.createElement("path",{d:"M12.6482 9.54942H6.80202C6.50241 9.54942 6.25394 9.30035 6.25394 9C6.25394 8.69965 6.50241 8.45058 6.80202 8.45058H12.6482C12.9478 8.45058 13.1963 8.69965 13.1963 9C13.1963 9.30035 12.9478 9.54942 12.6482 9.54942Z"})),d.createElement("path",{d:"M12.6482 16.875H6.80202C4.13471 16.875 2.6001 15.3366 2.6001 12.6628V5.33721C2.6001 2.66337 4.13471 1.125 6.80202 1.125H12.6482C15.3155 1.125 16.8501 2.66337 16.8501 5.33721V12.6628C16.8501 15.3366 15.3155 16.875 12.6482 16.875ZM6.80202 2.22384C4.71202 2.22384 3.69625 3.24209 3.69625 5.33721V12.6628C3.69625 14.7579 4.71202 15.7762 6.80202 15.7762H12.6482C14.7382 15.7762 15.7539 14.7579 15.7539 12.6628V5.33721C15.7539 3.24209 14.7382 2.22384 12.6482 2.22384H6.80202Z",fill:"#898989"}),d.createElement("path",{d:"M9.7251 12.4797H6.80202C6.50241 12.4797 6.25394 12.2306 6.25394 11.9302C6.25394 11.6299 6.50241 11.3808 6.80202 11.3808H9.7251C10.0247 11.3808 10.2732 11.6299 10.2732 11.9302C10.2732 12.2306 10.0247 12.4797 9.7251 12.4797Z",fill:"#898989"}),d.createElement("path",{d:"M12.6482 6.61919H6.80202C6.50241 6.61919 6.25394 6.37012 6.25394 6.06977C6.25394 5.76942 6.50241 5.52035 6.80202 5.52035H12.6482C12.9478 5.52035 13.1963 5.76942 13.1963 6.06977C13.1963 6.37012 12.9478 6.61919 12.6482 6.61919Z",fill:"#898989"}),d.createElement("path",{d:"M12.6482 9.54942H6.80202C6.50241 9.54942 6.25394 9.30035 6.25394 9C6.25394 8.69965 6.50241 8.45058 6.80202 8.45058H12.6482C12.9478 8.45058 13.1963 8.69965 13.1963 9C13.1963 9.30035 12.9478 9.54942 12.6482 9.54942Z",fill:"#898989"}),d.createElement("path",{d:"M12.6482 15.675H6.80202V18.075H12.6482V15.675ZM6.80202 15.675C5.69696 15.675 4.98577 15.3605 4.55038 14.9241C4.1146 14.4872 3.8001 13.7727 3.8001 12.6628H1.4001C1.4001 14.2267 1.85291 15.6183 2.85125 16.6191C3.85001 17.6203 5.23977 18.075 6.80202 18.075V15.675ZM3.8001 12.6628V5.33721H1.4001V12.6628H3.8001ZM3.8001 5.33721C3.8001 4.22726 4.1146 3.51276 4.55038 3.07591C4.98577 2.63946 5.69696 2.325 6.80202 2.325V-0.075C5.23977 -0.075 3.85001 0.379727 2.85125 1.38093C1.85291 2.38172 1.4001 3.77332 1.4001 5.33721H3.8001ZM6.80202 2.325H12.6482V-0.075H6.80202V2.325ZM12.6482 2.325C13.7532 2.325 14.4644 2.63946 14.8998 3.07591C15.3356 3.51276 15.6501 4.22726 15.6501 5.33721H18.0501C18.0501 3.77332 17.5973 2.38172 16.5989 1.38093C15.6002 0.379727 14.2104 -0.075 12.6482 -0.075V2.325ZM15.6501 5.33721V12.6628H18.0501V5.33721H15.6501ZM15.6501 12.6628C15.6501 13.7727 15.3356 14.4872 14.8998 14.9241C14.4644 15.3605 13.7532 15.675 12.6482 15.675V18.075C14.2104 18.075 15.6002 17.6203 16.5989 16.6191C17.5973 15.6183 18.0501 14.2267 18.0501 12.6628H15.6501ZM6.80202 1.02384C5.57992 1.02384 4.43959 1.32158 3.61582 2.14736C2.79262 2.97258 2.49625 4.114 2.49625 5.33721H4.89625C4.89625 4.4653 5.10777 4.05003 5.31495 3.84234C5.52157 3.63522 5.93412 3.42384 6.80202 3.42384V1.02384ZM2.49625 5.33721V12.6628H4.89625V5.33721H2.49625ZM2.49625 12.6628C2.49625 13.886 2.79262 15.0274 3.61582 15.8526C4.43959 16.6784 5.57992 16.9762 6.80202 16.9762V14.5762C5.93412 14.5762 5.52157 14.3648 5.31495 14.1577C5.10777 13.95 4.89625 13.5347 4.89625 12.6628H2.49625ZM6.80202 16.9762H12.6482V14.5762H6.80202V16.9762ZM12.6482 16.9762C13.8703 16.9762 15.0106 16.6784 15.8344 15.8526C16.6576 15.0274 16.9539 13.886 16.9539 12.6628H14.5539C14.5539 13.5347 14.3424 13.95 14.1352 14.1577C13.9286 14.3648 13.5161 14.5762 12.6482 14.5762V16.9762ZM16.9539 12.6628V5.33721H14.5539V12.6628H16.9539ZM16.9539 5.33721C16.9539 4.114 16.6576 2.97258 15.8344 2.14736C15.0106 1.32158 13.8703 1.02384 12.6482 1.02384V3.42384C13.5161 3.42384 13.9286 3.63522 14.1352 3.84234C14.3424 4.05003 14.5539 4.4653 14.5539 5.33721H16.9539ZM12.6482 1.02384H6.80202V3.42384H12.6482V1.02384ZM9.7251 11.2797H6.80202V13.6797H9.7251V11.2797ZM6.80202 11.2797C7.16791 11.2797 7.45394 11.5706 7.45394 11.9302H5.05394C5.05394 12.8906 5.8369 13.6797 6.80202 13.6797V11.2797ZM7.45394 11.9302C7.45394 12.2899 7.16791 12.5808 6.80202 12.5808V10.1808C5.8369 10.1808 5.05394 10.9699 5.05394 11.9302H7.45394ZM6.80202 12.5808H9.7251V10.1808H6.80202V12.5808ZM9.7251 12.5808C9.35921 12.5808 9.07317 12.2899 9.07317 11.9302H11.4732C11.4732 10.9699 10.6902 10.1808 9.7251 10.1808V12.5808ZM9.07317 11.9302C9.07317 11.5706 9.35921 11.2797 9.7251 11.2797V13.6797C10.6902 13.6797 11.4732 12.8906 11.4732 11.9302H9.07317ZM12.6482 5.41919H6.80202V7.81919H12.6482V5.41919ZM6.80202 5.41919C7.16791 5.41919 7.45394 5.71014 7.45394 6.06977H5.05394C5.05394 7.03009 5.8369 7.81919 6.80202 7.81919V5.41919ZM7.45394 6.06977C7.45394 6.42939 7.16791 6.72035 6.80202 6.72035V4.32035C5.8369 4.32035 5.05394 5.10944 5.05394 6.06977H7.45394ZM6.80202 6.72035H12.6482V4.32035H6.80202V6.72035ZM12.6482 6.72035C12.2823 6.72035 11.9963 6.42939 11.9963 6.06977H14.3963C14.3963 5.10944 13.6133 4.32035 12.6482 4.32035V6.72035ZM11.9963 6.06977C11.9963 5.71014 12.2823 5.41919 12.6482 5.41919V7.81919C13.6133 7.81919 14.3963 7.03009 14.3963 6.06977H11.9963ZM12.6482 8.34942H6.80202V10.7494H12.6482V8.34942ZM6.80202 8.34942C7.16791 8.34942 7.45394 8.64038 7.45394 9H5.05394C5.05394 9.96032 5.8369 10.7494 6.80202 10.7494V8.34942ZM7.45394 9C7.45394 9.35962 7.16791 9.65058 6.80202 9.65058V7.25058C5.8369 7.25058 5.05394 8.03968 5.05394 9H7.45394ZM6.80202 9.65058H12.6482V7.25058H6.80202V9.65058ZM12.6482 9.65058C12.2823 9.65058 11.9963 9.35962 11.9963 9H14.3963C14.3963 8.03968 13.6133 7.25058 12.6482 7.25058V9.65058ZM11.9963 9C11.9963 8.64038 12.2823 8.34942 12.6482 8.34942V10.7494C13.6133 10.7494 14.3963 9.96032 14.3963 9H11.9963Z",fill:"#454545",mask:"url(#path-1-inside-1_11960_899)"})),a8=(e,t)=>({title:"feed",href:e,Icon:i8,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"feed_news",href:e+"/news",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed1.png",width:150,height:165}}]},{type:"second",items:[{title:"feed_blog",href:e+"/blog",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed2.png",width:110,height:105}},{title:"feed_investology",href:e+"/investology",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed3.png",width:99,height:90}}]},{type:"third",items:[{title:"feed_selections",href:e+"/selections",icon:$d,isFill:!1},{title:"feed_podcasts",href:e+"/podcasts",icon:Vd,isFill:!1},{title:"feed_analytic",href:e+"/analytical-reviews",icon:k1,isFill:!1},{title:"feed_strategy",href:e+"/strategies",icon:o8,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed4.png",href:t+"/subscribe",bannerCode:"header_magazine"}],subPages:[{name:"feed_community",href:e+"/community"},{name:"feed_blog",href:e+"/blog"},{name:"feed_news",href:e+"/news"},{name:"feed_selections",href:e+"/selections"},{name:"feed_investology",href:e+"/investology"},{name:"feed_podcasts",href:e+"/podcasts"},{name:"feed_analytic",href:e+"/analytical-reviews"},{name:"feed_strategy",href:e+"/strategies"},{name:"feed_youtube",href:e+"/youtube"},{name:"feed_new_features",href:e+"/features"},{name:"feed_library",href:e+"/library"}]}),s8=e=>({name:"feed",Icon:$1,href:e,subPages:[{name:"feed_community",href:e+"/community"},{name:"feed_blog",href:e+"/blog"},{name:"feed_news",href:e+"/news"},{name:"feed_selections",href:e+"/selections"},{name:"feed_investology",href:e+"/investology"},{name:"feed_podcasts",href:e+"/podcasts"},{name:"feed_analytic",href:e+"/analytical-reviews"},{name:"feed_strategy",href:e+"/strategies"},{name:"feed_youtube",href:e+"/youtube"},{name:"feed_new_features",href:e+"/features"},{name:"feed_library",href:e+"/library"}]}),Jd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.8164 4.22974H16.2764",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.72656 4.2301H7.18656",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.8164 11.4976H16.2764",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.8164 16.0422H16.2764",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.5664 6.9525V1.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.72656 16.5L7.18656 11.0475",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.18656 16.5L1.72656 11.0475",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ud=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M5.37735 17.0627C3.59235 17.0627 2.12988 15.7652 2.12988 14.1677V12.6377C2.12988 12.3302 2.38488 12.0752 2.69238 12.0752C2.99988 12.0752 3.25488 12.3302 3.25488 12.6377C3.25488 13.5752 4.16235 14.2802 5.37735 14.2802C6.59235 14.2802 7.49986 13.5752 7.49986 12.6377C7.49986 12.3302 7.75486 12.0752 8.06236 12.0752C8.36986 12.0752 8.62486 12.3302 8.62486 12.6377V14.1677C8.62486 15.7652 7.16985 17.0627 5.37735 17.0627ZM3.44984 14.9027C3.77984 15.5177 4.52235 15.9377 5.37735 15.9377C6.23235 15.9377 6.97486 15.5102 7.30486 14.9027C6.77236 15.2252 6.11235 15.4127 5.37735 15.4127C4.64235 15.4127 3.98234 15.2252 3.44984 14.9027Z",fill:"#242424"}),d.createElement("path",{d:"M5.37735 13.3501C4.14735 13.3501 3.04488 12.7876 2.49738 11.8951C2.25738 11.5051 2.12988 11.0476 2.12988 10.5826C2.12988 9.79507 2.47487 9.06006 3.10487 8.51256C4.31987 7.44756 6.41236 7.4476 7.63486 8.5051C8.26486 9.0601 8.61736 9.79507 8.61736 10.5826C8.61736 11.0476 8.48986 11.5051 8.24986 11.8951C7.70986 12.7876 6.60735 13.3501 5.37735 13.3501ZM5.37735 8.81258C4.79235 8.81258 4.25237 9.00756 3.84737 9.36006C3.46487 9.69006 3.25488 10.1251 3.25488 10.5826C3.25488 10.8451 3.32235 11.0851 3.45735 11.3101C3.80235 11.8801 4.53735 12.2326 5.37735 12.2326C6.21735 12.2326 6.95234 11.8801 7.28984 11.3176C7.42484 11.1001 7.49236 10.8526 7.49236 10.5901C7.49236 10.1326 7.28237 9.69756 6.89987 9.36006C6.50237 9.00756 5.96235 8.81258 5.37735 8.81258Z",fill:"#242424"}),d.createElement("path",{d:"M5.37735 15.4125C3.52485 15.4125 2.12988 14.22 2.12988 12.645V10.5825C2.12988 8.98499 3.58485 7.6875 5.37735 7.6875C6.22485 7.6875 7.03486 7.98002 7.64236 8.50502C8.27236 9.06002 8.62486 9.79499 8.62486 10.5825V12.645C8.62486 14.22 7.22985 15.4125 5.37735 15.4125ZM5.37735 8.8125C4.20735 8.8125 3.25488 9.60749 3.25488 10.5825V12.645C3.25488 13.5825 4.16235 14.2875 5.37735 14.2875C6.59235 14.2875 7.49986 13.5825 7.49986 12.645V10.5825C7.49986 10.125 7.28988 9.68998 6.90738 9.35248C6.50238 9.00748 5.96235 8.8125 5.37735 8.8125Z",fill:"#242424"}),d.createElement("path",{d:"M14.2799 11.0999C13.1474 11.0999 12.1874 10.2599 12.0974 9.17989C12.0374 8.55739 12.2624 7.9499 12.7124 7.5074C13.0874 7.1174 13.6199 6.8999 14.1824 6.8999H15.7499C16.4924 6.9224 17.0624 7.50737 17.0624 8.22737V9.77242C17.0624 10.4924 16.4925 11.0774 15.7725 11.0999H14.2799ZM15.7274 8.0249H14.1899C13.9274 8.0249 13.6874 8.1224 13.5149 8.3024C13.2974 8.5124 13.1924 8.79738 13.2224 9.08238C13.2599 9.57738 13.7399 9.97488 14.2799 9.97488H15.7499C15.8474 9.97488 15.9374 9.88492 15.9374 9.77242V8.22737C15.9374 8.11487 15.8474 8.0324 15.7274 8.0249Z",fill:"#242424"}),d.createElement("path",{d:"M12.0002 15.9375H10.1252C9.81768 15.9375 9.56268 15.6825 9.56268 15.375C9.56268 15.0675 9.81768 14.8125 10.1252 14.8125H12.0002C13.9352 14.8125 15.1877 13.56 15.1877 11.625V11.1H14.2802C13.1477 11.1 12.1877 10.26 12.0977 9.17999C12.0377 8.55749 12.2627 7.95001 12.7127 7.50751C13.0877 7.11751 13.6202 6.90001 14.1827 6.90001H15.1802V6.375C15.1802 4.62 14.1527 3.41248 12.4877 3.21748C12.3077 3.18748 12.1502 3.1875 11.9927 3.1875H5.24268C5.06268 3.1875 4.89017 3.20249 4.71767 3.22499C3.06767 3.43499 2.05518 4.635 2.05518 6.375V7.875C2.05518 8.1825 1.80018 8.4375 1.49268 8.4375C1.18518 8.4375 0.930176 8.1825 0.930176 7.875V6.375C0.930176 4.065 2.3552 2.39251 4.5677 2.11501C4.7702 2.08501 5.00268 2.0625 5.24268 2.0625H11.9927C12.1727 2.0625 12.4052 2.07 12.6452 2.1075C14.8577 2.3625 16.3052 4.0425 16.3052 6.375V7.46251C16.3052 7.77001 16.0502 8.02501 15.7427 8.02501H14.1827C13.9202 8.02501 13.6802 8.12251 13.5077 8.30251C13.2902 8.51251 13.1852 8.79749 13.2152 9.08249C13.2527 9.57749 13.7327 9.97499 14.2727 9.97499H15.7502C16.0577 9.97499 16.3127 10.23 16.3127 10.5375V11.625C16.3127 14.205 14.5802 15.9375 12.0002 15.9375Z",fill:"#242424"})),Ps=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 16.5H16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.21094 16.5L2.24844 7.47749C2.24844 7.01999 2.46594 6.58503 2.82594 6.30003L8.07594 2.21252C8.61594 1.79252 9.37344 1.79252 9.92094 2.21252L15.1709 6.29252C15.5384 6.57752 15.7484 7.01249 15.7484 7.47749V16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M9.75 12.75H8.25C7.6275 12.75 7.125 13.2525 7.125 13.875V16.5H10.875V13.875C10.875 13.2525 10.3725 12.75 9.75 12.75Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M7.125 10.3125H5.625C5.2125 10.3125 4.875 9.975 4.875 9.5625V8.4375C4.875 8.025 5.2125 7.6875 5.625 7.6875H7.125C7.5375 7.6875 7.875 8.025 7.875 8.4375V9.5625C7.875 9.975 7.5375 10.3125 7.125 10.3125Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M12.375 10.3125H10.875C10.4625 10.3125 10.125 9.975 10.125 9.5625V8.4375C10.125 8.025 10.4625 7.6875 10.875 7.6875H12.375C12.7875 7.6875 13.125 8.025 13.125 8.4375V9.5625C13.125 9.975 12.7875 10.3125 12.375 10.3125Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M14.2483 5.25L14.2258 3H10.9258",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Qd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 4.16998H16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.665 1.5H14.835C16.17 1.5 16.5 1.83 16.5 3.15V6.2325C16.5 7.5525 16.17 7.8825 14.835 7.8825H10.665C9.33 7.8825 9 7.5525 9 6.2325V3.15C9 1.83 9.33 1.5 10.665 1.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 12.795H9",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.165 10.125H7.335C8.67 10.125 9 10.455 9 11.775V14.8575C9 16.1775 8.67 16.5075 7.335 16.5075H3.165C1.83 16.5075 1.5 16.1775 1.5 14.8575V11.775C1.5 10.455 1.83 10.125 3.165 10.125Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 11.25C16.5 14.1525 14.1525 16.5 11.25 16.5L12.0375 15.1875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 6.75C1.5 3.8475 3.8475 1.5 6.75 1.5L5.96251 2.8125",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Kd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M12.375 7.125L9.225 10.275L8.025 8.475L5.625 10.875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.875 7.125H12.375V8.625",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),l8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.8242 4.44751L15.3767 9.00001L10.8242 13.5525",stroke:"#6553F5",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.625 9H15.2475",stroke:"#6553F5",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),c8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.4009 12.4634V11.8594C10.4009 11.4418 10.4867 11.0596 10.6582 10.7128C10.8335 10.3623 11.087 10.0827 11.4189 9.87385C11.7545 9.66131 12.1609 9.55504 12.6382 9.55504C13.1229 9.55504 13.5293 9.66131 13.8574 9.87385C14.1856 10.0827 14.4335 10.3623 14.6013 10.7128C14.7691 11.0596 14.853 11.4418 14.853 11.8594V12.4634C14.853 12.881 14.7672 13.2651 14.5957 13.6156C14.4279 13.9624 14.1781 14.242 13.8463 14.4545C13.5181 14.6634 13.1154 14.7678 12.6382 14.7678C12.1534 14.7678 11.7451 14.6634 11.4133 14.4545C11.0814 14.242 10.8297 13.9624 10.6582 13.6156C10.4867 13.2651 10.4009 12.881 10.4009 12.4634ZM11.5419 11.8594V12.4634C11.5419 12.8102 11.624 13.1215 11.788 13.3975C11.9521 13.6697 12.2355 13.8058 12.6382 13.8058C13.0297 13.8058 13.3056 13.6697 13.4659 13.3975C13.63 13.1215 13.712 12.8102 13.712 12.4634V11.8594C13.712 11.5126 13.6337 11.2031 13.4771 10.9309C13.3205 10.655 13.0409 10.517 12.6382 10.517C12.2466 10.517 11.9651 10.655 11.7936 10.9309C11.6258 11.2031 11.5419 11.5126 11.5419 11.8594ZM4.69604 5.90838V5.30433C4.69604 4.88672 4.7818 4.50453 4.95332 4.15776C5.12857 3.80726 5.38212 3.52761 5.71398 3.3188C6.04956 3.10627 6.45599 3 6.93326 3C7.41799 3 7.82442 3.10627 8.15254 3.3188C8.48067 3.52761 8.72863 3.80726 8.89642 4.15776C9.06421 4.50453 9.1481 4.88672 9.1481 5.30433V5.90838C9.1481 6.32599 9.06235 6.71005 8.89083 7.06055C8.72303 7.40732 8.47321 7.68697 8.14136 7.8995C7.81323 8.10831 7.41053 8.21271 6.93326 8.21271C6.44853 8.21271 6.04024 8.10831 5.70839 7.8995C5.37653 7.68697 5.12484 7.40732 4.95332 7.06055C4.7818 6.71005 4.69604 6.32599 4.69604 5.90838ZM5.83702 5.30433V5.90838C5.83702 6.25515 5.91906 6.5665 6.08312 6.84242C6.24718 7.11461 6.53056 7.25071 6.93326 7.25071C7.32477 7.25071 7.6007 7.11461 7.76103 6.84242C7.92509 6.5665 8.00712 6.25515 8.00712 5.90838V5.30433C8.00712 4.95756 7.92882 4.64808 7.77222 4.37589C7.61561 4.09996 7.33596 3.962 6.93326 3.962C6.54175 3.962 6.26023 4.09996 6.08871 4.37589C5.92092 4.64808 5.83702 4.95756 5.83702 5.30433ZM6.11995 14.6112C5.69689 14.6112 5.44731 14.1367 5.68698 13.7881L12.8395 3.38436C12.9376 3.24178 13.0995 3.15661 13.2725 3.15661C13.6956 3.15661 13.9451 3.63107 13.7055 3.97968L6.55291 14.3834C6.45489 14.526 6.29296 14.6112 6.11995 14.6112Z",fill:"#454545"})),d8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.13499 7.05405C6.13499 6.78538 6.35755 6.56757 6.63209 6.56757H10.6088C10.8834 6.56757 11.1059 6.78538 11.1059 7.05405C11.1059 7.32273 10.8834 7.54054 10.6088 7.54054H6.63209C6.35755 7.54054 6.13499 7.32273 6.13499 7.05405Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4082 10.6995V11.2703C16.4082 12.3538 16.037 13.2945 15.3513 13.9656C14.6656 14.6367 13.7043 15 12.5972 15H6.63209C5.52494 15 4.56369 14.6367 3.87798 13.9656C3.19226 13.2945 2.82104 12.3538 2.82104 11.2703V6.72973C2.82104 5.74841 3.12462 4.88263 3.69457 4.22821C4.26418 3.57418 5.07328 3.1621 6.02652 3.04355C6.22323 3.01429 6.42522 3 6.63209 3H12.5972C12.7759 3 12.9689 3.00633 13.1635 3.03704C14.1249 3.14902 14.9431 3.55842 15.5203 4.21297C16.0989 4.86917 16.4082 5.74073 16.4082 6.72973V7.30045C16.7999 7.48662 17.071 7.87596 17.071 8.33183V9.66809C17.071 10.124 16.7999 10.5133 16.4082 10.6995ZM6.17081 4.00623C6.31658 3.98429 6.4702 3.97297 6.63209 3.97297H12.5972C12.7593 3.97297 12.8933 3.97933 13.0126 3.99878C13.0206 4.0001 13.0287 4.00122 13.0369 4.00214C13.7804 4.08675 14.3662 4.39344 14.7676 4.84864C15.1699 5.30488 15.414 5.94143 15.414 6.72973V7.18375H14.5325C14.0304 7.18375 13.5655 7.37714 13.2264 7.71561C13.085 7.85161 12.966 8.01009 12.8754 8.18456C12.8433 8.2464 12.8147 8.31026 12.7899 8.37583C12.6983 8.61855 12.659 8.88483 12.6853 9.16001C12.7711 10.1476 13.6778 10.8162 14.6121 10.8162H15.414V11.2703C15.414 12.1327 15.1225 12.8136 14.6483 13.2776C14.1741 13.7417 13.4784 14.027 12.5972 14.027H6.63209C5.75086 14.027 5.05514 13.7417 4.58097 13.2776C4.1068 12.8136 3.81523 12.1327 3.81523 11.2703V6.72973C3.81523 5.94672 4.05514 5.31413 4.45121 4.85936C4.84626 4.40576 5.4232 4.09824 6.15712 4.0081L6.17081 4.00623ZM13.6758 9.07631C13.7109 9.4882 14.1156 9.8432 14.6121 9.8432H15.8997C16.0069 9.83643 16.0769 9.75444 16.0769 9.66809V8.33183C16.0769 8.24565 16.0071 8.1638 15.9004 8.15676H14.5325C14.2945 8.15676 14.0853 8.24707 13.9343 8.39883L13.9254 8.40753C13.9 8.43173 13.8763 8.45743 13.8543 8.48441C13.7998 8.55134 13.756 8.6263 13.7249 8.70674C13.6813 8.8196 13.6629 8.94323 13.6753 9.07059L13.6758 9.07631Z",fill:"#454545"})),u8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.86005 3.92782C3.35008 4.40136 3.00854 5.16971 3.00854 6.375V11.625C3.00854 12.8303 3.35008 13.5986 3.86005 14.0722C4.37756 14.5527 5.15727 14.8125 6.19604 14.8125H13.696C14.7348 14.8125 15.5145 14.5527 16.032 14.0722C16.542 13.5986 16.8835 12.8303 16.8835 11.625V6.375C16.8835 5.16971 16.542 4.40136 16.032 3.92782C15.5145 3.44727 14.7348 3.1875 13.696 3.1875H6.19604C5.15727 3.1875 4.37756 3.44727 3.86005 3.92782ZM3.09454 3.10343C3.88953 2.36523 4.98482 2.0625 6.19604 2.0625H13.696C14.9073 2.0625 16.0026 2.36523 16.7975 3.10343C17.6001 3.84864 18.0085 4.95529 18.0085 6.375V11.625C18.0085 13.0447 17.6001 14.1514 16.7975 14.8966C16.0026 15.6348 14.9073 15.9375 13.696 15.9375H6.19604C4.98482 15.9375 3.88953 15.6348 3.09454 14.8966C2.29201 14.1514 1.88354 13.0447 1.88354 11.625V6.375C1.88354 4.95529 2.29201 3.84864 3.09454 3.10343Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.94604 7.3125C9.01406 7.3125 8.25854 8.06802 8.25854 9C8.25854 9.93198 9.01406 10.6875 9.94604 10.6875C10.878 10.6875 11.6335 9.93198 11.6335 9C11.6335 8.06802 10.878 7.3125 9.94604 7.3125ZM7.13354 9C7.13354 7.4467 8.39274 6.1875 9.94604 6.1875C11.4993 6.1875 12.7585 7.4467 12.7585 9C12.7585 10.5533 11.4993 11.8125 9.94604 11.8125C8.39274 11.8125 7.13354 10.5533 7.13354 9Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75854 6.375C3.75854 5.02934 4.85038 3.9375 6.19604 3.9375H7.32104C7.63171 3.9375 7.88354 4.18934 7.88354 4.5C7.88354 4.81066 7.63171 5.0625 7.32104 5.0625H6.19604C5.4717 5.0625 4.88354 5.65066 4.88354 6.375V7.5C4.88354 7.81066 4.63171 8.0625 4.32104 8.0625C4.01038 8.0625 3.75854 7.81066 3.75854 7.5V6.375Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0085 4.5C12.0085 4.18934 12.2604 3.9375 12.571 3.9375H13.696C15.0417 3.9375 16.1335 5.02934 16.1335 6.375V7.5C16.1335 7.81066 15.8817 8.0625 15.571 8.0625C15.2604 8.0625 15.0085 7.81066 15.0085 7.5V6.375C15.0085 5.65066 14.4204 5.0625 13.696 5.0625H12.571C12.2604 5.0625 12.0085 4.81066 12.0085 4.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.32104 9.9375C4.63171 9.9375 4.88354 10.1893 4.88354 10.5V11.625C4.88354 12.3493 5.4717 12.9375 6.19604 12.9375H7.32104C7.63171 12.9375 7.88354 13.1893 7.88354 13.5C7.88354 13.8107 7.63171 14.0625 7.32104 14.0625H6.19604C4.85038 14.0625 3.75854 12.9707 3.75854 11.625V10.5C3.75854 10.1893 4.01038 9.9375 4.32104 9.9375Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.571 9.9375C15.8817 9.9375 16.1335 10.1893 16.1335 10.5V11.625C16.1335 12.9707 15.0417 14.0625 13.696 14.0625H12.571C12.2604 14.0625 12.0085 13.8107 12.0085 13.5C12.0085 13.1893 12.2604 12.9375 12.571 12.9375H13.696C14.4204 12.9375 15.0085 12.3493 15.0085 11.625V10.5C15.0085 10.1893 15.2604 9.9375 15.571 9.9375Z",fill:"#242424"})),p8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.8449 14.8726C10.6724 14.8726 10.4999 14.8351 10.3424 14.7526C10.3049 14.7301 10.2674 14.7076 10.2374 14.6776L8.98489 13.6126L7.75489 14.6776C7.71739 14.7076 7.67989 14.7301 7.64239 14.7526C7.34989 14.8951 7.01989 14.9101 6.72739 14.7826C6.42739 14.6551 6.20239 14.4076 6.09739 14.1001L5.85739 13.3801C5.72989 13.0051 5.84239 12.5326 6.11989 12.2476L7.37239 11.0176L7.36489 9.93009L5.10739 10.8976C4.73239 11.0551 4.34239 11.0401 4.04239 10.8376C3.74989 10.6501 3.57739 10.2976 3.57739 9.89259V9.19509C3.57739 8.61009 3.98239 7.98759 4.52239 7.75509L7.36489 6.53259V5.10009C7.36489 4.36509 7.85239 3.57009 8.50489 3.25509C8.82739 3.09759 9.19489 3.09759 9.51739 3.25509C10.1699 3.59259 10.6574 4.38759 10.6574 5.10009V6.53259L13.4999 7.75509C14.0399 7.98009 14.4449 8.60259 14.4449 9.19509V9.89259C14.4449 10.2976 14.2724 10.6501 13.9649 10.8451C13.6574 11.0401 13.2749 11.0626 12.8999 10.9051L10.6499 9.93759V11.0401L11.8724 12.2626C12.1499 12.5401 12.2624 13.0201 12.1349 13.3951L11.8949 14.1076C11.7899 14.4151 11.5649 14.6626 11.2649 14.7826C11.1299 14.8426 10.9874 14.8726 10.8449 14.8726ZM8.99989 12.5026C9.25489 12.5026 9.50239 12.5851 9.70489 12.7426L10.8674 13.7326L11.0699 13.0351L9.84739 11.8201C9.65239 11.6326 9.52489 11.3176 9.52489 11.0401V9.65259C9.52489 9.31509 9.66739 9.02259 9.92239 8.85009C10.1774 8.67759 10.5074 8.65509 10.8224 8.79009L13.3124 9.85509L13.3199 9.19509C13.3199 9.05259 13.1849 8.84259 13.0574 8.79009L10.0949 7.51509C9.77239 7.38009 9.53239 7.02009 9.53239 6.65259V5.10009C9.53239 4.80759 9.27739 4.39509 9.01489 4.26009C8.74489 4.39509 8.48989 4.80009 8.48989 5.10009V6.65259C8.48989 7.00509 8.25739 7.37259 7.92739 7.51509L4.97239 8.79009C4.84489 8.84259 4.70239 9.06009 4.70239 9.19509V9.85509L7.18489 8.79759C7.49239 8.66259 7.81489 8.67759 8.07739 8.85009C8.33989 9.02259 8.48989 9.31509 8.48989 9.66009V11.0476C8.48989 11.3176 8.36239 11.6326 8.16739 11.8276L6.90739 13.0651L7.14739 13.7251L8.27989 12.7651C8.48989 12.5926 8.74489 12.5026 8.99989 12.5026ZM10.5374 6.48009L10.5449 6.48759C10.5449 6.48009 10.5374 6.48009 10.5374 6.48009Z",fill:"#242424"}),d.createElement("path",{d:"M11.25 17.0625H6.75C2.6775 17.0625 0.9375 15.3225 0.9375 11.25V6.75C0.9375 2.6775 2.6775 0.9375 6.75 0.9375H11.25C15.3225 0.9375 17.0625 2.6775 17.0625 6.75V11.25C17.0625 15.3225 15.3225 17.0625 11.25 17.0625ZM6.75 2.0625C3.2925 2.0625 2.0625 3.2925 2.0625 6.75V11.25C2.0625 14.7075 3.2925 15.9375 6.75 15.9375H11.25C14.7075 15.9375 15.9375 14.7075 15.9375 11.25V6.75C15.9375 3.2925 14.7075 2.0625 11.25 2.0625H6.75Z",fill:"#242424"})),f8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M13.3051 17.0624H5.73013C5.49763 17.0624 5.28764 16.9199 5.20514 16.6949C5.12264 16.4699 5.18263 16.2299 5.36263 16.0724C5.88763 15.6074 6.19513 14.9399 6.19513 14.2424C6.19513 12.8999 5.10013 11.8049 3.75763 11.8049C3.20263 11.8049 2.67763 11.9925 2.23513 12.345C2.06263 12.48 1.83764 12.5024 1.64264 12.4124C1.44764 12.3224 1.32764 12.1199 1.32764 11.9024V8.62494C1.32764 6.75744 2.84263 5.24243 4.71013 5.24243H13.3201C15.1876 5.24243 16.7026 6.75744 16.7026 8.62494V9.70494C16.7026 10.0124 16.4476 10.2674 16.1401 10.2674H14.6251C14.3626 10.2674 14.1226 10.3649 13.9501 10.5449L13.9426 10.5524C13.7326 10.7549 13.6351 11.0325 13.6576 11.3175C13.7026 11.8125 14.1751 12.21 14.7151 12.21H16.1401C16.4476 12.21 16.7026 12.465 16.7026 12.7725V13.6649C16.6876 15.5474 15.1726 17.0624 13.3051 17.0624ZM6.88513 15.9374H13.3051C14.5501 15.9374 15.5626 14.9249 15.5626 13.6799V13.3499H14.7001C13.5676 13.3499 12.6076 12.5099 12.5176 11.4299C12.4576 10.8149 12.6826 10.2075 13.1326 9.76495C13.5226 9.36745 14.0476 9.14995 14.6101 9.14995H15.5626V8.63245C15.5626 7.38745 14.5501 6.37494 13.3051 6.37494H4.69513C3.45013 6.37494 2.43763 7.38745 2.43763 8.63245V10.9425C2.85763 10.7775 3.30013 10.6874 3.75013 10.6874C5.71513 10.6874 7.31263 12.2849 7.31263 14.2499C7.31263 14.8424 7.16263 15.4274 6.88513 15.9374Z",fill:"#242424"}),d.createElement("path",{d:"M1.875 9.19501C1.5675 9.19501 1.3125 8.94001 1.3125 8.63251V5.88002C1.3125 4.76252 2.01001 3.74248 3.05251 3.35248L9.0075 1.10248C9.6225 0.877478 10.3125 0.960022 10.845 1.33502C11.3775 1.71002 11.7 2.31751 11.7 2.96251V5.8125C11.7 6.12 11.445 6.375 11.1375 6.375C10.83 6.375 10.575 6.12 10.575 5.8125V2.96251C10.575 2.67751 10.44 2.42251 10.2075 2.25751C9.9675 2.09251 9.675 2.055 9.40499 2.1525L3.45 4.4025C2.835 4.635 2.4375 5.21252 2.4375 5.88002V8.63251C2.4375 8.94001 2.1825 9.19501 1.875 9.19501Z",fill:"#242424"}),d.createElement("path",{d:"M14.6999 13.3499C13.5674 13.3499 12.6074 12.5099 12.5174 11.4299C12.4574 10.8074 12.6824 10.1999 13.1324 9.7574C13.5149 9.3674 14.0399 9.1499 14.6024 9.1499H16.1624C16.9049 9.1724 17.4749 9.75737 17.4749 10.4774V12.0224C17.4749 12.7424 16.9049 13.3274 16.1849 13.3499H14.6999ZM16.1474 10.2749H14.6099C14.3474 10.2749 14.1074 10.3724 13.9349 10.5524C13.7174 10.7624 13.6124 11.0474 13.6424 11.3324C13.6874 11.8274 14.1599 12.2249 14.6999 12.2249H16.1699C16.2674 12.2249 16.3574 12.1349 16.3574 12.0224V10.4774C16.3574 10.3649 16.2674 10.2824 16.1474 10.2749Z",fill:"#242424"}),d.createElement("path",{d:"M10.5 9.5625H5.25C4.9425 9.5625 4.6875 9.3075 4.6875 9C4.6875 8.6925 4.9425 8.4375 5.25 8.4375H10.5C10.8075 8.4375 11.0625 8.6925 11.0625 9C11.0625 9.3075 10.8075 9.5625 10.5 9.5625Z",fill:"#242424"}),d.createElement("path",{d:"M3.75 17.8125C1.785 17.8125 0.1875 16.215 0.1875 14.25C0.1875 13.155 0.674999 12.1425 1.5225 11.4675C2.1525 10.965 2.9475 10.6875 3.75 10.6875C5.715 10.6875 7.3125 12.285 7.3125 14.25C7.3125 15.27 6.87 16.245 6.105 16.92C5.445 17.4975 4.6125 17.8125 3.75 17.8125ZM3.75 11.8125C3.195 11.8125 2.67 12 2.2275 12.3525C1.65 12.81 1.3125 13.5075 1.3125 14.25C1.3125 15.5925 2.4075 16.6875 3.75 16.6875C4.335 16.6875 4.905 16.47 5.3625 16.08C5.8875 15.615 6.1875 14.955 6.1875 14.25C6.1875 12.9075 5.0925 11.8125 3.75 11.8125Z",fill:"#242424"}),d.createElement("path",{d:"M2.99991 15.5625C2.81241 15.5625 2.62491 15.465 2.51991 15.2925C2.36241 15.0225 2.44491 14.6775 2.71491 14.52L3.38241 14.1225V13.3125C3.38241 13.005 3.63741 12.75 3.94491 12.75C4.25241 12.75 4.50741 13.005 4.50741 13.3125V14.4375C4.50741 14.6325 4.40241 14.82 4.23741 14.9175L3.29991 15.48C3.20241 15.54 3.09741 15.5625 2.99991 15.5625Z",fill:"#242424"})),h8=e=>({title:"calculators",href:e+"/calculators/compound-interest",Icon:$1,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"calculator_compound_interest",textWidth:130,href:e+"/calculators/compound-interest",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators1.png",width:99,height:88}},{title:"calculator_bonds",href:e+"/calculators/bonds",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators2.png",width:120,height:90}}]},{type:"second",items:[{title:"calculator_credit",href:e+"/calculators/credit",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators3.png",width:120,height:100}},{title:"calculator_vacation",href:e+"/calculators/vacation",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators4.png",width:105,height:125}}]},{type:"third",items:[{title:"calculator_mortgage",href:e+"/calculators/mortgage",icon:Ps,isFill:!1},{title:"calculator_goals",href:e+"/calculators/goals",icon:w1,isFill:!1},{title:"calculator_refinance",href:e+"/calculators/refinance",icon:Jd,isFill:!1},{title:"calculator_currency_converter",href:e+"/calculators/currency-converter",icon:Qd,isFill:!1},{title:"calculator_savings",href:e+"/calculators/savings",icon:Ud,isFill:!0},{title:"calculator_deposit",href:e+"/calculators/deposit",icon:Kd,isFill:!1}],hasViewAllButton:!0,viewAllButtonText:"all_calculators",href:e+"/calculators/compound-interest",icon:l8},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed4.png",href:e+"/subscribe",bannerCode:"header_calculators"}],subPages:[{name:"calculator_compound_interest",href:e+"/calculators/compound-interest"},{name:"calculator_mortgage",href:e+"/calculators/mortgage"},{name:"calculator_credit",href:e+"/calculators/credit"},{name:"calculator_goals",href:e+"/calculators/goals"},{name:"calculator_refinance",href:e+"/calculators/refinance"},{name:"calculator_bonds",href:e+"/calculators/bonds"},{name:"calculator_currency_converter",href:e+"/calculators/currency-converter"},{name:"calculator_savings",href:e+"/calculators/savings"},{name:"calculator_vacation",href:e+"/calculators/vacation"},{name:"calculator_deposit",href:e+"/calculators/deposit"},{name:"calculator_inflation",href:e+"/calculators/inflation"},{name:"calculator_credit_prepayment",href:e+"/calculators/loan-prepayment"}]}),qd=e=>({name:"calculators",Icon:$1,href:e+"/calculators/compound-interest",subPages:[{name:"calculator_compound_interest",Icon:c8,isForeignAccess:!0,href:e+"/calculators/compound-interest"},{name:"calculator_mortgage",Icon:Ps,href:e+"/calculators/mortgage",isFill:!1,isForeignAccess:!0},{name:"calculator_credit",Icon:d8,isForeignAccess:!0,href:e+"/calculators/credit"},{name:"calculator_credit_prepayment_short",Icon:f8,href:e+"/calculators/loan-prepayment",nowrap:!0,isForeignAccess:!0},{name:"calculator_goals",Icon:w1,isFill:!1,isForeignAccess:!0,href:e+"/calculators/goals"},{name:"calculator_refinance",Icon:Jd,isFill:!1,isForeignAccess:!0,href:e+"/calculators/refinance"},{name:"calculator_bonds",Icon:u8,isForeignAccess:!0,href:e+"/calculators/bonds"},{name:"calculator_currency_converter",Icon:Qd,isFill:!1,isForeignAccess:!0,href:e+"/calculators/currency-converter"},{name:"calculator_savings",Icon:Ud,isForeignAccess:!0,href:e+"/calculators/savings"},{name:"calculator_vacation",Icon:p8,isForeignAccess:!0,href:e+"/calculators/vacation"},{name:"calculator_deposit",Icon:Kd,isFill:!1,isForeignAccess:!0,href:e+"/calculators/deposit"},{name:"calculator_inflation",Icon:k1,isFill:!1,isForeignAccess:!0,href:e+"/calculators/inflation"}]}),e0=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M7.86859 1.67248L4.12609 3.08248C3.26359 3.40498 2.55859 4.42498 2.55859 5.33998V10.9125C2.55859 11.7975 3.14359 12.96 3.85609 13.4925L7.08109 15.9C8.13859 16.695 9.87859 16.695 10.9361 15.9L14.1611 13.4925C14.8736 12.96 15.4586 11.7975 15.4586 10.9125V5.33998C15.4586 4.41748 14.7536 3.39748 13.8911 3.07498L10.1486 1.67248C9.51109 1.43998 8.49109 1.43998 7.86859 1.67248Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.78906 8.90251L7.99656 10.11L11.2216 6.88501",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),m8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M14.835 16.5076V13.1626",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.8502 8.16748C13.9352 8.16748 13.2002 8.90249 13.2002 9.81749V11.52C13.2002 12.435 13.9352 13.17 14.8502 13.17C15.7652 13.17 16.5002 12.435 16.5002 11.52V9.81749C16.5002 8.90249 15.7652 8.16748 14.8502 8.16748Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5752 16.5001V4.52258C1.5752 3.01508 2.32523 2.25757 3.81773 2.25757H8.49022C9.98272 2.25757 10.7252 3.01508 10.7252 4.52258V16.5001",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.3501 6.1875H8.06261",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.3501 9H8.06261",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.1875 16.5V13.6875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),g8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.92188 14.3113C8.97396 14.3113 9.03385 14.2983 9.10156 14.2722C9.16927 14.2461 9.22396 14.2122 9.26563 14.1705L14.5313 8.88267C14.6667 8.74708 14.7682 8.59237 14.8359 8.41854C14.9036 8.24472 14.9375 8.07089 14.9375 7.89706C14.9375 7.71975 14.9036 7.54245 14.8359 7.36514C14.7682 7.18784 14.6667 7.03139 14.5313 6.89581L11.7188 4.07979C11.5833 3.9442 11.4271 3.84251 11.25 3.77472C11.0729 3.70693 10.8958 3.67303 10.7188 3.67303C10.5451 3.67303 10.3715 3.70693 10.1979 3.77472C10.0243 3.84251 9.86979 3.9442 9.73438 4.07979C9.57871 4.23565 9.57794 4.4879 9.73264 4.64471L10.7188 5.64424C10.8542 5.79026 10.974 5.95974 11.0781 6.15269C11.1823 6.34564 11.2344 6.55684 11.2344 6.7863C11.2344 7.18262 11.0807 7.53202 10.7734 7.83448C10.4661 8.13694 10.1146 8.28817 9.71875 8.28817C9.45833 8.28817 9.24219 8.24906 9.07031 8.17084C8.89844 8.09262 8.74122 7.98133 8.59867 7.83697C7.96604 7.20489 6.94076 7.20544 6.3088 7.83819L4.625 9.52409C4.57292 9.57624 4.53646 9.63113 4.51563 9.68877C4.49479 9.74641 4.48438 9.80817 4.48438 9.87403C4.48438 10.0058 4.52865 10.116 4.61719 10.2046C4.70573 10.2933 4.81597 10.3376 4.94792 10.3376C5.01389 10.3376 5.07552 10.322 5.13281 10.2907C5.1901 10.2594 5.23958 10.2229 5.28125 10.1812L7.10896 8.35116C7.29034 8.16956 7.58466 8.16956 7.76604 8.35116C7.94709 8.53245 7.94709 8.82613 7.76604 9.00741L5.95313 10.8226C5.90104 10.8747 5.86458 10.9321 5.84375 10.9947C5.82292 11.0573 5.8125 11.1198 5.8125 11.1824C5.8125 11.3076 5.85938 11.4171 5.95313 11.511C6.04688 11.6048 6.15625 11.6518 6.28125 11.6518C6.34375 11.6518 6.40365 11.6387 6.46094 11.6126C6.51823 11.5866 6.56771 11.5527 6.60938 11.511L8.43709 9.68095C8.61847 9.49934 8.91278 9.49934 9.09416 9.68095C9.27522 9.86223 9.27522 10.1559 9.09416 10.3372L7.28125 12.1524C7.23958 12.1941 7.20573 12.248 7.17969 12.314C7.15365 12.3801 7.14063 12.4462 7.14063 12.5122C7.14063 12.6374 7.1875 12.7469 7.28125 12.8407C7.375 12.9346 7.48438 12.9815 7.60938 12.9815C7.67188 12.9815 7.72917 12.9711 7.78125 12.9502C7.83333 12.9294 7.88542 12.8929 7.9375 12.8407L9.76522 11.0107C9.94659 10.8291 10.2409 10.8291 10.4223 11.0107C10.6033 11.192 10.6033 11.4857 10.4223 11.667L8.59375 13.4978C8.54167 13.55 8.50521 13.6073 8.48438 13.6699C8.46354 13.7325 8.45312 13.7898 8.45312 13.842C8.45312 13.988 8.49479 14.1027 8.57812 14.1862C8.66146 14.2696 8.77604 14.3113 8.92188 14.3113ZM8.92288 15.25C8.57846 15.25 8.27083 15.1222 8 14.8667C7.98126 14.849 7.96304 14.8311 7.94535 14.8128C7.52931 14.3834 7.04751 13.9052 6.625 13.4822C6.20213 13.0588 5.71826 12.577 5.30469 12.1446C4.89548 11.7166 4.41396 11.2558 3.98203 10.8508C3.96156 10.8316 3.94151 10.8118 3.92188 10.7913C3.67188 10.5306 3.54688 10.2177 3.54688 9.85263C3.54688 9.67532 3.5819 9.49776 3.65194 9.31995C3.72198 9.14213 3.82237 8.98594 3.95312 8.85138L5.73438 7.0679C6.68327 6.11782 8.22298 6.11782 9.17188 7.0679C9.25521 7.15133 9.34548 7.21652 9.4427 7.26345C9.53993 7.31039 9.63716 7.33385 9.73438 7.33385C9.86979 7.33385 9.9974 7.27388 10.1172 7.15394C10.237 7.034 10.2969 6.90543 10.2969 6.76824C10.2969 6.70727 10.2786 6.63767 10.2422 6.55945C10.2057 6.48123 10.1458 6.4004 10.0625 6.31696L7.82812 4.07979C7.69271 3.9442 7.53646 3.84251 7.35938 3.77472C7.18229 3.70693 7.00521 3.67303 6.82812 3.67303C6.65451 3.67303 6.4809 3.70693 6.3073 3.77472C6.13368 3.84251 5.97947 3.94346 5.84467 4.07755L3.46875 6.45776C3.32292 6.60378 3.22135 6.75761 3.16406 6.91927C3.10677 7.08093 3.07292 7.26345 3.0625 7.46683C3.05208 7.67021 3.09115 7.86838 3.17969 8.06133C3.20479 8.11604 3.23137 8.16928 3.25941 8.22106C3.37796 8.44 3.36699 8.7186 3.19104 8.89476C2.99354 9.09251 2.6671 9.08539 2.52457 8.84498C2.44824 8.71622 2.38015 8.57755 2.32031 8.42897C2.1901 8.10565 2.125 7.77712 2.125 7.44337C2.125 7.13048 2.1849 6.83062 2.30469 6.5438C2.42448 6.25699 2.59375 6.00407 2.8125 5.78504L5.17188 3.42272C5.40104 3.19326 5.66038 3.02378 5.94989 2.91427C6.23941 2.80476 6.53629 2.75 6.84052 2.75C7.14476 2.75 7.4401 2.80476 7.72656 2.91427C8.01302 3.02378 8.27083 3.19326 8.5 3.42272C8.65527 3.57818 8.90723 3.57818 9.0625 3.42272C9.29167 3.19326 9.55101 3.02378 9.84052 2.91427C10.13 2.80476 10.4269 2.75 10.7311 2.75C11.0354 2.75 11.3307 2.80476 11.6172 2.91427C11.9036 3.02378 12.1615 3.19326 12.3906 3.42272L15.1875 6.22309C15.4167 6.45254 15.5885 6.71346 15.7031 7.00584C15.8177 7.29821 15.875 7.59546 15.875 7.89757C15.875 8.19969 15.8177 8.49416 15.7031 8.78098C15.5885 9.06779 15.4167 9.32593 15.1875 9.55538L9.92188 14.8276C9.78646 14.9632 9.63265 15.0675 9.46044 15.1405C9.28823 15.2135 9.10904 15.25 8.92288 15.25Z",fill:"#242424"})),v8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 7.50009V10.5001C1.5 12.0001 2.25 12.7501 3.75 12.7501H4.8225C5.1 12.7501 5.3775 12.8326 5.6175 12.9751L7.8075 14.3476C9.6975 15.5326 11.25 14.6701 11.25 12.4426V5.55759C11.25 3.32259 9.6975 2.46759 7.8075 3.65259L5.6175 5.02509C5.3775 5.16759 5.1 5.25009 4.8225 5.25009H3.75C2.25 5.25009 1.5 6.00009 1.5 7.50009Z",stroke:"#242424",strokeWidth:1.4}),d.createElement("path",{d:"M13.5 6C14.835 7.7775 14.835 10.2225 13.5 12",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.8726 4.125C17.0401 7.0125 17.0401 10.9875 14.8726 13.875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),C8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.2967 2.63248L11.6167 5.27248C11.7967 5.63998 12.2767 5.99248 12.6817 6.05998L15.0742 6.45748C16.6042 6.71248 16.9642 7.82248 15.8617 8.91748L14.0017 10.7775C13.6867 11.0925 13.5142 11.7 13.6117 12.135L14.1442 14.4375C14.5642 16.26 13.5967 16.965 11.9842 16.0125L9.7417 14.685C9.3367 14.445 8.6692 14.445 8.2567 14.685L6.0142 16.0125C4.4092 16.965 3.4342 16.2525 3.8542 14.4375L4.3867 12.135C4.4842 11.7 4.3117 11.0925 3.9967 10.7775L2.1367 8.91748C1.0417 7.82248 1.3942 6.71248 2.9242 6.45748L5.3167 6.05998C5.7142 5.99248 6.1942 5.63998 6.3742 5.27248L7.6942 2.63248C8.4142 1.19998 9.5842 1.19998 10.2967 2.63248Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),x8=(e,t,n)=>({title:"about_profinansy",href:e+"/about",Icon:Ps,isFill:!1,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"about_us",href:e+"/about",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/about1.png",width:215,height:100}},{title:"support",href:"https://t.me/profinansy_help_bot?start=hz585hb",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/about2.png",width:110,height:95}}]},{type:"second",items:[{title:"vacancies_short",href:"https://sites.profinansy.ru/vacancies",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/about3.png",width:130,height:100}},{title:"profile_bank",href:t?e+"/login":e+"/account/bank-ideas",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club10.png",width:100,height:95}}]},{type:"third",items:[{title:"leave_review",href:t?e+"/login":e+"/account/reviews/all",icon:C8,isFill:!1},{title:"courses_how_use",href:e+"/training-section/training/use_wallet",icon:Ts,isFill:!1},{title:"referral_program",href:t?e+"/login":e+"/ref-account",icon:L1,isFill:!0,isNotVisible:!n},{title:"scammers_short",href:"https://profinansy.net/counteringfraud#schemes",icon:e0,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed4.png",href:e+"/subscribe",bannerCode:"header_aboutprofinansy"}],subPages:[{name:"referral_program",href:t?e+"/login":e+"/ref-account",locked:t,isNotVisible:!n},{name:"vacancies",href:"https://sites.profinansy.ru/vacancies"},{name:"scammers",href:"https://profinansy.net/counteringfraud#schemes"},{name:"about_company",href:"https://sites.profinansy.ru/about_company"},{name:"client_support",href:"https://t.me/profinansy_help_bot?start=hz585hb"}]}),b8=(e,t,n)=>({name:"about_company",subPages:[{name:"about_profinansy",Icon:m8,isFill:!1,href:"https://sites.profinansy.ru/about_company"},{name:"client_support",Icon:g8,isFill:!0,href:"https://t.me/profinansy_help_bot?start=hz585hb"},{name:"courses_how_use",Icon:Ts,isFill:!1,href:e+"/training-section/training/use_wallet",nowrap:!0},{name:"referral_program",Icon:L1,href:t?e+"/login":e+"/ref-account",isFill:!0,isNotVisible:!n},{name:"scammers_short",Icon:e0,href:"https://profinansy.net/counteringfraud#schemes",isFill:!1,nowrap:!0},{name:"vacancies_short",Icon:v8,isFill:!1,href:"https://sites.profinansy.ru/vacancies"}]}),y8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.87506 6.18756C9.98941 6.18756 10.1017 6.19257 10.2116 6.20242L9.87506 6.18756Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7326 14.0551C12.9351 14.19 13.1676 14.2576 13.4001 14.2576C13.5876 14.2576 13.7826 14.2126 13.9626 14.1301C14.3526 13.9201 14.6001 13.5151 14.6001 13.065V12.2326C15.4551 12.1275 16.2051 11.775 16.7451 11.2275C17.4201 10.5675 17.7876 9.60756 17.7876 8.52005V4.69507C17.7876 2.49007 16.2426 0.945068 14.0376 0.945068H7.6626C5.45764 0.945068 3.9126 2.49007 3.9126 4.69507V6.2896C2.54791 6.63141 1.6626 7.78628 1.6626 9.30008V12.3525C1.6626 13.2525 1.96262 14.0325 2.53262 14.6025C2.96759 15.0375 3.55261 15.315 4.21262 15.4201V15.9901C4.21262 16.3951 4.43015 16.7551 4.78262 16.9426C4.94009 17.0251 5.11258 17.0626 5.27765 17.0626C5.48758 17.0626 5.6976 17.0026 5.87759 16.8751L8.00006 15.4651H9.86755C11.0962 15.4651 12.0857 14.9021 12.5924 13.963L12.7326 14.0551ZM11.8551 12.3525V9.30754C11.8551 8.08504 11.0901 7.32007 9.86755 7.32007H4.77512C4.68512 7.32007 4.60263 7.32758 4.52014 7.33508C4.49734 7.33616 4.47473 7.336 4.45239 7.3346C3.4129 7.45655 2.7876 8.19144 2.7876 9.30008V12.3525C2.7876 12.9525 2.9751 13.455 3.32758 13.8075C3.67264 14.1525 4.17508 14.3401 4.77512 14.3401C5.08255 14.3401 5.33762 14.5951 5.33762 14.9026V15.8851L7.51263 14.4376C7.55667 14.4082 7.60611 14.3842 7.65829 14.3674C7.71277 14.3498 7.77017 14.3401 7.82758 14.3401H9.86755C10.8576 14.3401 11.5551 13.8451 11.7726 12.9751C11.8251 12.7876 11.8551 12.5775 11.8551 12.3525ZM10.2116 6.20242C11.8604 6.35002 12.9876 7.58445 12.9876 9.30008V12.3525C12.9801 12.525 12.9726 12.6901 12.9501 12.8476L13.4376 13.1251C13.4826 13.1026 13.4826 13.065 13.4826 13.0575V11.7C13.4826 11.3925 13.7376 11.1375 14.0451 11.1375C14.8326 11.1375 15.5001 10.8901 15.9576 10.4251C16.4301 9.96008 16.6701 9.30003 16.6701 8.51254V4.68756C16.6701 3.09006 15.6426 2.06256 14.0451 2.06256H7.6701C6.0726 2.06256 5.0451 3.09006 5.0451 4.68756V6.18756H9.86755",fill:"#454545"})),t0=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1791 16.2751C12.6255 16.2751 12.0099 16.0856 11.3812 15.6793L10.0048 14.8085C9.95339 14.7743 9.89725 14.7592 9.85908 14.7516C9.81481 14.7428 9.76853 14.7392 9.72519 14.7392C9.68186 14.7392 9.63558 14.7428 9.59131 14.7516C9.55314 14.7592 9.497 14.7743 9.44557 14.8085L8.07098 15.6781L8.07027 15.6786C6.98944 16.3681 5.97689 16.446 5.18555 15.9795C4.41032 15.5211 3.9502 14.5874 3.9502 13.2975V5.61775C3.9502 4.32587 4.28721 3.35968 4.89785 2.7172C5.50678 2.07651 6.41888 1.7251 7.63824 1.7251H11.8122C13.0315 1.7251 13.9436 2.07651 14.5525 2.7172C15.1632 3.35968 15.5002 4.32587 15.5002 5.61775V13.2975C15.5002 14.5996 15.0394 15.5313 14.2664 15.9785L14.2638 15.9801C13.9346 16.1765 13.5677 16.2751 13.1791 16.2751ZM6.53196 15.0616C6.82985 15.0075 7.15171 14.8711 7.477 14.664L8.85275 13.7935C9.11663 13.6324 9.41913 13.5552 9.72519 13.5552C10.0331 13.5552 10.3349 13.6333 10.5763 13.7824L10.5773 13.7829L11.9522 14.6529C12.2776 14.8601 12.5996 14.9965 12.8976 15.0507C13.195 15.1048 13.4832 15.079 13.7203 14.9406L13.7228 14.9391C13.9525 14.8011 14.1144 14.5662 14.2183 14.2868C14.3226 14.0062 14.3745 13.6651 14.3745 13.2866V5.61775C14.3745 4.72352 14.1965 4.03239 13.7574 3.56778C13.3156 3.10018 12.6545 2.90909 11.8017 2.90909H7.6278C6.775 2.90909 6.11397 3.10018 5.67209 3.56778C5.23306 4.03239 5.05498 4.72352 5.05498 5.61775V13.2975C5.05498 13.676 5.10695 14.0171 5.21125 14.2977C5.3151 14.5771 5.47704 14.812 5.70668 14.95L5.70921 14.9515C5.9463 15.0898 6.23451 15.1157 6.53196 15.0616Z",fill:"#454545"})),w8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{clipPath:"url(#clip0_11960_2530)"},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.67763 6.6825C4.67763 3.88933 6.94697 1.62 9.74013 1.62C12.5258 1.62 14.8026 3.89683 14.8026 6.6825V8.85C14.8026 9.01114 14.8391 9.24701 14.9082 9.49904C14.9765 9.74801 15.0647 9.96928 15.145 10.1098L16.005 11.5381C16.6841 12.67 16.1412 14.1446 14.89 14.5588C11.5421 15.6772 7.92979 15.6771 4.58188 14.5585L4.57979 14.5578C3.94799 14.344 3.47417 13.9018 3.26232 13.3297C3.05022 12.7569 3.12237 12.1122 3.46815 11.5375L4.32947 10.107C4.32966 10.1066 4.32985 10.1063 4.33004 10.106C4.41217 9.96792 4.50214 9.74746 4.57156 9.49735C4.6412 9.24649 4.67763 9.01097 4.67763 8.85V6.6825ZM9.74013 2.745C7.56829 2.745 5.80263 4.51066 5.80263 6.6825V8.85C5.80263 9.14652 5.74156 9.4885 5.65557 9.79826C5.56953 10.1082 5.44601 10.4311 5.29579 10.683L5.29453 10.6851L4.43211 12.1175C4.43208 12.1175 4.43214 12.1175 4.43211 12.1175C4.24547 12.4278 4.23505 12.7169 4.31732 12.939C4.39976 13.1617 4.59689 13.3756 4.93946 13.4918C8.05597 14.5328 11.4179 14.5327 14.5344 13.4915L14.5361 13.4909C15.0991 13.3048 15.3508 12.6351 15.0405 12.1173C15.0405 12.1172 15.0406 12.1174 15.0405 12.1173L14.1728 10.6761C14.0287 10.4264 13.9081 10.1058 13.8233 9.79658C13.7387 9.48798 13.6776 9.14635 13.6776 8.85V6.6825C13.6776 4.51816 11.9045 2.745 9.74013 2.745Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.82883 2.19471C8.12842 1.43025 8.87219 0.892456 9.74005 0.892456C10.6079 0.892456 11.3517 1.43025 11.6513 2.19471C11.7295 2.39427 11.6875 2.62092 11.543 2.77921C11.3985 2.9375 11.1766 2.99991 10.9707 2.94015C10.7627 2.87975 10.5527 2.83416 10.3399 2.80837L10.3378 2.80811C9.68947 2.72707 9.0769 2.77517 8.50957 2.9401C8.30372 2.99994 8.08176 2.93757 7.9372 2.77928C7.79264 2.621 7.75061 2.3943 7.82883 2.19471Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.05249 14.295C8.05249 14.7544 8.24359 15.1832 8.54774 15.4873C8.85188 15.7914 9.2806 15.9825 9.73999 15.9825C10.6668 15.9825 11.4275 15.2219 11.4275 14.295H12.5525C12.5525 15.8432 11.2882 17.1075 9.73999 17.1075C8.96938 17.1075 8.2581 16.7886 7.75224 16.2828C7.24639 15.7769 6.92749 15.0657 6.92749 14.295H8.05249Z",fill:"#454545"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_11960_2530"},d.createElement("rect",{width:18,height:18,fill:"white",transform:"translate(0.725098)"})))),mc=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 9C11.0711 9 12.75 7.32107 12.75 5.25C12.75 3.17893 11.0711 1.5 9 1.5C6.92893 1.5 5.25 3.17893 5.25 5.25C5.25 7.32107 6.92893 9 9 9Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M15.4426 16.5C15.4426 13.5975 12.5551 11.25 9.00011 11.25C5.44511 11.25 2.55762 13.5975 2.55762 16.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),k8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 13.5V11.25",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.55245 2.11489L2.35495 6.27739C1.76995 6.74239 1.39495 7.72489 1.52245 8.45989L2.51995 14.4299C2.69995 15.4949 3.71995 16.3574 4.79995 16.3574H13.2C14.2725 16.3574 15.3 15.4874 15.48 14.4299L16.4775 8.45989C16.5975 7.72489 16.2225 6.74239 15.645 6.27739L10.4475 2.12239C9.64495 1.47739 8.34745 1.47739 7.55245 2.11489Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),E8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M5.60986 13.7626L7.93486 15.5626C8.23486 15.8626 8.90986 16.0126 9.35986 16.0126H12.2099C13.1099 16.0126 14.0849 15.3376 14.3099 14.4376L16.1099 8.9626C16.4849 7.9126 15.8099 7.0126 14.6849 7.0126H11.6849C11.2349 7.0126 10.8599 6.6376 10.9349 6.1126L11.3099 3.7126C11.4599 3.0376 11.0099 2.2876 10.3349 2.0626C9.73486 1.8376 8.98486 2.1376 8.68486 2.5876L5.60986 7.1626",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10}),d.createElement("path",{d:"M1.78516 13.7625V6.41255C1.78516 5.36255 2.23516 4.98755 3.28516 4.98755H4.03516C5.08516 4.98755 5.53516 5.36255 5.53516 6.41255V13.7625C5.53516 14.8125 5.08516 15.1875 4.03516 15.1875H3.28516C2.23516 15.1875 1.78516 14.8125 1.78516 13.7625Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),L8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M14.895 6.06744C14.895 6.38244 14.8725 6.68994 14.835 6.98244C14.49 6.83244 14.115 6.74995 13.7175 6.74995C12.8025 6.74995 11.9925 7.19244 11.49 7.86744C10.98 7.19244 10.17 6.74995 9.255 6.74995C7.7175 6.74995 6.4725 8.00244 6.4725 9.55494C6.4725 11.5649 7.5375 13.1024 8.7225 14.1449C8.685 14.1674 8.64751 14.175 8.61001 14.19C8.38501 14.2725 8.01 14.2725 7.785 14.19C5.8425 13.5225 1.5 10.7624 1.5 6.06744C1.5 3.99744 3.16499 2.32495 5.21999 2.32495C6.44249 2.32495 7.52249 2.90994 8.19749 3.81744C8.87999 2.90994 9.96 2.32495 11.175 2.32495C13.23 2.32495 14.895 3.99744 14.895 6.06744Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5002 9.55499C16.5002 13.065 13.2527 15.135 11.7977 15.63C11.6252 15.69 11.3476 15.69 11.1751 15.63C10.5526 15.42 9.60016 14.9175 8.72266 14.145C7.53766 13.1025 6.47266 11.565 6.47266 9.55499C6.47266 8.00249 7.71765 6.75 9.25515 6.75C10.1701 6.75 10.9802 7.19249 11.4902 7.86749C11.9927 7.19249 12.8027 6.75 13.7177 6.75C14.1152 6.75 14.4902 6.8325 14.8352 6.9825C15.8177 7.4175 16.5002 8.39999 16.5002 9.55499Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),M8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.00005 5.91748L8.19755 7.31248C8.01755 7.61998 8.16755 7.87498 8.52005 7.87498H9.47255C9.83255 7.87498 9.97505 8.12998 9.79505 8.43748L9.00005 9.83248",fill:"#242424"}),d.createElement("path",{d:"M9.00005 5.91748L8.19755 7.31248C8.01755 7.61998 8.16755 7.87498 8.52005 7.87498H9.47255C9.83255 7.87498 9.97505 8.12998 9.79505 8.43748L9.00005 9.83248",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22502 13.5299V12.6599C4.50002 11.6174 3.08252 9.58489 3.08252 7.42489C3.08252 3.71239 6.49502 0.802387 10.35 1.64239C12.045 2.01739 13.53 3.14239 14.3025 4.69489C15.87 7.84489 14.22 11.1899 11.7975 12.6524V13.5224C11.7975 13.7399 11.88 14.2424 11.0775 14.2424H6.94502C6.12002 14.2499 6.22502 13.9274 6.22502 13.5299Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.375 16.4999C8.0925 16.0124 9.9075 16.0124 11.625 16.4999",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),$8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.5 4.64996V7.5C8.4075 7.5375 7.5375 8.4075 7.5 10.5H4.65C2.4 10.5 1.5 9.60004 1.5 7.35004V4.64996C1.5 2.39996 2.4 1.5 4.65 1.5H7.35C9.6 1.5 10.5 2.39996 10.5 4.64996Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.2199 4.40256C4.8224 4.13256 4.2974 4.13257 3.8999 4.41757",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.2199 4.40256C7.8224 4.13256 7.2974 4.13257 6.8999 4.41757",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.1201 8.565H4.3801C4.1551 8.565 3.9751 8.38497 3.9751 8.15997C3.9751 7.04247 4.8826 6.13501 6.0001 6.13501C6.4801 6.13501 6.9226 6.29998 7.2676 6.57748",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 10.65V13.35C16.5 15.6 15.6 16.5 13.35 16.5H10.65C8.4 16.5 7.5 15.6 7.5 13.35V10.5C7.5375 8.4075 8.4075 7.5375 10.5 7.5H13.35C15.6 7.5 16.5 8.39996 16.5 10.65Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.2199 10.215C10.8224 10.485 10.2974 10.485 9.8999 10.2",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.2199 10.215C13.8224 10.485 13.2974 10.485 12.8999 10.2",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.3801 12.135H13.6201C13.8451 12.135 14.0251 12.3149 14.0251 12.5399C14.0251 13.6574 13.1176 14.565 12.0001 14.565C10.8826 14.565 9.9751 13.6574 9.9751 12.5399C9.9751 12.3149 10.1551 12.135 10.3801 12.135Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),_8=(e,t)=>{const n=t===pn.en,r=[{name:"profile_favorite_instruments",href:e+"/account/favorite/instruments"},{name:"profile_favorite_portfolio",href:e+"/account/favorite/portfolios"},{name:"profile_favorite_publications",href:e+"/account/favorite/publications"},{name:"profile_favorite_investidea",href:e+"/account/favorite/investideas"},{name:"profile_favorite_selections",href:e+"/account/favorite/selections"},{name:"profile_favorite_news",href:e+"/account/favorite/news"},{name:"profile_favorite_podcasts",href:e+"/account/favorite/podcasts"},{name:"profile_favorite_investology",href:e+"/account/favorite/investing"}],o=["/account/favorite/news","/account/favorite/selections","/account/favorite/investing","/account/favorite/podcasts","/account/favorite/portfolios","/account/favorite/investideas","/account/favorite/publications"],i=["/account/favorite/instruments","/account/favorite/portfolios"];return{name:"profile_favorite",Icon:t0,isForeignAccess:!0,href:e+"/account/favorite/instruments",innerPages:n?i:o,subPages:n?r.slice(0,2):r}},Bs=(e,t=pn.ru)=>({title:"profile",name:"profile_profile",href:e+"/account/home",Icon:mc,subPages:[{name:"profile_main",isFill:!1,isForeignAccess:!0,Icon:k8,href:e+"/account/home"},{name:"profile_personal_data",isFill:!1,isForeignAccess:!0,Icon:mc,href:e+"/account/profile"},{name:"profile_publications",Icon:E8,isFill:!1,href:e+"/account/publications",hiddenFromChildren:!0},{Icon:L8,isFill:!1,name:"profile_children_cabinet",href:e+"/account/children",hiddenFromChildren:!0},{name:"profile_groups",Icon:Nd,href:e+"/account/chats"},{name:"profile_channels",Icon:y8,href:e+"/account/channels",hiddenFromChildren:!0},_8(e,t),{name:"profile_notifications",Icon:w8,isForeignAccess:!0,href:e+"/account/notifications"},{name:"profile_bank",Icon:M8,isFill:!1,isForeignAccess:!0,href:e+"/account/bank-ideas",hiddenFromChildren:!0},{name:"profile_reviews",Icon:$8,isFill:!1,isForeignAccess:!0,href:e+"/account/reviews/all",innerPages:[`${e}/account/reviews/my-reviews`],hiddenFromChildren:!0}]}),n0=(e,t,n,r,o,i,a,l)=>{const{isPaid:c,isGuest:u,isStandard:p}=As(o),{childCourseId:f}=M7({enabled:i===2}),{isForeignSite:g,locale:v}=ie(),{showMethodInvestIdeas:C}=ue();return m.useMemo(()=>{let x=I8(e,t,n,r,o,f,c,u,p,l,C);if(a){const b=Bs(e,v),y={name:b.title,href:b.href,config:{title:b.name,href:b.href,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[],subPages:b.subPages,Icon:b.Icon,isFill:!1}};x=[...x,y]}if(g||i===2){let b=x;return g&&(b=S8(x)),i===2&&(b=D8(x)),b}return x},[e,t,n,r,u,c,g,v,f,i,a,l,C])},I8=(e,t,n,r,o,i,a,l,c,u,p)=>[{name:"myMoney_goals",config:_7(e,l)},{name:"myMoney_budget",config:A7(e,l)},{name:"portfolios",config:T7(e,l,a,t,c)},{name:"investments",config:H7(e,t,l,a,c,u)},{name:"courses",config:Q7(e,t,n,l,r,i)},{name:"idv",config:q7(e,a,c)},{name:"method",config:r8(e,a,c,p)},{name:"club",config:N7(e)},{name:"feed",config:a8(t,e)},{name:"calculators",config:h8(e)},{name:"about_profinansy",config:x8(e,l,u)}],S8=e=>e,D8=e=>e.filter(t=>!t.config.hiddenFromChildren),O={animation_1:"cubic-bezier(0.05, 0, 0, 1)",animation_2:"cubic-bezier(0.165, 0.84, 0.44, 1)"},A8=(e,t,n)=>t?n.statesBackground.sideBarOpen:e?n.background.secondary:"transparent",j8=e=>e?"8px 8px 0 0":"8px",R8=h.styled.button`
|
|
227
|
+
`,et={ru:{main_menu:"Меню",investments:"Инвестиции",review:"Обзор",all_review:"Все рынки",dashboard_stocks:"Акции",dashboard_bonds:"Облигации",dashboard_etf:"Фонды",dashboard_crypto:"Криптовалюты",portfolios:"Портфели",portfolios_list:"Витрина портфелей",selections:"Готовые подборки",calendars:"Календари",dividend_calendar:"Дивиденды",economic_calendar:"Экономика",bonds_calendar:"Облигации",coupon_calendar:"Купоны",bond_redemption_calendar:"Погашения",bond_offer_calendar:"Оферты",bond_default_calendar:"Дефолты",report_calendar:"Отчетность",ipo_calendar:"IPO",ico_calendar:"ICO",air_calendar:"Аирдропы",screener:"Скринер",stocks_screener:"Акции",bonds_screener:"Облигации",etf_screener:"Фонды",crypto_screener:"Криптовалюты",futures_screener:"Фьючерсы",asset_comparison:"Сравнение активов",asset_comparison_stocks:"Акции",asset_comparison_bonds:"Облигации",asset_comparison_etf:"Фонды",passive_income:"Пасс. доход",passive_income_stocks:"Акции",passive_income_bonds:"Облигации",passive_income_common:"Общий",economic_cycles:"Эконом. циклы",heat_map:"Тепловые карты",rrg:"Индикатор трендов",brokers:"Брокеры",news:"Новости",calculators:"Калькуляторы",calculator_compound_interest:"Сложного процента",calculator_mortgage:"Ипотечный",calculator_credit:"Кредитный",calculator_credit_prepayment:"Досрочного погашения кредита",calculator_credit_prepayment_short:"Досрочного погашения",calculator_goals:"Расчёта целей",calculator_refinance:"Рефинансирования",calculator_bonds:"Облигаций",calculator_currency_converter:"Конвертер валют",calculator_savings:"Накоплений",calculator_deposit:"Вкладов",calculator_inflation:"Инфляции",calculator_vacation:"Отпускных",club:"Клуб",club_main:"Главная",club_feed:"Лента",club_about:"Путеводитель",club_schedule:"Расписание",club_invest_war:"Инвест-битва",club_ideas:"Инвестиционные идеи",club_choice:"Выбор pro.finansy",club_public_account:"Публичный счет Клуба",club_portfolios:"Модельные портфели",club_selections:"Готовые подборки",club_weekly_review:"Еженедельные обзоры",club_market_ru:"Российский рынок",club_bonds:"Облигации",club_roller_coaster:"Американские горки",club_review_companies:"Обзоры компаний",club_crypto:"Криптовалюты",club_portfolios_analytic:"Разбор портфелей",club_invited_speakers:"Приглашенные спикеры",club_roller_cink:"Курсы месяца",club_faq:"Вопросы и ответы",club_client_history:"Истории клиентов",club_offline_meetings:"Наши офлайн-встречи",club_kink:"Разбор фильмов",club_rkink:"Разбор книг",club_help:"Помощь",courses:"Обучение",courses_main:"Мои курсы",courses_shop:"Магазин PRO.FINANSY",courses_list:"Витрина",courses_basket:"Корзина",courses_orders:"Мои заказы",courses_how_use:"Как пользоваться profinansy.ru",courses_budget:"Навести порядок в бюджете",courses_portfolio:"Настроить портфель под себя",courses_investing:"Как выбрать инвестиции",courses_direct_line:"Мастер-классы",courses_leaders_table:"Таблица лидеров",courses_graduate:"Кабинет выпускника",courses_graduates:"Выпускникам",courses_graduates_home:"Главная",courses_graduates_events:"События",courses_child:"Детям и родителям",courses_blog:"Блог",courses_investology:"Инвестология",courses_library:"Библиотека инвестора",courses_podcasts:"Подкасты",courses_youtube:"YouTube (Смотри и учись)",courses_kfp:"Конструктор финансового плана",feed:"Лента",feed_community:"Сообщество",feed_blog:"Блог",feed_news:"Новости",feed_selections:"Подборки",feed_investology:"Инвестология",feed_podcasts:"Подкасты",feed_analytic:"Аналитические обзоры",feed_strategy:"Стратегии",feed_youtube:"YouTube",feed_new_features:"Новые фичи",feed_library:"Библиотека",idv:"Новичкам",idv_full_name:"Инвестиции доступны всем",idv_main:"Главная",idv_lessons:"Уроки",idv_tournament:"Турнир",idv_invest_simulator:"Инвест-тренажёр",idv_review:"Обзор",idv_compound:"Состав",idv_transactions:"Сделки",idv_analytics:"Аналитика",idv_search:"Поиск инвестиций",idv_search_stocks:"Акции",idv_search_bonds:"Облигации",idv_search_etf:"Фонды",idv_schedule:"Расписание",idv_tasks:"Задания",idv_achievements:"Мои достижения",method:"Метод",method_main:"Главная",method_lessons:"Уроки",method_tasks:"Задания",method_materials:"Материалы",method_tournament:"Турнир",method_achievements:"Мои достижения",method_kfp:"Конструктор",method_budget:"Мои деньги",method_invest_ideas:"Сервис инвест идей",method_screener:"Поиск инвестиций",method_portfolios:"Портфели",myMoney:"Мои деньги",myMoney_budget:"Бюджет",myMoney_accounts:"Счета",myMoney_history:"История",myMoney_analytics:"Аналитика",myMoney_plan_budget:"Планирование бюджета",myMoney_accumulations:"Накопления",myMoney_debts:"Займы",myMoney_credits:"Кредиты",myMoney_plans:"Планы",myMoney_goals:"Цели",myMoney_goals_active:"Активные",myMoney_goals_accomplished:"Достигнутые",myMoney_desires:"Желания",myMoney_desires_active:"Загаданные",myMoney_desires_accomplished:"Исполненные",myMoney_checklists:"Чек-листы",myMoney_checklists_all:"Все",myMoney_checklists_active:"Активные",myMoney_checklists_accomplished:"Завершенные",myMoney_checklists_templates:"Шаблоны",myMoney_checklists_folders:"Папки",more:"Ещё",partner:"Партнерская программа",vacancies:"Наши вакансии",scammers:"Как бороться с мошенниками",about_company:"О компании",client_support:"Клиентская поддержка",profile:"Личный кабинет",profile_profile:"Профиль",profile_main:"Главная",profile_personal_data:"Личные данные",profile_publications:"Мои публикации",profile_groups:"Учебные группы",profile_channels:"Каналы",profile_favorite:"Избранное",profile_favorite_instruments:"Инструменты",profile_favorite_portfolio:"Портфели",profile_favorite_publications:"Публикации",profile_favorite_investidea:"Инвестидеи",profile_favorite_selections:"Подборки",profile_favorite_news:"Новости",profile_favorite_podcasts:"Подкасты",profile_favorite_investology:"Инвестология",profile_bank:"Банк обращений",profile_notifications:"Уведомления",profile_reviews:"Отзывы",profile_children_cabinet:"Кабинет родителя",about_profinansy:"О pro.finansy",goals_create:"Поставить цель",goals_wish:"Загадать желание",goals_selection:"Подборка желаний",goals_checklist:"Новый чек-лист",budget_savings:"Накопления",budget_credits:"Кредиты",budget_loans:"Займы",budget_add_expense:"Добавить расход",budget_create_account:"Создать новый счёт",budget_add_payment:"Добавить платеж по кредиту",budget_add_plan:"Запланировать бюджет",budget_add_savings:"Внести накопление",portfolios_my:"Мои портфели",portfolios_planning:"Планирование сделок",portfolios_add_deal:"Добавить сделку",portfolios_create_new:"Создать новый портфель",market_review:"Обзор рынков",pas_income:"Пассивный доход",econom_cycles:"Экономические циклы",investideas:"Инвестидеи",club_about_full:"Путеводитель по клубу",idv_achievements_short:"Достижения",all_calculators:"Все калькуляторы",referral_program:"Приведи друга",about_us:"О нас",support:"Поддержка",vacancies_short:"Вакансии",scammers_short:"Борьба с мошенниками",coming_soon:"Скоро",shop:"Магазин",portfolios_public:"Публичные портфели",leave_review:"Оставить отзыв"},en:{main_menu:"Main menu",investments:"Investments",review:"Dashboard",all_review:"All markets",dashboard_stocks:"Stocks",dashboard_bonds:"Bonds",dashboard_etf:"Funds",dashboard_crypto:"Crypto",portfolios:"Portfolios",portfolios_list:"Portfolios list",selections:"Selections",calendars:"Calendars",dividend_calendar:"Dividends",economic_calendar:"Economic",bonds_calendar:"Bonds",coupon_calendar:"Coupons",bond_redemption_calendar:"Redemptions",bond_offer_calendar:"Offers",bond_default_calendar:"Defaults",report_calendar:"Reportability",ipo_calendar:"IPO",ico_calendar:"ICO",air_calendar:"Airdrops",screener:"Screener",stocks_screener:"Stocks",bonds_screener:"Bonds",etf_screener:"ETF",asset_comparison:"Assets comparison",asset_comparison_stocks:"Stocks",asset_comparison_bonds:"Bonds",asset_comparison_etf:"ETF",passive_income:"Passive income",passive_income_stocks:"Stocks",passive_income_bonds:"Bonds",passive_income_common:"Common",economic_cycles:"Economic cycles",heat_map:"Heat map",rrg:"Trend indicator",brokers:"Brokers",news:"News",calculators:"Calculators",calculator_compound_interest:"Compounds interest",calculator_mortgage:"Mortgage",calculator_credit:"Credit",calculator_credit_prepayment:"Loan prepayment",calculator_credit_prepayment_short:"Loan prepayment",calculator_goals:"Goals",calculator_refinance:"Refinance",calculator_bonds:"Bonds",calculator_currency_converter:"Currency converter",calculator_savings:"Saving",calculator_deposit:"Deposit",calculator_inflation:"Inflation",calculator_vacation:"Vacation",club:"Club",club_main:"Main",club_feed:"Feed",club_about:"About",club_schedule:"Schedule",club_invest_war:"Invest-battle",club_ideas:"Investment ideas",club_choice:"Choice pro.finansy",club_public_account:"Public Сlub account",club_portfolios:"Model portfolios",club_selections:"Selections",club_weekly_review:"Weekly reviews",club_market_ru:"Russian market",club_bonds:"Bonds",club_roller_coaster:"Roller coaster",club_review_companies:"Reviews companies",club_crypto:"Cryptocurrencies",club_portfolios_analytic:"Portfolios analytic",club_invited_speakers:"Invited speakers",club_roller_cink:"Courses of the month",club_faq:"FAQ",club_client_history:"Clients history",club_offline_meetings:"Our offline meetings",club_kink:"Film analysis",club_rkink:"Books analysis",club_help:"Help",courses:"Courses",courses_main:"My courses",courses_shop:"Shop PRO.FINANSY",courses_list:"List",courses_basket:"Basket",courses_orders:"My orders",courses_how_use:"How use profinansy.ru",courses_budget:"How use a budget",courses_portfolio:"How settings portfolio for you",courses_investing:"How choose investing",courses_direct_line:"Master classes",courses_leaders_table:"Leaders table",courses_graduate:"Graduate office",courses_graduates:"Graduates",courses_graduates_home:"Home",courses_graduates_events:"Events",courses_child:"Child and parents",courses_blog:"Blog",courses_investology:"Investology",courses_library:"Investor library",courses_podcasts:"Podcasts",courses_youtube:"YouTube",courses_kfp:"KFP",feed:"Feed",feed_community:"Community",feed_blog:"Blog",feed_news:"News",feed_selections:"Selections",feed_investology:"Investology",feed_podcasts:"Podcasts",feed_analytic:"Analytical reviews",feed_strategy:"Strategies",feed_youtube:"YouTube",feed_new_features:"New features",feed_library:"Library",idv:"Beginners",idv_full_name:"Investments available to everyone",idv_main:"Main",idv_lessons:"Lessons",idv_tournament:"Tournament",idv_invest_simulator:"Invest-simulator",idv_review:"Review",idv_compound:"Compound",idv_transactions:"Transactions",idv_analytics:"Analytics",idv_search:"Search investment",idv_search_stocks:"Stocks",idv_search_bonds:"Bonds",idv_search_etf:"Etf",idv_schedule:"Schedule",idv_tasks:"Tasks",idv_achievements:"My achievements",method:"Method",method_main:"Main",method_lessons:"Lessons",method_tasks:"Tasks",method_materials:"Materials",method_tournament:"Tournament",method_achievements:"My achievements",method_kfp:"KFP",method_budget:"My budget",method_invest_ideas:"Investment ideas service",method_screener:"Screener",method_portfolios:"Portfolios",myMoney:"My money",myMoney_budget:"Budget",myMoney_accounts:"Accounts",myMoney_history:"History",myMoney_analytics:"Analytics",myMoney_plan_budget:"Plan budget",myMoney_accumulations:"Accumulations",myMoney_debts:"Debts",myMoney_credits:"Credits",myMoney_plans:"Plans",myMoney_goals:"Goals",myMoney_goals_active:"Active",myMoney_goals_accomplished:"Accomplished",myMoney_desires:"Desires",myMoney_desires_active:"Active",myMoney_desires_accomplished:"Accomplished",myMoney_checklists:"Checklists",myMoney_checklists_all:"All",myMoney_checklists_active:"Active",myMoney_checklists_accomplished:"Accomplished",myMoney_checklists_templates:"Templates",myMoney_checklists_folders:"Folders",more:"More",partner:"Partner program",vacancies:"Our vacancies",scammers:"How to deal with scammers",about_company:"About company",client_support:"Client support",profile:"Personal account",profile_profile:"Profile",profile_main:"Main",profile_personal_data:"Personal data",profile_publications:"My publications",profile_groups:"Study groups",profile_channels:"Channels",profile_favorite:"Favourite",profile_favorite_instruments:"Instruments",profile_favorite_portfolio:"Portfolio",profile_favorite_publications:"Publications",profile_favorite_investidea:"Investidea",profile_favorite_selections:"Selections",profile_favorite_news:"News",profile_favorite_podcasts:"Podcasts",profile_favorite_investology:"Investology",profile_bank:"Bank of appeals",profile_notifications:"Notifications",profile_reviews:"Reviews",profile_children_cabinet:"Parent cabinet",about_profinansy:"About pro.finansy",goals_create:"Create goal",goals_wish:"Create wish",goals_selection:"Selection of wishes",goals_checklist:"New checklist",budget_savings:"Savings",budget_credits:"Credits",budget_loans:"Loans",budget_add_expense:"Add expense",budget_create_account:"Create new account",budget_add_payment:"Add credit payment",budget_add_plan:"Plan budget",budget_add_savings:"Add savings",portfolios_my:"My portfolios",portfolios_planning:"Deal planning",portfolios_add_deal:"Add deal",portfolios_create_new:"Create new portfolio",market_review:"Market review",pas_income:"Passive income",econom_cycles:"Economic cycles",investideas:"Investideas",club_about_full:"Club guide",idv_achievements_short:"Achievements",all_calculators:"All calculators",referral_program:"Refer a friend",about_us:"About us",support:"Support",vacancies_short:"Vacancies",scammers_short:"How to deal with scammers",coming_soon:"Coming soon",shop:"Shop",portfolios_public:"Public portfolios",leave_review:"Leave a review"}};var Zt=(e=>(e.en="en",e.ru="ru",e))(Zt||{});const Ld=m.createContext({locale:Zt.ru,isForeignSite:!1}),k7=({config:e,children:t})=>{const n=E7(e.locale);return s.jsx(Ld.Provider,{value:{...e,isForeignSite:n},children:t})},ie=()=>{const e=m.useContext(Ld);if(!e)throw new Error("useConfig must be used within a ConfigProvider");return e},E7=e=>{const[t,n]=m.useState(e===Zt.en);return m.useEffect(()=>{if(typeof window>"u")return;if(window.location.hostname==="localhost"){n(e===Zt.en);return}const r=window.location.hostname.endsWith(".ae"),o=window.location.pathname.startsWith("/en/"),i=r||o||e===Zt.en;n(i)},[e]),t},As=e=>({isGuest:e==="guest",isAuth:e!=="guest",isPaid:e==="paid",isStandard:e==="standard"}),nt=(e,t,n,r)=>{const o=n.baseUrl||s7,i={method:t,credentials:"include",headers:{"Content-Type":"application/json",token:n.token}};return r&&(i.body=JSON.stringify(r)),fetch(`${o}${e}`,{...i}).then(a=>a.json()).then(a=>a).catch(a=>{throw a})},L7=e=>nt("/student/courses","GET",e),M7=({enabled:e})=>{const[t,n]=m.useState(null),{user:{token:r}}=ue(),o=m.useCallback(async()=>{const{data:i}=await L7({token:r,baseUrl:Ss}),a=i?.find(l=>!l.is_free);a&&n(a.unique_id)},[r]);return m.useEffect(()=>{e&&o()},[e,o]),{childCourseId:e?t:null}},Md=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.94413 1.10227C5.08958 0.956816 5.30282 0.902358 5.5002 0.960256L6.46687 1.24381L7.43354 0.960256C7.63093 0.902358 7.84417 0.956816 7.98962 1.10227C8.13507 1.24772 8.18953 1.46096 8.13163 1.65834L7.84807 2.62501L8.13163 3.59169C8.18953 3.78907 8.13507 4.00231 7.98962 4.14776C7.84417 4.29321 7.63093 4.34767 7.43354 4.28977L6.46687 4.00621L5.5002 4.28977C5.30282 4.34767 5.08958 4.29321 4.94413 4.14776C4.79868 4.00231 4.74422 3.78907 4.80212 3.59169L5.08567 2.62501L4.80212 1.65834C4.74422 1.46096 4.79868 1.24772 4.94413 1.10227ZM6.1714 2.32954L6.21163 2.46669C6.24195 2.57006 6.24195 2.67997 6.21163 2.78334L6.1714 2.92048L6.30854 2.88026C6.41192 2.84993 6.52183 2.84993 6.6252 2.88026L6.76234 2.92048L6.72212 2.78334C6.69179 2.67997 6.69179 2.57006 6.72212 2.46669L6.76234 2.32954L6.6252 2.36977C6.52183 2.40009 6.41192 2.40009 6.30854 2.36977L6.1714 2.32954ZM12.0691 2.97722C12.9113 2.13505 14.2725 2.13505 15.1146 2.97722C15.9568 3.81939 15.9568 5.18055 15.1146 6.02272L14.0012 7.13611C13.9999 7.1375 13.9985 7.13888 13.9971 7.14025C13.9958 7.14163 13.9944 7.143 13.993 7.14436L5.36462 15.7727C4.52245 16.6149 3.1613 16.6149 2.31913 15.7727C1.47696 14.9305 1.47696 13.5694 2.31913 12.7272L12.0691 2.97722ZM13.5994 5.94699L14.3191 5.22722C14.722 4.82439 14.722 4.17555 14.3191 3.77272C13.9163 3.36989 13.2675 3.36989 12.8646 3.77272L12.1449 4.49249L13.5994 5.94699ZM11.3494 5.28798L12.8039 6.74249L4.56913 14.9772C4.1663 15.3801 3.51745 15.3801 3.11462 14.9772C2.71179 14.5744 2.71179 13.9255 3.11462 13.5227L11.3494 5.28798ZM1.94413 5.60227C2.08958 5.45682 2.30282 5.40236 2.5002 5.46026L3.46687 5.74381L4.43354 5.46026C4.63093 5.40236 4.84417 5.45682 4.98962 5.60227C5.13507 5.74772 5.18953 5.96096 5.13163 6.15834L4.84807 7.12501L5.13163 8.09169C5.18953 8.28907 5.13507 8.50231 4.98962 8.64776C4.84417 8.79321 4.63093 8.84767 4.43354 8.78977L3.46687 8.50622L2.5002 8.78977C2.30282 8.84767 2.08958 8.79321 1.94413 8.64776C1.79868 8.50231 1.74422 8.28907 1.80212 8.09169L2.08567 7.12501L1.80212 6.15834C1.74422 5.96096 1.79868 5.74772 1.94413 5.60227ZM3.1714 6.82954L3.21163 6.96669C3.24195 7.07006 3.24195 7.17997 3.21163 7.28334L3.1714 7.42049L3.30854 7.38026C3.41192 7.34993 3.52183 7.34993 3.6252 7.38026L3.76234 7.42049L3.72212 7.28334C3.69179 7.17997 3.69179 7.07006 3.72212 6.96669L3.76234 6.82954L3.6252 6.86977C3.52183 6.90009 3.41192 6.90009 3.30854 6.86977L3.1714 6.82954ZM13.1941 9.35227C13.3396 9.20682 13.5528 9.15236 13.7502 9.21026L14.7169 9.49381L15.6835 9.21026C15.8809 9.15236 16.0942 9.20682 16.2396 9.35227C16.3851 9.49772 16.4395 9.71096 16.3816 9.90834L16.0981 10.875L16.3816 11.8417C16.4395 12.0391 16.3851 12.2523 16.2396 12.3978C16.0942 12.5432 15.8809 12.5977 15.6835 12.5398L14.7169 12.2562L13.7502 12.5398C13.5528 12.5977 13.3396 12.5432 13.1941 12.3978C13.0487 12.2523 12.9942 12.0391 13.0521 11.8417L13.3357 10.875L13.0521 9.90834C12.9942 9.71096 13.0487 9.49772 13.1941 9.35227ZM14.4214 10.5795L14.4616 10.7167C14.492 10.8201 14.492 10.93 14.4616 11.0333L14.4214 11.1705L14.5585 11.1303C14.6619 11.0999 14.7718 11.0999 14.8752 11.1303L15.0123 11.1705L14.9721 11.0333C14.9418 10.93 14.9418 10.8201 14.9721 10.7167L15.0123 10.5795L14.8752 10.6198C14.7718 10.6501 14.6619 10.6501 14.5585 10.6198L14.4214 10.5795Z",fill:"#454545"})),Gi=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 11.8125C5.895 11.8125 3.375 9.375 3.375 6.375C3.375 3.375 5.895 0.9375 9 0.9375C12.105 0.9375 14.625 3.375 14.625 6.375C14.625 9.375 12.105 11.8125 9 11.8125ZM9 2.0625C6.5175 2.0625 4.5 3.9975 4.5 6.375C4.5 8.7525 6.5175 10.6875 9 10.6875C11.4825 10.6875 13.5 8.7525 13.5 6.375C13.5 3.9975 11.4825 2.0625 9 2.0625Z",fill:"#242424"}),d.createElement("path",{d:"M11.715 17.0625C11.505 17.0625 11.295 17.01 11.0775 16.9125L9.05999 15.96C9.03749 15.9525 8.955 15.9525 8.925 15.96L6.92251 16.905C6.48001 17.115 6.01501 17.1075 5.65501 16.875C5.28001 16.635 5.06251 16.1925 5.07001 15.6675L5.0775 10.1325C5.0775 9.82498 5.3175 9.55498 5.64 9.56998C5.9475 9.56998 6.2025 9.82498 6.2025 10.1325L6.19501 15.6675C6.19501 15.8325 6.24001 15.915 6.26251 15.9225C6.27751 15.93 6.34501 15.9375 6.45001 15.885L8.46 14.9325C8.7825 14.7825 9.22501 14.7825 9.54751 14.9325L11.565 15.885C11.67 15.9375 11.7375 15.93 11.7525 15.9225C11.775 15.9075 11.82 15.825 11.82 15.6675V9.99747C11.82 9.68997 12.075 9.43497 12.3825 9.43497C12.69 9.43497 12.945 9.68997 12.945 9.99747V15.6675C12.945 16.2 12.7275 16.635 12.3525 16.875C12.1575 17.0025 11.94 17.0625 11.715 17.0625Z",fill:"#242424"})),$d=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.27734 6.65997H13.2148",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.78516 6.65997L5.34766 7.22247L7.03516 5.53497",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9.27734 11.91H13.2148",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.78516 11.91L5.34766 12.4725L7.03516 10.785",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),$7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.98242 11.025L8.10742 12.15L11.1074 9.15002",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.5 4.5H10.5C12 4.5 12 3.75 12 3C12 1.5 11.25 1.5 10.5 1.5H7.5C6.75 1.5 6 1.5 6 3C6 4.5 6.75 4.5 7.5 4.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 3.01501C14.4975 3.15001 15.75 4.07251 15.75 7.50002V12C15.75 15 15 16.5 11.25 16.5H6.75C3 16.5 2.25 15 2.25 12V7.50002C2.25 4.08001 3.5025 3.15001 6 3.01501",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),_7=(e,t)=>({title:"myMoney_goals",href:t?e+"/login":e+"/my-money/goals/active",isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,Icon:Gi,columns:[{type:"first",items:[{title:"myMoney_goals",href:t?e+"/login":e+"/my-money/goals/active",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/goals1.png",width:180,height:170}}]},{type:"second",items:[{title:"myMoney_desires",href:t?e+"/login":e+"/my-money/desires/active",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/goals2.png",width:110,height:100}},{title:"myMoney_checklists",href:t?e+"/login":e+"/my-money/checklists/all",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/goals3.png",width:110,height:100}}]},{type:"third",items:[{title:"goals_create",href:t?e+"/login":e+"/my-money/goals/active?create=true",icon:Gi,isFill:!0},{title:"goals_wish",href:t?e+"/login":e+"/my-money/desires/active?create=true",icon:Md,isFill:!0},{title:"goals_selection",href:t?e+"/login":e+"/my-money/desires/active?selection_create=true",icon:$d,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/RightContent.png",bannerCode:"header_goals"}],subPages:[{name:"myMoney_goals",href:t?e+"/login":e+"/my-money/goals/active",locked:t},{name:"myMoney_desires",href:t?e+"/login":e+"/my-money/desires/active",locked:t},{name:"myMoney_checklists",href:t?e+"/login":e+"/my-money/checklists/all",locked:t}]}),_d=(e,t)=>({name:"myMoney_goals",Icon:Gi,href:t?e+"/login":e+"/my-money/goals/active",subPages:[{name:"myMoney_goals",Icon:Gi,isFill:!0,isForeignAccess:!0,href:t?e+"/login":e+"/my-money/goals/active",locked:t,subPages:[{name:"myMoney_goals_active",href:t?e+"/login":e+"/my-money/goals/active"},{name:"myMoney_goals_accomplished",href:t?e+"/login":e+"/my-money/goals/accomplished"}]},{name:"myMoney_desires",Icon:Md,isFill:!0,isForeignAccess:!0,href:t?e+"/login":e+"/my-money/desires/active",locked:t},{name:"myMoney_checklists",Icon:$7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/my-money/checklists/all",locked:t,subPages:[{name:"myMoney_checklists_all",href:t?e+"/login":e+"/my-money/checklists/all"},{name:"myMoney_checklists_templates",href:t?e+"/login":e+"/my-money/checklists/templates"},{name:"myMoney_checklists_folders",href:t?e+"/login":e+"/my-money/checklists/folders"}]}]}),fo=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.9375 9C0.9375 4.56434 4.56434 0.9375 9 0.9375C13.4357 0.9375 17.0625 4.56434 17.0625 9C17.0625 13.4357 13.4357 17.0625 9 17.0625C4.56434 17.0625 0.9375 13.4357 0.9375 9ZM9 2.0625C5.18566 2.0625 2.0625 5.18566 2.0625 9C2.0625 12.8143 5.18566 15.9375 9 15.9375C12.8143 15.9375 15.9375 12.8143 15.9375 9C15.9375 5.18566 12.8143 2.0625 9 2.0625Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4375 9C5.4375 8.68934 5.68934 8.4375 6 8.4375H12C12.3107 8.4375 12.5625 8.68934 12.5625 9C12.5625 9.31066 12.3107 9.5625 12 9.5625H6C5.68934 9.5625 5.4375 9.31066 5.4375 9Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5.4375C9.31066 5.4375 9.5625 5.68934 9.5625 6V12C9.5625 12.3107 9.31066 12.5625 9 12.5625C8.68934 12.5625 8.4375 12.3107 8.4375 12V6C8.4375 5.68934 8.68934 5.4375 9 5.4375Z",fill:"#242424"})),js=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.25 14.625H15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.25 9.375H15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.25 4.125H15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 4.125L3 4.875L5.25 2.625",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 9.375L3 10.125L5.25 7.875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 14.625L3 15.375L5.25 13.125",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Rs=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M12.12 7.5C12.12 7.5 12.0075 8.25 9.68255 11.25C7.50005 14.0775 10.6576 16.23 11.0326 16.4775C11.0551 16.4925 11.0776 16.4925 11.1076 16.4775C11.6176 16.1625 17.295 12.51 12.12 7.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.3208 5.84248C10.3208 4.11748 9.64582 2.54248 8.97082 1.64248C8.74582 1.41748 8.3708 1.49248 8.2958 1.79248C7.9958 2.91748 7.0958 5.31748 4.9208 8.16748C2.1458 11.7675 4.69581 15.6675 7.32081 16.4175C8.74581 16.7925 6.94582 15.6675 6.72082 13.3425C6.49582 10.4175 10.3208 8.24248 10.3208 5.84248Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Rr=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.91332 2.66324L5.89528 4.68749H12.6174C12.518 4.43583 12.364 4.20006 12.1539 3.99334L12.1485 3.98799L10.838 2.66246C10.03 1.86226 8.72098 1.86252 7.91332 2.66324ZM4.68081 4.31226L7.11976 1.8658C8.36659 0.628065 10.3855 0.62807 11.6323 1.8658L11.6361 1.8695L12.946 3.19441C13.5263 3.76706 13.8388 4.49997 13.8754 5.2604C13.8836 5.43029 13.8145 5.59477 13.6874 5.7078C13.5603 5.82083 13.3889 5.87029 13.2211 5.84233C13.0862 5.81984 12.9345 5.81249 12.7511 5.81249H5.25105C5.06786 5.81249 4.89404 5.82557 4.72909 5.85094C4.52123 5.88292 4.31289 5.79628 4.18901 5.62633C4.06512 5.45639 4.04639 5.23153 4.14044 5.04343C4.27849 4.76732 4.46899 4.52413 4.68081 4.31226C4.68091 4.31216 4.68071 4.31236 4.68081 4.31226Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75 11.8125C2.40316 11.8125 1.3125 12.9032 1.3125 14.25C1.3125 14.707 1.44039 15.1375 1.66378 15.4997L1.6685 15.5074C2.08836 16.2132 2.86059 16.6875 3.75 16.6875C4.63941 16.6875 5.4117 16.2133 5.83156 15.5074L5.83616 15.4997C6.05955 15.1374 6.1875 14.707 6.1875 14.25C6.1875 12.9032 5.09684 11.8125 3.75 11.8125ZM0.1875 14.25C0.1875 12.2818 1.78184 10.6875 3.75 10.6875C5.71816 10.6875 7.3125 12.2818 7.3125 14.25C7.3125 14.9164 7.12627 15.5495 6.79613 16.0864C6.18047 17.1185 5.04897 17.8125 3.75 17.8125C2.45103 17.8125 1.31952 17.1184 0.70386 16.0864C0.373726 15.5495 0.1875 14.9164 0.1875 14.25Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.07129 14.2346C2.07129 13.924 2.32313 13.6721 2.63379 13.6721H4.86879C5.17945 13.6721 5.43129 13.924 5.43129 14.2346C5.43129 14.5453 5.17945 14.7971 4.86879 14.7971H2.63379C2.32313 14.7971 2.07129 14.5453 2.07129 14.2346Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75 12.5772C4.06066 12.5772 4.3125 12.829 4.3125 13.1397V15.3821C4.3125 15.6928 4.06066 15.9446 3.75 15.9446C3.43934 15.9446 3.1875 15.6928 3.1875 15.3821V13.1397C3.1875 12.829 3.43934 12.5772 3.75 12.5772Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 5.8125C5.06681 5.8125 4.89298 5.82558 4.72803 5.85096L4.71254 5.85312C3.88205 5.95734 3.22919 6.31291 2.78216 6.83738C2.33398 7.36321 2.0625 8.09465 2.0625 9V11.1135C2.56335 10.8426 3.13765 10.6875 3.75 10.6875C5.71816 10.6875 7.3125 12.2818 7.3125 14.25C7.3125 14.8557 7.15863 15.434 6.88266 15.9375H12.75C13.7472 15.9375 14.5344 15.6076 15.071 15.071C15.6076 14.5344 15.9375 13.7472 15.9375 12.75V9C15.9375 8.08853 15.6613 7.35252 15.206 6.825C14.7518 6.29867 14.0889 5.94406 13.2475 5.84623C13.2383 5.84516 13.2292 5.84386 13.22 5.84234C13.0851 5.81985 12.9334 5.8125 12.75 5.8125H5.25ZM4.56475 4.73785C4.78735 4.70403 5.01592 4.6875 5.25 4.6875H12.75C12.9523 4.6875 13.1706 4.69482 13.3909 4.73033C14.4788 4.85981 15.4046 5.33318 16.0577 6.09C16.7125 6.84873 17.0625 7.85648 17.0625 9V12.75C17.0625 14.0028 16.6424 15.0906 15.8665 15.8665C15.0906 16.6424 14.0028 17.0625 12.75 17.0625H5.7225C5.486 17.0625 5.27476 16.9146 5.1939 16.6923C5.11304 16.4701 5.17983 16.221 5.36103 16.069C5.54324 15.9162 5.70387 15.7263 5.82912 15.5116L5.83616 15.4997C6.05955 15.1374 6.1875 14.707 6.1875 14.25C6.1875 12.9032 5.09684 11.8125 3.75 11.8125C3.01987 11.8125 2.3686 12.1341 1.92238 12.6415C1.76779 12.8172 1.5205 12.8789 1.30148 12.7963C1.08246 12.7137 0.9375 12.5041 0.9375 12.27V9C0.9375 7.86535 1.28102 6.86429 1.92597 6.10762C2.57052 5.35139 3.48609 4.87493 4.56475 4.73785Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1875 10.875C12.1875 9.73934 13.1143 8.8125 14.25 8.8125H16.5C16.8107 8.8125 17.0625 9.06434 17.0625 9.375C17.0625 9.68566 16.8107 9.9375 16.5 9.9375H14.25C13.7357 9.9375 13.3125 10.3607 13.3125 10.875C13.3125 11.3893 13.7357 11.8125 14.25 11.8125H16.5C16.8107 11.8125 17.0625 12.0643 17.0625 12.375C17.0625 12.6857 16.8107 12.9375 16.5 12.9375H14.25C13.1143 12.9375 12.1875 12.0107 12.1875 10.875Z",fill:"#454545"})),Id=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 9.45752H14.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.25 7.7101V13.0726C14.2275 15.2101 13.6425 15.7501 11.415 15.7501H4.33502C2.07002 15.7501 1.5 15.1876 1.5 12.9526V7.7101C1.5 5.6851 1.9725 5.0326 3.75 4.9276C3.93 4.9201 4.12502 4.9126 4.33502 4.9126H11.415C13.68 4.9126 14.25 5.4751 14.25 7.7101Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 5.0475V10.29C16.5 12.315 16.0275 12.9675 14.25 13.0725V7.71C14.25 5.475 13.68 4.9125 11.415 4.9125H4.33502C4.12502 4.9125 3.93 4.92 3.75 4.9275C3.7725 2.79 4.35752 2.25 6.58502 2.25H13.665C15.93 2.25 16.5 2.8125 16.5 5.0475Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.9375 13.3574H5.22748",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.83252 13.3574H9.41252",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),I7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.42749 11.4526L11.3325 6.54761",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.73501 7.77761C7.24449 7.77761 7.65749 7.36461 7.65749 6.85513C7.65749 6.34564 7.24449 5.93262 6.73501 5.93262C6.22553 5.93262 5.8125 6.34564 5.8125 6.85513C5.8125 7.36461 6.22553 7.77761 6.73501 7.77761Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.64 12.0674C12.1495 12.0674 12.5625 11.6544 12.5625 11.1449C12.5625 10.6354 12.1495 10.2224 11.64 10.2224C11.1305 10.2224 10.7175 10.6354 10.7175 11.1449C10.7175 11.6544 11.1305 12.0674 11.64 12.0674Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),S7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 10.875C10.0355 10.875 10.875 10.0355 10.875 9C10.875 7.96447 10.0355 7.125 9 7.125C7.96447 7.125 7.125 7.96447 7.125 9C7.125 10.0355 7.96447 10.875 9 10.875Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.875 7.125V10.875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.75 16.5C5.40685 16.5 6.75 15.1569 6.75 13.5C6.75 11.8431 5.40685 10.5 3.75 10.5C2.09315 10.5 0.75 11.8431 0.75 13.5C0.75 15.1569 2.09315 16.5 3.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.9375 12.5625V13.26C3.9375 13.5225 3.80251 13.77 3.57001 13.905L3 14.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 11.4V6.75C1.5 4.125 3 3 5.25 3H12.75C15 3 16.5 4.125 16.5 6.75V11.25C16.5 13.875 15 15 12.75 15H6.375",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Sd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.625 6.81738H15.375",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.4075 11.8275L11.7525 14.4825C11.6475 14.5875 11.55 14.7825 11.5275 14.925L11.385 15.9375C11.3325 16.305 11.5875 16.56 11.955 16.5075L12.9675 16.365C13.11 16.3425 13.3125 16.245 13.41 16.14L16.065 13.485C16.5225 13.0275 16.74 12.495 16.065 11.82C15.3975 11.1525 14.865 11.37 14.4075 11.8275Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.025 12.21C14.25 13.02 14.88 13.65 15.69 13.875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375V9",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.99661 10.2749H9.00335",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 10.2749H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 12.5249H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),D7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 9C16.5 13.14 13.14 16.5 9 16.5C4.86 16.5 1.5 13.14 1.5 9C1.5 4.86 4.86 1.5 9 1.5C13.14 1.5 16.5 4.86 16.5 9Z",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.7825 11.3853L9.4575 9.99781C9.0525 9.75781 8.7225 9.18031 8.7225 8.70781V5.63281",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),w1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M13.74 9.00001C15.69 9.00001 16.5 8.25001 15.78 5.79001C15.2925 4.13251 13.8675 2.70751 12.21 2.22001C9.75 1.50001 9 2.31001 9 4.26001V6.42001C9 8.25001 9.75 9.00001 11.25 9.00001H13.74Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.9991 11.025C14.3016 14.4975 10.9716 17.0175 7.18409 16.4025C4.34159 15.945 2.05409 13.6575 1.58909 10.815C0.981593 7.04251 3.48659 3.71251 6.94409 3.00751",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),A7=(e,t)=>({title:"myMoney_budget",href:t?e+"/login":e+"/wallet/accounts",Icon:Rr,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"myMoney_accounts",textWidth:190,href:t?e+"/login":e+"/wallet/accounts",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet1.png",width:174,height:174}}]},{type:"second",items:[{title:"budget_savings",href:t?e+"/login":e+"/wallet/accumulations",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet2.png",width:96,height:66}},{title:"budget_loans",href:t?e+"/login":e+"/wallet/debts",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet4.png",width:95,height:89}},{title:"budget_credits",href:t?e+"/login":e+"/wallet/credits",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/bugdet3.png",width:81,height:81}}]},{type:"third",items:[{title:"budget_add_expense",href:t?e+"/login":e+"/wallet/accounts?expenses=true",icon:fo,isFill:!0},{title:"budget_create_account",href:t?e+"/login":e+"/wallet/accounts?create=true",icon:fo,isFill:!0},{title:"budget_add_plan",href:t?e+"/login":e+"/wallet/plans?plan=true",icon:fo,isFill:!0},{title:"budget_add_payment",href:t?e+"/login":e+"/wallet/credits?payments=true",icon:js,isFill:!1},{title:"budget_add_savings",href:t?e+"/login":e+"/wallet/accumulations?savings=true",icon:Rs,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/budget6.png",bannerCode:"header_budget"}],subPages:[{name:"myMoney_accounts",href:t?e+"/login":e+"/wallet/accounts",locked:t},{name:"myMoney_accumulations",href:t?e+"/login":e+"/wallet/accumulations",locked:t},{name:"myMoney_debts",href:t?e+"/login":e+"/wallet/debts",locked:t},{name:"myMoney_credits",href:t?e+"/login":e+"/wallet/credits",locked:t},{name:"myMoney_plans",href:t?e+"/login":e+"/wallet/plans",locked:t}]}),Dd=(e,t)=>({name:"myMoney_budget",Icon:Rr,href:t?e+"/login":e+"/wallet",subPages:[{name:"myMoney_accounts",Icon:Id,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/accounts",locked:t},{name:"myMoney_accumulations",Icon:Rr,isFill:!0,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/accumulations",locked:t},{name:"myMoney_debts",Icon:S7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/debts",locked:t},{name:"myMoney_credits",Icon:I7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/credits",locked:t},{name:"myMoney_plans",Icon:Sd,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/plans",locked:t}]}),j7=(e,t)=>({name:"myMoney_budget",Icon:Rr,href:t?e+"/login":e+"/wallet",subPages:[{name:"myMoney_accounts",Icon:Id,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/accounts",locked:t},{name:"myMoney_history",Icon:D7,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/history",locked:t},{name:"myMoney_analytics",Icon:w1,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/analytics",locked:t},{name:"myMoney_plan_budget",Icon:Sd,isFill:!1,isForeignAccess:!0,href:t?e+"/login":e+"/wallet/plans",locked:t}]}),Tr=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.59533 3.03778C6.56347 3.28182 6.56256 3.55916 6.56256 3.9V3.9375H11.4376V3.9C11.4376 3.55916 11.4367 3.28182 11.4048 3.03778C11.3736 2.7988 11.3175 2.63793 11.2373 2.522C11.0999 2.32313 10.7472 2.0625 9.60006 2.0625H8.40006C7.25293 2.0625 6.90025 2.32313 6.7628 2.522C6.68267 2.63793 6.62653 2.7988 6.59533 3.03778ZM5.43756 3.88051V3.9375H5.25008C3.58281 3.9375 2.4443 4.32343 1.78024 5.11292C1.12262 5.89475 1.06008 6.92188 1.16547 7.87961L1.72749 13.875L1.72829 13.8824C1.8109 14.6535 2.00442 15.4988 2.69287 16.1278C3.37623 16.7521 4.43495 17.0625 6.00008 17.0625H12.0001C13.5652 17.0625 14.6239 16.7521 15.3073 16.1278C15.9957 15.4988 16.1893 14.6535 16.2719 13.8824L16.79 8.35611C16.7968 8.32054 16.8003 8.28433 16.8002 8.24802L16.8347 7.87959C16.9401 6.92187 16.8775 5.89475 16.2199 5.11292C15.5559 4.32343 14.4174 3.9375 12.7501 3.9375H12.5626V3.88051C12.5626 3.56287 12.5626 3.21592 12.5203 2.89214C12.4765 2.55666 12.3827 2.20051 12.1628 1.88237C11.7002 1.21312 10.8529 0.9375 9.60006 0.9375H8.40006C7.14719 0.9375 6.29988 1.21312 5.83733 1.88237C5.61745 2.20051 5.5236 2.55666 5.4798 2.89214C5.43752 3.21591 5.43754 3.56286 5.43756 3.88051ZM15.7159 7.76063L15.6988 7.9429C14.2791 8.92906 12.6945 9.56536 11.0626 9.86003V9.75L11.0626 9.72535C11.0626 9.5595 11.0626 9.39143 11.0474 9.25428C11.0319 9.11449 10.9903 8.88228 10.8041 8.696C10.6178 8.50972 10.3856 8.46819 10.2458 8.45266C10.1086 8.43742 9.94056 8.43745 9.7747 8.43749L9.75007 8.4375H8.25007L8.22543 8.43749C8.05958 8.43745 7.8915 8.43742 7.75436 8.45266C7.61456 8.46819 7.38235 8.50972 7.19607 8.696C7.00979 8.88228 6.96826 9.11449 6.95273 9.25428C6.93749 9.39143 6.93753 9.55951 6.93756 9.72536L6.93757 9.75V9.87588C5.3136 9.6022 3.73071 8.97416 2.30724 8.00505L2.28521 7.76999L2.28417 7.76063C2.1878 6.88972 2.28739 6.2577 2.64118 5.83708C2.98962 5.42282 3.71486 5.0625 5.25008 5.0625H6.00006H12.0001H12.7501C14.2853 5.0625 15.0105 5.42282 15.359 5.83708C15.7128 6.2577 15.8123 6.88971 15.7159 7.76063ZM2.43971 9.41823L2.84727 13.7662C2.92231 14.4632 3.07765 14.9555 3.45167 15.2972C3.83144 15.6442 4.55022 15.9375 6.00008 15.9375H12.0001C13.4499 15.9375 14.1687 15.6442 14.5485 15.2972C14.9225 14.9555 15.0779 14.4632 15.1529 13.7662L15.5655 9.36511C14.1528 10.2031 12.6184 10.7471 11.05 11.0037C11.0458 11.0585 11.0403 11.1133 11.033 11.1673C11.0023 11.3942 10.9351 11.6518 10.7705 11.8867C10.4195 12.3879 9.79988 12.5625 9.00007 12.5625C8.20464 12.5625 7.58656 12.3901 7.23427 11.8931C7.06863 11.6594 7.00007 11.4027 6.96848 11.1758C6.9612 11.1234 6.95563 11.0704 6.95138 11.0174C5.38475 10.7795 3.85197 10.2424 2.43971 9.41823ZM8.06257 10.5207V10.5225C8.06257 10.7336 8.06441 10.8889 8.08275 11.0207C8.10038 11.1474 8.12838 11.2091 8.15211 11.2425C8.17858 11.2799 8.31049 11.4375 9.00007 11.4375C9.69276 11.4375 9.82311 11.2784 9.84901 11.2414C9.87288 11.2073 9.90081 11.1447 9.91816 11.0165C9.93612 10.8837 9.93756 10.7283 9.93757 10.5173V10.5113V9.75C9.93757 9.67766 9.93755 9.61663 9.93697 9.56309C9.88343 9.56251 9.8224 9.5625 9.75007 9.5625H8.25007C8.17773 9.5625 8.1167 9.56251 8.06316 9.56309C8.06258 9.61663 8.06257 9.67766 8.06257 9.75V10.5207Z",fill:"#454545"})),R7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M13.605 16.2151C12.945 16.4101 12.165 16.5001 11.25 16.5001H6.75002C5.83502 16.5001 5.05502 16.4101 4.39502 16.2151C4.56002 14.2651 6.56252 12.7275 9.00002 12.7275C11.4375 12.7275 13.44 14.2651 13.605 16.2151Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 14.085 2.355 15.6375 4.395 16.215C4.56 14.265 6.5625 12.7275 9 12.7275C11.4375 12.7275 13.44 14.265 13.605 16.215C15.645 15.6375 16.5 14.085 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5ZM9 10.6275C7.515 10.6275 6.315 9.42001 6.315 7.93501C6.315 6.45001 7.515 5.25 9 5.25C10.485 5.25 11.685 6.45001 11.685 7.93501C11.685 9.42001 10.485 10.6275 9 10.6275Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.6849 7.93501C11.6849 9.42001 10.4849 10.6275 8.99994 10.6275C7.51494 10.6275 6.31494 9.42001 6.31494 7.93501C6.31494 6.45001 7.51494 5.25 8.99994 5.25C10.4849 5.25 11.6849 6.45001 11.6849 7.93501Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),T7=(e,t,n,r,o)=>({title:"portfolios",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",Icon:Tr,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"portfolios_my",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",unavailable:!n&&!o,locked:t,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios1.png",width:170,height:170},description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"}]},{type:"second",items:[{title:"portfolios_list",textWidth:150,href:r+"/portfolios?side_menu_type=portfolios",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios2.png",width:154,height:93}},{title:"portfolios_planning",href:null,textWidth:150,comingSoon:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios3.png",width:110,height:95}}]},{type:"third",items:[{title:"portfolios_add_deal",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios?addDeal=true",icon:fo,locked:t,unavailable:!n&&!o,isFill:!0,description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"},{title:"portfolios_create_new",href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios?addPortfolio=true",icon:fo,locked:t,unavailable:!n&&!o,isFill:!0,description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios4.png",bannerCode:"header_portfolios"}],subPages:[{name:"portfolios_my",unavailable:!n&&!o,locked:t,href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"},{name:"portfolios_list",href:r+"/portfolios?side_menu_type=portfolios"}]}),Ad=(e,t,n,r,o)=>({name:"portfolios",Icon:Tr,href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",subPages:[{name:"portfolios_my",Icon:Tr,isFill:!0,isForeignAccess:!0,href:!n&&!o?"https://profinansy.ru/payment":e+"/market/portfolios",locked:t,unavailable:!n&&!o,description:"Создавайте портфели и управляйте ими в удобном формате. Синхронизируйте аккаунт с брокером и отслеживайте доходность в реальном времени",imagePlug:"https://data.profinansy.ru/api/data/a3i6tlg5u/portfoliosWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6jnznk/portfoliosMob.png"},{name:"portfolios_list",Icon:R7,isFill:!1,href:r+"/portfolios?side_menu_type=portfolios"}]}),jd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.65885 7.88136L3.05157 11.2439C2.77715 11.4998 2.34573 11.4937 2.07877 11.2304C1.80011 10.9555 1.80832 10.5079 2.09687 10.2431L6.6619 6.05344C6.94066 5.7976 7.3706 5.79036 7.65809 6.03665L9.57461 7.67855C9.88237 7.94222 10.3483 7.91287 10.6194 7.61273L14.9195 2.85286C15.1842 2.55981 15.6452 2.54772 15.9254 2.82649C16.1844 3.08418 16.1923 3.49674 15.9434 3.76388L10.623 9.47279C10.3491 9.7667 9.88686 9.79099 9.58275 9.52746L7.66243 7.8634C7.37349 7.61302 6.93837 7.6208 6.65885 7.88136Z",fill:"#242424"}),d.createElement("path",{d:"M6.65885 11.8244L3.05157 15.187C2.77715 15.4428 2.34573 15.4368 2.07877 15.1735C1.80011 14.8986 1.80832 14.451 2.09687 14.1861L6.6619 9.99652C6.94066 9.74068 7.3706 9.73344 7.65809 9.97973L9.57461 11.6216C9.88237 11.8853 10.3483 11.8559 10.6194 11.5558L14.9195 6.79594C15.1842 6.50289 15.6452 6.4908 15.9254 6.76957C16.1844 7.02726 16.1923 7.43982 15.9434 7.70696L10.623 13.4159C10.3491 13.7098 9.88686 13.7341 9.58275 13.4705L7.66243 11.8065C7.37349 11.5561 6.93837 11.5639 6.65885 11.8244Z",fill:"#242424"})),k1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 1.5V14.25C1.5 15.495 2.505 16.5 3.75 16.5H16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.75 12.75L7.1925 8.73001C7.7625 8.07001 8.775 8.025 9.39 8.6475L10.1025 9.36001C10.7175 9.97501 11.73 9.9375 12.3 9.2775L15.75 5.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Rd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.4766 11.25V6.75C16.4766 3 14.9766 1.5 11.2266 1.5H6.72656C2.97656 1.5 1.47656 3 1.47656 6.75V11.25C1.47656 15 2.97656 16.5 6.72656 16.5H11.2266C14.9766 16.5 16.4766 15 16.4766 11.25Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.7906 2.4375L2.45312 14.775",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.0449 13.5V9.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.875 11.625H10.125",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.875 5.625H4.125",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Td=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.2775 1.6125L16.0275 4.31249C16.29 4.41749 16.5 4.73248 16.5 5.00998V7.49999C16.5 7.91249 16.1625 8.24999 15.75 8.24999H2.25C1.8375 8.24999 1.5 7.91249 1.5 7.49999V5.00998C1.5 4.73248 1.71 4.41749 1.9725 4.31249L8.7225 1.6125C8.8725 1.5525 9.1275 1.5525 9.2775 1.6125Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 16.5H1.5V14.25C1.5 13.8375 1.8375 13.5 2.25 13.5H15.75C16.1625 13.5 16.5 13.8375 16.5 14.25V16.5Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M15 13.5V8.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M0.75 16.5H17.25",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 6.375C9.62132 6.375 10.125 5.87132 10.125 5.25C10.125 4.62868 9.62132 4.125 9 4.125C8.37868 4.125 7.875 4.62868 7.875 5.25C7.875 5.87132 8.37868 6.375 9 6.375Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Fd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M3.2002 0.650391H10.2998C10.8705 0.650391 11.2597 0.650232 11.5605 0.674805C11.8539 0.698769 12.0063 0.742352 12.1133 0.796875C12.3671 0.926276 12.5737 1.13286 12.7031 1.38672C12.7576 1.49373 12.8012 1.64615 12.8252 1.93945C12.8498 2.24033 12.8496 2.62951 12.8496 3.2002V17.3496H3.2002C2.62951 17.3496 2.24033 17.3498 1.93945 17.3252C1.64615 17.3012 1.49373 17.2576 1.38672 17.2031C1.13286 17.0737 0.926276 16.8671 0.796875 16.6133C0.742352 16.5063 0.698769 16.3539 0.674805 16.0605C0.650232 15.7597 0.650391 15.3705 0.650391 14.7998V3.2002C0.650391 2.62951 0.650232 2.24033 0.674805 1.93945C0.698769 1.64615 0.742352 1.49373 0.796875 1.38672C0.926276 1.13286 1.13286 0.926276 1.38672 0.796875C1.49373 0.742352 1.64615 0.698769 1.93945 0.674805C2.24033 0.650232 2.62951 0.650391 3.2002 0.650391Z",stroke:"#242424",strokeWidth:1.3}),d.createElement("line",{x1:8.55234,y1:3.63571,x2:10.7645,y2:3.63571,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:8.55234,y1:6.20712,x2:10.7645,y2:6.20712,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:3.28477,y1:8.77859,x2:10.7653,y2:8.77859,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:3.28477,y1:11.35,x2:10.7653,y2:11.35,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("line",{x1:3.28477,y1:13.9214,x2:10.7653,y2:13.9214,stroke:"#242424",strokeWidth:1.3,strokeLinecap:"round"}),d.createElement("mask",{id:"path-7-inside-1_20644_36846",fill:"white"},d.createElement("rect",{x:2.63477,y:3,width:3.95122,height:3.85714,rx:1})),d.createElement("rect",{x:2.63477,y:3,width:3.95122,height:3.85714,rx:1,stroke:"#242424",strokeWidth:2.6,mask:"url(#path-7-inside-1_20644_36846)"}),d.createElement("path",{d:"M14.7998 4.07898C15.3705 4.07898 15.7597 4.07882 16.0605 4.10339C16.3539 4.12736 16.5063 4.17094 16.6133 4.22546C16.8671 4.35486 17.0737 4.56145 17.2031 4.81531C17.2576 4.92232 17.3012 5.07473 17.3252 5.36804C17.3498 5.66892 17.3496 6.05809 17.3496 6.62878V13.2001C17.3496 14.0506 17.3497 14.6495 17.3115 15.1171C17.2739 15.5771 17.2028 15.8533 17.0938 16.0673C16.8684 16.5093 16.5085 16.8684 16.0664 17.0936C15.8525 17.2026 15.5771 17.2738 15.1172 17.3114C14.6496 17.3496 14.0507 17.3505 13.2002 17.3505H13.0254V4.07898H14.7998Z",stroke:"#242424",strokeWidth:1.3})),Pd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6875 16.5C1.6875 16.1893 1.93934 15.9375 2.25 15.9375H15.75C16.0607 15.9375 16.3125 16.1893 16.3125 16.5C16.3125 16.8107 16.0607 17.0625 15.75 17.0625H2.25C1.93934 17.0625 1.6875 16.8107 1.6875 16.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6875 7.035C1.6875 6.31184 2.27684 5.7225 3 5.7225H4.19998C4.92314 5.7225 5.51248 6.31184 5.51248 7.035V13.5C5.51248 14.2232 4.92314 14.8125 4.19998 14.8125H3C2.27684 14.8125 1.6875 14.2232 1.6875 13.5V7.035ZM3 6.8475C2.89816 6.8475 2.8125 6.93316 2.8125 7.035V13.5C2.8125 13.6018 2.89816 13.6875 3 13.6875H4.19998C4.30182 13.6875 4.38748 13.6018 4.38748 13.5V7.035C4.38748 6.93316 4.30182 6.8475 4.19998 6.8475H3Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.08751 4.6425C7.08751 3.91934 7.67685 3.33 8.40001 3.33H9.59999C10.3232 3.33 10.9125 3.91934 10.9125 4.6425V13.5C10.9125 14.2232 10.3232 14.8125 9.59999 14.8125H8.40001C7.67685 14.8125 7.08751 14.2232 7.08751 13.5V4.6425ZM8.40001 4.455C8.29817 4.455 8.21251 4.54066 8.21251 4.6425V13.5C8.21251 13.6018 8.29817 13.6875 8.40001 13.6875H9.59999C9.70183 13.6875 9.78749 13.6018 9.78749 13.5V4.6425C9.78749 4.54066 9.70183 4.455 9.59999 4.455H8.40001Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4875 2.25C12.4875 1.52684 13.0769 0.9375 13.8 0.9375H15C15.7232 0.9375 16.3125 1.52684 16.3125 2.25V13.5C16.3125 14.2232 15.7232 14.8125 15 14.8125H13.8C13.0769 14.8125 12.4875 14.2232 12.4875 13.5V2.25ZM13.8 2.0625C13.6982 2.0625 13.6125 2.14816 13.6125 2.25V13.5C13.6125 13.6018 13.6982 13.6875 13.8 13.6875H15C15.1018 13.6875 15.1875 13.6018 15.1875 13.5V2.25C15.1875 2.14816 15.1018 2.0625 15 2.0625H13.8Z",fill:"#454545"})),F7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 9C16.5 4.86 13.14 1.5 9 1.5C4.86 1.5 1.5 4.86 1.5 9C1.5 13.14 4.86 16.5 9 16.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.99995 2.25H6.74995C5.28745 6.63 5.28745 11.37 6.74995 15.75H5.99995",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.25 2.25C11.9775 4.44 12.345 6.72 12.345 9",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 12V11.25C4.44 11.9775 6.72 12.345 9 12.345",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.25 6.74995C6.63 5.28745 11.37 5.28745 15.75 6.74995",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.65 16.05C14.9755 16.05 16.05 14.9755 16.05 13.65C16.05 12.3245 14.9755 11.25 13.65 11.25C12.3245 11.25 11.25 12.3245 11.25 13.65C11.25 14.9755 12.3245 16.05 13.65 16.05Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 16.5L15.75 15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Bd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 4.875H12",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.25 4.875H1.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.5 6.75C8.53553 6.75 9.375 5.91053 9.375 4.875C9.375 3.83947 8.53553 3 7.5 3C6.46447 3 5.625 3.83947 5.625 4.875C5.625 5.91053 6.46447 6.75 7.5 6.75Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 13.125H12.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 13.125H1.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.5 15C11.5355 15 12.375 14.1605 12.375 13.125C12.375 12.0895 11.5355 11.25 10.5 11.25C9.46447 11.25 8.625 12.0895 8.625 13.125C8.625 14.1605 9.46447 15 10.5 15Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),P7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12 1.5V3.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.65 16.05C14.9755 16.05 16.05 14.9755 16.05 13.65C16.05 12.3245 14.9755 11.25 13.65 11.25C12.3245 11.25 11.25 12.3245 11.25 13.65C11.25 14.9755 12.3245 16.05 13.65 16.05Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 16.5L15.75 15.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.625 6.81738H15.375",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.0275 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375V9.75",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.99661 10.2749H9.00335",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 10.2749H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22073 12.5249H6.22747",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),B7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.0625C5.16852 2.0625 2.0625 5.16852 2.0625 9C2.0625 12.8315 5.16852 15.9375 9 15.9375C12.8315 15.9375 15.9375 12.8315 15.9375 9C15.9375 5.16852 12.8315 2.0625 9 2.0625ZM0.9375 9C0.9375 4.5472 4.5472 0.9375 9 0.9375C13.4528 0.9375 17.0625 4.5472 17.0625 9C17.0625 13.4528 13.4528 17.0625 9 17.0625C4.5472 17.0625 0.9375 13.4528 0.9375 9Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4375 2.25C5.4375 1.93934 5.68934 1.6875 6 1.6875H6.75C6.93086 1.6875 7.10069 1.77447 7.20641 1.92122C7.31212 2.06797 7.34083 2.2566 7.28354 2.42815C5.85965 6.69252 5.85965 11.3075 7.28354 15.5718C7.34083 15.7434 7.31212 15.932 7.20641 16.0788C7.10069 16.2255 6.93086 16.3125 6.75 16.3125H6C5.68934 16.3125 5.4375 16.0607 5.4375 15.75C5.4375 15.4448 5.6806 15.1963 5.98375 15.1877C4.79292 11.1496 4.79292 6.85042 5.98375 2.81227C5.6806 2.80367 5.4375 2.55522 5.4375 2.25Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0718 1.71646C11.3665 1.61807 11.6852 1.77718 11.7835 2.07185C13.2847 6.56748 13.2847 11.4325 11.7835 15.9282C11.6852 16.2228 11.3665 16.3819 11.0718 16.2835C10.7772 16.1852 10.6181 15.8665 10.7165 15.5718C12.1403 11.3075 12.1403 6.69252 10.7165 2.42815C10.6181 2.13348 10.7772 1.81485 11.0718 1.71646Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.92122 10.7936C2.06797 10.6879 2.2566 10.6592 2.42815 10.7165C6.69252 12.1403 11.3075 12.1403 15.5718 10.7165C15.7434 10.6592 15.932 10.6879 16.0788 10.7936C16.2255 10.8993 16.3125 11.0691 16.3125 11.25V12C16.3125 12.3107 16.0607 12.5625 15.75 12.5625C15.4448 12.5625 15.1963 12.3194 15.1877 12.0163C11.1496 13.2071 6.85042 13.2071 2.81227 12.0163C2.80367 12.3194 2.55522 12.5625 2.25 12.5625C1.93934 12.5625 1.6875 12.3107 1.6875 12V11.25C1.6875 11.0691 1.77447 10.8993 1.92122 10.7936Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5718 7.28354C11.3075 5.85965 6.69252 5.85965 2.42815 7.28354C2.13348 7.38193 1.81485 7.22282 1.71646 6.92815C1.61807 6.63348 1.77718 6.31485 2.07185 6.21646C6.56748 4.71535 11.4325 4.71535 15.9282 6.21646C16.2228 6.31485 16.3819 6.63348 16.2835 6.92815C16.1852 7.22282 15.8665 7.38193 15.5718 7.28354Z",fill:"#242424"})),H7=(e,t,n,r,o,i)=>({title:"investments",href:n?e+"/login":e+"/market/dashboard",Icon:Pd,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"market_review",href:n?e+"/login":e+"/market/dashboard",locked:n,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments1.png",width:104,height:90}},{title:"calendars",textWidth:150,locked:n,href:n?e+"/login":e+"/market/calendars/dividends",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments3.png",width:108,height:98}}]},{type:"second",items:[{title:"screener",href:!r&&!o?"https://profinansy.ru/payment":e+"/market/screener/stocks",unavailable:!r&&!o,locked:n,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments2.png",width:110,height:95},description:"Быстро находите акции, фонды и облигации, фильтруйте их по доходности и рискам и собирайте идеи для портфеля в удобном формате",imagePlug:"https://data.profinansy.ru/api/data/a3i6kzaw2/screenerWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6pvx2g/screenerMob.png"},{title:"pas_income",href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",unavailable:!r,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/investments4.png",width:150,height:105},description:"Формируйте пассивный доход и наблюдайте, как растут ваши вложения. Сравнивайте стратегии и выбирайте ту, что подходит именно вам",imagePlug:"https://data.profinansy.ru/api/data/a3i6rhjvx/passiveWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6il6zl/passiveMob.png"}]},{type:"third",items:[{title:"asset_comparison",href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",icon:Rd,unavailable:!r,locked:n,isFill:!1,description:"Сравнивайте акции, облигации и другие инструменты на одном экране, оценивая доходность, риски и перспективы с помощью графиков и аналитики",imagePlug:"https://data.profinansy.ru/api/data/a3i6qbobw/asset_comparisonWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6lbwfj/asset_comparisonMob.png"},{title:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",icon:jd,unavailable:!r,isFill:!0,description:"Отслеживайте тренды акций и фондов: индикатор показывает фазу актива — рост или спад, помогая принимать своевременные решения",imagePlug:"https://data.profinansy.ru/api/data/a3i6ohrri/trend_indicatorWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6gb6g4/trend_indicatorMob.png"},{title:"selections",href:t+"/selections?side_menu_type=investment",icon:js,isFill:!1},{title:"heat_map",href:n?e+"/login":e+"/market/heatmap",icon:Rs,isFill:!1},{title:"econom_cycles",href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",icon:k1,unavailable:!r,isFill:!1,description:"Изучайте экономические циклы — рост, пик, спад, рецессию — и используйте их для более взвешенных инвестиционных решений",imagePlug:"https://data.profinansy.ru/api/data/a2qotcj7e/econom_circle.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6mvp6z/economic_circleMob.png"},{title:"brokers",href:e+"/market/brokers-list",icon:Td,isFill:!1},{title:"news",href:t+"/news?side_menu_type=investment",icon:Fd,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/portfolios4.png",bannerCode:"header_investments"}],subPages:[{name:"review",isForeignAccess:!0,href:n?e+"/login":e+"/market/dashboard",locked:n,subPages:[{name:"all_review",href:n?e+"/login":e+"/market/dashboard",locked:n,innerPages:["/market/dashboard/europe","/market/dashboard/asia"]},{name:"dashboard_stocks",href:n?e+"/login":e+"/market/dashboard/rus-stocks",locked:n,innerPages:["/market/dashboard/usa-stocks","/market/dashboard/rus-stocks"]},{name:"dashboard_bonds",href:n?e+"/login":e+"/market/dashboard/rus-bonds",locked:n,innerPages:["/market/dashboard/world-bonds","/market/dashboard/rus-bonds/yield-curve-map","/market/dashboard/world-bonds/yield-curve-map"]},{name:"dashboard_etf",href:n?e+"/login":e+"/market/dashboard/rus-etf",locked:n,innerPages:["/market/dashboard/usa-etf","/market/dashboard/rus-etf"]},{name:"dashboard_crypto",href:n?e+"/login":e+"/market/dashboard/crypto",locked:n,innerPages:["/market/dashboard/crypto"]}]},{name:"selections",href:t+"/selections?side_menu_type=investment"},{name:"calendars",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,subPages:[{name:"dividend_calendar",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,innerPages:["/market/calendars/retroDividends"]},{name:"economic_calendar",href:n?e+"/login":e+"/market/calendars/economic",locked:n},{name:"bonds_calendar",href:n?e+"/login":e+"/market/calendars/bonds",locked:n},{name:"coupon_calendar",href:n?e+"/login":e+"/market/calendars/coupons",locked:n},{name:"bond_redemption_calendar",href:n?e+"/login":e+"/market/calendars/amortizations",locked:n},{name:"bond_offer_calendar",href:n?e+"/login":e+"/market/calendars/offers",locked:n},{name:"bond_default_calendar",href:n?e+"/login":e+"/market/calendars/defaults",locked:n},{name:"report_calendar",href:n?e+"/login":e+"/market/calendars/reports",locked:n,isNotVisible:!i},{name:"ipo_calendar",href:n?e+"/login":e+"/market/calendars/IPO",locked:n,crownShown:!r}]},{name:"screener",isForeignAccess:!0,href:!r&&!o?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o,isHit:!0,description:"Быстро находите акции, фонды и облигации, фильтруйте их по доходности и рискам и собирайте идеи для портфеля в удобном формате",imagePlug:"https://data.profinansy.ru/api/data/a3i6kzaw2/screenerWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6pvx2g/screenerMob.png",innerPages:["/market/screener"],subPages:[{name:"stocks_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o},{name:"bonds_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/bonds",locked:n,unavailable:!r&&!o},{name:"etf_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/etfs",locked:n,unavailable:!r&&!o},{name:"crypto_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/crypto",locked:n,unavailable:!r&&!o},{name:"futures_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/futures",locked:n,unavailable:!r&&!o}]},{name:"asset_comparison",href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Сравнивайте акции, облигации и другие инструменты на одном экране, оценивая доходность, риски и перспективы с помощью графиков и аналитики",imagePlug:"https://data.profinansy.ru/api/data/a3i6qbobw/asset_comparisonWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6lbwfj/asset_comparisonMob.png",innerPages:["/market/asset-comparison"],subPages:[{name:"asset_comparison_stocks",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/stocks",locked:n,unavailable:!r},{name:"asset_comparison_bonds",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/bonds",locked:n,unavailable:!r},{name:"asset_comparison_etf",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/etfs",locked:n,unavailable:!r}]},{name:"passive_income",isForeignAccess:!0,href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",locked:n,unavailable:!r,isHit:!0,description:"Формируйте пассивный доход и наблюдайте, как растут ваши вложения. Сравнивайте стратегии и выбирайте ту, что подходит именно вам",imagePlug:"https://data.profinansy.ru/api/data/a3i6rhjvx/passiveWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6il6zl/passiveMob.png",innerPages:["/market/passive-income/common"],subPages:[{name:"passive_income_stocks",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/stocks",locked:n,isHit:!0,unavailable:!r},{name:"passive_income_bonds",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/bonds",locked:n,unavailable:!r},{name:"passive_income_common",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/common",locked:n,unavailable:!r}]},{name:"econom_cycles",href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Изучайте экономические циклы — рост, пик, спад, рецессию — и используйте их для более взвешенных инвестиционных решений",imagePlug:"https://data.profinansy.ru/api/data/a2qotcj7e/econom_circle.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6mvp6z/economic_circleMob.png"},{name:"heat_map",href:n?e+"/login":e+"/market/heatmap",locked:n},{name:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",locked:n,unavailable:!r,isNew:!0,description:"Отслеживайте тренды акций и фондов: индикатор показывает фазу актива — рост или спад, помогая принимать своевременные решения",imagePlug:"https://data.profinansy.ru/api/data/a3i6ohrri/trend_indicatorWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6gb6g4/trend_indicatorMob.png"},{name:"brokers",href:e+"/market/brokers-list"},{name:"news",href:t+"/news?side_menu_type=investment"}]}),Hd=(e,t,n,r,o,i)=>({name:"investments",Icon:Pd,href:n?e+"/login":e+"/market/dashboard",subPages:[{name:"market_review",Icon:F7,isFill:!1,isForeignAccess:!0,href:n?e+"/login":e+"/market/dashboard",locked:n,subPages:[{name:"all_review",href:n?e+"/login":e+"/market/dashboard",locked:n,innerPages:["/market/dashboard/europe","/market/dashboard/asia"]},{name:"dashboard_stocks",href:n?e+"/login":e+"/market/dashboard/rus-stocks",locked:n,innerPages:["/market/dashboard/usa-stocks","/market/dashboard/rus-stocks"]},{name:"dashboard_bonds",href:n?e+"/login":e+"/market/dashboard/rus-bonds",locked:n,innerPages:["/market/dashboard/world-bonds","/market/dashboard/rus-bonds/yield-curve-map","/market/dashboard/world-bonds/yield-curve-map"]},{name:"dashboard_etf",href:n?e+"/login":e+"/market/dashboard/rus-etf",locked:n,innerPages:["/market/dashboard/usa-etf","/market/dashboard/rus-etf"]},{name:"dashboard_crypto",href:n?e+"/login":e+"/market/dashboard/crypto",locked:n,innerPages:["/market/dashboard/crypto"]}]},{name:"screener",Icon:Bd,isFill:!1,isForeignAccess:!0,href:!r&&!o?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o,description:"Быстро находите акции, фонды и облигации, фильтруйте их по доходности и рискам и собирайте идеи для портфеля в удобном формате",imagePlug:"https://data.profinansy.ru/api/data/a3i6kzaw2/screenerWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6pvx2g/screenerMob.png",innerPages:["/market/screener"],subPages:[{name:"stocks_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r&&!o},{name:"bonds_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/bonds",locked:n,unavailable:!r&&!o},{name:"etf_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/etfs",locked:n,unavailable:!r&&!o},{name:"crypto_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/crypto",locked:n,unavailable:!r&&!o},{name:"futures_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/futures",locked:n,unavailable:!r&&!o}]},{name:"feed_selections",Icon:js,isFill:!1,href:t+"/selections?side_menu_type=investment"},{name:"pas_income",Icon:Rr,isFill:!0,isForeignAccess:!0,href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Формируйте пассивный доход и наблюдайте, как растут ваши вложения. Сравнивайте стратегии и выбирайте ту, что подходит именно вам",imagePlug:"https://data.profinansy.ru/api/data/a3i6rhjvx/passiveWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6il6zl/passiveMob.png",innerPages:["/market/passive-income/common"],subPages:[{name:"passive_income_stocks",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/stocks",locked:n,isHit:!0,unavailable:!r},{name:"passive_income_bonds",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/bonds",locked:n,unavailable:!r},{name:"passive_income_common",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/common",locked:n,unavailable:!r}]},{name:"asset_comparison",Icon:Rd,isForeignAccess:!0,isFill:!1,href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Сравнивайте акции, облигации и другие инструменты на одном экране, оценивая доходность, риски и перспективы с помощью графиков и аналитики",imagePlug:"https://data.profinansy.ru/api/data/a3i6qbobw/asset_comparisonWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6lbwfj/asset_comparisonMob.png",innerPages:["/market/asset-comparison"],subPages:[{name:"asset_comparison_stocks",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/stocks",locked:n,unavailable:!r},{name:"asset_comparison_bonds",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/bonds",locked:n,unavailable:!r},{name:"asset_comparison_etf",isForeignAccess:!0,href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/etfs",locked:n,unavailable:!r}]},{name:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",Icon:jd,isFill:!0,isForeignAccess:!0,locked:n,unavailable:!r,isNew:!0,description:"Отслеживайте тренды акций и фондов: индикатор показывает фазу актива — рост или спад, помогая принимать своевременные решения",imagePlug:"https://data.profinansy.ru/api/data/a3i6ohrri/trend_indicatorWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6gb6g4/trend_indicatorMob.png"},{name:"calendars",href:n?e+"/login":e+"/market/calendars/dividends",Icon:P7,isFill:!1,isForeignAccess:!0,locked:n,subPages:[{name:"dividend_calendar",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,innerPages:["/market/calendars/retroDividends"]},{name:"economic_calendar",href:n?e+"/login":e+"/market/calendars/economic",locked:n},{name:"bonds_calendar",href:n?e+"/login":e+"/market/calendars/bonds",locked:n},{name:"coupon_calendar",href:n?e+"/login":e+"/market/calendars/coupons",locked:n},{name:"bond_redemption_calendar",href:n?e+"/login":e+"/market/calendars/amortizations",locked:n},{name:"bond_offer_calendar",href:n?e+"/login":e+"/market/calendars/offers",locked:n},{name:"bond_default_calendar",href:n?e+"/login":e+"/market/calendars/defaults",locked:n},{name:"report_calendar",href:n?e+"/login":e+"/market/calendars/reports",locked:n,isNotVisible:!i},{name:"ipo_calendar",href:n?e+"/login":e+"/market/calendars/IPO",locked:n,crownShown:!r}]},{name:"brokers",Icon:Td,isFill:!1,isForeignAccess:!0,href:e+"/market/brokers-list"},{name:"heat_map",Icon:Rs,isFill:!1,isForeignAccess:!0,href:n?e+"/login":e+"/market/heatmap",locked:n},{name:"econom_cycles",Icon:k1,isFill:!1,isForeignAccess:!0,href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Изучайте экономические циклы — рост, пик, спад, рецессию — и используйте их для более взвешенных инвестиционных решений",imagePlug:"https://data.profinansy.ru/api/data/a3i6stqoh/economic_circleWeb.png",imagePlugMob:"https://data.profinansy.ru/api/data/a3i6mvp6z/economic_circleMob.png"},{name:"news",Icon:B7,isFill:!0,href:t+"/news?side_menu_type=investment"}]}),Xi=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.45192 4.63953C6.15231 4.63953 5.90385 4.40233 5.90385 4.11628V2.02326C5.90385 1.73721 6.15231 1.5 6.45192 1.5C6.75154 1.5 7 1.73721 7 2.02326V4.11628C7 4.40233 6.75154 4.63953 6.45192 4.63953Z",fill:"#454545"}),d.createElement("path",{d:"M12.2981 4.63953C11.9985 4.63953 11.75 4.40233 11.75 4.11628V2.02326C11.75 1.73721 11.9985 1.5 12.2981 1.5C12.5977 1.5 12.8462 1.73721 12.8462 2.02326V4.11628C12.8462 4.40233 12.5977 4.63953 12.2981 4.63953Z",fill:"#454545"}),d.createElement("path",{d:"M6.81731 10.7442C6.72231 10.7442 6.62731 10.7233 6.53961 10.6884C6.44461 10.6535 6.37154 10.6046 6.29846 10.5419C6.16692 10.4093 6.08654 10.2349 6.08654 10.0465C6.08654 9.95582 6.10846 9.86512 6.145 9.7814C6.18154 9.69768 6.23269 9.62094 6.29846 9.55117C6.37154 9.48838 6.44461 9.43953 6.53961 9.40465C6.80269 9.3 7.13154 9.35582 7.33615 9.55117C7.46769 9.68373 7.54808 9.86512 7.54808 10.0465C7.54808 10.0884 7.54077 10.1372 7.53346 10.1861C7.52615 10.2279 7.51154 10.2698 7.48961 10.3116C7.475 10.3535 7.45308 10.3954 7.42385 10.4372C7.40192 10.4721 7.36538 10.507 7.33615 10.5419C7.19731 10.6674 7.00731 10.7442 6.81731 10.7442Z",fill:"#454545"}),d.createElement("path",{d:"M9.375 10.7442C9.28 10.7442 9.185 10.7233 9.09731 10.6884C9.00231 10.6535 8.92923 10.6046 8.85615 10.5419C8.72462 10.4093 8.64423 10.2349 8.64423 10.0465C8.64423 9.95581 8.66616 9.86511 8.70269 9.78139C8.73923 9.69767 8.79039 9.62093 8.85615 9.55117C8.92923 9.48838 9.00231 9.43952 9.09731 9.40464C9.36038 9.29301 9.68923 9.35582 9.89385 9.55117C10.0254 9.68372 10.1058 9.86511 10.1058 10.0465C10.1058 10.0884 10.0985 10.1372 10.0912 10.1861C10.0838 10.2279 10.0692 10.2698 10.0473 10.3116C10.0327 10.3535 10.0108 10.3953 9.98154 10.4372C9.95962 10.4721 9.92308 10.507 9.89385 10.5419C9.755 10.6674 9.565 10.7442 9.375 10.7442Z",fill:"#454545"}),d.createElement("path",{d:"M11.9327 10.7442C11.8377 10.7442 11.7427 10.7233 11.655 10.6884C11.56 10.6535 11.4869 10.6046 11.4138 10.5419C11.3846 10.507 11.3554 10.4721 11.3262 10.4372C11.2969 10.3953 11.275 10.3535 11.2604 10.3116C11.2385 10.2698 11.2238 10.2279 11.2165 10.1861C11.2092 10.1372 11.2019 10.0884 11.2019 10.0465C11.2019 9.86511 11.2823 9.68372 11.4138 9.55117C11.4869 9.48838 11.56 9.43952 11.655 9.40464C11.9254 9.29301 12.2469 9.35582 12.4515 9.55117C12.5831 9.68372 12.6635 9.86511 12.6635 10.0465C12.6635 10.0884 12.6562 10.1372 12.6488 10.1861C12.6415 10.2279 12.6269 10.2698 12.605 10.3116C12.5904 10.3535 12.5685 10.3953 12.5392 10.4372C12.5173 10.4721 12.4808 10.507 12.4515 10.5419C12.3127 10.6674 12.1227 10.7442 11.9327 10.7442Z",fill:"#454545"}),d.createElement("path",{d:"M6.81731 13.186C6.72231 13.186 6.62731 13.1651 6.53961 13.1302C6.45192 13.0954 6.37154 13.0465 6.29846 12.9837C6.16692 12.8512 6.08654 12.6698 6.08654 12.4884C6.08654 12.3977 6.10846 12.307 6.145 12.2233C6.18154 12.1326 6.23269 12.0558 6.29846 11.993C6.56885 11.7349 7.06577 11.7349 7.33615 11.993C7.46769 12.1256 7.54808 12.307 7.54808 12.4884C7.54808 12.6698 7.46769 12.8512 7.33615 12.9837C7.19731 13.1093 7.00731 13.186 6.81731 13.186Z",fill:"#454545"}),d.createElement("path",{d:"M9.375 13.186C9.185 13.186 8.995 13.1093 8.85615 12.9837C8.72462 12.8512 8.64423 12.6698 8.64423 12.4884C8.64423 12.3977 8.66616 12.307 8.70269 12.2233C8.73923 12.1326 8.79039 12.0558 8.85615 11.993C9.12654 11.7349 9.62346 11.7349 9.89385 11.993C9.95961 12.0558 10.0108 12.1326 10.0473 12.2233C10.0838 12.307 10.1058 12.3977 10.1058 12.4884C10.1058 12.6698 10.0254 12.8512 9.89385 12.9837C9.755 13.1093 9.565 13.186 9.375 13.186Z",fill:"#454545"}),d.createElement("path",{d:"M11.9327 13.1861C11.7427 13.1861 11.5527 13.1093 11.4138 12.9837C11.3481 12.9209 11.2969 12.8442 11.2604 12.7535C11.2238 12.6698 11.2019 12.5791 11.2019 12.4884C11.2019 12.3977 11.2238 12.307 11.2604 12.2233C11.2969 12.1326 11.3481 12.0558 11.4138 11.9931C11.5819 11.8326 11.8377 11.7558 12.0715 11.8047C12.1227 11.8116 12.1665 11.8256 12.2104 11.8465C12.2542 11.8605 12.2981 11.8814 12.3419 11.9093C12.3785 11.9303 12.415 11.9651 12.4515 11.9931C12.5831 12.1256 12.6635 12.307 12.6635 12.4884C12.6635 12.6698 12.5831 12.8512 12.4515 12.9837C12.3127 13.1093 12.1227 13.1861 11.9327 13.1861Z",fill:"#454545"}),d.createElement("path",{d:"M15.5865 7.493H3.16346C2.86385 7.493 2.61538 7.25579 2.61538 6.96974C2.61538 6.6837 2.86385 6.44649 3.16346 6.44649H15.5865C15.8862 6.44649 16.1346 6.6837 16.1346 6.96974C16.1346 7.25579 15.8862 7.493 15.5865 7.493Z",fill:"#454545"}),d.createElement("path",{d:"M12.2981 16.5H6.45192C3.78462 16.5 2.25 15.0349 2.25 12.4884V6.55814C2.25 4.01163 3.78462 2.54651 6.45192 2.54651H12.2981C14.9654 2.54651 16.5 4.01163 16.5 6.55814V12.4884C16.5 15.0349 14.9654 16.5 12.2981 16.5ZM6.45192 3.59302C4.36192 3.59302 3.34615 4.56279 3.34615 6.55814V12.4884C3.34615 14.4837 4.36192 15.4535 6.45192 15.4535H12.2981C14.3881 15.4535 15.4038 14.4837 15.4038 12.4884V6.55814C15.4038 4.56279 14.3881 3.59302 12.2981 3.59302H6.45192Z",fill:"#454545"})),E1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.11253 11.8125C9.42319 11.8125 9.67503 12.0643 9.67503 12.375V13.95C9.67503 14.2607 9.42319 14.5125 9.11253 14.5125C8.80187 14.5125 8.55003 14.2607 8.55003 13.95V12.375C8.55003 12.0643 8.80187 11.8125 9.11253 11.8125Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.80003 15.75C4.80003 14.6143 5.72687 13.6875 6.86253 13.6875H11.3625C12.4982 13.6875 13.425 14.6143 13.425 15.75V17.0625H4.80003V15.75ZM6.86253 14.8125C6.34819 14.8125 5.92503 15.2357 5.92503 15.75V15.9375H12.3V15.75C12.3 15.2357 11.8769 14.8125 11.3625 14.8125H6.86253Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05003 16.5C4.05003 16.1893 4.30187 15.9375 4.61253 15.9375H13.6125C13.9232 15.9375 14.175 16.1893 14.175 16.5C14.175 16.8107 13.9232 17.0625 13.6125 17.0625H4.61253C4.30187 17.0625 4.05003 16.8107 4.05003 16.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75003 2.0625C5.40319 2.0625 4.31253 3.15316 4.31253 4.5V6.75C4.31253 9.34184 6.40819 11.4375 9.00003 11.4375C11.5919 11.4375 13.6875 9.34184 13.6875 6.75V4.5C13.6875 3.15316 12.5969 2.0625 11.25 2.0625H6.75003ZM3.18753 4.5C3.18753 2.53184 4.78187 0.9375 6.75003 0.9375H11.25C13.2182 0.9375 14.8125 2.53184 14.8125 4.5V6.75C14.8125 9.96316 12.2132 12.5625 9.00003 12.5625C5.78687 12.5625 3.18753 9.96316 3.18753 6.75V4.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.14514 3.84936C2.53561 3.96587 2.09253 4.48745 2.09253 5.1375C2.09253 6.009 2.46082 6.77691 3.06312 7.45006C3.10038 7.48698 3.13864 7.52318 3.17787 7.55856C3.13009 7.25938 3.10503 6.95202 3.10503 6.6375V4.3875C3.10503 4.20631 3.11827 4.02635 3.14514 3.84936ZM0.967529 5.1375C0.967529 3.77684 2.04437 2.7 3.40503 2.7H3.89253C4.08213 2.7 4.25898 2.79552 4.36294 2.95408C4.4669 3.11264 4.48398 3.3129 4.40838 3.48678C4.29173 3.75508 4.23003 4.06043 4.23003 4.3875V6.6375C4.23003 7.30726 4.37041 7.93684 4.61924 8.5152C4.70635 8.71767 4.66717 8.95238 4.51901 9.11558C4.37086 9.27879 4.14103 9.34042 3.93109 9.27324C3.27123 9.06208 2.70109 8.67906 2.25728 8.23525C2.25031 8.22828 2.24352 8.22112 2.23693 8.21379C1.49516 7.38961 0.967529 6.36119 0.967529 5.1375Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6371 2.95408C13.7411 2.79552 13.9179 2.7 14.1075 2.7H14.595C15.9557 2.7 17.0325 3.77684 17.0325 5.1375C17.0325 6.36119 16.5049 7.38961 15.7631 8.21379C15.7565 8.22112 15.7497 8.22828 15.7428 8.23525C15.299 8.67906 14.7288 9.06208 14.069 9.27324C13.859 9.34042 13.6292 9.27879 13.481 9.11558C13.3329 8.95238 13.2937 8.71767 13.3808 8.5152C13.6296 7.93684 13.77 7.30726 13.77 6.6375V4.3875C13.77 4.06043 13.7083 3.75508 13.5917 3.48678C13.5161 3.3129 13.5332 3.11264 13.6371 2.95408ZM14.8549 3.84936C14.8818 4.02635 14.895 4.20631 14.895 4.3875V6.6375C14.895 6.95201 14.87 7.25938 14.8222 7.55856C14.8614 7.52318 14.8997 7.48698 14.9369 7.45006C15.5392 6.77691 15.9075 6.009 15.9075 5.1375C15.9075 4.48745 15.4645 3.96587 14.8549 3.84936Z",fill:"#454545"})),V7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("ellipse",{cx:8.625,cy:9,rx:7.5,ry:7.5,transform:"rotate(90 8.625 9)",stroke:"#242424",strokeWidth:1.4}),d.createElement("path",{d:"M6.41427 7.20935C6.47017 7.00438 6.6303 6.84426 6.83526 6.78836L11.3251 5.56385C11.773 5.4417 12.184 5.85268 12.0618 6.30058L10.8373 10.7904C10.7814 10.9954 10.6213 11.1555 10.4164 11.2114L5.9265 12.4359C5.4786 12.5581 5.06761 12.1471 5.18977 11.6992L6.41427 7.20935Z",stroke:"#242424",strokeWidth:1.4})),L1=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.80424 2.0625C5.27073 2.0625 4.03674 3.30233 4.03674 4.83C4.03674 6.31727 5.19855 7.52399 6.66541 7.58914C6.75436 7.58295 6.84834 7.58265 6.937 7.58907C8.40241 7.52324 9.56492 6.31731 9.57174 4.82886C9.57112 3.30254 8.3307 2.0625 6.80424 2.0625ZM2.91174 4.83C2.91174 2.68267 4.64776 0.9375 6.80424 0.9375C8.9524 0.9375 10.6967 2.68184 10.6967 4.83L10.6967 4.83234C10.688 6.93264 9.03246 8.64445 6.94314 8.71468C6.91816 8.71552 6.89315 8.7147 6.86827 8.71221C6.83211 8.70859 6.77806 8.70811 6.72767 8.71269C6.70446 8.7148 6.68114 8.71547 6.65785 8.71468C4.56894 8.64447 2.91174 6.93253 2.91174 4.83Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7992 3C11.7992 2.68934 12.051 2.4375 12.3617 2.4375C14.1284 2.4375 15.5492 3.86789 15.5492 5.625C15.5492 7.34659 14.1834 8.74835 12.4803 8.81211C12.4499 8.81324 12.4196 8.81192 12.3894 8.80816C12.3782 8.80675 12.3553 8.80584 12.3263 8.80906C12.0176 8.84337 11.7395 8.62088 11.7052 8.31212C11.6708 8.00336 11.8933 7.72525 12.2021 7.69094C12.2904 7.68112 12.383 7.67886 12.4743 7.68623C13.5593 7.62675 14.4242 6.72623 14.4242 5.625C14.4242 4.48711 13.505 3.5625 12.3617 3.5625C12.051 3.5625 11.7992 3.31066 11.7992 3Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.93361 9.32812C8.37976 9.32812 9.85448 9.69106 10.9942 10.4522C12.0186 11.1341 12.6055 12.0899 12.6055 13.1184C12.6055 14.1469 12.0187 15.1044 10.9946 15.7899L10.9945 15.79C9.85138 16.5549 8.3748 16.92 6.92799 16.92C5.48146 16.92 4.00517 16.555 2.8621 15.7905C1.83752 15.1086 1.25049 14.1527 1.25049 13.1241C1.25049 12.0956 1.83732 11.1381 2.86133 10.4526L2.86339 10.4512L2.8634 10.4512C4.00972 9.69113 5.48729 9.32812 6.93361 9.32812ZM3.48611 11.3881C2.69588 11.9175 2.37549 12.5572 2.37549 13.1241C2.37549 13.6908 2.69574 14.3286 3.48581 14.8542L3.48704 14.855C4.40638 15.4701 5.6523 15.795 6.92799 15.795C8.20363 15.795 9.4495 15.4701 10.3688 14.8551C11.1598 14.3256 11.4805 13.6856 11.4805 13.1184C11.4805 12.5517 11.1602 11.9139 10.3702 11.3883L10.3693 11.3878C9.454 10.7764 8.20996 10.4531 6.93361 10.4531C5.65792 10.4531 4.40969 10.7761 3.48611 11.3881Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.283 10.3765C13.3513 10.0734 13.6523 9.88309 13.9554 9.95138C14.5474 10.0848 15.1285 10.3228 15.6186 10.6966C16.3244 11.2267 16.7192 11.9656 16.7192 12.7464C16.7192 13.5269 16.3247 14.2656 15.6192 14.7957C15.1232 15.1759 14.5332 15.4239 13.9239 15.5508C13.6198 15.6142 13.3219 15.419 13.2585 15.1148C13.1952 14.8107 13.3903 14.5128 13.6945 14.4494C14.1642 14.3516 14.5932 14.1652 14.9366 13.9015L14.9417 13.8976L14.9417 13.8976C15.4047 13.5504 15.5942 13.1274 15.5942 12.7464C15.5942 12.3653 15.4047 11.9424 14.9417 11.5951L14.9378 11.5922L14.9378 11.5922C14.6034 11.3368 14.1802 11.1553 13.708 11.0489C13.405 10.9806 13.2147 10.6795 13.283 10.3765Z",fill:"#454545"})),N7=e=>({title:"club",href:e+"/club",Icon:L1,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,hiddenFromChildren:!0,columns:[{type:"first",items:[{title:"investideas",href:e+"/club/investidea",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club10.png",width:112,height:100}},{title:"club_choice",textWidth:130,href:e+"/club/profinansy-choice",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club2.png",width:112,height:85}}]},{type:"second",items:[{title:"club_portfolios",textWidth:130,href:e+"/club/club-portfolios",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club3.png",width:95,height:75}},{title:"club_public_account",textWidth:110,href:e+"/club/public-account",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club4.png",width:105,height:80}},{title:"feed_selections",href:e+"/club/club-selections",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club5.png",width:135,height:90}}]},{type:"third",items:[{title:"club_schedule",href:e+"/club/schedule",icon:Xi,isFill:!0},{title:"club_feed",href:e+"/club/feed",icon:Fd,isFill:!1},{title:"club_invest_war",href:e+"/club/invest-game",icon:E1,isFill:!0},{title:"club_about_full",href:e+"/club/about",icon:V7,isFill:!1},{title:"club_roller_cink",href:e+"/club/education/cink",icon:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club7.png"},{title:"club_kink",href:e+"/club/education/kink",icon:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club9.png"},{title:"club_rkink",href:e+"/club/education/rkink",icon:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club8.png"}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club6.png",bannerCode:"header_club"}],subPages:[{name:"club_main",href:e+"/club"},{name:"club_feed",href:e+"/club/feed"},{name:"club_about",href:e+"/club/about"},{name:"club_schedule",href:e+"/club/schedule"},{name:"club_invest_war",href:e+"/club/invest-game",isNew:!0},{name:"club_ideas",href:e+"/club/investidea"},{name:"club_choice",href:e+"/club/profinansy-choice"},{name:"club_public_account",href:e+"/club/public-account"},{name:"club_portfolios",href:e+"/club/club-portfolios"},{name:"club_selections",href:e+"/club/club-selections"},{name:"club_weekly_review",href:e+"/club/updates/weekly_review"},{name:"club_market_ru",href:e+"/club/updates/market_ru"},{name:"club_bonds",href:e+"/club/updates/bonds_club"},{name:"club_roller_coaster",href:e+"/club/updates/roller-coaster"},{name:"club_review_companies",href:e+"/club/updates/analytical-previ"},{name:"club_crypto",href:e+"/club/updates/crypto"},{name:"club_portfolios_analytic",href:e+"/club/updates/portfolios-analy"},{name:"club_invited_speakers",href:e+"/club/updates/invited-speakers"},{name:"club_roller_cink",href:e+"/club/education/cink"},{name:"club_faq",href:e+"/club/updates/faq_club"},{name:"club_client_history",href:e+"/club/updates/client_history"},{name:"club_offline_meetings",href:e+"/club/updates/offline-meetings"},{name:"club_kink",href:e+"/club/education/kink"},{name:"club_rkink",href:e+"/club/education/rkink"},{name:"club_help",href:e+"/club/help"}]}),O7=e=>({name:"club",Icon:E1,href:e+"/club",hiddenFromChildren:!0,subPages:[{name:"club_feed",href:e+"/club/feed"},{name:"club_about",href:e+"/club/about"},{name:"club_schedule",href:e+"/club/schedule"},{name:"club_invest_war",href:e+"/club/invest-game",isNew:!0},{name:"club_ideas",href:e+"/club/investidea"},{name:"club_choice",href:e+"/club/profinansy-choice"},{name:"club_public_account",href:e+"/club/public-account"},{name:"club_portfolios",href:e+"/club/club-portfolios"},{name:"club_selections",href:e+"/club/club-selections"},{name:"club_roller_cink",href:e+"/club/education/cink"},{name:"club_kink",href:e+"/club/education/kink"},{name:"club_rkink",href:e+"/club/education/rkink"}]}),W7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.991699 12.0001C0.991699 10.8644 1.91854 9.93761 3.0542 9.93761H6.5567C6.86736 9.93761 7.1192 10.1894 7.1192 10.5001V16.5001C7.1192 16.8108 6.86736 17.0626 6.5567 17.0626H1.5542C1.24354 17.0626 0.991699 16.8108 0.991699 16.5001V12.0001ZM3.0542 11.0626C2.53986 11.0626 2.1167 11.4858 2.1167 12.0001V15.9376H5.9942V11.0626H3.0542Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.9867 9.00011C5.9867 7.86445 6.91354 6.93761 8.0492 6.93761H10.0517C11.1967 6.93761 12.1142 7.86628 12.1142 9.00011V16.5001C12.1142 16.8108 11.8624 17.0626 11.5517 17.0626H6.5492C6.23854 17.0626 5.9867 16.8108 5.9867 16.5001V9.00011ZM8.0492 8.06261C7.53486 8.06261 7.1117 8.48577 7.1117 9.00011V15.9376H10.9892V9.00011C10.9892 8.48393 10.5717 8.06261 10.0517 8.06261H8.0492Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9892 12.7501C10.9892 12.4394 11.241 12.1876 11.5517 12.1876H15.0542C16.1899 12.1876 17.1167 13.1144 17.1167 14.2501V16.5001C17.1167 16.8108 16.8649 17.0626 16.5542 17.0626H11.5517C11.241 17.0626 10.9892 16.8108 10.9892 16.5001V12.7501ZM12.1142 13.3126V15.9376H15.9917V14.2501C15.9917 13.7358 15.5685 13.3126 15.0542 13.3126H12.1142Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.05607 2.03415L8.76982 2.60667C8.69214 2.76203 8.57256 2.87816 8.46844 2.95497C8.36301 3.03274 8.22007 3.1096 8.05536 3.14048L8.04416 3.14247L7.56663 3.22204L7.93869 3.59409C8.07774 3.72697 8.15502 3.8929 8.19459 4.0288C8.23521 4.16833 8.25695 4.34767 8.21479 4.52913L8.12314 4.93062L8.53905 4.6857C8.70858 4.58232 8.89647 4.54887 9.05045 4.54887C9.20442 4.54887 9.39232 4.58231 9.56184 4.68569L9.97775 4.93062L9.88611 4.52912C9.84392 4.34751 9.86564 4.16954 9.90685 4.02976C9.94866 3.88796 10.027 3.72927 10.1565 3.59985L10.5418 3.21455L10.0724 3.13632C9.89737 3.11127 9.74788 3.03269 9.63996 2.95308C9.5303 2.87219 9.41209 2.75229 9.3361 2.5942L9.05607 2.03415ZM9.05046 0.67043C9.50656 0.667402 9.79767 1.00689 9.94554 1.29754L9.94733 1.30105L10.3149 2.03622L10.9677 2.14502C10.968 2.14507 10.9682 2.14511 10.9685 2.14516C11.2978 2.19934 11.689 2.38128 11.8264 2.79915C11.9651 3.22112 11.7526 3.59894 11.5125 3.83482L10.9988 4.34848L11.1399 4.96642C11.2146 5.28843 11.2368 5.79829 10.8281 6.09581C10.4208 6.39231 9.94308 6.21691 9.66045 6.04934C9.66014 6.04916 9.65983 6.04897 9.65952 6.04879L9.05045 5.69012L8.44138 6.04879C8.44108 6.04896 8.44078 6.04914 8.44049 6.04932C8.15786 6.21689 7.68011 6.39232 7.27282 6.09581C6.86411 5.79827 6.88632 5.28835 6.96105 4.96634C6.96115 4.96591 6.96126 4.96547 6.96136 4.96503L7.10209 4.34848L6.59396 3.84036C6.36205 3.60845 6.14071 3.23135 6.27845 2.80613C6.41598 2.38159 6.8155 2.20533 7.14051 2.15254L7.7935 2.04372L8.16108 1.30855C8.30769 1.01532 8.5956 0.67345 9.05046 0.67043ZM9.12732 5.64462C9.12517 5.64596 9.12306 5.64724 9.12098 5.64847L9.12732 5.64462ZM8.97991 5.64846C8.97784 5.64724 8.97573 5.64596 8.97358 5.64462L8.97991 5.64846ZM10.3514 2.10974L10.3481 2.10276C10.3492 2.105 10.3503 2.10732 10.3514 2.10974Z",fill:"#454545"})),Ts=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M7.5 12.7125H4.6575C2.13 12.7125 1.5 12.0825 1.5 9.55502V5.05502C1.5 2.52752 2.13 1.89752 4.6575 1.89752H12.555C15.0825 1.89752 15.7125 2.52752 15.7125 5.05502",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.5 16.1025V12.7125",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 9.71252H7.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.05469 16.1025H7.49969",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5009 9.6V13.8825C16.5009 15.66 16.0584 16.1025 14.2809 16.1025H11.6184C9.84094 16.1025 9.39844 15.66 9.39844 13.8825V9.6C9.39844 7.8225 9.84094 7.38 11.6184 7.38H14.2809C16.0584 7.38 16.5009 7.8225 16.5009 9.6Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.9334 13.6875H12.9401",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Vd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 11.625C10.6575 11.625 12 10.2825 12 8.625V4.5C12 2.8425 10.6575 1.5 9 1.5C7.3425 1.5 6 2.8425 6 4.5V8.625C6 10.2825 7.3425 11.625 9 11.625Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.26172 7.23749V8.51249C3.26172 11.6775 5.83422 14.25 8.99922 14.25C12.1642 14.25 14.7367 11.6775 14.7367 8.51249V7.23749",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.95703 4.82253C8.63203 4.57503 9.36703 4.57503 10.042 4.82253",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.40039 6.41249C8.79789 6.30749 9.21039 6.30749 9.60789 6.41249",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 14.25V16.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Z7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.1016 14.25V3.75C16.1016 2.25 15.3516 1.5 13.8516 1.5H10.8516C9.35156 1.5 8.60156 2.25 8.60156 3.75V14.25C8.60156 15.75 9.35156 16.5 10.8516 16.5H13.8516C15.3516 16.5 16.1016 15.75 16.1016 14.25Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 4.5H12.3516",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 13.5H11.6016",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 10.4625L12.3516 10.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M8.60156 7.5H10.8516",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M4.11844 1.5C2.89594 1.5 1.89844 2.4975 1.89844 3.7125V13.4325C1.89844 13.77 2.04094 14.28 2.21344 14.5725L2.82844 15.5925C3.53344 16.77 4.69594 16.77 5.40094 15.5925L6.01594 14.5725C6.18844 14.28 6.33094 13.77 6.33094 13.4325V3.7125C6.33094 2.4975 5.33344 1.5 4.11844 1.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"}),d.createElement("path",{d:"M6.33094 5.25H1.89844",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round"})),Fs=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.06526 12.4886C8.43872 12.4886 7.80481 12.3351 7.31096 12.0351L2.87361 9.29344C2.04806 8.78417 1.5542 7.92608 1.5542 6.99125C1.5542 6.05642 2.04806 5.19833 2.87361 4.68906L7.31833 1.95434C8.30604 1.3474 9.84658 1.3474 10.8269 1.96131L15.2422 4.70301C16.0603 5.21229 16.5542 6.07038 16.5542 6.99823C16.5542 7.92608 16.0603 8.78417 15.2422 9.29344L10.8269 12.0351C10.3331 12.3421 9.69916 12.4886 9.06526 12.4886ZM9.06526 2.54733C8.64511 2.54733 8.22496 2.63802 7.92275 2.83336L3.4854 5.56808C2.96943 5.88899 2.66722 6.40524 2.66722 6.99125C2.66722 7.57727 2.96206 8.09351 3.4854 8.41443L7.92275 11.1561C8.53454 11.5328 9.61071 11.5328 10.2225 11.1561L14.6377 8.41443C15.1537 8.09351 15.4485 7.57727 15.4485 6.99125C15.4485 6.40524 15.1537 5.88899 14.6377 5.56808L10.2225 2.82638C9.91292 2.645 9.49277 2.54733 9.06526 2.54733Z",fill:"#454545"}),d.createElement("path",{d:"M9.05789 16.5C8.73356 16.5 8.40187 16.4581 8.13651 16.3744L5.78516 15.6349C4.67214 15.2861 3.79499 14.135 3.80236 13.0258L3.80973 9.75388C3.80973 9.46785 4.06034 9.23066 4.36255 9.23066C4.66476 9.23066 4.91538 9.46785 4.91538 9.75388L4.90801 13.0258C4.90801 13.6816 5.48295 14.435 6.13897 14.6443L8.49032 15.3838C8.78516 15.4745 9.33061 15.4745 9.62545 15.3838L11.9768 14.6443C12.6328 14.435 13.2078 13.6816 13.2078 13.0328V9.79574C13.2078 9.50971 13.4584 9.27252 13.7606 9.27252C14.0628 9.27252 14.3134 9.50971 14.3134 9.79574V13.0328C14.3134 14.142 13.4436 15.2861 12.3306 15.6419L9.97926 16.3814C9.7139 16.4581 9.38221 16.5 9.05789 16.5Z",fill:"#454545"}),d.createElement("path",{d:"M15.9866 11.6166C15.6844 11.6166 15.4338 11.3794 15.4338 11.0933V6.90754C15.4338 6.62151 15.6844 6.38431 15.9866 6.38431C16.2888 6.38431 16.5395 6.62151 16.5395 6.90754V11.0933C16.5395 11.3794 16.2888 11.6166 15.9866 11.6166Z",fill:"#454545"})),hc=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.4292 10.5C9.4292 10.1893 9.68104 9.9375 9.9917 9.9375H13.1792C13.4899 9.9375 13.7417 10.1893 13.7417 10.5C13.7417 10.8107 13.4899 11.0625 13.1792 11.0625H9.9917C9.68104 11.0625 9.4292 10.8107 9.4292 10.5Z",fill:"#454545"}),d.createElement("path",{d:"M6.8042 12.9375C6.49354 12.9375 6.2417 13.1893 6.2417 13.5C6.2417 13.8107 6.49354 14.0625 6.8042 14.0625H13.1792C13.4899 14.0625 13.7417 13.8107 13.7417 13.5C13.7417 13.1893 13.4899 12.9375 13.1792 12.9375H6.8042Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0542 0.9375C13.4739 0.9375 14.5806 1.34596 15.3258 2.1485C16.064 2.94348 16.3667 4.03877 16.3667 5.25V12.75C16.3667 13.9612 16.064 15.0565 15.3258 15.8515C14.5806 16.654 13.4739 17.0625 12.0542 17.0625H6.0542C4.63449 17.0625 3.52784 16.654 2.78263 15.8515C2.04442 15.0565 1.7417 13.9612 1.7417 12.75V5.25C1.7417 4.03877 2.04442 2.94348 2.78263 2.1485C3.52784 1.34596 4.63449 0.9375 6.0542 0.9375H12.0542ZM2.8667 5.25C2.8667 4.21123 3.12647 3.43152 3.60702 2.914C4.05553 2.431 4.7685 2.09908 5.8667 2.06534V7.39499C5.8667 8.22763 6.84637 8.62453 7.43696 8.08931L9.0542 6.59754L10.6678 8.08596L10.6714 8.08929C11.262 8.62451 12.2417 8.22763 12.2417 7.39499V2.06534C13.3399 2.09908 14.0529 2.431 14.5014 2.914C14.9819 3.43152 15.2417 4.21123 15.2417 5.25V12.75C15.2417 13.7888 14.9819 14.5685 14.5014 15.086C14.0278 15.596 13.2595 15.9375 12.0542 15.9375H6.0542C4.84891 15.9375 4.08056 15.596 3.60702 15.086C3.12647 14.5685 2.8667 13.7888 2.8667 12.75V5.25ZM11.1167 2.0625H6.9917V6.96951L8.41564 5.65605C8.77414 5.31968 9.33426 5.31968 9.69276 5.65605L11.1167 6.96951V2.0625Z",fill:"#454545"})),Y7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M11.025 17.0625H6.97501C3.27001 17.0625 1.69501 15.48 1.69501 11.7825V8.41504C1.69501 8.10754 1.95001 7.85254 2.25751 7.85254C2.56501 7.85254 2.82001 8.10754 2.82001 8.41504V11.7825C2.82001 14.85 3.90751 15.9375 6.97501 15.9375H11.0175C14.085 15.9375 15.1725 14.85 15.1725 11.7825V8.41504C15.1725 8.10754 15.4275 7.85254 15.735 7.85254C16.0425 7.85254 16.2975 8.10754 16.2975 8.41504V11.7825C16.305 15.48 14.7225 17.0625 11.025 17.0625Z",fill:"white"}),d.createElement("path",{d:"M9 9.5625C8.175 9.5625 7.425 9.24 6.8925 8.6475C6.36 8.055 6.1125 7.2825 6.195 6.4575L6.6975 1.4475C6.7275 1.1625 6.9675 0.9375 7.26 0.9375H10.7625C11.055 0.9375 11.295 1.155 11.325 1.4475L11.8275 6.4575C11.91 7.2825 11.6625 8.055 11.13 8.6475C10.575 9.24 9.825 9.5625 9 9.5625ZM7.7625 2.0625L7.3125 6.57C7.26 7.0725 7.41 7.545 7.725 7.89C8.3625 8.595 9.6375 8.595 10.275 7.89C10.59 7.5375 10.74 7.065 10.6875 6.57L10.2375 2.0625H7.7625Z",fill:"white"}),d.createElement("path",{d:"M13.7325 9.5625C12.21 9.5625 10.8525 8.3325 10.695 6.8175L10.17 1.56C10.155 1.4025 10.2075 1.245 10.3125 1.125C10.4175 1.005 10.5675 0.9375 10.7325 0.9375H13.02C15.225 0.9375 16.2525 1.86 16.56 4.125L16.77 6.21C16.86 7.095 16.59 7.935 16.0125 8.5725C15.435 9.21 14.625 9.5625 13.7325 9.5625ZM11.355 2.0625L11.82 6.705C11.9175 7.6425 12.7875 8.4375 13.7325 8.4375C14.3025 8.4375 14.8125 8.22 15.18 7.8225C15.54 7.425 15.705 6.8925 15.6525 6.3225L15.4425 4.26C15.21 2.565 14.6625 2.0625 13.02 2.0625H11.355Z",fill:"white"}),d.createElement("path",{d:"M4.23002 9.5625C3.33752 9.5625 2.52752 9.21 1.95002 8.5725C1.37252 7.935 1.10252 7.095 1.19252 6.21L1.39502 4.1475C1.71002 1.86 2.73752 0.9375 4.94252 0.9375H7.23002C7.38752 0.9375 7.53752 1.005 7.65002 1.125C7.76252 1.245 7.80752 1.4025 7.79252 1.56L7.26752 6.8175C7.11002 8.3325 5.75252 9.5625 4.23002 9.5625ZM4.94252 2.0625C3.30002 2.0625 2.75252 2.5575 2.51252 4.275L2.31002 6.3225C2.25002 6.8925 2.42252 7.425 2.78252 7.8225C3.14252 8.22 3.65252 8.4375 4.23002 8.4375C5.17502 8.4375 6.05252 7.6425 6.14252 6.705L6.60752 2.0625H4.94252Z",fill:"white"}),d.createElement("path",{d:"M10.875 17.0625H7.125C6.8175 17.0625 6.5625 16.8075 6.5625 16.5V14.625C6.5625 13.05 7.425 12.1875 9 12.1875C10.575 12.1875 11.4375 13.05 11.4375 14.625V16.5C11.4375 16.8075 11.1825 17.0625 10.875 17.0625ZM7.6875 15.9375H10.3125V14.625C10.3125 13.68 9.945 13.3125 9 13.3125C8.055 13.3125 7.6875 13.68 7.6875 14.625V15.9375Z",fill:"white"})),z7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.991699 3.49507C0.991699 2.27591 1.99796 1.33972 3.22044 1.44197C4.88439 1.57688 7.35189 2.39933 8.76266 3.27766L8.95297 3.39184C8.95488 3.39275 8.96281 3.39639 8.97807 3.40019C8.9985 3.40528 9.02484 3.40882 9.0542 3.40882C9.08356 3.40882 9.1099 3.40528 9.13033 3.40019C9.14479 3.39658 9.15268 3.39313 9.15508 3.39201L9.27961 3.31143C10.6906 2.42364 13.1693 1.59228 14.8337 1.44962C14.8496 1.44825 14.8657 1.44757 14.8817 1.44757H14.9048C16.1111 1.36001 17.1167 2.27872 17.1167 3.50257V12.5551C17.1167 13.5543 16.3248 14.4725 15.319 14.5982L15.3169 14.5985L15.0726 14.6281C13.5085 14.8368 11.0609 15.6453 9.68223 16.4055C9.47895 16.5211 9.24825 16.5619 9.04951 16.5619C8.85206 16.5619 8.62678 16.5217 8.42618 16.4137L8.40516 16.4032C8.39898 16.4001 8.39286 16.3969 8.3868 16.3936C7.0072 15.6391 4.5609 14.8359 3.00219 14.6276L2.99984 14.6273L2.78562 14.5977C1.78159 14.4702 0.991699 13.5531 0.991699 12.5551V3.49507ZM3.1271 2.56309C2.56497 2.51585 2.1167 2.92951 2.1167 3.49507V12.5551C2.1167 12.9958 2.49481 13.4276 2.92897 13.4819L2.93607 13.4828L3.15121 13.5125L3.15242 13.5127C4.84524 13.7392 7.41598 14.5827 8.91735 15.4015L8.93824 15.4119C8.94524 15.4154 8.95215 15.4191 8.95899 15.4229C8.95899 15.4229 8.96624 15.4263 8.98209 15.4299C9.00053 15.4341 9.0239 15.4369 9.04951 15.4369C9.07518 15.4369 9.0974 15.4341 9.1137 15.4303C9.12212 15.4284 9.12706 15.4266 9.12895 15.4259L9.13478 15.4225C10.6358 14.5938 13.2229 13.7392 14.9275 13.5125L14.934 13.5116L15.1794 13.4819L15.1803 13.4818C15.6141 13.4271 15.9917 12.9955 15.9917 12.5551V3.50257C15.9917 2.93494 15.5413 2.5229 14.9738 2.57059C14.9581 2.57191 14.9424 2.57257 14.9267 2.57257H14.9063C13.4211 2.70586 11.1348 3.4744 9.88171 4.26181L9.74839 4.34807C9.52964 4.48385 9.27568 4.53382 9.0542 4.53382C8.83415 4.53382 8.58209 4.48441 8.3643 4.35061L8.17151 4.23494C6.91182 3.4494 4.61321 2.6834 3.12881 2.56323L3.1271 2.56309Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.0542 3.55507C9.36486 3.55507 9.6167 3.80691 9.6167 4.11757V15.3676C9.6167 15.6782 9.36486 15.9301 9.0542 15.9301C8.74354 15.9301 8.4917 15.6782 8.4917 15.3676V4.11757C8.4917 3.80691 8.74354 3.55507 9.0542 3.55507Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6167 6.36757C3.6167 6.05691 3.86854 5.80507 4.1792 5.80507H5.8667C6.17736 5.80507 6.4292 6.05691 6.4292 6.36757C6.4292 6.67823 6.17736 6.93007 5.8667 6.93007H4.1792C3.86854 6.93007 3.6167 6.67823 3.6167 6.36757Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6167 8.61757C3.6167 8.30691 3.86854 8.05507 4.1792 8.05507H6.4292C6.73986 8.05507 6.9917 8.30691 6.9917 8.61757C6.9917 8.92823 6.73986 9.18007 6.4292 9.18007H4.1792C3.86854 9.18007 3.6167 8.92823 3.6167 8.61757Z",fill:"#454545"})),Nd=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4126 7.125C5.4126 6.81434 5.66444 6.5625 5.9751 6.5625H13.4751C13.7858 6.5625 14.0376 6.81434 14.0376 7.125C14.0376 7.43566 13.7858 7.6875 13.4751 7.6875H5.9751C5.66444 7.6875 5.4126 7.43566 5.4126 7.125ZM5.4126 10.875C5.4126 10.5643 5.66444 10.3125 5.9751 10.3125H11.2251C11.5358 10.3125 11.7876 10.5643 11.7876 10.875C11.7876 11.1857 11.5358 11.4375 11.2251 11.4375H5.9751C5.66444 11.4375 5.4126 11.1857 5.4126 10.875ZM12.7251 2.625H6.7251C5.39851 2.625 4.6102 2.95588 4.14559 3.4205C3.68098 3.88511 3.3501 4.67341 3.3501 6V15.375H12.7251C14.0517 15.375 14.84 15.0441 15.3046 14.5795C15.7692 14.1149 16.1001 13.3266 16.1001 12V6C16.1001 4.67341 15.7692 3.88511 15.3046 3.4205C14.84 2.95588 14.0517 2.625 12.7251 2.625ZM6.7251 1.5H12.7251C15.7251 1.5 17.2251 3 17.2251 6V12C17.2251 15 15.7251 16.5 12.7251 16.5H2.9751C2.5626 16.5 2.2251 16.1625 2.2251 15.75V6C2.2251 3 3.7251 1.5 6.7251 1.5Z",fill:"#454545"})),G7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.82141 1.66475C9.33911 1.14706 10.07 0.9375 10.9067 0.9375H13.9067C14.7434 0.9375 15.4742 1.14706 15.9919 1.66475C16.5096 2.18245 16.7192 2.91329 16.7192 3.75V14.25C16.7192 15.0867 16.5096 15.8176 15.9919 16.3352C15.4742 16.8529 14.7434 17.0625 13.9067 17.0625H10.9067C10.07 17.0625 9.33911 16.8529 8.82141 16.3352C8.30372 15.8176 8.09416 15.0867 8.09416 14.25V3.75C8.09416 2.91329 8.30372 2.18245 8.82141 1.66475ZM9.61691 2.46025C9.3846 2.69255 9.21916 3.08671 9.21916 3.75V14.25C9.21916 14.9133 9.3846 15.3074 9.61691 15.5398C9.84921 15.7721 10.2434 15.9375 10.9067 15.9375H13.9067C14.57 15.9375 14.9641 15.7721 15.1964 15.5398C15.4287 15.3074 15.5942 14.9133 15.5942 14.25V3.75C15.5942 3.08671 15.4287 2.69255 15.1964 2.46025C14.9641 2.22794 14.57 2.0625 13.9067 2.0625H10.9067C10.2434 2.0625 9.84921 2.22794 9.61691 2.46025Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09416 4.5C8.09416 4.18934 8.346 3.9375 8.65666 3.9375H12.4067C12.7173 3.9375 12.9692 4.18934 12.9692 4.5C12.9692 4.81066 12.7173 5.0625 12.4067 5.0625H8.65666C8.346 5.0625 8.09416 4.81066 8.09416 4.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09416 13.5C8.09416 13.1893 8.346 12.9375 8.65666 12.9375H11.6567C11.9673 12.9375 12.2192 13.1893 12.2192 13.5C12.2192 13.8107 11.9673 14.0625 11.6567 14.0625H8.65666C8.346 14.0625 8.09416 13.8107 8.09416 13.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09419 10.4569C8.09729 10.1462 8.35164 9.89692 8.66228 9.90003L12.4123 9.93753C12.7229 9.94063 12.9722 10.195 12.9691 10.5056C12.966 10.8163 12.7117 11.0656 12.401 11.0625L8.65104 11.025C8.34039 11.0219 8.09108 10.7675 8.09419 10.4569Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.09416 7.5C8.09416 7.18934 8.346 6.9375 8.65666 6.9375H10.9067C11.2173 6.9375 11.4692 7.18934 11.4692 7.5C11.4692 7.81066 11.2173 8.0625 10.9067 8.0625H8.65666C8.346 8.0625 8.09416 7.81066 8.09416 7.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.38916 3.7125C1.38916 2.1856 2.63974 0.9375 4.17166 0.9375C5.69732 0.9375 6.94666 2.18684 6.94666 3.7125V13.4325C6.94666 13.6687 6.89883 13.9337 6.8334 14.1697C6.76782 14.4062 6.67264 14.6565 6.55368 14.8582L6.5509 14.863L5.93677 15.8815L5.9363 15.8822C5.51798 16.5805 4.8932 17.0381 4.16791 17.0381C3.44264 17.0381 2.81786 16.5805 2.39954 15.8823L2.39905 15.8815L1.78212 14.8583C1.66316 14.6565 1.568 14.4062 1.50242 14.1697C1.43699 13.9337 1.38916 13.6687 1.38916 13.4325V3.7125ZM4.17166 2.0625C3.25858 2.0625 2.51416 2.8094 2.51416 3.7125V13.4325C2.51416 13.5338 2.53758 13.6926 2.58652 13.8691C2.63495 14.0438 2.69671 14.1937 2.74998 14.2847L3.36427 15.3035C3.65095 15.7824 3.95972 15.9131 4.16791 15.9131C4.3761 15.9131 4.68487 15.7824 4.97155 15.3035L4.97245 15.3021L5.58584 14.2847C5.63911 14.1937 5.70087 14.0437 5.7493 13.8691C5.79824 13.6926 5.82166 13.5338 5.82166 13.4325V3.7125C5.82166 2.80816 5.076 2.0625 4.17166 2.0625Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.38916 5.25C1.38916 4.93934 1.641 4.6875 1.95166 4.6875H6.38416C6.69482 4.6875 6.94666 4.93934 6.94666 5.25C6.94666 5.56066 6.69482 5.8125 6.38416 5.8125H1.95166C1.641 5.8125 1.38916 5.56066 1.38916 5.25Z",fill:"#242424"})),X7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.82695 2.64775C3.44333 3.03137 3.2417 3.74598 3.2417 5.25V13.5C3.2417 13.8107 2.98986 14.0625 2.6792 14.0625C2.36854 14.0625 2.1167 13.8107 2.1167 13.5V5.25C2.1167 3.75402 2.29007 2.59363 3.03145 1.85225C3.77283 1.11087 4.93322 0.9375 6.4292 0.9375H11.6792C13.1752 0.9375 14.3356 1.11087 15.0769 1.85225C15.8183 2.59363 15.9917 3.75402 15.9917 5.25V12.7575C15.9917 12.8578 15.9917 12.9799 15.9828 13.1051C15.9606 13.4149 15.6915 13.6482 15.3816 13.6261C15.0718 13.6039 14.8385 13.3348 14.8606 13.0249C14.8665 12.9433 14.8667 12.8583 14.8667 12.75V5.25C14.8667 3.74598 14.6651 3.03137 14.2815 2.64775C13.8978 2.26413 13.1832 2.0625 11.6792 2.0625H6.4292C4.92518 2.0625 4.21057 2.26413 3.82695 2.64775Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.8167 11.8125C3.94986 11.8125 3.2417 12.5207 3.2417 13.3875V13.875C3.2417 15.0118 4.16736 15.9375 5.3042 15.9375H12.8042C13.941 15.9375 14.8667 15.0118 14.8667 13.875V11.8125H4.8167ZM2.1167 13.3875C2.1167 11.8993 3.32854 10.6875 4.8167 10.6875H15.4292C15.7399 10.6875 15.9917 10.9393 15.9917 11.25V13.875C15.9917 15.6332 14.5624 17.0625 12.8042 17.0625H5.3042C3.54604 17.0625 2.1167 15.6332 2.1167 13.875V13.3875Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4917 5.25C5.4917 4.93934 5.74354 4.6875 6.0542 4.6875H12.0542C12.3649 4.6875 12.6167 4.93934 12.6167 5.25C12.6167 5.56066 12.3649 5.8125 12.0542 5.8125H6.0542C5.74354 5.8125 5.4917 5.56066 5.4917 5.25Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.4917 7.875C5.4917 7.56434 5.74354 7.3125 6.0542 7.3125H9.8042C10.1149 7.3125 10.3667 7.56434 10.3667 7.875C10.3667 8.18566 10.1149 8.4375 9.8042 8.4375H6.0542C5.74354 8.4375 5.4917 8.18566 5.4917 7.875Z",fill:"#242424"})),J7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.01661 2.09985C5.11824 2.09985 2.04014 5.25209 2.11651 9.15385L2.11661 9.16485V13.7849C2.11661 14.9302 3.0808 15.8999 4.23161 15.8999C5.38345 15.8999 6.34661 14.9367 6.34661 13.7849V11.6774C6.34661 11.1998 5.96815 10.8599 5.52911 10.8599C5.05151 10.8599 4.71161 11.2383 4.71161 11.6774V13.8674C4.71161 14.178 4.45977 14.4299 4.14911 14.4299C3.83845 14.4299 3.58661 14.178 3.58661 13.8674V11.6774C3.58661 10.6614 4.38671 9.73485 5.52911 9.73485C6.54508 9.73485 7.47161 10.535 7.47161 11.6774V13.7849C7.47161 15.558 6.00478 17.0249 4.23161 17.0249C2.45743 17.0249 0.991615 15.5495 0.991615 13.7849V9.17026C0.906043 4.64459 4.48685 0.974854 9.01661 0.974854C13.547 0.974854 17.1166 4.64394 17.1166 9.08235V13.7024C17.1166 15.4755 15.6498 16.9424 13.8766 16.9424C12.1035 16.9424 10.6366 15.4755 10.6366 13.7024V11.5949C10.6366 10.5789 11.4367 9.65235 12.5791 9.65235C13.5951 9.65235 14.5216 10.4525 14.5216 11.5949V13.8674C14.5216 14.178 14.2698 14.4299 13.9591 14.4299C13.6485 14.4299 13.3966 14.178 13.3966 13.8674V11.5949C13.3966 11.1173 13.0181 10.7774 12.5791 10.7774C12.1015 10.7774 11.7616 11.1558 11.7616 11.5949V13.7024C11.7616 14.8542 12.7248 15.8174 13.8766 15.8174C15.0285 15.8174 15.9916 14.8542 15.9916 13.7024V9.08235C15.9916 5.25576 12.9162 2.09985 9.01661 2.09985Z",fill:"#242424"})),U7=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.9832 4.429C2.44664 4.96556 2.1167 5.75283 2.1167 6.75V11.25C2.1167 12.2472 2.44664 13.0344 2.9832 13.571C3.51976 14.1076 4.30703 14.4375 5.3042 14.4375H12.8042C13.8014 14.4375 14.5886 14.1076 15.1252 13.571C15.6618 13.0344 15.9917 12.2472 15.9917 11.25V6.75C15.9917 5.75283 15.6618 4.96556 15.1252 4.429C14.5886 3.89244 13.8014 3.5625 12.8042 3.5625H5.3042C4.30703 3.5625 3.51976 3.89244 2.9832 4.429ZM2.1877 3.6335C2.96364 2.85756 4.05137 2.4375 5.3042 2.4375H12.8042C14.057 2.4375 15.1448 2.85756 15.9207 3.6335C16.6966 4.40944 17.1167 5.49717 17.1167 6.75V11.25C17.1167 12.5028 16.6966 13.5906 15.9207 14.3665C15.1448 15.1424 14.057 15.5625 12.8042 15.5625H5.3042C4.05137 15.5625 2.96364 15.1424 2.1877 14.3665C1.41176 13.5906 0.991699 12.5028 0.991699 11.25V6.75C0.991699 5.49717 1.41176 4.40944 2.1877 3.6335Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.87649 7.56853C7.84632 7.63875 7.8167 7.76045 7.8167 7.95V10.2C7.8167 10.4886 7.91723 10.5591 7.92904 10.5659C7.93625 10.5701 8.04673 10.6285 8.3148 10.4677L10.1773 9.35018C10.4031 9.19647 10.4229 9.07314 10.4229 9.0375C10.4229 9.00186 10.4031 8.87853 10.1773 8.72482L8.3148 7.60734C8.17645 7.52433 8.07307 7.49324 8.00808 7.48523C7.97672 7.48137 7.95665 7.48311 7.9458 7.48504C7.93555 7.48686 7.93098 7.48924 7.92904 7.49035C7.9271 7.49148 7.92175 7.49482 7.91346 7.50465C7.90477 7.51494 7.8911 7.53453 7.87649 7.56853ZM7.36686 6.5159C7.86498 6.22852 8.43655 6.36843 8.8936 6.64266L10.7686 7.76766C10.7763 7.77225 10.7838 7.77702 10.7912 7.78197C11.2309 8.07511 11.5479 8.51116 11.5479 9.0375C11.5479 9.56384 11.2309 9.99989 10.7912 10.293C10.7838 10.298 10.7763 10.3027 10.7686 10.3073L8.8936 11.4323C8.41166 11.7215 7.84715 11.8174 7.36686 11.5404C6.89117 11.2659 6.6917 10.7364 6.6917 10.2V7.95C6.6917 7.37384 6.86971 6.80271 7.36686 6.5159Z",fill:"#242424"})),Q7=(e,t,n,r,o,i)=>{const a=i?`/courses/course/${i}`:"/courses";return{title:"courses",href:r?e+"/subscribe":n+a,isFirstRowHorizontal:!1,Icon:Fs,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"courses_main",href:r?e+"/subscribe":n+a,locked:r,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study1.png",width:120,height:100}},{title:"courses_graduate",href:e+"/cabinet-ratings",hiddenFromChildren:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study2.png",width:115,height:95}}]},{type:"second",items:[{title:"shop",href:n+"/course-store",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study3.png",width:124,height:95}},{title:"courses_child",textWidth:150,href:t+"/children-and-parents?side_menu_type=education",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study4.png",width:100,height:105}}]},{type:"third",items:[{title:"courses_leaders_table",href:r?e+"/subscribe":e+"/cabinet-ratings/leaderboard",icon:W7,locked:r,isFill:!0},{title:"courses_how_use",href:e+"/training-section/training/use_wallet",icon:Ts,isFill:!1},{title:"courses_investology",href:t+"/investology?side_menu_type=education",icon:Z7,isFill:!1},{title:"courses_podcasts",href:t+"/podcasts?side_menu_type=education",icon:Vd,isFill:!1},{title:"courses_kfp",href:"https://kfp-v2.profinansy.ru/",icon:w1,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study5.png",href:e+"/method/lessons",bannerCode:"header_education"}],subPages:[{name:"courses_main",href:r?e+"/subscribe":n+a,locked:r},{name:"courses_shop",isNew:!0,href:n+"/course-store",innerPages:[`${n}/course-store`],hiddenFromChildren:!0,subPages:[{name:"courses_list",href:n+"/course-store"},{name:"courses_basket",href:r?e+"/subscribe":n+"/course-store/cart",locked:r},{name:"courses_orders",href:r?e+"/subscribe":n+"/course-store/my-orders",locked:r}]},{name:"courses_how_use",href:e+"/training-section/training/use_wallet",hiddenFromChildren:!0,subPages:[{name:"courses_budget",href:e+"/training-section/training/use_wallet",innerPages:[`${e}/training-section/training/use_wallet`]},{name:"courses_portfolio",href:e+"/training-section/training/use_portfolios",innerPages:[`${e}/training-section/training/use_portfolios`]},{name:"courses_investing",href:e+"/training-section/training/use_investment",innerPages:[`${e}/training-section/training/use_investment`]},{name:"courses_direct_line",href:e+"/training-section/training/use_broadcast",innerPages:[`${e}/training-section/training/use_investment`]}]},{name:"courses_graduates",href:e+"/cabinet-ratings",hiddenFromChildren:!0,subPages:[{name:"courses_graduates_home",href:e+"/cabinet-ratings",innerPages:[`${e}/cabinet-ratings`]},{name:"courses_graduates_events",href:e+"/cabinet-ratings/office",isNotVisible:!o,innerPages:[`${e}/webinar`]},{name:"courses_leaders_table",href:r?e+"/subscribe":e+"/cabinet-ratings/leaderboard",locked:r,innerPages:[`${e}/cabinet-ratings/tasks`]},{name:"courses_kfp",href:"https://kfp-v2.profinansy.ru/",hiddenFromChildren:!0}]},{name:"courses_child",href:t+"/children-and-parents?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_blog",href:t+"/blog?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_investology",href:t+"/investology?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_library",href:t+"/library?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_podcasts",href:t+"/podcasts?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_youtube",href:t+"/youtube?side_menu_type=education",hiddenFromChildren:!0}]}},Od=(e,t,n,r,o,i)=>{const a="/courses";return{name:"courses",Icon:hc,href:o?e+"/subscribe":n+a,subPages:[{name:"courses_main",Icon:hc,href:o?e+"/subscribe":n+a,locked:o},{name:"courses_shop",Icon:Y7,isNew:!0,href:n+"/course-store",innerPages:[`${n}/course-store`],hiddenFromChildren:!0,subPages:[{name:"courses_list",href:n+"/course-store"},{name:"courses_basket",href:o?e+"/subscribe":n+"/course-store/cart",locked:o},{name:"courses_orders",href:o?e+"/subscribe":n+"/course-store/my-orders",locked:o}]},{name:"courses_how_use",Icon:z7,href:e+"/training-section/training/use_wallet",hiddenFromChildren:!0,subPages:[{name:"courses_budget",href:e+"/training-section/training/use_wallet",innerPages:[`${e}/training-section/training/use_wallet`]},{name:"courses_portfolio",href:e+"/training-section/training/use_portfolios",innerPages:[`${e}/training-section/training/use_portfolios`]},{name:"courses_investing",href:e+"/training-section/training/use_investment",innerPages:[`${e}/training-section/training/use_investment`]},{name:"courses_direct_line",href:e+"/training-section/training/use_broadcast",innerPages:[`${e}/training-section/training/use_investment`]}]},{name:"courses_graduates",Icon:Fs,href:e+"/cabinet-ratings",innerPages:[`${e}/cabinet-ratings`],hiddenFromChildren:!0,subPages:[{name:"courses_graduates_home",href:e+"/cabinet-ratings"},{name:"courses_graduates_events",href:e+"/cabinet-ratings/office",isNotVisible:!r,innerPages:[`${e}/webinar`]},{name:"courses_leaders_table",href:o?e+"/subscribe":e+"/cabinet-ratings/leaderboard",locked:o,innerPages:[`${e}/cabinet-ratings/tasks`]},{name:"courses_kfp",href:"https://kfp-v2.profinansy.ru/"}]},{name:"courses_child",Icon:L1,href:t+"/children-and-parents?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_blog",Icon:Nd,href:t+"/blog?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_investology",Icon:G7,href:t+"/investology?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_library",Icon:X7,href:t+"/library?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_podcasts",Icon:J7,href:t+"/podcasts?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_youtube",Icon:U7,href:t+"/youtube?side_menu_type=education",hiddenFromChildren:!0}]}},Ji=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 12.5625C8.7 12.5625 8.4 12.54 8.115 12.4875C6.525 12.255 5.0775 11.34 4.1625 9.9825C3.525 9.0225 3.1875 7.905 3.1875 6.75C3.1875 3.5475 5.7975 0.9375 9 0.9375C12.2025 0.9375 14.8125 3.5475 14.8125 6.75C14.8125 7.905 14.475 9.0225 13.8375 9.9825C12.915 11.3475 11.4675 12.255 9.8625 12.495C9.6 12.54 9.3 12.5625 9 12.5625ZM9 2.0625C6.4125 2.0625 4.3125 4.1625 4.3125 6.75C4.3125 7.6875 4.5825 8.5875 5.0925 9.3525C5.835 10.4475 6.9975 11.1825 8.2875 11.37C8.7675 11.4525 9.24 11.4525 9.6825 11.37C10.995 11.1825 12.1575 10.44 12.9 9.34499C13.41 8.57999 13.68 7.67999 13.68 6.74249C13.6875 4.16249 11.5875 2.0625 9 2.0625Z",fill:"#242424"}),d.createElement("path",{d:"M4.85249 16.9425C4.74749 16.9425 4.64999 16.9275 4.54499 16.905C4.05749 16.7925 3.68249 16.4175 3.56999 15.93L3.30749 14.8275C3.29249 14.76 3.23999 14.7075 3.16499 14.685L1.92749 14.3925C1.46249 14.28 1.09499 13.935 0.967485 13.4775C0.839985 13.02 0.967485 12.525 1.30499 12.1875L4.22999 9.26248C4.34999 9.14248 4.51499 9.08248 4.67999 9.09748C4.84499 9.11248 4.99499 9.20247 5.09249 9.34497C5.83499 10.44 6.99749 11.1825 8.29499 11.37C8.77499 11.4525 9.24749 11.4525 9.68999 11.37C11.0025 11.1825 12.165 10.44 12.9075 9.34497C12.9975 9.20247 13.155 9.11248 13.32 9.09748C13.485 9.08248 13.65 9.14248 13.77 9.26248L16.695 12.1875C17.0325 12.525 17.16 13.02 17.0325 13.4775C16.905 13.935 16.53 14.2875 16.0725 14.3925L14.835 14.685C14.7675 14.7 14.715 14.7525 14.6925 14.8275L14.43 15.93C14.3175 16.4175 13.9425 16.7925 13.455 16.905C12.9675 17.025 12.465 16.8525 12.15 16.47L8.99999 12.8475L5.84999 16.4775C5.59499 16.7775 5.23499 16.9425 4.85249 16.9425ZM4.56749 10.5225L2.09999 12.99C2.03249 13.0575 2.03999 13.1325 2.05499 13.1775C2.06249 13.215 2.09999 13.29 2.18999 13.305L3.42749 13.5975C3.91499 13.71 4.28999 14.085 4.40249 14.5725L4.66499 15.675C4.68749 15.7725 4.76249 15.8025 4.80749 15.8175C4.85249 15.825 4.92749 15.8325 4.99499 15.7575L7.86749 12.45C6.59249 12.2025 5.42249 11.52 4.56749 10.5225ZM10.1325 12.4425L13.005 15.7425C13.0725 15.825 13.155 15.825 13.2 15.81C13.245 15.8025 13.3125 15.765 13.3425 15.6675L13.605 14.565C13.7175 14.0775 14.0925 13.7025 14.58 13.59L15.8175 13.2975C15.9075 13.275 15.945 13.2075 15.9525 13.17C15.9675 13.1325 15.975 13.05 15.9075 12.9825L13.44 10.515C12.5775 11.5125 11.415 12.195 10.1325 12.4425Z",fill:"#242424"}),d.createElement("path",{d:"M10.4176 9.66769C10.2226 9.66769 9.99011 9.61519 9.71261 9.45019L9.00011 9.02268L8.28761 9.44268C7.63511 9.83268 7.20761 9.60769 7.05011 9.49519C6.89261 9.38269 6.55511 9.04519 6.72761 8.30269L6.90761 7.53019L6.30761 6.97517C5.97761 6.64517 5.85761 6.24769 5.97011 5.88769C6.08261 5.52769 6.41261 5.27268 6.87761 5.19768L7.68011 5.06268L8.06261 4.22269C8.28011 3.79519 8.61761 3.55518 9.00011 3.55518C9.38261 3.55518 9.72761 3.80269 9.93761 4.23019L10.3801 5.11519L11.1226 5.20518C11.5801 5.28018 11.9101 5.53517 12.0301 5.89517C12.1426 6.25517 12.0226 6.65268 11.6926 6.98268L11.0701 7.60519L11.2651 8.30269C11.4376 9.04519 11.1001 9.38269 10.9426 9.49519C10.8601 9.56269 10.6801 9.66769 10.4176 9.66769ZM7.20761 6.29269L7.72511 6.81017C7.96511 7.05017 8.08511 7.45519 8.01011 7.78519L7.86761 8.38518L8.46761 8.03268C8.79011 7.84518 9.22511 7.84518 9.54011 8.03268L10.1401 8.38518L10.0051 7.78519C9.93011 7.44769 10.0426 7.05017 10.2826 6.81017L10.8001 6.29269L10.1476 6.18018C9.83261 6.12768 9.51761 5.89519 9.37511 5.61019L9.00011 4.87518L8.62511 5.62518C8.49011 5.90268 8.17511 6.14269 7.86011 6.19519L7.20761 6.29269Z",fill:"#242424"})),Xa=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.5 12.555V3.50249C16.5 2.60249 15.765 1.93499 14.8725 2.00999H14.8275C13.2525 2.14499 10.86 2.94749 9.525 3.78749L9.3975 3.86999C9.18 4.00499 8.82 4.00499 8.6025 3.86999L8.415 3.75749C7.08 2.92499 4.695 2.12999 3.12 2.00249C2.2275 1.92749 1.5 2.60249 1.5 3.49499V12.555C1.5 13.275 2.085 13.95 2.805 14.04L3.0225 14.07C4.65 14.2875 7.1625 15.1125 8.6025 15.9L8.6325 15.915C8.835 16.0275 9.1575 16.0275 9.3525 15.915C10.7925 15.12 13.3125 14.2875 14.9475 14.07L15.195 14.04C15.915 13.95 16.5 13.275 16.5 12.555Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M9 4.11749V15.3675",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.8125 6.36749H4.125",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.375 8.61749H4.125",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),K7=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M16.4478 5.07001L13.9203 15.2175C13.7403 15.975 13.0654 16.5 12.2854 16.5H2.43034C1.29784 16.5 0.487853 15.39 0.825353 14.3025L3.98285 4.16254C4.20035 3.45754 4.85286 2.96997 5.58786 2.96997H14.8128C15.5253 2.96997 16.1179 3.40497 16.3654 4.00497C16.5079 4.32747 16.5378 4.69501 16.4478 5.07001Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10}),d.createElement("path",{d:"M12 16.5H15.585C16.5525 16.5 17.31 15.6825 17.2425 14.715L16.5 4.5",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.25977 4.785L8.03977 1.54504",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.2852 4.79251L12.9902 1.53754",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.77539 9H11.7754",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.02539 12H11.0254",stroke:"#242424",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),M1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V9.75",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M12.0304 2.26501L6.1204 8.17501C5.8954 8.40001 5.6704 8.84251 5.6254 9.16501L5.3029 11.4225C5.1829 12.24 5.7604 12.81 6.5779 12.6975L8.8354 12.375C9.1504 12.33 9.5929 12.105 9.8254 11.88L15.7354 5.97001C16.7554 4.95001 17.2354 3.76501 15.7354 2.26501C14.2354 0.765006 13.0504 1.24501 12.0304 2.26501Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.1816 3.11249C11.6841 4.90499 13.0866 6.30749 14.8866 6.81749",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Wd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.67999 1.5C1.67999 1.18934 1.93183 0.9375 2.24249 0.9375H15.7425C16.0532 0.9375 16.305 1.18934 16.305 1.5V10.575C16.305 11.3815 16.0917 12.09 15.5871 12.5946C15.0825 13.0992 14.374 13.3125 13.5675 13.3125H4.425C3.61824 13.3125 2.91021 13.0991 2.40494 12.5951C1.89993 12.0914 1.68424 11.3839 1.68 10.578L1.67999 10.575V1.5ZM2.80499 2.0625V10.5735C2.80849 11.1917 2.97148 11.5713 3.19942 11.7986C3.42728 12.0259 3.80675 12.1875 4.425 12.1875H13.5675C14.186 12.1875 14.565 12.0258 14.7916 11.7991C15.0183 11.5725 15.18 11.1935 15.18 10.575V2.0625H2.80499Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.9375 1.5C0.9375 1.18934 1.18934 0.9375 1.5 0.9375H16.5C16.8107 0.9375 17.0625 1.18934 17.0625 1.5C17.0625 1.81066 16.8107 2.0625 16.5 2.0625H1.5C1.18934 2.0625 0.9375 1.81066 0.9375 1.5Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12.1875C9.31066 12.1875 9.5625 12.4393 9.5625 12.75V15C9.5625 15.2131 9.44212 15.4078 9.25156 15.5031L6.25156 17.0031C5.97369 17.142 5.63582 17.0294 5.49688 16.7516C5.35795 16.4737 5.47058 16.1358 5.74844 15.9969L8.4375 14.6524V12.75C8.4375 12.4393 8.68934 12.1875 9 12.1875Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.49688 14.7484C8.63582 14.4706 8.97369 14.358 9.25156 14.4969L12.2516 15.9969C12.5294 16.1358 12.642 16.4737 12.5031 16.7516C12.3642 17.0294 12.0263 17.142 11.7484 17.0031L8.74844 15.5031C8.47058 15.3642 8.35795 15.0263 8.49688 14.7484Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8068 5.63949C13.0059 5.87796 12.974 6.23268 12.7355 6.43179L10.373 8.40429L10.3639 8.41174C10.1556 8.5784 9.88767 8.65883 9.61628 8.6136C9.3427 8.568 9.1121 8.40231 8.96919 8.16692L8.96766 8.16441L8.17917 6.85025L5.98551 8.68179C5.74704 8.88089 5.39232 8.84898 5.19321 8.61051C4.99411 8.37204 5.02602 8.01732 5.26449 7.81821L7.6257 5.84679L7.6265 5.84612C7.83812 5.66872 8.11236 5.58582 8.38871 5.63444C8.6637 5.68282 8.89075 5.85239 9.03081 6.08307L9.03234 6.08559L9.82084 7.39975L12.0145 5.56821C12.253 5.36911 12.6077 5.40102 12.8068 5.63949Z",fill:"#454545"})),Zd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"Style=linear"},d.createElement("g",{id:"Vector"},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.09467 3.09467C4.42914 1.7602 6.42603 1.25 9 1.25H15C17.574 1.25 19.5709 1.7602 20.9053 3.09467C22.2398 4.42914 22.75 6.42603 22.75 9V15C22.75 17.574 22.2398 19.5709 20.9053 20.9053C19.5709 22.2398 17.574 22.75 15 22.75H9C6.42603 22.75 4.42914 22.2398 3.09467 20.9053C1.7602 19.5709 1.25 17.574 1.25 15V9C1.25 6.42603 1.7602 4.42914 3.09467 3.09467ZM4.15533 4.15533C3.2398 5.07086 2.75 6.57397 2.75 9V15C2.75 17.426 3.2398 18.9291 4.15533 19.8447C5.07086 20.7602 6.57397 21.25 9 21.25H15C17.426 21.25 18.9291 20.7602 19.8447 19.8447C20.7602 18.9291 21.25 17.426 21.25 15V9C21.25 6.57397 20.7602 5.07086 19.8447 4.15533C18.9291 3.2398 17.426 2.75 15 2.75H9C6.57397 2.75 5.07086 3.2398 4.15533 4.15533Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.77 7.11C1.77 6.69579 2.10579 6.36 2.52 6.36H21.48C21.8942 6.36 22.23 6.69579 22.23 7.11C22.23 7.52421 21.8942 7.86 21.48 7.86H2.52C2.10579 7.86 1.77 7.52421 1.77 7.11Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.52 1.36C8.93421 1.36 9.27 1.69579 9.27 2.11V6.97C9.27 7.38421 8.93421 7.72 8.52 7.72C8.10579 7.72 7.77 7.38421 7.77 6.97V2.11C7.77 1.69579 8.10579 1.36 8.52 1.36Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.48 1.36C15.8942 1.36 16.23 1.69579 16.23 2.11V6.52C16.23 6.93421 15.8942 7.27 15.48 7.27C15.0658 7.27 14.73 6.93421 14.73 6.52V2.11C14.73 1.69579 15.0658 1.36 15.48 1.36Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8367 12.333C10.7098 12.4064 10.5 12.6402 10.5 13.25V15.65C10.5 16.2598 10.7098 16.4936 10.8367 16.567C10.9631 16.6401 11.2687 16.7052 11.7942 16.4009L13.8742 15.2009C14.3993 14.8968 14.4975 14.5982 14.4975 14.45C14.4975 14.3018 14.3997 14.0035 13.8747 13.6993L11.7942 12.4991C11.2687 12.1948 10.9631 12.2599 10.8367 12.333ZM12.5453 11.2006C11.7409 10.7351 10.8367 10.6002 10.0858 11.0345C9.33519 11.4686 9 12.3198 9 13.25V15.65C9 16.5802 9.33519 17.4314 10.0858 17.8655C10.8367 18.2998 11.741 18.1649 12.5453 17.6993L14.6258 16.4991C15.4303 16.0333 15.9975 15.3168 15.9975 14.45C15.9975 13.5832 15.4303 12.8667 14.6258 12.4009L13.5848 11.8004L12.5453 11.2006Z",fill:"#242424"})))),Yd=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.66667 12.3333C10.244 12.3333 12.3333 10.244 12.3333 7.66667C12.3333 5.08934 10.244 3 7.66667 3C5.08934 3 3 5.08934 3 7.66667C3 10.244 5.08934 12.3333 7.66667 12.3333ZM7.66667 13.3333C10.7963 13.3333 13.3333 10.7963 13.3333 7.66667C13.3333 4.53705 10.7963 2 7.66667 2C4.53705 2 2 4.53705 2 7.66667C2 10.7963 4.53705 13.3333 7.66667 13.3333Z",fill:"#A2A1A7"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6464 12.313C11.8417 12.1177 12.1583 12.1177 12.3536 12.313L13.6869 13.6463C13.8821 13.8415 13.8821 14.1581 13.6869 14.3534C13.4916 14.5487 13.175 14.5487 12.9798 14.3534L11.6464 13.0201C11.4512 12.8248 11.4512 12.5082 11.6464 12.313Z",fill:"#A2A1A7"})),q7=(e,t,n)=>({title:"idv",href:e+"/idv",Icon:Ji,hiddenFromChildren:!0,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"idv_main",href:e+"/idv",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv1.png",width:125,height:100}},{title:"idv_invest_simulator",href:e+"/idv/invest-simulator/structure",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv2.png",width:94,height:105}}]},{type:"second",items:[{title:"idv_tournament",href:e+"/idv/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv3.png",width:109.784,height:110}},{title:"idv_search",textWidth:130,href:e+"/idv/search-investments/stocks",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv4.png",width:105,height:90}}]},{type:"third",items:[{title:"idv_lessons",href:e+"/idv/lessons",icon:Xa,isFill:!1},{title:"idv_tasks",href:e+"/idv/tasks",icon:M1,isFill:!1},{title:"idv_schedule",href:e+"/idv/schedule",icon:K7,isFill:!1},{title:"idv_achievements_short",href:e+"/idv/achievements",icon:Ji,isFill:!0}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv5.png",href:e+"/idv/lessons",bannerCode:"header_beginners"}],subPages:[{name:"idv_main",href:e+"/idv"},{name:"idv_lessons",href:e+"/idv/lessons",innerPages:[`${e}/idv/lessons`]},{name:"idv_tasks",href:e+"/idv/tasks"},{name:"idv_tournament",unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/tournament",innerPages:[`${e}/idv/tournament`]},{name:"idv_invest_simulator",unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/invest-simulator/structure"},{name:"idv_search",unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/search-investments/stocks"},{name:"idv_schedule",href:e+"/idv/schedule"},{name:"idv_achievements",href:e+"/idv/achievements"}]}),zd=(e,t,n)=>({name:"idv",href:e+"/idv",isWithoutSubpage:!0,hiddenFromChildren:!0,Icon:Ji,subPages:[{name:"idv_main",Icon:Wd,href:e+"/idv"},{name:"idv_lessons",Icon:Zd,href:e+"/idv/lessons",innerPages:[`${e}/idv/lessons`]},{name:"idv_tasks",Icon:M1,href:e+"/idv/tasks",isFill:!1},{name:"idv_tournament",Icon:E1,unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/tournament",innerPages:[`${e}/idv/tournament`]},{name:"idv_invest_simulator",Icon:Tr,unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/invest-simulator/structure",subPages:[{name:"idv_compound",href:e+"/idv/invest-simulator/structure"},{name:"idv_transactions",href:e+"/idv/invest-simulator/deals"},{name:"idv_review",href:e+"/idv/invest-simulator/review"},{name:"idv_analytics",href:e+"/idv/invest-simulator/analytics"}]},{name:"idv_search",Icon:Yd,unavailable:!t&&!n,isOpenUnavailable:!0,href:e+"/idv/search-investments/stocks",subPages:[{name:"idv_search_stocks",href:e+"/idv/search-investments/stocks"},{name:"idv_search_bonds",href:e+"/idv/search-investments/bonds"},{name:"idv_search_etf",href:e+"/idv/search-investments/etfs"}]},{name:"idv_schedule",Icon:Xi,href:e+"/idv/schedule"},{name:"idv_achievements",Icon:Ji,href:e+"/idv/achievements"}]}),e8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.8125 6.75H6.1875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.8125 11.25H6.1875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),t8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7683 1.48783L10.77 1.48894L15.2594 4.43441C16.2242 5.06754 16.6543 6.13256 16.5498 7.15074V11.25C16.5498 11.5261 16.3259 11.75 16.0498 11.75C15.7737 11.75 15.5498 11.5261 15.5498 11.25V9.05134C15.4591 9.12808 15.3623 9.20049 15.2595 9.26799L14.2848 9.90743V13.3276C14.2848 13.9277 14.056 14.5208 13.7106 15.0006C13.3653 15.4803 12.8759 15.8851 12.308 16.0744L9.91035 16.8711C9.63564 16.9594 9.30472 16.9963 8.99703 16.9963C8.68978 16.9963 8.35946 16.9595 8.08682 16.8703L8.08467 16.8696L5.69217 16.0745C5.12421 15.8852 4.63433 15.4803 4.28904 15.0006C3.94369 14.5208 3.71484 13.9277 3.71484 13.3276L3.71484 13.3265L3.72214 9.90373L2.74931 9.26865C0.999585 8.12634 0.999577 5.5686 2.7493 4.42629L7.26297 1.47966C7.7672 1.14843 8.40545 0.997962 9.01601 0.999029C9.62619 1.0001 10.2639 1.15216 10.7683 1.48783ZM15.5564 6.66851C15.5521 6.69503 15.5498 6.72225 15.5498 6.75V7.09319C15.4837 7.61224 15.2041 8.10821 14.7108 8.43191L10.2183 11.3794C9.91267 11.5804 9.47743 11.6968 9.01513 11.6968C8.55284 11.6968 8.11798 11.5806 7.8123 11.3797L3.29597 8.43129C2.1507 7.6836 2.15069 6.01134 3.29596 5.26365L7.81096 2.31615L7.8123 2.31527C8.11795 2.11433 8.5526 1.99822 9.01426 1.99903C9.4759 1.99983 9.90996 2.11744 10.2153 2.32099L10.2183 2.32302L14.7108 5.27049C15.2228 5.60649 15.5047 6.12812 15.5564 6.66851ZM10.7673 12.2153L13.2848 10.5635V13.3276C13.2848 13.6799 13.1462 14.073 12.899 14.4164C12.6519 14.7598 12.3239 15.015 11.9919 15.1257L9.60223 15.9197C9.45693 15.966 9.23754 15.9963 8.99703 15.9963C8.75544 15.9963 8.53868 15.9658 8.39878 15.9202L6.00795 15.1257C5.67594 15.015 5.34783 14.7598 5.10064 14.4164C4.8536 14.0732 4.71497 13.6803 4.71484 13.3281L4.72075 10.5557L7.26297 12.2153C7.76719 12.5465 8.40517 12.6968 9.01513 12.6968C9.62526 12.6968 10.263 12.5467 10.7673 12.2153Z",fill:"#242424"})),$1=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.071 2.321C4.07185 1.32015 5.56952 0.9375 7.5 0.9375H10.5C12.4305 0.9375 13.9281 1.32015 14.929 2.321C15.9298 3.32185 16.3125 4.81952 16.3125 6.75V11.25C16.3125 13.1805 15.9298 14.6781 14.929 15.679C13.9281 16.6798 12.4305 17.0625 10.5 17.0625H7.5C5.56952 17.0625 4.07185 16.6798 3.071 15.679C2.07015 14.6781 1.6875 13.1805 1.6875 11.25V6.75C1.6875 4.81952 2.07015 3.32185 3.071 2.321ZM3.8665 3.1165C3.17985 3.80315 2.8125 4.93048 2.8125 6.75V11.25C2.8125 13.0695 3.17985 14.1969 3.8665 14.8835C4.55315 15.5702 5.68048 15.9375 7.5 15.9375H10.5C12.3195 15.9375 13.4469 15.5702 14.1335 14.8835C14.8201 14.1969 15.1875 13.0695 15.1875 11.25V6.75C15.1875 4.93048 14.8201 3.80315 14.1335 3.1165C13.4469 2.42985 12.3195 2.0625 10.5 2.0625H7.5C5.68048 2.0625 4.55315 2.42985 3.8665 3.1165ZM6.75 5.1225C6.4406 5.1225 6.1875 5.37822 6.1875 5.685V6.435C6.1875 6.7444 6.44322 6.9975 6.75 6.9975H11.25C11.5594 6.9975 11.8125 6.74178 11.8125 6.435V5.685C11.8125 5.37316 11.5618 5.1225 11.25 5.1225H6.75ZM5.0625 5.685C5.0625 4.76178 5.8144 3.9975 6.75 3.9975H11.25C12.1832 3.9975 12.9375 4.75184 12.9375 5.685V6.435C12.9375 7.35822 12.1856 8.1225 11.25 8.1225H6.75C5.82678 8.1225 5.0625 7.3706 5.0625 6.435V5.685ZM5.53959 10.5C5.53959 10.1893 5.79143 9.9375 6.10209 9.9375H6.11075C6.42141 9.9375 6.67325 10.1893 6.67325 10.5C6.67325 10.8107 6.42141 11.0625 6.11075 11.0625H6.10209C5.79143 11.0625 5.53959 10.8107 5.53959 10.5ZM8.43392 10.5C8.43392 10.1893 8.68576 9.9375 8.99642 9.9375H9.00508C9.31574 9.9375 9.56758 10.1893 9.56758 10.5C9.56758 10.8107 9.31574 11.0625 9.00508 11.0625H8.99642C8.68576 11.0625 8.43392 10.8107 8.43392 10.5ZM11.3282 10.5C11.3282 10.1893 11.5801 9.9375 11.8907 9.9375H11.8994C12.2101 9.9375 12.4619 10.1893 12.4619 10.5C12.4619 10.8107 12.2101 11.0625 11.8994 11.0625H11.8907C11.5801 11.0625 11.3282 10.8107 11.3282 10.5ZM5.53959 13.125C5.53959 12.8143 5.79143 12.5625 6.10209 12.5625H6.11075C6.42141 12.5625 6.67325 12.8143 6.67325 13.125C6.67325 13.4357 6.42141 13.6875 6.11075 13.6875H6.10209C5.79143 13.6875 5.53959 13.4357 5.53959 13.125ZM8.43392 13.125C8.43392 12.8143 8.68576 12.5625 8.99642 12.5625H9.00508C9.31574 12.5625 9.56758 12.8143 9.56758 13.125C9.56758 13.4357 9.31574 13.6875 9.00508 13.6875H8.99642C8.68576 13.6875 8.43392 13.4357 8.43392 13.125ZM11.3282 13.125C11.3282 12.8143 11.5801 12.5625 11.8907 12.5625H11.8994C12.2101 12.5625 12.4619 12.8143 12.4619 13.125C12.4619 13.4357 12.2101 13.6875 11.8994 13.6875H11.8907C11.5801 13.6875 11.3282 13.4357 11.3282 13.125Z",fill:"#454545"})),n8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M12 17.0625H6C3.735 17.0625 2.4375 15.765 2.4375 13.5V6.1875C2.4375 3.825 3.6375 2.625 6 2.625C6.3075 2.625 6.5625 2.88 6.5625 3.1875C6.5625 3.4875 6.6825 3.7725 6.8925 3.9825C7.1025 4.1925 7.3875 4.3125 7.6875 4.3125H10.3125C10.935 4.3125 11.4375 3.81 11.4375 3.1875C11.4375 2.88 11.6925 2.625 12 2.625C14.3625 2.625 15.5625 3.825 15.5625 6.1875V13.5C15.5625 15.765 14.265 17.0625 12 17.0625ZM5.51248 3.765C4.32748 3.8625 3.5625 4.395 3.5625 6.1875V13.5C3.5625 15.165 4.335 15.9375 6 15.9375H12C13.665 15.9375 14.4375 15.165 14.4375 13.5V6.1875C14.4375 4.395 13.6725 3.87 12.4875 3.765C12.2325 4.725 11.355 5.4375 10.3125 5.4375H7.6875C7.0875 5.4375 6.525 5.205 6.0975 4.7775C5.8125 4.4925 5.61748 4.1475 5.51248 3.765Z",fill:"#242424"}),d.createElement("path",{d:"M10.3125 5.4375H7.6875C7.0875 5.4375 6.525 5.205 6.0975 4.7775C5.67 4.35 5.4375 3.7875 5.4375 3.1875C5.4375 1.95 6.45 0.9375 7.6875 0.9375H10.3125C10.9125 0.9375 11.475 1.17 11.9025 1.5975C12.33 2.025 12.5625 2.5875 12.5625 3.1875C12.5625 4.425 11.55 5.4375 10.3125 5.4375ZM7.6875 2.0625C7.065 2.0625 6.5625 2.565 6.5625 3.1875C6.5625 3.4875 6.6825 3.7725 6.8925 3.9825C7.1025 4.1925 7.3875 4.3125 7.6875 4.3125H10.3125C10.935 4.3125 11.4375 3.81 11.4375 3.1875C11.4375 2.8875 11.3175 2.6025 11.1075 2.3925C10.8975 2.1825 10.6125 2.0625 10.3125 2.0625H7.6875Z",fill:"#242424"}),d.createElement("path",{d:"M9 10.3125H6C5.6925 10.3125 5.4375 10.0575 5.4375 9.75C5.4375 9.4425 5.6925 9.1875 6 9.1875H9C9.3075 9.1875 9.5625 9.4425 9.5625 9.75C9.5625 10.0575 9.3075 10.3125 9 10.3125Z",fill:"#242424"}),d.createElement("path",{d:"M12 13.3125H6C5.6925 13.3125 5.4375 13.0575 5.4375 12.75C5.4375 12.4425 5.6925 12.1875 6 12.1875H12C12.3075 12.1875 12.5625 12.4425 12.5625 12.75C12.5625 13.0575 12.3075 13.3125 12 13.3125Z",fill:"#242424"})),Gd=e=>d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",...e},d.createElement("path",{d:"M12.1425 1.5H5.8575C3.1275 1.5 1.5 3.1275 1.5 5.8575V12.135C1.5 14.8725 3.1275 16.5 5.8575 16.5H12.135C14.865 16.5 16.4925 14.8725 16.4925 12.1425V5.8575C16.5 3.1275 14.8725 1.5 12.1425 1.5ZM6.8325 12.675C6.8325 12.885 6.6675 13.05 6.4575 13.05H4.365C4.155 13.05 3.99 12.885 3.99 12.675V9.21C3.99 8.7375 4.3725 8.355 4.845 8.355H6.4575C6.6675 8.355 6.8325 8.52 6.8325 8.73V12.675ZM10.4175 12.675C10.4175 12.885 10.2525 13.05 10.0425 13.05H7.95C7.74 13.05 7.575 12.885 7.575 12.675V5.805C7.575 5.3325 7.9575 4.95 8.43 4.95H9.57C10.0425 4.95 10.425 5.3325 10.425 5.805V12.675H10.4175ZM14.01 12.675C14.01 12.885 13.845 13.05 13.635 13.05H11.5425C11.3325 13.05 11.1675 12.885 11.1675 12.675V10.0125C11.1675 9.8025 11.3325 9.6375 11.5425 9.6375H13.155C13.6275 9.6375 14.01 10.02 14.01 10.4925V12.675Z",fill:"#242424"}),d.createElement("path",{d:"M12.1425 1.5H5.8575C3.1275 1.5 1.5 3.1275 1.5 5.8575V12.135C1.5 14.8725 3.1275 16.5 5.8575 16.5H12.135C14.865 16.5 16.4925 14.8725 16.4925 12.1425V5.8575C16.5 3.1275 14.8725 1.5 12.1425 1.5ZM6.8325 12.675C6.8325 12.885 6.6675 13.05 6.4575 13.05H4.365C4.155 13.05 3.99 12.885 3.99 12.675V9.21C3.99 8.7375 4.3725 8.355 4.845 8.355H6.4575C6.6675 8.355 6.8325 8.52 6.8325 8.73V12.675ZM10.4175 12.675C10.4175 12.885 10.2525 13.05 10.0425 13.05H7.95C7.74 13.05 7.575 12.885 7.575 12.675V5.805C7.575 5.3325 7.9575 4.95 8.43 4.95H9.57C10.0425 4.95 10.425 5.3325 10.425 5.805V12.675H10.4175ZM14.01 12.675C14.01 12.885 13.845 13.05 13.635 13.05H11.5425C11.3325 13.05 11.1675 12.885 11.1675 12.675V10.0125C11.1675 9.8025 11.3325 9.6375 11.5425 9.6375H13.155C13.6275 9.6375 14.01 10.02 14.01 10.4925V12.675Z",fill:"url(#paint0_linear_6044_111979)"}),d.createElement("defs",null,d.createElement("linearGradient",{id:"paint0_linear_6044_111979",x1:3.24571,y1:7.66072,x2:18.494,y2:9.01923,gradientUnits:"userSpaceOnUse"},d.createElement("stop",{stopColor:"#6553F5"}),d.createElement("stop",{offset:1,stopColor:"#EE2CFF"})))),r8=(e,t,n,r)=>({title:"method",href:e+"/method",Icon:Xa,isFill:!1,hiddenFromChildren:!0,isFirstRowHorizontal:!1,isSecondRowHorizontal:!0,columns:[{type:"first",items:[{title:"method_main",href:e+"/method",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/method1.png",width:125,height:100}},{title:"method_tournament",href:e+"/method/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/idv3.png",width:109.784,height:110}}]},{type:"second",items:[{title:"courses_kfp",href:"https://kfp-v2.profinansy.ru/",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/method2.png",width:148,height:108}}]},{type:"third",items:[{title:"method_lessons",href:e+"/method/lessons",icon:Xa,isFill:!1},{title:"method_tasks",href:e+"/method/tasks",icon:M1,isFill:!1},{title:"method_materials",href:e+"/method/materials",icon:e8,isFill:!1},{title:"method_invest_ideas",href:"https://t.me/profinansy_max_bot?start=podpiskainvestiidea",icon:Gd,preserveIconColor:!0,isOpenNewTab:!0,isNotVisible:!r},{title:"method_screener",href:e+"/method/screener/stocks",icon:Bd,unavailable:!t&&!n,isOpenUnavailable:!0,isFill:!1},{title:"method_portfolios",href:e+"/method/portfolios",unavailable:!t&&!n,icon:Tr,isOpenUnavailable:!0,isFill:!0}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/study5.png",href:e+"/method/lessons",bannerCode:"header_method"}],subPages:[{name:"method_main",href:e+"/method"},{name:"method_lessons",href:e+"/method/lessons",innerPages:[`${e}/method/lessons`]},{name:"method_tasks",href:e+"/method/tasks"},{name:"method_materials",href:e+"/method/materials"},{name:"method_tournament",href:e+"/method/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,isDeleteCommonNavigation:!0},{name:"method_kfp",href:"https://kfp-v2.profinansy.ru/",isOpenNewTab:!0},{name:"method_budget",href:"https://profinansy.ru/wallet/accounts",isOpenNewTab:!0},{name:"method_invest_ideas",href:"https://t.me/profinansy_max_bot?start=podpiskainvestiidea",preserveIconColor:!0,isOpenNewTab:!0,isNotVisible:!r},{name:"method_screener",href:e+"/method/screener/stocks",unavailable:!t&&!n,isOpenUnavailable:!0,innerPages:["/method/screener"]},{name:"method_portfolios",href:e+"/method/portfolios",innerPages:["method/portfolios/structure","method/portfolios/deals","method/portfolios/analytics"],unavailable:!t&&!n,isOpenUnavailable:!0}]}),Xd=(e,t,n,r)=>({name:"method",href:e+"/method",isWithoutSubpage:!0,Icon:t8,hiddenFromChildren:!0,subPages:[{name:"method_main",Icon:Wd,href:e+"/method"},{name:"method_lessons",Icon:Zd,href:e+"/method/lessons",innerPages:[`${e}/method/lessons`]},{name:"method_tasks",Icon:M1,href:e+"/method/tasks",isFill:!1},{name:"method_materials",Icon:n8,href:e+"/method/materials"},{name:"method_tournament",Icon:E1,href:e+"/method/tournament",unavailable:!t&&!n,isOpenUnavailable:!0,isDeleteCommonNavigation:!0},{name:"method_kfp",Icon:Fs,href:"https://kfp-v2.profinansy.ru/",isOpenNewTab:!0},{name:"method_budget",Icon:Rr,href:"https://profinansy.ru/wallet/accounts",isOpenNewTab:!0},{name:"method_invest_ideas",Icon:Gd,href:"https://t.me/profinansy_max_bot?start=podpiskainvestiidea",preserveIconColor:!0,isOpenNewTab:!0,isNotVisible:!r},{name:"method_screener",Icon:Yd,href:e+"/method/screener/stocks",unavailable:!t&&!n,isOpenUnavailable:!0,innerPages:["/method/screener"]},{name:"method_portfolios",Icon:Tr,href:e+"/method/portfolios",innerPages:["method/portfolios/structure","method/portfolios/deals","method/portfolios/analytics"],unavailable:!t&&!n,isOpenUnavailable:!0},{name:"calculators",Icon:$1,href:e+"/method/calculators/compound-interest",isDeleteCommonNavigation:!0,subPages:[{name:"calculator_compound_interest",href:e+"/method/calculators/compound-interest"},{name:"calculator_mortgage",href:e+"/method/calculators/mortgage"},{name:"calculator_credit",href:e+"/method/calculators/credit"},{name:"calculator_goals",href:e+"/method/calculators/goals"},{name:"calculator_refinance",href:e+"/method/calculators/refinance"},{name:"calculator_bonds",href:e+"/method/calculators/bonds"},{name:"calculator_currency_converter",href:e+"/method/calculators/currency-converter"},{name:"calculator_savings",href:e+"/method/calculators/savings"},{name:"calculator_deposit",href:e+"/method/calculators/deposit"}]}]}),o8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M15.75 5.25V12.75C15.75 15 14.625 16.5 12 16.5H6C3.375 16.5 2.25 15 2.25 12.75V5.25C2.25 3 3.375 1.5 6 1.5H12C14.625 1.5 15.75 3 15.75 5.25Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.875 3.375V4.875C10.875 5.7 11.55 6.375 12.375 6.375H13.875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 9.75H9",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6 12.75H12",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),i8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("mask",{id:"path-1-inside-1_11960_899",fill:"white"},d.createElement("path",{d:"M12.6482 16.875H6.80202C4.13471 16.875 2.6001 15.3366 2.6001 12.6628V5.33721C2.6001 2.66337 4.13471 1.125 6.80202 1.125H12.6482C15.3155 1.125 16.8501 2.66337 16.8501 5.33721V12.6628C16.8501 15.3366 15.3155 16.875 12.6482 16.875ZM6.80202 2.22384C4.71202 2.22384 3.69625 3.24209 3.69625 5.33721V12.6628C3.69625 14.7579 4.71202 15.7762 6.80202 15.7762H12.6482C14.7382 15.7762 15.7539 14.7579 15.7539 12.6628V5.33721C15.7539 3.24209 14.7382 2.22384 12.6482 2.22384H6.80202Z"}),d.createElement("path",{d:"M9.7251 12.4797H6.80202C6.50241 12.4797 6.25394 12.2306 6.25394 11.9302C6.25394 11.6299 6.50241 11.3808 6.80202 11.3808H9.7251C10.0247 11.3808 10.2732 11.6299 10.2732 11.9302C10.2732 12.2306 10.0247 12.4797 9.7251 12.4797Z"}),d.createElement("path",{d:"M12.6482 6.61919H6.80202C6.50241 6.61919 6.25394 6.37012 6.25394 6.06977C6.25394 5.76942 6.50241 5.52035 6.80202 5.52035H12.6482C12.9478 5.52035 13.1963 5.76942 13.1963 6.06977C13.1963 6.37012 12.9478 6.61919 12.6482 6.61919Z"}),d.createElement("path",{d:"M12.6482 9.54942H6.80202C6.50241 9.54942 6.25394 9.30035 6.25394 9C6.25394 8.69965 6.50241 8.45058 6.80202 8.45058H12.6482C12.9478 8.45058 13.1963 8.69965 13.1963 9C13.1963 9.30035 12.9478 9.54942 12.6482 9.54942Z"})),d.createElement("path",{d:"M12.6482 16.875H6.80202C4.13471 16.875 2.6001 15.3366 2.6001 12.6628V5.33721C2.6001 2.66337 4.13471 1.125 6.80202 1.125H12.6482C15.3155 1.125 16.8501 2.66337 16.8501 5.33721V12.6628C16.8501 15.3366 15.3155 16.875 12.6482 16.875ZM6.80202 2.22384C4.71202 2.22384 3.69625 3.24209 3.69625 5.33721V12.6628C3.69625 14.7579 4.71202 15.7762 6.80202 15.7762H12.6482C14.7382 15.7762 15.7539 14.7579 15.7539 12.6628V5.33721C15.7539 3.24209 14.7382 2.22384 12.6482 2.22384H6.80202Z",fill:"#898989"}),d.createElement("path",{d:"M9.7251 12.4797H6.80202C6.50241 12.4797 6.25394 12.2306 6.25394 11.9302C6.25394 11.6299 6.50241 11.3808 6.80202 11.3808H9.7251C10.0247 11.3808 10.2732 11.6299 10.2732 11.9302C10.2732 12.2306 10.0247 12.4797 9.7251 12.4797Z",fill:"#898989"}),d.createElement("path",{d:"M12.6482 6.61919H6.80202C6.50241 6.61919 6.25394 6.37012 6.25394 6.06977C6.25394 5.76942 6.50241 5.52035 6.80202 5.52035H12.6482C12.9478 5.52035 13.1963 5.76942 13.1963 6.06977C13.1963 6.37012 12.9478 6.61919 12.6482 6.61919Z",fill:"#898989"}),d.createElement("path",{d:"M12.6482 9.54942H6.80202C6.50241 9.54942 6.25394 9.30035 6.25394 9C6.25394 8.69965 6.50241 8.45058 6.80202 8.45058H12.6482C12.9478 8.45058 13.1963 8.69965 13.1963 9C13.1963 9.30035 12.9478 9.54942 12.6482 9.54942Z",fill:"#898989"}),d.createElement("path",{d:"M12.6482 15.675H6.80202V18.075H12.6482V15.675ZM6.80202 15.675C5.69696 15.675 4.98577 15.3605 4.55038 14.9241C4.1146 14.4872 3.8001 13.7727 3.8001 12.6628H1.4001C1.4001 14.2267 1.85291 15.6183 2.85125 16.6191C3.85001 17.6203 5.23977 18.075 6.80202 18.075V15.675ZM3.8001 12.6628V5.33721H1.4001V12.6628H3.8001ZM3.8001 5.33721C3.8001 4.22726 4.1146 3.51276 4.55038 3.07591C4.98577 2.63946 5.69696 2.325 6.80202 2.325V-0.075C5.23977 -0.075 3.85001 0.379727 2.85125 1.38093C1.85291 2.38172 1.4001 3.77332 1.4001 5.33721H3.8001ZM6.80202 2.325H12.6482V-0.075H6.80202V2.325ZM12.6482 2.325C13.7532 2.325 14.4644 2.63946 14.8998 3.07591C15.3356 3.51276 15.6501 4.22726 15.6501 5.33721H18.0501C18.0501 3.77332 17.5973 2.38172 16.5989 1.38093C15.6002 0.379727 14.2104 -0.075 12.6482 -0.075V2.325ZM15.6501 5.33721V12.6628H18.0501V5.33721H15.6501ZM15.6501 12.6628C15.6501 13.7727 15.3356 14.4872 14.8998 14.9241C14.4644 15.3605 13.7532 15.675 12.6482 15.675V18.075C14.2104 18.075 15.6002 17.6203 16.5989 16.6191C17.5973 15.6183 18.0501 14.2267 18.0501 12.6628H15.6501ZM6.80202 1.02384C5.57992 1.02384 4.43959 1.32158 3.61582 2.14736C2.79262 2.97258 2.49625 4.114 2.49625 5.33721H4.89625C4.89625 4.4653 5.10777 4.05003 5.31495 3.84234C5.52157 3.63522 5.93412 3.42384 6.80202 3.42384V1.02384ZM2.49625 5.33721V12.6628H4.89625V5.33721H2.49625ZM2.49625 12.6628C2.49625 13.886 2.79262 15.0274 3.61582 15.8526C4.43959 16.6784 5.57992 16.9762 6.80202 16.9762V14.5762C5.93412 14.5762 5.52157 14.3648 5.31495 14.1577C5.10777 13.95 4.89625 13.5347 4.89625 12.6628H2.49625ZM6.80202 16.9762H12.6482V14.5762H6.80202V16.9762ZM12.6482 16.9762C13.8703 16.9762 15.0106 16.6784 15.8344 15.8526C16.6576 15.0274 16.9539 13.886 16.9539 12.6628H14.5539C14.5539 13.5347 14.3424 13.95 14.1352 14.1577C13.9286 14.3648 13.5161 14.5762 12.6482 14.5762V16.9762ZM16.9539 12.6628V5.33721H14.5539V12.6628H16.9539ZM16.9539 5.33721C16.9539 4.114 16.6576 2.97258 15.8344 2.14736C15.0106 1.32158 13.8703 1.02384 12.6482 1.02384V3.42384C13.5161 3.42384 13.9286 3.63522 14.1352 3.84234C14.3424 4.05003 14.5539 4.4653 14.5539 5.33721H16.9539ZM12.6482 1.02384H6.80202V3.42384H12.6482V1.02384ZM9.7251 11.2797H6.80202V13.6797H9.7251V11.2797ZM6.80202 11.2797C7.16791 11.2797 7.45394 11.5706 7.45394 11.9302H5.05394C5.05394 12.8906 5.8369 13.6797 6.80202 13.6797V11.2797ZM7.45394 11.9302C7.45394 12.2899 7.16791 12.5808 6.80202 12.5808V10.1808C5.8369 10.1808 5.05394 10.9699 5.05394 11.9302H7.45394ZM6.80202 12.5808H9.7251V10.1808H6.80202V12.5808ZM9.7251 12.5808C9.35921 12.5808 9.07317 12.2899 9.07317 11.9302H11.4732C11.4732 10.9699 10.6902 10.1808 9.7251 10.1808V12.5808ZM9.07317 11.9302C9.07317 11.5706 9.35921 11.2797 9.7251 11.2797V13.6797C10.6902 13.6797 11.4732 12.8906 11.4732 11.9302H9.07317ZM12.6482 5.41919H6.80202V7.81919H12.6482V5.41919ZM6.80202 5.41919C7.16791 5.41919 7.45394 5.71014 7.45394 6.06977H5.05394C5.05394 7.03009 5.8369 7.81919 6.80202 7.81919V5.41919ZM7.45394 6.06977C7.45394 6.42939 7.16791 6.72035 6.80202 6.72035V4.32035C5.8369 4.32035 5.05394 5.10944 5.05394 6.06977H7.45394ZM6.80202 6.72035H12.6482V4.32035H6.80202V6.72035ZM12.6482 6.72035C12.2823 6.72035 11.9963 6.42939 11.9963 6.06977H14.3963C14.3963 5.10944 13.6133 4.32035 12.6482 4.32035V6.72035ZM11.9963 6.06977C11.9963 5.71014 12.2823 5.41919 12.6482 5.41919V7.81919C13.6133 7.81919 14.3963 7.03009 14.3963 6.06977H11.9963ZM12.6482 8.34942H6.80202V10.7494H12.6482V8.34942ZM6.80202 8.34942C7.16791 8.34942 7.45394 8.64038 7.45394 9H5.05394C5.05394 9.96032 5.8369 10.7494 6.80202 10.7494V8.34942ZM7.45394 9C7.45394 9.35962 7.16791 9.65058 6.80202 9.65058V7.25058C5.8369 7.25058 5.05394 8.03968 5.05394 9H7.45394ZM6.80202 9.65058H12.6482V7.25058H6.80202V9.65058ZM12.6482 9.65058C12.2823 9.65058 11.9963 9.35962 11.9963 9H14.3963C14.3963 8.03968 13.6133 7.25058 12.6482 7.25058V9.65058ZM11.9963 9C11.9963 8.64038 12.2823 8.34942 12.6482 8.34942V10.7494C13.6133 10.7494 14.3963 9.96032 14.3963 9H11.9963Z",fill:"#454545",mask:"url(#path-1-inside-1_11960_899)"})),a8=(e,t)=>({title:"feed",href:e,Icon:i8,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"feed_news",href:e+"/news",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed1.png",width:150,height:165}}]},{type:"second",items:[{title:"feed_blog",href:e+"/blog",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed2.png",width:110,height:105}},{title:"feed_investology",href:e+"/investology",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed3.png",width:99,height:90}}]},{type:"third",items:[{title:"feed_selections",href:e+"/selections",icon:$d,isFill:!1},{title:"feed_podcasts",href:e+"/podcasts",icon:Vd,isFill:!1},{title:"feed_analytic",href:e+"/analytical-reviews",icon:k1,isFill:!1},{title:"feed_strategy",href:e+"/strategies",icon:o8,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed4.png",href:t+"/subscribe",bannerCode:"header_magazine"}],subPages:[{name:"feed_community",href:e+"/community"},{name:"feed_blog",href:e+"/blog"},{name:"feed_news",href:e+"/news"},{name:"feed_selections",href:e+"/selections"},{name:"feed_investology",href:e+"/investology"},{name:"feed_podcasts",href:e+"/podcasts"},{name:"feed_analytic",href:e+"/analytical-reviews"},{name:"feed_strategy",href:e+"/strategies"},{name:"feed_youtube",href:e+"/youtube"},{name:"feed_new_features",href:e+"/features"},{name:"feed_library",href:e+"/library"}]}),s8=e=>({name:"feed",Icon:$1,href:e,subPages:[{name:"feed_community",href:e+"/community"},{name:"feed_blog",href:e+"/blog"},{name:"feed_news",href:e+"/news"},{name:"feed_selections",href:e+"/selections"},{name:"feed_investology",href:e+"/investology"},{name:"feed_podcasts",href:e+"/podcasts"},{name:"feed_analytic",href:e+"/analytical-reviews"},{name:"feed_strategy",href:e+"/strategies"},{name:"feed_youtube",href:e+"/youtube"},{name:"feed_new_features",href:e+"/features"},{name:"feed_library",href:e+"/library"}]}),Jd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.8164 4.22974H16.2764",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.72656 4.2301H7.18656",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.8164 11.4976H16.2764",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.8164 16.0422H16.2764",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M13.5664 6.9525V1.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.72656 16.5L7.18656 11.0475",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.18656 16.5L1.72656 11.0475",stroke:"#242424",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ud=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M5.37735 17.0627C3.59235 17.0627 2.12988 15.7652 2.12988 14.1677V12.6377C2.12988 12.3302 2.38488 12.0752 2.69238 12.0752C2.99988 12.0752 3.25488 12.3302 3.25488 12.6377C3.25488 13.5752 4.16235 14.2802 5.37735 14.2802C6.59235 14.2802 7.49986 13.5752 7.49986 12.6377C7.49986 12.3302 7.75486 12.0752 8.06236 12.0752C8.36986 12.0752 8.62486 12.3302 8.62486 12.6377V14.1677C8.62486 15.7652 7.16985 17.0627 5.37735 17.0627ZM3.44984 14.9027C3.77984 15.5177 4.52235 15.9377 5.37735 15.9377C6.23235 15.9377 6.97486 15.5102 7.30486 14.9027C6.77236 15.2252 6.11235 15.4127 5.37735 15.4127C4.64235 15.4127 3.98234 15.2252 3.44984 14.9027Z",fill:"#242424"}),d.createElement("path",{d:"M5.37735 13.3501C4.14735 13.3501 3.04488 12.7876 2.49738 11.8951C2.25738 11.5051 2.12988 11.0476 2.12988 10.5826C2.12988 9.79507 2.47487 9.06006 3.10487 8.51256C4.31987 7.44756 6.41236 7.4476 7.63486 8.5051C8.26486 9.0601 8.61736 9.79507 8.61736 10.5826C8.61736 11.0476 8.48986 11.5051 8.24986 11.8951C7.70986 12.7876 6.60735 13.3501 5.37735 13.3501ZM5.37735 8.81258C4.79235 8.81258 4.25237 9.00756 3.84737 9.36006C3.46487 9.69006 3.25488 10.1251 3.25488 10.5826C3.25488 10.8451 3.32235 11.0851 3.45735 11.3101C3.80235 11.8801 4.53735 12.2326 5.37735 12.2326C6.21735 12.2326 6.95234 11.8801 7.28984 11.3176C7.42484 11.1001 7.49236 10.8526 7.49236 10.5901C7.49236 10.1326 7.28237 9.69756 6.89987 9.36006C6.50237 9.00756 5.96235 8.81258 5.37735 8.81258Z",fill:"#242424"}),d.createElement("path",{d:"M5.37735 15.4125C3.52485 15.4125 2.12988 14.22 2.12988 12.645V10.5825C2.12988 8.98499 3.58485 7.6875 5.37735 7.6875C6.22485 7.6875 7.03486 7.98002 7.64236 8.50502C8.27236 9.06002 8.62486 9.79499 8.62486 10.5825V12.645C8.62486 14.22 7.22985 15.4125 5.37735 15.4125ZM5.37735 8.8125C4.20735 8.8125 3.25488 9.60749 3.25488 10.5825V12.645C3.25488 13.5825 4.16235 14.2875 5.37735 14.2875C6.59235 14.2875 7.49986 13.5825 7.49986 12.645V10.5825C7.49986 10.125 7.28988 9.68998 6.90738 9.35248C6.50238 9.00748 5.96235 8.8125 5.37735 8.8125Z",fill:"#242424"}),d.createElement("path",{d:"M14.2799 11.0999C13.1474 11.0999 12.1874 10.2599 12.0974 9.17989C12.0374 8.55739 12.2624 7.9499 12.7124 7.5074C13.0874 7.1174 13.6199 6.8999 14.1824 6.8999H15.7499C16.4924 6.9224 17.0624 7.50737 17.0624 8.22737V9.77242C17.0624 10.4924 16.4925 11.0774 15.7725 11.0999H14.2799ZM15.7274 8.0249H14.1899C13.9274 8.0249 13.6874 8.1224 13.5149 8.3024C13.2974 8.5124 13.1924 8.79738 13.2224 9.08238C13.2599 9.57738 13.7399 9.97488 14.2799 9.97488H15.7499C15.8474 9.97488 15.9374 9.88492 15.9374 9.77242V8.22737C15.9374 8.11487 15.8474 8.0324 15.7274 8.0249Z",fill:"#242424"}),d.createElement("path",{d:"M12.0002 15.9375H10.1252C9.81768 15.9375 9.56268 15.6825 9.56268 15.375C9.56268 15.0675 9.81768 14.8125 10.1252 14.8125H12.0002C13.9352 14.8125 15.1877 13.56 15.1877 11.625V11.1H14.2802C13.1477 11.1 12.1877 10.26 12.0977 9.17999C12.0377 8.55749 12.2627 7.95001 12.7127 7.50751C13.0877 7.11751 13.6202 6.90001 14.1827 6.90001H15.1802V6.375C15.1802 4.62 14.1527 3.41248 12.4877 3.21748C12.3077 3.18748 12.1502 3.1875 11.9927 3.1875H5.24268C5.06268 3.1875 4.89017 3.20249 4.71767 3.22499C3.06767 3.43499 2.05518 4.635 2.05518 6.375V7.875C2.05518 8.1825 1.80018 8.4375 1.49268 8.4375C1.18518 8.4375 0.930176 8.1825 0.930176 7.875V6.375C0.930176 4.065 2.3552 2.39251 4.5677 2.11501C4.7702 2.08501 5.00268 2.0625 5.24268 2.0625H11.9927C12.1727 2.0625 12.4052 2.07 12.6452 2.1075C14.8577 2.3625 16.3052 4.0425 16.3052 6.375V7.46251C16.3052 7.77001 16.0502 8.02501 15.7427 8.02501H14.1827C13.9202 8.02501 13.6802 8.12251 13.5077 8.30251C13.2902 8.51251 13.1852 8.79749 13.2152 9.08249C13.2527 9.57749 13.7327 9.97499 14.2727 9.97499H15.7502C16.0577 9.97499 16.3127 10.23 16.3127 10.5375V11.625C16.3127 14.205 14.5802 15.9375 12.0002 15.9375Z",fill:"#242424"})),Ps=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 16.5H16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.21094 16.5L2.24844 7.47749C2.24844 7.01999 2.46594 6.58503 2.82594 6.30003L8.07594 2.21252C8.61594 1.79252 9.37344 1.79252 9.92094 2.21252L15.1709 6.29252C15.5384 6.57752 15.7484 7.01249 15.7484 7.47749V16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M9.75 12.75H8.25C7.6275 12.75 7.125 13.2525 7.125 13.875V16.5H10.875V13.875C10.875 13.2525 10.3725 12.75 9.75 12.75Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M7.125 10.3125H5.625C5.2125 10.3125 4.875 9.975 4.875 9.5625V8.4375C4.875 8.025 5.2125 7.6875 5.625 7.6875H7.125C7.5375 7.6875 7.875 8.025 7.875 8.4375V9.5625C7.875 9.975 7.5375 10.3125 7.125 10.3125Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M12.375 10.3125H10.875C10.4625 10.3125 10.125 9.975 10.125 9.5625V8.4375C10.125 8.025 10.4625 7.6875 10.875 7.6875H12.375C12.7875 7.6875 13.125 8.025 13.125 8.4375V9.5625C13.125 9.975 12.7875 10.3125 12.375 10.3125Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinejoin:"round"}),d.createElement("path",{d:"M14.2483 5.25L14.2258 3H10.9258",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Qd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 4.16998H16.5",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.665 1.5H14.835C16.17 1.5 16.5 1.83 16.5 3.15V6.2325C16.5 7.5525 16.17 7.8825 14.835 7.8825H10.665C9.33 7.8825 9 7.5525 9 6.2325V3.15C9 1.83 9.33 1.5 10.665 1.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 12.795H9",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M3.165 10.125H7.335C8.67 10.125 9 10.455 9 11.775V14.8575C9 16.1775 8.67 16.5075 7.335 16.5075H3.165C1.83 16.5075 1.5 16.1775 1.5 14.8575V11.775C1.5 10.455 1.83 10.125 3.165 10.125Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 11.25C16.5 14.1525 14.1525 16.5 11.25 16.5L12.0375 15.1875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5 6.75C1.5 3.8475 3.8475 1.5 6.75 1.5L5.96251 2.8125",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),Kd=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M12.375 7.125L9.225 10.275L8.025 8.475L5.625 10.875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.875 7.125H12.375V8.625",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.75 16.5H11.25C15 16.5 16.5 15 16.5 11.25V6.75C16.5 3 15 1.5 11.25 1.5H6.75C3 1.5 1.5 3 1.5 6.75V11.25C1.5 15 3 16.5 6.75 16.5Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),l8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.8242 4.44751L15.3767 9.00001L10.8242 13.5525",stroke:"#6553F5",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M2.625 9H15.2475",stroke:"#6553F5",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),c8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.4009 12.4634V11.8594C10.4009 11.4418 10.4867 11.0596 10.6582 10.7128C10.8335 10.3623 11.087 10.0827 11.4189 9.87385C11.7545 9.66131 12.1609 9.55504 12.6382 9.55504C13.1229 9.55504 13.5293 9.66131 13.8574 9.87385C14.1856 10.0827 14.4335 10.3623 14.6013 10.7128C14.7691 11.0596 14.853 11.4418 14.853 11.8594V12.4634C14.853 12.881 14.7672 13.2651 14.5957 13.6156C14.4279 13.9624 14.1781 14.242 13.8463 14.4545C13.5181 14.6634 13.1154 14.7678 12.6382 14.7678C12.1534 14.7678 11.7451 14.6634 11.4133 14.4545C11.0814 14.242 10.8297 13.9624 10.6582 13.6156C10.4867 13.2651 10.4009 12.881 10.4009 12.4634ZM11.5419 11.8594V12.4634C11.5419 12.8102 11.624 13.1215 11.788 13.3975C11.9521 13.6697 12.2355 13.8058 12.6382 13.8058C13.0297 13.8058 13.3056 13.6697 13.4659 13.3975C13.63 13.1215 13.712 12.8102 13.712 12.4634V11.8594C13.712 11.5126 13.6337 11.2031 13.4771 10.9309C13.3205 10.655 13.0409 10.517 12.6382 10.517C12.2466 10.517 11.9651 10.655 11.7936 10.9309C11.6258 11.2031 11.5419 11.5126 11.5419 11.8594ZM4.69604 5.90838V5.30433C4.69604 4.88672 4.7818 4.50453 4.95332 4.15776C5.12857 3.80726 5.38212 3.52761 5.71398 3.3188C6.04956 3.10627 6.45599 3 6.93326 3C7.41799 3 7.82442 3.10627 8.15254 3.3188C8.48067 3.52761 8.72863 3.80726 8.89642 4.15776C9.06421 4.50453 9.1481 4.88672 9.1481 5.30433V5.90838C9.1481 6.32599 9.06235 6.71005 8.89083 7.06055C8.72303 7.40732 8.47321 7.68697 8.14136 7.8995C7.81323 8.10831 7.41053 8.21271 6.93326 8.21271C6.44853 8.21271 6.04024 8.10831 5.70839 7.8995C5.37653 7.68697 5.12484 7.40732 4.95332 7.06055C4.7818 6.71005 4.69604 6.32599 4.69604 5.90838ZM5.83702 5.30433V5.90838C5.83702 6.25515 5.91906 6.5665 6.08312 6.84242C6.24718 7.11461 6.53056 7.25071 6.93326 7.25071C7.32477 7.25071 7.6007 7.11461 7.76103 6.84242C7.92509 6.5665 8.00712 6.25515 8.00712 5.90838V5.30433C8.00712 4.95756 7.92882 4.64808 7.77222 4.37589C7.61561 4.09996 7.33596 3.962 6.93326 3.962C6.54175 3.962 6.26023 4.09996 6.08871 4.37589C5.92092 4.64808 5.83702 4.95756 5.83702 5.30433ZM6.11995 14.6112C5.69689 14.6112 5.44731 14.1367 5.68698 13.7881L12.8395 3.38436C12.9376 3.24178 13.0995 3.15661 13.2725 3.15661C13.6956 3.15661 13.9451 3.63107 13.7055 3.97968L6.55291 14.3834C6.45489 14.526 6.29296 14.6112 6.11995 14.6112Z",fill:"#454545"})),d8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M6.13499 7.05405C6.13499 6.78538 6.35755 6.56757 6.63209 6.56757H10.6088C10.8834 6.56757 11.1059 6.78538 11.1059 7.05405C11.1059 7.32273 10.8834 7.54054 10.6088 7.54054H6.63209C6.35755 7.54054 6.13499 7.32273 6.13499 7.05405Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4082 10.6995V11.2703C16.4082 12.3538 16.037 13.2945 15.3513 13.9656C14.6656 14.6367 13.7043 15 12.5972 15H6.63209C5.52494 15 4.56369 14.6367 3.87798 13.9656C3.19226 13.2945 2.82104 12.3538 2.82104 11.2703V6.72973C2.82104 5.74841 3.12462 4.88263 3.69457 4.22821C4.26418 3.57418 5.07328 3.1621 6.02652 3.04355C6.22323 3.01429 6.42522 3 6.63209 3H12.5972C12.7759 3 12.9689 3.00633 13.1635 3.03704C14.1249 3.14902 14.9431 3.55842 15.5203 4.21297C16.0989 4.86917 16.4082 5.74073 16.4082 6.72973V7.30045C16.7999 7.48662 17.071 7.87596 17.071 8.33183V9.66809C17.071 10.124 16.7999 10.5133 16.4082 10.6995ZM6.17081 4.00623C6.31658 3.98429 6.4702 3.97297 6.63209 3.97297H12.5972C12.7593 3.97297 12.8933 3.97933 13.0126 3.99878C13.0206 4.0001 13.0287 4.00122 13.0369 4.00214C13.7804 4.08675 14.3662 4.39344 14.7676 4.84864C15.1699 5.30488 15.414 5.94143 15.414 6.72973V7.18375H14.5325C14.0304 7.18375 13.5655 7.37714 13.2264 7.71561C13.085 7.85161 12.966 8.01009 12.8754 8.18456C12.8433 8.2464 12.8147 8.31026 12.7899 8.37583C12.6983 8.61855 12.659 8.88483 12.6853 9.16001C12.7711 10.1476 13.6778 10.8162 14.6121 10.8162H15.414V11.2703C15.414 12.1327 15.1225 12.8136 14.6483 13.2776C14.1741 13.7417 13.4784 14.027 12.5972 14.027H6.63209C5.75086 14.027 5.05514 13.7417 4.58097 13.2776C4.1068 12.8136 3.81523 12.1327 3.81523 11.2703V6.72973C3.81523 5.94672 4.05514 5.31413 4.45121 4.85936C4.84626 4.40576 5.4232 4.09824 6.15712 4.0081L6.17081 4.00623ZM13.6758 9.07631C13.7109 9.4882 14.1156 9.8432 14.6121 9.8432H15.8997C16.0069 9.83643 16.0769 9.75444 16.0769 9.66809V8.33183C16.0769 8.24565 16.0071 8.1638 15.9004 8.15676H14.5325C14.2945 8.15676 14.0853 8.24707 13.9343 8.39883L13.9254 8.40753C13.9 8.43173 13.8763 8.45743 13.8543 8.48441C13.7998 8.55134 13.756 8.6263 13.7249 8.70674C13.6813 8.8196 13.6629 8.94323 13.6753 9.07059L13.6758 9.07631Z",fill:"#454545"})),u8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.86005 3.92782C3.35008 4.40136 3.00854 5.16971 3.00854 6.375V11.625C3.00854 12.8303 3.35008 13.5986 3.86005 14.0722C4.37756 14.5527 5.15727 14.8125 6.19604 14.8125H13.696C14.7348 14.8125 15.5145 14.5527 16.032 14.0722C16.542 13.5986 16.8835 12.8303 16.8835 11.625V6.375C16.8835 5.16971 16.542 4.40136 16.032 3.92782C15.5145 3.44727 14.7348 3.1875 13.696 3.1875H6.19604C5.15727 3.1875 4.37756 3.44727 3.86005 3.92782ZM3.09454 3.10343C3.88953 2.36523 4.98482 2.0625 6.19604 2.0625H13.696C14.9073 2.0625 16.0026 2.36523 16.7975 3.10343C17.6001 3.84864 18.0085 4.95529 18.0085 6.375V11.625C18.0085 13.0447 17.6001 14.1514 16.7975 14.8966C16.0026 15.6348 14.9073 15.9375 13.696 15.9375H6.19604C4.98482 15.9375 3.88953 15.6348 3.09454 14.8966C2.29201 14.1514 1.88354 13.0447 1.88354 11.625V6.375C1.88354 4.95529 2.29201 3.84864 3.09454 3.10343Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.94604 7.3125C9.01406 7.3125 8.25854 8.06802 8.25854 9C8.25854 9.93198 9.01406 10.6875 9.94604 10.6875C10.878 10.6875 11.6335 9.93198 11.6335 9C11.6335 8.06802 10.878 7.3125 9.94604 7.3125ZM7.13354 9C7.13354 7.4467 8.39274 6.1875 9.94604 6.1875C11.4993 6.1875 12.7585 7.4467 12.7585 9C12.7585 10.5533 11.4993 11.8125 9.94604 11.8125C8.39274 11.8125 7.13354 10.5533 7.13354 9Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75854 6.375C3.75854 5.02934 4.85038 3.9375 6.19604 3.9375H7.32104C7.63171 3.9375 7.88354 4.18934 7.88354 4.5C7.88354 4.81066 7.63171 5.0625 7.32104 5.0625H6.19604C5.4717 5.0625 4.88354 5.65066 4.88354 6.375V7.5C4.88354 7.81066 4.63171 8.0625 4.32104 8.0625C4.01038 8.0625 3.75854 7.81066 3.75854 7.5V6.375Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0085 4.5C12.0085 4.18934 12.2604 3.9375 12.571 3.9375H13.696C15.0417 3.9375 16.1335 5.02934 16.1335 6.375V7.5C16.1335 7.81066 15.8817 8.0625 15.571 8.0625C15.2604 8.0625 15.0085 7.81066 15.0085 7.5V6.375C15.0085 5.65066 14.4204 5.0625 13.696 5.0625H12.571C12.2604 5.0625 12.0085 4.81066 12.0085 4.5Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.32104 9.9375C4.63171 9.9375 4.88354 10.1893 4.88354 10.5V11.625C4.88354 12.3493 5.4717 12.9375 6.19604 12.9375H7.32104C7.63171 12.9375 7.88354 13.1893 7.88354 13.5C7.88354 13.8107 7.63171 14.0625 7.32104 14.0625H6.19604C4.85038 14.0625 3.75854 12.9707 3.75854 11.625V10.5C3.75854 10.1893 4.01038 9.9375 4.32104 9.9375Z",fill:"#242424"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.571 9.9375C15.8817 9.9375 16.1335 10.1893 16.1335 10.5V11.625C16.1335 12.9707 15.0417 14.0625 13.696 14.0625H12.571C12.2604 14.0625 12.0085 13.8107 12.0085 13.5C12.0085 13.1893 12.2604 12.9375 12.571 12.9375H13.696C14.4204 12.9375 15.0085 12.3493 15.0085 11.625V10.5C15.0085 10.1893 15.2604 9.9375 15.571 9.9375Z",fill:"#242424"})),p8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.8449 14.8726C10.6724 14.8726 10.4999 14.8351 10.3424 14.7526C10.3049 14.7301 10.2674 14.7076 10.2374 14.6776L8.98489 13.6126L7.75489 14.6776C7.71739 14.7076 7.67989 14.7301 7.64239 14.7526C7.34989 14.8951 7.01989 14.9101 6.72739 14.7826C6.42739 14.6551 6.20239 14.4076 6.09739 14.1001L5.85739 13.3801C5.72989 13.0051 5.84239 12.5326 6.11989 12.2476L7.37239 11.0176L7.36489 9.93009L5.10739 10.8976C4.73239 11.0551 4.34239 11.0401 4.04239 10.8376C3.74989 10.6501 3.57739 10.2976 3.57739 9.89259V9.19509C3.57739 8.61009 3.98239 7.98759 4.52239 7.75509L7.36489 6.53259V5.10009C7.36489 4.36509 7.85239 3.57009 8.50489 3.25509C8.82739 3.09759 9.19489 3.09759 9.51739 3.25509C10.1699 3.59259 10.6574 4.38759 10.6574 5.10009V6.53259L13.4999 7.75509C14.0399 7.98009 14.4449 8.60259 14.4449 9.19509V9.89259C14.4449 10.2976 14.2724 10.6501 13.9649 10.8451C13.6574 11.0401 13.2749 11.0626 12.8999 10.9051L10.6499 9.93759V11.0401L11.8724 12.2626C12.1499 12.5401 12.2624 13.0201 12.1349 13.3951L11.8949 14.1076C11.7899 14.4151 11.5649 14.6626 11.2649 14.7826C11.1299 14.8426 10.9874 14.8726 10.8449 14.8726ZM8.99989 12.5026C9.25489 12.5026 9.50239 12.5851 9.70489 12.7426L10.8674 13.7326L11.0699 13.0351L9.84739 11.8201C9.65239 11.6326 9.52489 11.3176 9.52489 11.0401V9.65259C9.52489 9.31509 9.66739 9.02259 9.92239 8.85009C10.1774 8.67759 10.5074 8.65509 10.8224 8.79009L13.3124 9.85509L13.3199 9.19509C13.3199 9.05259 13.1849 8.84259 13.0574 8.79009L10.0949 7.51509C9.77239 7.38009 9.53239 7.02009 9.53239 6.65259V5.10009C9.53239 4.80759 9.27739 4.39509 9.01489 4.26009C8.74489 4.39509 8.48989 4.80009 8.48989 5.10009V6.65259C8.48989 7.00509 8.25739 7.37259 7.92739 7.51509L4.97239 8.79009C4.84489 8.84259 4.70239 9.06009 4.70239 9.19509V9.85509L7.18489 8.79759C7.49239 8.66259 7.81489 8.67759 8.07739 8.85009C8.33989 9.02259 8.48989 9.31509 8.48989 9.66009V11.0476C8.48989 11.3176 8.36239 11.6326 8.16739 11.8276L6.90739 13.0651L7.14739 13.7251L8.27989 12.7651C8.48989 12.5926 8.74489 12.5026 8.99989 12.5026ZM10.5374 6.48009L10.5449 6.48759C10.5449 6.48009 10.5374 6.48009 10.5374 6.48009Z",fill:"#242424"}),d.createElement("path",{d:"M11.25 17.0625H6.75C2.6775 17.0625 0.9375 15.3225 0.9375 11.25V6.75C0.9375 2.6775 2.6775 0.9375 6.75 0.9375H11.25C15.3225 0.9375 17.0625 2.6775 17.0625 6.75V11.25C17.0625 15.3225 15.3225 17.0625 11.25 17.0625ZM6.75 2.0625C3.2925 2.0625 2.0625 3.2925 2.0625 6.75V11.25C2.0625 14.7075 3.2925 15.9375 6.75 15.9375H11.25C14.7075 15.9375 15.9375 14.7075 15.9375 11.25V6.75C15.9375 3.2925 14.7075 2.0625 11.25 2.0625H6.75Z",fill:"#242424"})),f8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M13.3051 17.0624H5.73013C5.49763 17.0624 5.28764 16.9199 5.20514 16.6949C5.12264 16.4699 5.18263 16.2299 5.36263 16.0724C5.88763 15.6074 6.19513 14.9399 6.19513 14.2424C6.19513 12.8999 5.10013 11.8049 3.75763 11.8049C3.20263 11.8049 2.67763 11.9925 2.23513 12.345C2.06263 12.48 1.83764 12.5024 1.64264 12.4124C1.44764 12.3224 1.32764 12.1199 1.32764 11.9024V8.62494C1.32764 6.75744 2.84263 5.24243 4.71013 5.24243H13.3201C15.1876 5.24243 16.7026 6.75744 16.7026 8.62494V9.70494C16.7026 10.0124 16.4476 10.2674 16.1401 10.2674H14.6251C14.3626 10.2674 14.1226 10.3649 13.9501 10.5449L13.9426 10.5524C13.7326 10.7549 13.6351 11.0325 13.6576 11.3175C13.7026 11.8125 14.1751 12.21 14.7151 12.21H16.1401C16.4476 12.21 16.7026 12.465 16.7026 12.7725V13.6649C16.6876 15.5474 15.1726 17.0624 13.3051 17.0624ZM6.88513 15.9374H13.3051C14.5501 15.9374 15.5626 14.9249 15.5626 13.6799V13.3499H14.7001C13.5676 13.3499 12.6076 12.5099 12.5176 11.4299C12.4576 10.8149 12.6826 10.2075 13.1326 9.76495C13.5226 9.36745 14.0476 9.14995 14.6101 9.14995H15.5626V8.63245C15.5626 7.38745 14.5501 6.37494 13.3051 6.37494H4.69513C3.45013 6.37494 2.43763 7.38745 2.43763 8.63245V10.9425C2.85763 10.7775 3.30013 10.6874 3.75013 10.6874C5.71513 10.6874 7.31263 12.2849 7.31263 14.2499C7.31263 14.8424 7.16263 15.4274 6.88513 15.9374Z",fill:"#242424"}),d.createElement("path",{d:"M1.875 9.19501C1.5675 9.19501 1.3125 8.94001 1.3125 8.63251V5.88002C1.3125 4.76252 2.01001 3.74248 3.05251 3.35248L9.0075 1.10248C9.6225 0.877478 10.3125 0.960022 10.845 1.33502C11.3775 1.71002 11.7 2.31751 11.7 2.96251V5.8125C11.7 6.12 11.445 6.375 11.1375 6.375C10.83 6.375 10.575 6.12 10.575 5.8125V2.96251C10.575 2.67751 10.44 2.42251 10.2075 2.25751C9.9675 2.09251 9.675 2.055 9.40499 2.1525L3.45 4.4025C2.835 4.635 2.4375 5.21252 2.4375 5.88002V8.63251C2.4375 8.94001 2.1825 9.19501 1.875 9.19501Z",fill:"#242424"}),d.createElement("path",{d:"M14.6999 13.3499C13.5674 13.3499 12.6074 12.5099 12.5174 11.4299C12.4574 10.8074 12.6824 10.1999 13.1324 9.7574C13.5149 9.3674 14.0399 9.1499 14.6024 9.1499H16.1624C16.9049 9.1724 17.4749 9.75737 17.4749 10.4774V12.0224C17.4749 12.7424 16.9049 13.3274 16.1849 13.3499H14.6999ZM16.1474 10.2749H14.6099C14.3474 10.2749 14.1074 10.3724 13.9349 10.5524C13.7174 10.7624 13.6124 11.0474 13.6424 11.3324C13.6874 11.8274 14.1599 12.2249 14.6999 12.2249H16.1699C16.2674 12.2249 16.3574 12.1349 16.3574 12.0224V10.4774C16.3574 10.3649 16.2674 10.2824 16.1474 10.2749Z",fill:"#242424"}),d.createElement("path",{d:"M10.5 9.5625H5.25C4.9425 9.5625 4.6875 9.3075 4.6875 9C4.6875 8.6925 4.9425 8.4375 5.25 8.4375H10.5C10.8075 8.4375 11.0625 8.6925 11.0625 9C11.0625 9.3075 10.8075 9.5625 10.5 9.5625Z",fill:"#242424"}),d.createElement("path",{d:"M3.75 17.8125C1.785 17.8125 0.1875 16.215 0.1875 14.25C0.1875 13.155 0.674999 12.1425 1.5225 11.4675C2.1525 10.965 2.9475 10.6875 3.75 10.6875C5.715 10.6875 7.3125 12.285 7.3125 14.25C7.3125 15.27 6.87 16.245 6.105 16.92C5.445 17.4975 4.6125 17.8125 3.75 17.8125ZM3.75 11.8125C3.195 11.8125 2.67 12 2.2275 12.3525C1.65 12.81 1.3125 13.5075 1.3125 14.25C1.3125 15.5925 2.4075 16.6875 3.75 16.6875C4.335 16.6875 4.905 16.47 5.3625 16.08C5.8875 15.615 6.1875 14.955 6.1875 14.25C6.1875 12.9075 5.0925 11.8125 3.75 11.8125Z",fill:"#242424"}),d.createElement("path",{d:"M2.99991 15.5625C2.81241 15.5625 2.62491 15.465 2.51991 15.2925C2.36241 15.0225 2.44491 14.6775 2.71491 14.52L3.38241 14.1225V13.3125C3.38241 13.005 3.63741 12.75 3.94491 12.75C4.25241 12.75 4.50741 13.005 4.50741 13.3125V14.4375C4.50741 14.6325 4.40241 14.82 4.23741 14.9175L3.29991 15.48C3.20241 15.54 3.09741 15.5625 2.99991 15.5625Z",fill:"#242424"})),h8=e=>({title:"calculators",href:e+"/calculators/compound-interest",Icon:$1,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"calculator_compound_interest",textWidth:130,href:e+"/calculators/compound-interest",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators1.png",width:99,height:88}},{title:"calculator_bonds",href:e+"/calculators/bonds",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators2.png",width:120,height:90}}]},{type:"second",items:[{title:"calculator_credit",href:e+"/calculators/credit",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators3.png",width:120,height:100}},{title:"calculator_vacation",href:e+"/calculators/vacation",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/calculators4.png",width:105,height:125}}]},{type:"third",items:[{title:"calculator_mortgage",href:e+"/calculators/mortgage",icon:Ps,isFill:!1},{title:"calculator_goals",href:e+"/calculators/goals",icon:w1,isFill:!1},{title:"calculator_refinance",href:e+"/calculators/refinance",icon:Jd,isFill:!1},{title:"calculator_currency_converter",href:e+"/calculators/currency-converter",icon:Qd,isFill:!1},{title:"calculator_savings",href:e+"/calculators/savings",icon:Ud,isFill:!0},{title:"calculator_deposit",href:e+"/calculators/deposit",icon:Kd,isFill:!1}],hasViewAllButton:!0,viewAllButtonText:"all_calculators",href:e+"/calculators/compound-interest",icon:l8},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed4.png",href:e+"/subscribe",bannerCode:"header_calculators"}],subPages:[{name:"calculator_compound_interest",href:e+"/calculators/compound-interest"},{name:"calculator_mortgage",href:e+"/calculators/mortgage"},{name:"calculator_credit",href:e+"/calculators/credit"},{name:"calculator_goals",href:e+"/calculators/goals"},{name:"calculator_refinance",href:e+"/calculators/refinance"},{name:"calculator_bonds",href:e+"/calculators/bonds"},{name:"calculator_currency_converter",href:e+"/calculators/currency-converter"},{name:"calculator_savings",href:e+"/calculators/savings"},{name:"calculator_vacation",href:e+"/calculators/vacation"},{name:"calculator_deposit",href:e+"/calculators/deposit"},{name:"calculator_inflation",href:e+"/calculators/inflation"},{name:"calculator_credit_prepayment",href:e+"/calculators/loan-prepayment"}]}),qd=e=>({name:"calculators",Icon:$1,href:e+"/calculators/compound-interest",subPages:[{name:"calculator_compound_interest",Icon:c8,isForeignAccess:!0,href:e+"/calculators/compound-interest"},{name:"calculator_mortgage",Icon:Ps,href:e+"/calculators/mortgage",isFill:!1,isForeignAccess:!0},{name:"calculator_credit",Icon:d8,isForeignAccess:!0,href:e+"/calculators/credit"},{name:"calculator_credit_prepayment_short",Icon:f8,href:e+"/calculators/loan-prepayment",nowrap:!0,isForeignAccess:!0},{name:"calculator_goals",Icon:w1,isFill:!1,isForeignAccess:!0,href:e+"/calculators/goals"},{name:"calculator_refinance",Icon:Jd,isFill:!1,isForeignAccess:!0,href:e+"/calculators/refinance"},{name:"calculator_bonds",Icon:u8,isForeignAccess:!0,href:e+"/calculators/bonds"},{name:"calculator_currency_converter",Icon:Qd,isFill:!1,isForeignAccess:!0,href:e+"/calculators/currency-converter"},{name:"calculator_savings",Icon:Ud,isForeignAccess:!0,href:e+"/calculators/savings"},{name:"calculator_vacation",Icon:p8,isForeignAccess:!0,href:e+"/calculators/vacation"},{name:"calculator_deposit",Icon:Kd,isFill:!1,isForeignAccess:!0,href:e+"/calculators/deposit"},{name:"calculator_inflation",Icon:k1,isFill:!1,isForeignAccess:!0,href:e+"/calculators/inflation"}]}),e0=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M7.86859 1.67248L4.12609 3.08248C3.26359 3.40498 2.55859 4.42498 2.55859 5.33998V10.9125C2.55859 11.7975 3.14359 12.96 3.85609 13.4925L7.08109 15.9C8.13859 16.695 9.87859 16.695 10.9361 15.9L14.1611 13.4925C14.8736 12.96 15.4586 11.7975 15.4586 10.9125V5.33998C15.4586 4.41748 14.7536 3.39748 13.8911 3.07498L10.1486 1.67248C9.51109 1.43998 8.49109 1.43998 7.86859 1.67248Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.78906 8.90251L7.99656 10.11L11.2216 6.88501",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),m8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M14.835 16.5076V13.1626",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.8502 8.16748C13.9352 8.16748 13.2002 8.90249 13.2002 9.81749V11.52C13.2002 12.435 13.9352 13.17 14.8502 13.17C15.7652 13.17 16.5002 12.435 16.5002 11.52V9.81749C16.5002 8.90249 15.7652 8.16748 14.8502 8.16748Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M1.5752 16.5001V4.52258C1.5752 3.01508 2.32523 2.25757 3.81773 2.25757H8.49022C9.98272 2.25757 10.7252 3.01508 10.7252 4.52258V16.5001",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.3501 6.1875H8.06261",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M4.3501 9H8.06261",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.1875 16.5V13.6875",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),g8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.92188 14.3113C8.97396 14.3113 9.03385 14.2983 9.10156 14.2722C9.16927 14.2461 9.22396 14.2122 9.26563 14.1705L14.5313 8.88267C14.6667 8.74708 14.7682 8.59237 14.8359 8.41854C14.9036 8.24472 14.9375 8.07089 14.9375 7.89706C14.9375 7.71975 14.9036 7.54245 14.8359 7.36514C14.7682 7.18784 14.6667 7.03139 14.5313 6.89581L11.7188 4.07979C11.5833 3.9442 11.4271 3.84251 11.25 3.77472C11.0729 3.70693 10.8958 3.67303 10.7188 3.67303C10.5451 3.67303 10.3715 3.70693 10.1979 3.77472C10.0243 3.84251 9.86979 3.9442 9.73438 4.07979C9.57871 4.23565 9.57794 4.4879 9.73264 4.64471L10.7188 5.64424C10.8542 5.79026 10.974 5.95974 11.0781 6.15269C11.1823 6.34564 11.2344 6.55684 11.2344 6.7863C11.2344 7.18262 11.0807 7.53202 10.7734 7.83448C10.4661 8.13694 10.1146 8.28817 9.71875 8.28817C9.45833 8.28817 9.24219 8.24906 9.07031 8.17084C8.89844 8.09262 8.74122 7.98133 8.59867 7.83697C7.96604 7.20489 6.94076 7.20544 6.3088 7.83819L4.625 9.52409C4.57292 9.57624 4.53646 9.63113 4.51563 9.68877C4.49479 9.74641 4.48438 9.80817 4.48438 9.87403C4.48438 10.0058 4.52865 10.116 4.61719 10.2046C4.70573 10.2933 4.81597 10.3376 4.94792 10.3376C5.01389 10.3376 5.07552 10.322 5.13281 10.2907C5.1901 10.2594 5.23958 10.2229 5.28125 10.1812L7.10896 8.35116C7.29034 8.16956 7.58466 8.16956 7.76604 8.35116C7.94709 8.53245 7.94709 8.82613 7.76604 9.00741L5.95313 10.8226C5.90104 10.8747 5.86458 10.9321 5.84375 10.9947C5.82292 11.0573 5.8125 11.1198 5.8125 11.1824C5.8125 11.3076 5.85938 11.4171 5.95313 11.511C6.04688 11.6048 6.15625 11.6518 6.28125 11.6518C6.34375 11.6518 6.40365 11.6387 6.46094 11.6126C6.51823 11.5866 6.56771 11.5527 6.60938 11.511L8.43709 9.68095C8.61847 9.49934 8.91278 9.49934 9.09416 9.68095C9.27522 9.86223 9.27522 10.1559 9.09416 10.3372L7.28125 12.1524C7.23958 12.1941 7.20573 12.248 7.17969 12.314C7.15365 12.3801 7.14063 12.4462 7.14063 12.5122C7.14063 12.6374 7.1875 12.7469 7.28125 12.8407C7.375 12.9346 7.48438 12.9815 7.60938 12.9815C7.67188 12.9815 7.72917 12.9711 7.78125 12.9502C7.83333 12.9294 7.88542 12.8929 7.9375 12.8407L9.76522 11.0107C9.94659 10.8291 10.2409 10.8291 10.4223 11.0107C10.6033 11.192 10.6033 11.4857 10.4223 11.667L8.59375 13.4978C8.54167 13.55 8.50521 13.6073 8.48438 13.6699C8.46354 13.7325 8.45312 13.7898 8.45312 13.842C8.45312 13.988 8.49479 14.1027 8.57812 14.1862C8.66146 14.2696 8.77604 14.3113 8.92188 14.3113ZM8.92288 15.25C8.57846 15.25 8.27083 15.1222 8 14.8667C7.98126 14.849 7.96304 14.8311 7.94535 14.8128C7.52931 14.3834 7.04751 13.9052 6.625 13.4822C6.20213 13.0588 5.71826 12.577 5.30469 12.1446C4.89548 11.7166 4.41396 11.2558 3.98203 10.8508C3.96156 10.8316 3.94151 10.8118 3.92188 10.7913C3.67188 10.5306 3.54688 10.2177 3.54688 9.85263C3.54688 9.67532 3.5819 9.49776 3.65194 9.31995C3.72198 9.14213 3.82237 8.98594 3.95312 8.85138L5.73438 7.0679C6.68327 6.11782 8.22298 6.11782 9.17188 7.0679C9.25521 7.15133 9.34548 7.21652 9.4427 7.26345C9.53993 7.31039 9.63716 7.33385 9.73438 7.33385C9.86979 7.33385 9.9974 7.27388 10.1172 7.15394C10.237 7.034 10.2969 6.90543 10.2969 6.76824C10.2969 6.70727 10.2786 6.63767 10.2422 6.55945C10.2057 6.48123 10.1458 6.4004 10.0625 6.31696L7.82812 4.07979C7.69271 3.9442 7.53646 3.84251 7.35938 3.77472C7.18229 3.70693 7.00521 3.67303 6.82812 3.67303C6.65451 3.67303 6.4809 3.70693 6.3073 3.77472C6.13368 3.84251 5.97947 3.94346 5.84467 4.07755L3.46875 6.45776C3.32292 6.60378 3.22135 6.75761 3.16406 6.91927C3.10677 7.08093 3.07292 7.26345 3.0625 7.46683C3.05208 7.67021 3.09115 7.86838 3.17969 8.06133C3.20479 8.11604 3.23137 8.16928 3.25941 8.22106C3.37796 8.44 3.36699 8.7186 3.19104 8.89476C2.99354 9.09251 2.6671 9.08539 2.52457 8.84498C2.44824 8.71622 2.38015 8.57755 2.32031 8.42897C2.1901 8.10565 2.125 7.77712 2.125 7.44337C2.125 7.13048 2.1849 6.83062 2.30469 6.5438C2.42448 6.25699 2.59375 6.00407 2.8125 5.78504L5.17188 3.42272C5.40104 3.19326 5.66038 3.02378 5.94989 2.91427C6.23941 2.80476 6.53629 2.75 6.84052 2.75C7.14476 2.75 7.4401 2.80476 7.72656 2.91427C8.01302 3.02378 8.27083 3.19326 8.5 3.42272C8.65527 3.57818 8.90723 3.57818 9.0625 3.42272C9.29167 3.19326 9.55101 3.02378 9.84052 2.91427C10.13 2.80476 10.4269 2.75 10.7311 2.75C11.0354 2.75 11.3307 2.80476 11.6172 2.91427C11.9036 3.02378 12.1615 3.19326 12.3906 3.42272L15.1875 6.22309C15.4167 6.45254 15.5885 6.71346 15.7031 7.00584C15.8177 7.29821 15.875 7.59546 15.875 7.89757C15.875 8.19969 15.8177 8.49416 15.7031 8.78098C15.5885 9.06779 15.4167 9.32593 15.1875 9.55538L9.92188 14.8276C9.78646 14.9632 9.63265 15.0675 9.46044 15.1405C9.28823 15.2135 9.10904 15.25 8.92288 15.25Z",fill:"#242424"})),v8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M1.5 7.50009V10.5001C1.5 12.0001 2.25 12.7501 3.75 12.7501H4.8225C5.1 12.7501 5.3775 12.8326 5.6175 12.9751L7.8075 14.3476C9.6975 15.5326 11.25 14.6701 11.25 12.4426V5.55759C11.25 3.32259 9.6975 2.46759 7.8075 3.65259L5.6175 5.02509C5.3775 5.16759 5.1 5.25009 4.8225 5.25009H3.75C2.25 5.25009 1.5 6.00009 1.5 7.50009Z",stroke:"#242424",strokeWidth:1.4}),d.createElement("path",{d:"M13.5 6C14.835 7.7775 14.835 10.2225 13.5 12",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.8726 4.125C17.0401 7.0125 17.0401 10.9875 14.8726 13.875",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),C8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.2967 2.63248L11.6167 5.27248C11.7967 5.63998 12.2767 5.99248 12.6817 6.05998L15.0742 6.45748C16.6042 6.71248 16.9642 7.82248 15.8617 8.91748L14.0017 10.7775C13.6867 11.0925 13.5142 11.7 13.6117 12.135L14.1442 14.4375C14.5642 16.26 13.5967 16.965 11.9842 16.0125L9.7417 14.685C9.3367 14.445 8.6692 14.445 8.2567 14.685L6.0142 16.0125C4.4092 16.965 3.4342 16.2525 3.8542 14.4375L4.3867 12.135C4.4842 11.7 4.3117 11.0925 3.9967 10.7775L2.1367 8.91748C1.0417 7.82248 1.3942 6.71248 2.9242 6.45748L5.3167 6.05998C5.7142 5.99248 6.1942 5.63998 6.3742 5.27248L7.6942 2.63248C8.4142 1.19998 9.5842 1.19998 10.2967 2.63248Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),x8=(e,t,n)=>({title:"about_profinansy",href:e+"/about",Icon:Ps,isFill:!1,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[{type:"first",items:[{title:"about_us",href:e+"/about",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/about1.png",width:215,height:100}},{title:"support",href:"https://t.me/profinansy_help_bot?start=hz585hb",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/about2.png",width:110,height:95}}]},{type:"second",items:[{title:"vacancies_short",href:"https://sites.profinansy.ru/vacancies",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/about3.png",width:130,height:100}},{title:"profile_bank",href:t?e+"/login":e+"/account/bank-ideas",image:{src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/club10.png",width:100,height:95}}]},{type:"third",items:[{title:"leave_review",href:t?e+"/login":e+"/account/reviews/all",icon:C8,isFill:!1},{title:"courses_how_use",href:e+"/training-section/training/use_wallet",icon:Ts,isFill:!1},{title:"referral_program",href:t?e+"/login":e+"/ref-account",icon:L1,isFill:!0,isNotVisible:!n},{title:"scammers_short",href:"https://profinansy.net/counteringfraud#schemes",icon:e0,isFill:!1}]},{type:"fourth",image:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/feed4.png",href:e+"/subscribe",bannerCode:"header_aboutprofinansy"}],subPages:[{name:"referral_program",href:t?e+"/login":e+"/ref-account",locked:t,isNotVisible:!n},{name:"vacancies",href:"https://sites.profinansy.ru/vacancies"},{name:"scammers",href:"https://profinansy.net/counteringfraud#schemes"},{name:"about_company",href:"https://sites.profinansy.ru/about_company"},{name:"client_support",href:"https://t.me/profinansy_help_bot?start=hz585hb"}]}),b8=(e,t,n)=>({name:"about_company",subPages:[{name:"about_profinansy",Icon:m8,isFill:!1,href:"https://sites.profinansy.ru/about_company"},{name:"client_support",Icon:g8,isFill:!0,href:"https://t.me/profinansy_help_bot?start=hz585hb"},{name:"courses_how_use",Icon:Ts,isFill:!1,href:e+"/training-section/training/use_wallet",nowrap:!0},{name:"referral_program",Icon:L1,href:t?e+"/login":e+"/ref-account",isFill:!0,isNotVisible:!n},{name:"scammers_short",Icon:e0,href:"https://profinansy.net/counteringfraud#schemes",isFill:!1,nowrap:!0},{name:"vacancies_short",Icon:v8,isFill:!1,href:"https://sites.profinansy.ru/vacancies"}]}),y8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.87506 6.18756C9.98941 6.18756 10.1017 6.19257 10.2116 6.20242L9.87506 6.18756Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7326 14.0551C12.9351 14.19 13.1676 14.2576 13.4001 14.2576C13.5876 14.2576 13.7826 14.2126 13.9626 14.1301C14.3526 13.9201 14.6001 13.5151 14.6001 13.065V12.2326C15.4551 12.1275 16.2051 11.775 16.7451 11.2275C17.4201 10.5675 17.7876 9.60756 17.7876 8.52005V4.69507C17.7876 2.49007 16.2426 0.945068 14.0376 0.945068H7.6626C5.45764 0.945068 3.9126 2.49007 3.9126 4.69507V6.2896C2.54791 6.63141 1.6626 7.78628 1.6626 9.30008V12.3525C1.6626 13.2525 1.96262 14.0325 2.53262 14.6025C2.96759 15.0375 3.55261 15.315 4.21262 15.4201V15.9901C4.21262 16.3951 4.43015 16.7551 4.78262 16.9426C4.94009 17.0251 5.11258 17.0626 5.27765 17.0626C5.48758 17.0626 5.6976 17.0026 5.87759 16.8751L8.00006 15.4651H9.86755C11.0962 15.4651 12.0857 14.9021 12.5924 13.963L12.7326 14.0551ZM11.8551 12.3525V9.30754C11.8551 8.08504 11.0901 7.32007 9.86755 7.32007H4.77512C4.68512 7.32007 4.60263 7.32758 4.52014 7.33508C4.49734 7.33616 4.47473 7.336 4.45239 7.3346C3.4129 7.45655 2.7876 8.19144 2.7876 9.30008V12.3525C2.7876 12.9525 2.9751 13.455 3.32758 13.8075C3.67264 14.1525 4.17508 14.3401 4.77512 14.3401C5.08255 14.3401 5.33762 14.5951 5.33762 14.9026V15.8851L7.51263 14.4376C7.55667 14.4082 7.60611 14.3842 7.65829 14.3674C7.71277 14.3498 7.77017 14.3401 7.82758 14.3401H9.86755C10.8576 14.3401 11.5551 13.8451 11.7726 12.9751C11.8251 12.7876 11.8551 12.5775 11.8551 12.3525ZM10.2116 6.20242C11.8604 6.35002 12.9876 7.58445 12.9876 9.30008V12.3525C12.9801 12.525 12.9726 12.6901 12.9501 12.8476L13.4376 13.1251C13.4826 13.1026 13.4826 13.065 13.4826 13.0575V11.7C13.4826 11.3925 13.7376 11.1375 14.0451 11.1375C14.8326 11.1375 15.5001 10.8901 15.9576 10.4251C16.4301 9.96008 16.6701 9.30003 16.6701 8.51254V4.68756C16.6701 3.09006 15.6426 2.06256 14.0451 2.06256H7.6701C6.0726 2.06256 5.0451 3.09006 5.0451 4.68756V6.18756H9.86755",fill:"#454545"})),t0=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1791 16.2751C12.6255 16.2751 12.0099 16.0856 11.3812 15.6793L10.0048 14.8085C9.95339 14.7743 9.89725 14.7592 9.85908 14.7516C9.81481 14.7428 9.76853 14.7392 9.72519 14.7392C9.68186 14.7392 9.63558 14.7428 9.59131 14.7516C9.55314 14.7592 9.497 14.7743 9.44557 14.8085L8.07098 15.6781L8.07027 15.6786C6.98944 16.3681 5.97689 16.446 5.18555 15.9795C4.41032 15.5211 3.9502 14.5874 3.9502 13.2975V5.61775C3.9502 4.32587 4.28721 3.35968 4.89785 2.7172C5.50678 2.07651 6.41888 1.7251 7.63824 1.7251H11.8122C13.0315 1.7251 13.9436 2.07651 14.5525 2.7172C15.1632 3.35968 15.5002 4.32587 15.5002 5.61775V13.2975C15.5002 14.5996 15.0394 15.5313 14.2664 15.9785L14.2638 15.9801C13.9346 16.1765 13.5677 16.2751 13.1791 16.2751ZM6.53196 15.0616C6.82985 15.0075 7.15171 14.8711 7.477 14.664L8.85275 13.7935C9.11663 13.6324 9.41913 13.5552 9.72519 13.5552C10.0331 13.5552 10.3349 13.6333 10.5763 13.7824L10.5773 13.7829L11.9522 14.6529C12.2776 14.8601 12.5996 14.9965 12.8976 15.0507C13.195 15.1048 13.4832 15.079 13.7203 14.9406L13.7228 14.9391C13.9525 14.8011 14.1144 14.5662 14.2183 14.2868C14.3226 14.0062 14.3745 13.6651 14.3745 13.2866V5.61775C14.3745 4.72352 14.1965 4.03239 13.7574 3.56778C13.3156 3.10018 12.6545 2.90909 11.8017 2.90909H7.6278C6.775 2.90909 6.11397 3.10018 5.67209 3.56778C5.23306 4.03239 5.05498 4.72352 5.05498 5.61775V13.2975C5.05498 13.676 5.10695 14.0171 5.21125 14.2977C5.3151 14.5771 5.47704 14.812 5.70668 14.95L5.70921 14.9515C5.9463 15.0898 6.23451 15.1157 6.53196 15.0616Z",fill:"#454545"})),w8=e=>d.createElement("svg",{width:19,height:18,viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{clipPath:"url(#clip0_11960_2530)"},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.67763 6.6825C4.67763 3.88933 6.94697 1.62 9.74013 1.62C12.5258 1.62 14.8026 3.89683 14.8026 6.6825V8.85C14.8026 9.01114 14.8391 9.24701 14.9082 9.49904C14.9765 9.74801 15.0647 9.96928 15.145 10.1098L16.005 11.5381C16.6841 12.67 16.1412 14.1446 14.89 14.5588C11.5421 15.6772 7.92979 15.6771 4.58188 14.5585L4.57979 14.5578C3.94799 14.344 3.47417 13.9018 3.26232 13.3297C3.05022 12.7569 3.12237 12.1122 3.46815 11.5375L4.32947 10.107C4.32966 10.1066 4.32985 10.1063 4.33004 10.106C4.41217 9.96792 4.50214 9.74746 4.57156 9.49735C4.6412 9.24649 4.67763 9.01097 4.67763 8.85V6.6825ZM9.74013 2.745C7.56829 2.745 5.80263 4.51066 5.80263 6.6825V8.85C5.80263 9.14652 5.74156 9.4885 5.65557 9.79826C5.56953 10.1082 5.44601 10.4311 5.29579 10.683L5.29453 10.6851L4.43211 12.1175C4.43208 12.1175 4.43214 12.1175 4.43211 12.1175C4.24547 12.4278 4.23505 12.7169 4.31732 12.939C4.39976 13.1617 4.59689 13.3756 4.93946 13.4918C8.05597 14.5328 11.4179 14.5327 14.5344 13.4915L14.5361 13.4909C15.0991 13.3048 15.3508 12.6351 15.0405 12.1173C15.0405 12.1172 15.0406 12.1174 15.0405 12.1173L14.1728 10.6761C14.0287 10.4264 13.9081 10.1058 13.8233 9.79658C13.7387 9.48798 13.6776 9.14635 13.6776 8.85V6.6825C13.6776 4.51816 11.9045 2.745 9.74013 2.745Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.82883 2.19471C8.12842 1.43025 8.87219 0.892456 9.74005 0.892456C10.6079 0.892456 11.3517 1.43025 11.6513 2.19471C11.7295 2.39427 11.6875 2.62092 11.543 2.77921C11.3985 2.9375 11.1766 2.99991 10.9707 2.94015C10.7627 2.87975 10.5527 2.83416 10.3399 2.80837L10.3378 2.80811C9.68947 2.72707 9.0769 2.77517 8.50957 2.9401C8.30372 2.99994 8.08176 2.93757 7.9372 2.77928C7.79264 2.621 7.75061 2.3943 7.82883 2.19471Z",fill:"#454545"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.05249 14.295C8.05249 14.7544 8.24359 15.1832 8.54774 15.4873C8.85188 15.7914 9.2806 15.9825 9.73999 15.9825C10.6668 15.9825 11.4275 15.2219 11.4275 14.295H12.5525C12.5525 15.8432 11.2882 17.1075 9.73999 17.1075C8.96938 17.1075 8.2581 16.7886 7.75224 16.2828C7.24639 15.7769 6.92749 15.0657 6.92749 14.295H8.05249Z",fill:"#454545"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_11960_2530"},d.createElement("rect",{width:18,height:18,fill:"white",transform:"translate(0.725098)"})))),mc=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 9C11.0711 9 12.75 7.32107 12.75 5.25C12.75 3.17893 11.0711 1.5 9 1.5C6.92893 1.5 5.25 3.17893 5.25 5.25C5.25 7.32107 6.92893 9 9 9Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M15.4426 16.5C15.4426 13.5975 12.5551 11.25 9.00011 11.25C5.44511 11.25 2.55762 13.5975 2.55762 16.5",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),k8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9 13.5V11.25",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M7.55245 2.11489L2.35495 6.27739C1.76995 6.74239 1.39495 7.72489 1.52245 8.45989L2.51995 14.4299C2.69995 15.4949 3.71995 16.3574 4.79995 16.3574H13.2C14.2725 16.3574 15.3 15.4874 15.48 14.4299L16.4775 8.45989C16.5975 7.72489 16.2225 6.74239 15.645 6.27739L10.4475 2.12239C9.64495 1.47739 8.34745 1.47739 7.55245 2.11489Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),E8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M5.60986 13.7626L7.93486 15.5626C8.23486 15.8626 8.90986 16.0126 9.35986 16.0126H12.2099C13.1099 16.0126 14.0849 15.3376 14.3099 14.4376L16.1099 8.9626C16.4849 7.9126 15.8099 7.0126 14.6849 7.0126H11.6849C11.2349 7.0126 10.8599 6.6376 10.9349 6.1126L11.3099 3.7126C11.4599 3.0376 11.0099 2.2876 10.3349 2.0626C9.73486 1.8376 8.98486 2.1376 8.68486 2.5876L5.60986 7.1626",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10}),d.createElement("path",{d:"M1.78516 13.7625V6.41255C1.78516 5.36255 2.23516 4.98755 3.28516 4.98755H4.03516C5.08516 4.98755 5.53516 5.36255 5.53516 6.41255V13.7625C5.53516 14.8125 5.08516 15.1875 4.03516 15.1875H3.28516C2.23516 15.1875 1.78516 14.8125 1.78516 13.7625Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),L8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M14.895 6.06744C14.895 6.38244 14.8725 6.68994 14.835 6.98244C14.49 6.83244 14.115 6.74995 13.7175 6.74995C12.8025 6.74995 11.9925 7.19244 11.49 7.86744C10.98 7.19244 10.17 6.74995 9.255 6.74995C7.7175 6.74995 6.4725 8.00244 6.4725 9.55494C6.4725 11.5649 7.5375 13.1024 8.7225 14.1449C8.685 14.1674 8.64751 14.175 8.61001 14.19C8.38501 14.2725 8.01 14.2725 7.785 14.19C5.8425 13.5225 1.5 10.7624 1.5 6.06744C1.5 3.99744 3.16499 2.32495 5.21999 2.32495C6.44249 2.32495 7.52249 2.90994 8.19749 3.81744C8.87999 2.90994 9.96 2.32495 11.175 2.32495C13.23 2.32495 14.895 3.99744 14.895 6.06744Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5002 9.55499C16.5002 13.065 13.2527 15.135 11.7977 15.63C11.6252 15.69 11.3476 15.69 11.1751 15.63C10.5526 15.42 9.60016 14.9175 8.72266 14.145C7.53766 13.1025 6.47266 11.565 6.47266 9.55499C6.47266 8.00249 7.71765 6.75 9.25515 6.75C10.1701 6.75 10.9802 7.19249 11.4902 7.86749C11.9927 7.19249 12.8027 6.75 13.7177 6.75C14.1152 6.75 14.4902 6.8325 14.8352 6.9825C15.8177 7.4175 16.5002 8.39999 16.5002 9.55499Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),M8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.00005 5.91748L8.19755 7.31248C8.01755 7.61998 8.16755 7.87498 8.52005 7.87498H9.47255C9.83255 7.87498 9.97505 8.12998 9.79505 8.43748L9.00005 9.83248",fill:"#242424"}),d.createElement("path",{d:"M9.00005 5.91748L8.19755 7.31248C8.01755 7.61998 8.16755 7.87498 8.52005 7.87498H9.47255C9.83255 7.87498 9.97505 8.12998 9.79505 8.43748L9.00005 9.83248",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.22502 13.5299V12.6599C4.50002 11.6174 3.08252 9.58489 3.08252 7.42489C3.08252 3.71239 6.49502 0.802387 10.35 1.64239C12.045 2.01739 13.53 3.14239 14.3025 4.69489C15.87 7.84489 14.22 11.1899 11.7975 12.6524V13.5224C11.7975 13.7399 11.88 14.2424 11.0775 14.2424H6.94502C6.12002 14.2499 6.22502 13.9274 6.22502 13.5299Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.375 16.4999C8.0925 16.0124 9.9075 16.0124 11.625 16.4999",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),$8=e=>d.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M10.5 4.64996V7.5C8.4075 7.5375 7.5375 8.4075 7.5 10.5H4.65C2.4 10.5 1.5 9.60004 1.5 7.35004V4.64996C1.5 2.39996 2.4 1.5 4.65 1.5H7.35C9.6 1.5 10.5 2.39996 10.5 4.64996Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M5.2199 4.40256C4.8224 4.13256 4.2974 4.13257 3.8999 4.41757",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M8.2199 4.40256C7.8224 4.13256 7.2974 4.13257 6.8999 4.41757",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M6.1201 8.565H4.3801C4.1551 8.565 3.9751 8.38497 3.9751 8.15997C3.9751 7.04247 4.8826 6.13501 6.0001 6.13501C6.4801 6.13501 6.9226 6.29998 7.2676 6.57748",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M16.5 10.65V13.35C16.5 15.6 15.6 16.5 13.35 16.5H10.65C8.4 16.5 7.5 15.6 7.5 13.35V10.5C7.5375 8.4075 8.4075 7.5375 10.5 7.5H13.35C15.6 7.5 16.5 8.39996 16.5 10.65Z",stroke:"#242424",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M11.2199 10.215C10.8224 10.485 10.2974 10.485 9.8999 10.2",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M14.2199 10.215C13.8224 10.485 13.2974 10.485 12.8999 10.2",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M10.3801 12.135H13.6201C13.8451 12.135 14.0251 12.3149 14.0251 12.5399C14.0251 13.6574 13.1176 14.565 12.0001 14.565C10.8826 14.565 9.9751 13.6574 9.9751 12.5399C9.9751 12.3149 10.1551 12.135 10.3801 12.135Z",stroke:"#242424",strokeWidth:1.4,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),_8=(e,t)=>{const n=t===Zt.en,r=[{name:"profile_favorite_instruments",href:e+"/account/favorite/instruments"},{name:"profile_favorite_portfolio",href:e+"/account/favorite/portfolios"},{name:"profile_favorite_publications",href:e+"/account/favorite/publications"},{name:"profile_favorite_investidea",href:e+"/account/favorite/investideas"},{name:"profile_favorite_selections",href:e+"/account/favorite/selections"},{name:"profile_favorite_news",href:e+"/account/favorite/news"},{name:"profile_favorite_podcasts",href:e+"/account/favorite/podcasts"},{name:"profile_favorite_investology",href:e+"/account/favorite/investing"}],o=["/account/favorite/news","/account/favorite/selections","/account/favorite/investing","/account/favorite/podcasts","/account/favorite/portfolios","/account/favorite/investideas","/account/favorite/publications"],i=["/account/favorite/instruments","/account/favorite/portfolios"];return{name:"profile_favorite",Icon:t0,isForeignAccess:!0,href:e+"/account/favorite/instruments",innerPages:n?i:o,subPages:n?r.slice(0,2):r}},Bs=(e,t=Zt.ru)=>({title:"profile",name:"profile_profile",href:e+"/account/home",Icon:mc,subPages:[{name:"profile_main",isFill:!1,isForeignAccess:!0,Icon:k8,href:e+"/account/home"},{name:"profile_personal_data",isFill:!1,isForeignAccess:!0,Icon:mc,href:e+"/account/profile"},{name:"profile_publications",Icon:E8,isFill:!1,href:e+"/account/publications",hiddenFromChildren:!0},{Icon:L8,isFill:!1,name:"profile_children_cabinet",href:e+"/account/children",hiddenFromChildren:!0},{name:"profile_groups",Icon:Nd,href:e+"/account/chats"},{name:"profile_channels",Icon:y8,href:e+"/account/channels",hiddenFromChildren:!0},_8(e,t),{name:"profile_notifications",Icon:w8,isForeignAccess:!0,href:e+"/account/notifications"},{name:"profile_bank",Icon:M8,isFill:!1,isForeignAccess:!0,href:e+"/account/bank-ideas",hiddenFromChildren:!0},{name:"profile_reviews",Icon:$8,isFill:!1,isForeignAccess:!0,href:e+"/account/reviews/all",innerPages:[`${e}/account/reviews/my-reviews`],hiddenFromChildren:!0}]}),n0=(e,t,n,r,o,i,a,l)=>{const{isPaid:c,isGuest:u,isStandard:p}=As(o),{childCourseId:f}=M7({enabled:i===2}),{isForeignSite:g,locale:v}=ie(),{showMethodInvestIdeas:C}=ue();return m.useMemo(()=>{let x=I8(e,t,n,r,o,f,c,u,p,l,C);if(a){const b=Bs(e,v),y={name:b.title,href:b.href,config:{title:b.name,href:b.href,isFirstRowHorizontal:!1,isSecondRowHorizontal:!1,columns:[],subPages:b.subPages,Icon:b.Icon,isFill:!1}};x=[...x,y]}if(g||i===2){let b=x;return g&&(b=S8(x)),i===2&&(b=D8(x)),b}return x},[e,t,n,r,u,c,g,v,f,i,a,l,C])},I8=(e,t,n,r,o,i,a,l,c,u,p)=>[{name:"myMoney_goals",config:_7(e,l)},{name:"myMoney_budget",config:A7(e,l)},{name:"portfolios",config:T7(e,l,a,t,c)},{name:"investments",config:H7(e,t,l,a,c,u)},{name:"courses",config:Q7(e,t,n,l,r,i)},{name:"idv",config:q7(e,a,c)},{name:"method",config:r8(e,a,c,p)},{name:"club",config:N7(e)},{name:"feed",config:a8(t,e)},{name:"calculators",config:h8(e)},{name:"about_profinansy",config:x8(e,l,u)}],S8=e=>e,D8=e=>e.filter(t=>!t.config.hiddenFromChildren),O={animation_1:"cubic-bezier(0.05, 0, 0, 1)",animation_2:"cubic-bezier(0.165, 0.84, 0.44, 1)"},A8=(e,t,n)=>t?n.statesBackground.sideBarOpen:e?n.background.secondary:"transparent",j8=e=>e?"8px 8px 0 0":"8px",R8=h.styled.button`
|
|
228
228
|
font-family: Manrope, sans-serif;
|
|
229
229
|
padding: 10px 8px 10px 10px;
|
|
230
230
|
border-radius: ${({$isOpen:e})=>j8(e)};
|
|
@@ -362,10 +362,10 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
362
362
|
-webkit-background-clip: text;
|
|
363
363
|
-webkit-text-fill-color: transparent;
|
|
364
364
|
}
|
|
365
|
-
`;function I1(){return typeof window<"u"}function Wn(e){return o0(e)?(e.nodeName||"").toLowerCase():"#document"}function $t(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function mn(e){var t;return(t=(o0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function o0(e){return I1()?e instanceof Node||e instanceof $t(e).Node:!1}function Be(e){return I1()?e instanceof Element||e instanceof $t(e).Element:!1}function ot(e){return I1()?e instanceof HTMLElement||e instanceof $t(e).HTMLElement:!1}function Ja(e){return!I1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $t(e).ShadowRoot}function Bo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function O8(e){return["table","td","th"].includes(Wn(e))}function S1(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Vs(e){const t=D1(),n=Be(e)?At(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function W8(e){let t=Dn(e);for(;ot(t)&&!Vn(t);){if(Vs(t))return t;if(S1(t))return null;t=Dn(t)}return null}function D1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vn(e){return["html","body","#document"].includes(Wn(e))}function At(e){return $t(e).getComputedStyle(e)}function A1(e){return Be(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Dn(e){if(Wn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ja(e)&&e.host||mn(e);return Ja(t)?t.host:t}function i0(e){const t=Dn(e);return Vn(t)?e.ownerDocument?e.ownerDocument.body:e.body:ot(t)&&Bo(t)?t:i0(t)}function Bn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=i0(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=$t(o);if(i){const l=Ua(a);return t.concat(a,a.visualViewport||[],Bo(o)?o:[],l&&n?Bn(l):[])}return t.concat(o,Bn(o,[],n))}function Ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bn(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function rt(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Ja(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function a0(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function s0(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function Z8(e){return e.mozInputSource===0&&e.isTrusted?!0:Qa()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function l0(e){return z8()?!1:!Qa()&&e.width===0&&e.height===0||Qa()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function c0(){return/apple/i.test(navigator.vendor)}function Qa(){const e=/android/i;return e.test(a0())||e.test(s0())}function Y8(){return a0().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function z8(){return s0().includes("jsdom/")}function xo(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function G8(e){return"nativeEvent"in e}function X8(e){return e.matches("html,body")}function vt(e){return e?.ownerDocument||document}function ca(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function kn(e){return"composedPath"in e?e.composedPath()[0]:e.target}const J8="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Ns(e){return ot(e)&&e.matches(J8)}function da(e){e.preventDefault(),e.stopPropagation()}function U8(e){return e?e.getAttribute("role")==="combobox"&&Ns(e):!1}const Fr=Math.min,Un=Math.max,Ui=Math.round,di=Math.floor,
|
|
365
|
+
`;function I1(){return typeof window<"u"}function Wn(e){return o0(e)?(e.nodeName||"").toLowerCase():"#document"}function $t(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function mn(e){var t;return(t=(o0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function o0(e){return I1()?e instanceof Node||e instanceof $t(e).Node:!1}function Be(e){return I1()?e instanceof Element||e instanceof $t(e).Element:!1}function ot(e){return I1()?e instanceof HTMLElement||e instanceof $t(e).HTMLElement:!1}function Ja(e){return!I1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $t(e).ShadowRoot}function Bo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function O8(e){return["table","td","th"].includes(Wn(e))}function S1(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Vs(e){const t=D1(),n=Be(e)?At(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function W8(e){let t=Dn(e);for(;ot(t)&&!Vn(t);){if(Vs(t))return t;if(S1(t))return null;t=Dn(t)}return null}function D1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vn(e){return["html","body","#document"].includes(Wn(e))}function At(e){return $t(e).getComputedStyle(e)}function A1(e){return Be(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Dn(e){if(Wn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ja(e)&&e.host||mn(e);return Ja(t)?t.host:t}function i0(e){const t=Dn(e);return Vn(t)?e.ownerDocument?e.ownerDocument.body:e.body:ot(t)&&Bo(t)?t:i0(t)}function Bn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=i0(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=$t(o);if(i){const l=Ua(a);return t.concat(a,a.visualViewport||[],Bo(o)?o:[],l&&n?Bn(l):[])}return t.concat(o,Bn(o,[],n))}function Ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bn(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function rt(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Ja(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function a0(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function s0(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function Z8(e){return e.mozInputSource===0&&e.isTrusted?!0:Qa()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function l0(e){return z8()?!1:!Qa()&&e.width===0&&e.height===0||Qa()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function c0(){return/apple/i.test(navigator.vendor)}function Qa(){const e=/android/i;return e.test(a0())||e.test(s0())}function Y8(){return a0().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function z8(){return s0().includes("jsdom/")}function xo(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function G8(e){return"nativeEvent"in e}function X8(e){return e.matches("html,body")}function vt(e){return e?.ownerDocument||document}function ca(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function kn(e){return"composedPath"in e?e.composedPath()[0]:e.target}const J8="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Ns(e){return ot(e)&&e.matches(J8)}function da(e){e.preventDefault(),e.stopPropagation()}function U8(e){return e?e.getAttribute("role")==="combobox"&&Ns(e):!1}const Fr=Math.min,Un=Math.max,Ui=Math.round,di=Math.floor,ln=e=>({x:e,y:e}),Q8={left:"right",right:"left",bottom:"top",top:"bottom"},K8={start:"end",end:"start"};function Ka(e,t,n){return Un(e,Fr(t,n))}function Ho(e,t){return typeof e=="function"?e(t):e}function er(e){return e.split("-")[0]}function Vo(e){return e.split("-")[1]}function d0(e){return e==="x"?"y":"x"}function Os(e){return e==="y"?"height":"width"}function Pr(e){return["top","bottom"].includes(er(e))?"y":"x"}function Ws(e){return d0(Pr(e))}function q8(e,t,n){n===void 0&&(n=!1);const r=Vo(e),o=Ws(e),i=Os(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Qi(a)),[a,Qi(a)]}function ep(e){const t=Qi(e);return[qa(e),t,qa(t)]}function qa(e){return e.replace(/start|end/g,t=>K8[t])}function tp(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function np(e,t,n,r){const o=Vo(e);let i=tp(er(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(qa)))),i}function Qi(e){return e.replace(/left|right|bottom|top/g,t=>Q8[t])}function rp(e){return{top:0,right:0,bottom:0,left:0,...e}}function u0(e){return typeof e!="number"?rp(e):{top:e,right:e,bottom:e,left:e}}function Br(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}/*!
|
|
366
366
|
* tabbable 6.2.0
|
|
367
367
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
368
|
-
*/var op=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ki=op.join(","),p0=typeof Element>"u",Hr=p0?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,qi=!p0&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},e1=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),i=o===""||o==="true",a=i||n&&t&&e(t.parentNode);return a},ip=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},ap=function(t,n,r){if(e1(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Ki));return n&&Hr.call(t,Ki)&&o.unshift(t),o=o.filter(r),o},sp=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var a=i.shift();if(!e1(a,!1))if(a.tagName==="SLOT"){var l=a.assignedElements(),c=l.length?l:a.children,u=e(c,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:a,candidates:u})}else{var p=Hr.call(a,Ki);p&&r.filter(a)&&(n||!t.includes(a))&&o.push(a);var f=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),g=!e1(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(f&&g){var v=e(f===!0?a.children:f.children,!0,r);r.flatten?o.push.apply(o,v):o.push({scopeParent:a,candidates:v})}else i.unshift.apply(i,a.children)}}return o},f0=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},h0=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||ip(t))&&!f0(t)?0:t.tabIndex},lp=function(t,n){var r=h0(t);return r<0&&n&&!f0(t)?0:r},cp=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},m0=function(t){return t.tagName==="INPUT"},dp=function(t){return m0(t)&&t.type==="hidden"},up=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},pp=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},fp=function(t){if(!t.name)return!0;var n=t.form||qi(t),r=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var i=pp(o,t.form);return!i||i===t},hp=function(t){return m0(t)&&t.type==="radio"},mp=function(t){return hp(t)&&!fp(t)},gp=function(t){var n,r=t&&qi(t),o=(n=r)===null||n===void 0?void 0:n.host,i=!1;if(r&&r!==t){var a,l,c;for(i=!!((a=o)!==null&&a!==void 0&&(l=a.ownerDocument)!==null&&l!==void 0&&l.contains(o)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!i&&o;){var u,p,f;r=qi(o),o=(u=r)===null||u===void 0?void 0:u.host,i=!!((p=o)!==null&&p!==void 0&&(f=p.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return i},Cc=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},vp=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=Hr.call(t,"details>summary:first-of-type"),a=i?t.parentElement:t;if(Hr.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var c=t.parentElement,u=qi(t);if(c&&!c.shadowRoot&&o(c)===!0)return Cc(t);t.assignedSlot?t=t.assignedSlot:!c&&u!==t.ownerDocument?t=u.host:t=c}t=l}if(gp(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Cc(t);return!1},Cp=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return Hr.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},xp=function(t,n){return!(n.disabled||e1(n)||dp(n)||vp(n,t)||up(n)||Cp(n))},es=function(t,n){return!(mp(n)||h0(n)<0||!xp(t,n))},bp=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},yp=function e(t){var n=[],r=[];return t.forEach(function(o,i){var a=!!o.scopeParent,l=a?o.scopeParent:o,c=lp(l,a),u=a?e(o.candidates):l;c===0?a?n.push.apply(n,u):n.push(l):r.push({documentOrder:i,tabIndex:c,item:o,isScope:a,content:u})}),r.sort(cp).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},j1=function(t,n){n=n||{};var r;return n.getShadowRoot?r=sp([t],n.includeContainer,{filter:es.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:bp}):r=ap(t,n.includeContainer,es.bind(null,n)),yp(r)},wp=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Hr.call(t,Ki)===!1?!1:es(n,t)};function xc(e,t,n){let{reference:r,floating:o}=e;const i=Pr(t),a=Ws(t),l=Os(a),c=er(t),u=i==="y",p=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,g=r[l]/2-o[l]/2;let v;switch(c){case"top":v={x:p,y:r.y-o.height};break;case"bottom":v={x:p,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-o.width,y:f};break;default:v={x:r.x,y:r.y}}switch(Vo(t)){case"start":v[a]-=g*(n&&u?-1:1);break;case"end":v[a]+=g*(n&&u?-1:1);break}return v}const g0=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:f}=xc(u,r,c),g=r,v={},C=0;for(let x=0;x<l.length;x++){const{name:b,fn:y}=l[x],{x:k,y:w,data:L,reset:E}=await y({x:p,y:f,initialPlacement:r,placement:g,strategy:o,middlewareData:v,rects:u,platform:a,elements:{reference:e,floating:t}});p=k??p,f=w??f,v={...v,[b]:{...v[b],...L}},E&&C<=50&&(C++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(u=E.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:p,y:f}=xc(u,g,c)),x=-1)}return{x:p,y:f,placement:g,strategy:o,middlewareData:v}};async function v0(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:g=!1,padding:v=0}=Ho(t,e),C=u0(v),b=l[g?f==="floating"?"reference":"floating":f],y=Br(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:p,strategy:c})),k=f==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),L=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Br(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:w,strategy:c}):k);return{top:(y.top-E.top+C.top)/L.y,bottom:(E.bottom-y.bottom+C.bottom)/L.y,left:(y.left-E.left+C.left)/L.x,right:(E.right-y.right+C.right)/L.x}}const C0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:p=0}=Ho(e,t)||{};if(u==null)return{};const f=u0(p),g={x:n,y:r},v=Ws(o),C=Os(v),x=await a.getDimensions(u),b=v==="y",y=b?"top":"left",k=b?"bottom":"right",w=b?"clientHeight":"clientWidth",L=i.reference[C]+i.reference[v]-g[v]-i.floating[C],E=g[v]-i.reference[v],$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let M=$?$[w]:0;(!M||!await(a.isElement==null?void 0:a.isElement($)))&&(M=l.floating[w]||i.floating[C]);const _=L/2-E/2,D=M/2-x[C]/2-1,P=Fr(f[y],D),N=Fr(f[k],D),F=P,V=M-x[C]-N,T=M/2-x[C]/2+_,H=Ka(F,T,V),I=!c.arrow&&Vo(o)!=null&&T!==H&&i.reference[C]/2-(T<F?P:N)-x[C]/2<0,j=I?T<F?T-F:T-V:0;return{[v]:g[v]+j,data:{[v]:H,centerOffset:T-H-j,...I&&{alignmentOffset:j}},reset:I}}}),x0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...b}=Ho(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=er(o),k=Pr(l),w=er(l)===l,L=await(c.isRTL==null?void 0:c.isRTL(u.floating)),E=g||(w||!x?[Qi(l)]:ep(l)),$=C!=="none";!g&&$&&E.push(...np(l,x,C,L));const M=[l,...E],_=await v0(t,b),D=[];let P=((r=i.flip)==null?void 0:r.overflows)||[];if(p&&D.push(_[y]),f){const T=q8(o,a,L);D.push(_[T[0]],_[T[1]])}if(P=[...P,{placement:o,overflows:D}],!D.every(T=>T<=0)){var N,F;const T=(((N=i.flip)==null?void 0:N.index)||0)+1,H=M[T];if(H)return{data:{index:T,overflows:P},reset:{placement:H}};let I=(F=P.filter(j=>j.overflows[0]<=0).sort((j,A)=>j.overflows[1]-A.overflows[1])[0])==null?void 0:F.placement;if(!I)switch(v){case"bestFit":{var V;const j=(V=P.filter(A=>{if($){const R=Pr(A.placement);return R===k||R==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(R=>R>0).reduce((R,W)=>R+W,0)]).sort((A,R)=>A[1]-R[1])[0])==null?void 0:V[0];j&&(I=j);break}case"initialPlacement":I=l;break}if(o!==I)return{reset:{placement:I}}}return{}}}};async function kp(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=er(n),l=Vo(n),c=Pr(n)==="y",u=["left","top"].includes(a)?-1:1,p=i&&c?-1:1,f=Ho(t,e);let{mainAxis:g,crossAxis:v,alignmentAxis:C}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof C=="number"&&(v=l==="end"?C*-1:C),c?{x:v*p,y:g*u}:{x:g*u,y:v*p}}const b0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,c=await kp(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},Ep=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:y,y:k}=b;return{x:y,y:k}}},...c}=Ho(e,t),u={x:n,y:r},p=await v0(t,c),f=Pr(er(o)),g=d0(f);let v=u[g],C=u[f];if(i){const b=g==="y"?"top":"left",y=g==="y"?"bottom":"right",k=v+p[b],w=v-p[y];v=Ka(k,v,w)}if(a){const b=f==="y"?"top":"left",y=f==="y"?"bottom":"right",k=C+p[b],w=C-p[y];C=Ka(k,C,w)}const x=l.fn({...t,[g]:v,[f]:C});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[g]:i,[f]:a}}}}}};function y0(e){const t=At(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ot(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=Ui(n)!==i||Ui(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function Zs(e){return Be(e)?e:e.contextElement}function Lr(e){const t=Zs(e);if(!ot(t))return sn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=y0(t);let a=(i?Ui(n.width):n.width)/r,l=(i?Ui(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Lp=sn(0);function w0(e){const t=$t(e);return!D1()||!t.visualViewport?Lp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mp(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==$t(e)?!1:t}function tr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Zs(e);let a=sn(1);t&&(r?Be(r)&&(a=Lr(r)):a=Lr(e));const l=Mp(i,n,r)?w0(i):sn(0);let c=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,p=o.width/a.x,f=o.height/a.y;if(i){const g=$t(i),v=r&&Be(r)?$t(r):r;let C=g,x=Ua(C);for(;x&&r&&v!==C;){const b=Lr(x),y=x.getBoundingClientRect(),k=At(x),w=y.left+(x.clientLeft+parseFloat(k.paddingLeft))*b.x,L=y.top+(x.clientTop+parseFloat(k.paddingTop))*b.y;c*=b.x,u*=b.y,p*=b.x,f*=b.y,c+=w,u+=L,C=$t(x),x=Ua(C)}}return Br({width:p,height:f,x:c,y:u})}function Ys(e,t){const n=A1(e).scrollLeft;return t?t.left+n:tr(mn(e)).left+n}function k0(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ys(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function $p(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=mn(r),l=t?S1(t.floating):!1;if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=sn(1);const p=sn(0),f=ot(r);if((f||!f&&!i)&&((Wn(r)!=="body"||Bo(a))&&(c=A1(r)),ot(r))){const v=tr(r);u=Lr(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}const g=a&&!f&&!i?k0(a,c,!0):sn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+p.x+g.x,y:n.y*u.y-c.scrollTop*u.y+p.y+g.y}}function _p(e){return Array.from(e.getClientRects())}function Ip(e){const t=mn(e),n=A1(e),r=e.ownerDocument.body,o=Un(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Un(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Ys(e);const l=-n.scrollTop;return At(r).direction==="rtl"&&(a+=Un(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function Sp(e,t){const n=$t(e),r=mn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;const u=D1();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}function Dp(e,t){const n=tr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ot(e)?Lr(e):sn(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:a,height:l,x:c,y:u}}function bc(e,t,n){let r;if(t==="viewport")r=Sp(e,n);else if(t==="document")r=Ip(mn(e));else if(Be(t))r=Dp(t,n);else{const o=w0(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Br(r)}function E0(e,t){const n=Dn(e);return n===t||!Be(n)||Vn(n)?!1:At(n).position==="fixed"||E0(n,t)}function Ap(e,t){const n=t.get(e);if(n)return n;let r=Bn(e,[],!1).filter(l=>Be(l)&&Wn(l)!=="body"),o=null;const i=At(e).position==="fixed";let a=i?Dn(e):e;for(;Be(a)&&!Vn(a);){const l=At(a),c=Vs(a);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Bo(a)&&!c&&E0(e,a))?r=r.filter(p=>p!==a):o=l,a=Dn(a)}return t.set(e,r),r}function jp(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?S1(t)?[]:Ap(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,p)=>{const f=bc(t,p,o);return u.top=Un(f.top,u.top),u.right=Fr(f.right,u.right),u.bottom=Fr(f.bottom,u.bottom),u.left=Un(f.left,u.left),u},bc(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Rp(e){const{width:t,height:n}=y0(e);return{width:t,height:n}}function Tp(e,t,n){const r=ot(t),o=mn(t),i=n==="fixed",a=tr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=sn(0);if(r||!r&&!i)if((Wn(t)!=="body"||Bo(o))&&(l=A1(t)),r){const g=tr(t,!0,i,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else o&&(c.x=Ys(o));const u=o&&!r&&!i?k0(o,l):sn(0),p=a.left+l.scrollLeft-c.x-u.x,f=a.top+l.scrollTop-c.y-u.y;return{x:p,y:f,width:a.width,height:a.height}}function ua(e){return At(e).position==="static"}function yc(e,t){if(!ot(e)||At(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return mn(e)===n&&(n=n.ownerDocument.body),n}function L0(e,t){const n=$t(e);if(S1(e))return n;if(!ot(e)){let o=Dn(e);for(;o&&!Vn(o);){if(Be(o)&&!ua(o))return o;o=Dn(o)}return n}let r=yc(e,t);for(;r&&O8(r)&&ua(r);)r=yc(r,t);return r&&Vn(r)&&ua(r)&&!Vs(r)?n:r||W8(e)||n}const Fp=async function(e){const t=this.getOffsetParent||L0,n=this.getDimensions,r=await n(e.floating);return{reference:Tp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Pp(e){return At(e).direction==="rtl"}const Bp={convertOffsetParentRelativeRectToViewportRelativeRect:$p,getDocumentElement:mn,getClippingRect:jp,getOffsetParent:L0,getElementRects:Fp,getClientRects:_p,getDimensions:Rp,getScale:Lr,isElement:Be,isRTL:Pp};function M0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Hp(e,t){let n=null,r;const o=mn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:p,top:f,width:g,height:v}=u;if(l||t(),!g||!v)return;const C=di(f),x=di(o.clientWidth-(p+g)),b=di(o.clientHeight-(f+v)),y=di(p),w={rootMargin:-C+"px "+-x+"px "+-b+"px "+-y+"px",threshold:Un(0,Fr(1,c))||1};let L=!0;function E($){const M=$[0].intersectionRatio;if(M!==c){if(!L)return a();M?a(!1,M):r=setTimeout(()=>{a(!1,1e-7)},1e3)}M===1&&!M0(u,e.getBoundingClientRect())&&a(),L=!1}try{n=new IntersectionObserver(E,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,w)}n.observe(e)}return a(!0),i}function nr(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Zs(e),p=o||i?[...u?Bn(u):[],...Bn(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&l?Hp(u,n):null;let g=-1,v=null;a&&(v=new ResizeObserver(y=>{let[k]=y;k&&k.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var w;(w=v)==null||w.observe(t)})),n()}),u&&!c&&v.observe(u),v.observe(t));let C,x=c?tr(e):null;c&&b();function b(){const y=tr(e);x&&!M0(x,y)&&n(),x=y,C=requestAnimationFrame(b)}return n(),()=>{var y;p.forEach(k=>{o&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(y=v)==null||y.disconnect(),v=null,c&&cancelAnimationFrame(C)}}const Vp=b0,Np=Ep,Op=x0,wc=C0,Wp=(e,t,n)=>{const r=new Map,o={platform:Bp,...n},i={...o.platform,_c:r};return g0(e,t,{...o,platform:i})};var _i=typeof document<"u"?m.useLayoutEffect:m.useEffect;function t1(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!t1(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!t1(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function $0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function kc(e,t){const n=$0(e);return Math.round(t*n)/n}function pa(e){const t=d.useRef(e);return _i(()=>{t.current=e}),t}function Zp(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[p,f]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,v]=d.useState(r);t1(g,r)||v(r);const[C,x]=d.useState(null),[b,y]=d.useState(null),k=d.useCallback(A=>{A!==$.current&&($.current=A,x(A))},[]),w=d.useCallback(A=>{A!==M.current&&(M.current=A,y(A))},[]),L=i||C,E=a||b,$=d.useRef(null),M=d.useRef(null),_=d.useRef(p),D=c!=null,P=pa(c),N=pa(o),F=pa(u),V=d.useCallback(()=>{if(!$.current||!M.current)return;const A={placement:t,strategy:n,middleware:g};N.current&&(A.platform=N.current),Wp($.current,M.current,A).then(R=>{const W={...R,isPositioned:F.current!==!1};T.current&&!t1(_.current,W)&&(_.current=W,ks.flushSync(()=>{f(W)}))})},[g,t,n,N,F]);_i(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[u]);const T=d.useRef(!1);_i(()=>(T.current=!0,()=>{T.current=!1}),[]),_i(()=>{if(L&&($.current=L),E&&(M.current=E),L&&E){if(P.current)return P.current(L,E,V);V()}},[L,E,V,P,D]);const H=d.useMemo(()=>({reference:$,floating:M,setReference:k,setFloating:w}),[k,w]),I=d.useMemo(()=>({reference:L,floating:E}),[L,E]),j=d.useMemo(()=>{const A={position:n,left:0,top:0};if(!I.floating)return A;const R=kc(I.floating,p.x),W=kc(I.floating,p.y);return l?{...A,transform:"translate("+R+"px, "+W+"px)",...$0(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:W}},[n,l,I.floating,p.x,p.y]);return d.useMemo(()=>({...p,update:V,refs:H,elements:I,floatingStyles:j}),[p,V,H,I,j])}const Yp=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?wc({element:r.current,padding:o}).fn(n):{}:r?wc({element:r,padding:o}).fn(n):{}}}},No=(e,t)=>({...Vp(e),options:[e,t]}),Oo=(e,t)=>({...Np(e),options:[e,t]}),Wo=(e,t)=>({...Op(e),options:[e,t]}),zs=(e,t)=>({...Yp(e),options:[e,t]});function gn(e){return d.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})},e)}const _0={...d},zp=_0.useInsertionEffect,Gp=zp||(e=>e());function Wt(e){const t=d.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Gp(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var ut=typeof document<"u"?m.useLayoutEffect:m.useEffect;function bo(){return bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bo.apply(this,arguments)}let Ec=!1,Xp=0;const Lc=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Xp++;function Jp(){const[e,t]=d.useState(()=>Ec?Lc():void 0);return ut(()=>{e==null&&t(Lc())},[]),d.useEffect(()=>{Ec=!0},[]),e}const Up=_0.useId,rr=Up||Jp;let yo;process.env.NODE_ENV!=="production"&&(yo=new Set);function Qp(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=yo)!=null&&e.has(o))){var i;(i=yo)==null||i.add(o),console.warn(o)}}function Kp(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=yo)!=null&&e.has(o))){var i;(i=yo)==null||i.add(o),console.error(o)}}const Gs=d.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:a}},width:l=14,height:c=7,tipRadius:u=0,strokeWidth:p=0,staticOffset:f,stroke:g,d:v,style:{transform:C,...x}={},...b}=t;process.env.NODE_ENV!=="production"&&(n||Qp("The `ref` prop is required for `FloatingArrow`."));const y=rr(),[k,w]=d.useState(!1);if(ut(()=>{if(!o)return;At(o).direction==="rtl"&&w(!0)},[o]),!o)return null;const[L,E]=r.split("-"),$=L==="top"||L==="bottom";let M=f;($&&a!=null&&a.x||!$&&a!=null&&a.y)&&(M=null);const _=p*2,D=_/2,P=l/2*(u/-8+1),N=c/2*u/4,F=!!v,V=M&&E==="end"?"bottom":"top";let T=M&&E==="end"?"right":"left";M&&k&&(T=E==="end"?"left":"right");const H=i?.x!=null?M||i.x:"",I=i?.y!=null?M||i.y:"",j=v||"M0,0"+(" H"+l)+(" L"+(l-P)+","+(c-N))+(" Q"+l/2+","+c+" "+P+","+(c-N))+" Z",A={top:F?"rotate(180deg)":"",left:F?"rotate(90deg)":"rotate(-90deg)",bottom:F?"":"rotate(180deg)",right:F?"rotate(-90deg)":"rotate(90deg)"}[L];return d.createElement("svg",bo({},b,{"aria-hidden":!0,ref:n,width:F?l:l+_,height:l,viewBox:"0 0 "+l+" "+(c>l?c:l),style:{position:"absolute",pointerEvents:"none",[T]:H,[V]:I,[L]:$||F?"100%":"calc(100% - "+_/2+"px)",transform:[A,C].filter(R=>!!R).join(" "),...x}}),_>0&&d.createElement("path",{clipPath:"url(#"+y+")",fill:"none",stroke:g,strokeWidth:_+(v?0:1),d:j}),d.createElement("path",{stroke:_&&!v?b.fill:"none",d:j}),d.createElement("clipPath",{id:y},d.createElement("rect",{x:-D,y:D*(F?-1:1),width:l+_,height:l})))});function qp(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const ef=d.createContext(null),tf=d.createContext(null),Xs=()=>{var e;return((e=d.useContext(ef))==null?void 0:e.id)||null},R1=()=>d.useContext(tf);function or(e){return"data-floating-ui-"+e}function on(e){const t=m.useRef(e);return ut(()=>{t.current=e}),t}const Mc=or("safe-polygon");function fa(e,t,n){return n&&!xo(n)?0:typeof e=="number"?e:e?.[t]}function Js(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:a}=e,{enabled:l=!0,delay:c=0,handleClose:u=null,mouseOnly:p=!1,restMs:f=0,move:g=!0}=t,v=R1(),C=Xs(),x=on(u),b=on(c),y=on(n),k=d.useRef(),w=d.useRef(-1),L=d.useRef(),E=d.useRef(-1),$=d.useRef(!0),M=d.useRef(!1),_=d.useRef(()=>{}),D=d.useRef(!1),P=d.useCallback(()=>{var j;const A=(j=o.current.openEvent)==null?void 0:j.type;return A?.includes("mouse")&&A!=="mousedown"},[o]);d.useEffect(()=>{if(!l)return;function j(A){let{open:R}=A;R||(clearTimeout(w.current),clearTimeout(E.current),$.current=!0,D.current=!1)}return i.on("openchange",j),()=>{i.off("openchange",j)}},[l,i]),d.useEffect(()=>{if(!l||!x.current||!n)return;function j(R){P()&&r(!1,R,"hover")}const A=vt(a.floating).documentElement;return A.addEventListener("mouseleave",j),()=>{A.removeEventListener("mouseleave",j)}},[a.floating,n,r,l,x,P]);const N=d.useCallback(function(j,A,R){A===void 0&&(A=!0),R===void 0&&(R="hover");const W=fa(b.current,"close",k.current);W&&!L.current?(clearTimeout(w.current),w.current=window.setTimeout(()=>r(!1,j,R),W)):A&&(clearTimeout(w.current),r(!1,j,R))},[b,r]),F=Wt(()=>{_.current(),L.current=void 0}),V=Wt(()=>{if(M.current){const j=vt(a.floating).body;j.style.pointerEvents="",j.removeAttribute(Mc),M.current=!1}}),T=Wt(()=>o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1);d.useEffect(()=>{if(!l)return;function j(Z){if(clearTimeout(w.current),$.current=!1,p&&!xo(k.current)||f>0&&!fa(b.current,"open"))return;const X=fa(b.current,"open",k.current);X?w.current=window.setTimeout(()=>{y.current||r(!0,Z,"hover")},X):n||r(!0,Z,"hover")}function A(Z){if(T())return;_.current();const X=vt(a.floating);if(clearTimeout(E.current),D.current=!1,x.current&&o.current.floatingContext){n||clearTimeout(w.current),L.current=x.current({...o.current.floatingContext,tree:v,x:Z.clientX,y:Z.clientY,onClose(){V(),F(),T()||N(Z,!0,"safe-polygon")}});const re=L.current;X.addEventListener("mousemove",re),_.current=()=>{X.removeEventListener("mousemove",re)};return}(k.current==="touch"?!rt(a.floating,Z.relatedTarget):!0)&&N(Z)}function R(Z){T()||o.current.floatingContext&&(x.current==null||x.current({...o.current.floatingContext,tree:v,x:Z.clientX,y:Z.clientY,onClose(){V(),F(),T()||N(Z)}})(Z))}if(Be(a.domReference)){var W;const Z=a.domReference;return n&&Z.addEventListener("mouseleave",R),(W=a.floating)==null||W.addEventListener("mouseleave",R),g&&Z.addEventListener("mousemove",j,{once:!0}),Z.addEventListener("mouseenter",j),Z.addEventListener("mouseleave",A),()=>{var X;n&&Z.removeEventListener("mouseleave",R),(X=a.floating)==null||X.removeEventListener("mouseleave",R),g&&Z.removeEventListener("mousemove",j),Z.removeEventListener("mouseenter",j),Z.removeEventListener("mouseleave",A)}}},[a,l,e,p,f,g,N,F,V,r,n,y,v,b,x,o,T]),ut(()=>{var j;if(l&&n&&(j=x.current)!=null&&j.__options.blockPointerEvents&&P()){M.current=!0;const R=a.floating;if(Be(a.domReference)&&R){var A;const W=vt(a.floating).body;W.setAttribute(Mc,"");const Z=a.domReference,X=v==null||(A=v.nodesRef.current.find(me=>me.id===C))==null||(A=A.context)==null?void 0:A.elements.floating;return X&&(X.style.pointerEvents=""),W.style.pointerEvents="none",Z.style.pointerEvents="auto",R.style.pointerEvents="auto",()=>{W.style.pointerEvents="",Z.style.pointerEvents="",R.style.pointerEvents=""}}}},[l,n,C,a,v,x,P]),ut(()=>{n||(k.current=void 0,D.current=!1,F(),V())},[n,F,V]),d.useEffect(()=>()=>{F(),clearTimeout(w.current),clearTimeout(E.current),V()},[l,a.domReference,F,V]);const H=d.useMemo(()=>{function j(A){k.current=A.pointerType}return{onPointerDown:j,onPointerEnter:j,onMouseMove(A){const{nativeEvent:R}=A;function W(){!$.current&&!y.current&&r(!0,R,"hover")}p&&!xo(k.current)||n||f===0||D.current&&A.movementX**2+A.movementY**2<2||(clearTimeout(E.current),k.current==="touch"?W():(D.current=!0,E.current=window.setTimeout(W,f)))}}},[p,r,n,y,f]),I=d.useMemo(()=>({onMouseEnter(){clearTimeout(w.current)},onMouseLeave(j){T()||N(j.nativeEvent,!1)}}),[N,T]);return d.useMemo(()=>l?{reference:H,floating:I}:{},[l,H,I])}let $c=0;function vr(e,t){t===void 0&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame($c);const i=()=>e?.focus({preventScroll:n});o?i():$c=requestAnimationFrame(i)}function nf(e,t){var n;let r=[],o=(n=e.find(i=>i.id===t))==null?void 0:n.parentId;for(;o;){const i=e.find(a=>a.id===o);o=i?.parentId,i&&(r=r.concat(i))}return r}function Mr(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}let Cr=new WeakMap,ui=new WeakSet,pi={},ha=0;const rf=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,I0=e=>e&&(e.host||I0(e.parentNode)),of=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=I0(n);return e.contains(r)?r:null}).filter(n=>n!=null);function af(e,t,n,r){const o="data-floating-ui-inert",i=r?"inert":n?"aria-hidden":null,a=of(t,e),l=new Set,c=new Set(a),u=[];pi[o]||(pi[o]=new WeakMap);const p=pi[o];a.forEach(f),g(t),l.clear();function f(v){!v||l.has(v)||(l.add(v),v.parentNode&&f(v.parentNode))}function g(v){!v||c.has(v)||[].forEach.call(v.children,C=>{if(Wn(C)!=="script")if(l.has(C))g(C);else{const x=i?C.getAttribute(i):null,b=x!==null&&x!=="false",y=(Cr.get(C)||0)+1,k=(p.get(C)||0)+1;Cr.set(C,y),p.set(C,k),u.push(C),y===1&&b&&ui.add(C),k===1&&C.setAttribute(o,""),!b&&i&&C.setAttribute(i,"true")}})}return ha++,()=>{u.forEach(v=>{const C=(Cr.get(v)||0)-1,x=(p.get(v)||0)-1;Cr.set(v,C),p.set(v,x),C||(!ui.has(v)&&i&&v.removeAttribute(i),ui.delete(v)),x||v.removeAttribute(o)}),ha--,ha||(Cr=new WeakMap,Cr=new WeakMap,ui=new WeakSet,pi={})}}function _c(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=vt(e[0]).body;return af(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const wo=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function S0(e,t){const n=j1(e,wo());t==="prev"&&n.reverse();const r=n.indexOf(bn(vt(e)));return n.slice(r+1)[0]}function D0(){return S0(document.body,"next")}function A0(){return S0(document.body,"prev")}function ho(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!rt(n,r)}function sf(e){j1(e,wo()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Ic(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const T1={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let lf;function Sc(e){e.key==="Tab"&&(e.target,clearTimeout(lf))}const n1=d.forwardRef(function(t,n){const[r,o]=d.useState();ut(()=>(c0()&&o("button"),document.addEventListener("keydown",Sc),()=>{document.removeEventListener("keydown",Sc)}),[]);const i={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[or("focus-guard")]:"",style:T1};return d.createElement("span",bo({},t,i))}),j0=d.createContext(null),Dc=or("portal");function cf(e){e===void 0&&(e={});const{id:t,root:n}=e,r=rr(),o=R0(),[i,a]=d.useState(null),l=d.useRef(null);return ut(()=>()=>{i?.remove(),queueMicrotask(()=>{l.current=null})},[i]),ut(()=>{if(!r||l.current)return;const c=t?document.getElementById(t):null;if(!c)return;const u=document.createElement("div");u.id=r,u.setAttribute(Dc,""),c.appendChild(u),l.current=u,a(u)},[t,r]),ut(()=>{if(n===null||!r||l.current)return;let c=n||o?.portalNode;c&&!Be(c)&&(c=c.current),c=c||document.body;let u=null;t&&(u=document.createElement("div"),u.id=t,c.appendChild(u));const p=document.createElement("div");p.id=r,p.setAttribute(Dc,""),c=u||c,c.appendChild(p),l.current=p,a(p)},[t,n,r,o]),i}function Zo(e){const{children:t,id:n,root:r,preserveTabOrder:o=!0}=e,i=cf({id:n,root:r}),[a,l]=d.useState(null),c=d.useRef(null),u=d.useRef(null),p=d.useRef(null),f=d.useRef(null),g=a?.modal,v=a?.open,C=!!a&&!a.modal&&a.open&&o&&!!(r||i);return d.useEffect(()=>{if(!i||!o||g)return;function x(b){i&&ho(b)&&(b.type==="focusin"?Ic:sf)(i)}return i.addEventListener("focusin",x,!0),i.addEventListener("focusout",x,!0),()=>{i.removeEventListener("focusin",x,!0),i.removeEventListener("focusout",x,!0)}},[i,o,g]),d.useEffect(()=>{i&&(v||Ic(i))},[v,i]),d.createElement(j0.Provider,{value:d.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:p,afterInsideRef:f,portalNode:i,setFocusManagerState:l}),[o,i])},C&&i&&d.createElement(n1,{"data-type":"outside",ref:c,onFocus:x=>{if(ho(x,i)){var b;(b=p.current)==null||b.focus()}else{const y=A0()||a?.refs.domReference.current;y?.focus()}}}),C&&i&&d.createElement("span",{"aria-owns":i.id,style:T1}),i&&ks.createPortal(t,i),C&&i&&d.createElement(n1,{"data-type":"outside",ref:u,onFocus:x=>{if(ho(x,i)){var b;(b=f.current)==null||b.focus()}else{const y=D0()||a?.refs.domReference.current;y?.focus(),a?.closeOnFocusOut&&a?.onOpenChange(!1,x.nativeEvent,"focus-out")}}}))}const R0=()=>d.useContext(j0),ts="data-floating-ui-focusable";function df(e){return e?e.hasAttribute(ts)?e:e.querySelector("["+ts+"]")||e:null}const uf=20;let Yn=[];function ma(e){Yn=Yn.filter(n=>n.isConnected);let t=e;if(!(!t||Wn(t)==="body")){if(!wp(t,wo())){const n=j1(t,wo())[0];n&&(t=n)}Yn.push(t),Yn.length>uf&&(Yn=Yn.slice(-20))}}function Ac(){return Yn.slice().reverse().find(e=>e.isConnected)}const pf=d.forwardRef(function(t,n){return d.createElement("button",bo({},t,{type:"button",ref:n,tabIndex:-1,style:T1}))});function Us(e){const{context:t,children:n,disabled:r=!1,order:o=["content"],guards:i=!0,initialFocus:a=0,returnFocus:l=!0,restoreFocus:c=!1,modal:u=!0,visuallyHiddenDismiss:p=!1,closeOnFocusOut:f=!0}=e,{open:g,refs:v,nodeId:C,onOpenChange:x,events:b,dataRef:y,floatingId:k,elements:{domReference:w,floating:L}}=t,E=typeof a=="number"&&a<0,$=U8(w)&&E,M=rf()?i:!0,_=on(o),D=on(a),P=on(l),N=R1(),F=R0(),V=d.useRef(null),T=d.useRef(null),H=d.useRef(!1),I=d.useRef(!1),j=d.useRef(-1),A=F!=null,R=df(L),W=Wt(function(re){return re===void 0&&(re=R),re?j1(re,wo()):[]}),Z=Wt(re=>{const oe=W(re);return _.current.map(z=>w&&z==="reference"?w:R&&z==="floating"?R:oe).filter(Boolean).flat()});d.useEffect(()=>{if(r||!u)return;function re(z){if(z.key==="Tab"){rt(R,bn(vt(R)))&&W().length===0&&!$&&da(z);const te=Z(),Q=kn(z);_.current[0]==="reference"&&Q===w&&(da(z),z.shiftKey?vr(te[te.length-1]):vr(te[1])),_.current[1]==="floating"&&Q===R&&z.shiftKey&&(da(z),vr(te[0]))}}const oe=vt(R);return oe.addEventListener("keydown",re),()=>{oe.removeEventListener("keydown",re)}},[r,w,R,u,_,$,W,Z]),d.useEffect(()=>{if(r||!L)return;function re(oe){const z=kn(oe),Q=W().indexOf(z);Q!==-1&&(j.current=Q)}return L.addEventListener("focusin",re),()=>{L.removeEventListener("focusin",re)}},[r,L,W]),d.useEffect(()=>{if(r||!f)return;function re(){I.current=!0,setTimeout(()=>{I.current=!1})}function oe(z){const te=z.relatedTarget;queueMicrotask(()=>{const Q=!(rt(w,te)||rt(L,te)||rt(te,L)||rt(F?.portalNode,te)||te!=null&&te.hasAttribute(or("focus-guard"))||N&&(Mr(N.nodesRef.current,C).find(pe=>{var ve,He;return rt((ve=pe.context)==null?void 0:ve.elements.floating,te)||rt((He=pe.context)==null?void 0:He.elements.domReference,te)})||nf(N.nodesRef.current,C).find(pe=>{var ve,He;return((ve=pe.context)==null?void 0:ve.elements.floating)===te||((He=pe.context)==null?void 0:He.elements.domReference)===te})));if(c&&Q&&bn(vt(R))===vt(R).body){ot(R)&&R.focus();const pe=j.current,ve=W(),He=ve[pe]||ve[ve.length-1]||R;ot(He)&&He.focus()}($||!u)&&te&&Q&&!I.current&&te!==Ac()&&(H.current=!0,x(!1,z,"focus-out"))})}if(L&&ot(w))return w.addEventListener("focusout",oe),w.addEventListener("pointerdown",re),L.addEventListener("focusout",oe),()=>{w.removeEventListener("focusout",oe),w.removeEventListener("pointerdown",re),L.removeEventListener("focusout",oe)}},[r,w,L,R,u,C,N,F,x,f,c,W,$]),d.useEffect(()=>{var re;if(r)return;const oe=Array.from((F==null||(re=F.portalNode)==null?void 0:re.querySelectorAll("["+or("portal")+"]"))||[]);if(L){const z=[L,...oe,V.current,T.current,_.current.includes("reference")||$?w:null].filter(Q=>Q!=null),te=u||$?_c(z,M,!M):_c(z);return()=>{te()}}},[r,w,L,u,_,F,$,M]),ut(()=>{if(r||!ot(R))return;const re=vt(R),oe=bn(re);queueMicrotask(()=>{const z=Z(R),te=D.current,Q=(typeof te=="number"?z[te]:te.current)||R,pe=rt(R,oe);!E&&!pe&&g&&vr(Q,{preventScroll:Q===R})})},[r,g,R,E,Z,D]),ut(()=>{if(r||!R)return;let re=!1;const oe=vt(R),z=bn(oe);let Q=y.current.openEvent;ma(z);function pe(G){let{open:Mt,reason:ht,event:Ge,nested:Xt}=G;Mt&&(Q=Ge),ht==="escape-key"&&v.domReference.current&&ma(v.domReference.current),ht==="hover"&&Ge.type==="mouseleave"&&(H.current=!0),ht==="outside-press"&&(Xt?(H.current=!1,re=!0):H.current=!(Z8(Ge)||l0(Ge)))}b.on("openchange",pe);const ve=oe.createElement("span");ve.setAttribute("tabindex","-1"),ve.setAttribute("aria-hidden","true"),Object.assign(ve.style,T1),A&&w&&w.insertAdjacentElement("afterend",ve);function He(){return typeof P.current=="boolean"?Ac()||ve:P.current.current||ve}return()=>{b.off("openchange",pe);const G=bn(oe),Mt=rt(L,G)||N&&Mr(N.nodesRef.current,C).some(Xt=>{var ee;return rt((ee=Xt.context)==null?void 0:ee.elements.floating,G)});(Mt||Q&&["click","mousedown"].includes(Q.type))&&v.domReference.current&&ma(v.domReference.current);const Ge=He();queueMicrotask(()=>{P.current&&!H.current&&ot(Ge)&&(!(Ge!==G&&G!==oe.body)||Mt)&&Ge.focus({preventScroll:re}),ve.remove()})}},[r,L,R,P,y,v,b,N,C,A,w]),d.useEffect(()=>{queueMicrotask(()=>{H.current=!1})},[r]),ut(()=>{if(!r&&F)return F.setFocusManagerState({modal:u,closeOnFocusOut:f,open:g,onOpenChange:x,refs:v}),()=>{F.setFocusManagerState(null)}},[r,F,u,g,x,v,f]),ut(()=>{if(r||!R||typeof MutationObserver!="function"||E)return;const re=()=>{const z=R.getAttribute("tabindex"),te=W(),Q=bn(vt(L)),pe=te.indexOf(Q);pe!==-1&&(j.current=pe),_.current.includes("floating")||Q!==v.domReference.current&&te.length===0?z!=="0"&&R.setAttribute("tabindex","0"):z!=="-1"&&R.setAttribute("tabindex","-1")};re();const oe=new MutationObserver(re);return oe.observe(R,{childList:!0,subtree:!0,attributes:!0}),()=>{oe.disconnect()}},[r,L,R,v,_,W,E]);function X(re){return r||!p||!u?null:d.createElement(pf,{ref:re==="start"?V:T,onClick:oe=>x(!1,oe.nativeEvent)},typeof p=="string"?p:"Dismiss")}const me=!r&&M&&(u?!$:!0)&&(A||u);return d.createElement(d.Fragment,null,me&&d.createElement(n1,{"data-type":"inside",ref:F?.beforeInsideRef,onFocus:re=>{if(u){const z=Z();vr(o[0]==="reference"?z[0]:z[z.length-1])}else if(F!=null&&F.preserveTabOrder&&F.portalNode)if(H.current=!1,ho(re,F.portalNode)){const z=D0()||w;z?.focus()}else{var oe;(oe=F.beforeOutsideRef.current)==null||oe.focus()}}}),!$&&X("start"),n,X("end"),me&&d.createElement(n1,{"data-type":"inside",ref:F?.afterInsideRef,onFocus:re=>{if(u)vr(Z()[0]);else if(F!=null&&F.preserveTabOrder&&F.portalNode)if(f&&(H.current=!0),ho(re,F.portalNode)){const z=A0()||w;z?.focus()}else{var oe;(oe=F.afterOutsideRef.current)==null||oe.focus()}}}))}function jc(e){return ot(e.target)&&e.target.tagName==="BUTTON"}function Rc(e){return Ns(e)}function Yo(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:i}}=e,{enabled:a=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:p=!0,stickIfOpen:f=!0}=t,g=d.useRef(),v=d.useRef(!1),C=d.useMemo(()=>({onPointerDown(x){g.current=x.pointerType},onMouseDown(x){const b=g.current;x.button===0&&l!=="click"&&(xo(b,!0)&&u||(n&&c&&(!(o.current.openEvent&&f)||o.current.openEvent.type==="mousedown")?r(!1,x.nativeEvent,"click"):(x.preventDefault(),r(!0,x.nativeEvent,"click"))))},onClick(x){const b=g.current;if(l==="mousedown"&&g.current){g.current=void 0;return}xo(b,!0)&&u||(n&&c&&(!(o.current.openEvent&&f)||o.current.openEvent.type==="click")?r(!1,x.nativeEvent,"click"):r(!0,x.nativeEvent,"click"))},onKeyDown(x){g.current=void 0,!(x.defaultPrevented||!p||jc(x))&&(x.key===" "&&!Rc(i)&&(x.preventDefault(),v.current=!0),x.key==="Enter"&&r(!(n&&c),x.nativeEvent,"click"))},onKeyUp(x){x.defaultPrevented||!p||jc(x)||Rc(i)||x.key===" "&&v.current&&(v.current=!1,r(!(n&&c),x.nativeEvent,"click"))}}),[o,i,l,u,p,r,n,f,c]);return d.useMemo(()=>a?{reference:C}:{},[a,C])}const ff={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},hf={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Tc=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e?.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e?.outsidePress)!=null?n:!0}};function zo(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:i}=e,{enabled:a=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:p=!1,referencePressEvent:f="pointerdown",ancestorScroll:g=!1,bubbles:v,capture:C}=t,x=R1(),b=Wt(typeof c=="function"?c:()=>!1),y=typeof c=="function"?b:c,k=d.useRef(!1),w=d.useRef(!1),{escapeKey:L,outsidePress:E}=Tc(v),{escapeKey:$,outsidePress:M}=Tc(C),_=d.useRef(!1),D=Wt(H=>{var I;if(!n||!a||!l||H.key!=="Escape"||_.current)return;const j=(I=i.current.floatingContext)==null?void 0:I.nodeId,A=x?Mr(x.nodesRef.current,j):[];if(!L&&(H.stopPropagation(),A.length>0)){let R=!0;if(A.forEach(W=>{var Z;if((Z=W.context)!=null&&Z.open&&!W.context.dataRef.current.__escapeKeyBubbles){R=!1;return}}),!R)return}r(!1,G8(H)?H.nativeEvent:H,"escape-key")}),P=Wt(H=>{var I;const j=()=>{var A;D(H),(A=kn(H))==null||A.removeEventListener("keydown",j)};(I=kn(H))==null||I.addEventListener("keydown",j)}),N=Wt(H=>{var I;const j=k.current;k.current=!1;const A=w.current;if(w.current=!1,u==="click"&&A||j||typeof y=="function"&&!y(H))return;const R=kn(H),W="["+or("inert")+"]",Z=vt(o.floating).querySelectorAll(W);let X=Be(R)?R:null;for(;X&&!Vn(X);){const z=Dn(X);if(Vn(z)||!Be(z))break;X=z}if(Z.length&&Be(R)&&!X8(R)&&!rt(R,o.floating)&&Array.from(Z).every(z=>!rt(X,z)))return;if(ot(R)&&T){const z=R.clientWidth>0&&R.scrollWidth>R.clientWidth,te=R.clientHeight>0&&R.scrollHeight>R.clientHeight;let Q=te&&H.offsetX>R.clientWidth;if(te&&At(R).direction==="rtl"&&(Q=H.offsetX<=R.offsetWidth-R.clientWidth),Q||z&&H.offsetY>R.clientHeight)return}const me=(I=i.current.floatingContext)==null?void 0:I.nodeId,re=x&&Mr(x.nodesRef.current,me).some(z=>{var te;return ca(H,(te=z.context)==null?void 0:te.elements.floating)});if(ca(H,o.floating)||ca(H,o.domReference)||re)return;const oe=x?Mr(x.nodesRef.current,me):[];if(oe.length>0){let z=!0;if(oe.forEach(te=>{var Q;if((Q=te.context)!=null&&Q.open&&!te.context.dataRef.current.__outsidePressBubbles){z=!1;return}}),!z)return}r(!1,H,"outside-press")}),F=Wt(H=>{var I;const j=()=>{var A;N(H),(A=kn(H))==null||A.removeEventListener(u,j)};(I=kn(H))==null||I.addEventListener(u,j)});d.useEffect(()=>{if(!n||!a)return;i.current.__escapeKeyBubbles=L,i.current.__outsidePressBubbles=E;let H=-1;function I(Z){r(!1,Z,"ancestor-scroll")}function j(){window.clearTimeout(H),_.current=!0}function A(){H=window.setTimeout(()=>{_.current=!1},D1()?5:0)}const R=vt(o.floating);l&&(R.addEventListener("keydown",$?P:D,$),R.addEventListener("compositionstart",j),R.addEventListener("compositionend",A)),y&&R.addEventListener(u,M?F:N,M);let W=[];return g&&(Be(o.domReference)&&(W=Bn(o.domReference)),Be(o.floating)&&(W=W.concat(Bn(o.floating))),!Be(o.reference)&&o.reference&&o.reference.contextElement&&(W=W.concat(Bn(o.reference.contextElement)))),W=W.filter(Z=>{var X;return Z!==((X=R.defaultView)==null?void 0:X.visualViewport)}),W.forEach(Z=>{Z.addEventListener("scroll",I,{passive:!0})}),()=>{l&&(R.removeEventListener("keydown",$?P:D,$),R.removeEventListener("compositionstart",j),R.removeEventListener("compositionend",A)),y&&R.removeEventListener(u,M?F:N,M),W.forEach(Z=>{Z.removeEventListener("scroll",I)}),window.clearTimeout(H)}},[i,o,l,y,u,n,r,g,a,L,E,D,$,P,N,M,F]),d.useEffect(()=>{k.current=!1},[y,u]);const V=d.useMemo(()=>({onKeyDown:D,[ff[f]]:H=>{p&&r(!1,H.nativeEvent,"reference-press")}}),[D,r,p,f]),T=d.useMemo(()=>({onKeyDown:D,onMouseDown(){w.current=!0},onMouseUp(){w.current=!0},[hf[u]]:()=>{k.current=!0}}),[D,u]);return d.useMemo(()=>a?{reference:V,floating:T}:{},[a,V,T])}function mf(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=rr(),i=d.useRef({}),[a]=d.useState(()=>qp()),l=Xs()!=null;if(process.env.NODE_ENV!=="production"){const v=r.reference;v&&!Be(v)&&Kp("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=d.useState(r.reference),p=Wt((v,C,x)=>{i.current.openEvent=v?C:void 0,a.emit("openchange",{open:v,event:C,reason:x,nested:l}),n?.(v,C,x)}),f=d.useMemo(()=>({setPositionReference:u}),[]),g=d.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return d.useMemo(()=>({dataRef:i,open:t,onOpenChange:p,elements:g,events:a,floatingId:o,refs:f}),[t,p,g,a,o,f])}function Go(e){e===void 0&&(e={});const{nodeId:t}=e,n=mf({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=d.useState(null),[l,c]=d.useState(null),p=o?.domReference||i,f=d.useRef(null),g=R1();ut(()=>{p&&(f.current=p)},[p]);const v=Zp({...e,elements:{...o,...l&&{reference:l}}}),C=d.useCallback(w=>{const L=Be(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;c(L),v.refs.setReference(L)},[v.refs]),x=d.useCallback(w=>{(Be(w)||w===null)&&(f.current=w,a(w)),(Be(v.refs.reference.current)||v.refs.reference.current===null||w!==null&&!Be(w))&&v.refs.setReference(w)},[v.refs]),b=d.useMemo(()=>({...v.refs,setReference:x,setPositionReference:C,domReference:f}),[v.refs,x,C]),y=d.useMemo(()=>({...v.elements,domReference:p}),[v.elements,p]),k=d.useMemo(()=>({...v,...r,refs:b,elements:y,nodeId:t}),[v,b,y,t,r]);return ut(()=>{r.dataRef.current.floatingContext=k;const w=g?.nodesRef.current.find(L=>L.id===t);w&&(w.context=k)}),d.useMemo(()=>({...v,context:k,refs:b,elements:y}),[v,b,y,k])}function gf(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:o,dataRef:i,elements:a}=e,{enabled:l=!0,visibleOnly:c=!0}=t,u=d.useRef(!1),p=d.useRef(),f=d.useRef(!0);d.useEffect(()=>{if(!l)return;const v=$t(a.domReference);function C(){!n&&ot(a.domReference)&&a.domReference===bn(vt(a.domReference))&&(u.current=!0)}function x(){f.current=!0}return v.addEventListener("blur",C),v.addEventListener("keydown",x,!0),()=>{v.removeEventListener("blur",C),v.removeEventListener("keydown",x,!0)}},[a.domReference,n,l]),d.useEffect(()=>{if(!l)return;function v(C){let{reason:x}=C;(x==="reference-press"||x==="escape-key")&&(u.current=!0)}return o.on("openchange",v),()=>{o.off("openchange",v)}},[o,l]),d.useEffect(()=>()=>{clearTimeout(p.current)},[]);const g=d.useMemo(()=>({onPointerDown(v){l0(v.nativeEvent)||(f.current=!1)},onMouseLeave(){u.current=!1},onFocus(v){if(u.current)return;const C=kn(v.nativeEvent);if(c&&Be(C))try{if(c0()&&Y8())throw Error();if(!C.matches(":focus-visible"))return}catch{if(!f.current&&!Ns(C))return}r(!0,v.nativeEvent,"focus")},onBlur(v){u.current=!1;const C=v.relatedTarget,x=v.nativeEvent,b=Be(C)&&C.hasAttribute(or("focus-guard"))&&C.getAttribute("data-type")==="outside";p.current=window.setTimeout(()=>{var y;const k=bn(a.domReference?a.domReference.ownerDocument:document);!C&&k===a.domReference||rt((y=i.current.floatingContext)==null?void 0:y.refs.floating.current,k)||rt(a.domReference,k)||b||r(!1,x,"focus")})}}),[i,a.domReference,r,c]);return d.useMemo(()=>l?{reference:g}:{},[l,g])}const Fc="active",Pc="selected";function ga(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[Fc]:a,[Pc]:l,...c}=e;i=c}return{...n==="floating"&&{tabIndex:-1,[ts]:""},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(c=>{let[u,p]=c;if(!(o&&[Fc,Pc].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof p=="function"){var f;(f=r.get(u))==null||f.push(p),a[u]=function(){for(var g,v=arguments.length,C=new Array(v),x=0;x<v;x++)C[x]=arguments[x];return(g=r.get(u))==null?void 0:g.map(b=>b(...C)).find(b=>b!==void 0)}}}else a[u]=p}),a),{})}}function Xo(e){e===void 0&&(e=[]);const t=e.map(l=>l?.reference),n=e.map(l=>l?.floating),r=e.map(l=>l?.item),o=d.useCallback(l=>ga(l,e,"reference"),t),i=d.useCallback(l=>ga(l,e,"floating"),n),a=d.useCallback(l=>ga(l,e,"item"),r);return d.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:a}),[o,i,a])}const vf=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Jo(e,t){var n;t===void 0&&(t={});const{open:r,floatingId:o}=e,{enabled:i=!0,role:a="dialog"}=t,l=(n=vf.get(a))!=null?n:a,c=rr(),p=Xs()!=null,f=d.useMemo(()=>l==="tooltip"||a==="label"?{["aria-"+(a==="label"?"labelledby":"describedby")]:r?o:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":l==="alertdialog"?"dialog":l,"aria-controls":r?o:void 0,...l==="listbox"&&{role:"combobox"},...l==="menu"&&{id:c},...l==="menu"&&p&&{role:"menuitem"},...a==="select"&&{"aria-autocomplete":"none"},...a==="combobox"&&{"aria-autocomplete":"list"}},[l,o,p,r,c,a]),g=d.useMemo(()=>{const C={id:o,...l&&{role:l}};return l==="tooltip"||a==="label"?C:{...C,...l==="menu"&&{"aria-labelledby":c}}},[l,o,c,a]),v=d.useCallback(C=>{let{active:x,selected:b}=C;const y={role:"option",...x&&{id:o+"-option"}};switch(a){case"select":return{...y,"aria-selected":x&&b};case"combobox":return{...y,...x&&{"aria-selected":!0}}}return{}},[o,a]);return d.useMemo(()=>i?{reference:f,floating:g,item:v}:{},[i,f,g,v])}const Bc=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,n)=>(n?"-":"")+t.toLowerCase());function xr(e,t){return typeof e=="function"?e(t):e}function Cf(e,t){const[n,r]=d.useState(e);return e&&!n&&r(!0),d.useEffect(()=>{if(!e&&n){const o=setTimeout(()=>r(!1),t);return()=>clearTimeout(o)}},[e,n,t]),n}function xf(e,t){t===void 0&&(t={});const{open:n,elements:{floating:r}}=e,{duration:o=250}=t,a=(typeof o=="number"?o:o.close)||0,[l,c]=d.useState("unmounted"),u=Cf(n,a);return!u&&l==="close"&&c("unmounted"),ut(()=>{if(r){if(n){c("initial");const p=requestAnimationFrame(()=>{c("open")});return()=>{cancelAnimationFrame(p)}}c("close")}},[n,r]),{isMounted:u,status:l}}function Uo(e,t){t===void 0&&(t={});const{initial:n={opacity:0},open:r,close:o,common:i,duration:a=250}=t,l=e.placement,c=l.split("-")[0],u=d.useMemo(()=>({side:c,placement:l}),[c,l]),p=typeof a=="number",f=(p?a:a.open)||0,g=(p?a:a.close)||0,[v,C]=d.useState(()=>({...xr(i,u),...xr(n,u)})),{isMounted:x,status:b}=xf(e,{duration:a}),y=on(n),k=on(r),w=on(o),L=on(i);return ut(()=>{const E=xr(y.current,u),$=xr(w.current,u),M=xr(L.current,u),_=xr(k.current,u)||Object.keys(E).reduce((D,P)=>(D[P]="",D),{});if(b==="initial"&&C(D=>({transitionProperty:D.transitionProperty,...M,...E})),b==="open"&&C({transitionProperty:Object.keys(_).map(Bc).join(","),transitionDuration:f+"ms",...M,..._}),b==="close"){const D=$||E;C({transitionProperty:Object.keys(D).map(Bc).join(","),transitionDuration:g+"ms",...M,...D})}},[g,w,y,k,L,f,b,u]),{isMounted:x,styles:v}}function Hc(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a<i;l=a++){const[c,u]=t[a]||[0,0],[p,f]=t[l]||[0,0];u>=r!=f>=r&&n<=(p-c)*(r-u)/(f-u)+c&&(o=!o)}return o}function bf(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function yf(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,l=null,c=performance.now();function u(f,g){const v=performance.now(),C=v-c;if(a===null||l===null||C===0)return a=f,l=g,c=v,null;const x=f-a,b=g-l,k=Math.sqrt(x*x+b*b)/C;return a=f,l=g,c=v,k}const p=f=>{let{x:g,y:v,placement:C,elements:x,onClose:b,nodeId:y,tree:k}=f;return function(L){function E(){clearTimeout(o),b()}if(clearTimeout(o),!x.domReference||!x.floating||C==null||g==null||v==null)return;const{clientX:$,clientY:M}=L,_=[$,M],D=kn(L),P=L.type==="mouseleave",N=rt(x.floating,D),F=rt(x.domReference,D),V=x.domReference.getBoundingClientRect(),T=x.floating.getBoundingClientRect(),H=C.split("-")[0],I=g>T.right-T.width/2,j=v>T.bottom-T.height/2,A=bf(_,V),R=T.width>V.width,W=T.height>V.height,Z=(R?V:T).left,X=(R?V:T).right,me=(W?V:T).top,re=(W?V:T).bottom;if(N&&(i=!0,!P))return;if(F&&(i=!1),F&&!P){i=!0;return}if(P&&Be(L.relatedTarget)&&rt(x.floating,L.relatedTarget)||k&&Mr(k.nodesRef.current,y).some(te=>{let{context:Q}=te;return Q?.open}))return;if(H==="top"&&v>=V.bottom-1||H==="bottom"&&v<=V.top+1||H==="left"&&g>=V.right-1||H==="right"&&g<=V.left+1)return E();let oe=[];switch(H){case"top":oe=[[Z,V.top+1],[Z,T.bottom-1],[X,T.bottom-1],[X,V.top+1]];break;case"bottom":oe=[[Z,T.top+1],[Z,V.bottom-1],[X,V.bottom-1],[X,T.top+1]];break;case"left":oe=[[T.right-1,re],[T.right-1,me],[V.left+1,me],[V.left+1,re]];break;case"right":oe=[[V.right-1,re],[V.right-1,me],[T.left+1,me],[T.left+1,re]];break}function z(te){let[Q,pe]=te;switch(H){case"top":{const ve=[R?Q+t/2:I?Q+t*4:Q-t*4,pe+t+1],He=[R?Q-t/2:I?Q+t*4:Q-t*4,pe+t+1],G=[[T.left,I||R?T.bottom-t:T.top],[T.right,I?R?T.bottom-t:T.top:T.bottom-t]];return[ve,He,...G]}case"bottom":{const ve=[R?Q+t/2:I?Q+t*4:Q-t*4,pe-t],He=[R?Q-t/2:I?Q+t*4:Q-t*4,pe-t],G=[[T.left,I||R?T.top+t:T.bottom],[T.right,I?R?T.top+t:T.bottom:T.top+t]];return[ve,He,...G]}case"left":{const ve=[Q+t+1,W?pe+t/2:j?pe+t*4:pe-t*4],He=[Q+t+1,W?pe-t/2:j?pe+t*4:pe-t*4];return[...[[j||W?T.right-t:T.left,T.top],[j?W?T.right-t:T.left:T.right-t,T.bottom]],ve,He]}case"right":{const ve=[Q-t,W?pe+t/2:j?pe+t*4:pe-t*4],He=[Q-t,W?pe-t/2:j?pe+t*4:pe-t*4],G=[[j||W?T.left+t:T.right,T.top],[j?W?T.left+t:T.right:T.left+t,T.bottom]];return[ve,He,...G]}}}if(!Hc([$,M],oe)){if(i&&!A)return E();if(!P&&r){const te=u(L.clientX,L.clientY);if(te!==null&&te<.1)return E()}Hc([$,M],z([g,v]))?!i&&r&&(o=window.setTimeout(E,40)):E()}}};return p.__options={blockPointerEvents:n},p}const Zn=e=>{if(jr){const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}},Qo=(e,t,n={})=>{const r={path:"/","max-age":31104e3,...n},o=window.location.origin;o.includes("localhost")?r.domain="localhost":o.includes("profinansy.ae")?r.domain=".profinansy.ae":o.includes("qa.profinansy.dev")?r.domain=".profinansy.dev":r.domain=".profinansy.ru",n.expires instanceof Date&&(r.expires=n.expires.toUTCString());let i=encodeURIComponent(e)+"="+encodeURIComponent(t);for(const a in r){i+="; "+a;const l=r[a];l!==!0&&(i+="="+l)}document.cookie=i},wf=e=>{Qo(e,"",{"max-age":-1})},ns=["/login","/idv","/method"],T0=m.createContext({mode:"light",selectedMode:"light",toggleTheme:null,setShowTheme:null,unAvailablePagesTheme:ns}),ne=()=>m.useContext(T0),Vc="selected_theme",kf=({children:e,selectedTheme:t})=>{const[n,r]=m.useState(t??"light"),[o,i]=m.useState(t??"light");m.useEffect(()=>{let c=!0;const u=window?.location.pathname;ns.forEach(p=>{u.includes(p)&&(c=!1)}),i(c?n:"light")},[n]),m.useEffect(()=>{const c=Zn(Vc);(c==="light"||c==="dark")&&r(c)},[]);const a=c=>{r(c),Qo(Vc,c)},l=c=>{i(c)};return s.jsx(T0.Provider,{value:{mode:o,selectedMode:n,toggleTheme:a,setShowTheme:l,unAvailablePagesTheme:ns},children:e})},U={light:{background:{primary:"#F4F4F9",content:"#FFFFFF",secondary:"#F7F7F9",secondaryAlpha:"#EAE9F1",field:"#FFFFFF",fieldSecondary:"#F5F4F8",accent:"#6553F5",accentSecondaryTint:"#E8E5FE",positiveTint:"#DCF6DA",warningTint:"#FFF0DB",negativeTint:"#FFF1EC",info:"#DBDCFF",bottomActions:"rgba(255, 255, 255, 0.5)",overlay:"rgba(0, 0, 0, 0.60)"},text:{primary:"#242424",secondary:"#6A6A71",tertiary:"#A1A0AC",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},icons:{primary:"#242424",secondary:"#AAAABA",tertiary:"#CCCBD3",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",contrastThemRev:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warring:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},stroke:{primary:"#DDDDE3",secondary:"#D6D6DE",tertiary:"#E7E7EB",contrast:"#7D7D95",accent:"#6553F5",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5",tooltip:"#F0F0F0"},interactiveButtons:{brandBackground:"#6553F5",brandBackgroundHover:"#4A35F3",brandText:"#FFFFFF",secondaryBrandBackground:"rgba(101, 83, 245, 0.12)",secondaryBrandBackgroundHover:"rgba(101, 83, 245, 0.22)",secondaryBrandText:"#4A35F3",whiteFixedBackground:"#FFFFFF",whiteFixedBackgroundHover:"rgba(255, 255, 255, 0.85)",whiteFixedText:"#242424",outlineBrandBackground:"#FFFFFF",outlineBrandBackgroundHover:"rgba(101, 83, 245, 0.08)",outlineBrandText:"#6553F5",outlineBrandBorder:"#6553F5",outlineBrandBorderHover:"#3821F2",systemBackground:"#EAE9F1",systemBackgroundHover:"#DFDEEA",systemText:"#464167",successBackground:"#E1F7E6",successBackgroundHover:"#BBEDC6",successText:"#299E47",warningBackground:"#FFF1D9",warningBackgroundHover:"#FFDFA8",warningText:"#E59000",criticalBackground:"#FFE2E0",criticalBackgroundHover:"#FFD7D4",criticalText:"#FF3B30",neutralBackground:"rgba(36, 36, 36, 0.50)",neutralBackgroundHover:"rgba(36, 36, 36, 0.70)",neutralText:"#FFFFFF",flatBrandTextHover:"#3821F2",flatSystemTextHover:"#6C659A"},interactiveControls:{accent:"#F0EFF3",secondary:"#FFFFFF",supportive:"#E8E8ED",brand:"#6553F5",brandAlpha:"#4A35F3",accentDark:"#19181B"},other:{orange:"#FFAD30",green:"#A0DD1E",olive:"#DBDE43",violet:"#6E59EF",red:"#EB343F",red2:"#FF4747",pink:"#F969FC",turquoise:"#2ED0C7",blue:"#72E3E3",mediumBlue:"#58C9E2",darkBlue:"#28C6E9",lightBlue:"#4285F4",navyBlue:"#11408E",lightBlueTint:"rgba(66, 133, 244, 0.10)",gray:"rgba(36, 36, 36, 0.50)",orangeTint:"#FFF9EF",greenTint:"#F8FDED",oliveTint:"#FCFDF0",violetTint:"#F4F2FE",redTint:"#FEEFF0",pinkTint:"#FFF3FF",turquoiseTint:"#EFFCFB",darkBlueTint:"#EEF8FB",black:"#111011"},shadow:{basicDefault:"0px 14px 20px -4px rgba(87, 87, 87, 0.10)",basicHover:"0px 12px 28px -3px rgba(87, 87, 87, 0.20)",basicDrag:"0px 12px 32px -3px rgba(87, 87, 87, 0.32)",overlay:"0px 16px 40px -3px rgba(58, 57, 60, 0.28)",dropdown:"0px 4px 8px 0px rgba(0, 0, 0, 0.04), 0px 0px 4px 0px rgba(0, 0, 0, 0.06)",modal:"0px 14px 30px -4px rgba(0, 0, 0, 0.2)",dragItem:"0px 4px 12px rgba(0, 0, 0, 0.15)"},statesBackground:{tabsHover:"#F6F6F6",tabsActive:"#383838",tabsActiveHover:"#242424",accentHover:"#7665FF",accentActive:"#5D48F5",field:"rgba(0, 0, 0, 0.06)",secondaryAlphaActive:"#DCDCDC",secondaryAlphaHover:"#E7E7E7",listHover:"#F6F6F6",notificationHover:"#F6F6F6",notificationHoverError:"#F6F6F6",sideBarActive:"#111011",sideBarOpen:"#E1E0EB"},gradient:{gradient_1:"linear-gradient(90deg, #f4f4f9 0%, rgba(244, 244, 249, 0) 100%)",gradient_2:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(244, 244, 249, 0) 0%, #f4f4f9 100%)",gradient_4:"linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%)",top:"linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.95) 52.08%, rgba(255, 255, 255, 0.00) 100%)",bottom:"linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.95) 53.12%, #FFF 100%)"},club:{primary:"#3C3993",primaryHover:"#5853E3",secondary:"#4833F4",secondaryHover:"#200DB8",buttonBackground:"#E7E7F2",buttonBackgroundHover:"#CAC9E1",green:"#29B279",primaryActive:"#2B2979",primaryGradient:"linear-gradient(54.06deg, #162331 10.84%, #3C3993 98.2%)",secondaryGradient:"linear-gradient(90.24deg, #B92A78 0%, #6699FB 99.58%)"},nav:{search:"#1E1E1E",chipsSearch:"#171718",divider:"#1B1B1C",tabs:"#252527"}},dark:{background:{primary:"#181818",content:"#202020",secondary:"#2B2B2B",secondaryAlpha:"#333333",field:"#2B2B2B",fieldSecondary:"#323232",accent:"#9B8EFF",accentSecondaryTint:"#2B293A",positiveTint:"#384436",warningTint:"#453B2B",negativeTint:"#362D2A",info:"#20213B",bottomActions:"rgba(24, 24, 24, 0.85)",overlay:"rgba(0, 0, 0, 0.60)"},text:{primary:"#FFFFFF",secondary:"#BABAC6",tertiary:"#73738C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warning:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},icons:{primary:"#D9D9D9",secondary:"#BABAC6",tertiary:"#3E3E4C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",contrastThemRev:"#454545",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warring:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},stroke:{primary:"#3E3E4C",secondary:"#7D7D95",tertiary:"#454554",contrast:"#535365",accent:"#9B8EFF",positive:"#30D158",warning:"#F49B06",negative:"#FF453A",info:"#3B42EA",tooltip:"#535365"},interactiveButtons:{brandBackground:"#7B61FF",brandBackgroundHover:"#6142FF",brandText:"#FFFFFF",secondaryBrandBackground:"rgba(155, 142, 255, 0.12)",secondaryBrandBackgroundHover:"rgba(155, 142, 255, 0.22)",secondaryBrandText:"#9B8EFF",whiteFixedBackground:"#FFFFFF",whiteFixedBackgroundHover:"rgba(255, 255, 255, 0.85)",whiteFixedText:"#242424",outlineBrandBackground:"#202020",outlineBrandBackgroundHover:"rgba(155, 142, 255, 0.1)",outlineBrandText:"#9B8EFF",outlineBrandBorder:"#9B8EFF",outlineBrandBorderHover:"#9B8EFF",systemBackground:"#2E2E38",systemBackgroundHover:"#3A3A48",systemText:"#CCCADD",successBackground:"#223B28",successBackgroundHover:"#2B4A32",successText:"#2CAA4C",warningBackground:"#40321C",warningBackgroundHover:"#634E2B",warningText:"#F99E06",criticalBackground:"#412621",criticalBackgroundHover:"#38211D",criticalText:"#FF5A42",neutralBackground:"rgba(255, 255, 255, 0.50)",neutralBackgroundHover:"rgba(255, 255, 255, 0.70)",neutralText:"#FFFFFF",flatBrandTextHover:"#9B8EFF",flatSystemTextHover:"#777399"},interactiveControls:{accent:"#39383C",secondary:"#242424",supportive:"#2F2F37",brand:"#7B61FF",brandAlpha:"#6142FF",accentDark:"#FFFFFF"},other:{orange:"#E79D2D",green:"#91C81C",olive:"#C1C339",violet:"#6E59EF",red:"#E8343F",red2:"#F02D3A",pink:"#E05DE2",turquoise:"#229E97",blue:"#61C5C5",mediumBlue:"#51BBD2",darkBlue:"#21AFCE",lightBlue:"#317AF2",navyBlue:"#C9DEFF",lightBlueTint:"rgba(49, 122, 242, 0.04)",gray:"rgba(48, 48, 48, 0.50)",orangeTint:"rgba(255, 173, 48, 0.04)",greenTint:"rgba(160, 221, 30, 0.04)",oliveTint:"rgba(219, 222, 67, 0.04)",violetTint:"rgba(110, 89, 239, 0.04)",redTint:"rgba(235, 52, 63, 0.04)",pinkTint:"rgba(249, 105, 252, 0.04)",turquoiseTint:"rgba(46, 208, 199, 0.04)",darkBlueTint:"rgba(33, 175, 206, 0.04)",black:"#242325"},shadow:{basicDefault:null,basicHover:null,basicDrag:null,overlay:null,dropdown:null,modal:null,dragItem:null},statesBackground:{tabsHover:"#383838",tabsActive:"#FFFFFF",tabsActiveHover:"#F6F6F6",accentHover:"#614DF5",accentActive:"#9284FF",field:"rgba(255, 255, 255, 0.06)",secondaryAlphaActive:"#505050",secondaryAlphaHover:"#404040",listHover:"#303030",notificationHover:"#303030",notificationHoverError:"#303030",sideBarActive:"#333036",sideBarOpen:"#333036"},gradient:{gradient_1:"linear-gradient(90deg, #181818 0%, rgba(24, 24, 24, 0.00) 100%)",gradient_2:"linear-gradient(90deg, #2B2B2B 0%, rgba(43, 43, 43, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 0%, #181818 100%)",gradient_4:"linear-gradient(90deg, rgba(43, 43, 43, 0.00) 0%, #2B2B2B 100%)",top:"linear-gradient(180deg, #2B2B2B 0%, rgba(43, 43, 43, 0.95) 53.65%, rgba(43, 43, 43, 0.00) 100%)",bottom:" linear-gradient(180deg, rgba(43, 43, 43, 0.00) 0%, rgba(43, 43, 43, 0.95) 52.08%, #2B2B2B 100%)"},club:{primary:"#5854C6",primaryHover:"#7672F6",secondary:"#8C7CFF",secondaryHover:"#614FED",buttonBackground:"#282837",buttonBackgroundHover:"#2E2C60",green:"#2FCA89",primaryActive:"#3C3180",primaryGradient:"linear-gradient(54.11deg, #2C2562 6.32%, #4641BF 116.13%)",secondaryGradient:"linear-gradient(90.24deg, #CE2680 0%, #4080FD 99.58%)"},nav:{search:"#1E1E1E",chipsSearch:"#171718",divider:"#2B2B2D",tabs:"#323235"}}},Qs={idv:"linear-gradient(95.09deg, #6553f5 14.05%, #ee2cff 108.18%)",idvShort:"linear-gradient(95deg, #6553f5 14.05%, #ee2cff 108.18%)"},Lt=h.css`
|
|
368
|
+
*/var op=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ki=op.join(","),p0=typeof Element>"u",Hr=p0?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,qi=!p0&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},e1=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),i=o===""||o==="true",a=i||n&&t&&e(t.parentNode);return a},ip=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},ap=function(t,n,r){if(e1(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Ki));return n&&Hr.call(t,Ki)&&o.unshift(t),o=o.filter(r),o},sp=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var a=i.shift();if(!e1(a,!1))if(a.tagName==="SLOT"){var l=a.assignedElements(),c=l.length?l:a.children,u=e(c,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:a,candidates:u})}else{var p=Hr.call(a,Ki);p&&r.filter(a)&&(n||!t.includes(a))&&o.push(a);var f=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),g=!e1(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(f&&g){var v=e(f===!0?a.children:f.children,!0,r);r.flatten?o.push.apply(o,v):o.push({scopeParent:a,candidates:v})}else i.unshift.apply(i,a.children)}}return o},f0=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},h0=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||ip(t))&&!f0(t)?0:t.tabIndex},lp=function(t,n){var r=h0(t);return r<0&&n&&!f0(t)?0:r},cp=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},m0=function(t){return t.tagName==="INPUT"},dp=function(t){return m0(t)&&t.type==="hidden"},up=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},pp=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},fp=function(t){if(!t.name)return!0;var n=t.form||qi(t),r=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var i=pp(o,t.form);return!i||i===t},hp=function(t){return m0(t)&&t.type==="radio"},mp=function(t){return hp(t)&&!fp(t)},gp=function(t){var n,r=t&&qi(t),o=(n=r)===null||n===void 0?void 0:n.host,i=!1;if(r&&r!==t){var a,l,c;for(i=!!((a=o)!==null&&a!==void 0&&(l=a.ownerDocument)!==null&&l!==void 0&&l.contains(o)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!i&&o;){var u,p,f;r=qi(o),o=(u=r)===null||u===void 0?void 0:u.host,i=!!((p=o)!==null&&p!==void 0&&(f=p.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return i},Cc=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},vp=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=Hr.call(t,"details>summary:first-of-type"),a=i?t.parentElement:t;if(Hr.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var c=t.parentElement,u=qi(t);if(c&&!c.shadowRoot&&o(c)===!0)return Cc(t);t.assignedSlot?t=t.assignedSlot:!c&&u!==t.ownerDocument?t=u.host:t=c}t=l}if(gp(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Cc(t);return!1},Cp=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return Hr.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},xp=function(t,n){return!(n.disabled||e1(n)||dp(n)||vp(n,t)||up(n)||Cp(n))},es=function(t,n){return!(mp(n)||h0(n)<0||!xp(t,n))},bp=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},yp=function e(t){var n=[],r=[];return t.forEach(function(o,i){var a=!!o.scopeParent,l=a?o.scopeParent:o,c=lp(l,a),u=a?e(o.candidates):l;c===0?a?n.push.apply(n,u):n.push(l):r.push({documentOrder:i,tabIndex:c,item:o,isScope:a,content:u})}),r.sort(cp).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},j1=function(t,n){n=n||{};var r;return n.getShadowRoot?r=sp([t],n.includeContainer,{filter:es.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:bp}):r=ap(t,n.includeContainer,es.bind(null,n)),yp(r)},wp=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Hr.call(t,Ki)===!1?!1:es(n,t)};function xc(e,t,n){let{reference:r,floating:o}=e;const i=Pr(t),a=Ws(t),l=Os(a),c=er(t),u=i==="y",p=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,g=r[l]/2-o[l]/2;let v;switch(c){case"top":v={x:p,y:r.y-o.height};break;case"bottom":v={x:p,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-o.width,y:f};break;default:v={x:r.x,y:r.y}}switch(Vo(t)){case"start":v[a]-=g*(n&&u?-1:1);break;case"end":v[a]+=g*(n&&u?-1:1);break}return v}const g0=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:f}=xc(u,r,c),g=r,v={},C=0;for(let x=0;x<l.length;x++){const{name:b,fn:y}=l[x],{x:k,y:w,data:L,reset:E}=await y({x:p,y:f,initialPlacement:r,placement:g,strategy:o,middlewareData:v,rects:u,platform:a,elements:{reference:e,floating:t}});p=k??p,f=w??f,v={...v,[b]:{...v[b],...L}},E&&C<=50&&(C++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(u=E.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:p,y:f}=xc(u,g,c)),x=-1)}return{x:p,y:f,placement:g,strategy:o,middlewareData:v}};async function v0(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:g=!1,padding:v=0}=Ho(t,e),C=u0(v),b=l[g?f==="floating"?"reference":"floating":f],y=Br(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:p,strategy:c})),k=f==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),L=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Br(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:w,strategy:c}):k);return{top:(y.top-E.top+C.top)/L.y,bottom:(E.bottom-y.bottom+C.bottom)/L.y,left:(y.left-E.left+C.left)/L.x,right:(E.right-y.right+C.right)/L.x}}const C0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:p=0}=Ho(e,t)||{};if(u==null)return{};const f=u0(p),g={x:n,y:r},v=Ws(o),C=Os(v),x=await a.getDimensions(u),b=v==="y",y=b?"top":"left",k=b?"bottom":"right",w=b?"clientHeight":"clientWidth",L=i.reference[C]+i.reference[v]-g[v]-i.floating[C],E=g[v]-i.reference[v],$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let M=$?$[w]:0;(!M||!await(a.isElement==null?void 0:a.isElement($)))&&(M=l.floating[w]||i.floating[C]);const _=L/2-E/2,D=M/2-x[C]/2-1,P=Fr(f[y],D),N=Fr(f[k],D),F=P,V=M-x[C]-N,T=M/2-x[C]/2+_,H=Ka(F,T,V),I=!c.arrow&&Vo(o)!=null&&T!==H&&i.reference[C]/2-(T<F?P:N)-x[C]/2<0,j=I?T<F?T-F:T-V:0;return{[v]:g[v]+j,data:{[v]:H,centerOffset:T-H-j,...I&&{alignmentOffset:j}},reset:I}}}),x0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...b}=Ho(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=er(o),k=Pr(l),w=er(l)===l,L=await(c.isRTL==null?void 0:c.isRTL(u.floating)),E=g||(w||!x?[Qi(l)]:ep(l)),$=C!=="none";!g&&$&&E.push(...np(l,x,C,L));const M=[l,...E],_=await v0(t,b),D=[];let P=((r=i.flip)==null?void 0:r.overflows)||[];if(p&&D.push(_[y]),f){const T=q8(o,a,L);D.push(_[T[0]],_[T[1]])}if(P=[...P,{placement:o,overflows:D}],!D.every(T=>T<=0)){var N,F;const T=(((N=i.flip)==null?void 0:N.index)||0)+1,H=M[T];if(H)return{data:{index:T,overflows:P},reset:{placement:H}};let I=(F=P.filter(j=>j.overflows[0]<=0).sort((j,A)=>j.overflows[1]-A.overflows[1])[0])==null?void 0:F.placement;if(!I)switch(v){case"bestFit":{var V;const j=(V=P.filter(A=>{if($){const R=Pr(A.placement);return R===k||R==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(R=>R>0).reduce((R,W)=>R+W,0)]).sort((A,R)=>A[1]-R[1])[0])==null?void 0:V[0];j&&(I=j);break}case"initialPlacement":I=l;break}if(o!==I)return{reset:{placement:I}}}return{}}}};async function kp(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=er(n),l=Vo(n),c=Pr(n)==="y",u=["left","top"].includes(a)?-1:1,p=i&&c?-1:1,f=Ho(t,e);let{mainAxis:g,crossAxis:v,alignmentAxis:C}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof C=="number"&&(v=l==="end"?C*-1:C),c?{x:v*p,y:g*u}:{x:g*u,y:v*p}}const b0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,c=await kp(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},Ep=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:y,y:k}=b;return{x:y,y:k}}},...c}=Ho(e,t),u={x:n,y:r},p=await v0(t,c),f=Pr(er(o)),g=d0(f);let v=u[g],C=u[f];if(i){const b=g==="y"?"top":"left",y=g==="y"?"bottom":"right",k=v+p[b],w=v-p[y];v=Ka(k,v,w)}if(a){const b=f==="y"?"top":"left",y=f==="y"?"bottom":"right",k=C+p[b],w=C-p[y];C=Ka(k,C,w)}const x=l.fn({...t,[g]:v,[f]:C});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[g]:i,[f]:a}}}}}};function y0(e){const t=At(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ot(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=Ui(n)!==i||Ui(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function Zs(e){return Be(e)?e:e.contextElement}function Lr(e){const t=Zs(e);if(!ot(t))return ln(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=y0(t);let a=(i?Ui(n.width):n.width)/r,l=(i?Ui(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Lp=ln(0);function w0(e){const t=$t(e);return!D1()||!t.visualViewport?Lp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mp(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==$t(e)?!1:t}function tr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Zs(e);let a=ln(1);t&&(r?Be(r)&&(a=Lr(r)):a=Lr(e));const l=Mp(i,n,r)?w0(i):ln(0);let c=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,p=o.width/a.x,f=o.height/a.y;if(i){const g=$t(i),v=r&&Be(r)?$t(r):r;let C=g,x=Ua(C);for(;x&&r&&v!==C;){const b=Lr(x),y=x.getBoundingClientRect(),k=At(x),w=y.left+(x.clientLeft+parseFloat(k.paddingLeft))*b.x,L=y.top+(x.clientTop+parseFloat(k.paddingTop))*b.y;c*=b.x,u*=b.y,p*=b.x,f*=b.y,c+=w,u+=L,C=$t(x),x=Ua(C)}}return Br({width:p,height:f,x:c,y:u})}function Ys(e,t){const n=A1(e).scrollLeft;return t?t.left+n:tr(mn(e)).left+n}function k0(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ys(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function $p(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=mn(r),l=t?S1(t.floating):!1;if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=ln(1);const p=ln(0),f=ot(r);if((f||!f&&!i)&&((Wn(r)!=="body"||Bo(a))&&(c=A1(r)),ot(r))){const v=tr(r);u=Lr(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}const g=a&&!f&&!i?k0(a,c,!0):ln(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+p.x+g.x,y:n.y*u.y-c.scrollTop*u.y+p.y+g.y}}function _p(e){return Array.from(e.getClientRects())}function Ip(e){const t=mn(e),n=A1(e),r=e.ownerDocument.body,o=Un(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Un(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Ys(e);const l=-n.scrollTop;return At(r).direction==="rtl"&&(a+=Un(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function Sp(e,t){const n=$t(e),r=mn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;const u=D1();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}function Dp(e,t){const n=tr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ot(e)?Lr(e):ln(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:a,height:l,x:c,y:u}}function bc(e,t,n){let r;if(t==="viewport")r=Sp(e,n);else if(t==="document")r=Ip(mn(e));else if(Be(t))r=Dp(t,n);else{const o=w0(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Br(r)}function E0(e,t){const n=Dn(e);return n===t||!Be(n)||Vn(n)?!1:At(n).position==="fixed"||E0(n,t)}function Ap(e,t){const n=t.get(e);if(n)return n;let r=Bn(e,[],!1).filter(l=>Be(l)&&Wn(l)!=="body"),o=null;const i=At(e).position==="fixed";let a=i?Dn(e):e;for(;Be(a)&&!Vn(a);){const l=At(a),c=Vs(a);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Bo(a)&&!c&&E0(e,a))?r=r.filter(p=>p!==a):o=l,a=Dn(a)}return t.set(e,r),r}function jp(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?S1(t)?[]:Ap(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,p)=>{const f=bc(t,p,o);return u.top=Un(f.top,u.top),u.right=Fr(f.right,u.right),u.bottom=Fr(f.bottom,u.bottom),u.left=Un(f.left,u.left),u},bc(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Rp(e){const{width:t,height:n}=y0(e);return{width:t,height:n}}function Tp(e,t,n){const r=ot(t),o=mn(t),i=n==="fixed",a=tr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=ln(0);if(r||!r&&!i)if((Wn(t)!=="body"||Bo(o))&&(l=A1(t)),r){const g=tr(t,!0,i,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else o&&(c.x=Ys(o));const u=o&&!r&&!i?k0(o,l):ln(0),p=a.left+l.scrollLeft-c.x-u.x,f=a.top+l.scrollTop-c.y-u.y;return{x:p,y:f,width:a.width,height:a.height}}function ua(e){return At(e).position==="static"}function yc(e,t){if(!ot(e)||At(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return mn(e)===n&&(n=n.ownerDocument.body),n}function L0(e,t){const n=$t(e);if(S1(e))return n;if(!ot(e)){let o=Dn(e);for(;o&&!Vn(o);){if(Be(o)&&!ua(o))return o;o=Dn(o)}return n}let r=yc(e,t);for(;r&&O8(r)&&ua(r);)r=yc(r,t);return r&&Vn(r)&&ua(r)&&!Vs(r)?n:r||W8(e)||n}const Fp=async function(e){const t=this.getOffsetParent||L0,n=this.getDimensions,r=await n(e.floating);return{reference:Tp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Pp(e){return At(e).direction==="rtl"}const Bp={convertOffsetParentRelativeRectToViewportRelativeRect:$p,getDocumentElement:mn,getClippingRect:jp,getOffsetParent:L0,getElementRects:Fp,getClientRects:_p,getDimensions:Rp,getScale:Lr,isElement:Be,isRTL:Pp};function M0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Hp(e,t){let n=null,r;const o=mn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:p,top:f,width:g,height:v}=u;if(l||t(),!g||!v)return;const C=di(f),x=di(o.clientWidth-(p+g)),b=di(o.clientHeight-(f+v)),y=di(p),w={rootMargin:-C+"px "+-x+"px "+-b+"px "+-y+"px",threshold:Un(0,Fr(1,c))||1};let L=!0;function E($){const M=$[0].intersectionRatio;if(M!==c){if(!L)return a();M?a(!1,M):r=setTimeout(()=>{a(!1,1e-7)},1e3)}M===1&&!M0(u,e.getBoundingClientRect())&&a(),L=!1}try{n=new IntersectionObserver(E,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,w)}n.observe(e)}return a(!0),i}function nr(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Zs(e),p=o||i?[...u?Bn(u):[],...Bn(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&l?Hp(u,n):null;let g=-1,v=null;a&&(v=new ResizeObserver(y=>{let[k]=y;k&&k.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var w;(w=v)==null||w.observe(t)})),n()}),u&&!c&&v.observe(u),v.observe(t));let C,x=c?tr(e):null;c&&b();function b(){const y=tr(e);x&&!M0(x,y)&&n(),x=y,C=requestAnimationFrame(b)}return n(),()=>{var y;p.forEach(k=>{o&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(y=v)==null||y.disconnect(),v=null,c&&cancelAnimationFrame(C)}}const Vp=b0,Np=Ep,Op=x0,wc=C0,Wp=(e,t,n)=>{const r=new Map,o={platform:Bp,...n},i={...o.platform,_c:r};return g0(e,t,{...o,platform:i})};var _i=typeof document<"u"?m.useLayoutEffect:m.useEffect;function t1(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!t1(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!t1(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function $0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function kc(e,t){const n=$0(e);return Math.round(t*n)/n}function pa(e){const t=d.useRef(e);return _i(()=>{t.current=e}),t}function Zp(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[p,f]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,v]=d.useState(r);t1(g,r)||v(r);const[C,x]=d.useState(null),[b,y]=d.useState(null),k=d.useCallback(A=>{A!==$.current&&($.current=A,x(A))},[]),w=d.useCallback(A=>{A!==M.current&&(M.current=A,y(A))},[]),L=i||C,E=a||b,$=d.useRef(null),M=d.useRef(null),_=d.useRef(p),D=c!=null,P=pa(c),N=pa(o),F=pa(u),V=d.useCallback(()=>{if(!$.current||!M.current)return;const A={placement:t,strategy:n,middleware:g};N.current&&(A.platform=N.current),Wp($.current,M.current,A).then(R=>{const W={...R,isPositioned:F.current!==!1};T.current&&!t1(_.current,W)&&(_.current=W,ks.flushSync(()=>{f(W)}))})},[g,t,n,N,F]);_i(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[u]);const T=d.useRef(!1);_i(()=>(T.current=!0,()=>{T.current=!1}),[]),_i(()=>{if(L&&($.current=L),E&&(M.current=E),L&&E){if(P.current)return P.current(L,E,V);V()}},[L,E,V,P,D]);const H=d.useMemo(()=>({reference:$,floating:M,setReference:k,setFloating:w}),[k,w]),I=d.useMemo(()=>({reference:L,floating:E}),[L,E]),j=d.useMemo(()=>{const A={position:n,left:0,top:0};if(!I.floating)return A;const R=kc(I.floating,p.x),W=kc(I.floating,p.y);return l?{...A,transform:"translate("+R+"px, "+W+"px)",...$0(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:W}},[n,l,I.floating,p.x,p.y]);return d.useMemo(()=>({...p,update:V,refs:H,elements:I,floatingStyles:j}),[p,V,H,I,j])}const Yp=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?wc({element:r.current,padding:o}).fn(n):{}:r?wc({element:r,padding:o}).fn(n):{}}}},No=(e,t)=>({...Vp(e),options:[e,t]}),Oo=(e,t)=>({...Np(e),options:[e,t]}),Wo=(e,t)=>({...Op(e),options:[e,t]}),zs=(e,t)=>({...Yp(e),options:[e,t]});function gn(e){return d.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})},e)}const _0={...d},zp=_0.useInsertionEffect,Gp=zp||(e=>e());function Wt(e){const t=d.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Gp(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var ut=typeof document<"u"?m.useLayoutEffect:m.useEffect;function bo(){return bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bo.apply(this,arguments)}let Ec=!1,Xp=0;const Lc=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Xp++;function Jp(){const[e,t]=d.useState(()=>Ec?Lc():void 0);return ut(()=>{e==null&&t(Lc())},[]),d.useEffect(()=>{Ec=!0},[]),e}const Up=_0.useId,rr=Up||Jp;let yo;process.env.NODE_ENV!=="production"&&(yo=new Set);function Qp(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=yo)!=null&&e.has(o))){var i;(i=yo)==null||i.add(o),console.warn(o)}}function Kp(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=yo)!=null&&e.has(o))){var i;(i=yo)==null||i.add(o),console.error(o)}}const Gs=d.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:a}},width:l=14,height:c=7,tipRadius:u=0,strokeWidth:p=0,staticOffset:f,stroke:g,d:v,style:{transform:C,...x}={},...b}=t;process.env.NODE_ENV!=="production"&&(n||Qp("The `ref` prop is required for `FloatingArrow`."));const y=rr(),[k,w]=d.useState(!1);if(ut(()=>{if(!o)return;At(o).direction==="rtl"&&w(!0)},[o]),!o)return null;const[L,E]=r.split("-"),$=L==="top"||L==="bottom";let M=f;($&&a!=null&&a.x||!$&&a!=null&&a.y)&&(M=null);const _=p*2,D=_/2,P=l/2*(u/-8+1),N=c/2*u/4,F=!!v,V=M&&E==="end"?"bottom":"top";let T=M&&E==="end"?"right":"left";M&&k&&(T=E==="end"?"left":"right");const H=i?.x!=null?M||i.x:"",I=i?.y!=null?M||i.y:"",j=v||"M0,0"+(" H"+l)+(" L"+(l-P)+","+(c-N))+(" Q"+l/2+","+c+" "+P+","+(c-N))+" Z",A={top:F?"rotate(180deg)":"",left:F?"rotate(90deg)":"rotate(-90deg)",bottom:F?"":"rotate(180deg)",right:F?"rotate(-90deg)":"rotate(90deg)"}[L];return d.createElement("svg",bo({},b,{"aria-hidden":!0,ref:n,width:F?l:l+_,height:l,viewBox:"0 0 "+l+" "+(c>l?c:l),style:{position:"absolute",pointerEvents:"none",[T]:H,[V]:I,[L]:$||F?"100%":"calc(100% - "+_/2+"px)",transform:[A,C].filter(R=>!!R).join(" "),...x}}),_>0&&d.createElement("path",{clipPath:"url(#"+y+")",fill:"none",stroke:g,strokeWidth:_+(v?0:1),d:j}),d.createElement("path",{stroke:_&&!v?b.fill:"none",d:j}),d.createElement("clipPath",{id:y},d.createElement("rect",{x:-D,y:D*(F?-1:1),width:l+_,height:l})))});function qp(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const ef=d.createContext(null),tf=d.createContext(null),Xs=()=>{var e;return((e=d.useContext(ef))==null?void 0:e.id)||null},R1=()=>d.useContext(tf);function or(e){return"data-floating-ui-"+e}function an(e){const t=m.useRef(e);return ut(()=>{t.current=e}),t}const Mc=or("safe-polygon");function fa(e,t,n){return n&&!xo(n)?0:typeof e=="number"?e:e?.[t]}function Js(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:a}=e,{enabled:l=!0,delay:c=0,handleClose:u=null,mouseOnly:p=!1,restMs:f=0,move:g=!0}=t,v=R1(),C=Xs(),x=an(u),b=an(c),y=an(n),k=d.useRef(),w=d.useRef(-1),L=d.useRef(),E=d.useRef(-1),$=d.useRef(!0),M=d.useRef(!1),_=d.useRef(()=>{}),D=d.useRef(!1),P=d.useCallback(()=>{var j;const A=(j=o.current.openEvent)==null?void 0:j.type;return A?.includes("mouse")&&A!=="mousedown"},[o]);d.useEffect(()=>{if(!l)return;function j(A){let{open:R}=A;R||(clearTimeout(w.current),clearTimeout(E.current),$.current=!0,D.current=!1)}return i.on("openchange",j),()=>{i.off("openchange",j)}},[l,i]),d.useEffect(()=>{if(!l||!x.current||!n)return;function j(R){P()&&r(!1,R,"hover")}const A=vt(a.floating).documentElement;return A.addEventListener("mouseleave",j),()=>{A.removeEventListener("mouseleave",j)}},[a.floating,n,r,l,x,P]);const N=d.useCallback(function(j,A,R){A===void 0&&(A=!0),R===void 0&&(R="hover");const W=fa(b.current,"close",k.current);W&&!L.current?(clearTimeout(w.current),w.current=window.setTimeout(()=>r(!1,j,R),W)):A&&(clearTimeout(w.current),r(!1,j,R))},[b,r]),F=Wt(()=>{_.current(),L.current=void 0}),V=Wt(()=>{if(M.current){const j=vt(a.floating).body;j.style.pointerEvents="",j.removeAttribute(Mc),M.current=!1}}),T=Wt(()=>o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1);d.useEffect(()=>{if(!l)return;function j(Z){if(clearTimeout(w.current),$.current=!1,p&&!xo(k.current)||f>0&&!fa(b.current,"open"))return;const X=fa(b.current,"open",k.current);X?w.current=window.setTimeout(()=>{y.current||r(!0,Z,"hover")},X):n||r(!0,Z,"hover")}function A(Z){if(T())return;_.current();const X=vt(a.floating);if(clearTimeout(E.current),D.current=!1,x.current&&o.current.floatingContext){n||clearTimeout(w.current),L.current=x.current({...o.current.floatingContext,tree:v,x:Z.clientX,y:Z.clientY,onClose(){V(),F(),T()||N(Z,!0,"safe-polygon")}});const re=L.current;X.addEventListener("mousemove",re),_.current=()=>{X.removeEventListener("mousemove",re)};return}(k.current==="touch"?!rt(a.floating,Z.relatedTarget):!0)&&N(Z)}function R(Z){T()||o.current.floatingContext&&(x.current==null||x.current({...o.current.floatingContext,tree:v,x:Z.clientX,y:Z.clientY,onClose(){V(),F(),T()||N(Z)}})(Z))}if(Be(a.domReference)){var W;const Z=a.domReference;return n&&Z.addEventListener("mouseleave",R),(W=a.floating)==null||W.addEventListener("mouseleave",R),g&&Z.addEventListener("mousemove",j,{once:!0}),Z.addEventListener("mouseenter",j),Z.addEventListener("mouseleave",A),()=>{var X;n&&Z.removeEventListener("mouseleave",R),(X=a.floating)==null||X.removeEventListener("mouseleave",R),g&&Z.removeEventListener("mousemove",j),Z.removeEventListener("mouseenter",j),Z.removeEventListener("mouseleave",A)}}},[a,l,e,p,f,g,N,F,V,r,n,y,v,b,x,o,T]),ut(()=>{var j;if(l&&n&&(j=x.current)!=null&&j.__options.blockPointerEvents&&P()){M.current=!0;const R=a.floating;if(Be(a.domReference)&&R){var A;const W=vt(a.floating).body;W.setAttribute(Mc,"");const Z=a.domReference,X=v==null||(A=v.nodesRef.current.find(me=>me.id===C))==null||(A=A.context)==null?void 0:A.elements.floating;return X&&(X.style.pointerEvents=""),W.style.pointerEvents="none",Z.style.pointerEvents="auto",R.style.pointerEvents="auto",()=>{W.style.pointerEvents="",Z.style.pointerEvents="",R.style.pointerEvents=""}}}},[l,n,C,a,v,x,P]),ut(()=>{n||(k.current=void 0,D.current=!1,F(),V())},[n,F,V]),d.useEffect(()=>()=>{F(),clearTimeout(w.current),clearTimeout(E.current),V()},[l,a.domReference,F,V]);const H=d.useMemo(()=>{function j(A){k.current=A.pointerType}return{onPointerDown:j,onPointerEnter:j,onMouseMove(A){const{nativeEvent:R}=A;function W(){!$.current&&!y.current&&r(!0,R,"hover")}p&&!xo(k.current)||n||f===0||D.current&&A.movementX**2+A.movementY**2<2||(clearTimeout(E.current),k.current==="touch"?W():(D.current=!0,E.current=window.setTimeout(W,f)))}}},[p,r,n,y,f]),I=d.useMemo(()=>({onMouseEnter(){clearTimeout(w.current)},onMouseLeave(j){T()||N(j.nativeEvent,!1)}}),[N,T]);return d.useMemo(()=>l?{reference:H,floating:I}:{},[l,H,I])}let $c=0;function vr(e,t){t===void 0&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame($c);const i=()=>e?.focus({preventScroll:n});o?i():$c=requestAnimationFrame(i)}function nf(e,t){var n;let r=[],o=(n=e.find(i=>i.id===t))==null?void 0:n.parentId;for(;o;){const i=e.find(a=>a.id===o);o=i?.parentId,i&&(r=r.concat(i))}return r}function Mr(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}let Cr=new WeakMap,ui=new WeakSet,pi={},ha=0;const rf=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,I0=e=>e&&(e.host||I0(e.parentNode)),of=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=I0(n);return e.contains(r)?r:null}).filter(n=>n!=null);function af(e,t,n,r){const o="data-floating-ui-inert",i=r?"inert":n?"aria-hidden":null,a=of(t,e),l=new Set,c=new Set(a),u=[];pi[o]||(pi[o]=new WeakMap);const p=pi[o];a.forEach(f),g(t),l.clear();function f(v){!v||l.has(v)||(l.add(v),v.parentNode&&f(v.parentNode))}function g(v){!v||c.has(v)||[].forEach.call(v.children,C=>{if(Wn(C)!=="script")if(l.has(C))g(C);else{const x=i?C.getAttribute(i):null,b=x!==null&&x!=="false",y=(Cr.get(C)||0)+1,k=(p.get(C)||0)+1;Cr.set(C,y),p.set(C,k),u.push(C),y===1&&b&&ui.add(C),k===1&&C.setAttribute(o,""),!b&&i&&C.setAttribute(i,"true")}})}return ha++,()=>{u.forEach(v=>{const C=(Cr.get(v)||0)-1,x=(p.get(v)||0)-1;Cr.set(v,C),p.set(v,x),C||(!ui.has(v)&&i&&v.removeAttribute(i),ui.delete(v)),x||v.removeAttribute(o)}),ha--,ha||(Cr=new WeakMap,Cr=new WeakMap,ui=new WeakSet,pi={})}}function _c(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=vt(e[0]).body;return af(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const wo=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function S0(e,t){const n=j1(e,wo());t==="prev"&&n.reverse();const r=n.indexOf(bn(vt(e)));return n.slice(r+1)[0]}function D0(){return S0(document.body,"next")}function A0(){return S0(document.body,"prev")}function ho(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!rt(n,r)}function sf(e){j1(e,wo()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Ic(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const T1={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let lf;function Sc(e){e.key==="Tab"&&(e.target,clearTimeout(lf))}const n1=d.forwardRef(function(t,n){const[r,o]=d.useState();ut(()=>(c0()&&o("button"),document.addEventListener("keydown",Sc),()=>{document.removeEventListener("keydown",Sc)}),[]);const i={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[or("focus-guard")]:"",style:T1};return d.createElement("span",bo({},t,i))}),j0=d.createContext(null),Dc=or("portal");function cf(e){e===void 0&&(e={});const{id:t,root:n}=e,r=rr(),o=R0(),[i,a]=d.useState(null),l=d.useRef(null);return ut(()=>()=>{i?.remove(),queueMicrotask(()=>{l.current=null})},[i]),ut(()=>{if(!r||l.current)return;const c=t?document.getElementById(t):null;if(!c)return;const u=document.createElement("div");u.id=r,u.setAttribute(Dc,""),c.appendChild(u),l.current=u,a(u)},[t,r]),ut(()=>{if(n===null||!r||l.current)return;let c=n||o?.portalNode;c&&!Be(c)&&(c=c.current),c=c||document.body;let u=null;t&&(u=document.createElement("div"),u.id=t,c.appendChild(u));const p=document.createElement("div");p.id=r,p.setAttribute(Dc,""),c=u||c,c.appendChild(p),l.current=p,a(p)},[t,n,r,o]),i}function Zo(e){const{children:t,id:n,root:r,preserveTabOrder:o=!0}=e,i=cf({id:n,root:r}),[a,l]=d.useState(null),c=d.useRef(null),u=d.useRef(null),p=d.useRef(null),f=d.useRef(null),g=a?.modal,v=a?.open,C=!!a&&!a.modal&&a.open&&o&&!!(r||i);return d.useEffect(()=>{if(!i||!o||g)return;function x(b){i&&ho(b)&&(b.type==="focusin"?Ic:sf)(i)}return i.addEventListener("focusin",x,!0),i.addEventListener("focusout",x,!0),()=>{i.removeEventListener("focusin",x,!0),i.removeEventListener("focusout",x,!0)}},[i,o,g]),d.useEffect(()=>{i&&(v||Ic(i))},[v,i]),d.createElement(j0.Provider,{value:d.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:p,afterInsideRef:f,portalNode:i,setFocusManagerState:l}),[o,i])},C&&i&&d.createElement(n1,{"data-type":"outside",ref:c,onFocus:x=>{if(ho(x,i)){var b;(b=p.current)==null||b.focus()}else{const y=A0()||a?.refs.domReference.current;y?.focus()}}}),C&&i&&d.createElement("span",{"aria-owns":i.id,style:T1}),i&&ks.createPortal(t,i),C&&i&&d.createElement(n1,{"data-type":"outside",ref:u,onFocus:x=>{if(ho(x,i)){var b;(b=f.current)==null||b.focus()}else{const y=D0()||a?.refs.domReference.current;y?.focus(),a?.closeOnFocusOut&&a?.onOpenChange(!1,x.nativeEvent,"focus-out")}}}))}const R0=()=>d.useContext(j0),ts="data-floating-ui-focusable";function df(e){return e?e.hasAttribute(ts)?e:e.querySelector("["+ts+"]")||e:null}const uf=20;let Yn=[];function ma(e){Yn=Yn.filter(n=>n.isConnected);let t=e;if(!(!t||Wn(t)==="body")){if(!wp(t,wo())){const n=j1(t,wo())[0];n&&(t=n)}Yn.push(t),Yn.length>uf&&(Yn=Yn.slice(-20))}}function Ac(){return Yn.slice().reverse().find(e=>e.isConnected)}const pf=d.forwardRef(function(t,n){return d.createElement("button",bo({},t,{type:"button",ref:n,tabIndex:-1,style:T1}))});function Us(e){const{context:t,children:n,disabled:r=!1,order:o=["content"],guards:i=!0,initialFocus:a=0,returnFocus:l=!0,restoreFocus:c=!1,modal:u=!0,visuallyHiddenDismiss:p=!1,closeOnFocusOut:f=!0}=e,{open:g,refs:v,nodeId:C,onOpenChange:x,events:b,dataRef:y,floatingId:k,elements:{domReference:w,floating:L}}=t,E=typeof a=="number"&&a<0,$=U8(w)&&E,M=rf()?i:!0,_=an(o),D=an(a),P=an(l),N=R1(),F=R0(),V=d.useRef(null),T=d.useRef(null),H=d.useRef(!1),I=d.useRef(!1),j=d.useRef(-1),A=F!=null,R=df(L),W=Wt(function(re){return re===void 0&&(re=R),re?j1(re,wo()):[]}),Z=Wt(re=>{const oe=W(re);return _.current.map(z=>w&&z==="reference"?w:R&&z==="floating"?R:oe).filter(Boolean).flat()});d.useEffect(()=>{if(r||!u)return;function re(z){if(z.key==="Tab"){rt(R,bn(vt(R)))&&W().length===0&&!$&&da(z);const te=Z(),Q=kn(z);_.current[0]==="reference"&&Q===w&&(da(z),z.shiftKey?vr(te[te.length-1]):vr(te[1])),_.current[1]==="floating"&&Q===R&&z.shiftKey&&(da(z),vr(te[0]))}}const oe=vt(R);return oe.addEventListener("keydown",re),()=>{oe.removeEventListener("keydown",re)}},[r,w,R,u,_,$,W,Z]),d.useEffect(()=>{if(r||!L)return;function re(oe){const z=kn(oe),Q=W().indexOf(z);Q!==-1&&(j.current=Q)}return L.addEventListener("focusin",re),()=>{L.removeEventListener("focusin",re)}},[r,L,W]),d.useEffect(()=>{if(r||!f)return;function re(){I.current=!0,setTimeout(()=>{I.current=!1})}function oe(z){const te=z.relatedTarget;queueMicrotask(()=>{const Q=!(rt(w,te)||rt(L,te)||rt(te,L)||rt(F?.portalNode,te)||te!=null&&te.hasAttribute(or("focus-guard"))||N&&(Mr(N.nodesRef.current,C).find(pe=>{var ve,He;return rt((ve=pe.context)==null?void 0:ve.elements.floating,te)||rt((He=pe.context)==null?void 0:He.elements.domReference,te)})||nf(N.nodesRef.current,C).find(pe=>{var ve,He;return((ve=pe.context)==null?void 0:ve.elements.floating)===te||((He=pe.context)==null?void 0:He.elements.domReference)===te})));if(c&&Q&&bn(vt(R))===vt(R).body){ot(R)&&R.focus();const pe=j.current,ve=W(),He=ve[pe]||ve[ve.length-1]||R;ot(He)&&He.focus()}($||!u)&&te&&Q&&!I.current&&te!==Ac()&&(H.current=!0,x(!1,z,"focus-out"))})}if(L&&ot(w))return w.addEventListener("focusout",oe),w.addEventListener("pointerdown",re),L.addEventListener("focusout",oe),()=>{w.removeEventListener("focusout",oe),w.removeEventListener("pointerdown",re),L.removeEventListener("focusout",oe)}},[r,w,L,R,u,C,N,F,x,f,c,W,$]),d.useEffect(()=>{var re;if(r)return;const oe=Array.from((F==null||(re=F.portalNode)==null?void 0:re.querySelectorAll("["+or("portal")+"]"))||[]);if(L){const z=[L,...oe,V.current,T.current,_.current.includes("reference")||$?w:null].filter(Q=>Q!=null),te=u||$?_c(z,M,!M):_c(z);return()=>{te()}}},[r,w,L,u,_,F,$,M]),ut(()=>{if(r||!ot(R))return;const re=vt(R),oe=bn(re);queueMicrotask(()=>{const z=Z(R),te=D.current,Q=(typeof te=="number"?z[te]:te.current)||R,pe=rt(R,oe);!E&&!pe&&g&&vr(Q,{preventScroll:Q===R})})},[r,g,R,E,Z,D]),ut(()=>{if(r||!R)return;let re=!1;const oe=vt(R),z=bn(oe);let Q=y.current.openEvent;ma(z);function pe(G){let{open:Mt,reason:ht,event:Ge,nested:Jt}=G;Mt&&(Q=Ge),ht==="escape-key"&&v.domReference.current&&ma(v.domReference.current),ht==="hover"&&Ge.type==="mouseleave"&&(H.current=!0),ht==="outside-press"&&(Jt?(H.current=!1,re=!0):H.current=!(Z8(Ge)||l0(Ge)))}b.on("openchange",pe);const ve=oe.createElement("span");ve.setAttribute("tabindex","-1"),ve.setAttribute("aria-hidden","true"),Object.assign(ve.style,T1),A&&w&&w.insertAdjacentElement("afterend",ve);function He(){return typeof P.current=="boolean"?Ac()||ve:P.current.current||ve}return()=>{b.off("openchange",pe);const G=bn(oe),Mt=rt(L,G)||N&&Mr(N.nodesRef.current,C).some(Jt=>{var ee;return rt((ee=Jt.context)==null?void 0:ee.elements.floating,G)});(Mt||Q&&["click","mousedown"].includes(Q.type))&&v.domReference.current&&ma(v.domReference.current);const Ge=He();queueMicrotask(()=>{P.current&&!H.current&&ot(Ge)&&(!(Ge!==G&&G!==oe.body)||Mt)&&Ge.focus({preventScroll:re}),ve.remove()})}},[r,L,R,P,y,v,b,N,C,A,w]),d.useEffect(()=>{queueMicrotask(()=>{H.current=!1})},[r]),ut(()=>{if(!r&&F)return F.setFocusManagerState({modal:u,closeOnFocusOut:f,open:g,onOpenChange:x,refs:v}),()=>{F.setFocusManagerState(null)}},[r,F,u,g,x,v,f]),ut(()=>{if(r||!R||typeof MutationObserver!="function"||E)return;const re=()=>{const z=R.getAttribute("tabindex"),te=W(),Q=bn(vt(L)),pe=te.indexOf(Q);pe!==-1&&(j.current=pe),_.current.includes("floating")||Q!==v.domReference.current&&te.length===0?z!=="0"&&R.setAttribute("tabindex","0"):z!=="-1"&&R.setAttribute("tabindex","-1")};re();const oe=new MutationObserver(re);return oe.observe(R,{childList:!0,subtree:!0,attributes:!0}),()=>{oe.disconnect()}},[r,L,R,v,_,W,E]);function X(re){return r||!p||!u?null:d.createElement(pf,{ref:re==="start"?V:T,onClick:oe=>x(!1,oe.nativeEvent)},typeof p=="string"?p:"Dismiss")}const me=!r&&M&&(u?!$:!0)&&(A||u);return d.createElement(d.Fragment,null,me&&d.createElement(n1,{"data-type":"inside",ref:F?.beforeInsideRef,onFocus:re=>{if(u){const z=Z();vr(o[0]==="reference"?z[0]:z[z.length-1])}else if(F!=null&&F.preserveTabOrder&&F.portalNode)if(H.current=!1,ho(re,F.portalNode)){const z=D0()||w;z?.focus()}else{var oe;(oe=F.beforeOutsideRef.current)==null||oe.focus()}}}),!$&&X("start"),n,X("end"),me&&d.createElement(n1,{"data-type":"inside",ref:F?.afterInsideRef,onFocus:re=>{if(u)vr(Z()[0]);else if(F!=null&&F.preserveTabOrder&&F.portalNode)if(f&&(H.current=!0),ho(re,F.portalNode)){const z=A0()||w;z?.focus()}else{var oe;(oe=F.afterOutsideRef.current)==null||oe.focus()}}}))}function jc(e){return ot(e.target)&&e.target.tagName==="BUTTON"}function Rc(e){return Ns(e)}function Yo(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:i}}=e,{enabled:a=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:p=!0,stickIfOpen:f=!0}=t,g=d.useRef(),v=d.useRef(!1),C=d.useMemo(()=>({onPointerDown(x){g.current=x.pointerType},onMouseDown(x){const b=g.current;x.button===0&&l!=="click"&&(xo(b,!0)&&u||(n&&c&&(!(o.current.openEvent&&f)||o.current.openEvent.type==="mousedown")?r(!1,x.nativeEvent,"click"):(x.preventDefault(),r(!0,x.nativeEvent,"click"))))},onClick(x){const b=g.current;if(l==="mousedown"&&g.current){g.current=void 0;return}xo(b,!0)&&u||(n&&c&&(!(o.current.openEvent&&f)||o.current.openEvent.type==="click")?r(!1,x.nativeEvent,"click"):r(!0,x.nativeEvent,"click"))},onKeyDown(x){g.current=void 0,!(x.defaultPrevented||!p||jc(x))&&(x.key===" "&&!Rc(i)&&(x.preventDefault(),v.current=!0),x.key==="Enter"&&r(!(n&&c),x.nativeEvent,"click"))},onKeyUp(x){x.defaultPrevented||!p||jc(x)||Rc(i)||x.key===" "&&v.current&&(v.current=!1,r(!(n&&c),x.nativeEvent,"click"))}}),[o,i,l,u,p,r,n,f,c]);return d.useMemo(()=>a?{reference:C}:{},[a,C])}const ff={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},hf={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Tc=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e?.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e?.outsidePress)!=null?n:!0}};function zo(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:i}=e,{enabled:a=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:p=!1,referencePressEvent:f="pointerdown",ancestorScroll:g=!1,bubbles:v,capture:C}=t,x=R1(),b=Wt(typeof c=="function"?c:()=>!1),y=typeof c=="function"?b:c,k=d.useRef(!1),w=d.useRef(!1),{escapeKey:L,outsidePress:E}=Tc(v),{escapeKey:$,outsidePress:M}=Tc(C),_=d.useRef(!1),D=Wt(H=>{var I;if(!n||!a||!l||H.key!=="Escape"||_.current)return;const j=(I=i.current.floatingContext)==null?void 0:I.nodeId,A=x?Mr(x.nodesRef.current,j):[];if(!L&&(H.stopPropagation(),A.length>0)){let R=!0;if(A.forEach(W=>{var Z;if((Z=W.context)!=null&&Z.open&&!W.context.dataRef.current.__escapeKeyBubbles){R=!1;return}}),!R)return}r(!1,G8(H)?H.nativeEvent:H,"escape-key")}),P=Wt(H=>{var I;const j=()=>{var A;D(H),(A=kn(H))==null||A.removeEventListener("keydown",j)};(I=kn(H))==null||I.addEventListener("keydown",j)}),N=Wt(H=>{var I;const j=k.current;k.current=!1;const A=w.current;if(w.current=!1,u==="click"&&A||j||typeof y=="function"&&!y(H))return;const R=kn(H),W="["+or("inert")+"]",Z=vt(o.floating).querySelectorAll(W);let X=Be(R)?R:null;for(;X&&!Vn(X);){const z=Dn(X);if(Vn(z)||!Be(z))break;X=z}if(Z.length&&Be(R)&&!X8(R)&&!rt(R,o.floating)&&Array.from(Z).every(z=>!rt(X,z)))return;if(ot(R)&&T){const z=R.clientWidth>0&&R.scrollWidth>R.clientWidth,te=R.clientHeight>0&&R.scrollHeight>R.clientHeight;let Q=te&&H.offsetX>R.clientWidth;if(te&&At(R).direction==="rtl"&&(Q=H.offsetX<=R.offsetWidth-R.clientWidth),Q||z&&H.offsetY>R.clientHeight)return}const me=(I=i.current.floatingContext)==null?void 0:I.nodeId,re=x&&Mr(x.nodesRef.current,me).some(z=>{var te;return ca(H,(te=z.context)==null?void 0:te.elements.floating)});if(ca(H,o.floating)||ca(H,o.domReference)||re)return;const oe=x?Mr(x.nodesRef.current,me):[];if(oe.length>0){let z=!0;if(oe.forEach(te=>{var Q;if((Q=te.context)!=null&&Q.open&&!te.context.dataRef.current.__outsidePressBubbles){z=!1;return}}),!z)return}r(!1,H,"outside-press")}),F=Wt(H=>{var I;const j=()=>{var A;N(H),(A=kn(H))==null||A.removeEventListener(u,j)};(I=kn(H))==null||I.addEventListener(u,j)});d.useEffect(()=>{if(!n||!a)return;i.current.__escapeKeyBubbles=L,i.current.__outsidePressBubbles=E;let H=-1;function I(Z){r(!1,Z,"ancestor-scroll")}function j(){window.clearTimeout(H),_.current=!0}function A(){H=window.setTimeout(()=>{_.current=!1},D1()?5:0)}const R=vt(o.floating);l&&(R.addEventListener("keydown",$?P:D,$),R.addEventListener("compositionstart",j),R.addEventListener("compositionend",A)),y&&R.addEventListener(u,M?F:N,M);let W=[];return g&&(Be(o.domReference)&&(W=Bn(o.domReference)),Be(o.floating)&&(W=W.concat(Bn(o.floating))),!Be(o.reference)&&o.reference&&o.reference.contextElement&&(W=W.concat(Bn(o.reference.contextElement)))),W=W.filter(Z=>{var X;return Z!==((X=R.defaultView)==null?void 0:X.visualViewport)}),W.forEach(Z=>{Z.addEventListener("scroll",I,{passive:!0})}),()=>{l&&(R.removeEventListener("keydown",$?P:D,$),R.removeEventListener("compositionstart",j),R.removeEventListener("compositionend",A)),y&&R.removeEventListener(u,M?F:N,M),W.forEach(Z=>{Z.removeEventListener("scroll",I)}),window.clearTimeout(H)}},[i,o,l,y,u,n,r,g,a,L,E,D,$,P,N,M,F]),d.useEffect(()=>{k.current=!1},[y,u]);const V=d.useMemo(()=>({onKeyDown:D,[ff[f]]:H=>{p&&r(!1,H.nativeEvent,"reference-press")}}),[D,r,p,f]),T=d.useMemo(()=>({onKeyDown:D,onMouseDown(){w.current=!0},onMouseUp(){w.current=!0},[hf[u]]:()=>{k.current=!0}}),[D,u]);return d.useMemo(()=>a?{reference:V,floating:T}:{},[a,V,T])}function mf(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=rr(),i=d.useRef({}),[a]=d.useState(()=>qp()),l=Xs()!=null;if(process.env.NODE_ENV!=="production"){const v=r.reference;v&&!Be(v)&&Kp("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=d.useState(r.reference),p=Wt((v,C,x)=>{i.current.openEvent=v?C:void 0,a.emit("openchange",{open:v,event:C,reason:x,nested:l}),n?.(v,C,x)}),f=d.useMemo(()=>({setPositionReference:u}),[]),g=d.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return d.useMemo(()=>({dataRef:i,open:t,onOpenChange:p,elements:g,events:a,floatingId:o,refs:f}),[t,p,g,a,o,f])}function Go(e){e===void 0&&(e={});const{nodeId:t}=e,n=mf({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=d.useState(null),[l,c]=d.useState(null),p=o?.domReference||i,f=d.useRef(null),g=R1();ut(()=>{p&&(f.current=p)},[p]);const v=Zp({...e,elements:{...o,...l&&{reference:l}}}),C=d.useCallback(w=>{const L=Be(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;c(L),v.refs.setReference(L)},[v.refs]),x=d.useCallback(w=>{(Be(w)||w===null)&&(f.current=w,a(w)),(Be(v.refs.reference.current)||v.refs.reference.current===null||w!==null&&!Be(w))&&v.refs.setReference(w)},[v.refs]),b=d.useMemo(()=>({...v.refs,setReference:x,setPositionReference:C,domReference:f}),[v.refs,x,C]),y=d.useMemo(()=>({...v.elements,domReference:p}),[v.elements,p]),k=d.useMemo(()=>({...v,...r,refs:b,elements:y,nodeId:t}),[v,b,y,t,r]);return ut(()=>{r.dataRef.current.floatingContext=k;const w=g?.nodesRef.current.find(L=>L.id===t);w&&(w.context=k)}),d.useMemo(()=>({...v,context:k,refs:b,elements:y}),[v,b,y,k])}function gf(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:o,dataRef:i,elements:a}=e,{enabled:l=!0,visibleOnly:c=!0}=t,u=d.useRef(!1),p=d.useRef(),f=d.useRef(!0);d.useEffect(()=>{if(!l)return;const v=$t(a.domReference);function C(){!n&&ot(a.domReference)&&a.domReference===bn(vt(a.domReference))&&(u.current=!0)}function x(){f.current=!0}return v.addEventListener("blur",C),v.addEventListener("keydown",x,!0),()=>{v.removeEventListener("blur",C),v.removeEventListener("keydown",x,!0)}},[a.domReference,n,l]),d.useEffect(()=>{if(!l)return;function v(C){let{reason:x}=C;(x==="reference-press"||x==="escape-key")&&(u.current=!0)}return o.on("openchange",v),()=>{o.off("openchange",v)}},[o,l]),d.useEffect(()=>()=>{clearTimeout(p.current)},[]);const g=d.useMemo(()=>({onPointerDown(v){l0(v.nativeEvent)||(f.current=!1)},onMouseLeave(){u.current=!1},onFocus(v){if(u.current)return;const C=kn(v.nativeEvent);if(c&&Be(C))try{if(c0()&&Y8())throw Error();if(!C.matches(":focus-visible"))return}catch{if(!f.current&&!Ns(C))return}r(!0,v.nativeEvent,"focus")},onBlur(v){u.current=!1;const C=v.relatedTarget,x=v.nativeEvent,b=Be(C)&&C.hasAttribute(or("focus-guard"))&&C.getAttribute("data-type")==="outside";p.current=window.setTimeout(()=>{var y;const k=bn(a.domReference?a.domReference.ownerDocument:document);!C&&k===a.domReference||rt((y=i.current.floatingContext)==null?void 0:y.refs.floating.current,k)||rt(a.domReference,k)||b||r(!1,x,"focus")})}}),[i,a.domReference,r,c]);return d.useMemo(()=>l?{reference:g}:{},[l,g])}const Fc="active",Pc="selected";function ga(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[Fc]:a,[Pc]:l,...c}=e;i=c}return{...n==="floating"&&{tabIndex:-1,[ts]:""},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(c=>{let[u,p]=c;if(!(o&&[Fc,Pc].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof p=="function"){var f;(f=r.get(u))==null||f.push(p),a[u]=function(){for(var g,v=arguments.length,C=new Array(v),x=0;x<v;x++)C[x]=arguments[x];return(g=r.get(u))==null?void 0:g.map(b=>b(...C)).find(b=>b!==void 0)}}}else a[u]=p}),a),{})}}function Xo(e){e===void 0&&(e=[]);const t=e.map(l=>l?.reference),n=e.map(l=>l?.floating),r=e.map(l=>l?.item),o=d.useCallback(l=>ga(l,e,"reference"),t),i=d.useCallback(l=>ga(l,e,"floating"),n),a=d.useCallback(l=>ga(l,e,"item"),r);return d.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:a}),[o,i,a])}const vf=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Jo(e,t){var n;t===void 0&&(t={});const{open:r,floatingId:o}=e,{enabled:i=!0,role:a="dialog"}=t,l=(n=vf.get(a))!=null?n:a,c=rr(),p=Xs()!=null,f=d.useMemo(()=>l==="tooltip"||a==="label"?{["aria-"+(a==="label"?"labelledby":"describedby")]:r?o:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":l==="alertdialog"?"dialog":l,"aria-controls":r?o:void 0,...l==="listbox"&&{role:"combobox"},...l==="menu"&&{id:c},...l==="menu"&&p&&{role:"menuitem"},...a==="select"&&{"aria-autocomplete":"none"},...a==="combobox"&&{"aria-autocomplete":"list"}},[l,o,p,r,c,a]),g=d.useMemo(()=>{const C={id:o,...l&&{role:l}};return l==="tooltip"||a==="label"?C:{...C,...l==="menu"&&{"aria-labelledby":c}}},[l,o,c,a]),v=d.useCallback(C=>{let{active:x,selected:b}=C;const y={role:"option",...x&&{id:o+"-option"}};switch(a){case"select":return{...y,"aria-selected":x&&b};case"combobox":return{...y,...x&&{"aria-selected":!0}}}return{}},[o,a]);return d.useMemo(()=>i?{reference:f,floating:g,item:v}:{},[i,f,g,v])}const Bc=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,n)=>(n?"-":"")+t.toLowerCase());function xr(e,t){return typeof e=="function"?e(t):e}function Cf(e,t){const[n,r]=d.useState(e);return e&&!n&&r(!0),d.useEffect(()=>{if(!e&&n){const o=setTimeout(()=>r(!1),t);return()=>clearTimeout(o)}},[e,n,t]),n}function xf(e,t){t===void 0&&(t={});const{open:n,elements:{floating:r}}=e,{duration:o=250}=t,a=(typeof o=="number"?o:o.close)||0,[l,c]=d.useState("unmounted"),u=Cf(n,a);return!u&&l==="close"&&c("unmounted"),ut(()=>{if(r){if(n){c("initial");const p=requestAnimationFrame(()=>{c("open")});return()=>{cancelAnimationFrame(p)}}c("close")}},[n,r]),{isMounted:u,status:l}}function Uo(e,t){t===void 0&&(t={});const{initial:n={opacity:0},open:r,close:o,common:i,duration:a=250}=t,l=e.placement,c=l.split("-")[0],u=d.useMemo(()=>({side:c,placement:l}),[c,l]),p=typeof a=="number",f=(p?a:a.open)||0,g=(p?a:a.close)||0,[v,C]=d.useState(()=>({...xr(i,u),...xr(n,u)})),{isMounted:x,status:b}=xf(e,{duration:a}),y=an(n),k=an(r),w=an(o),L=an(i);return ut(()=>{const E=xr(y.current,u),$=xr(w.current,u),M=xr(L.current,u),_=xr(k.current,u)||Object.keys(E).reduce((D,P)=>(D[P]="",D),{});if(b==="initial"&&C(D=>({transitionProperty:D.transitionProperty,...M,...E})),b==="open"&&C({transitionProperty:Object.keys(_).map(Bc).join(","),transitionDuration:f+"ms",...M,..._}),b==="close"){const D=$||E;C({transitionProperty:Object.keys(D).map(Bc).join(","),transitionDuration:g+"ms",...M,...D})}},[g,w,y,k,L,f,b,u]),{isMounted:x,styles:v}}function Hc(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a<i;l=a++){const[c,u]=t[a]||[0,0],[p,f]=t[l]||[0,0];u>=r!=f>=r&&n<=(p-c)*(r-u)/(f-u)+c&&(o=!o)}return o}function bf(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function yf(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,l=null,c=performance.now();function u(f,g){const v=performance.now(),C=v-c;if(a===null||l===null||C===0)return a=f,l=g,c=v,null;const x=f-a,b=g-l,k=Math.sqrt(x*x+b*b)/C;return a=f,l=g,c=v,k}const p=f=>{let{x:g,y:v,placement:C,elements:x,onClose:b,nodeId:y,tree:k}=f;return function(L){function E(){clearTimeout(o),b()}if(clearTimeout(o),!x.domReference||!x.floating||C==null||g==null||v==null)return;const{clientX:$,clientY:M}=L,_=[$,M],D=kn(L),P=L.type==="mouseleave",N=rt(x.floating,D),F=rt(x.domReference,D),V=x.domReference.getBoundingClientRect(),T=x.floating.getBoundingClientRect(),H=C.split("-")[0],I=g>T.right-T.width/2,j=v>T.bottom-T.height/2,A=bf(_,V),R=T.width>V.width,W=T.height>V.height,Z=(R?V:T).left,X=(R?V:T).right,me=(W?V:T).top,re=(W?V:T).bottom;if(N&&(i=!0,!P))return;if(F&&(i=!1),F&&!P){i=!0;return}if(P&&Be(L.relatedTarget)&&rt(x.floating,L.relatedTarget)||k&&Mr(k.nodesRef.current,y).some(te=>{let{context:Q}=te;return Q?.open}))return;if(H==="top"&&v>=V.bottom-1||H==="bottom"&&v<=V.top+1||H==="left"&&g>=V.right-1||H==="right"&&g<=V.left+1)return E();let oe=[];switch(H){case"top":oe=[[Z,V.top+1],[Z,T.bottom-1],[X,T.bottom-1],[X,V.top+1]];break;case"bottom":oe=[[Z,T.top+1],[Z,V.bottom-1],[X,V.bottom-1],[X,T.top+1]];break;case"left":oe=[[T.right-1,re],[T.right-1,me],[V.left+1,me],[V.left+1,re]];break;case"right":oe=[[V.right-1,re],[V.right-1,me],[T.left+1,me],[T.left+1,re]];break}function z(te){let[Q,pe]=te;switch(H){case"top":{const ve=[R?Q+t/2:I?Q+t*4:Q-t*4,pe+t+1],He=[R?Q-t/2:I?Q+t*4:Q-t*4,pe+t+1],G=[[T.left,I||R?T.bottom-t:T.top],[T.right,I?R?T.bottom-t:T.top:T.bottom-t]];return[ve,He,...G]}case"bottom":{const ve=[R?Q+t/2:I?Q+t*4:Q-t*4,pe-t],He=[R?Q-t/2:I?Q+t*4:Q-t*4,pe-t],G=[[T.left,I||R?T.top+t:T.bottom],[T.right,I?R?T.top+t:T.bottom:T.top+t]];return[ve,He,...G]}case"left":{const ve=[Q+t+1,W?pe+t/2:j?pe+t*4:pe-t*4],He=[Q+t+1,W?pe-t/2:j?pe+t*4:pe-t*4];return[...[[j||W?T.right-t:T.left,T.top],[j?W?T.right-t:T.left:T.right-t,T.bottom]],ve,He]}case"right":{const ve=[Q-t,W?pe+t/2:j?pe+t*4:pe-t*4],He=[Q-t,W?pe-t/2:j?pe+t*4:pe-t*4],G=[[j||W?T.left+t:T.right,T.top],[j?W?T.left+t:T.right:T.left+t,T.bottom]];return[ve,He,...G]}}}if(!Hc([$,M],oe)){if(i&&!A)return E();if(!P&&r){const te=u(L.clientX,L.clientY);if(te!==null&&te<.1)return E()}Hc([$,M],z([g,v]))?!i&&r&&(o=window.setTimeout(E,40)):E()}}};return p.__options={blockPointerEvents:n},p}const Zn=e=>{if(jr){const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}},Qo=(e,t,n={})=>{const r={path:"/","max-age":31104e3,...n},o=window.location.origin;o.includes("localhost")?r.domain="localhost":o.includes("profinansy.ae")?r.domain=".profinansy.ae":o.includes("qa.profinansy.dev")?r.domain=".profinansy.dev":r.domain=".profinansy.ru",n.expires instanceof Date&&(r.expires=n.expires.toUTCString());let i=encodeURIComponent(e)+"="+encodeURIComponent(t);for(const a in r){i+="; "+a;const l=r[a];l!==!0&&(i+="="+l)}document.cookie=i},wf=e=>{Qo(e,"",{"max-age":-1})},ns=["/login","/idv","/method"],T0=m.createContext({mode:"light",selectedMode:"light",toggleTheme:null,setShowTheme:null,unAvailablePagesTheme:ns}),ne=()=>m.useContext(T0),Vc="selected_theme",kf=({children:e,selectedTheme:t})=>{const[n,r]=m.useState(t??"light"),[o,i]=m.useState(t??"light");m.useEffect(()=>{let c=!0;const u=window?.location.pathname;ns.forEach(p=>{u.includes(p)&&(c=!1)}),i(c?n:"light")},[n]),m.useEffect(()=>{const c=Zn(Vc);(c==="light"||c==="dark")&&r(c)},[]);const a=c=>{r(c),Qo(Vc,c)},l=c=>{i(c)};return s.jsx(T0.Provider,{value:{mode:o,selectedMode:n,toggleTheme:a,setShowTheme:l,unAvailablePagesTheme:ns},children:e})},U={light:{background:{primary:"#F4F4F9",content:"#FFFFFF",secondary:"#F7F7F9",secondaryAlpha:"#EAE9F1",field:"#FFFFFF",fieldSecondary:"#F5F4F8",accent:"#6553F5",accentSecondaryTint:"#E8E5FE",positiveTint:"#DCF6DA",warningTint:"#FFF0DB",negativeTint:"#FFF1EC",info:"#DBDCFF",bottomActions:"rgba(255, 255, 255, 0.5)",overlay:"rgba(0, 0, 0, 0.60)"},text:{primary:"#242424",secondary:"#6A6A71",tertiary:"#A1A0AC",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},icons:{primary:"#242424",secondary:"#AAAABA",tertiary:"#CCCBD3",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",contrastThemRev:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warring:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},stroke:{primary:"#DDDDE3",secondary:"#D6D6DE",tertiary:"#E7E7EB",contrast:"#7D7D95",accent:"#6553F5",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5",tooltip:"#F0F0F0"},interactiveButtons:{brandBackground:"#6553F5",brandBackgroundHover:"#4A35F3",brandText:"#FFFFFF",secondaryBrandBackground:"rgba(101, 83, 245, 0.12)",secondaryBrandBackgroundHover:"rgba(101, 83, 245, 0.22)",secondaryBrandText:"#4A35F3",whiteFixedBackground:"#FFFFFF",whiteFixedBackgroundHover:"rgba(255, 255, 255, 0.85)",whiteFixedText:"#242424",outlineBrandBackground:"#FFFFFF",outlineBrandBackgroundHover:"rgba(101, 83, 245, 0.08)",outlineBrandText:"#6553F5",outlineBrandBorder:"#6553F5",outlineBrandBorderHover:"#3821F2",systemBackground:"#EAE9F1",systemBackgroundHover:"#DFDEEA",systemText:"#464167",successBackground:"#E1F7E6",successBackgroundHover:"#BBEDC6",successText:"#299E47",warningBackground:"#FFF1D9",warningBackgroundHover:"#FFDFA8",warningText:"#E59000",criticalBackground:"#FFE2E0",criticalBackgroundHover:"#FFD7D4",criticalText:"#FF3B30",neutralBackground:"rgba(36, 36, 36, 0.50)",neutralBackgroundHover:"rgba(36, 36, 36, 0.70)",neutralText:"#FFFFFF",flatBrandTextHover:"#3821F2",flatSystemTextHover:"#6C659A"},interactiveControls:{accent:"#F0EFF3",secondary:"#FFFFFF",supportive:"#E8E8ED",brand:"#6553F5",brandAlpha:"#4A35F3",accentDark:"#19181B"},other:{orange:"#FFAD30",green:"#A0DD1E",olive:"#DBDE43",violet:"#6E59EF",red:"#EB343F",red2:"#FF4747",pink:"#F969FC",turquoise:"#2ED0C7",blue:"#72E3E3",mediumBlue:"#58C9E2",darkBlue:"#28C6E9",lightBlue:"#4285F4",navyBlue:"#11408E",lightBlueTint:"rgba(66, 133, 244, 0.10)",gray:"rgba(36, 36, 36, 0.50)",orangeTint:"#FFF9EF",greenTint:"#F8FDED",oliveTint:"#FCFDF0",violetTint:"#F4F2FE",redTint:"#FEEFF0",pinkTint:"#FFF3FF",turquoiseTint:"#EFFCFB",darkBlueTint:"#EEF8FB",black:"#111011"},shadow:{basicDefault:"0px 14px 20px -4px rgba(87, 87, 87, 0.10)",basicHover:"0px 12px 28px -3px rgba(87, 87, 87, 0.20)",basicDrag:"0px 12px 32px -3px rgba(87, 87, 87, 0.32)",overlay:"0px 16px 40px -3px rgba(58, 57, 60, 0.28)",dropdown:"0px 4px 8px 0px rgba(0, 0, 0, 0.04), 0px 0px 4px 0px rgba(0, 0, 0, 0.06)",modal:"0px 14px 30px -4px rgba(0, 0, 0, 0.2)",dragItem:"0px 4px 12px rgba(0, 0, 0, 0.15)"},statesBackground:{tabsHover:"#F6F6F6",tabsActive:"#383838",tabsActiveHover:"#242424",accentHover:"#7665FF",accentActive:"#5D48F5",field:"rgba(0, 0, 0, 0.06)",secondaryAlphaActive:"#DCDCDC",secondaryAlphaHover:"#E7E7E7",listHover:"#F6F6F6",notificationHover:"#F6F6F6",notificationHoverError:"#F6F6F6",sideBarActive:"#111011",sideBarOpen:"#E1E0EB"},gradient:{gradient_1:"linear-gradient(90deg, #f4f4f9 0%, rgba(244, 244, 249, 0) 100%)",gradient_2:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(244, 244, 249, 0) 0%, #f4f4f9 100%)",gradient_4:"linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%)",top:"linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.95) 52.08%, rgba(255, 255, 255, 0.00) 100%)",bottom:"linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.95) 53.12%, #FFF 100%)"},club:{primary:"#3C3993",primaryHover:"#5853E3",secondary:"#4833F4",secondaryHover:"#200DB8",buttonBackground:"#E7E7F2",buttonBackgroundHover:"#CAC9E1",green:"#29B279",primaryActive:"#2B2979",primaryGradient:"linear-gradient(54.06deg, #162331 10.84%, #3C3993 98.2%)",secondaryGradient:"linear-gradient(90.24deg, #B92A78 0%, #6699FB 99.58%)"},nav:{search:"#1E1E1E",chipsSearch:"#171718",divider:"#1B1B1C",tabs:"#252527"}},dark:{background:{primary:"#181818",content:"#202020",secondary:"#2B2B2B",secondaryAlpha:"#333333",field:"#2B2B2B",fieldSecondary:"#323232",accent:"#9B8EFF",accentSecondaryTint:"#2B293A",positiveTint:"#384436",warningTint:"#453B2B",negativeTint:"#362D2A",info:"#20213B",bottomActions:"rgba(24, 24, 24, 0.85)",overlay:"rgba(0, 0, 0, 0.60)"},text:{primary:"#FFFFFF",secondary:"#BABAC6",tertiary:"#73738C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warning:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},icons:{primary:"#D9D9D9",secondary:"#BABAC6",tertiary:"#3E3E4C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",contrastThemRev:"#454545",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warring:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},stroke:{primary:"#3E3E4C",secondary:"#7D7D95",tertiary:"#454554",contrast:"#535365",accent:"#9B8EFF",positive:"#30D158",warning:"#F49B06",negative:"#FF453A",info:"#3B42EA",tooltip:"#535365"},interactiveButtons:{brandBackground:"#7B61FF",brandBackgroundHover:"#6142FF",brandText:"#FFFFFF",secondaryBrandBackground:"rgba(155, 142, 255, 0.12)",secondaryBrandBackgroundHover:"rgba(155, 142, 255, 0.22)",secondaryBrandText:"#9B8EFF",whiteFixedBackground:"#FFFFFF",whiteFixedBackgroundHover:"rgba(255, 255, 255, 0.85)",whiteFixedText:"#242424",outlineBrandBackground:"#202020",outlineBrandBackgroundHover:"rgba(155, 142, 255, 0.1)",outlineBrandText:"#9B8EFF",outlineBrandBorder:"#9B8EFF",outlineBrandBorderHover:"#9B8EFF",systemBackground:"#2E2E38",systemBackgroundHover:"#3A3A48",systemText:"#CCCADD",successBackground:"#223B28",successBackgroundHover:"#2B4A32",successText:"#2CAA4C",warningBackground:"#40321C",warningBackgroundHover:"#634E2B",warningText:"#F99E06",criticalBackground:"#412621",criticalBackgroundHover:"#38211D",criticalText:"#FF5A42",neutralBackground:"rgba(255, 255, 255, 0.50)",neutralBackgroundHover:"rgba(255, 255, 255, 0.70)",neutralText:"#FFFFFF",flatBrandTextHover:"#9B8EFF",flatSystemTextHover:"#777399"},interactiveControls:{accent:"#39383C",secondary:"#242424",supportive:"#2F2F37",brand:"#7B61FF",brandAlpha:"#6142FF",accentDark:"#FFFFFF"},other:{orange:"#E79D2D",green:"#91C81C",olive:"#C1C339",violet:"#6E59EF",red:"#E8343F",red2:"#F02D3A",pink:"#E05DE2",turquoise:"#229E97",blue:"#61C5C5",mediumBlue:"#51BBD2",darkBlue:"#21AFCE",lightBlue:"#317AF2",navyBlue:"#C9DEFF",lightBlueTint:"rgba(49, 122, 242, 0.04)",gray:"rgba(48, 48, 48, 0.50)",orangeTint:"rgba(255, 173, 48, 0.04)",greenTint:"rgba(160, 221, 30, 0.04)",oliveTint:"rgba(219, 222, 67, 0.04)",violetTint:"rgba(110, 89, 239, 0.04)",redTint:"rgba(235, 52, 63, 0.04)",pinkTint:"rgba(249, 105, 252, 0.04)",turquoiseTint:"rgba(46, 208, 199, 0.04)",darkBlueTint:"rgba(33, 175, 206, 0.04)",black:"#242325"},shadow:{basicDefault:null,basicHover:null,basicDrag:null,overlay:null,dropdown:null,modal:null,dragItem:null},statesBackground:{tabsHover:"#383838",tabsActive:"#FFFFFF",tabsActiveHover:"#F6F6F6",accentHover:"#614DF5",accentActive:"#9284FF",field:"rgba(255, 255, 255, 0.06)",secondaryAlphaActive:"#505050",secondaryAlphaHover:"#404040",listHover:"#303030",notificationHover:"#303030",notificationHoverError:"#303030",sideBarActive:"#333036",sideBarOpen:"#333036"},gradient:{gradient_1:"linear-gradient(90deg, #181818 0%, rgba(24, 24, 24, 0.00) 100%)",gradient_2:"linear-gradient(90deg, #2B2B2B 0%, rgba(43, 43, 43, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 0%, #181818 100%)",gradient_4:"linear-gradient(90deg, rgba(43, 43, 43, 0.00) 0%, #2B2B2B 100%)",top:"linear-gradient(180deg, #2B2B2B 0%, rgba(43, 43, 43, 0.95) 53.65%, rgba(43, 43, 43, 0.00) 100%)",bottom:" linear-gradient(180deg, rgba(43, 43, 43, 0.00) 0%, rgba(43, 43, 43, 0.95) 52.08%, #2B2B2B 100%)"},club:{primary:"#5854C6",primaryHover:"#7672F6",secondary:"#8C7CFF",secondaryHover:"#614FED",buttonBackground:"#282837",buttonBackgroundHover:"#2E2C60",green:"#2FCA89",primaryActive:"#3C3180",primaryGradient:"linear-gradient(54.11deg, #2C2562 6.32%, #4641BF 116.13%)",secondaryGradient:"linear-gradient(90.24deg, #CE2680 0%, #4080FD 99.58%)"},nav:{search:"#1E1E1E",chipsSearch:"#171718",divider:"#2B2B2D",tabs:"#323235"}}},Qs={idv:"linear-gradient(95.09deg, #6553f5 14.05%, #ee2cff 108.18%)",idvShort:"linear-gradient(95deg, #6553f5 14.05%, #ee2cff 108.18%)"},Lt=h.css`
|
|
369
369
|
&::-webkit-scrollbar {
|
|
370
370
|
width: 4px;
|
|
371
371
|
height: 4px;
|
|
@@ -701,7 +701,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
701
701
|
Copyright (c) 2018 Jed Watson.
|
|
702
702
|
Licensed under the MIT License (MIT), see
|
|
703
703
|
http://jedwatson.github.io/classnames
|
|
704
|
-
*/var Oc;function hh(){return Oc||(Oc=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=o(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=o(a,l));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(va)),va.exports}var mh=hh();const Te=R6(mh),
|
|
704
|
+
*/var Oc;function hh(){return Oc||(Oc=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=o(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=o(a,l));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(va)),va.exports}var mh=hh();const Te=R6(mh),zt=({type:e="button",text:t,style:n,onClick:r,className:o,iconLeft:i,iconRight:a,disabled:l})=>{const{mode:c}=ne();return s.jsx(h.ThemeProvider,{theme:U[c],children:s.jsxs(uh,{type:e,style:n,className:Te("text-button",o),disabled:l,onClick:r,children:[i?s.jsx(ph,{children:i}):null,s.jsx(B,{variant:"text-Medium",tag:"span",children:t}),a?s.jsx(fh,{children:a}):null]})})},gh=e=>{const[t,n]=m.useState(!1);return m.useEffect(()=>{if(!e)return;const r=document.getElementById(N0);if(!r)return;const o=r.children[r.children.length-1];if(!o)return;const i=Array.from(o.children).filter(l=>l instanceof HTMLDivElement),a=i[i.length-1];return n(!0),a.style.display="none",()=>{a&&(a.style.display="flex")}},[]),{isExistStack:t}},N0="react-modals",Xt=e=>{const{animation:t,showModal:n,content:r,handleClose:o}=rl({isOpen:e.open,children:e.children,onClose:e.onClose});return n?s.jsx(vh,{...e,onClose:o,animation:t,children:r}):null},vh=({onClose:e,children:t,title:n,subtitle:r,showCloseButton:o=!0,styleContent:i,styleContentInside:a,classNameWrapper:l,styleBackground:c,styleWrapper:u,classNameBackground:p,classNameContent:f,className:g,classNameHeader:v,animation:C,disableClosing:x=!1,titlePosition:b="left",isOverflowAuto:y=!1,rightContent:k,bottomContent:w,adaptiveRightContent:L,maxWidth:E,containerId:$=N0,withStack:M=!0,mobileLeftButtonText:_,onMobileLeftButton:D,mobileRightButtonText:P,onMobileRightButton:N,mobileCloseVisible:F})=>{const V=()=>{x||T()},T=()=>{e&&e()};nl(V);const{isExistStack:H}=gh(M),{mode:I}=ne();return s.jsx(qo,{id:$,children:s.jsx(h.ThemeProvider,{theme:U[I],children:s.jsxs(Xf,{role:"dialog","aria-modal":"true","aria-labelledby":n?"modal-title":void 0,className:Te(l,"modal-wrapper",g),$open:C,style:u,$isOverflowAuto:y,children:[!H&&s.jsx(Jf,{className:p,onClick:V,style:c}),s.jsx(Uf,{children:s.jsxs(Qf,{$isOverflowAuto:y,$maxWidth:E,$open:C,$showCloseButton:o,className:Te(f,"modal-content"),style:i,children:[o&&s.jsx(sh,{onClick:T,"aria-label":"Закрыть",children:s.jsx(V0,{className:"modal-closeBtn"})}),s.jsxs(Kf,{$isOverflowAuto:y,style:a,className:"modal-contentInside",children:[(_||P||F)&&s.jsxs(oh,{children:[!!_&&s.jsx(zt,{text:_,style:{color:"#F84708"},onClick:D}),!!n&&s.jsx(ih,{children:n}),!!P&&s.jsx(zt,{text:P,onClick:N}),F&&s.jsx(ah,{onClick:T,children:s.jsx(ol,{className:"modal-mobile-closeBtn"})})]}),!!n&&s.jsxs(qf,{$hideMobile:!!(_||P||F),className:Te(v,"modal-header"),children:[s.jsxs(eh,{$adaptiveRightContent:L,children:[s.jsx(th,{$titlePosition:b,tag:"h5",variant:"header5-Bold",children:s.jsx("span",{id:"modal-title",children:n})}),k||null]}),!!r&&s.jsx(nh,{tag:"span",variant:"text-Regular",children:r})]}),t]}),w&&s.jsx(rh,{className:"modal-bottomContent",children:w})]})})]})})})},Ch=h.styled.div`
|
|
705
705
|
display: flex;
|
|
706
706
|
font-family: 'Manrope', sans-serif;
|
|
707
707
|
max-width: 900px;
|
|
@@ -996,7 +996,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
996
996
|
margin: 0;
|
|
997
997
|
}
|
|
998
998
|
${Lt}
|
|
999
|
-
`,Yh=h.styled(
|
|
999
|
+
`,Yh=h.styled(Xt)`
|
|
1000
1000
|
& .modal-header {
|
|
1001
1001
|
margin-bottom: 16px;
|
|
1002
1002
|
}
|
|
@@ -1145,7 +1145,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
1145
1145
|
:hover {
|
|
1146
1146
|
opacity: 0.8;
|
|
1147
1147
|
}
|
|
1148
|
-
`,Uh=e=>d.createElement("svg",{width:16,height:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",style:{fill:"currentcolor",marginBottom:0,flexShrink:0},...e},d.createElement("path",{d:"M4.146 4.146a.5.5 0 0 1 .708 0L10 9.293l5.146-5.147a.5.5 0 1 1 .707.708L10.707 10l5.146 5.146a.5.5 0 1 1-.707.707L10 10.707l-5.146 5.146a.5.5 0 1 1-.708-.707L9.293 10 4.146 4.854a.5.5 0 0 1 0-.708Z"})),Qh=typeof window<"u"?m.useLayoutEffect:m.useEffect,Q0=({videoLink:e,startTime:t,timing:n})=>{const[r,o]=m.useState(e),[i,a]=m.useState(!0);return m.useEffect(()=>{if(e){if(e?.includes("embed")){o(e);return}if(e?.includes("kinescope.io")){const l=e.split("/"),[c]=[l.pop()],u=`https://kinescope.io/embed/${c}${n||""}`;o(u);return}if(e?.includes("youtube.com")){const l=/=(\w*)/,u=`https://www.youtube.com/embed/${e.match(l)?e.match(l)[1]:null}?start=${t}`;o(u);return}if(e?.includes("youtu.be")){const c=`https://www.youtube.com/embed/${e.split("/")[3]}?start=${t}`;o(c);return}a(!1)}},[e]),{link:r,isIframe:i}};function Kh({placement:e="bottom",isHover:t=!1}){const[n,r]=m.useState(!1),[o,i]=m.useState(),[a,l]=m.useState(),c=m.useRef(null),u=Go({placement:e,open:n,onOpenChange:r,whileElementsMounted:nr,middleware:[zs({element:c}),No(10),Wo({crossAxis:e.includes("-"),fallbackAxisSideDirection:"end",padding:5}),Oo({padding:10})]});m.useEffect(()=>{if(u.middlewareData.arrow&&u.middlewareData.shift&&c.current){const{x:b,y}=u.middlewareData.arrow,k=p?.placement.split("-")[0],w={};(k==="top"||k==="bottom")&&(w.left=`${b-u.middlewareData.shift.x}px`,k==="top"?w.bottom="0px":w.top="-13px"),(k==="left"||k==="right")&&(w.top=`${y-u.middlewareData.shift.y}px`,k==="left"?w.right="0px":w.left="-13px"),Object.assign(c.current.style,w)}},[u]);const p=u.context,f=Js(p,{enabled:t,move:!1,delay:{open:300,close:0}}),g=Yo(p,{enabled:!t}),v=zo(p),C=Jo(p),x=Xo([v,C,g,f]);return m.useMemo(()=>({arrowRef:c,open:n,setOpen:r,...x,...u,labelId:o,descriptionId:a,setLabelId:i,setDescriptionId:l}),[n,r,x,u,o,a,c])}const al=m.createContext(null),qh=({content:e,...t})=>{const n=Kh({...t}),{mode:r}=ne();return s.jsx(h.ThemeProvider,{theme:U[r],children:s.jsx(al.Provider,{value:n,children:s.jsxs("div",{onClick:o=>{o.stopPropagation()},children:[s.jsx(em,{isText:t.isText,targetElement:t.targetElement,targetClass:t.targetClass}),s.jsx(tm,{content:e})]})})})},em=({isText:e,targetElement:t,targetClass:n})=>{const r=m.useContext(al),o=gn([r.refs.setReference]),{locale:i}=ie();return t&&m.isValidElement(t)?m.cloneElement(t,r.getReferenceProps({ref:o,...t.props,"data-state":r.open?"open":"closed"})):s.jsx(W0,{className:n,ref:o,type:"button","data-state":r.open?"open":"closed",...r.getReferenceProps(),children:e?s.jsxs(s.Fragment,{children:[s.jsx(Xh,{children:s.jsx(B,{variant:"caption2-SemiBold",tag:"span",children:Me[i].how_it_works})}),s.jsx(Jh,{})]}):s.jsx(U0,{})})},tm=({content:e})=>{const[t,n]=m.useState(!1),{context:r,setLabelId:o,setDescriptionId:i,...a}=m.useContext(al),l=gn([a.refs.setFloating]),c=rr(),u=rr(),[p,f,g,v]=e??[],{mode:C}=ne(),{locale:x}=ie(),{link:b}=Q0({videoLink:v}),y=at(it.down(le));Qh(()=>(o(c),i(u),()=>{o(void 0),i(void 0)}),[c,u,o,i]);const k=()=>{n(!1)},w={padding:"0px",background:"transparent",maxWidth:"700px",maxHeight:y?"400px":"540px",width:"100%",height:"100%"},{styles:L}=Uo(r,{duration:{open:100,close:100},initial:{opacity:0,transform:"scale(0.8)"}});return r.open?s.jsx(Zo,{children:s.jsx(Us,{context:r,modal:!1,children:s.jsxs("div",{ref:l,style:{zIndex:Bt.zIndex8,...a.floatingStyles,outline:"none"},"aria-labelledby":a.labelId,"aria-describedby":a.descriptionId,...a.getFloatingProps(),children:[s.jsx("div",{style:L,children:s.jsxs(Wh,{mode:C,children:[s.jsx(Gs,{ref:a.arrowRef,context:r,tipRadius:2,stroke:C==="light"?"#f0f0f0":U[C].stroke.contrast,strokeWidth:1,fill:U[C].background.field}),s.jsxs(Zh,{children:[s.jsx(Gh,{role:"button",onClick:()=>a.setOpen(!1),children:s.jsx(Uh,{})}),s.jsx(Z0,{id:c,dangerouslySetInnerHTML:{__html:p||""}}),!!v&&s.jsx(G0,{onClick:()=>n(!0),children:s.jsx("img",{width:280,height:140,src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/suggestion-video-preview.png",alt:"video-preview"})}),s.jsx(z0,{id:u,dangerouslySetInnerHTML:{__html:f||""}}),g&&s.jsx(Y0,{href:g,target:"_blank",rel:"noreferrer",children:Me[x].read_more})]})]})}),s.jsx(
|
|
1148
|
+
`,Uh=e=>d.createElement("svg",{width:16,height:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",style:{fill:"currentcolor",marginBottom:0,flexShrink:0},...e},d.createElement("path",{d:"M4.146 4.146a.5.5 0 0 1 .708 0L10 9.293l5.146-5.147a.5.5 0 1 1 .707.708L10.707 10l5.146 5.146a.5.5 0 1 1-.707.707L10 10.707l-5.146 5.146a.5.5 0 1 1-.708-.707L9.293 10 4.146 4.854a.5.5 0 0 1 0-.708Z"})),Qh=typeof window<"u"?m.useLayoutEffect:m.useEffect,Q0=({videoLink:e,startTime:t,timing:n})=>{const[r,o]=m.useState(e),[i,a]=m.useState(!0);return m.useEffect(()=>{if(e){if(e?.includes("embed")){o(e);return}if(e?.includes("kinescope.io")){const l=e.split("/"),[c]=[l.pop()],u=`https://kinescope.io/embed/${c}${n||""}`;o(u);return}if(e?.includes("youtube.com")){const l=/=(\w*)/,u=`https://www.youtube.com/embed/${e.match(l)?e.match(l)[1]:null}?start=${t}`;o(u);return}if(e?.includes("youtu.be")){const c=`https://www.youtube.com/embed/${e.split("/")[3]}?start=${t}`;o(c);return}a(!1)}},[e]),{link:r,isIframe:i}};function Kh({placement:e="bottom",isHover:t=!1}){const[n,r]=m.useState(!1),[o,i]=m.useState(),[a,l]=m.useState(),c=m.useRef(null),u=Go({placement:e,open:n,onOpenChange:r,whileElementsMounted:nr,middleware:[zs({element:c}),No(10),Wo({crossAxis:e.includes("-"),fallbackAxisSideDirection:"end",padding:5}),Oo({padding:10})]});m.useEffect(()=>{if(u.middlewareData.arrow&&u.middlewareData.shift&&c.current){const{x:b,y}=u.middlewareData.arrow,k=p?.placement.split("-")[0],w={};(k==="top"||k==="bottom")&&(w.left=`${b-u.middlewareData.shift.x}px`,k==="top"?w.bottom="0px":w.top="-13px"),(k==="left"||k==="right")&&(w.top=`${y-u.middlewareData.shift.y}px`,k==="left"?w.right="0px":w.left="-13px"),Object.assign(c.current.style,w)}},[u]);const p=u.context,f=Js(p,{enabled:t,move:!1,delay:{open:300,close:0}}),g=Yo(p,{enabled:!t}),v=zo(p),C=Jo(p),x=Xo([v,C,g,f]);return m.useMemo(()=>({arrowRef:c,open:n,setOpen:r,...x,...u,labelId:o,descriptionId:a,setLabelId:i,setDescriptionId:l}),[n,r,x,u,o,a,c])}const al=m.createContext(null),qh=({content:e,...t})=>{const n=Kh({...t}),{mode:r}=ne();return s.jsx(h.ThemeProvider,{theme:U[r],children:s.jsx(al.Provider,{value:n,children:s.jsxs("div",{onClick:o=>{o.stopPropagation()},children:[s.jsx(em,{isText:t.isText,targetElement:t.targetElement,targetClass:t.targetClass}),s.jsx(tm,{content:e})]})})})},em=({isText:e,targetElement:t,targetClass:n})=>{const r=m.useContext(al),o=gn([r.refs.setReference]),{locale:i}=ie();return t&&m.isValidElement(t)?m.cloneElement(t,r.getReferenceProps({ref:o,...t.props,"data-state":r.open?"open":"closed"})):s.jsx(W0,{className:n,ref:o,type:"button","data-state":r.open?"open":"closed",...r.getReferenceProps(),children:e?s.jsxs(s.Fragment,{children:[s.jsx(Xh,{children:s.jsx(B,{variant:"caption2-SemiBold",tag:"span",children:Me[i].how_it_works})}),s.jsx(Jh,{})]}):s.jsx(U0,{})})},tm=({content:e})=>{const[t,n]=m.useState(!1),{context:r,setLabelId:o,setDescriptionId:i,...a}=m.useContext(al),l=gn([a.refs.setFloating]),c=rr(),u=rr(),[p,f,g,v]=e??[],{mode:C}=ne(),{locale:x}=ie(),{link:b}=Q0({videoLink:v}),y=at(it.down(le));Qh(()=>(o(c),i(u),()=>{o(void 0),i(void 0)}),[c,u,o,i]);const k=()=>{n(!1)},w={padding:"0px",background:"transparent",maxWidth:"700px",maxHeight:y?"400px":"540px",width:"100%",height:"100%"},{styles:L}=Uo(r,{duration:{open:100,close:100},initial:{opacity:0,transform:"scale(0.8)"}});return r.open?s.jsx(Zo,{children:s.jsx(Us,{context:r,modal:!1,children:s.jsxs("div",{ref:l,style:{zIndex:Bt.zIndex8,...a.floatingStyles,outline:"none"},"aria-labelledby":a.labelId,"aria-describedby":a.descriptionId,...a.getFloatingProps(),children:[s.jsx("div",{style:L,children:s.jsxs(Wh,{mode:C,children:[s.jsx(Gs,{ref:a.arrowRef,context:r,tipRadius:2,stroke:C==="light"?"#f0f0f0":U[C].stroke.contrast,strokeWidth:1,fill:U[C].background.field}),s.jsxs(Zh,{children:[s.jsx(Gh,{role:"button",onClick:()=>a.setOpen(!1),children:s.jsx(Uh,{})}),s.jsx(Z0,{id:c,dangerouslySetInnerHTML:{__html:p||""}}),!!v&&s.jsx(G0,{onClick:()=>n(!0),children:s.jsx("img",{width:280,height:140,src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/suggestion-video-preview.png",alt:"video-preview"})}),s.jsx(z0,{id:u,dangerouslySetInnerHTML:{__html:f||""}}),g&&s.jsx(Y0,{href:g,target:"_blank",rel:"noreferrer",children:Me[x].read_more})]})]})}),s.jsx(Xt,{open:t,styleContent:w,styleContentInside:{margin:"0px",padding:"0px"},styleWrapper:{zIndex:3e5},onClose:k,children:s.jsx(X0,{children:s.jsx(J0,{src:b,allowFullScreen:!0})})})]})})}):null},nm=e=>{const{targetClass:t,targetElement:n,content:r}=e,[o,i]=m.useState(!1);return s.jsxs(s.Fragment,{children:[s.jsx(rm,{targetClass:t,targetElement:n,setIsOpen:i}),s.jsx(om,{content:r,isOpen:o,setIsOpen:i})]})},rm=({targetElement:e,targetClass:t,setIsOpen:n})=>e&&m.isValidElement(e)?m.cloneElement(e,{onClick:()=>n(!0)}):s.jsx(W0,{className:t,onClick:()=>n(!0),children:s.jsx(U0,{})}),om=({content:e,isOpen:t,setIsOpen:n})=>{const[r,o]=m.useState(!1),[i,a,l,c]=e??[],{locale:u}=ie(),{link:p}=Q0({videoLink:c}),f=()=>{o(!1)},g={padding:"0px",background:"transparent"};return s.jsxs(s.Fragment,{children:[s.jsx(Yh,{open:t,onClose:()=>n(!1),children:s.jsxs(zh,{children:[s.jsx(Z0,{dangerouslySetInnerHTML:{__html:i||""}}),!!c&&s.jsx(G0,{onClick:()=>o(!0),children:s.jsx("img",{width:280,height:140,src:"https://storage.yandexcloud.net/public-files.profinansy.ru/images/suggestion-video-preview.png",alt:"video-preview"})}),s.jsx(z0,{dangerouslySetInnerHTML:{__html:a||""}}),l&&s.jsx(Y0,{href:l,target:"_blank",rel:"noreferrer",children:Me[u].read_more})]})}),s.jsx(Xt,{open:r,styleContent:g,styleContentInside:{padding:"0px"},onClose:f,children:s.jsx(X0,{children:s.jsx(J0,{src:p,allowFullScreen:!0})})})]})},ur=e=>{const{mode:t}=ne(),n=at(it.down(le));return s.jsx(h.ThemeProvider,{theme:U[t],children:n?s.jsx(nm,{...e}):s.jsx(qh,{...e})})},im=h.styled.div`
|
|
1149
1149
|
width: 100%;
|
|
1150
1150
|
margin-bottom: ${e=>e.$marginBottom}px;
|
|
1151
1151
|
`,am=h.styled.label`
|
|
@@ -1501,7 +1501,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
1501
1501
|
font-size: 15px;
|
|
1502
1502
|
padding-bottom: 16px;
|
|
1503
1503
|
}
|
|
1504
|
-
`,ru=e=>d.createElement("svg",{width:54,height:39,viewBox:"0 0 54 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M2.79834 20.199L18.1983 35.599L51.1983 2.599",stroke:"white",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"})),Tm=({setIsOpen:e})=>(m.useEffect(()=>{const t=setTimeout(()=>{e(null)},3500);return()=>{clearTimeout(t)}},[]),s.jsxs(s.Fragment,{children:[s.jsx(Am,{children:s.jsx(ru,{})}),s.jsx(jm,{children:"Спасибо за обратную связь!"}),s.jsx(Rm,{children:"Ваше мнение имеет для нас огромное значение, и мы обязательно учтем все ваши замечания ❤️"})]})),Fm=({step:e,name:t,setIsOpen:n,description:r,setStep:o,imagePlug:i,imagePlugMob:a})=>{const[l,c]=m.useState(null),{user:{token:u},hostnames:{hostname:p}}=ue();return m.useEffect(()=>{(async()=>{try{const g=await _m({token:u,baseUrl:p},"premium");g.ok&&c(g.data)}catch{}})()},[]),s.jsxs(s.Fragment,{children:[e===1&&s.jsx(Ph,{name:t,setStep:o,description:r,onClose:()=>n(null),imagePlug:i,imagePlugMob:a}),e===2&&s.jsx(Sm,{setStep:o,data:l}),e===3&&s.jsx(Tm,{setIsOpen:n})]})},Pm=({isOpen:e,name:t,setIsOpen:n,description:r,imagePlug:o,imagePlugMob:i})=>{const[a,l]=m.useState(1),c=at(it.down(743));m.useEffect(()=>{let p;return!e&&a!==1&&(p=setTimeout(()=>{l(1)},500)),()=>clearTimeout(p)},[e]);const u=m.useMemo(()=>a===1?{styleWrapper:{display:c?"flex":"block"},styleContent:{padding:0,borderRadius:"40px",...c?{maxHeight:`calc(100dvh - ${wn}px)`,height:"100%",borderRadius:"0px",margin:0,marginTop:"auto"}:null},styleContentInside:{padding:0,margin:0,borderRadius:c?"0":"40px"}}:{styleContent:{width:"100%"}},[a]);return s.jsx(
|
|
1504
|
+
`,ru=e=>d.createElement("svg",{width:54,height:39,viewBox:"0 0 54 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M2.79834 20.199L18.1983 35.599L51.1983 2.599",stroke:"white",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"})),Tm=({setIsOpen:e})=>(m.useEffect(()=>{const t=setTimeout(()=>{e(null)},3500);return()=>{clearTimeout(t)}},[]),s.jsxs(s.Fragment,{children:[s.jsx(Am,{children:s.jsx(ru,{})}),s.jsx(jm,{children:"Спасибо за обратную связь!"}),s.jsx(Rm,{children:"Ваше мнение имеет для нас огромное значение, и мы обязательно учтем все ваши замечания ❤️"})]})),Fm=({step:e,name:t,setIsOpen:n,description:r,setStep:o,imagePlug:i,imagePlugMob:a})=>{const[l,c]=m.useState(null),{user:{token:u},hostnames:{hostname:p}}=ue();return m.useEffect(()=>{(async()=>{try{const g=await _m({token:u,baseUrl:p},"premium");g.ok&&c(g.data)}catch{}})()},[]),s.jsxs(s.Fragment,{children:[e===1&&s.jsx(Ph,{name:t,setStep:o,description:r,onClose:()=>n(null),imagePlug:i,imagePlugMob:a}),e===2&&s.jsx(Sm,{setStep:o,data:l}),e===3&&s.jsx(Tm,{setIsOpen:n})]})},Pm=({isOpen:e,name:t,setIsOpen:n,description:r,imagePlug:o,imagePlugMob:i})=>{const[a,l]=m.useState(1),c=at(it.down(743));m.useEffect(()=>{let p;return!e&&a!==1&&(p=setTimeout(()=>{l(1)},500)),()=>clearTimeout(p)},[e]);const u=m.useMemo(()=>a===1?{styleWrapper:{display:c?"flex":"block"},styleContent:{padding:0,borderRadius:"40px",...c?{maxHeight:`calc(100dvh - ${wn}px)`,height:"100%",borderRadius:"0px",margin:0,marginTop:"auto"}:null},styleContentInside:{padding:0,margin:0,borderRadius:c?"0":"40px"}}:{styleContent:{width:"100%"}},[a]);return s.jsx(Xt,{open:e,onClose:a===1?null:()=>n(null),maxWidth:a===1?"900px":"708px",showCloseButton:a!==1,styleBackground:{backdropFilter:c?"none":"blur(6px)",background:"rgba(0, 0, 0, 0.60)"},...u,children:s.jsx(Fm,{setIsOpen:n,name:t,description:r,step:a,setStep:l,imagePlug:o,imagePlugMob:i})})},cl=()=>{const[e,t]=m.useState(null),{userRole:n}=ue(),o=n==="authorized"||n==="standard"?s.jsx(Pm,{isOpen:!!e,name:e?.name||"",description:e?.description||"",imagePlug:e?.imagePlug||"",imagePlugMob:e?.imagePlugMob||"",setIsOpen:t}):null;return{setShowQuiz:t,QuizModal:o}},dl=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.66667 12.3333C10.244 12.3333 12.3333 10.244 12.3333 7.66667C12.3333 5.08934 10.244 3 7.66667 3C5.08934 3 3 5.08934 3 7.66667C3 10.244 5.08934 12.3333 7.66667 12.3333ZM7.66667 13.3333C10.7963 13.3333 13.3333 10.7963 13.3333 7.66667C13.3333 4.53705 10.7963 2 7.66667 2C4.53705 2 2 4.53705 2 7.66667C2 10.7963 4.53705 13.3333 7.66667 13.3333Z",fill:"#817F95"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6464 12.3132C11.8417 12.1179 12.1583 12.1179 12.3536 12.3132L13.6869 13.6465C13.8821 13.8418 13.8821 14.1584 13.6869 14.3536C13.4916 14.5489 13.175 14.5489 12.9798 14.3536L11.6464 13.0203C11.4512 12.825 11.4512 12.5085 11.6464 12.3132Z",fill:"#817F95"})),Bm=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L13.0202 12.3131C13.2155 12.5084 13.2155 12.825 13.0202 13.0202C12.825 13.2155 12.5084 13.2155 12.3131 13.0202L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z",fill:"#898989"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.64645 13.0196C3.45118 12.8243 3.45118 12.5077 3.64645 12.3125L12.3131 3.6458C12.5084 3.45053 12.825 3.45053 13.0202 3.6458C13.2155 3.84106 13.2155 4.15764 13.0202 4.3529L4.35355 13.0196C4.15829 13.2148 3.84171 13.2148 3.64645 13.0196Z",fill:"#898989"})),Hm=h.styled.div`
|
|
1505
1505
|
display: flex;
|
|
1506
1506
|
align-items: center;
|
|
1507
1507
|
justify-content: center;
|
|
@@ -1693,7 +1693,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
1693
1693
|
${Lt}
|
|
1694
1694
|
`,ig=h.styled(fl)`
|
|
1695
1695
|
margin: 20px auto 0 auto;
|
|
1696
|
-
`,ag=e=>{const[t,n]=m.useState(null),[r,o]=m.useState(null),{locale:i}=ie(),a=m.useMemo(()=>{if(e){const f=e.categories.reduce((g,v)=>{let C=0;return v.subcategories.forEach(x=>{C+=x.total}),C&&g.push({value:v.categoryKey,label:i===
|
|
1696
|
+
`,ag=e=>{const[t,n]=m.useState(null),[r,o]=m.useState(null),{locale:i}=ie(),a=m.useMemo(()=>{if(e){const f=e.categories.reduce((g,v)=>{let C=0;return v.subcategories.forEach(x=>{C+=x.total}),C&&g.push({value:v.categoryKey,label:i===Zt.ru?v.nameRu:v.nameEn,dataCount:C}),g},[]);return f.length?f:null}return null},[e]),l=m.useMemo(()=>e&&t?e.categories.find(f=>f.categoryKey===t):null,[t,e]),c=m.useMemo(()=>l&&r?l.subcategories.find(f=>f.subcategoryKey===r):null,[l,r,e]),u=m.useMemo(()=>{if(l){const f=l.subcategories.reduce((g,v)=>(v.total&&g.push({value:v.subcategoryKey,label:i===Zt.ru?v.nameRu:v.nameEn,dataCount:v.total}),g),[]);return f.length?f:null}return null},[l,e]),p=m.useMemo(()=>c?.children||[],[c,l,e]);return m.useEffect(()=>{a&&a.length&&(t&&a.find(g=>g.value===t)||n(a[0].value))},[a]),m.useEffect(()=>{if(u&&u.length){const f=u[0];o(f.value)}},[u,l]),{listItems:p,tabs:a,selectedTab:t,bubbles:u,selectedBubble:r,setSelectedBubble:o,setSelectedTab:n}},sg=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.922 11.872L9.9259 11.8681C10.1173 11.6768 10.1173 11.3621 9.9259 11.1707L7.02812 8.27296C6.87727 8.12212 6.87727 7.87675 7.02812 7.72591L9.9259 4.82813C10.1173 4.63676 10.1173 4.32212 9.9259 4.13074C9.73453 3.93937 9.41989 3.93937 9.22852 4.13074L6.33074 7.02852C5.79714 7.56212 5.79714 8.43676 6.33074 8.97035L9.22852 11.8681C9.32677 11.9664 9.45262 12.0128 9.57721 12.0128C9.7065 12.0128 9.82902 11.9588 9.922 11.872Z",fill:"#A2A1A7"})),lg=e=>d.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.6818 10.388L8.68521 10.3846C8.85266 10.2172 8.85266 9.94187 8.68521 9.77442L6.14965 7.23886C6.01766 7.10687 6.01766 6.89218 6.14965 6.76019L8.68521 4.22463C8.85266 4.05718 8.85266 3.78187 8.68521 3.61442C8.51776 3.44697 8.24245 3.44697 8.075 3.61442L5.53944 6.14997C5.07255 6.61687 5.07255 7.38218 5.53944 7.84908L8.075 10.3846C8.16097 10.4706 8.27109 10.5112 8.3801 10.5112C8.49324 10.5112 8.60044 10.464 8.6818 10.388Z",fill:"#A2A1A7"})),cg={L:{size:`
|
|
1697
1697
|
width: 36px;
|
|
1698
1698
|
min-width: 36px;
|
|
1699
1699
|
height: 36px;
|
|
@@ -2098,7 +2098,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
2098
2098
|
& > h5 {
|
|
2099
2099
|
color: ${e=>e.theme.text.primary};
|
|
2100
2100
|
}
|
|
2101
|
-
`,zg=h.styled(
|
|
2101
|
+
`,zg=h.styled(zt)`
|
|
2102
2102
|
margin: 12px auto 0 auto;
|
|
2103
2103
|
`,mu=h.styled.div`
|
|
2104
2104
|
display: flex;
|
|
@@ -2275,7 +2275,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
2275
2275
|
min-height: ${e=>e.$logoSize?`${e.$logoSize}px`:"28px"};
|
|
2276
2276
|
border-radius: 50%;
|
|
2277
2277
|
background: ${e=>e.theme.icons.secondary};
|
|
2278
|
-
`;let r1=null;const ti=(e,t)=>{if(!e||!t)return"";r1===null&&uv();const n=/(.+)\/(.+)\.(.+)/,[,r,o,i]=n.exec(e);return r1?`${r}/${o}-${t}W.webp`:`${r}/${o}-${t}.${i}`};function uv(){if(!jr)return!0;const e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){r1=e.toDataURL("image/webp").indexOf("data:image/webp")==0;return}r1=!1}const B1=({ticker:e,logo:t,logoSize:n=28,compressionImage:r})=>{const o=i=>i&&i.includes("https://files.profinansy.ru")?ti(i,r||"_"):i;if(Array.isArray(t)){const i=o(t[0]),a=o(t[1]);return s.jsxs(cv,{$logoSize:n,children:[i?s.jsx(Ca,{loading:"lazy",src:i,$logoSize:n/1.5,alt:"logo"}):null,a?s.jsx(Ca,{loading:"lazy",src:a,$logoSize:n/1.5,alt:"logo"}):null]})}if(t){const i=o(t);return s.jsx(Ca,{loading:"lazy",src:i,$logoSize:n,alt:"logo"})}return s.jsx(dv,{$logoSize:n,children:s.jsx(B,{tag:"span",variant:"tag-Medium9",colorName:"contrastThemed",children:e?e.slice(0,4):""})})},gu=e=>{switch(e){case"USD":return"$";case"JPY":return"¥";case"EUR":return"€";case"RUB":return"₽";case"CHF":return"₣";case"GBP":return"£";case"GBX":return"P£";case"HKD":return"HK$";case"CNY":return"¥";case"TRY":return"₺";case"PCT":return"%";case"шт":return"шт.";default:return""}},pv=(e,t=2)=>e===0||!e?0:Number(e.toFixed(t)),En=(e,t=!1,n=2)=>{if(isNaN(e)||Math.abs(e)===1/0||e===null)return"-";if(Math.abs(e)<1e-6)return"0";const r=t?pv(e,n):e,o=String(r).split(".");let i=Number(o[0]).toLocaleString("ru-RU");return o[1]&&(i+=","+o[1]),i},vu=e=>nt("/search/last","GET",e),fv=e=>nt("/search/last","DELETE",e),hv=e=>nt("/search/top","GET",e),mv=(e,t)=>nt("/search/top","POST",e,t),Qc={ru:{stocks:"Акции",etfs:"ETF",bonds:"Облигации",crypto:"Криптовалюта",metals:"Металлы",index:"Индекс",currency:"Валюта"},en:{stocks:"Stocks",etfs:"ETF",bonds:"Bonds",crypto:"Crypto",metals:"Metals",index:"Index",currency:"Currency"}},gv=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M5.00047 18.24H5C4.30931 18.24 3.75 17.6809 3.75 17V7C3.75 6.31421 4.31421 5.75 5 5.75H18.7252C19.2636 5.75 19.6266 6.30054 19.4145 6.79544L17.5639 11.1137C17.3213 11.6797 17.3213 12.3203 17.5639 12.8863L19.4139 17.2031C19.6261 17.6982 19.2627 18.2489 18.7241 18.2486L5.00047 18.24Z",stroke:"#AAAABA",strokeWidth:1.5})),vv=(e,t)=>{let r=`/user/fav_list?full=${t?.full??"sort"}`;return t?.period&&(r+=`&period=${t.period}`),nt(r,"GET",e)},Cv=(e,t)=>nt("/user/instrument","POST",e,t),xv=(e,t)=>nt("/user/instrument","DELETE",e,t),bv=(e,t)=>nt("/user/fav_list","POST",e,t),yv=(e,t)=>{const n=`/user/instrument?instrument_id=${t.instrument_id}&user_fav_list_id=${t.user_fav_list_id}&sort_num=${t.sort_num}`;return nt(n,"POST",e)},Cu=m.createContext({groups:[],allInstruments:[],selectedGroups:[],instrumentId:null,loader:!1,isLoadingGroups:!1,handleClose:()=>null,handleOpen:()=>null,onCheckboxClick:()=>null,submitNewList:()=>null,refetchGroups:async()=>{},reorderInstrument:async()=>{}}),xu=({children:e,selectedPeriod:t})=>{const[n,r]=m.useState(null),[o,i]=m.useState([]),[a,l]=m.useState([]),[c,u]=m.useState([]),[p,f]=m.useState(!1),[g,v]=m.useState(!1),{user:{token:C}}=ue();m.useEffect(()=>{const M=[];o.forEach(_=>{_.instruments?.includes(n)&&M.push(_.id)}),l(M)},[o,n]);const x=async(M=!0)=>{if(C){M&&v(!0);try{const _=await vv({token:C},t?{period:t||"1d"}:void 0);_.ok&&_.data&&(u([...new Set(_.data.flatMap(D=>D.instruments??[]))]),i(_.data))}finally{M&&v(!1)}}},b=()=>x(!0),y=()=>x(!1);m.useEffect(()=>{b()},[C,t]);const k=async M=>{if(!n)return;const D=o.find(P=>P.id===M)?.instruments?.includes(n);f(!0);try{D?await xv({token:C},{instrument_id:n,user_fav_list_id:M}):await Cv({token:C},{instrument_id:n,user_fav_list_id:M}),await b(),Ke.publish(Ze.refreshFavorite)}finally{f(!1)}},w=async M=>{await bv({token:C},{name:M,sort_num:25e3}),await b()},L=()=>{r(null)},E=M=>{r(M)},$=async M=>{if(!C)return;const _=o;M.newOrder&&i(D=>D.map(P=>P.id===M.user_fav_list_id?{...P,instruments:M.newOrder}:P));try{await yv({token:C},M),Ke.publish(Ze.refreshFavorite)}catch{i(_)}};return s.jsx(Cu.Provider,{value:{loader:p,allInstruments:c,selectedGroups:a,instrumentId:n,groups:o,isLoadingGroups:g,handleClose:L,handleOpen:E,onCheckboxClick:k,submitNewList:w,refetchGroups:y,reorderInstrument:$},children:e})},H1=()=>{const e=m.useContext(Cu);if(!e)throw new Error("useFavorite must be used within a FavoriteProvider");return e},ar=(e="",t="")=>{if(!e)return"";const n=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp(`(${n})`,"gi");return e.replace(r,'<span class="highlight">$1</span>')},bu=({item:e,onClose:t,href:n,isLast:r,isHovered:o,searchText:i="",refItem:a})=>{const{id:l,logo:c,type:u,profit:p,isPositiveChange:f,priceChange:g,currency:v,description:C,price:x,market:b,ticker:y,flag:k}=e,{locale:w}=ie(),{LinkWrapper:L,user:{token:E}}=ue(),{allInstruments:$,handleOpen:M}=H1(),_=async()=>{await mv({token:E},{instrument_id:l}),t&&t()};return s.jsx(Xg,{onClick:_,children:s.jsxs(L,{href:n,ref:a,children:[s.jsxs(mu,{$isHovered:o,children:[s.jsx(Gg,{$isActive:$.includes(l),onClick:D=>{D.stopPropagation(),D.preventDefault(),M(l)},children:s.jsx(gv,{})}),s.jsxs(Ug,{children:[s.jsx(B1,{ticker:y,logo:c}),s.jsxs(Qg,{children:[s.jsxs(ov,{children:[s.jsx(B,{variant:"caption-SemiBold",tag:"span",colorName:"primary",children:s.jsx(Uc,{dangerouslySetInnerHTML:{__html:ar(y,i)}})}),b&&s.jsxs(s.Fragment,{children:[s.jsx(sv,{}),s.jsx(B,{variant:"caption-SemiBold",tag:"span",colorName:"fourth",children:b})]}),k&&s.jsx(lv,{src:ti(k,"_"),alt:"flag"}),!!Qc[w][u]&&s.jsxs(iv,{children:[s.jsx(av,{}),s.jsx(B,{variant:"caption2-Medium",colorName:"secondary",colorCategory:"text",children:Qc[w][u]})]})]}),s.jsx(rv,{variant:"tag-Medium11",tag:"span",children:s.jsx(Uc,{dangerouslySetInnerHTML:{__html:ar(C,i)}})})]})]}),s.jsxs(Kg,{children:[p&&s.jsxs(qg,{children:[s.jsx(B,{variant:"description-Medium",tag:"span",colorName:"secondary",children:"ДКП"}),s.jsxs(B,{variant:"description-Medium",tag:"span",colorName:"primary",children:[En(p*100,!0)," %"]})]}),s.jsxs(ev,{$isProfit:!!p,children:[s.jsxs(tv,{variant:"caption-Medium",tag:"span",children:[gu(v)," ",En(x,!0)]}),s.jsxs(nv,{variant:"caption2-Medium",tag:"span",isPositive:f,children:[f?"":"-",En(g*100,!0)," %"]})]})]})]}),!r&&s.jsx(Jg,{})]})})},Kc=({items:e,type:t,title:n,handleDelete:r,onClose:o})=>{const[i,a]=m.useState(!1),{locale:l}=ie(),{hostnames:{hostname:c}}=ue(),u=m.useMemo(()=>i?e:e.slice(0,5),[e,i]),p=f=>({id:f.instrument_id,logo:f.logo,flag:f.countryFlag,ticker:f.code?.split("-")?.[0],description:f.description,currency:f.currency_code,price:f.price,priceChange:f.priceChange,profit:f.Y,market:f.market_code,type:f.type,isPositiveChange:f.priceChangePositive});return s.jsxs(Zg,{children:[s.jsxs(Yg,{children:[s.jsx(B,{variant:"header5-Bold",tag:"h5",margin:"0px",children:n}),t==="last"&&s.jsx(
|
|
2278
|
+
`;let r1=null;const ti=(e,t)=>{if(!e||!t)return"";r1===null&&uv();const n=/(.+)\/(.+)\.(.+)/,[,r,o,i]=n.exec(e);return r1?`${r}/${o}-${t}W.webp`:`${r}/${o}-${t}.${i}`};function uv(){if(!jr)return!0;const e=document.createElement("canvas");if(e.getContext&&e.getContext("2d")){r1=e.toDataURL("image/webp").indexOf("data:image/webp")==0;return}r1=!1}const B1=({ticker:e,logo:t,logoSize:n=28,compressionImage:r})=>{const o=i=>i&&i.includes("https://files.profinansy.ru")?ti(i,r||"_"):i;if(Array.isArray(t)){const i=o(t[0]),a=o(t[1]);return s.jsxs(cv,{$logoSize:n,children:[i?s.jsx(Ca,{loading:"lazy",src:i,$logoSize:n/1.5,alt:"logo"}):null,a?s.jsx(Ca,{loading:"lazy",src:a,$logoSize:n/1.5,alt:"logo"}):null]})}if(t){const i=o(t);return s.jsx(Ca,{loading:"lazy",src:i,$logoSize:n,alt:"logo"})}return s.jsx(dv,{$logoSize:n,children:s.jsx(B,{tag:"span",variant:"tag-Medium9",colorName:"contrastThemed",children:e?e.slice(0,4):""})})},gu=e=>{switch(e){case"USD":return"$";case"JPY":return"¥";case"EUR":return"€";case"RUB":return"₽";case"CHF":return"₣";case"GBP":return"£";case"GBX":return"P£";case"HKD":return"HK$";case"CNY":return"¥";case"TRY":return"₺";case"PCT":return"%";case"шт":return"шт.";default:return""}},pv=(e,t=2)=>e===0||!e?0:Number(e.toFixed(t)),En=(e,t=!1,n=2)=>{if(isNaN(e)||Math.abs(e)===1/0||e===null)return"-";if(Math.abs(e)<1e-6)return"0";const r=t?pv(e,n):e,o=String(r).split(".");let i=Number(o[0]).toLocaleString("ru-RU");return o[1]&&(i+=","+o[1]),i},vu=e=>nt("/search/last","GET",e),fv=e=>nt("/search/last","DELETE",e),hv=e=>nt("/search/top","GET",e),mv=(e,t)=>nt("/search/top","POST",e,t),Qc={ru:{stocks:"Акции",etfs:"ETF",bonds:"Облигации",crypto:"Криптовалюта",metals:"Металлы",index:"Индекс",currency:"Валюта"},en:{stocks:"Stocks",etfs:"ETF",bonds:"Bonds",crypto:"Crypto",metals:"Metals",index:"Index",currency:"Currency"}},gv=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M5.00047 18.24H5C4.30931 18.24 3.75 17.6809 3.75 17V7C3.75 6.31421 4.31421 5.75 5 5.75H18.7252C19.2636 5.75 19.6266 6.30054 19.4145 6.79544L17.5639 11.1137C17.3213 11.6797 17.3213 12.3203 17.5639 12.8863L19.4139 17.2031C19.6261 17.6982 19.2627 18.2489 18.7241 18.2486L5.00047 18.24Z",stroke:"#AAAABA",strokeWidth:1.5})),vv=(e,t)=>{let r=`/user/fav_list?full=${t?.full??"sort"}`;return t?.period&&(r+=`&period=${t.period}`),nt(r,"GET",e)},Cv=(e,t)=>nt("/user/instrument","POST",e,t),xv=(e,t)=>nt("/user/instrument","DELETE",e,t),bv=(e,t)=>nt("/user/fav_list","POST",e,t),yv=(e,t)=>{const n=`/user/instrument?instrument_id=${t.instrument_id}&user_fav_list_id=${t.user_fav_list_id}&sort_num=${t.sort_num}`;return nt(n,"POST",e)},Cu=m.createContext({groups:[],allInstruments:[],selectedGroups:[],instrumentId:null,loader:!1,isLoadingGroups:!1,handleClose:()=>null,handleOpen:()=>null,onCheckboxClick:()=>null,submitNewList:()=>null,refetchGroups:async()=>{},reorderInstrument:async()=>{}}),xu=({children:e,selectedPeriod:t})=>{const[n,r]=m.useState(null),[o,i]=m.useState([]),[a,l]=m.useState([]),[c,u]=m.useState([]),[p,f]=m.useState(!1),[g,v]=m.useState(!1),{user:{token:C}}=ue();m.useEffect(()=>{const M=[];o.forEach(_=>{_.instruments?.includes(n)&&M.push(_.id)}),l(M)},[o,n]);const x=async(M=!0)=>{if(C){M&&v(!0);try{const _=await vv({token:C},t?{period:t||"1d"}:void 0);_.ok&&_.data&&(u([...new Set(_.data.flatMap(D=>D.instruments??[]))]),i(_.data))}finally{M&&v(!1)}}},b=()=>x(!0),y=()=>x(!1);m.useEffect(()=>{b()},[C,t]);const k=async M=>{if(!n)return;const D=o.find(P=>P.id===M)?.instruments?.includes(n);f(!0);try{D?await xv({token:C},{instrument_id:n,user_fav_list_id:M}):await Cv({token:C},{instrument_id:n,user_fav_list_id:M}),await b(),Ke.publish(Ze.refreshFavorite)}finally{f(!1)}},w=async M=>{await bv({token:C},{name:M,sort_num:25e3}),await b()},L=()=>{r(null)},E=M=>{r(M)},$=async M=>{if(!C)return;const _=o;M.newOrder&&i(D=>D.map(P=>P.id===M.user_fav_list_id?{...P,instruments:M.newOrder}:P));try{await yv({token:C},M),Ke.publish(Ze.refreshFavorite)}catch{i(_)}};return s.jsx(Cu.Provider,{value:{loader:p,allInstruments:c,selectedGroups:a,instrumentId:n,groups:o,isLoadingGroups:g,handleClose:L,handleOpen:E,onCheckboxClick:k,submitNewList:w,refetchGroups:y,reorderInstrument:$},children:e})},H1=()=>{const e=m.useContext(Cu);if(!e)throw new Error("useFavorite must be used within a FavoriteProvider");return e},ar=(e="",t="")=>{if(!e)return"";const n=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=new RegExp(`(${n})`,"gi");return e.replace(r,'<span class="highlight">$1</span>')},bu=({item:e,onClose:t,href:n,isLast:r,isHovered:o,searchText:i="",refItem:a})=>{const{id:l,logo:c,type:u,profit:p,isPositiveChange:f,priceChange:g,currency:v,description:C,price:x,market:b,ticker:y,flag:k}=e,{locale:w}=ie(),{LinkWrapper:L,user:{token:E}}=ue(),{allInstruments:$,handleOpen:M}=H1(),_=async()=>{await mv({token:E},{instrument_id:l}),t&&t()};return s.jsx(Xg,{onClick:_,children:s.jsxs(L,{href:n,ref:a,children:[s.jsxs(mu,{$isHovered:o,children:[s.jsx(Gg,{$isActive:$.includes(l),onClick:D=>{D.stopPropagation(),D.preventDefault(),M(l)},children:s.jsx(gv,{})}),s.jsxs(Ug,{children:[s.jsx(B1,{ticker:y,logo:c}),s.jsxs(Qg,{children:[s.jsxs(ov,{children:[s.jsx(B,{variant:"caption-SemiBold",tag:"span",colorName:"primary",children:s.jsx(Uc,{dangerouslySetInnerHTML:{__html:ar(y,i)}})}),b&&s.jsxs(s.Fragment,{children:[s.jsx(sv,{}),s.jsx(B,{variant:"caption-SemiBold",tag:"span",colorName:"fourth",children:b})]}),k&&s.jsx(lv,{src:ti(k,"_"),alt:"flag"}),!!Qc[w][u]&&s.jsxs(iv,{children:[s.jsx(av,{}),s.jsx(B,{variant:"caption2-Medium",colorName:"secondary",colorCategory:"text",children:Qc[w][u]})]})]}),s.jsx(rv,{variant:"tag-Medium11",tag:"span",children:s.jsx(Uc,{dangerouslySetInnerHTML:{__html:ar(C,i)}})})]})]}),s.jsxs(Kg,{children:[p&&s.jsxs(qg,{children:[s.jsx(B,{variant:"description-Medium",tag:"span",colorName:"secondary",children:"ДКП"}),s.jsxs(B,{variant:"description-Medium",tag:"span",colorName:"primary",children:[En(p*100,!0)," %"]})]}),s.jsxs(ev,{$isProfit:!!p,children:[s.jsxs(tv,{variant:"caption-Medium",tag:"span",children:[gu(v)," ",En(x,!0)]}),s.jsxs(nv,{variant:"caption2-Medium",tag:"span",isPositive:f,children:[f?"":"-",En(g*100,!0)," %"]})]})]})]}),!r&&s.jsx(Jg,{})]})})},Kc=({items:e,type:t,title:n,handleDelete:r,onClose:o})=>{const[i,a]=m.useState(!1),{locale:l}=ie(),{hostnames:{hostname:c}}=ue(),u=m.useMemo(()=>i?e:e.slice(0,5),[e,i]),p=f=>({id:f.instrument_id,logo:f.logo,flag:f.countryFlag,ticker:f.code?.split("-")?.[0],description:f.description,currency:f.currency_code,price:f.price,priceChange:f.priceChange,profit:f.Y,market:f.market_code,type:f.type,isPositiveChange:f.priceChangePositive});return s.jsxs(Zg,{children:[s.jsxs(Yg,{children:[s.jsx(B,{variant:"header5-Bold",tag:"h5",margin:"0px",children:n}),t==="last"&&s.jsx(zt,{text:Me[l].clear,onClick:r})]}),s.jsx("div",{children:u.map((f,g)=>s.jsx(bu,{isLast:g===u.length-1,href:`${c}/market/instrument/${f.code}`,item:p(f),onClose:o},f.instrument_id))}),e.length>5&&s.jsx(zg,{text:i?Me[l].collapse:Me[l].show_more,onClick:()=>a(!i)})]})},wv=({onClose:e,isRenderSelections:t})=>{const[n,r]=m.useState([]),[o,i]=m.useState([]),[a,l]=m.useState(!1),{locale:c}=ie(),{user:{token:u}}=ue();m.useEffect(()=>{(async()=>{l(!0);const[{data:g},{data:v}]=await Promise.all([vu({token:u}),hv({token:u})]);r(g||[]),i(v||[]),l(!1)})()},[]);const p=async()=>{await fv({token:u}),r([])};return t?a?s.jsx(ig,{size:"M"}):s.jsxs(s.Fragment,{children:[n.length?s.jsx(Kc,{items:n,onClose:e,title:Me[c].find_recently,type:"last",handleDelete:p}):null,o.length?s.jsx(Kc,{items:o,onClose:e,title:Me[c].popular,type:"top",handleDelete:p}):null]}):null},yu=h.styled.a`
|
|
2279
2279
|
display: flex;
|
|
2280
2280
|
overflow: hidden;
|
|
2281
2281
|
text-decoration: none;
|
|
@@ -2337,7 +2337,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
2337
2337
|
& .highlight {
|
|
2338
2338
|
color: ${e=>e.theme.text.accent};
|
|
2339
2339
|
}
|
|
2340
|
-
`,Iu=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.00016 15.1666C4.04683 15.1666 0.833496 11.9533 0.833496 7.99992C0.833496 4.04659 4.04683 0.833252 8.00016 0.833252C11.9535 0.833252 15.1668 4.04659 15.1668 7.99992C15.1668 11.9533 11.9535 15.1666 8.00016 15.1666ZM8.00016 1.83325C4.60016 1.83325 1.8335 4.59992 1.8335 7.99992C1.8335 11.3999 4.60016 14.1666 8.00016 14.1666C11.4002 14.1666 14.1668 11.3999 14.1668 7.99992C14.1668 4.59992 11.4002 1.83325 8.00016 1.83325Z",fill:"#242424"}),d.createElement("path",{d:"M10.4731 10.6199C10.3864 10.6199 10.2998 10.5999 10.2198 10.5466L8.1531 9.31326C7.63977 9.00659 7.25977 8.33326 7.25977 7.73992V5.00659C7.25977 4.73326 7.48643 4.50659 7.75977 4.50659C8.0331 4.50659 8.25977 4.73326 8.25977 5.00659V7.73992C8.25977 7.97992 8.45977 8.33326 8.66643 8.45326L10.7331 9.68659C10.9731 9.82659 11.0464 10.1333 10.9064 10.3733C10.8064 10.5333 10.6398 10.6199 10.4731 10.6199Z",fill:"#242424"})),Ev=({item:e,searchText:t,isLast:n,isHovered:r,refItem:o})=>{const i=au[e.category.key]||Iu;return s.jsxs(s.Fragment,{children:[s.jsx(yu,{ref:o,$isHovered:r,href:e.link,children:s.jsxs(Lu,{children:[s.jsx($u,{children:s.jsx(i,{})}),s.jsxs(Mu,{children:[s.jsx(B,{variant:"caption-SemiBold",colorName:"primary",tag:"span",children:s.jsx(_u,{dangerouslySetInnerHTML:{__html:ar(e.nameRu,t)}})}),s.jsxs(ku,{variant:"tag-Medium11",colorName:"secondary",tag:"span",children:[e.category.nameRu," ",s.jsx(Eu,{})," ",e.subcategory.nameRu]})]})]})}),!n&&s.jsx(wu,{})]})};function qc(e,t,n){Fe(2,arguments);var r=sc(e,n),o=sc(t,n);return r.getTime()===o.getTime()}function to(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function bt(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?to(e.future,t):"через "+to(e.regular,t):e.past?to(e.past,t):to(e.regular,t)+" назад":to(e.regular,t)}}var Lv={lessThanXSeconds:bt({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:bt({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:bt({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:bt({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:bt({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:bt({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:bt({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:bt({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:bt({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:bt({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:bt({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:bt({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:bt({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:bt({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:bt({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},Mv=function(t,n,r){return Lv[t](n,r)},$v={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},_v={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Iv={any:"{{date}}, {{time}}"},Sv={date:Er({formats:$v,defaultWidth:"full"}),time:Er({formats:_v,defaultWidth:"full"}),dateTime:Er({formats:Iv,defaultWidth:"any"})},Cl=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function Dv(e){var t=Cl[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function e2(e){var t=Cl[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function Av(e){var t=Cl[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var jv={lastWeek:function(t,n,r){var o=t.getUTCDay();return qc(t,n,r)?e2(o):Dv(o)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,n,r){var o=t.getUTCDay();return qc(t,n,r)?e2(o):Av(o)},other:"P"},Rv=function(t,n,r,o){var i=jv[t];return typeof i=="function"?i(n,r,o):i},Tv={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},Fv={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Pv={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},Bv={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},Hv={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},Vv={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},Nv={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},Ov=function(t,n){var r=Number(t),o=n?.unit,i;return o==="date"?i="-е":o==="week"||o==="minute"||o==="second"?i="-я":i="-й",r+i},Wv={ordinalNumber:Ov,era:en({values:Tv,defaultWidth:"wide"}),quarter:en({values:Fv,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:en({values:Pv,defaultWidth:"wide",formattingValues:Bv,defaultFormattingWidth:"wide"}),day:en({values:Hv,defaultWidth:"wide"}),dayPeriod:en({values:Vv,defaultWidth:"any",formattingValues:Nv,defaultFormattingWidth:"wide"})},Zv=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,Yv=/\d+/i,zv={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Gv={any:[/^д/i,/^н/i]},Xv={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Jv={any:[/1/i,/2/i,/3/i,/4/i]},Uv={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},Qv={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},Kv={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},qv={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},eC={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},tC={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},nC={ordinalNumber:ud({matchPattern:Zv,parsePattern:Yv,valueCallback:function(t){return parseInt(t,10)}}),era:tn({matchPatterns:zv,defaultMatchWidth:"wide",parsePatterns:Gv,defaultParseWidth:"any"}),quarter:tn({matchPatterns:Xv,defaultMatchWidth:"wide",parsePatterns:Jv,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tn({matchPatterns:Uv,defaultMatchWidth:"wide",parsePatterns:Qv,defaultParseWidth:"any"}),day:tn({matchPatterns:Kv,defaultMatchWidth:"wide",parsePatterns:qv,defaultParseWidth:"any"}),dayPeriod:tn({matchPatterns:eC,defaultMatchWidth:"wide",parsePatterns:tC,defaultParseWidth:"any"})},xl={code:"ru",formatDistance:Mv,formatLong:Sv,formatRelative:Rv,localize:Wv,match:nC,options:{weekStartsOn:1,firstWeekContainsDate:1}};const rC=({item:e,searchText:t,isLast:n,isHovered:r,refItem:o})=>{const i=au[e.category.key]||Iu;return s.jsxs(s.Fragment,{children:[s.jsxs(yu,{ref:o,$isHovered:r,href:e.link,children:[s.jsxs(Lu,{children:[s.jsx($u,{children:s.jsx(i,{})}),s.jsxs(Mu,{children:[s.jsx(B,{variant:"caption-SemiBold",colorName:"primary",tag:"span",children:s.jsx(_u,{dangerouslySetInnerHTML:{__html:ar(e.nameRu,t)}})}),s.jsxs(ku,{variant:"tag-Medium11",colorName:"secondary",tag:"span",children:[e.category.nameRu," ",s.jsx(Eu,{})," ",e.subcategory.nameRu]})]})]}),s.jsxs(kv,{children:[s.jsx(B,{variant:"caption2-Medium",tag:"span",colorName:"fourth",textAlign:"right",children:"Опубликовано"}),!!e.date&&s.jsx(B,{variant:"description-Medium",tag:"span",colorName:"primary",textAlign:"right",children:fd(new Date(e.date),{addSuffix:!0,locale:xl,roundingMethod:"round"})})]})]}),!n&&s.jsx(wu,{})]})},Su=e=>{const t=e.code?.split("-")?.[0];return e.type==="bonds"?e.isin||t:e.type==="futures"?e.symbol||t:e.type==="currency"?e.code.replace("-","/"):t},oC=e=>{const[t,n]=m.useState(null),r=m.useRef([]);m.useEffect(()=>{n(null)},[e]),m.useEffect(()=>{if(t===null)return;const i=e[t],a=Su(i);Ke.publish(Ze.SearchInputValue,{text:a}),r.current[t]&&r.current[t]?.scrollIntoView({behavior:"smooth",block:"center"})},[t]);const o=m.useCallback(i=>{if(i.key==="Tab")n(null);else if(i.key==="ArrowUp")n(a=>a===null?e.length-1:a>0?a-1:e.length-1);else if(i.key==="ArrowDown")n(a=>a===null?0:a<e.length-1?a+1:0);else if(i.key==="Enter"){if(t===null)return;const a=r?.current[t];a&&a.click()}},[t,e]);return m.useEffect(()=>(document.addEventListener("keydown",o),()=>document.removeEventListener("keydown",o)),[o]),{selectedIndex:t,itemRefs:r}},iC=({listItems:e,searchText:t,onClose:n})=>{const{hostnames:{hostname:r}}=ue(),{selectedIndex:o,itemRefs:i}=oC(e),a=l=>({id:l.instrument_id,logo:l.logo,flag:l.countryFlag,ticker:Su(l),description:l.description,currency:l.currency_code,price:l.price,priceChange:l.priceChange,profit:l.SY,market:l.market_code,isPositiveChange:l.priceChangePositive});return s.jsx("div",{children:e.map((l,c)=>{const u=c===e.length-1;return l.type==="link"?s.jsx(Ev,{refItem:p=>i.current[c]=p,isHovered:c===o,item:l,searchText:t,isLast:u},c):l.type==="news"?s.jsx(rC,{refItem:p=>i.current[c]=p,isHovered:c===o,item:l,searchText:t,isLast:u},c):s.jsx(bu,{isHovered:c===o,refItem:p=>i.current[c]=p,isLast:u,href:`${r}/market/instrument/${l.code}`,onClose:n,item:a(l),searchText:t},c)})})},aC=(e,t,n,r)=>{let o=`/search/node?text=${e}`;return t&&(o+=`&categoryKey=${t}`),n&&(o+="&showArchived=true"),nt(o,"GET",r)},sC=e=>{const[t,n]=m.useState(""),[r,o]=m.useState(!0),[i,a]=m.useState(!1),[l,c]=m.useState(null),{user:{token:u}}=ue();return m.useEffect(()=>{(async()=>{if(t)try{o(!0);const f=await aC(t,e,i,{token:u});c(f.data),o(!1)}catch{o(!1)}})()},[t,i]),m.useEffect(()=>{const p=g=>{g.text||c(null),n(g.text)},f=Ke.subscribe(Ze.SearchText,p);return()=>{c(null),f()}},[]),m.useEffect(()=>{const p=g=>{a(g.val)},f=Ke.subscribe(Ze.SearchNonTradable,p);return()=>{c(null),f()}},[]),{data:l,searchText:t,isLoading:r}},lC=h.styled.div`
|
|
2340
|
+
`,Iu=e=>d.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M8.00016 15.1666C4.04683 15.1666 0.833496 11.9533 0.833496 7.99992C0.833496 4.04659 4.04683 0.833252 8.00016 0.833252C11.9535 0.833252 15.1668 4.04659 15.1668 7.99992C15.1668 11.9533 11.9535 15.1666 8.00016 15.1666ZM8.00016 1.83325C4.60016 1.83325 1.8335 4.59992 1.8335 7.99992C1.8335 11.3999 4.60016 14.1666 8.00016 14.1666C11.4002 14.1666 14.1668 11.3999 14.1668 7.99992C14.1668 4.59992 11.4002 1.83325 8.00016 1.83325Z",fill:"#242424"}),d.createElement("path",{d:"M10.4731 10.6199C10.3864 10.6199 10.2998 10.5999 10.2198 10.5466L8.1531 9.31326C7.63977 9.00659 7.25977 8.33326 7.25977 7.73992V5.00659C7.25977 4.73326 7.48643 4.50659 7.75977 4.50659C8.0331 4.50659 8.25977 4.73326 8.25977 5.00659V7.73992C8.25977 7.97992 8.45977 8.33326 8.66643 8.45326L10.7331 9.68659C10.9731 9.82659 11.0464 10.1333 10.9064 10.3733C10.8064 10.5333 10.6398 10.6199 10.4731 10.6199Z",fill:"#242424"})),Ev=({item:e,searchText:t,isLast:n,isHovered:r,refItem:o})=>{const i=au[e.category.key]||Iu;return s.jsxs(s.Fragment,{children:[s.jsx(yu,{ref:o,$isHovered:r,href:e.link,children:s.jsxs(Lu,{children:[s.jsx($u,{children:s.jsx(i,{})}),s.jsxs(Mu,{children:[s.jsx(B,{variant:"caption-SemiBold",colorName:"primary",tag:"span",children:s.jsx(_u,{dangerouslySetInnerHTML:{__html:ar(e.nameRu,t)}})}),s.jsxs(ku,{variant:"tag-Medium11",colorName:"secondary",tag:"span",children:[e.category.nameRu," ",s.jsx(Eu,{})," ",e.subcategory.nameRu]})]})]})}),!n&&s.jsx(wu,{})]})};function qc(e,t,n){Fe(2,arguments);var r=sc(e,n),o=sc(t,n);return r.getTime()===o.getTime()}function to(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function bt(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?to(e.future,t):"через "+to(e.regular,t):e.past?to(e.past,t):to(e.regular,t)+" назад":to(e.regular,t)}}var Lv={lessThanXSeconds:bt({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:bt({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:bt({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:bt({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:bt({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:bt({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:bt({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:bt({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:bt({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:bt({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:bt({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:bt({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:bt({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:bt({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:bt({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},Mv=function(t,n,r){return Lv[t](n,r)},$v={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},_v={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Iv={any:"{{date}}, {{time}}"},Sv={date:Er({formats:$v,defaultWidth:"full"}),time:Er({formats:_v,defaultWidth:"full"}),dateTime:Er({formats:Iv,defaultWidth:"any"})},Cl=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function Dv(e){var t=Cl[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function e2(e){var t=Cl[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function Av(e){var t=Cl[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var jv={lastWeek:function(t,n,r){var o=t.getUTCDay();return qc(t,n,r)?e2(o):Dv(o)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,n,r){var o=t.getUTCDay();return qc(t,n,r)?e2(o):Av(o)},other:"P"},Rv=function(t,n,r,o){var i=jv[t];return typeof i=="function"?i(n,r,o):i},Tv={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},Fv={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Pv={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},Bv={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},Hv={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},Vv={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},Nv={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},Ov=function(t,n){var r=Number(t),o=n?.unit,i;return o==="date"?i="-е":o==="week"||o==="minute"||o==="second"?i="-я":i="-й",r+i},Wv={ordinalNumber:Ov,era:tn({values:Tv,defaultWidth:"wide"}),quarter:tn({values:Fv,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:tn({values:Pv,defaultWidth:"wide",formattingValues:Bv,defaultFormattingWidth:"wide"}),day:tn({values:Hv,defaultWidth:"wide"}),dayPeriod:tn({values:Vv,defaultWidth:"any",formattingValues:Nv,defaultFormattingWidth:"wide"})},Zv=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,Yv=/\d+/i,zv={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Gv={any:[/^д/i,/^н/i]},Xv={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Jv={any:[/1/i,/2/i,/3/i,/4/i]},Uv={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},Qv={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},Kv={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},qv={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},eC={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},tC={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},nC={ordinalNumber:ud({matchPattern:Zv,parsePattern:Yv,valueCallback:function(t){return parseInt(t,10)}}),era:nn({matchPatterns:zv,defaultMatchWidth:"wide",parsePatterns:Gv,defaultParseWidth:"any"}),quarter:nn({matchPatterns:Xv,defaultMatchWidth:"wide",parsePatterns:Jv,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:nn({matchPatterns:Uv,defaultMatchWidth:"wide",parsePatterns:Qv,defaultParseWidth:"any"}),day:nn({matchPatterns:Kv,defaultMatchWidth:"wide",parsePatterns:qv,defaultParseWidth:"any"}),dayPeriod:nn({matchPatterns:eC,defaultMatchWidth:"wide",parsePatterns:tC,defaultParseWidth:"any"})},xl={code:"ru",formatDistance:Mv,formatLong:Sv,formatRelative:Rv,localize:Wv,match:nC,options:{weekStartsOn:1,firstWeekContainsDate:1}};const rC=({item:e,searchText:t,isLast:n,isHovered:r,refItem:o})=>{const i=au[e.category.key]||Iu;return s.jsxs(s.Fragment,{children:[s.jsxs(yu,{ref:o,$isHovered:r,href:e.link,children:[s.jsxs(Lu,{children:[s.jsx($u,{children:s.jsx(i,{})}),s.jsxs(Mu,{children:[s.jsx(B,{variant:"caption-SemiBold",colorName:"primary",tag:"span",children:s.jsx(_u,{dangerouslySetInnerHTML:{__html:ar(e.nameRu,t)}})}),s.jsxs(ku,{variant:"tag-Medium11",colorName:"secondary",tag:"span",children:[e.category.nameRu," ",s.jsx(Eu,{})," ",e.subcategory.nameRu]})]})]}),s.jsxs(kv,{children:[s.jsx(B,{variant:"caption2-Medium",tag:"span",colorName:"fourth",textAlign:"right",children:"Опубликовано"}),!!e.date&&s.jsx(B,{variant:"description-Medium",tag:"span",colorName:"primary",textAlign:"right",children:fd(new Date(e.date),{addSuffix:!0,locale:xl,roundingMethod:"round"})})]})]}),!n&&s.jsx(wu,{})]})},Su=e=>{const t=e.code?.split("-")?.[0];return e.type==="bonds"?e.isin||t:e.type==="futures"?e.symbol||t:e.type==="currency"?e.code.replace("-","/"):t},oC=e=>{const[t,n]=m.useState(null),r=m.useRef([]);m.useEffect(()=>{n(null)},[e]),m.useEffect(()=>{if(t===null)return;const i=e[t],a=Su(i);Ke.publish(Ze.SearchInputValue,{text:a}),r.current[t]&&r.current[t]?.scrollIntoView({behavior:"smooth",block:"center"})},[t]);const o=m.useCallback(i=>{if(i.key==="Tab")n(null);else if(i.key==="ArrowUp")n(a=>a===null?e.length-1:a>0?a-1:e.length-1);else if(i.key==="ArrowDown")n(a=>a===null?0:a<e.length-1?a+1:0);else if(i.key==="Enter"){if(t===null)return;const a=r?.current[t];a&&a.click()}},[t,e]);return m.useEffect(()=>(document.addEventListener("keydown",o),()=>document.removeEventListener("keydown",o)),[o]),{selectedIndex:t,itemRefs:r}},iC=({listItems:e,searchText:t,onClose:n})=>{const{hostnames:{hostname:r}}=ue(),{selectedIndex:o,itemRefs:i}=oC(e),a=l=>({id:l.instrument_id,logo:l.logo,flag:l.countryFlag,ticker:Su(l),description:l.description,currency:l.currency_code,price:l.price,priceChange:l.priceChange,profit:l.SY,market:l.market_code,isPositiveChange:l.priceChangePositive});return s.jsx("div",{children:e.map((l,c)=>{const u=c===e.length-1;return l.type==="link"?s.jsx(Ev,{refItem:p=>i.current[c]=p,isHovered:c===o,item:l,searchText:t,isLast:u},c):l.type==="news"?s.jsx(rC,{refItem:p=>i.current[c]=p,isHovered:c===o,item:l,searchText:t,isLast:u},c):s.jsx(bu,{isHovered:c===o,refItem:p=>i.current[c]=p,isLast:u,href:`${r}/market/instrument/${l.code}`,onClose:n,item:a(l),searchText:t},c)})})},aC=(e,t,n,r)=>{let o=`/search/node?text=${e}`;return t&&(o+=`&categoryKey=${t}`),n&&(o+="&showArchived=true"),nt(o,"GET",r)},sC=e=>{const[t,n]=m.useState(""),[r,o]=m.useState(!0),[i,a]=m.useState(!1),[l,c]=m.useState(null),{user:{token:u}}=ue();return m.useEffect(()=>{(async()=>{if(t)try{o(!0);const f=await aC(t,e,i,{token:u});c(f.data),o(!1)}catch{o(!1)}})()},[t,i]),m.useEffect(()=>{const p=g=>{g.text||c(null),n(g.text)},f=Ke.subscribe(Ze.SearchText,p);return()=>{c(null),f()}},[]),m.useEffect(()=>{const p=g=>{a(g.val)},f=Ke.subscribe(Ze.SearchNonTradable,p);return()=>{c(null),f()}},[]),{data:l,searchText:t,isLoading:r}},lC=h.styled.div`
|
|
2341
2341
|
display: flex;
|
|
2342
2342
|
align-items: center;
|
|
2343
2343
|
justify-content: center;
|
|
@@ -2473,7 +2473,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
2473
2473
|
& path {
|
|
2474
2474
|
fill: ${e=>e.theme.icons.warring};
|
|
2475
2475
|
}
|
|
2476
|
-
`,LC=()=>{const{locale:e}=ie();return s.jsxs(s.Fragment,{children:[s.jsxs(kC,{children:[s.jsx(EC,{children:s.jsx(rs,{})}),s.jsx(B,{variant:"text-Medium",colorName:"primary",children:dt[e].notGroupsTitle})]}),s.jsx(B,{variant:"text-Regular",colorName:"fourth",marginBottom:"16px",children:dt[e].notGroupsMessage})]})},n2=30,MC=({isCreatingList:e,setIsCreatingList:t})=>{const[n,r]=m.useState(""),[o,i]=m.useState(!1),a=m.useRef(null),l=m.useRef(null),{groups:c,selectedGroups:u,onCheckboxClick:p,submitNewList:f}=H1(),{locale:g}=ie(),v=n.trim().length>0&&n.trim().length<=n2,C=async()=>{if(v){i(!0);try{await f(n.trim()),t(!1),r("")}finally{i(!1)}}},x=b=>{b.code==="Enter"&&!o&&v&&C()};return m.useEffect(()=>{e&&l.current&&a.current&&setTimeout(()=>{l.current?.scrollIntoView({behavior:"smooth",block:"end"})},100)},[e]),m.useEffect(()=>{e||r("")},[e]),c.length===0&&!e?s.jsx(t2,{children:s.jsx(LC,{})}):s.jsxs(t2,{ref:a,children:[c?.map((b,y)=>s.jsxs(fC,{onClick:()=>p(b.id),children:[y!==0&&s.jsx(gC,{}),s.jsxs(hC,{children:[s.jsx(B,{variant:"text-Medium",colorName:"primary",children:b.name}),s.jsx(Gr,{checked:u.includes(b.id)})]})]},b.id)),e&&s.jsxs(vC,{ref:l,children:[s.jsx(pr,{name:"groupName",placeholder:dt[g].input,value:n,onChange:b=>r(b),onKeyDown:x,maxLength:n2}),s.jsxs(mC,{children:[s.jsx(st,{onClick:()=>t(!1),mode:"secondary",text:dt[g].cancel,disabled:o,size:"S"}),s.jsx(st,{disabled:o||!v,mode:"primary",onClick:C,text:dt[g].save,loading:o,size:"S"})]})]})]})},$C=h.styled(
|
|
2476
|
+
`,LC=()=>{const{locale:e}=ie();return s.jsxs(s.Fragment,{children:[s.jsxs(kC,{children:[s.jsx(EC,{children:s.jsx(rs,{})}),s.jsx(B,{variant:"text-Medium",colorName:"primary",children:dt[e].notGroupsTitle})]}),s.jsx(B,{variant:"text-Regular",colorName:"fourth",marginBottom:"16px",children:dt[e].notGroupsMessage})]})},n2=30,MC=({isCreatingList:e,setIsCreatingList:t})=>{const[n,r]=m.useState(""),[o,i]=m.useState(!1),a=m.useRef(null),l=m.useRef(null),{groups:c,selectedGroups:u,onCheckboxClick:p,submitNewList:f}=H1(),{locale:g}=ie(),v=n.trim().length>0&&n.trim().length<=n2,C=async()=>{if(v){i(!0);try{await f(n.trim()),t(!1),r("")}finally{i(!1)}}},x=b=>{b.code==="Enter"&&!o&&v&&C()};return m.useEffect(()=>{e&&l.current&&a.current&&setTimeout(()=>{l.current?.scrollIntoView({behavior:"smooth",block:"end"})},100)},[e]),m.useEffect(()=>{e||r("")},[e]),c.length===0&&!e?s.jsx(t2,{children:s.jsx(LC,{})}):s.jsxs(t2,{ref:a,children:[c?.map((b,y)=>s.jsxs(fC,{onClick:()=>p(b.id),children:[y!==0&&s.jsx(gC,{}),s.jsxs(hC,{children:[s.jsx(B,{variant:"text-Medium",colorName:"primary",children:b.name}),s.jsx(Gr,{checked:u.includes(b.id)})]})]},b.id)),e&&s.jsxs(vC,{ref:l,children:[s.jsx(pr,{name:"groupName",placeholder:dt[g].input,value:n,onChange:b=>r(b),onKeyDown:x,maxLength:n2}),s.jsxs(mC,{children:[s.jsx(st,{onClick:()=>t(!1),mode:"secondary",text:dt[g].cancel,disabled:o,size:"S"}),s.jsx(st,{disabled:o||!v,mode:"primary",onClick:C,text:dt[g].save,loading:o,size:"S"})]})]})]})},$C=h.styled(Xt)`
|
|
2477
2477
|
.modal-contentInside {
|
|
2478
2478
|
margin-right: 0;
|
|
2479
2479
|
}
|
|
@@ -2485,7 +2485,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
2485
2485
|
width: 16px;
|
|
2486
2486
|
height: 16px;
|
|
2487
2487
|
}
|
|
2488
|
-
`,IC=()=>{const[e,t]=m.useState(!1),{instrumentId:n,handleClose:r}=H1(),{locale:o}=ie();return s.jsx($C,{open:n!==null,onClose:r,title:dt[o].title,maxWidth:"564px",bottomContent:s.jsx(_C,{text:dt[o].createList,mode:"flatBrand",onClick:()=>t(!0),iconLeft:s.jsx(pC,{}),disabled:e}),children:s.jsx(MC,{isCreatingList:e,setIsCreatingList:t})})},bl=({onClose:e,isWithoutTitle:t,category:n})=>{const{data:r,searchText:o,isLoading:i}=sC(n),{listItems:a,tabs:l,bubbles:c,selectedTab:u,setSelectedTab:p,setSelectedBubble:f,selectedBubble:g}=ag(r),v=!!o&&!l&&r!==null,C=!r&&(!n||n===ir.invest);return s.jsxs(xu,{children:[s.jsxs(rg,{children:[s.jsx(Wg,{isWithoutTitle:t,bubbles:c,tabs:l,category:n,selectedTab:u,setSelectedTab:p,selectedBubble:g,setSelectedBubble:f}),s.jsxs(og,{children:[n!==ir.club&&s.jsx(wv,{isRenderSelections:C,onClose:e}),!!a?.length&&s.jsx(iC,{searchText:o,listItems:a,onClose:e}),s.jsx(uC,{isEmpty:v,isLoading:i,category:n})]})]}),s.jsx(IC,{})]})},SC=({isOpenSearch:e})=>{const[t,n]=m.useState(!1);m.useEffect(()=>{n(e)},[e]);const{locale:r}=ie();return s.jsxs(s.Fragment,{children:[s.jsxs(Vm,{onClick:()=>n(!0),children:[s.jsx(Hm,{children:s.jsx(dl,{})}),s.jsx("span",{children:Me[r].search})]}),t&&s.jsxs(Nm,{children:[s.jsxs(Om,{children:[s.jsxs(Wm,{children:[Me[r].search_header,s.jsx(Zm,{onClick:()=>n(!1),children:s.jsx(iu,{})})]}),s.jsx(su,{locale:r})]}),s.jsx(Ym,{children:s.jsx(bl,{isWithoutTitle:!0,onClose:()=>n(!1)})})]})]})},Au=m.createContext(null),V1=()=>{const e=m.useContext(Au);if(!e)throw new Error("useHeaderV2Context must be used within HeaderV2");return e},DC=({isOpenSearch:e})=>{const{leaderBoardPermission:t,isEmployee:n}=V1(),{setShowQuiz:r,QuizModal:o}=cl(),{hostnames:{hostname:i,hostnameLenta:a,hostnameLMS:l},userRole:c,user:u}=ue();tl(!0),el();const p=n0(i,a,l,t,c,u.type,!0,n),{locale:f}=ie();return s.jsxs(s.Fragment,{children:[s.jsxs(x7,{children:[s.jsxs(b7,{children:[s.jsx(y7,{children:et[f].main_menu}),s.jsx(SC,{isOpenSearch:e})]}),s.jsx(w7,{children:p.map(g=>s.jsx(Yf,{data:g,setShowQuiz:r},g.name))})]}),o]})},fn={ru:{logo:"Логотип компании",search:"Поиск по сайту",profile:"Меню профиля",header:"Шапка сайта",burger:"Боковое меню",favourite:"Мое избранное",favouriteClosePanel:"Закрыть панель избранного",notifications:"Мои уведомления",basket:"Корзина"},en:{logo:"Company logo",search:"Site search",profile:"Profile menu",header:"Site header",burger:"Side menu",favourite:"My favourite",favouriteClosePanel:"Close favourites panel",notifications:"My notifications",basket:"My basket"}},AC=()=>{const[e,t]=m.useState(!1),[n,r]=m.useState(!1),{locale:o}=ie(),{pathname:i}=ue();return m.useEffect(()=>{t(!1)},[i]),m.useEffect(()=>{const a=()=>{t(!0),r(!0)},l=Ke.subscribe(Ze.SearchOpen,a);return()=>{l()}},[]),s.jsxs(s.Fragment,{children:[e&&s.jsx(m7,{onClick:()=>t(!1)}),s.jsxs(h7,{children:[s.jsxs(g7,{onClick:()=>t(!e),$isOpen:e,"aria-label":fn[o].burger,children:[s.jsx("div",{}),s.jsx("div",{}),s.jsx("div",{})]}),e&&s.jsx(DC,{isOpenSearch:n})]})]})},jC=e=>d.createElement("svg",{width:152,height:24,viewBox:"0 0 152 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M3.98022 20.3909V16.0391H6.72072C10.3312 16.0391 12.18 12.9615 12.18 9.88386C12.2452 6.71009 10.3747 3.56036 6.72072 3.56036C4.45872 3.53632 2.262 3.56036 0 3.56036V20.3909H3.98022ZM3.915 12.2161V7.38331H6.72072C7.80822 7.38331 8.37372 8.56146 8.37372 9.76364C8.37372 10.9899 7.76472 12.2161 6.72072 12.2161H3.915ZM24.234 14.4281C25.7347 13.2981 26.4742 11.4467 26.496 9.52321C26.496 6.56583 24.6907 3.56036 21.0149 3.56036C18.7747 3.53632 16.5779 3.56036 14.3159 3.56036V20.3909H18.2962V15.1254H20.3842L22.9942 20.3909H27.2137V19.7658L24.234 14.4281ZM18.2309 11.5428V7.38331H20.9932C22.1242 7.38331 22.6462 8.36911 22.6462 9.42703C22.6462 10.485 22.1024 11.5428 20.9932 11.5428H18.2309ZM64.3101 11.1341H59.4381V7.40736H64.9626V3.58441H55.4578V20.415H59.4381V14.9811H64.3101V11.1341ZM72.6601 16.8565V7.14288H74.4218V3.58441H66.9182V7.14288H68.6799V16.8565H66.7438V20.415H74.5955V16.8565H72.6601ZM89.256 20.4631H90.43V3.58441H86.4498V11.8074L78.5112 3.51228H77.2714V20.415H81.2515V11.7352L89.256 20.4631ZM102.521 18.3232L103.413 20.415H107.523V19.8139L100.606 3.4161H98.7796L91.7979 19.8139V20.415H95.9524L96.8224 18.3232H102.521ZM99.6713 10.5811L101.259 14.6445H98.1057L99.6713 10.5811ZM120.904 20.4631H122.078V3.58441H118.098V11.8074L110.159 3.51228H108.919V20.415H112.899V11.7352L120.904 20.4631ZM124.577 15.2456C124.512 19.0205 127.6 20.7997 130.819 20.7997C133.929 20.7997 137.039 18.9483 137.039 15.4139C137.039 11.3265 134.212 10.485 130.972 10.1724C129.514 10.0041 128.644 9.7396 128.644 8.60954C128.644 7.33523 129.819 7.07075 130.711 7.07075C131.776 7.07075 132.755 7.55162 132.777 8.70572H136.496C136.561 5.05107 133.582 3.19971 130.645 3.19971C127.535 3.19971 124.729 5.05107 124.729 8.70572C124.729 12.2161 127.514 13.4423 130.297 13.6347C131.407 13.7068 133.103 13.7789 133.103 15.3898C133.103 16.3997 131.907 16.9767 130.776 16.9767C129.558 16.9767 128.362 16.3997 128.362 15.2456H124.577ZM144.345 9.16255L141.582 3.58441H137.319V4.23359L142.43 13.7549V20.415H146.41V13.7549L151.5 4.23359V3.58441H147.28L144.518 9.16255H144.345Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M35.2008 18.5389L35.6556 17.7242L35.3664 17.5464L34.567 18.9784L34.6583 19.0345L35.876 18.6886L35.4245 19.4973L35.7157 19.6763L36.514 18.2463L36.4266 18.1926L35.2008 18.5389Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M34.0924 16.2656L32.9589 17.4128L33.1931 17.6677L33.6255 17.2301L34.044 17.6855L33.6116 18.123L33.8443 18.3763L34.9779 17.2292L34.7452 16.976L34.2658 17.461L33.8473 17.0056L34.3267 16.5205L34.0924 16.2656Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M32.2445 15.3205C31.9874 15.4718 31.9396 15.7491 32.0806 16.0126L32.4076 16.624L33.7789 15.8163L33.4211 15.1472C33.2669 14.859 33.0118 14.7873 32.7705 14.9294C32.6292 15.0126 32.5559 15.1505 32.5746 15.3156C32.4732 15.2562 32.3445 15.2616 32.2445 15.3205ZM32.3438 15.8873C32.2866 15.7802 32.3149 15.6742 32.4161 15.6173C32.5094 15.565 32.5996 15.5986 32.6558 15.7036L32.8066 15.9856L32.4946 16.1694L32.3438 15.8873ZM32.8708 15.5173C32.8455 15.47 32.8274 15.4264 32.8322 15.3776C32.8385 15.3171 32.8774 15.2644 32.9335 15.234C33.029 15.186 33.1209 15.213 33.177 15.318L33.3598 15.6598L33.0459 15.8446L32.8708 15.5173Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M31.2693 13.7934L31.5359 14.7668L33.0494 14.3104L32.7779 13.3188L32.4839 13.4075L32.6615 14.0564L32.3156 14.1607L32.154 13.5708L31.8708 13.6562L32.0324 14.2461L31.7253 14.3387L31.5526 13.708L31.2693 13.7934Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M31.8991 12.9557C32.4208 12.9409 32.6891 12.5224 32.6779 12.0881C32.669 11.7436 32.4868 11.3969 32.0689 11.3379L32.0777 11.6777C32.2703 11.7289 32.3668 11.8939 32.3721 12.0992C32.3797 12.3941 32.1597 12.5917 31.8899 12.5994C31.5908 12.6078 31.3833 12.4177 31.3758 12.1251C31.3707 11.9268 31.4456 11.7759 31.6214 11.6977L31.6126 11.3556C31.2255 11.4421 31.0636 11.8009 31.0722 12.1337C31.0767 12.5681 31.3751 12.9706 31.8991 12.9557Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M31.5348 10.2594L32.7864 10.5517L32.8573 10.2176L31.6056 9.92523L31.6965 9.49661L31.411 9.42993L31.1579 10.6236L31.4434 10.6903L31.5348 10.2594Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M32.6805 8.11039L33.4869 8.52935L33.6356 8.21411L32.2183 7.47778L32.1714 7.57722L32.5856 8.82766L31.7852 8.41183L31.6354 8.72919L33.0508 9.46448L33.0957 9.36927L32.6805 8.11039Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M34.6633 6.90948L34.814 7.05131L35.0138 6.81752L34.6503 6.47555L34.5242 6.6232L33.5643 5.72021L33.3376 5.98564L34.2823 6.87445L33.9038 7.31741L32.9592 6.42861L32.7339 6.69227L33.9064 7.7954L34.6633 6.90948Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M35.516 5.07213L35.9991 5.86885L36.2819 5.68002L35.4329 4.27979L35.3437 4.33935L35.0808 5.63412L34.6014 4.84338L34.3167 5.03348L35.1645 6.43171L35.2499 6.37469L35.516 5.07213Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M37.4177 4.26129L37.676 5.16585L37.9971 5.06489L37.5431 3.4751L37.4419 3.50695L36.8533 4.67785L36.597 3.78006L36.2737 3.88172L36.7271 5.46923L36.824 5.43874L37.4177 4.26129Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M39.7889 3.63976L40.1901 3.67557L40.1049 4.72705L39.5154 4.67443C39.5864 4.63339 39.6263 4.53268 39.6389 4.46037L39.7889 3.63976ZM39.0565 4.62636L39.0134 5.15798L39.3294 5.18619L39.3483 4.95331C39.6868 4.98352 39.9401 5.00613 40.2785 5.03634L40.2597 5.26921L40.56 5.29602L40.6031 4.76441L40.435 4.7494L40.5443 3.40154C40.2237 3.37293 39.8426 3.33891 39.5221 3.3103L39.3083 4.41664C39.2775 4.57264 39.2449 4.64081 39.1103 4.63116L39.0565 4.62636Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M42.667 4.95915C42.8564 4.4412 42.5946 4.01715 42.2102 3.86235C41.8196 3.70501 41.3555 3.83417 41.1653 4.35432C40.975 4.87447 41.2284 5.29514 41.6212 5.45333C42.0664 5.63266 42.4952 5.42861 42.667 4.95915ZM41.4824 4.48206C41.6017 4.15585 41.868 4.07346 42.099 4.16651C42.328 4.25871 42.4742 4.50471 42.354 4.83311C42.2307 5.17033 41.9648 5.24527 41.7358 5.15307C41.5006 5.05832 41.3591 4.81927 41.4824 4.48206Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M43.1248 5.23009C42.8071 5.66463 42.9479 6.14693 43.2763 6.41134C43.5369 6.62115 43.9082 6.69105 44.2151 6.38765L43.9581 6.18071C43.7989 6.30544 43.616 6.2802 43.4607 6.15518C43.2376 5.97555 43.23 5.67184 43.3944 5.44707C43.5765 5.19796 43.8478 5.14867 44.0692 5.32686C44.2191 5.44758 44.2836 5.60366 44.2308 5.79618L44.4895 6.00455C44.6693 5.63454 44.5057 5.27663 44.2541 5.07401C43.9298 4.80397 43.4439 4.79367 43.1248 5.23009Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M45.339 6.60757L44.336 7.446L44.5393 7.71375L45.5422 6.87531L45.8029 7.21877L46.0317 7.02755L45.3056 6.07104L45.0769 6.26227L45.339 6.60757Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M45.466 8.46952C45.2899 8.47339 45.2251 8.39368 45.2154 8.21728L44.9491 8.30171C44.9892 8.74125 45.2129 8.82329 45.5631 8.81133L46.9032 8.81577L46.9335 8.80018L46.776 8.46316L46.0112 8.48341L46.0063 8.47281L46.4729 7.81458L46.3094 7.46484L46.271 7.48459L45.623 8.46761L45.466 8.46952Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M47.1502 9.46289L45.608 9.79728C45.6308 9.91288 45.6536 10.0285 45.6763 10.1441L46.9188 9.87465L47.0403 10.4919L45.7978 10.7613C45.8206 10.8769 45.8434 10.9925 45.8661 11.1081L47.4083 10.7738L47.1502 9.46289Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M45.8237 13.0055L47.3947 13.1201L47.4181 12.7669L46.8189 12.7231L46.8607 12.092L47.4599 12.1357L47.4831 11.7848L45.9122 11.6702L45.8889 12.0211L46.5532 12.0696L46.5114 12.7007L45.8471 12.6522L45.8237 13.0055Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M47.0839 14.5381L47.2062 14.2182L45.7446 13.603L45.4968 14.2516C45.3736 14.5737 45.5041 14.8474 45.7284 14.9773C45.9947 15.1302 46.3537 15.0599 46.501 14.6743L46.6266 14.3456L47.0484 14.5231C47.0589 14.5276 47.0714 14.5329 47.0839 14.5381ZM46.2254 14.5583C46.1668 14.7117 46.0101 14.7475 45.8836 14.6789C45.7517 14.6056 45.7267 14.4806 45.7912 14.3119C45.8264 14.2199 45.8636 14.1288 45.898 14.039L46.351 14.2296L46.238 14.5255C46.2338 14.5364 46.2297 14.5473 46.2254 14.5583ZM46.5404 15.9602L46.6652 15.6337L45.2036 15.0185L45.0789 15.3449L46.5404 15.9602Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M44.3599 18.0249C44.5698 18.242 44.8369 18.2133 45.039 17.9981L45.508 17.4987L44.388 16.3403L43.8748 16.8868C43.6537 17.1222 43.6588 17.3993 43.8559 17.6031C43.9712 17.7224 44.1179 17.758 44.2637 17.6935C44.2375 17.8122 44.2782 17.9405 44.3599 18.0249ZM44.8513 17.7675C44.7691 17.8549 44.6641 17.8557 44.584 17.7695C44.5103 17.6899 44.516 17.5897 44.5965 17.504L44.8128 17.2737L45.0676 17.5371L44.8513 17.7675ZM44.3663 17.3388C44.33 17.3775 44.2952 17.4078 44.2491 17.4165C44.1919 17.4269 44.1329 17.4023 44.0896 17.3542C44.019 17.2713 44.0183 17.1712 44.0989 17.0854L44.361 16.8063L44.6174 17.0715L44.3663 17.3388Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M43.7067 18.1751C43.4429 17.7025 42.9641 17.6575 42.607 17.8771C42.3236 18.0513 42.1219 18.386 42.274 18.7986L42.5536 18.6268C42.5035 18.425 42.5947 18.2567 42.7635 18.1529C43.0062 18.0038 43.2771 18.1108 43.4136 18.3553C43.5649 18.6262 43.5061 18.9085 43.2654 19.0565C43.1023 19.1568 42.9402 19.1607 42.7902 19.0367L42.5087 19.2097C42.7676 19.5239 43.1452 19.4998 43.4188 19.3315C43.7795 19.1181 43.9716 18.6497 43.7067 18.1751Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M41.0545 20.3067L41.9831 20.0307L41.5539 18.4407L40.608 18.7219L40.6914 19.0307L41.3105 18.8468L41.4086 19.2102L40.8458 19.3774L40.9261 19.675L41.4889 19.5077L41.5759 19.8302L40.9742 20.0091L41.0545 20.3067Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M39.3932 19.7146L40.0368 20.4903L40.1606 20.4884L40.1361 18.8313L39.7987 18.8368L39.8119 19.7314L39.4084 19.2185L39.3656 19.2192L38.9774 19.7449L38.9643 18.8502L38.6268 18.8557L38.6512 20.5129L38.7727 20.5109L39.3932 19.7146Z",fill:"#A8A8A8"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2716 17.3467C42.0976 17.3467 44.4027 14.9372 44.4027 11.9467C44.4027 8.95624 42.0976 6.5467 39.2716 6.5467C36.4455 6.5467 34.1404 8.95624 34.1404 11.9467C34.1404 14.9372 36.4455 17.3467 39.2716 17.3467ZM39.2716 17.6134C42.2502 17.6134 44.6648 15.0763 44.6648 11.9467C44.6648 8.81708 42.2502 6.28003 39.2716 6.28003C36.293 6.28003 33.8783 8.81708 33.8783 11.9467C33.8783 15.0763 36.293 17.6134 39.2716 17.6134Z",fill:"#A8A8A8"})),ju=()=>{const{LinkWrapper:e,hostnames:{hostname:t}}=ue(),{locale:n}=ie(),r=n===pn.ru?`${t}/`:`${t}/market/dashboard`;return s.jsx(e,{style:{height:"24px"},href:r,"aria-label":fn[n].logo,children:s.jsx(jC,{})})},RC=h.styled.div`
|
|
2488
|
+
`,IC=()=>{const[e,t]=m.useState(!1),{instrumentId:n,handleClose:r}=H1(),{locale:o}=ie();return s.jsx($C,{open:n!==null,onClose:r,title:dt[o].title,maxWidth:"564px",bottomContent:s.jsx(_C,{text:dt[o].createList,mode:"flatBrand",onClick:()=>t(!0),iconLeft:s.jsx(pC,{}),disabled:e}),children:s.jsx(MC,{isCreatingList:e,setIsCreatingList:t})})},bl=({onClose:e,isWithoutTitle:t,category:n})=>{const{data:r,searchText:o,isLoading:i}=sC(n),{listItems:a,tabs:l,bubbles:c,selectedTab:u,setSelectedTab:p,setSelectedBubble:f,selectedBubble:g}=ag(r),v=!!o&&!l&&r!==null,C=!r&&(!n||n===ir.invest);return s.jsxs(xu,{children:[s.jsxs(rg,{children:[s.jsx(Wg,{isWithoutTitle:t,bubbles:c,tabs:l,category:n,selectedTab:u,setSelectedTab:p,selectedBubble:g,setSelectedBubble:f}),s.jsxs(og,{children:[n!==ir.club&&s.jsx(wv,{isRenderSelections:C,onClose:e}),!!a?.length&&s.jsx(iC,{searchText:o,listItems:a,onClose:e}),s.jsx(uC,{isEmpty:v,isLoading:i,category:n})]})]}),s.jsx(IC,{})]})},SC=({isOpenSearch:e})=>{const[t,n]=m.useState(!1);m.useEffect(()=>{n(e)},[e]);const{locale:r}=ie();return s.jsxs(s.Fragment,{children:[s.jsxs(Vm,{onClick:()=>n(!0),children:[s.jsx(Hm,{children:s.jsx(dl,{})}),s.jsx("span",{children:Me[r].search})]}),t&&s.jsxs(Nm,{children:[s.jsxs(Om,{children:[s.jsxs(Wm,{children:[Me[r].search_header,s.jsx(Zm,{onClick:()=>n(!1),children:s.jsx(iu,{})})]}),s.jsx(su,{locale:r})]}),s.jsx(Ym,{children:s.jsx(bl,{isWithoutTitle:!0,onClose:()=>n(!1)})})]})]})},Au=m.createContext(null),V1=()=>{const e=m.useContext(Au);if(!e)throw new Error("useHeaderV2Context must be used within HeaderV2");return e},DC=({isOpenSearch:e})=>{const{leaderBoardPermission:t,isEmployee:n}=V1(),{setShowQuiz:r,QuizModal:o}=cl(),{hostnames:{hostname:i,hostnameLenta:a,hostnameLMS:l},userRole:c,user:u}=ue();tl(!0),el();const p=n0(i,a,l,t,c,u.type,!0,n),{locale:f}=ie();return s.jsxs(s.Fragment,{children:[s.jsxs(x7,{children:[s.jsxs(b7,{children:[s.jsx(y7,{children:et[f].main_menu}),s.jsx(SC,{isOpenSearch:e})]}),s.jsx(w7,{children:p.map(g=>s.jsx(Yf,{data:g,setShowQuiz:r},g.name))})]}),o]})},fn={ru:{logo:"Логотип компании",search:"Поиск по сайту",profile:"Меню профиля",header:"Шапка сайта",burger:"Боковое меню",favourite:"Мое избранное",favouriteClosePanel:"Закрыть панель избранного",notifications:"Мои уведомления",basket:"Корзина"},en:{logo:"Company logo",search:"Site search",profile:"Profile menu",header:"Site header",burger:"Side menu",favourite:"My favourite",favouriteClosePanel:"Close favourites panel",notifications:"My notifications",basket:"My basket"}},AC=()=>{const[e,t]=m.useState(!1),[n,r]=m.useState(!1),{locale:o}=ie(),{pathname:i}=ue();return m.useEffect(()=>{t(!1)},[i]),m.useEffect(()=>{const a=()=>{t(!0),r(!0)},l=Ke.subscribe(Ze.SearchOpen,a);return()=>{l()}},[]),s.jsxs(s.Fragment,{children:[e&&s.jsx(m7,{onClick:()=>t(!1)}),s.jsxs(h7,{children:[s.jsxs(g7,{onClick:()=>t(!e),$isOpen:e,"aria-label":fn[o].burger,children:[s.jsx("div",{}),s.jsx("div",{}),s.jsx("div",{})]}),e&&s.jsx(DC,{isOpenSearch:n})]})]})},jC=e=>d.createElement("svg",{width:152,height:24,viewBox:"0 0 152 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M3.98022 20.3909V16.0391H6.72072C10.3312 16.0391 12.18 12.9615 12.18 9.88386C12.2452 6.71009 10.3747 3.56036 6.72072 3.56036C4.45872 3.53632 2.262 3.56036 0 3.56036V20.3909H3.98022ZM3.915 12.2161V7.38331H6.72072C7.80822 7.38331 8.37372 8.56146 8.37372 9.76364C8.37372 10.9899 7.76472 12.2161 6.72072 12.2161H3.915ZM24.234 14.4281C25.7347 13.2981 26.4742 11.4467 26.496 9.52321C26.496 6.56583 24.6907 3.56036 21.0149 3.56036C18.7747 3.53632 16.5779 3.56036 14.3159 3.56036V20.3909H18.2962V15.1254H20.3842L22.9942 20.3909H27.2137V19.7658L24.234 14.4281ZM18.2309 11.5428V7.38331H20.9932C22.1242 7.38331 22.6462 8.36911 22.6462 9.42703C22.6462 10.485 22.1024 11.5428 20.9932 11.5428H18.2309ZM64.3101 11.1341H59.4381V7.40736H64.9626V3.58441H55.4578V20.415H59.4381V14.9811H64.3101V11.1341ZM72.6601 16.8565V7.14288H74.4218V3.58441H66.9182V7.14288H68.6799V16.8565H66.7438V20.415H74.5955V16.8565H72.6601ZM89.256 20.4631H90.43V3.58441H86.4498V11.8074L78.5112 3.51228H77.2714V20.415H81.2515V11.7352L89.256 20.4631ZM102.521 18.3232L103.413 20.415H107.523V19.8139L100.606 3.4161H98.7796L91.7979 19.8139V20.415H95.9524L96.8224 18.3232H102.521ZM99.6713 10.5811L101.259 14.6445H98.1057L99.6713 10.5811ZM120.904 20.4631H122.078V3.58441H118.098V11.8074L110.159 3.51228H108.919V20.415H112.899V11.7352L120.904 20.4631ZM124.577 15.2456C124.512 19.0205 127.6 20.7997 130.819 20.7997C133.929 20.7997 137.039 18.9483 137.039 15.4139C137.039 11.3265 134.212 10.485 130.972 10.1724C129.514 10.0041 128.644 9.7396 128.644 8.60954C128.644 7.33523 129.819 7.07075 130.711 7.07075C131.776 7.07075 132.755 7.55162 132.777 8.70572H136.496C136.561 5.05107 133.582 3.19971 130.645 3.19971C127.535 3.19971 124.729 5.05107 124.729 8.70572C124.729 12.2161 127.514 13.4423 130.297 13.6347C131.407 13.7068 133.103 13.7789 133.103 15.3898C133.103 16.3997 131.907 16.9767 130.776 16.9767C129.558 16.9767 128.362 16.3997 128.362 15.2456H124.577ZM144.345 9.16255L141.582 3.58441H137.319V4.23359L142.43 13.7549V20.415H146.41V13.7549L151.5 4.23359V3.58441H147.28L144.518 9.16255H144.345Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M35.2008 18.5389L35.6556 17.7242L35.3664 17.5464L34.567 18.9784L34.6583 19.0345L35.876 18.6886L35.4245 19.4973L35.7157 19.6763L36.514 18.2463L36.4266 18.1926L35.2008 18.5389Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M34.0924 16.2656L32.9589 17.4128L33.1931 17.6677L33.6255 17.2301L34.044 17.6855L33.6116 18.123L33.8443 18.3763L34.9779 17.2292L34.7452 16.976L34.2658 17.461L33.8473 17.0056L34.3267 16.5205L34.0924 16.2656Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M32.2445 15.3205C31.9874 15.4718 31.9396 15.7491 32.0806 16.0126L32.4076 16.624L33.7789 15.8163L33.4211 15.1472C33.2669 14.859 33.0118 14.7873 32.7705 14.9294C32.6292 15.0126 32.5559 15.1505 32.5746 15.3156C32.4732 15.2562 32.3445 15.2616 32.2445 15.3205ZM32.3438 15.8873C32.2866 15.7802 32.3149 15.6742 32.4161 15.6173C32.5094 15.565 32.5996 15.5986 32.6558 15.7036L32.8066 15.9856L32.4946 16.1694L32.3438 15.8873ZM32.8708 15.5173C32.8455 15.47 32.8274 15.4264 32.8322 15.3776C32.8385 15.3171 32.8774 15.2644 32.9335 15.234C33.029 15.186 33.1209 15.213 33.177 15.318L33.3598 15.6598L33.0459 15.8446L32.8708 15.5173Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M31.2693 13.7934L31.5359 14.7668L33.0494 14.3104L32.7779 13.3188L32.4839 13.4075L32.6615 14.0564L32.3156 14.1607L32.154 13.5708L31.8708 13.6562L32.0324 14.2461L31.7253 14.3387L31.5526 13.708L31.2693 13.7934Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M31.8991 12.9557C32.4208 12.9409 32.6891 12.5224 32.6779 12.0881C32.669 11.7436 32.4868 11.3969 32.0689 11.3379L32.0777 11.6777C32.2703 11.7289 32.3668 11.8939 32.3721 12.0992C32.3797 12.3941 32.1597 12.5917 31.8899 12.5994C31.5908 12.6078 31.3833 12.4177 31.3758 12.1251C31.3707 11.9268 31.4456 11.7759 31.6214 11.6977L31.6126 11.3556C31.2255 11.4421 31.0636 11.8009 31.0722 12.1337C31.0767 12.5681 31.3751 12.9706 31.8991 12.9557Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M31.5348 10.2594L32.7864 10.5517L32.8573 10.2176L31.6056 9.92523L31.6965 9.49661L31.411 9.42993L31.1579 10.6236L31.4434 10.6903L31.5348 10.2594Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M32.6805 8.11039L33.4869 8.52935L33.6356 8.21411L32.2183 7.47778L32.1714 7.57722L32.5856 8.82766L31.7852 8.41183L31.6354 8.72919L33.0508 9.46448L33.0957 9.36927L32.6805 8.11039Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M34.6633 6.90948L34.814 7.05131L35.0138 6.81752L34.6503 6.47555L34.5242 6.6232L33.5643 5.72021L33.3376 5.98564L34.2823 6.87445L33.9038 7.31741L32.9592 6.42861L32.7339 6.69227L33.9064 7.7954L34.6633 6.90948Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M35.516 5.07213L35.9991 5.86885L36.2819 5.68002L35.4329 4.27979L35.3437 4.33935L35.0808 5.63412L34.6014 4.84338L34.3167 5.03348L35.1645 6.43171L35.2499 6.37469L35.516 5.07213Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M37.4177 4.26129L37.676 5.16585L37.9971 5.06489L37.5431 3.4751L37.4419 3.50695L36.8533 4.67785L36.597 3.78006L36.2737 3.88172L36.7271 5.46923L36.824 5.43874L37.4177 4.26129Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M39.7889 3.63976L40.1901 3.67557L40.1049 4.72705L39.5154 4.67443C39.5864 4.63339 39.6263 4.53268 39.6389 4.46037L39.7889 3.63976ZM39.0565 4.62636L39.0134 5.15798L39.3294 5.18619L39.3483 4.95331C39.6868 4.98352 39.9401 5.00613 40.2785 5.03634L40.2597 5.26921L40.56 5.29602L40.6031 4.76441L40.435 4.7494L40.5443 3.40154C40.2237 3.37293 39.8426 3.33891 39.5221 3.3103L39.3083 4.41664C39.2775 4.57264 39.2449 4.64081 39.1103 4.63116L39.0565 4.62636Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M42.667 4.95915C42.8564 4.4412 42.5946 4.01715 42.2102 3.86235C41.8196 3.70501 41.3555 3.83417 41.1653 4.35432C40.975 4.87447 41.2284 5.29514 41.6212 5.45333C42.0664 5.63266 42.4952 5.42861 42.667 4.95915ZM41.4824 4.48206C41.6017 4.15585 41.868 4.07346 42.099 4.16651C42.328 4.25871 42.4742 4.50471 42.354 4.83311C42.2307 5.17033 41.9648 5.24527 41.7358 5.15307C41.5006 5.05832 41.3591 4.81927 41.4824 4.48206Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M43.1248 5.23009C42.8071 5.66463 42.9479 6.14693 43.2763 6.41134C43.5369 6.62115 43.9082 6.69105 44.2151 6.38765L43.9581 6.18071C43.7989 6.30544 43.616 6.2802 43.4607 6.15518C43.2376 5.97555 43.23 5.67184 43.3944 5.44707C43.5765 5.19796 43.8478 5.14867 44.0692 5.32686C44.2191 5.44758 44.2836 5.60366 44.2308 5.79618L44.4895 6.00455C44.6693 5.63454 44.5057 5.27663 44.2541 5.07401C43.9298 4.80397 43.4439 4.79367 43.1248 5.23009Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M45.339 6.60757L44.336 7.446L44.5393 7.71375L45.5422 6.87531L45.8029 7.21877L46.0317 7.02755L45.3056 6.07104L45.0769 6.26227L45.339 6.60757Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M45.466 8.46952C45.2899 8.47339 45.2251 8.39368 45.2154 8.21728L44.9491 8.30171C44.9892 8.74125 45.2129 8.82329 45.5631 8.81133L46.9032 8.81577L46.9335 8.80018L46.776 8.46316L46.0112 8.48341L46.0063 8.47281L46.4729 7.81458L46.3094 7.46484L46.271 7.48459L45.623 8.46761L45.466 8.46952Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M47.1502 9.46289L45.608 9.79728C45.6308 9.91288 45.6536 10.0285 45.6763 10.1441L46.9188 9.87465L47.0403 10.4919L45.7978 10.7613C45.8206 10.8769 45.8434 10.9925 45.8661 11.1081L47.4083 10.7738L47.1502 9.46289Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M45.8237 13.0055L47.3947 13.1201L47.4181 12.7669L46.8189 12.7231L46.8607 12.092L47.4599 12.1357L47.4831 11.7848L45.9122 11.6702L45.8889 12.0211L46.5532 12.0696L46.5114 12.7007L45.8471 12.6522L45.8237 13.0055Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M47.0839 14.5381L47.2062 14.2182L45.7446 13.603L45.4968 14.2516C45.3736 14.5737 45.5041 14.8474 45.7284 14.9773C45.9947 15.1302 46.3537 15.0599 46.501 14.6743L46.6266 14.3456L47.0484 14.5231C47.0589 14.5276 47.0714 14.5329 47.0839 14.5381ZM46.2254 14.5583C46.1668 14.7117 46.0101 14.7475 45.8836 14.6789C45.7517 14.6056 45.7267 14.4806 45.7912 14.3119C45.8264 14.2199 45.8636 14.1288 45.898 14.039L46.351 14.2296L46.238 14.5255C46.2338 14.5364 46.2297 14.5473 46.2254 14.5583ZM46.5404 15.9602L46.6652 15.6337L45.2036 15.0185L45.0789 15.3449L46.5404 15.9602Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M44.3599 18.0249C44.5698 18.242 44.8369 18.2133 45.039 17.9981L45.508 17.4987L44.388 16.3403L43.8748 16.8868C43.6537 17.1222 43.6588 17.3993 43.8559 17.6031C43.9712 17.7224 44.1179 17.758 44.2637 17.6935C44.2375 17.8122 44.2782 17.9405 44.3599 18.0249ZM44.8513 17.7675C44.7691 17.8549 44.6641 17.8557 44.584 17.7695C44.5103 17.6899 44.516 17.5897 44.5965 17.504L44.8128 17.2737L45.0676 17.5371L44.8513 17.7675ZM44.3663 17.3388C44.33 17.3775 44.2952 17.4078 44.2491 17.4165C44.1919 17.4269 44.1329 17.4023 44.0896 17.3542C44.019 17.2713 44.0183 17.1712 44.0989 17.0854L44.361 16.8063L44.6174 17.0715L44.3663 17.3388Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M43.7067 18.1751C43.4429 17.7025 42.9641 17.6575 42.607 17.8771C42.3236 18.0513 42.1219 18.386 42.274 18.7986L42.5536 18.6268C42.5035 18.425 42.5947 18.2567 42.7635 18.1529C43.0062 18.0038 43.2771 18.1108 43.4136 18.3553C43.5649 18.6262 43.5061 18.9085 43.2654 19.0565C43.1023 19.1568 42.9402 19.1607 42.7902 19.0367L42.5087 19.2097C42.7676 19.5239 43.1452 19.4998 43.4188 19.3315C43.7795 19.1181 43.9716 18.6497 43.7067 18.1751Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M41.0545 20.3067L41.9831 20.0307L41.5539 18.4407L40.608 18.7219L40.6914 19.0307L41.3105 18.8468L41.4086 19.2102L40.8458 19.3774L40.9261 19.675L41.4889 19.5077L41.5759 19.8302L40.9742 20.0091L41.0545 20.3067Z",fill:"#A8A8A8"}),d.createElement("path",{d:"M39.3932 19.7146L40.0368 20.4903L40.1606 20.4884L40.1361 18.8313L39.7987 18.8368L39.8119 19.7314L39.4084 19.2185L39.3656 19.2192L38.9774 19.7449L38.9643 18.8502L38.6268 18.8557L38.6512 20.5129L38.7727 20.5109L39.3932 19.7146Z",fill:"#A8A8A8"}),d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2716 17.3467C42.0976 17.3467 44.4027 14.9372 44.4027 11.9467C44.4027 8.95624 42.0976 6.5467 39.2716 6.5467C36.4455 6.5467 34.1404 8.95624 34.1404 11.9467C34.1404 14.9372 36.4455 17.3467 39.2716 17.3467ZM39.2716 17.6134C42.2502 17.6134 44.6648 15.0763 44.6648 11.9467C44.6648 8.81708 42.2502 6.28003 39.2716 6.28003C36.293 6.28003 33.8783 8.81708 33.8783 11.9467C33.8783 15.0763 36.293 17.6134 39.2716 17.6134Z",fill:"#A8A8A8"})),ju=()=>{const{LinkWrapper:e,hostnames:{hostname:t}}=ue(),{locale:n}=ie(),r=n===Zt.ru?`${t}/`:`${t}/market/dashboard`;return s.jsx(e,{style:{height:"24px"},href:r,"aria-label":fn[n].logo,children:s.jsx(jC,{})})},RC=h.styled.div`
|
|
2489
2489
|
display: flex;
|
|
2490
2490
|
align-items: center;
|
|
2491
2491
|
`,TC=h.styled.div`
|
|
@@ -3148,7 +3148,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
3148
3148
|
background: ${e=>e.theme.stroke.secondary};
|
|
3149
3149
|
border-radius: 12px;
|
|
3150
3150
|
top: ${({thumbPosition:e})=>e}%;
|
|
3151
|
-
`;function nb({data:e,contentRef:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(0),[a,l]=m.useState(0),[c,u]=m.useState(!1),[p,f]=m.useState(0),[g,v]=m.useState(0),C=w=>{u(!0),f(w.clientY),v(a)},x=w=>{if(!c||!t.current)return;const{scrollHeight:L,clientHeight:E}=t.current,$=L-E,M=100-o,_=w.clientY-p,D=Math.min(Math.max(g+_/E*100,0),M);l(D),t.current.scrollTop=D/M*$},b=()=>{u(!1)},y=()=>{if(t.current){const{clientHeight:w,scrollHeight:L}=t.current,E=w/L;i(E*100)}},k=w=>{t.current&&t.current.scrollBy({top:w==="up"?-300:300,behavior:"smooth"})};return m.useEffect(()=>{const w=()=>{const E=t.current;if(E){const{scrollTop:$,scrollHeight:M,clientHeight:_}=E,D=M-_,P=$/D;l(P*(100-o))}},L=t.current;if(L)return y(),L.addEventListener("scroll",w),()=>{L.removeEventListener("scroll",w)}},[t,e,o]),m.useEffect(()=>(c?(document.addEventListener("mousemove",x),document.addEventListener("mouseup",b)):(document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",b)),()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",b)}),[c]),m.useEffect(()=>{const w=t.current;w&&w.scrollHeight-w.clientHeight>0&&r(!0)},[e,t]),n?s.jsxs(qx,{children:[s.jsx(ko,{onClick:()=>k("up"),size:"M",style:{transform:"rotate(90deg)"}}),s.jsx(eb,{children:s.jsx(tb,{onMouseDown:C,thumbHeight:o,thumbPosition:a})}),s.jsx(ko,{onClick:()=>k("down"),size:"M",style:{transform:"rotate(-90deg)"}})]}):null}function rb({columns:e,tCellRenderer:t,columnRenderer:n,RowWrapper:r,RowWrapperExpand:o,data:i,tableHeight:a,isLoading:l=!1,loadingAmountRow:c=20,hints:u,rowHeight:p,stickyFirstColumn:f,stickyLastColumn:g,stickyHeader:v,stickyPageHeader:C,isDraggable:x,customSort:b,onScrollEndReach:y,fixedHeaderOffset:k,isScrollWithButton:w,onClickRow:L,onDoubleClickRow:E,onHoverRow:$,onColumnsReorder:M,pagination:_}){const D=m.useRef(null),P=m.useRef(null),{lastRowRef:N}=Yu(y),{mode:F}=ne(),{sortedData:V,handleSort:T,activeSortField:H,activeSortOrder:I}=Qx(i,b),{isScrolled:j,isScrolledEnd:A}=Jx(D,f,g),R=m.useMemo(()=>{if(b)return i;if(_){const{currentPage:oe,amount:z}=_,te=oe*z,Q=te+z;return V.slice(te,Q)}return V},[b,i,V,_]),{reachedTop:W,tableWidth:Z,tableLeftPosition:X}=Kx(C,k,i,e,D,P,N),{isStartDragging:me}=Zu(D,x,!!M),re=()=>s.jsxs(Sx,{$tableHeight:a,ref:D,$isDraggable:x,$isStartDragging:me,children:[s.jsxs(Dx,{children:[s.jsx(s2,{onColumnsReorder:M,activeSortField:H,activeSortOrder:I,handleSort:T,columns:e,hints:u,isScrolled:j,isScrolledEnd:A,stickyFirstColumn:f,stickyLastColumn:g,stickyHeader:v,columnRenderer:n}),s.jsx(Vx,{isLoading:l,loadingAmountRow:c,stickyFirstColumn:f,stickyLastColumn:g,isScrolled:j,isScrolledEnd:A,isStartDragging:me,columns:e,data:R,tCellRenderer:t,RowWrapper:r,RowWrapperExpand:o,rowHeight:p,onClickRow:L,onHoverRow:$,onDoubleClickRow:E}),C&&W&&s.jsxs(Ax,{ref:P,fixedHeaderOffset:k,tableWidth:Z,left:X,children:[s.jsx(jx,{}),s.jsx(s2,{onColumnsReorder:M,activeSortField:H,activeSortOrder:I,handleSort:T,columns:e,hints:u,isScrolled:j,isScrolledEnd:A,stickyFirstColumn:f,stickyLastColumn:g,stickyHeader:v,columnRenderer:n})]})]}),s.jsx("div",{ref:N})]});return w?s.jsx(h.ThemeProvider,{theme:U[F],children:s.jsxs(Rx,{children:[re(),s.jsx(nb,{contentRef:D,data:R})]})}):s.jsx(h.ThemeProvider,{theme:U[F],children:re()})}const as=({children:e,hiddenText:t,style:n,className:r,valueNumber:o,nowrap:i})=>{const a={};return i&&(a.whiteSpace="nowrap"),t?s.jsx(Eo,{...t,children:s.jsx(B,{variant:"caption-Medium",tag:"span",colorName:"primary",valueNumber:o,className:Te(r,"TCellText"),...a,...n,children:e})}):s.jsx(B,{variant:"caption-Medium",tag:"span",colorName:"primary",valueNumber:o,className:Te(r,"TCellText"),...a,...n,children:e})};let Jt=null;const ob=e=>Jt&&Jt.connected?(Jt.emit("auth",e),Jt):(Jt=A6(c7,{path:"/websocket",transports:["websocket"]}),Jt.on("connect",()=>{Jt?.emit("auth",e)}),Jt.on("disconnect",t=>{t==="io server disconnect"&&setTimeout(()=>Jt?.connect(),3e3)}),Jt),zu=m.createContext({}),Gu=({token:e,children:t})=>{const[n,r]=m.useState();return m.useEffect(()=>{e&&r(ob(e))},[e]),s.jsx(zu.Provider,{value:{socket:n},children:t})},Xu=e=>t=>s.jsx(zu.Consumer,{children:({socket:n})=>s.jsx(e,{...t,socket:n})}),yl=m.createContext({add:()=>{},delete:()=>{},_attach:()=>{},_detach:()=>{},QuotesValues:{},ChangeValues:{},TimeValues:{},CapsValues:{},PValues:{}});class ib extends m.Component{constructor(t){super(t),this.quotes=[],this.quotesMas={},this.data={},this.dataChanges={},this.dataTimes={},this.dataCaps={},this.dataP={},this.mounted=!1,this.lastUpdateId=0,this._needForce=()=>{this.mounted&&(this.raf&&cancelAnimationFrame(this.raf),this.raf=void 0,this.raf=requestAnimationFrame(()=>{this.forceUpdate()}))},this._update=n=>{const{id:r,value:o,change:i,time:a,cap:l,p:c}=n;this.props.onChange&&this.props.onChange(r,o,i,l,c),this.lastUpdateId=r,this.data[r]=o,this.dataChanges[r]=i,this.dataTimes[r]=a,this.dataCaps[r]=l,this.dataP[r]=c,this._needForce()},this._newQuotes=(n,r)=>{const o=new Set(r),i=new Set(n),a=[...i].filter(c=>!o.has(c)),l=[...o].filter(c=>!i.has(c));return{needAdd:a,needDelete:l}},this.quotes=[...this.props.quotes],this.quotes.forEach(n=>{this.quotesMas[n]=!0}),this.props.initValues&&this.props.onChange&&Object.entries(this.props.initValues).forEach(([n,r])=>{this.data[n]||this.props.onChange(n,r)})}componentDidMount(){this.mounted=!0,this.props.add(this.quotes,this),this.props._attach(this)}componentWillUnmount(){this.mounted=!1,this.props._detach(this),this.props.delete(this.quotes),this.raf&&cancelAnimationFrame(this.raf)}componentDidUpdate(){const t=this._newQuotes(this.props.quotes,this.quotes);this.quotes=[...this.props.quotes],this.quotesMas={},this.quotes.forEach(r=>{this.quotesMas[r]=!0});let n=!1;t.needAdd.length>0&&(n=!0,this.props.add(t.needAdd,this)),t.needDelete.length>0&&(n=!0,t.needDelete.forEach(r=>{delete this.data[r]}),this.props.delete(t.needDelete)),n&&this._needForce()}render(){const t={},n={},r={},o={},i={};return this.props.quotes.forEach(l=>{this.data[l]!==void 0?(t[l]=this.data[l],n[l]=this.dataChanges[l],r[l]=this.dataTimes[l],o[l]=this.dataCaps[l],i[l]=this.dataP[l]):this.props.initValues&&this.props.initValues[l]!==void 0?t[l]=this.props.initValues[l]:this.props.QuotesValues[l]!==void 0&&(t[l]=this.props.QuotesValues[l],n[l]=this.props.ChangeValues[l],r[l]=this.dataTimes[l],o[l]=this.dataCaps[l],i[l]=this.dataP[l])}),t.llen=0,this.props.children(t,n,r,o,i)}}class ab extends m.Component{render(){return s.jsx(yl.Consumer,{children:t=>s.jsx(ib,{...t,...this.props})})}}class sb extends m.Component{constructor(t){super(t),this.localQuotes={},this.QuotesValues={},this.ChangeValues={},this.TimesValues={},this.CapsValues={},this.PValues={},this.components=[],this.bind=!1,this._touchEvents=n=>{n.socket&&!this.bind&&(this.bind=!0,n.socket.on("connect",()=>{Object.keys(this.localQuotes).forEach(r=>{this._emit("add_quote",r)})}),n.socket.on("quote",r=>{const{id:o,value:i,change:a,time:l,cap:c,p:u}=r;this.localQuotes[o]&&(this.QuotesValues[o]=i,this.ChangeValues[o]=a,this.TimesValues[o]=l,this.CapsValues[o]=c,this.PValues[o]=u,this.components.forEach(p=>{p.quotesMas[o]&&p._update({id:o,value:i,change:a,time:l,cap:c,p:u})}))}))},this._emit=(n,r)=>{this.props.socket&&this.props.socket.connected&&this.props.socket.emit(n,r)},this._add=(n,r)=>{n.forEach(o=>{this.localQuotes[o]?(this.localQuotes[o].count+=1,delete this.localQuotes[o].remove,this.QuotesValues[o]&&r._update({quote:o,value:this.QuotesValues[o],change:this.ChangeValues[o]||0,time:this.TimesValues[o]||0,cap:this.CapsValues[o]||0,p:this.PValues[o]||{}})):(this.localQuotes[o]={count:1},this._emit("add_quote",o))})},this._delete=n=>{n.forEach(r=>{this.localQuotes[r].count>1?this.localQuotes[r].count-=1:this.localQuotes[r].count===1&&(this.localQuotes[r].count=0,this.localQuotes[r].remove=Date.now())})},this._attach=n=>{this.components.push(n)},this._detach=n=>{const r=this.components.findIndex(o=>o===n);r!==-1&&this.components.splice(r,1)},this.localQuotes={},this.QuotesValues={},this.components=[],this.ChangeValues={},this.TimesValues={},this.CapsValues={},this.PValues={}}componentDidUpdate(t){this.props.socket&&!t.socket&&this._touchEvents(this.props)}componentDidMount(){this.interval=setInterval(()=>{Object.keys(this.localQuotes).forEach(t=>{const n=this.localQuotes[t];n.count<1&&Date.now()>n.remove+5e3&&(delete this.localQuotes[t],delete this.QuotesValues[t],delete this.ChangeValues[t],delete this.TimesValues[t],delete this.CapsValues[t],delete this.PValues[t],this._emit("delete_quote",t))})},1e3),this._touchEvents(this.props)}componentWillUnmount(){this.interval&&clearInterval(this.interval)}render(){return s.jsx(yl.Provider,{value:{add:this._add,delete:this._delete,QuotesValues:this.QuotesValues,ChangeValues:this.ChangeValues,TimeValues:this.TimesValues,CapsValues:this.CapsValues,PValues:this.PValues,_attach:this._attach,_detach:this._detach},children:this.props.children})}}const N1=e=>{if(!e.children||typeof e.children!="function")return null;const t=Array.isArray(e.quotes)?e.quotes:[];if(e.close===!0){const n={[t[0]]:e.closePrice,llen:1},r={},o={},i={},a={};return s.jsx(s.Fragment,{children:e.children(n,r,o,i,a)})}return s.jsx(ab,{...e})},lb=e=>t=>n=>{const r=e(n);return s.jsx(N1,{quotes:r,children:o=>s.jsx(t,{...n,values:o})})},Ju=Xu(sb),cb=({companyItem:e,getPriceDiff:t})=>{const n=`market_status_${e?.instrumentId}`,r=`${e?.instrumentId}_last_val_pre`;return s.jsx(Mx,{children:s.jsx(N1,{quotes:[e?.instrumentId,n,r],children:(o,i)=>{const a=o[e?.instrumentId],l=i[e?.instrumentId],c=t(e?.instrumentId,l/(a-l)*100),u=o[n],p=o[r],f=p&&p[0],g=p&&p[1],v=g/(f-g);return s.jsxs(s.Fragment,{children:[s.jsxs($x,{children:[s.jsxs(as,{style:{fontWeight:600},children:[s.jsx("span",{children:En(a,!0)||""})," ",s.jsx("span",{children:gu(e?.currency_code)})]}),s.jsxs(_x,{variant:"caption2-SemiBold",colorName:"contrastThemed",$isPositive:c>0,children:[En(c,!0),"%"]})]}),cx.includes(u)&&f&&s.jsxs(Ix,{children:[u===os.pre_market&&s.jsx(Lx,{}),u===os.post_market&&s.jsx(Ex,{}),s.jsxs(as,{style:{fontSize:"12px"},nowrap:!0,valueNumber:v,children:[En(v*100,!0),"%"]})]})]})}})})},db=h.createGlobalStyle`
|
|
3151
|
+
`;function nb({data:e,contentRef:t}){const[n,r]=m.useState(!1),[o,i]=m.useState(0),[a,l]=m.useState(0),[c,u]=m.useState(!1),[p,f]=m.useState(0),[g,v]=m.useState(0),C=w=>{u(!0),f(w.clientY),v(a)},x=w=>{if(!c||!t.current)return;const{scrollHeight:L,clientHeight:E}=t.current,$=L-E,M=100-o,_=w.clientY-p,D=Math.min(Math.max(g+_/E*100,0),M);l(D),t.current.scrollTop=D/M*$},b=()=>{u(!1)},y=()=>{if(t.current){const{clientHeight:w,scrollHeight:L}=t.current,E=w/L;i(E*100)}},k=w=>{t.current&&t.current.scrollBy({top:w==="up"?-300:300,behavior:"smooth"})};return m.useEffect(()=>{const w=()=>{const E=t.current;if(E){const{scrollTop:$,scrollHeight:M,clientHeight:_}=E,D=M-_,P=$/D;l(P*(100-o))}},L=t.current;if(L)return y(),L.addEventListener("scroll",w),()=>{L.removeEventListener("scroll",w)}},[t,e,o]),m.useEffect(()=>(c?(document.addEventListener("mousemove",x),document.addEventListener("mouseup",b)):(document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",b)),()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",b)}),[c]),m.useEffect(()=>{const w=t.current;w&&w.scrollHeight-w.clientHeight>0&&r(!0)},[e,t]),n?s.jsxs(qx,{children:[s.jsx(ko,{onClick:()=>k("up"),size:"M",style:{transform:"rotate(90deg)"}}),s.jsx(eb,{children:s.jsx(tb,{onMouseDown:C,thumbHeight:o,thumbPosition:a})}),s.jsx(ko,{onClick:()=>k("down"),size:"M",style:{transform:"rotate(-90deg)"}})]}):null}function rb({columns:e,tCellRenderer:t,columnRenderer:n,RowWrapper:r,RowWrapperExpand:o,data:i,tableHeight:a,isLoading:l=!1,loadingAmountRow:c=20,hints:u,rowHeight:p,stickyFirstColumn:f,stickyLastColumn:g,stickyHeader:v,stickyPageHeader:C,isDraggable:x,customSort:b,onScrollEndReach:y,fixedHeaderOffset:k,isScrollWithButton:w,onClickRow:L,onDoubleClickRow:E,onHoverRow:$,onColumnsReorder:M,pagination:_}){const D=m.useRef(null),P=m.useRef(null),{lastRowRef:N}=Yu(y),{mode:F}=ne(),{sortedData:V,handleSort:T,activeSortField:H,activeSortOrder:I}=Qx(i,b),{isScrolled:j,isScrolledEnd:A}=Jx(D,f,g),R=m.useMemo(()=>{if(b)return i;if(_){const{currentPage:oe,amount:z}=_,te=oe*z,Q=te+z;return V.slice(te,Q)}return V},[b,i,V,_]),{reachedTop:W,tableWidth:Z,tableLeftPosition:X}=Kx(C,k,i,e,D,P,N),{isStartDragging:me}=Zu(D,x,!!M),re=()=>s.jsxs(Sx,{$tableHeight:a,ref:D,$isDraggable:x,$isStartDragging:me,children:[s.jsxs(Dx,{children:[s.jsx(s2,{onColumnsReorder:M,activeSortField:H,activeSortOrder:I,handleSort:T,columns:e,hints:u,isScrolled:j,isScrolledEnd:A,stickyFirstColumn:f,stickyLastColumn:g,stickyHeader:v,columnRenderer:n}),s.jsx(Vx,{isLoading:l,loadingAmountRow:c,stickyFirstColumn:f,stickyLastColumn:g,isScrolled:j,isScrolledEnd:A,isStartDragging:me,columns:e,data:R,tCellRenderer:t,RowWrapper:r,RowWrapperExpand:o,rowHeight:p,onClickRow:L,onHoverRow:$,onDoubleClickRow:E}),C&&W&&s.jsxs(Ax,{ref:P,fixedHeaderOffset:k,tableWidth:Z,left:X,children:[s.jsx(jx,{}),s.jsx(s2,{onColumnsReorder:M,activeSortField:H,activeSortOrder:I,handleSort:T,columns:e,hints:u,isScrolled:j,isScrolledEnd:A,stickyFirstColumn:f,stickyLastColumn:g,stickyHeader:v,columnRenderer:n})]})]}),s.jsx("div",{ref:N})]});return w?s.jsx(h.ThemeProvider,{theme:U[F],children:s.jsxs(Rx,{children:[re(),s.jsx(nb,{contentRef:D,data:R})]})}):s.jsx(h.ThemeProvider,{theme:U[F],children:re()})}const as=({children:e,hiddenText:t,style:n,className:r,valueNumber:o,nowrap:i})=>{const a={};return i&&(a.whiteSpace="nowrap"),t?s.jsx(Eo,{...t,children:s.jsx(B,{variant:"caption-Medium",tag:"span",colorName:"primary",valueNumber:o,className:Te(r,"TCellText"),...a,...n,children:e})}):s.jsx(B,{variant:"caption-Medium",tag:"span",colorName:"primary",valueNumber:o,className:Te(r,"TCellText"),...a,...n,children:e})};let Ut=null;const ob=e=>Ut&&Ut.connected?(Ut.emit("auth",e),Ut):(Ut=A6(c7,{path:"/websocket",transports:["websocket"]}),Ut.on("connect",()=>{Ut?.emit("auth",e)}),Ut.on("disconnect",t=>{t==="io server disconnect"&&setTimeout(()=>Ut?.connect(),3e3)}),Ut),zu=m.createContext({}),Gu=({token:e,children:t})=>{const[n,r]=m.useState();return m.useEffect(()=>{e&&r(ob(e))},[e]),s.jsx(zu.Provider,{value:{socket:n},children:t})},Xu=e=>t=>s.jsx(zu.Consumer,{children:({socket:n})=>s.jsx(e,{...t,socket:n})}),yl=m.createContext({add:()=>{},delete:()=>{},_attach:()=>{},_detach:()=>{},QuotesValues:{},ChangeValues:{},TimeValues:{},CapsValues:{},PValues:{}});class ib extends m.Component{constructor(t){super(t),this.quotes=[],this.quotesMas={},this.data={},this.dataChanges={},this.dataTimes={},this.dataCaps={},this.dataP={},this.mounted=!1,this.lastUpdateId=0,this._needForce=()=>{this.mounted&&(this.raf&&cancelAnimationFrame(this.raf),this.raf=void 0,this.raf=requestAnimationFrame(()=>{this.forceUpdate()}))},this._update=n=>{const{id:r,value:o,change:i,time:a,cap:l,p:c}=n;this.props.onChange&&this.props.onChange(r,o,i,l,c),this.lastUpdateId=r,this.data[r]=o,this.dataChanges[r]=i,this.dataTimes[r]=a,this.dataCaps[r]=l,this.dataP[r]=c,this._needForce()},this._newQuotes=(n,r)=>{const o=new Set(r),i=new Set(n),a=[...i].filter(c=>!o.has(c)),l=[...o].filter(c=>!i.has(c));return{needAdd:a,needDelete:l}},this.quotes=[...this.props.quotes],this.quotes.forEach(n=>{this.quotesMas[n]=!0}),this.props.initValues&&this.props.onChange&&Object.entries(this.props.initValues).forEach(([n,r])=>{this.data[n]||this.props.onChange(n,r)})}componentDidMount(){this.mounted=!0,this.props.add(this.quotes,this),this.props._attach(this)}componentWillUnmount(){this.mounted=!1,this.props._detach(this),this.props.delete(this.quotes),this.raf&&cancelAnimationFrame(this.raf)}componentDidUpdate(){const t=this._newQuotes(this.props.quotes,this.quotes);this.quotes=[...this.props.quotes],this.quotesMas={},this.quotes.forEach(r=>{this.quotesMas[r]=!0});let n=!1;t.needAdd.length>0&&(n=!0,this.props.add(t.needAdd,this)),t.needDelete.length>0&&(n=!0,t.needDelete.forEach(r=>{delete this.data[r]}),this.props.delete(t.needDelete)),n&&this._needForce()}render(){const t={},n={},r={},o={},i={};return this.props.quotes.forEach(l=>{this.data[l]!==void 0?(t[l]=this.data[l],n[l]=this.dataChanges[l],r[l]=this.dataTimes[l],o[l]=this.dataCaps[l],i[l]=this.dataP[l]):this.props.initValues&&this.props.initValues[l]!==void 0?t[l]=this.props.initValues[l]:this.props.QuotesValues[l]!==void 0&&(t[l]=this.props.QuotesValues[l],n[l]=this.props.ChangeValues[l],r[l]=this.dataTimes[l],o[l]=this.dataCaps[l],i[l]=this.dataP[l])}),t.llen=0,this.props.children(t,n,r,o,i)}}class ab extends m.Component{render(){return s.jsx(yl.Consumer,{children:t=>s.jsx(ib,{...t,...this.props})})}}class sb extends m.Component{constructor(t){super(t),this.localQuotes={},this.QuotesValues={},this.ChangeValues={},this.TimesValues={},this.CapsValues={},this.PValues={},this.components=[],this.bind=!1,this._touchEvents=n=>{n.socket&&!this.bind&&(this.bind=!0,n.socket.on("connect",()=>{Object.keys(this.localQuotes).forEach(r=>{this._emit("add_quote",r)})}),n.socket.on("quote",r=>{const{id:o,value:i,change:a,time:l,cap:c,p:u}=r;this.localQuotes[o]&&(this.QuotesValues[o]=i,this.ChangeValues[o]=a,this.TimesValues[o]=l,this.CapsValues[o]=c,this.PValues[o]=u,this.components.forEach(p=>{p.quotesMas[o]&&p._update({id:o,value:i,change:a,time:l,cap:c,p:u})}))}))},this._emit=(n,r)=>{this.props.socket&&this.props.socket.connected&&this.props.socket.emit(n,r)},this._add=(n,r)=>{n.forEach(o=>{this.localQuotes[o]?(this.localQuotes[o].count+=1,delete this.localQuotes[o].remove,this.QuotesValues[o]&&r._update({quote:o,value:this.QuotesValues[o],change:this.ChangeValues[o]||0,time:this.TimesValues[o]||0,cap:this.CapsValues[o]||0,p:this.PValues[o]||{}})):(this.localQuotes[o]={count:1},this._emit("add_quote",o))})},this._delete=n=>{n.forEach(r=>{this.localQuotes[r].count>1?this.localQuotes[r].count-=1:this.localQuotes[r].count===1&&(this.localQuotes[r].count=0,this.localQuotes[r].remove=Date.now())})},this._attach=n=>{this.components.push(n)},this._detach=n=>{const r=this.components.findIndex(o=>o===n);r!==-1&&this.components.splice(r,1)},this.localQuotes={},this.QuotesValues={},this.components=[],this.ChangeValues={},this.TimesValues={},this.CapsValues={},this.PValues={}}componentDidUpdate(t){this.props.socket&&!t.socket&&this._touchEvents(this.props)}componentDidMount(){this.interval=setInterval(()=>{Object.keys(this.localQuotes).forEach(t=>{const n=this.localQuotes[t];n.count<1&&Date.now()>n.remove+5e3&&(delete this.localQuotes[t],delete this.QuotesValues[t],delete this.ChangeValues[t],delete this.TimesValues[t],delete this.CapsValues[t],delete this.PValues[t],this._emit("delete_quote",t))})},1e3),this._touchEvents(this.props)}componentWillUnmount(){this.interval&&clearInterval(this.interval)}render(){return s.jsx(yl.Provider,{value:{add:this._add,delete:this._delete,QuotesValues:this.QuotesValues,ChangeValues:this.ChangeValues,TimeValues:this.TimesValues,CapsValues:this.CapsValues,PValues:this.PValues,_attach:this._attach,_detach:this._detach},children:this.props.children})}}const N1=e=>{if(!e.children||typeof e.children!="function")return null;const t=Array.isArray(e.quotes)?e.quotes:[];if(e.close===!0){const n={[t[0]]:e.closePrice,llen:1},r={},o={},i={},a={};return s.jsx(s.Fragment,{children:e.children(n,r,o,i,a)})}return s.jsx(ab,{...e})},lb=e=>t=>n=>{const r=e(n);return s.jsx(N1,{quotes:r,children:o=>s.jsx(t,{...n,values:o})})},Ju=Xu(sb),cb=({companyItem:e,getPriceDiff:t})=>{const n=`market_status_${e?.instrumentId}`,r=`${e?.instrumentId}_last_val_pre`;return s.jsx(Mx,{children:s.jsx(N1,{quotes:[e?.instrumentId,n,r],children:(o,i)=>{const a=o[e?.instrumentId],l=i[e?.instrumentId],c=t(e?.instrumentId,l/(a-l)*100),u=o[n],p=o[r],f=p&&p[0],g=p&&p[1],v=g/(f-g);return s.jsxs(s.Fragment,{children:[s.jsxs($x,{children:[s.jsxs(as,{style:{fontWeight:600},children:[s.jsx("span",{children:En(a,!0)||""})," ",s.jsx("span",{children:gu(e?.currency_code)})]}),s.jsxs(_x,{variant:"caption2-SemiBold",colorName:"contrastThemed",$isPositive:c>0,children:[En(c,!0),"%"]})]}),cx.includes(u)&&f&&s.jsxs(Ix,{children:[u===os.pre_market&&s.jsx(Lx,{}),u===os.post_market&&s.jsx(Ex,{}),s.jsxs(as,{style:{fontSize:"12px"},nowrap:!0,valueNumber:v,children:[En(v*100,!0),"%"]})]})]})}})})},db=h.createGlobalStyle`
|
|
3152
3152
|
[data-fav-table-row].data-fav-table-dragging {
|
|
3153
3153
|
opacity: 0 !important;
|
|
3154
3154
|
pointer-events: none !important;
|
|
@@ -3462,7 +3462,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
3462
3462
|
background: ${e=>e.theme.interactiveControls.supportive};
|
|
3463
3463
|
}
|
|
3464
3464
|
}
|
|
3465
|
-
`,i4={ru:{favourite:"Избранное",notifications:"Уведомления",groups:"Учебные группы",channels:"Каналы",exit:"Выход",children:"Кабинет родителя"},en:{favourite:"Favourite",notifications:"Notifications",groups:"Study groups",channels:"Channels",exit:"Exit",children:"Parent's account"}},$r=({links:e,handleClose:t,withoutBorder:n=!1})=>{const{LinkWrapper:r}=ue(),{locale:o}=ie();return s.jsx(ey,{$withoutBorder:n,onClick:t,children:e.map(({href:i,name:a,Icon:l},c)=>s.jsx(r,{tabIndex:0,target:"_self",href:i,role:"link",children:s.jsxs(W1,{children:[s.jsx(l,{}),s.jsx(B,{tag:"span",variant:"controls-Medium",colorName:"primary",children:i4[o][a]})]})},c))})};function ni(e,t,n){m.useEffect(()=>{function r(o){(!n?.current||!n?.current.contains(o.target))&&t()}return e?document.addEventListener("mousedown",r):document.removeEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}},[e,n,t])}const ny=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M15.2405 22.2705H15.1105C10.6705 22.2705 8.5305 20.5205 8.1605 16.6005C8.1205 16.1905 8.4205 15.8205 8.8405 15.7805C9.2405 15.7405 9.6205 16.0505 9.6605 16.4605C9.9505 19.6005 11.4305 20.7705 15.1205 20.7705H15.2505C19.3205 20.7705 20.7605 19.3305 20.7605 15.2605V8.74047C20.7605 4.67047 19.3205 3.23047 15.2505 3.23047H15.1205C11.4105 3.23047 9.9305 4.42047 9.6605 7.62047C9.6105 8.03047 9.2605 8.34047 8.8405 8.30047C8.4205 8.27047 8.1205 7.90047 8.1505 7.49047C8.4905 3.51047 10.6405 1.73047 15.1105 1.73047H15.2405C20.1505 1.73047 22.2505 3.83047 22.2505 8.74047V15.2605C22.2505 20.1705 20.1505 22.2705 15.2405 22.2705Z",fill:"#242424"}),d.createElement("path",{d:"M14.9991 12.75H3.61914C3.20914 12.75 2.86914 12.41 2.86914 12C2.86914 11.59 3.20914 11.25 3.61914 11.25H14.9991C15.4091 11.25 15.7491 11.59 15.7491 12C15.7491 12.41 15.4091 12.75 14.9991 12.75Z",fill:"#242424"}),d.createElement("path",{d:"M5.84945 16.0998C5.65945 16.0998 5.46945 16.0298 5.31945 15.8798L1.96945 12.5298C1.67945 12.2398 1.67945 11.7598 1.96945 11.4698L5.31945 8.11984C5.60945 7.82984 6.08945 7.82984 6.37945 8.11984C6.66945 8.40984 6.66945 8.88984 6.37945 9.17984L3.55945 11.9998L6.37945 14.8198C6.66945 15.1098 6.66945 15.5898 6.37945 15.8798C6.23945 16.0298 6.03945 16.0998 5.84945 16.0998Z",fill:"#242424"})),a4=({handleClick:e})=>{const{locale:t}=ie();return s.jsx(ty,{onClick:e,children:s.jsxs(W1,{children:[s.jsx(ny,{}),s.jsx(B,{tag:"span",variant:"controls-Medium",colorName:"primary",children:i4[t].exit})]})})},ry=()=>{const{isPossibleTrial:e,onLogout:t,isEmployee:n}=V1(),r=m.useRef(null),[o,i]=m.useState(!1),a=()=>{i(!1)},l=()=>{t(),a()},{isForeignSite:c}=ie(),{user:u,userRole:p,hostnames:f}=ue(),g=f.hostname,v=Qu(g),C=Ku(g),x=qu(g),{mode:b}=ne();return ni(o,()=>i(!1),r),s.jsxs($b,{ref:r,children:[s.jsx(e4,{handleClick:()=>i(!o),avatarUrl:u.avatar_url}),s.jsxs(_b,{$isOpen:o,children:[s.jsxs(Ib,{onClick:y=>y.stopPropagation(),$mode:b,children:[s.jsx(t4,{handleClose:a}),!c&&s.jsxs(s.Fragment,{children:[n&&s.jsx(o4,{handleClose:a}),s.jsx($r,{links:v,handleClose:a}),s.jsx($r,{links:C,handleClose:a}),s.jsx($r,{links:x,handleClose:a})]}),s.jsx(r4,{}),s.jsx(a4,{handleClick:l})]}),!c&&!e&&p==="authorized"?s.jsx(Ub,{profinansyHostname:g}):null]})]})},oy=()=>{const{onLogout:e,isEmployee:t}=V1(),[n,r]=m.useState(!1),{isForeignSite:o}=ie(),{user:i,hostnames:a}=ue(),l=a.hostname,c=()=>{r(!1)},u=Qu(l),p=Ku(l),f=qu(l),g=()=>{e(),c()};return s.jsxs(s.Fragment,{children:[s.jsx(e4,{handleClick:()=>r(!n),avatarUrl:i.avatar_url}),s.jsxs(
|
|
3465
|
+
`,i4={ru:{favourite:"Избранное",notifications:"Уведомления",groups:"Учебные группы",channels:"Каналы",exit:"Выход",children:"Кабинет родителя"},en:{favourite:"Favourite",notifications:"Notifications",groups:"Study groups",channels:"Channels",exit:"Exit",children:"Parent's account"}},$r=({links:e,handleClose:t,withoutBorder:n=!1})=>{const{LinkWrapper:r}=ue(),{locale:o}=ie();return s.jsx(ey,{$withoutBorder:n,onClick:t,children:e.map(({href:i,name:a,Icon:l},c)=>s.jsx(r,{tabIndex:0,target:"_self",href:i,role:"link",children:s.jsxs(W1,{children:[s.jsx(l,{}),s.jsx(B,{tag:"span",variant:"controls-Medium",colorName:"primary",children:i4[o][a]})]})},c))})};function ni(e,t,n){m.useEffect(()=>{function r(o){(!n?.current||!n?.current.contains(o.target))&&t()}return e?document.addEventListener("mousedown",r):document.removeEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}},[e,n,t])}const ny=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M15.2405 22.2705H15.1105C10.6705 22.2705 8.5305 20.5205 8.1605 16.6005C8.1205 16.1905 8.4205 15.8205 8.8405 15.7805C9.2405 15.7405 9.6205 16.0505 9.6605 16.4605C9.9505 19.6005 11.4305 20.7705 15.1205 20.7705H15.2505C19.3205 20.7705 20.7605 19.3305 20.7605 15.2605V8.74047C20.7605 4.67047 19.3205 3.23047 15.2505 3.23047H15.1205C11.4105 3.23047 9.9305 4.42047 9.6605 7.62047C9.6105 8.03047 9.2605 8.34047 8.8405 8.30047C8.4205 8.27047 8.1205 7.90047 8.1505 7.49047C8.4905 3.51047 10.6405 1.73047 15.1105 1.73047H15.2405C20.1505 1.73047 22.2505 3.83047 22.2505 8.74047V15.2605C22.2505 20.1705 20.1505 22.2705 15.2405 22.2705Z",fill:"#242424"}),d.createElement("path",{d:"M14.9991 12.75H3.61914C3.20914 12.75 2.86914 12.41 2.86914 12C2.86914 11.59 3.20914 11.25 3.61914 11.25H14.9991C15.4091 11.25 15.7491 11.59 15.7491 12C15.7491 12.41 15.4091 12.75 14.9991 12.75Z",fill:"#242424"}),d.createElement("path",{d:"M5.84945 16.0998C5.65945 16.0998 5.46945 16.0298 5.31945 15.8798L1.96945 12.5298C1.67945 12.2398 1.67945 11.7598 1.96945 11.4698L5.31945 8.11984C5.60945 7.82984 6.08945 7.82984 6.37945 8.11984C6.66945 8.40984 6.66945 8.88984 6.37945 9.17984L3.55945 11.9998L6.37945 14.8198C6.66945 15.1098 6.66945 15.5898 6.37945 15.8798C6.23945 16.0298 6.03945 16.0998 5.84945 16.0998Z",fill:"#242424"})),a4=({handleClick:e})=>{const{locale:t}=ie();return s.jsx(ty,{onClick:e,children:s.jsxs(W1,{children:[s.jsx(ny,{}),s.jsx(B,{tag:"span",variant:"controls-Medium",colorName:"primary",children:i4[t].exit})]})})},ry=()=>{const{isPossibleTrial:e,onLogout:t,isEmployee:n}=V1(),r=m.useRef(null),[o,i]=m.useState(!1),a=()=>{i(!1)},l=()=>{t(),a()},{isForeignSite:c}=ie(),{user:u,userRole:p,hostnames:f}=ue(),g=f.hostname,v=Qu(g),C=Ku(g),x=qu(g),{mode:b}=ne();return ni(o,()=>i(!1),r),s.jsxs($b,{ref:r,children:[s.jsx(e4,{handleClick:()=>i(!o),avatarUrl:u.avatar_url}),s.jsxs(_b,{$isOpen:o,children:[s.jsxs(Ib,{onClick:y=>y.stopPropagation(),$mode:b,children:[s.jsx(t4,{handleClose:a}),!c&&s.jsxs(s.Fragment,{children:[n&&s.jsx(o4,{handleClose:a}),s.jsx($r,{links:v,handleClose:a}),s.jsx($r,{links:C,handleClose:a}),s.jsx($r,{links:x,handleClose:a})]}),s.jsx(r4,{}),s.jsx(a4,{handleClick:l})]}),!c&&!e&&p==="authorized"?s.jsx(Ub,{profinansyHostname:g}):null]})]})},oy=()=>{const{onLogout:e,isEmployee:t}=V1(),[n,r]=m.useState(!1),{isForeignSite:o}=ie(),{user:i,hostnames:a}=ue(),l=a.hostname,c=()=>{r(!1)},u=Qu(l),p=Ku(l),f=qu(l),g=()=>{e(),c()};return s.jsxs(s.Fragment,{children:[s.jsx(e4,{handleClick:()=>r(!n),avatarUrl:i.avatar_url}),s.jsxs(Xt,{open:n,onClose:()=>r(!1),children:[s.jsx(t4,{handleClose:c}),!o&&s.jsxs(s.Fragment,{children:[t&&s.jsx(o4,{handleClose:c}),s.jsx($r,{links:u,handleClose:c}),s.jsx($r,{links:p,handleClose:c}),s.jsx($r,{links:f,handleClose:c})]}),s.jsx(r4,{}),s.jsx(a4,{handleClick:g})]})]})},iy=()=>at(it.down(600))?s.jsx(oy,{}):s.jsx(ry,{}),ay=h.styled.div`
|
|
3466
3466
|
display: flex;
|
|
3467
3467
|
text-align: ${e=>e.position==="bottom"||e.position==="top"?"center":"left"};
|
|
3468
3468
|
background-color: #444;
|
|
@@ -5786,7 +5786,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
5786
5786
|
font-size: 15px;
|
|
5787
5787
|
padding-bottom: 16px;
|
|
5788
5788
|
}
|
|
5789
|
-
`,fM=({isOpen:e,onClose:t,title:n,text:r})=>(m.useEffect(()=>{if(e){const o=setTimeout(()=>{t()},3500);return()=>{clearTimeout(o)}}},[e]),s.jsxs(
|
|
5789
|
+
`,fM=({isOpen:e,onClose:t,title:n,text:r})=>(m.useEffect(()=>{if(e){const o=setTimeout(()=>{t()},3500);return()=>{clearTimeout(o)}}},[e]),s.jsxs(Xt,{open:e,onClose:t,styleContent:{maxWidth:"650px"},children:[s.jsx(dM,{children:s.jsx(ru,{})}),s.jsx(uM,{children:n}),s.jsx(pM,{dangerouslySetInnerHTML:{__html:r||""}})]})),hM=h.styled.div`
|
|
5790
5790
|
display: flex;
|
|
5791
5791
|
gap: 12px;
|
|
5792
5792
|
width: 100%;
|
|
@@ -5794,7 +5794,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
5794
5794
|
@media (max-width: ${le}px) {
|
|
5795
5795
|
flex-direction: column;
|
|
5796
5796
|
}
|
|
5797
|
-
`,_4=({modal:e,cancelButton:t,confirmButton:n,text:r})=>s.jsxs(
|
|
5797
|
+
`,_4=({modal:e,cancelButton:t,confirmButton:n,text:r})=>s.jsxs(Xt,{...e,maxWidth:"516px",children:[!!r&&s.jsx(B,{variant:"text-Regular",colorName:"primary",marginBottom:"24px",children:r}),s.jsxs(hM,{children:[s.jsx(st,{mode:"secondary",...t}),s.jsx(st,{mode:"secondaryCritical",...n})]})]}),mM=h.styled.div`
|
|
5798
5798
|
font-family: 'Manrope', sans-serif;
|
|
5799
5799
|
box-sizing: border-box;
|
|
5800
5800
|
width: ${e=>e.$widthDrop}px;
|
|
@@ -5823,7 +5823,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
5823
5823
|
font-size: 14px;
|
|
5824
5824
|
font-weight: 400;
|
|
5825
5825
|
}
|
|
5826
|
-
`;function vM({placement:e="bottom-end"}){const[t,n]=m.useState(!1),r=Go({placement:e,open:t,onOpenChange:n,whileElementsMounted:nr,middleware:[No(4),Wo({crossAxis:e.includes("-"),fallbackAxisSideDirection:"end",padding:5}),Oo({padding:{top:70,bottom:10,left:10,right:10}})]}),o=r.context,i=Yo(o),a=zo(o),l=Jo(o),c=Xo([a,l,i]);return m.useMemo(()=>({open:t,setOpen:n,...c,...r}),[t,n,c,r])}const El=m.createContext(null),CM=m.forwardRef(({children:e,isConfirmWithoutClose:t,isCancelWithoutClose:n,resetFilter:r,handleConfirm:o,widthDrop:i,heightDrop:a,padding:l,...c},u)=>{const p=vM({...c});return m.useImperativeHandle(u,()=>({handleClose(){p.setOpen(!1)}})),s.jsxs(El.Provider,{value:p,children:[s.jsx(xM,{targetElement:c.targetElement}),s.jsx(bM,{padding:l,widthDrop:i,heightDrop:a,resetFilter:r,handleConfirm:o,isConfirmWithoutClose:t,isCancelWithoutClose:n,children:e})]})}),xM=({targetElement:e})=>{const t=m.useContext(El),n=gn([t.refs.setReference]);return e&&m.isValidElement(e)?m.cloneElement(e,t.getReferenceProps({ref:n,...e.props,"data-state":t.open?"open":"closed"})):null},bM=({children:e,padding:t,widthDrop:n,heightDrop:r,resetFilter:o,handleConfirm:i,isCancelWithoutClose:a,isConfirmWithoutClose:l})=>{const{context:c,...u}=m.useContext(El),p=gn([u.refs.setFloating]),{mode:f}=ne(),{locale:g}=ie(),{styles:v}=Uo(c,{duration:{open:300,close:300},initial:{opacity:0}}),C=()=>{o(),a||u.setOpen(!1)},x=()=>{i(),l||u.setOpen(!1)};return c.open?s.jsx(Zo,{children:s.jsx(Us,{context:c,modal:!1,children:s.jsx("div",{ref:p,style:{zIndex:Bt.zIndex5,...u.floatingStyles},...u.getFloatingProps(),children:s.jsx(h.ThemeProvider,{theme:U[f],children:s.jsx("div",{style:v,children:s.jsxs(mM,{$heightDrop:r,$widthDrop:n,$mode:f,children:[s.jsx(gM,{$heightDrop:r,$padding:t,children:e}),(i||o)&&s.jsxs(I4,{children:[i&&s.jsx(
|
|
5826
|
+
`;function vM({placement:e="bottom-end"}){const[t,n]=m.useState(!1),r=Go({placement:e,open:t,onOpenChange:n,whileElementsMounted:nr,middleware:[No(4),Wo({crossAxis:e.includes("-"),fallbackAxisSideDirection:"end",padding:5}),Oo({padding:{top:70,bottom:10,left:10,right:10}})]}),o=r.context,i=Yo(o),a=zo(o),l=Jo(o),c=Xo([a,l,i]);return m.useMemo(()=>({open:t,setOpen:n,...c,...r}),[t,n,c,r])}const El=m.createContext(null),CM=m.forwardRef(({children:e,isConfirmWithoutClose:t,isCancelWithoutClose:n,resetFilter:r,handleConfirm:o,widthDrop:i,heightDrop:a,padding:l,...c},u)=>{const p=vM({...c});return m.useImperativeHandle(u,()=>({handleClose(){p.setOpen(!1)}})),s.jsxs(El.Provider,{value:p,children:[s.jsx(xM,{targetElement:c.targetElement}),s.jsx(bM,{padding:l,widthDrop:i,heightDrop:a,resetFilter:r,handleConfirm:o,isConfirmWithoutClose:t,isCancelWithoutClose:n,children:e})]})}),xM=({targetElement:e})=>{const t=m.useContext(El),n=gn([t.refs.setReference]);return e&&m.isValidElement(e)?m.cloneElement(e,t.getReferenceProps({ref:n,...e.props,"data-state":t.open?"open":"closed"})):null},bM=({children:e,padding:t,widthDrop:n,heightDrop:r,resetFilter:o,handleConfirm:i,isCancelWithoutClose:a,isConfirmWithoutClose:l})=>{const{context:c,...u}=m.useContext(El),p=gn([u.refs.setFloating]),{mode:f}=ne(),{locale:g}=ie(),{styles:v}=Uo(c,{duration:{open:300,close:300},initial:{opacity:0}}),C=()=>{o(),a||u.setOpen(!1)},x=()=>{i(),l||u.setOpen(!1)};return c.open?s.jsx(Zo,{children:s.jsx(Us,{context:c,modal:!1,children:s.jsx("div",{ref:p,style:{zIndex:Bt.zIndex5,...u.floatingStyles},...u.getFloatingProps(),children:s.jsx(h.ThemeProvider,{theme:U[f],children:s.jsx("div",{style:v,children:s.jsxs(mM,{$heightDrop:r,$widthDrop:n,$mode:f,children:[s.jsx(gM,{$heightDrop:r,$padding:t,children:e}),(i||o)&&s.jsxs(I4,{children:[i&&s.jsx(zt,{text:Me[g].filter_search,onClick:x}),o&&s.jsx(zt,{text:Me[g].reset,onClick:C,style:{marginLeft:"auto"}})]})]})})})})})}):null},yM=()=>({M:{height:"44px",maxHeight:"44px",borderRadius:"8px"},S:{height:"36px",maxHeight:"36px",borderRadius:"10px"},XS:{height:"32px",maxHeight:"32px",borderRadius:"10px"}}),wM=h.styled.button`
|
|
5827
5827
|
position: relative;
|
|
5828
5828
|
display: flex;
|
|
5829
5829
|
justify-content: center;
|
|
@@ -5872,7 +5872,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
5872
5872
|
font-size: 8px;
|
|
5873
5873
|
color: ${e=>e.theme.text.contrastThemed};
|
|
5874
5874
|
}
|
|
5875
|
-
`,EM=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.9177 18.1378C8.9177 19.9837 10.9586 20.9551 12.3994 20.0652L12.4105 20.0583L13.452 19.3863C13.7945 19.176 14.0426 18.8429 14.2012 18.5368C14.364 18.2225 14.4835 17.8388 14.4835 17.4616V14.2307C14.4835 14.0475 14.5316 13.8106 14.629 13.5801C14.7278 13.3463 14.8525 13.1775 14.9584 13.0889C14.9641 13.0842 14.9697 13.0794 14.9752 13.0745L18.1944 10.2193C18.2061 10.2089 18.2175 10.1982 18.2286 10.1871C18.4941 9.92061 18.7289 9.55692 18.8979 9.18361C19.0661 8.81234 19.2 8.3638 19.2 7.91931V6.26632C19.2 5.01882 18.186 4.00008 16.9412 4.00008H11.2102C11.2031 3.99997 11.1959 3.99997 11.1888 4.00008H7.05887C5.78948 4.00008 4.80005 5.04397 4.80005 6.34146V8.06959C4.80005 8.44067 4.91637 8.83272 5.06309 9.1612C5.21135 9.49314 5.42485 9.83673 5.68908 10.1043L8.50281 13.0768C8.59474 13.198 8.70095 13.383 8.7849 13.5937C8.87607 13.8224 8.9177 14.0229 8.9177 14.1556V18.1378ZM6.78769 9.04668L6.77586 9.0345L6.77406 9.03267C6.66747 8.9257 6.54671 8.74673 6.45305 8.53705C6.35645 8.32077 6.32304 8.14931 6.32304 8.06959V6.34146C6.32304 5.83735 6.67959 5.52712 7.05887 5.52712H9.82682L7.30107 9.58906L6.78769 9.04668ZM10.1992 13.027C10.0641 12.6881 9.87925 12.3572 9.67511 12.1011L9.63259 12.0521L8.38427 10.7334L11.6216 5.52712H16.9412C17.3435 5.52712 17.6771 5.86082 17.6771 6.26632V7.91931C17.6771 8.07593 17.6238 8.30362 17.5112 8.55221C17.4045 8.78789 17.272 8.98134 17.165 9.09358L13.9735 11.9242C13.635 12.2106 13.3884 12.6017 13.2267 12.9842C13.0621 13.3736 12.9605 13.8129 12.9605 14.2307V17.4616C12.9605 17.5353 12.9301 17.6775 12.8497 17.8328C12.7668 17.9927 12.6819 18.0688 12.6561 18.0844C12.6523 18.0867 12.6485 18.089 12.6448 18.0913C12.6419 18.0931 12.639 18.095 12.6361 18.0968L11.5954 18.7683C11.0968 19.0707 10.4407 18.7018 10.4407 18.1378V14.1556C10.4407 13.7624 10.3326 13.3618 10.1992 13.027Z",fill:"#242424"})),ls=m.forwardRef(({activeElements:e,text:t,isStroke:n,size:r,customIcon:o,withoutTextOnMobile:i=!1,...a},l)=>s.jsxs(wM,{$isText:!!t,ref:l,$activeElements:e,$isStroke:n,$size:r,$withoutTextOnMobile:i,...a,children:[!!t&&s.jsx(B,{variant:"description-Medium",tag:"span",children:t}),o||s.jsx(EM,{}),!!e&&s.jsx(kM,{$size:r,children:s.jsx(B,{variant:"tag-Medium9",tag:"span",children:e})})]})),LM=m.forwardRef(({customIcon:e,withoutTextOnMobile:t,activeElements:n,isStroke:r=!1,size:o="XS",text:i,children:a,handleConfirm:l,resetFilter:c},u)=>{const{locale:p}=ie(),[f,g]=m.useState(!1);m.useImperativeHandle(u,()=>({handleClose(){g(!1)}}));const v=()=>{c(),g(!1)},C=()=>{l(),g(!1)};return s.jsxs(s.Fragment,{children:[s.jsx(ls,{customIcon:e,withoutTextOnMobile:t,activeElements:n,isStroke:r,size:o,text:i,onClick:()=>g(!0)}),s.jsxs(
|
|
5875
|
+
`,EM=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.9177 18.1378C8.9177 19.9837 10.9586 20.9551 12.3994 20.0652L12.4105 20.0583L13.452 19.3863C13.7945 19.176 14.0426 18.8429 14.2012 18.5368C14.364 18.2225 14.4835 17.8388 14.4835 17.4616V14.2307C14.4835 14.0475 14.5316 13.8106 14.629 13.5801C14.7278 13.3463 14.8525 13.1775 14.9584 13.0889C14.9641 13.0842 14.9697 13.0794 14.9752 13.0745L18.1944 10.2193C18.2061 10.2089 18.2175 10.1982 18.2286 10.1871C18.4941 9.92061 18.7289 9.55692 18.8979 9.18361C19.0661 8.81234 19.2 8.3638 19.2 7.91931V6.26632C19.2 5.01882 18.186 4.00008 16.9412 4.00008H11.2102C11.2031 3.99997 11.1959 3.99997 11.1888 4.00008H7.05887C5.78948 4.00008 4.80005 5.04397 4.80005 6.34146V8.06959C4.80005 8.44067 4.91637 8.83272 5.06309 9.1612C5.21135 9.49314 5.42485 9.83673 5.68908 10.1043L8.50281 13.0768C8.59474 13.198 8.70095 13.383 8.7849 13.5937C8.87607 13.8224 8.9177 14.0229 8.9177 14.1556V18.1378ZM6.78769 9.04668L6.77586 9.0345L6.77406 9.03267C6.66747 8.9257 6.54671 8.74673 6.45305 8.53705C6.35645 8.32077 6.32304 8.14931 6.32304 8.06959V6.34146C6.32304 5.83735 6.67959 5.52712 7.05887 5.52712H9.82682L7.30107 9.58906L6.78769 9.04668ZM10.1992 13.027C10.0641 12.6881 9.87925 12.3572 9.67511 12.1011L9.63259 12.0521L8.38427 10.7334L11.6216 5.52712H16.9412C17.3435 5.52712 17.6771 5.86082 17.6771 6.26632V7.91931C17.6771 8.07593 17.6238 8.30362 17.5112 8.55221C17.4045 8.78789 17.272 8.98134 17.165 9.09358L13.9735 11.9242C13.635 12.2106 13.3884 12.6017 13.2267 12.9842C13.0621 13.3736 12.9605 13.8129 12.9605 14.2307V17.4616C12.9605 17.5353 12.9301 17.6775 12.8497 17.8328C12.7668 17.9927 12.6819 18.0688 12.6561 18.0844C12.6523 18.0867 12.6485 18.089 12.6448 18.0913C12.6419 18.0931 12.639 18.095 12.6361 18.0968L11.5954 18.7683C11.0968 19.0707 10.4407 18.7018 10.4407 18.1378V14.1556C10.4407 13.7624 10.3326 13.3618 10.1992 13.027Z",fill:"#242424"})),ls=m.forwardRef(({activeElements:e,text:t,isStroke:n,size:r,customIcon:o,withoutTextOnMobile:i=!1,...a},l)=>s.jsxs(wM,{$isText:!!t,ref:l,$activeElements:e,$isStroke:n,$size:r,$withoutTextOnMobile:i,...a,children:[!!t&&s.jsx(B,{variant:"description-Medium",tag:"span",children:t}),o||s.jsx(EM,{}),!!e&&s.jsx(kM,{$size:r,children:s.jsx(B,{variant:"tag-Medium9",tag:"span",children:e})})]})),LM=m.forwardRef(({customIcon:e,withoutTextOnMobile:t,activeElements:n,isStroke:r=!1,size:o="XS",text:i,children:a,handleConfirm:l,resetFilter:c},u)=>{const{locale:p}=ie(),[f,g]=m.useState(!1);m.useImperativeHandle(u,()=>({handleClose(){g(!1)}}));const v=()=>{c(),g(!1)},C=()=>{l(),g(!1)};return s.jsxs(s.Fragment,{children:[s.jsx(ls,{customIcon:e,withoutTextOnMobile:t,activeElements:n,isStroke:r,size:o,text:i,onClick:()=>g(!0)}),s.jsxs(Xt,{open:f,onClose:()=>g(!1),children:[s.jsx("div",{children:a}),(l||c)&&s.jsxs(I4,{children:[l&&s.jsx(zt,{text:Me[p].filter_search,onClick:C}),c&&s.jsx(zt,{text:Me[p].reset,onClick:v,style:{marginLeft:"auto"}})]})]})]})}),MM=m.forwardRef((e,t)=>{const{text:n,activeElements:r,isStroke:o=!1,children:i,resetFilter:a,handleConfirm:l,size:c="XS",customIcon:u,isConfirmWithoutClose:p=!1,isCancelWithoutClose:f=!1,handleCustomOpen:g,padding:v,widthDrop:C=240,heightDrop:x=448,withoutTextOnMobile:b}=e,{mode:y}=ne(),k=at(it.down(le));return g?s.jsx(h.ThemeProvider,{theme:U[y],children:s.jsx(ls,{customIcon:u,withoutTextOnMobile:b,onClick:g,activeElements:r,isStroke:o,size:c,text:n})}):k?s.jsx(h.ThemeProvider,{theme:U[y],children:s.jsx(LM,{ref:t,...e,children:i})}):s.jsx(h.ThemeProvider,{theme:U[y],children:s.jsx(CM,{ref:t,padding:v,widthDrop:C,heightDrop:x,isCancelWithoutClose:f,isConfirmWithoutClose:p,resetFilter:a,handleConfirm:l,targetElement:s.jsx(ls,{customIcon:u,withoutTextOnMobile:b,activeElements:r,isStroke:o,size:c,text:n}),children:i})})}),$M=h.styled.button`
|
|
5876
5876
|
position: relative;
|
|
5877
5877
|
display: flex;
|
|
5878
5878
|
justify-content: center;
|
|
@@ -6044,7 +6044,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
6044
6044
|
color: ${e=>e.color||e.theme.background.accent};
|
|
6045
6045
|
animation: ${TM} 1s infinite linear;
|
|
6046
6046
|
}
|
|
6047
|
-
`,HM=({size:e="S",color:t})=>{const{mode:n}=ne();return s.jsx(h.ThemeProvider,{theme:U[n],children:s.jsx(PM,{size:e,className:"loader",children:s.jsx(BM,{size:e,color:t})})})},VM=e=>d.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.9339 2.76304L6.92684 2.77034C6.58005 3.12802 6.58005 3.71609 6.92684 4.07377L12.1778 9.4898C12.4512 9.77175 12.4512 10.2303 12.1778 10.5123L6.92683 15.9283C6.58005 16.286 6.58005 16.8741 6.92683 17.2317C7.27362 17.5894 7.84377 17.5894 8.19055 17.2317L13.4416 11.8157C14.4085 10.8184 14.4085 9.18367 13.4416 8.18637L8.19055 2.77034C8.01251 2.5867 7.78446 2.5 7.55869 2.5C7.3244 2.5 7.10238 2.60086 6.9339 2.76304Z",fill:"#6553F5"})),NM=e=>s.jsx(Yt,{...e,iconRight:s.jsx(VM,{})});function D4(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var Io;(function(e){e.event="event",e.props="prop"})(Io||(Io={}));function Fn(){}function OM(e){var t,n=void 0;return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return t&&r.length===t.length&&r.every(function(i,a){return i===t[a]})||(t=r,n=e.apply(void 0,r)),n}}function So(e){return!!(e||"").match(/\d/)}function _r(e){return e==null}function WM(e){return typeof e=="number"&&isNaN(e)}function A4(e){return _r(e)||WM(e)||typeof e=="number"&&!isFinite(e)}function j4(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ZM(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function YM(e,t,n){var r=ZM(n),o=e.search(/[1-9]/);return o=o===-1?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}function zM(e){var t=m.useRef(e);t.current=e;var n=m.useRef(function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return t.current.apply(t,r)});return n.current}function Ll(e,t){t===void 0&&(t=!0);var n=e[0]==="-",r=n&&t;e=e.replace("-","");var o=e.split("."),i=o[0],a=o[1]||"";return{beforeDecimal:i,afterDecimal:a,hasNegation:n,addNegation:r}}function GM(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}function R4(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}function T2(e,t){return Array(t+1).join(e)}function T4(e){var t=e+"",n=t[0]==="-"?"-":"";n&&(t=t.substring(1));var r=t.split(/[eE]/g),o=r[0],i=r[1];if(i=Number(i),!i)return n+o;o=o.replace(".","");var a=1+i,l=o.length;return a<0?o="0."+T2("0",Math.abs(a))+o:a>=l?o=o+T2("0",a-l):o=(o.substring(0,a)||"0")+"."+o.substring(a),n+o}function F2(e,t,n){if(["","-"].indexOf(e)!==-1)return e;var r=(e.indexOf(".")!==-1||n)&&t,o=Ll(e),i=o.beforeDecimal,a=o.afterDecimal,l=o.hasNegation,c=parseFloat("0."+(a||"0")),u=a.length<=t?"0."+a:c.toFixed(t),p=u.split("."),f=i;i&&Number(p[0])&&(f=i.split("").reverse().reduce(function(x,b,y){return x.length>y?(Number(x[0])+Number(b)).toString()+x.substring(1,x.length):b+x},p[0]));var g=R4(p[1]||"",t,n),v=l?"-":"",C=r?".":"";return""+v+f+C+g}function Gn(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var F4=OM(function(e,t){for(var n=0,r=0,o=e.length,i=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[i-1-r]&&i-r>n&&o-r>n;)r++;return{from:{start:n,end:o-r},to:{start:n,end:i-r}}}),XM=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function JM(e,t,n){return Math.min(Math.max(e,t),n)}function Ma(e){return Math.max(e.selectionStart,e.selectionEnd)}function UM(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function QM(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function KM(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,o=e.formattedValueIndex;return t[r]===n[o]}function qM(e,t,n,r,o,i,a){a===void 0&&(a=KM);var l=o.findIndex(function(L){return L}),c=e.slice(0,l);!t&&!n.startsWith(c)&&(t=c,n=c+n,r=r+c.length);for(var u=n.length,p=e.length,f={},g=new Array(u),v=0;v<u;v++){g[v]=-1;for(var C=0,x=p;C<x;C++){var b=a({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:v,formattedValueIndex:C});if(b&&f[C]!==!0){g[v]=C,f[C]=!0;break}}}for(var y=r;y<u&&(g[y]===-1||!i(n[y]));)y++;var k=y===u||g[y]===-1?p:g[y];for(y=r-1;y>0&&g[y]===-1;)y--;var w=y===-1||g[y]===-1?0:g[y]+1;return w>k?k:r-w<k-r?w:k}function P2(e,t,n,r){var o=e.length;if(t=JM(t,0,o),r==="left"){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=o&&!n[t];)t++;t>o&&(t=n.lastIndexOf(!0))}return t===-1&&(t=o),t}function e$(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(So(e[n])||So(e[n-1]));return t}function P4(e,t,n,r,o,i){i===void 0&&(i=Fn);var a=zM(function(C,x){var b,y;return A4(C)?(y="",b=""):typeof C=="number"||x?(y=typeof C=="number"?T4(C):C,b=r(y)):(y=o(C,void 0),b=r(y)),{formattedValue:b,numAsString:y}}),l=m.useState(function(){return a(_r(e)?t:e,n)}),c=l[0],u=l[1],p=function(C,x){C.formattedValue!==c.formattedValue&&u({formattedValue:C.formattedValue,numAsString:C.value}),i(C,x)},f=e,g=n;_r(e)&&(f=c.numAsString,g=!0);var v=a(f,g);return m.useMemo(function(){u(v)},[v.formattedValue]),[c,p]}function t$(e){return e.replace(/[^0-9]/g,"")}function n$(e){return e}function r$(e){var t=e.type;t===void 0&&(t="text");var n=e.displayType;n===void 0&&(n="input");var r=e.customInput,o=e.renderText,i=e.getInputRef,a=e.format;a===void 0&&(a=n$);var l=e.removeFormatting;l===void 0&&(l=t$);var c=e.defaultValue,u=e.valueIsNumericString,p=e.onValueChange,f=e.isAllowed,g=e.onChange;g===void 0&&(g=Fn);var v=e.onKeyDown;v===void 0&&(v=Fn);var C=e.onMouseUp;C===void 0&&(C=Fn);var x=e.onFocus;x===void 0&&(x=Fn);var b=e.onBlur;b===void 0&&(b=Fn);var y=e.value,k=e.getCaretBoundary;k===void 0&&(k=e$);var w=e.isValidInputCharacter;w===void 0&&(w=So);var L=e.isCharacterSame,E=D4(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),$=P4(y,c,!!u,a,l,p),M=$[0],_=M.formattedValue,D=M.numAsString,P=$[1],N=m.useRef(),F=m.useRef({formattedValue:_,numAsString:D}),V=function(ee,ae){F.current={formattedValue:ee.formattedValue,numAsString:ee.value},P(ee,ae)},T=m.useState(!1),H=T[0],I=T[1],j=m.useRef(null),A=m.useRef({setCaretTimeout:null,focusTimeout:null});m.useEffect(function(){return I(!0),function(){clearTimeout(A.current.setCaretTimeout),clearTimeout(A.current.focusTimeout)}},[]);var R=a,W=function(ee,ae){var he=parseFloat(ae);return{formattedValue:ee,value:ae,floatValue:isNaN(he)?void 0:he}},Z=function(ee,ae,he){ee.selectionStart===0&&ee.selectionEnd===ee.value.length||(Gn(ee,ae),A.current.setCaretTimeout=setTimeout(function(){ee.value===he&&ee.selectionStart!==ae&&Gn(ee,ae)},0))},X=function(ee,ae,he){return P2(ee,ae,k(ee),he)},me=function(ee,ae,he){var Ne=k(ae),mt=qM(ae,_,ee,he,Ne,w,L);return mt=P2(ae,mt,Ne),mt},re=function(ee){var ae=ee.formattedValue;ae===void 0&&(ae="");var he=ee.input,Ne=ee.source,mt=ee.event,Pe=ee.numAsString,De;if(he){var Ht=ee.inputValue||he.value,Vt=Ma(he);he.value=ae,De=me(Ht,ae,Vt),De!==void 0&&Z(he,De,ae)}ae!==_&&V(W(ae,Pe),{event:mt,source:Ne})};m.useEffect(function(){var ee=F.current,ae=ee.formattedValue,he=ee.numAsString;(_!==ae||D!==he)&&V(W(_,D),{event:void 0,source:Io.props})},[_,D]);var oe=j.current?Ma(j.current):void 0,z=typeof window<"u"?m.useLayoutEffect:m.useEffect;z(function(){var ee=j.current;if(_!==F.current.formattedValue&&ee){var ae=me(F.current.formattedValue,_,oe);ee.value=_,Z(ee,ae,_)}},[_]);var te=function(ee,ae,he){var Ne=ae.target,mt=N.current?XM(N.current,Ne.selectionEnd):F4(_,ee),Pe=Object.assign(Object.assign({},mt),{lastValue:_}),De=l(ee,Pe),Ht=R(De);if(De=l(Ht,void 0),f&&!f(W(Ht,De))){var Vt=ae.target,Nt=Ma(Vt),hr=me(ee,_,Nt);return Vt.value=_,Z(Vt,hr,_),!1}return re({formattedValue:Ht,numAsString:De,inputValue:ee,event:ae,source:he,input:ae.target}),!0},Q=function(ee,ae){ae===void 0&&(ae=0);var he=ee.selectionStart,Ne=ee.selectionEnd;N.current={selectionStart:he,selectionEnd:Ne+ae}},pe=function(ee){var ae=ee.target,he=ae.value,Ne=te(he,ee,Io.event);Ne&&g(ee),N.current=void 0},ve=function(ee){var ae=ee.target,he=ee.key,Ne=ae.selectionStart,mt=ae.selectionEnd,Pe=ae.value;Pe===void 0&&(Pe="");var De;he==="ArrowLeft"||he==="Backspace"?De=Math.max(Ne-1,0):he==="ArrowRight"?De=Math.min(Ne+1,Pe.length):he==="Delete"&&(De=Ne);var Ht=0;he==="Delete"&&Ne===mt&&(Ht=1);var Vt=he==="ArrowLeft"||he==="ArrowRight";if(De===void 0||Ne!==mt&&!Vt){v(ee),Q(ae,Ht);return}var Nt=De;if(Vt){var hr=he==="ArrowLeft"?"left":"right";Nt=X(Pe,De,hr),Nt!==De&&ee.preventDefault()}else he==="Delete"&&!w(Pe[De])?Nt=X(Pe,De,"right"):he==="Backspace"&&!w(Pe[De])&&(Nt=X(Pe,De,"left"));Nt!==De&&Z(ae,Nt,Pe),v(ee),Q(ae,Ht)},He=function(ee){var ae=ee.target,he=function(){var Ne=ae.selectionStart,mt=ae.selectionEnd,Pe=ae.value;if(Pe===void 0&&(Pe=""),Ne===mt){var De=X(Pe,Ne);De!==Ne&&Z(ae,De,Pe)}};he(),requestAnimationFrame(function(){he()}),C(ee),Q(ae)},G=function(ee){ee.persist&&ee.persist();var ae=ee.target,he=ee.currentTarget;j.current=ae,A.current.focusTimeout=setTimeout(function(){var Ne=ae.selectionStart,mt=ae.selectionEnd,Pe=ae.value;Pe===void 0&&(Pe="");var De=X(Pe,Ne);De!==Ne&&!(Ne===0&&mt===Pe.length)&&Z(ae,De,Pe),x(Object.assign(Object.assign({},ee),{currentTarget:he}))},0)},Mt=function(ee){j.current=null,clearTimeout(A.current.focusTimeout),clearTimeout(A.current.setCaretTimeout),b(ee)},ht=H&&UM()?"numeric":void 0,Ge=Object.assign({inputMode:ht},E,{type:t,value:_,onChange:pe,onKeyDown:ve,onMouseUp:He,onFocus:G,onBlur:Mt});if(n==="text")return o?m.createElement(m.Fragment,null,o(_,E)||null):m.createElement("span",Object.assign({},E,{ref:i}),_);if(r){var Xt=r;return m.createElement(Xt,Object.assign({},Ge,{ref:i}))}return m.createElement("input",Object.assign({},Ge,{ref:i}))}function B2(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix;o===void 0&&(o="");var i=t.suffix;i===void 0&&(i="");var a=t.allowNegative,l=t.thousandsGroupStyle;if(l===void 0&&(l="thousand"),e===""||e==="-")return e;var c=z1(t),u=c.thousandSeparator,p=c.decimalSeparator,f=n!==0&&e.indexOf(".")!==-1||n&&r,g=Ll(e,a),v=g.beforeDecimal,C=g.afterDecimal,x=g.addNegation;return n!==void 0&&(C=R4(C,n,!!r)),u&&(v=YM(v,u,l)),o&&(v=o+v),i&&(C=C+i),x&&(v="-"+v),e=v+(f&&p||"")+C,e}function z1(e){var t=e.decimalSeparator;t===void 0&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function o$(e,t){e===void 0&&(e="");var n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}function i$(e,t){return new RegExp("(^-)|[0-9]|"+j4(e),"g")}function a$(e,t,n){return e===""?!0:!t?.match(/\d/)&&!n?.match(/\d/)&&typeof e=="string"&&!isNaN(Number(e))}function s$(e,t,n){var r;t===void 0&&(t=QM(e));var o=n.allowNegative,i=n.prefix;i===void 0&&(i="");var a=n.suffix;a===void 0&&(a="");var l=n.decimalScale,c=t.from,u=t.to,p=u.start,f=u.end,g=z1(n),v=g.allowedDecimalSeparators,C=g.decimalSeparator,x=e[f]===C;if(So(e)&&(e===i||e===a)&&t.lastValue==="")return e;if(f-p===1&&v.indexOf(e[p])!==-1){var b=l===0?"":C;e=e.substring(0,p)+b+e.substring(p+1,e.length)}var y=function(j,A,R){var W=!1,Z=!1;i.startsWith("-")?W=!1:j.startsWith("--")?(W=!1,Z=!0):a.startsWith("-")&&j.length===a.length?W=!1:j[0]==="-"&&(W=!0);var X=W?1:0;return Z&&(X=2),X&&(j=j.substring(X),A-=X,R-=X),{value:j,start:A,end:R,hasNegation:W}},k=y(e,p,f),w=k.hasNegation;r=k,e=r.value,p=r.start,f=r.end;var L=y(t.lastValue,c.start,c.end),E=L.start,$=L.end,M=L.value,_=e.substring(p,f);e.length&&M.length&&(E>M.length-a.length||$<i.length)&&!(_&&a.startsWith(_))&&(e=M);var D=0;e.startsWith(i)?D+=i.length:p<i.length&&(D=p),e=e.substring(D),f-=D;var P=e.length,N=e.length-a.length;e.endsWith(a)?P=N:(f>N||f>e.length-a.length)&&(P=f),e=e.substring(0,P),e=o$(w?"-"+e:e,o),e=(e.match(i$(C))||[]).join("");var F=e.indexOf(C);e=e.replace(new RegExp(j4(C),"g"),function(j,A){return A===F?".":""});var V=Ll(e,o),T=V.beforeDecimal,H=V.afterDecimal,I=V.addNegation;return u.end-u.start<c.end-c.start&&T===""&&x&&!parseFloat(H)&&(e=I?"-":""),e}function l$(e,t){var n=t.prefix;n===void 0&&(n="");var r=t.suffix;r===void 0&&(r="");var o=Array.from({length:e.length+1}).map(function(){return!0}),i=e[0]==="-";o.fill(!1,0,n.length+(i?1:0));var a=e.length;return o.fill(!1,a-r.length+1,a+1),o}function c$(e){var t=z1(e),n=t.thousandSeparator,r=t.decimalSeparator,o=e.prefix;o===void 0&&(o="");var i=e.allowNegative;if(i===void 0&&(i=!0),n===r)throw new Error(`
|
|
6047
|
+
`,HM=({size:e="S",color:t})=>{const{mode:n}=ne();return s.jsx(h.ThemeProvider,{theme:U[n],children:s.jsx(PM,{size:e,className:"loader",children:s.jsx(BM,{size:e,color:t})})})},VM=e=>d.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.9339 2.76304L6.92684 2.77034C6.58005 3.12802 6.58005 3.71609 6.92684 4.07377L12.1778 9.4898C12.4512 9.77175 12.4512 10.2303 12.1778 10.5123L6.92683 15.9283C6.58005 16.286 6.58005 16.8741 6.92683 17.2317C7.27362 17.5894 7.84377 17.5894 8.19055 17.2317L13.4416 11.8157C14.4085 10.8184 14.4085 9.18367 13.4416 8.18637L8.19055 2.77034C8.01251 2.5867 7.78446 2.5 7.55869 2.5C7.3244 2.5 7.10238 2.60086 6.9339 2.76304Z",fill:"#6553F5"})),NM=e=>s.jsx(zt,{...e,iconRight:s.jsx(VM,{})});function D4(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var Io;(function(e){e.event="event",e.props="prop"})(Io||(Io={}));function Fn(){}function OM(e){var t,n=void 0;return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return t&&r.length===t.length&&r.every(function(i,a){return i===t[a]})||(t=r,n=e.apply(void 0,r)),n}}function So(e){return!!(e||"").match(/\d/)}function _r(e){return e==null}function WM(e){return typeof e=="number"&&isNaN(e)}function A4(e){return _r(e)||WM(e)||typeof e=="number"&&!isFinite(e)}function j4(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ZM(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function YM(e,t,n){var r=ZM(n),o=e.search(/[1-9]/);return o=o===-1?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}function zM(e){var t=m.useRef(e);t.current=e;var n=m.useRef(function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return t.current.apply(t,r)});return n.current}function Ll(e,t){t===void 0&&(t=!0);var n=e[0]==="-",r=n&&t;e=e.replace("-","");var o=e.split("."),i=o[0],a=o[1]||"";return{beforeDecimal:i,afterDecimal:a,hasNegation:n,addNegation:r}}function GM(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}function R4(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}function T2(e,t){return Array(t+1).join(e)}function T4(e){var t=e+"",n=t[0]==="-"?"-":"";n&&(t=t.substring(1));var r=t.split(/[eE]/g),o=r[0],i=r[1];if(i=Number(i),!i)return n+o;o=o.replace(".","");var a=1+i,l=o.length;return a<0?o="0."+T2("0",Math.abs(a))+o:a>=l?o=o+T2("0",a-l):o=(o.substring(0,a)||"0")+"."+o.substring(a),n+o}function F2(e,t,n){if(["","-"].indexOf(e)!==-1)return e;var r=(e.indexOf(".")!==-1||n)&&t,o=Ll(e),i=o.beforeDecimal,a=o.afterDecimal,l=o.hasNegation,c=parseFloat("0."+(a||"0")),u=a.length<=t?"0."+a:c.toFixed(t),p=u.split("."),f=i;i&&Number(p[0])&&(f=i.split("").reverse().reduce(function(x,b,y){return x.length>y?(Number(x[0])+Number(b)).toString()+x.substring(1,x.length):b+x},p[0]));var g=R4(p[1]||"",t,n),v=l?"-":"",C=r?".":"";return""+v+f+C+g}function Gn(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var F4=OM(function(e,t){for(var n=0,r=0,o=e.length,i=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[i-1-r]&&i-r>n&&o-r>n;)r++;return{from:{start:n,end:o-r},to:{start:n,end:i-r}}}),XM=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function JM(e,t,n){return Math.min(Math.max(e,t),n)}function Ma(e){return Math.max(e.selectionStart,e.selectionEnd)}function UM(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function QM(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function KM(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,o=e.formattedValueIndex;return t[r]===n[o]}function qM(e,t,n,r,o,i,a){a===void 0&&(a=KM);var l=o.findIndex(function(L){return L}),c=e.slice(0,l);!t&&!n.startsWith(c)&&(t=c,n=c+n,r=r+c.length);for(var u=n.length,p=e.length,f={},g=new Array(u),v=0;v<u;v++){g[v]=-1;for(var C=0,x=p;C<x;C++){var b=a({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:v,formattedValueIndex:C});if(b&&f[C]!==!0){g[v]=C,f[C]=!0;break}}}for(var y=r;y<u&&(g[y]===-1||!i(n[y]));)y++;var k=y===u||g[y]===-1?p:g[y];for(y=r-1;y>0&&g[y]===-1;)y--;var w=y===-1||g[y]===-1?0:g[y]+1;return w>k?k:r-w<k-r?w:k}function P2(e,t,n,r){var o=e.length;if(t=JM(t,0,o),r==="left"){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=o&&!n[t];)t++;t>o&&(t=n.lastIndexOf(!0))}return t===-1&&(t=o),t}function e$(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(So(e[n])||So(e[n-1]));return t}function P4(e,t,n,r,o,i){i===void 0&&(i=Fn);var a=zM(function(C,x){var b,y;return A4(C)?(y="",b=""):typeof C=="number"||x?(y=typeof C=="number"?T4(C):C,b=r(y)):(y=o(C,void 0),b=r(y)),{formattedValue:b,numAsString:y}}),l=m.useState(function(){return a(_r(e)?t:e,n)}),c=l[0],u=l[1],p=function(C,x){C.formattedValue!==c.formattedValue&&u({formattedValue:C.formattedValue,numAsString:C.value}),i(C,x)},f=e,g=n;_r(e)&&(f=c.numAsString,g=!0);var v=a(f,g);return m.useMemo(function(){u(v)},[v.formattedValue]),[c,p]}function t$(e){return e.replace(/[^0-9]/g,"")}function n$(e){return e}function r$(e){var t=e.type;t===void 0&&(t="text");var n=e.displayType;n===void 0&&(n="input");var r=e.customInput,o=e.renderText,i=e.getInputRef,a=e.format;a===void 0&&(a=n$);var l=e.removeFormatting;l===void 0&&(l=t$);var c=e.defaultValue,u=e.valueIsNumericString,p=e.onValueChange,f=e.isAllowed,g=e.onChange;g===void 0&&(g=Fn);var v=e.onKeyDown;v===void 0&&(v=Fn);var C=e.onMouseUp;C===void 0&&(C=Fn);var x=e.onFocus;x===void 0&&(x=Fn);var b=e.onBlur;b===void 0&&(b=Fn);var y=e.value,k=e.getCaretBoundary;k===void 0&&(k=e$);var w=e.isValidInputCharacter;w===void 0&&(w=So);var L=e.isCharacterSame,E=D4(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),$=P4(y,c,!!u,a,l,p),M=$[0],_=M.formattedValue,D=M.numAsString,P=$[1],N=m.useRef(),F=m.useRef({formattedValue:_,numAsString:D}),V=function(ee,ae){F.current={formattedValue:ee.formattedValue,numAsString:ee.value},P(ee,ae)},T=m.useState(!1),H=T[0],I=T[1],j=m.useRef(null),A=m.useRef({setCaretTimeout:null,focusTimeout:null});m.useEffect(function(){return I(!0),function(){clearTimeout(A.current.setCaretTimeout),clearTimeout(A.current.focusTimeout)}},[]);var R=a,W=function(ee,ae){var he=parseFloat(ae);return{formattedValue:ee,value:ae,floatValue:isNaN(he)?void 0:he}},Z=function(ee,ae,he){ee.selectionStart===0&&ee.selectionEnd===ee.value.length||(Gn(ee,ae),A.current.setCaretTimeout=setTimeout(function(){ee.value===he&&ee.selectionStart!==ae&&Gn(ee,ae)},0))},X=function(ee,ae,he){return P2(ee,ae,k(ee),he)},me=function(ee,ae,he){var Ne=k(ae),mt=qM(ae,_,ee,he,Ne,w,L);return mt=P2(ae,mt,Ne),mt},re=function(ee){var ae=ee.formattedValue;ae===void 0&&(ae="");var he=ee.input,Ne=ee.source,mt=ee.event,Pe=ee.numAsString,De;if(he){var Ht=ee.inputValue||he.value,Vt=Ma(he);he.value=ae,De=me(Ht,ae,Vt),De!==void 0&&Z(he,De,ae)}ae!==_&&V(W(ae,Pe),{event:mt,source:Ne})};m.useEffect(function(){var ee=F.current,ae=ee.formattedValue,he=ee.numAsString;(_!==ae||D!==he)&&V(W(_,D),{event:void 0,source:Io.props})},[_,D]);var oe=j.current?Ma(j.current):void 0,z=typeof window<"u"?m.useLayoutEffect:m.useEffect;z(function(){var ee=j.current;if(_!==F.current.formattedValue&&ee){var ae=me(F.current.formattedValue,_,oe);ee.value=_,Z(ee,ae,_)}},[_]);var te=function(ee,ae,he){var Ne=ae.target,mt=N.current?XM(N.current,Ne.selectionEnd):F4(_,ee),Pe=Object.assign(Object.assign({},mt),{lastValue:_}),De=l(ee,Pe),Ht=R(De);if(De=l(Ht,void 0),f&&!f(W(Ht,De))){var Vt=ae.target,Nt=Ma(Vt),hr=me(ee,_,Nt);return Vt.value=_,Z(Vt,hr,_),!1}return re({formattedValue:Ht,numAsString:De,inputValue:ee,event:ae,source:he,input:ae.target}),!0},Q=function(ee,ae){ae===void 0&&(ae=0);var he=ee.selectionStart,Ne=ee.selectionEnd;N.current={selectionStart:he,selectionEnd:Ne+ae}},pe=function(ee){var ae=ee.target,he=ae.value,Ne=te(he,ee,Io.event);Ne&&g(ee),N.current=void 0},ve=function(ee){var ae=ee.target,he=ee.key,Ne=ae.selectionStart,mt=ae.selectionEnd,Pe=ae.value;Pe===void 0&&(Pe="");var De;he==="ArrowLeft"||he==="Backspace"?De=Math.max(Ne-1,0):he==="ArrowRight"?De=Math.min(Ne+1,Pe.length):he==="Delete"&&(De=Ne);var Ht=0;he==="Delete"&&Ne===mt&&(Ht=1);var Vt=he==="ArrowLeft"||he==="ArrowRight";if(De===void 0||Ne!==mt&&!Vt){v(ee),Q(ae,Ht);return}var Nt=De;if(Vt){var hr=he==="ArrowLeft"?"left":"right";Nt=X(Pe,De,hr),Nt!==De&&ee.preventDefault()}else he==="Delete"&&!w(Pe[De])?Nt=X(Pe,De,"right"):he==="Backspace"&&!w(Pe[De])&&(Nt=X(Pe,De,"left"));Nt!==De&&Z(ae,Nt,Pe),v(ee),Q(ae,Ht)},He=function(ee){var ae=ee.target,he=function(){var Ne=ae.selectionStart,mt=ae.selectionEnd,Pe=ae.value;if(Pe===void 0&&(Pe=""),Ne===mt){var De=X(Pe,Ne);De!==Ne&&Z(ae,De,Pe)}};he(),requestAnimationFrame(function(){he()}),C(ee),Q(ae)},G=function(ee){ee.persist&&ee.persist();var ae=ee.target,he=ee.currentTarget;j.current=ae,A.current.focusTimeout=setTimeout(function(){var Ne=ae.selectionStart,mt=ae.selectionEnd,Pe=ae.value;Pe===void 0&&(Pe="");var De=X(Pe,Ne);De!==Ne&&!(Ne===0&&mt===Pe.length)&&Z(ae,De,Pe),x(Object.assign(Object.assign({},ee),{currentTarget:he}))},0)},Mt=function(ee){j.current=null,clearTimeout(A.current.focusTimeout),clearTimeout(A.current.setCaretTimeout),b(ee)},ht=H&&UM()?"numeric":void 0,Ge=Object.assign({inputMode:ht},E,{type:t,value:_,onChange:pe,onKeyDown:ve,onMouseUp:He,onFocus:G,onBlur:Mt});if(n==="text")return o?m.createElement(m.Fragment,null,o(_,E)||null):m.createElement("span",Object.assign({},E,{ref:i}),_);if(r){var Jt=r;return m.createElement(Jt,Object.assign({},Ge,{ref:i}))}return m.createElement("input",Object.assign({},Ge,{ref:i}))}function B2(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix;o===void 0&&(o="");var i=t.suffix;i===void 0&&(i="");var a=t.allowNegative,l=t.thousandsGroupStyle;if(l===void 0&&(l="thousand"),e===""||e==="-")return e;var c=z1(t),u=c.thousandSeparator,p=c.decimalSeparator,f=n!==0&&e.indexOf(".")!==-1||n&&r,g=Ll(e,a),v=g.beforeDecimal,C=g.afterDecimal,x=g.addNegation;return n!==void 0&&(C=R4(C,n,!!r)),u&&(v=YM(v,u,l)),o&&(v=o+v),i&&(C=C+i),x&&(v="-"+v),e=v+(f&&p||"")+C,e}function z1(e){var t=e.decimalSeparator;t===void 0&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function o$(e,t){e===void 0&&(e="");var n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}function i$(e,t){return new RegExp("(^-)|[0-9]|"+j4(e),"g")}function a$(e,t,n){return e===""?!0:!t?.match(/\d/)&&!n?.match(/\d/)&&typeof e=="string"&&!isNaN(Number(e))}function s$(e,t,n){var r;t===void 0&&(t=QM(e));var o=n.allowNegative,i=n.prefix;i===void 0&&(i="");var a=n.suffix;a===void 0&&(a="");var l=n.decimalScale,c=t.from,u=t.to,p=u.start,f=u.end,g=z1(n),v=g.allowedDecimalSeparators,C=g.decimalSeparator,x=e[f]===C;if(So(e)&&(e===i||e===a)&&t.lastValue==="")return e;if(f-p===1&&v.indexOf(e[p])!==-1){var b=l===0?"":C;e=e.substring(0,p)+b+e.substring(p+1,e.length)}var y=function(j,A,R){var W=!1,Z=!1;i.startsWith("-")?W=!1:j.startsWith("--")?(W=!1,Z=!0):a.startsWith("-")&&j.length===a.length?W=!1:j[0]==="-"&&(W=!0);var X=W?1:0;return Z&&(X=2),X&&(j=j.substring(X),A-=X,R-=X),{value:j,start:A,end:R,hasNegation:W}},k=y(e,p,f),w=k.hasNegation;r=k,e=r.value,p=r.start,f=r.end;var L=y(t.lastValue,c.start,c.end),E=L.start,$=L.end,M=L.value,_=e.substring(p,f);e.length&&M.length&&(E>M.length-a.length||$<i.length)&&!(_&&a.startsWith(_))&&(e=M);var D=0;e.startsWith(i)?D+=i.length:p<i.length&&(D=p),e=e.substring(D),f-=D;var P=e.length,N=e.length-a.length;e.endsWith(a)?P=N:(f>N||f>e.length-a.length)&&(P=f),e=e.substring(0,P),e=o$(w?"-"+e:e,o),e=(e.match(i$(C))||[]).join("");var F=e.indexOf(C);e=e.replace(new RegExp(j4(C),"g"),function(j,A){return A===F?".":""});var V=Ll(e,o),T=V.beforeDecimal,H=V.afterDecimal,I=V.addNegation;return u.end-u.start<c.end-c.start&&T===""&&x&&!parseFloat(H)&&(e=I?"-":""),e}function l$(e,t){var n=t.prefix;n===void 0&&(n="");var r=t.suffix;r===void 0&&(r="");var o=Array.from({length:e.length+1}).map(function(){return!0}),i=e[0]==="-";o.fill(!1,0,n.length+(i?1:0));var a=e.length;return o.fill(!1,a-r.length+1,a+1),o}function c$(e){var t=z1(e),n=t.thousandSeparator,r=t.decimalSeparator,o=e.prefix;o===void 0&&(o="");var i=e.allowNegative;if(i===void 0&&(i=!0),n===r)throw new Error(`
|
|
6048
6048
|
Decimal separator can't be same as thousand separator.
|
|
6049
6049
|
thousandSeparator: `+n+` (thousandSeparator = {true} is same as thousandSeparator = ",")
|
|
6050
6050
|
decimalSeparator: `+r+` (default value for decimalSeparator is .)
|
|
@@ -6213,7 +6213,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
6213
6213
|
left: auto;
|
|
6214
6214
|
top: -48px;
|
|
6215
6215
|
}
|
|
6216
|
-
`,g$=Object.freeze(Object.defineProperty({__proto__:null,BackButton:W4,BottomContent:z4,CloseButton:G4,Content:Y4,Header:N4,Layout:H4,LeftWrapper:O4,Sidebar:V4,Title:Z4,Wrapper:B4},Symbol.toStringTag,{value:"Module"})),v$=({data:e,containerId:t})=>{const n=m.useMemo(()=>{const r={...e};return delete r.children,r},[e]);return s.jsx(
|
|
6216
|
+
`,g$=Object.freeze(Object.defineProperty({__proto__:null,BackButton:W4,BottomContent:z4,CloseButton:G4,Content:Y4,Header:N4,Layout:H4,LeftWrapper:O4,Sidebar:V4,Title:Z4,Wrapper:B4},Symbol.toStringTag,{value:"Module"})),v$=({data:e,containerId:t})=>{const n=m.useMemo(()=>{const r={...e};return delete r.children,r},[e]);return s.jsx(Xt,{...n,styleContent:{maxHeight:"calc(100vh - 185px)"},styleContentInside:{maxHeight:"calc(100vh - 235px)"},containerId:t,children:e.children})},C$="react-sideModals",x$=e=>{const{animation:t,showModal:n,content:r,handleClose:o}=rl({isOpen:e.isOpen,children:e.children,onClose:e.onClose,onBeforeClose:e.onBeforeClose});return n?s.jsx(b$,{...e,onClose:o,animation:t,children:r}):null},b$=({onClose:e,children:t,title:n,animation:r,rightContent:o,bottomContent:i,classNameHeader:a,className:l,classNameContent:c,alert:u,modal:p,size:f,withoutAnimation:g=!1,onBack:v})=>{const[C,x]=m.useState(0),b=m.useRef(null),y=rr(),k=()=>{e&&e()};m.useEffect(()=>{if(b.current){const{height:L}=b.current.getBoundingClientRect();x(L)}else x(0)},[b?.current,i]);const{mode:w}=ne();return nl(e),s.jsx(qo,{id:C$,children:s.jsx(h.ThemeProvider,{theme:U[w],children:s.jsxs(B4,{$isOpen:r,className:Te(l,"sideModal-wrapper"),children:[s.jsx(H4,{onClick:k}),s.jsxs(V4,{$withoutAnimation:g,$size:f,$isOpen:r,className:Te(c,"sideModal-content"),id:y,children:[s.jsx(G4,{onClick:k,children:s.jsx(V0,{className:"modal-closeBtn"})}),s.jsxs(N4,{className:Te(a,"sideModal-header"),children:[s.jsxs(O4,{children:[v&&s.jsx(W4,{children:s.jsx(dr,{onClick:v})}),s.jsx(Z4,{className:"sideModal-title",children:n})]}),o||null]}),s.jsxs(Y4,{$bottomHeight:C,className:"sideModal-contentInside",children:[s.jsx(s.Fragment,{children:t}),i&&s.jsx(z4,{ref:b,children:i})]}),u&&s.jsx(_4,{modal:{...u?.modal,containerId:y},confirmButton:{...u?.confirmButton},cancelButton:{...u?.cancelButton}}),p&&s.jsx(v$,{data:p,containerId:y})]})]})})})},y$=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M11.9999 16.33C9.60992 16.33 7.66992 14.39 7.66992 12C7.66992 9.60998 9.60992 7.66998 11.9999 7.66998C14.3899 7.66998 16.3299 9.60998 16.3299 12C16.3299 14.39 14.3899 16.33 11.9999 16.33ZM11.9999 9.16998C10.4399 9.16998 9.16992 10.44 9.16992 12C9.16992 13.56 10.4399 14.83 11.9999 14.83C13.5599 14.83 14.8299 13.56 14.8299 12C14.8299 10.44 13.5599 9.16998 11.9999 9.16998Z",fill:"#A2A1A7"}),d.createElement("path",{d:"M12.0001 21.02C8.24008 21.02 4.69008 18.82 2.25008 15C1.19008 13.35 1.19008 10.66 2.25008 8.99998C4.70008 5.17998 8.25008 2.97998 12.0001 2.97998C15.7501 2.97998 19.3001 5.17998 21.7401 8.99998C22.8001 10.65 22.8001 13.34 21.7401 15C19.3001 18.82 15.7501 21.02 12.0001 21.02ZM12.0001 4.47998C8.77008 4.47998 5.68008 6.41998 3.52008 9.80998C2.77008 10.98 2.77008 13.02 3.52008 14.19C5.68008 17.58 8.77008 19.52 12.0001 19.52C15.2301 19.52 18.3201 17.58 20.4801 14.19C21.2301 13.02 21.2301 10.98 20.4801 9.80998C18.3201 6.41998 15.2301 4.47998 12.0001 4.47998Z",fill:"#A2A1A7"})),w$=e=>d.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M9.2175 15.0275C9.0275 15.0275 8.8375 14.9575 8.6875 14.8075C7.8675 13.9875 7.4175 12.8975 7.4175 11.7475C7.4175 9.3575 9.3575 7.4175 11.7475 7.4175C12.8975 7.4175 13.9875 7.8675 14.8075 8.6875C14.9475 8.8275 15.0275 9.0175 15.0275 9.2175C15.0275 9.4175 14.9475 9.6075 14.8075 9.7475L9.7475 14.8075C9.5975 14.9575 9.4075 15.0275 9.2175 15.0275ZM11.7475 8.9175C10.1875 8.9175 8.9175 10.1875 8.9175 11.7475C8.9175 12.2475 9.0475 12.7275 9.2875 13.1475L13.1475 9.2875C12.7275 9.0475 12.2475 8.9175 11.7475 8.9175Z",fill:"#A2A1A7"}),d.createElement("path",{d:"M5.3475 18.2575C5.1775 18.2575 4.9975 18.1975 4.8575 18.0775C3.7875 17.1675 2.8275 16.0475 2.0075 14.7475C0.9475 13.0975 0.9475 10.4075 2.0075 8.7475C4.4475 4.9275 7.9975 2.7275 11.7475 2.7275C13.9475 2.7275 16.1175 3.4875 18.0175 4.9175C18.3475 5.1675 18.4175 5.6375 18.1675 5.9675C17.9175 6.2975 17.4475 6.3675 17.1175 6.1175C15.4775 4.8775 13.6175 4.2275 11.7475 4.2275C8.5175 4.2275 5.4275 6.1675 3.2675 9.5575C2.5175 10.7275 2.5175 12.7675 3.2675 13.9375C4.0175 15.1075 4.8775 16.1175 5.8275 16.9375C6.1375 17.2075 6.1775 17.6775 5.9075 17.9975C5.7675 18.1675 5.5575 18.2575 5.3475 18.2575Z",fill:"#A2A1A7"}),d.createElement("path",{d:"M11.7475 20.7675C10.4175 20.7675 9.1175 20.4975 7.8675 19.9675C7.4875 19.8075 7.3075 19.3675 7.4675 18.9875C7.6275 18.6075 8.0675 18.4275 8.4475 18.5875C9.5075 19.0375 10.6175 19.2675 11.7375 19.2675C14.9675 19.2675 18.0575 17.3275 20.2175 13.9375C20.9675 12.7675 20.9675 10.7275 20.2175 9.5575C19.9075 9.0675 19.5675 8.5975 19.2075 8.1575C18.9475 7.8375 18.9975 7.3675 19.3175 7.0975C19.6375 6.8375 20.1075 6.8775 20.3775 7.2075C20.7675 7.6875 21.1475 8.2075 21.4875 8.7475C22.5475 10.3975 22.5475 13.0875 21.4875 14.7475C19.0475 18.5675 15.4975 20.7675 11.7475 20.7675Z",fill:"#A2A1A7"}),d.createElement("path",{d:"M12.4375 16.0175C12.0875 16.0175 11.7675 15.7675 11.6975 15.4075C11.6175 14.9975 11.8875 14.6075 12.2975 14.5375C13.3975 14.3375 14.3175 13.4175 14.5175 12.3175C14.5975 11.9075 14.9875 11.6475 15.3975 11.7175C15.8075 11.7975 16.0775 12.1875 15.9975 12.5975C15.6775 14.3275 14.2975 15.6975 12.5775 16.0175C12.5275 16.0075 12.4875 16.0175 12.4375 16.0175Z",fill:"#A2A1A7"}),d.createElement("path",{d:"M1.7475 22.4975C1.5575 22.4975 1.3675 22.4275 1.2175 22.2775C0.9275 21.9875 0.9275 21.5075 1.2175 21.2175L8.6875 13.7475C8.9775 13.4575 9.4575 13.4575 9.7475 13.7475C10.0375 14.0375 10.0375 14.5175 9.7475 14.8075L2.2775 22.2775C2.1275 22.4275 1.9375 22.4975 1.7475 22.4975Z",fill:"#A2A1A7"}),d.createElement("path",{d:"M14.2775 9.9675C14.0875 9.9675 13.8975 9.8975 13.7475 9.7475C13.4575 9.4575 13.4575 8.9775 13.7475 8.6875L21.2175 1.2175C21.5075 0.9275 21.9875 0.9275 22.2775 1.2175C22.5675 1.5075 22.5675 1.9875 22.2775 2.2775L14.8075 9.7475C14.6575 9.8975 14.4675 9.9675 14.2775 9.9675Z",fill:"#A2A1A7"})),k$=h.styled.div`
|
|
6217
6217
|
position: relative;
|
|
6218
6218
|
width: 100%;
|
|
6219
6219
|
& input {
|
|
@@ -6661,11 +6661,11 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
6661
6661
|
border: 0.5px solid ${({theme:e})=>e.stroke.primary};
|
|
6662
6662
|
}
|
|
6663
6663
|
}
|
|
6664
|
-
`;function U4(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=U4(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function pt(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=U4(e))&&(r&&(r+=" "),r+=t);return r}function K(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function je(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Zt(e,t){const n=K(e);return isNaN(t)?je(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function zt(e,t){const n=K(e);if(isNaN(t))return je(e,NaN);if(!t)return n;const r=n.getDate(),o=je(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);const i=o.getDate();return r>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function Ml(e,t){const n=+K(e);return je(e,n+t)}const Q4=6048e5,r_=864e5,G1=6e4,X1=36e5,o_=1e3;function i_(e,t){return Ml(e,t*X1)}let a_={};function fr(){return a_}function An(e,t){const n=fr(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=K(e),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function Nr(e){return An(e,{weekStartsOn:1})}function K4(e){const t=K(e),n=t.getFullYear(),r=je(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=Nr(r),i=je(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Nr(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function sr(e){const t=K(e);return t.setHours(0,0,0,0),t}function i1(e){const t=K(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Or(e,t){const n=sr(e),r=sr(t),o=+n-i1(n),i=+r-i1(r);return Math.round((o-i)/r_)}function s_(e){const t=K4(e),n=je(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Nr(n)}function ds(e,t){return Ml(e,t*G1)}function $l(e,t){const n=t*3;return zt(e,n)}function l_(e,t){return Ml(e,t*1e3)}function a1(e,t){const n=t*7;return Zt(e,n)}function Ln(e,t){return zt(e,t*12)}function V2(e){let t;return e.forEach(function(n){const r=K(n);(t===void 0||t<r||isNaN(Number(r)))&&(t=r)}),t||new Date(NaN)}function N2(e){let t;return e.forEach(n=>{const r=K(n);(!t||t>r||isNaN(+r))&&(t=r)}),t||new Date(NaN)}function c_(e,t){const n=sr(e),r=sr(t);return+n==+r}function Mn(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function s1(e){if(!Mn(e)&&typeof e!="number")return!1;const t=K(e);return!isNaN(Number(t))}function l1(e,t){const n=K(e),r=K(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function Qn(e){const t=K(e);return Math.trunc(t.getMonth()/3)+1}function c1(e,t){const n=K(e),r=K(t),o=n.getFullYear()-r.getFullYear(),i=Qn(n)-Qn(r);return o*4+i}function d1(e,t){const n=K(e),r=K(t);return n.getFullYear()-r.getFullYear()}function d_(e,t){const n=K(e),r=K(t),o=O2(n,r),i=Math.abs(Or(n,r));n.setDate(n.getDate()-o*i);const a=+(O2(n,r)===-o),l=o*(i-a);return l===0?0:l}function O2(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function q4(e){const t=K(e);return t.setHours(23,59,59,999),t}function e3(e){const t=K(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function us(e){const t=K(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function t3(e){const t=K(e);return t.setDate(1),t.setHours(0,0,0,0),t}function n3(e){const t=K(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function J1(e){const t=K(e),n=je(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function u_(e,t){const n=fr(),r=n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=K(e),i=o.getDay(),a=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}const p_={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},f_=(e,t,n)=>{let r;const o=p_[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function $a(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const h_={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},m_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},g_={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v_={date:$a({formats:h_,defaultWidth:"full"}),time:$a({formats:m_,defaultWidth:"full"}),dateTime:$a({formats:g_,defaultWidth:"full"})},C_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},x_=(e,t,n,r)=>C_[e];function ro(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,l=n?.width?String(n.width):a;o=e.formattingValues[l]||e.formattingValues[a]}else{const a=e.defaultWidth,l=n?.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const b_={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},y_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},w_={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},k_={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},E_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},L_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},M_=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},$_={ordinalNumber:M_,era:ro({values:b_,defaultWidth:"wide"}),quarter:ro({values:y_,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ro({values:w_,defaultWidth:"wide"}),day:ro({values:k_,defaultWidth:"wide"}),dayPeriod:ro({values:E_,defaultWidth:"wide",formattingValues:L_,defaultFormattingWidth:"wide"})};function oo(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?I_(l,f=>f.test(a)):__(l,f=>f.test(a));let u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;const p=t.slice(a.length);return{value:u,rest:p}}}function __(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function I_(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function S_(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const l=t.slice(o.length);return{value:a,rest:l}}}const D_=/^(\d+)(th|st|nd|rd)?/i,A_=/\d+/i,j_={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},R_={any:[/^b/i,/^(a|c)/i]},T_={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},F_={any:[/1/i,/2/i,/3/i,/4/i]},P_={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},B_={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},H_={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},V_={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},N_={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},O_={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W_={ordinalNumber:S_({matchPattern:D_,parsePattern:A_,valueCallback:e=>parseInt(e,10)}),era:oo({matchPatterns:j_,defaultMatchWidth:"wide",parsePatterns:R_,defaultParseWidth:"any"}),quarter:oo({matchPatterns:T_,defaultMatchWidth:"wide",parsePatterns:F_,defaultParseWidth:"any",valueCallback:e=>e+1}),month:oo({matchPatterns:P_,defaultMatchWidth:"wide",parsePatterns:B_,defaultParseWidth:"any"}),day:oo({matchPatterns:H_,defaultMatchWidth:"wide",parsePatterns:V_,defaultParseWidth:"any"}),dayPeriod:oo({matchPatterns:N_,defaultMatchWidth:"any",parsePatterns:O_,defaultParseWidth:"any"})},r3={code:"en-US",formatDistance:f_,formatLong:v_,formatRelative:x_,localize:$_,match:W_,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Z_(e){const t=K(e);return Or(t,J1(t))+1}function _l(e){const t=K(e),n=+Nr(t)-+s_(t);return Math.round(n/Q4)+1}function Il(e,t){const n=K(e),r=n.getFullYear(),o=fr(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,a=je(e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=An(a,t),c=je(e,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const u=An(c,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function Y_(e,t){const n=fr(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=Il(e,t),i=je(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),An(i,t)}function o3(e,t){const n=K(e),r=+An(n,t)-+Y_(n,t);return Math.round(r/Q4)+1}function Ae(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Rn={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ae(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ae(n+1,2)},d(e,t){return Ae(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Ae(e.getHours()%12||12,t.length)},H(e,t){return Ae(e.getHours(),t.length)},m(e,t){return Ae(e.getMinutes(),t.length)},s(e,t){return Ae(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ae(o,t.length)}},yr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},W2={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Rn.y(e,t)},Y:function(e,t,n,r){const o=Il(e,r),i=o>0?o:1-o;if(t==="YY"){const a=i%100;return Ae(a,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ae(i,t.length)},R:function(e,t){const n=K4(e);return Ae(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ae(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ae(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ae(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Rn.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Ae(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=o3(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):Ae(o,t.length)},I:function(e,t,n){const r=_l(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ae(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Rn.d(e,t)},D:function(e,t,n){const r=Z_(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ae(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ae(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ae(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return Ae(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=yr.noon:r===0?o=yr.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=yr.evening:r>=12?o=yr.afternoon:r>=4?o=yr.morning:o=yr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Rn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Rn.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Rn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Rn.s(e,t)},S:function(e,t){return Rn.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Y2(r);case"XXXX":case"XX":return zn(r);case"XXXXX":case"XXX":default:return zn(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Y2(r);case"xxxx":case"xx":return zn(r);case"xxxxx":case"xxx":default:return zn(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Z2(r,":");case"OOOO":default:return"GMT"+zn(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Z2(r,":");case"zzzz":default:return"GMT"+zn(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return Ae(r,t.length)},T:function(e,t,n){const r=e.getTime();return Ae(r,t.length)}};function Z2(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+Ae(i,2)}function Y2(e,t){return e%60===0?(e>0?"-":"+")+Ae(Math.abs(e)/60,2):zn(e,t)}function zn(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ae(Math.trunc(r/60),2),i=Ae(r%60,2);return n+o+t+i}const z2=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},i3=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},z_=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return z2(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",z2(r,t)).replace("{{time}}",i3(o,t))},u1={p:i3,P:z_},G_=/^D+$/,X_=/^Y+$/,J_=["D","DD","YY","YYYY"];function a3(e){return G_.test(e)}function s3(e){return X_.test(e)}function ps(e,t,n){const r=U_(e,t,n);if(console.warn(r),J_.includes(e))throw new RangeError(r)}function U_(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Q_=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,K_=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,q_=/^'([^]*?)'?$/,eI=/''/g,tI=/[a-zA-Z]/;function G2(e,t,n){const r=fr(),o=n?.locale??r.locale??r3,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=K(e);if(!s1(l))throw new RangeError("Invalid time value");let c=t.match(K_).map(p=>{const f=p[0];if(f==="p"||f==="P"){const g=u1[f];return g(p,o.formatLong)}return p}).join("").match(Q_).map(p=>{if(p==="''")return{isToken:!1,value:"'"};const f=p[0];if(f==="'")return{isToken:!1,value:nI(p)};if(W2[f])return{isToken:!0,value:p};if(f.match(tI))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:p}});o.localize.preprocessor&&(c=o.localize.preprocessor(l,c));const u={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return c.map(p=>{if(!p.isToken)return p.value;const f=p.value;(!n?.useAdditionalWeekYearTokens&&s3(f)||!n?.useAdditionalDayOfYearTokens&&a3(f))&&ps(f,t,String(e));const g=W2[f[0]];return g(l,f,o.localize,u)}).join("")}function nI(e){const t=e.match(q_);return t?t[1].replace(eI,"'"):e}function X2(e){return K(e).getDate()}function rI(e){return K(e).getDay()}function oI(e){const t=K(e),n=t.getFullYear(),r=t.getMonth(),o=je(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function iI(){return Object.assign({},fr())}function ln(e){return K(e).getHours()}function aI(e){let n=K(e).getDay();return n===0&&(n=7),n}function cn(e){return K(e).getMinutes()}function Et(e){return K(e).getMonth()}function $n(e){return K(e).getSeconds()}function fs(e){return K(e).getTime()}function ge(e){return K(e).getFullYear()}function Nn(e,t){const n=K(e),r=K(t);return n.getTime()>r.getTime()}function lr(e,t){const n=K(e),r=K(t);return+n<+r}function sI(e,t){const n=K(e),r=K(t);return+n==+r}function lI(e,t){const n=t instanceof Date?je(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const cI=10;class l3{subPriority=0;validate(t,n){return!0}}class dI extends l3{constructor(t,n,r,o,i){super(),this.value=t,this.validateValue=n,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,r){return this.setValue(t,n,this.value,r)}}class uI extends l3{priority=cI;subPriority=-1;set(t,n){return n.timestampIsSet?t:je(t,lI(t,Date))}}class $e{run(t,n,r,o){const i=this.parse(t,n,r,o);return i?{setter:new dI(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(t,n,r){return!0}}class pI extends $e{priority=140;parse(t,n,r){switch(n){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,n,r){return n.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}const Ue={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},nn={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Qe(e,t){return e&&{value:t(e.value),rest:e.rest}}function We(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function rn(e,t){const n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};const r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*X1+i*G1+a*o_),rest:t.slice(n[0].length)}}function c3(e){return We(Ue.anyDigitsSigned,e)}function ze(e,t){switch(e){case 1:return We(Ue.singleDigit,t);case 2:return We(Ue.twoDigits,t);case 3:return We(Ue.threeDigits,t);case 4:return We(Ue.fourDigits,t);default:return We(new RegExp("^\\d{1,"+e+"}"),t)}}function p1(e,t){switch(e){case 1:return We(Ue.singleDigitSigned,t);case 2:return We(Ue.twoDigitsSigned,t);case 3:return We(Ue.threeDigitsSigned,t);case 4:return We(Ue.fourDigitsSigned,t);default:return We(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Sl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function d3(e,t){const n=t>0,r=n?t:1-t;let o;if(r<=50)o=e||100;else{const i=r+50,a=Math.trunc(i/100)*100,l=e>=i%100;o=e+a-(l?100:0)}return n?o:1-o}function u3(e){return e%400===0||e%4===0&&e%100!==0}class fI extends $e{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,n,r){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return Qe(ze(4,t),o);case"yo":return Qe(r.ordinalNumber(t,{unit:"year"}),o);default:return Qe(ze(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r){const o=t.getFullYear();if(r.isTwoDigitYear){const a=d3(r.year,o);return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}const i=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}}class hI extends $e{priority=130;parse(t,n,r){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Qe(ze(4,t),o);case"Yo":return Qe(r.ordinalNumber(t,{unit:"year"}),o);default:return Qe(ze(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r,o){const i=Il(t,o);if(r.isTwoDigitYear){const l=d3(r.year,i);return t.setFullYear(l,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),An(t,o)}const a=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(a,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),An(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class mI extends $e{priority=130;parse(t,n){return p1(n==="R"?4:n.length,t)}set(t,n,r){const o=je(t,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),Nr(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class gI extends $e{priority=130;parse(t,n){return p1(n==="u"?4:n.length,t)}set(t,n,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class vI extends $e{priority=120;parse(t,n,r){switch(n){case"Q":case"QQ":return ze(n.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class CI extends $e{priority=120;parse(t,n,r){switch(n){case"q":case"qq":return ze(n.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class xI extends $e{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,n,r){const o=i=>i-1;switch(n){case"M":return Qe(We(Ue.month,t),o);case"MM":return Qe(ze(2,t),o);case"Mo":return Qe(r.ordinalNumber(t,{unit:"month"}),o);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class bI extends $e{priority=110;parse(t,n,r){const o=i=>i-1;switch(n){case"L":return Qe(We(Ue.month,t),o);case"LL":return Qe(ze(2,t),o);case"Lo":return Qe(r.ordinalNumber(t,{unit:"month"}),o);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function yI(e,t,n){const r=K(e),o=o3(r,n)-t;return r.setDate(r.getDate()-o*7),r}class wI extends $e{priority=100;parse(t,n,r){switch(n){case"w":return We(Ue.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r,o){return An(yI(t,r,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function kI(e,t){const n=K(e),r=_l(n)-t;return n.setDate(n.getDate()-r*7),n}class EI extends $e{priority=100;parse(t,n,r){switch(n){case"I":return We(Ue.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r){return Nr(kI(t,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const LI=[31,28,31,30,31,30,31,31,30,31,30,31],MI=[31,29,31,30,31,30,31,31,30,31,30,31];class $I extends $e{priority=90;subPriority=1;parse(t,n,r){switch(n){case"d":return We(Ue.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return ze(n.length,t)}}validate(t,n){const r=t.getFullYear(),o=u3(r),i=t.getMonth();return o?n>=1&&n<=MI[i]:n>=1&&n<=LI[i]}set(t,n,r){return t.setDate(r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class _I extends $e{priority=90;subpriority=1;parse(t,n,r){switch(n){case"D":case"DD":return We(Ue.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return ze(n.length,t)}}validate(t,n){const r=t.getFullYear();return u3(r)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function Dl(e,t,n){const r=fr(),o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=K(e),a=i.getDay(),c=(t%7+7)%7,u=7-o,p=t<0||t>6?t-(a+u)%7:(c+u)%7-(a+u)%7;return Zt(i,p)}class II extends $e{priority=90;parse(t,n,r){switch(n){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,o){return t=Dl(t,r,o),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class SI extends $e{priority=90;parse(t,n,r,o){const i=a=>{const l=Math.floor((a-1)/7)*7;return(a+o.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Qe(ze(n.length,t),i);case"eo":return Qe(r.ordinalNumber(t,{unit:"day"}),i);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,o){return t=Dl(t,r,o),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class DI extends $e{priority=90;parse(t,n,r,o){const i=a=>{const l=Math.floor((a-1)/7)*7;return(a+o.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Qe(ze(n.length,t),i);case"co":return Qe(r.ordinalNumber(t,{unit:"day"}),i);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,o){return t=Dl(t,r,o),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function AI(e,t){const n=K(e),r=aI(n),o=t-r;return Zt(n,o)}class jI extends $e{priority=90;parse(t,n,r){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return ze(n.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return Qe(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return Qe(r.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return Qe(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),o);case"iiii":default:return Qe(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,n){return n>=1&&n<=7}set(t,n,r){return t=AI(t,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class RI extends $e{priority=80;parse(t,n,r){switch(n){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Sl(r),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class TI extends $e{priority=80;parse(t,n,r){switch(n){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Sl(r),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class FI extends $e{priority=80;parse(t,n,r){switch(n){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Sl(r),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class PI extends $e{priority=70;parse(t,n,r){switch(n){case"h":return We(Ue.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,r){const o=t.getHours()>=12;return o&&r<12?t.setHours(r+12,0,0,0):!o&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class BI extends $e{priority=70;parse(t,n,r){switch(n){case"H":return We(Ue.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,r){return t.setHours(r,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}class HI extends $e{priority=70;parse(t,n,r){switch(n){case"K":return We(Ue.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}class VI extends $e{priority=70;parse(t,n,r){switch(n){case"k":return We(Ue.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,r){const o=r<=24?r%24:r;return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class NI extends $e{priority=60;parse(t,n,r){switch(n){case"m":return We(Ue.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setMinutes(r,0,0),t}incompatibleTokens=["t","T"]}class OI extends $e{priority=50;parse(t,n,r){switch(n){case"s":return We(Ue.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setSeconds(r,0),t}incompatibleTokens=["t","T"]}class WI extends $e{priority=30;parse(t,n){const r=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Qe(ze(n.length,t),r)}set(t,n,r){return t.setMilliseconds(r),t}incompatibleTokens=["t","T"]}class ZI extends $e{priority=10;parse(t,n){switch(n){case"X":return rn(nn.basicOptionalMinutes,t);case"XX":return rn(nn.basic,t);case"XXXX":return rn(nn.basicOptionalSeconds,t);case"XXXXX":return rn(nn.extendedOptionalSeconds,t);case"XXX":default:return rn(nn.extended,t)}}set(t,n,r){return n.timestampIsSet?t:je(t,t.getTime()-i1(t)-r)}incompatibleTokens=["t","T","x"]}class YI extends $e{priority=10;parse(t,n){switch(n){case"x":return rn(nn.basicOptionalMinutes,t);case"xx":return rn(nn.basic,t);case"xxxx":return rn(nn.basicOptionalSeconds,t);case"xxxxx":return rn(nn.extendedOptionalSeconds,t);case"xxx":default:return rn(nn.extended,t)}}set(t,n,r){return n.timestampIsSet?t:je(t,t.getTime()-i1(t)-r)}incompatibleTokens=["t","T","X"]}class zI extends $e{priority=40;parse(t){return c3(t)}set(t,n,r){return[je(t,r*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class GI extends $e{priority=20;parse(t){return c3(t)}set(t,n,r){return[je(t,r),{timestampIsSet:!0}]}incompatibleTokens="*"}const XI={G:new pI,y:new fI,Y:new hI,R:new mI,u:new gI,Q:new vI,q:new CI,M:new xI,L:new bI,w:new wI,I:new EI,d:new $I,D:new _I,E:new II,e:new SI,c:new DI,i:new jI,a:new RI,b:new TI,B:new FI,h:new PI,H:new BI,K:new HI,k:new VI,m:new NI,s:new OI,S:new WI,X:new ZI,x:new YI,t:new zI,T:new GI},JI=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,UI=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,QI=/^'([^]*?)'?$/,KI=/''/g,qI=/\S/,eS=/[a-zA-Z]/;function _a(e,t,n,r){const o=iI(),i=r?.locale??o.locale??r3,a=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(t==="")return e===""?K(n):je(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},u=[new uI],p=t.match(UI).map(x=>{const b=x[0];if(b in u1){const y=u1[b];return y(x,i.formatLong)}return x}).join("").match(JI),f=[];for(let x of p){!r?.useAdditionalWeekYearTokens&&s3(x)&&ps(x,t,e),!r?.useAdditionalDayOfYearTokens&&a3(x)&&ps(x,t,e);const b=x[0],y=XI[b];if(y){const{incompatibleTokens:k}=y;if(Array.isArray(k)){const L=f.find(E=>k.includes(E.token)||E.token===b);if(L)throw new RangeError(`The format string mustn't contain \`${L.fullToken}\` and \`${x}\` at the same time`)}else if(y.incompatibleTokens==="*"&&f.length>0)throw new RangeError(`The format string mustn't contain \`${x}\` and any other token at the same time`);f.push({token:b,fullToken:x});const w=y.run(e,x,i.match,c);if(!w)return je(n,NaN);u.push(w.setter),e=w.rest}else{if(b.match(eS))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");if(x==="''"?x="'":b==="'"&&(x=tS(x)),e.indexOf(x)===0)e=e.slice(x.length);else return je(n,NaN)}}if(e.length>0&&qI.test(e))return je(n,NaN);const g=u.map(x=>x.priority).sort((x,b)=>b-x).filter((x,b,y)=>y.indexOf(x)===b).map(x=>u.filter(b=>b.priority===x).sort((b,y)=>y.subPriority-b.subPriority)).map(x=>x[0]);let v=K(n);if(isNaN(v.getTime()))return je(n,NaN);const C={};for(const x of g){if(!x.validate(v,c))return je(n,NaN);const b=x.set(v,C,c);Array.isArray(b)?(v=b[0],Object.assign(C,b[1])):v=b}return je(n,v)}function tS(e){return e.match(QI)[1].replace(KI,"'")}function nS(e,t){const n=K(e),r=K(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function rS(e,t){const n=us(e),r=us(t);return+n==+r}function oS(e,t){const n=K(e),r=K(t);return n.getFullYear()===r.getFullYear()}function Do(e,t){const n=+K(e),[r,o]=[+K(t.start),+K(t.end)].sort((i,a)=>i-a);return n>=r&&n<=o}function iS(e,t){return Zt(e,-1)}function aS(e,t){const r=dS(e);let o;if(r.date){const c=uS(r.date,2);o=pS(c.restDateString,c.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);const i=o.getTime();let a=0,l;if(r.time&&(a=fS(r.time),isNaN(a)))return new Date(NaN);if(r.timezone){if(l=hS(r.timezone),isNaN(l))return new Date(NaN)}else{const c=new Date(i+a),u=new Date(0);return u.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),u.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),u}return new Date(i+a+l)}const mi={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},sS=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,lS=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,cS=/^([+-])(\d{2})(?::?(\d{2}))?$/;function dS(e){const t={},n=e.split(mi.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],mi.timeZoneDelimiter.test(t.date)&&(t.date=e.split(mi.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const o=mi.timezone.exec(r);o?(t.time=r.replace(o[1],""),t.timezone=o[1]):t.time=r}return t}function uS(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?o:i*100,restDateString:e.slice((r[1]||r[2]).length)}}function pS(e,t){if(t===null)return new Date(NaN);const n=e.match(sS);if(!n)return new Date(NaN);const r=!!n[4],o=io(n[1]),i=io(n[2])-1,a=io(n[3]),l=io(n[4]),c=io(n[5])-1;if(r)return xS(t,l,c)?mS(t,l,c):new Date(NaN);{const u=new Date(0);return!vS(t,i,a)||!CS(t,o)?new Date(NaN):(u.setUTCFullYear(t,i,Math.max(o,a)),u)}}function io(e){return e?parseInt(e):1}function fS(e){const t=e.match(lS);if(!t)return NaN;const n=Ia(t[1]),r=Ia(t[2]),o=Ia(t[3]);return bS(n,r,o)?n*X1+r*G1+o*1e3:NaN}function Ia(e){return e&&parseFloat(e.replace(",","."))||0}function hS(e){if(e==="Z")return 0;const t=e.match(cS);if(!t)return 0;const n=t[1]==="+"?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return yS(r,o)?n*(r*X1+o*G1):NaN}function mS(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,i=(t-1)*7+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}const gS=[31,null,31,30,31,30,31,31,30,31,30,31];function p3(e){return e%400===0||e%4===0&&e%100!==0}function vS(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(gS[t]||(p3(e)?29:28))}function CS(e,t){return t>=1&&t<=(p3(e)?366:365)}function xS(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function bS(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function yS(e,t){return t>=0&&t<=59}function It(e,t){const n=K(e),r=n.getFullYear(),o=n.getDate(),i=je(e,0);i.setFullYear(r,t,15),i.setHours(0,0,0,0);const a=oI(i);return n.setMonth(t,Math.min(o,a)),n}function wS(e,t){let n=K(e);return isNaN(+n)?je(e,NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=It(n,t.month)),t.date!=null&&n.setDate(t.date),t.hours!=null&&n.setHours(t.hours),t.minutes!=null&&n.setMinutes(t.minutes),t.seconds!=null&&n.setSeconds(t.seconds),t.milliseconds!=null&&n.setMilliseconds(t.milliseconds),n)}function Ai(e,t){const n=K(e);return n.setHours(t),n}function ji(e,t){const n=K(e);return n.setMinutes(t),n}function kr(e,t){const n=K(e),r=Math.trunc(n.getMonth()/3)+1,o=t-r;return It(n,n.getMonth()+o*3)}function Ri(e,t){const n=K(e);return n.setSeconds(t),n}function Ut(e,t){const n=K(e);return isNaN(+n)?je(e,NaN):(n.setFullYear(t),n)}function Kn(e,t){return zt(e,-t)}function f3(e,t){return $l(e,-1)}function J2(e,t){return a1(e,-1)}function Wr(e,t){return Ln(e,-t)}function U1(){return typeof window<"u"}function Xr(e){return h3(e)?(e.nodeName||"").toLowerCase():"#document"}function St(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function vn(e){var t;return(t=(h3(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function h3(e){return U1()?e instanceof Node||e instanceof St(e).Node:!1}function Ct(e){return U1()?e instanceof Element||e instanceof St(e).Element:!1}function hn(e){return U1()?e instanceof HTMLElement||e instanceof St(e).HTMLElement:!1}function U2(e){return!U1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof St(e).ShadowRoot}function ii(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function kS(e){return["table","td","th"].includes(Xr(e))}function Q1(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Al(e){const t=jl(),n=Ct(e)?Pt(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ES(e){let t=On(e);for(;hn(t)&&!Zr(t);){if(Al(t))return t;if(Q1(t))return null;t=On(t)}return null}function jl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zr(e){return["html","body","#document"].includes(Xr(e))}function Pt(e){return St(e).getComputedStyle(e)}function K1(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function On(e){if(Xr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||U2(e)&&e.host||vn(e);return U2(t)?t.host:t}function m3(e){const t=On(e);return Zr(t)?e.ownerDocument?e.ownerDocument.body:e.body:hn(t)&&ii(t)?t:m3(t)}function Ao(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=m3(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=St(o);if(i){const l=hs(a);return t.concat(a,a.visualViewport||[],ii(o)?o:[],l&&n?Ao(l):[])}return t.concat(o,Ao(o,[],n))}function hs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const ms=Math.min,Ir=Math.max,f1=Math.round,gi=Math.floor,dn=e=>({x:e,y:e});var h1=typeof document<"u"?m.useLayoutEffect:m.useEffect;const LS={...d},MS=LS.useInsertionEffect,$S=MS||(e=>e());function _S(e){const t=d.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return $S(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function g3(e){const t=Pt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=hn(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=f1(n)!==i||f1(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function Rl(e){return Ct(e)?e:e.contextElement}function Sr(e){const t=Rl(e);if(!hn(t))return dn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=g3(t);let a=(i?f1(n.width):n.width)/r,l=(i?f1(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const IS=dn(0);function v3(e){const t=St(e);return!jl()||!t.visualViewport?IS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function SS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==St(e)?!1:t}function cr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Rl(e);let a=dn(1);t&&(r?Ct(r)&&(a=Sr(r)):a=Sr(e));const l=SS(i,n,r)?v3(i):dn(0);let c=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,p=o.width/a.x,f=o.height/a.y;if(i){const g=St(i),v=r&&Ct(r)?St(r):r;let C=g,x=hs(C);for(;x&&r&&v!==C;){const b=Sr(x),y=x.getBoundingClientRect(),k=Pt(x),w=y.left+(x.clientLeft+parseFloat(k.paddingLeft))*b.x,L=y.top+(x.clientTop+parseFloat(k.paddingTop))*b.y;c*=b.x,u*=b.y,p*=b.x,f*=b.y,c+=w,u+=L,C=St(x),x=hs(C)}}return Br({width:p,height:f,x:c,y:u})}function Tl(e,t){const n=K1(e).scrollLeft;return t?t.left+n:cr(vn(e)).left+n}function C3(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Tl(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function DS(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=vn(r),l=t?Q1(t.floating):!1;if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=dn(1);const p=dn(0),f=hn(r);if((f||!f&&!i)&&((Xr(r)!=="body"||ii(a))&&(c=K1(r)),hn(r))){const v=cr(r);u=Sr(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}const g=a&&!f&&!i?C3(a,c,!0):dn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+p.x+g.x,y:n.y*u.y-c.scrollTop*u.y+p.y+g.y}}function AS(e){return Array.from(e.getClientRects())}function jS(e){const t=vn(e),n=K1(e),r=e.ownerDocument.body,o=Ir(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ir(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Tl(e);const l=-n.scrollTop;return Pt(r).direction==="rtl"&&(a+=Ir(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function RS(e,t){const n=St(e),r=vn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;const u=jl();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}function TS(e,t){const n=cr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=hn(e)?Sr(e):dn(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:a,height:l,x:c,y:u}}function Q2(e,t,n){let r;if(t==="viewport")r=RS(e,n);else if(t==="document")r=jS(vn(e));else if(Ct(t))r=TS(t,n);else{const o=v3(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Br(r)}function x3(e,t){const n=On(e);return n===t||!Ct(n)||Zr(n)?!1:Pt(n).position==="fixed"||x3(n,t)}function FS(e,t){const n=t.get(e);if(n)return n;let r=Ao(e,[],!1).filter(l=>Ct(l)&&Xr(l)!=="body"),o=null;const i=Pt(e).position==="fixed";let a=i?On(e):e;for(;Ct(a)&&!Zr(a);){const l=Pt(a),c=Al(a);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ii(a)&&!c&&x3(e,a))?r=r.filter(p=>p!==a):o=l,a=On(a)}return t.set(e,r),r}function PS(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Q1(t)?[]:FS(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,p)=>{const f=Q2(t,p,o);return u.top=Ir(f.top,u.top),u.right=ms(f.right,u.right),u.bottom=ms(f.bottom,u.bottom),u.left=Ir(f.left,u.left),u},Q2(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function BS(e){const{width:t,height:n}=g3(e);return{width:t,height:n}}function HS(e,t,n){const r=hn(t),o=vn(t),i=n==="fixed",a=cr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=dn(0);if(r||!r&&!i)if((Xr(t)!=="body"||ii(o))&&(l=K1(t)),r){const g=cr(t,!0,i,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else o&&(c.x=Tl(o));const u=o&&!r&&!i?C3(o,l):dn(0),p=a.left+l.scrollLeft-c.x-u.x,f=a.top+l.scrollTop-c.y-u.y;return{x:p,y:f,width:a.width,height:a.height}}function Sa(e){return Pt(e).position==="static"}function K2(e,t){if(!hn(e)||Pt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return vn(e)===n&&(n=n.ownerDocument.body),n}function b3(e,t){const n=St(e);if(Q1(e))return n;if(!hn(e)){let o=On(e);for(;o&&!Zr(o);){if(Ct(o)&&!Sa(o))return o;o=On(o)}return n}let r=K2(e,t);for(;r&&kS(r)&&Sa(r);)r=K2(r,t);return r&&Zr(r)&&Sa(r)&&!Al(r)?n:r||ES(e)||n}const VS=async function(e){const t=this.getOffsetParent||b3,n=this.getDimensions,r=await n(e.floating);return{reference:HS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function NS(e){return Pt(e).direction==="rtl"}const OS={convertOffsetParentRelativeRectToViewportRelativeRect:DS,getDocumentElement:vn,getClippingRect:PS,getOffsetParent:b3,getElementRects:VS,getClientRects:AS,getDimensions:BS,getScale:Sr,isElement:Ct,isRTL:NS};function y3(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function WS(e,t){let n=null,r;const o=vn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:p,top:f,width:g,height:v}=u;if(l||t(),!g||!v)return;const C=gi(f),x=gi(o.clientWidth-(p+g)),b=gi(o.clientHeight-(f+v)),y=gi(p),w={rootMargin:-C+"px "+-x+"px "+-b+"px "+-y+"px",threshold:Ir(0,ms(1,c))||1};let L=!0;function E($){const M=$[0].intersectionRatio;if(M!==c){if(!L)return a();M?a(!1,M):r=setTimeout(()=>{a(!1,1e-7)},1e3)}M===1&&!y3(u,e.getBoundingClientRect())&&a(),L=!1}try{n=new IntersectionObserver(E,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,w)}n.observe(e)}return a(!0),i}function ZS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Rl(e),p=o||i?[...u?Ao(u):[],...Ao(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&l?WS(u,n):null;let g=-1,v=null;a&&(v=new ResizeObserver(y=>{let[k]=y;k&&k.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var w;(w=v)==null||w.observe(t)})),n()}),u&&!c&&v.observe(u),v.observe(t));let C,x=c?cr(e):null;c&&b();function b(){const y=cr(e);x&&!y3(x,y)&&n(),x=y,C=requestAnimationFrame(b)}return n(),()=>{var y;p.forEach(k=>{o&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(y=v)==null||y.disconnect(),v=null,c&&cancelAnimationFrame(C)}}const YS=b0,zS=x0,q2=C0,GS=(e,t,n)=>{const r=new Map,o={platform:OS,...n},i={...o.platform,_c:r};return g0(e,t,{...o,platform:i})};var Ti=typeof document<"u"?m.useLayoutEffect:m.useEffect;function m1(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!m1(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!m1(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function w3(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e5(e,t){const n=w3(e);return Math.round(t*n)/n}function Da(e){const t=d.useRef(e);return Ti(()=>{t.current=e}),t}function XS(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[p,f]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,v]=d.useState(r);m1(g,r)||v(r);const[C,x]=d.useState(null),[b,y]=d.useState(null),k=d.useCallback(A=>{A!==$.current&&($.current=A,x(A))},[]),w=d.useCallback(A=>{A!==M.current&&(M.current=A,y(A))},[]),L=i||C,E=a||b,$=d.useRef(null),M=d.useRef(null),_=d.useRef(p),D=c!=null,P=Da(c),N=Da(o),F=Da(u),V=d.useCallback(()=>{if(!$.current||!M.current)return;const A={placement:t,strategy:n,middleware:g};N.current&&(A.platform=N.current),GS($.current,M.current,A).then(R=>{const W={...R,isPositioned:F.current!==!1};T.current&&!m1(_.current,W)&&(_.current=W,ks.flushSync(()=>{f(W)}))})},[g,t,n,N,F]);Ti(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[u]);const T=d.useRef(!1);Ti(()=>(T.current=!0,()=>{T.current=!1}),[]),Ti(()=>{if(L&&($.current=L),E&&(M.current=E),L&&E){if(P.current)return P.current(L,E,V);V()}},[L,E,V,P,D]);const H=d.useMemo(()=>({reference:$,floating:M,setReference:k,setFloating:w}),[k,w]),I=d.useMemo(()=>({reference:L,floating:E}),[L,E]),j=d.useMemo(()=>{const A={position:n,left:0,top:0};if(!I.floating)return A;const R=e5(I.floating,p.x),W=e5(I.floating,p.y);return l?{...A,transform:"translate("+R+"px, "+W+"px)",...w3(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:W}},[n,l,I.floating,p.x,p.y]);return d.useMemo(()=>({...p,update:V,refs:H,elements:I,floatingStyles:j}),[p,V,H,I,j])}const JS=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?q2({element:r.current,padding:o}).fn(n):{}:r?q2({element:r,padding:o}).fn(n):{}}}},US=(e,t)=>({...YS(e),options:[e,t]}),QS=(e,t)=>({...zS(e),options:[e,t]}),KS=(e,t)=>({...JS(e),options:[e,t]}),qS={...d};let t5=!1,eD=0;const n5=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+eD++;function tD(){const[e,t]=d.useState(()=>t5?n5():void 0);return h1(()=>{e==null&&t(n5())},[]),d.useEffect(()=>{t5=!0},[]),e}const nD=qS.useId,k3=nD||tD;let jo;process.env.NODE_ENV!=="production"&&(jo=new Set);function rD(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=jo)!=null&&e.has(o))){var i;(i=jo)==null||i.add(o),console.warn(o)}}function oD(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=jo)!=null&&e.has(o))){var i;(i=jo)==null||i.add(o),console.error(o)}}const iD=d.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:a}},width:l=14,height:c=7,tipRadius:u=0,strokeWidth:p=0,staticOffset:f,stroke:g,d:v,style:{transform:C,...x}={},...b}=t;process.env.NODE_ENV!=="production"&&(n||rD("The `ref` prop is required for `FloatingArrow`."));const y=k3(),[k,w]=d.useState(!1);if(h1(()=>{if(!o)return;Pt(o).direction==="rtl"&&w(!0)},[o]),!o)return null;const[L,E]=r.split("-"),$=L==="top"||L==="bottom";let M=f;($&&a!=null&&a.x||!$&&a!=null&&a.y)&&(M=null);const _=p*2,D=_/2,P=l/2*(u/-8+1),N=c/2*u/4,F=!!v,V=M&&E==="end"?"bottom":"top";let T=M&&E==="end"?"right":"left";M&&k&&(T=E==="end"?"left":"right");const H=i?.x!=null?M||i.x:"",I=i?.y!=null?M||i.y:"",j=v||"M0,0"+(" H"+l)+(" L"+(l-P)+","+(c-N))+(" Q"+l/2+","+c+" "+P+","+(c-N))+" Z",A={top:F?"rotate(180deg)":"",left:F?"rotate(90deg)":"rotate(-90deg)",bottom:F?"":"rotate(180deg)",right:F?"rotate(-90deg)":"rotate(90deg)"}[L];return s.jsxs("svg",{...b,"aria-hidden":!0,ref:n,width:F?l:l+_,height:l,viewBox:"0 0 "+l+" "+(c>l?c:l),style:{position:"absolute",pointerEvents:"none",[T]:H,[V]:I,[L]:$||F?"100%":"calc(100% - "+_/2+"px)",transform:[A,C].filter(R=>!!R).join(" "),...x},children:[_>0&&s.jsx("path",{clipPath:"url(#"+y+")",fill:"none",stroke:g,strokeWidth:_+(v?0:1),d:j}),s.jsx("path",{stroke:_&&!v?b.fill:"none",d:j}),s.jsx("clipPath",{id:y,children:s.jsx("rect",{x:-D,y:D*(F?-1:1),width:l+_,height:l})})]})});function aD(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}const sD=d.createContext(null),lD=d.createContext(null),cD=()=>{var e;return((e=d.useContext(sD))==null?void 0:e.id)||null},dD=()=>d.useContext(lD);function uD(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=k3(),i=d.useRef({}),[a]=d.useState(()=>aD()),l=cD()!=null;if(process.env.NODE_ENV!=="production"){const v=r.reference;v&&!Ct(v)&&oD("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=d.useState(r.reference),p=_S((v,C,x)=>{i.current.openEvent=v?C:void 0,a.emit("openchange",{open:v,event:C,reason:x,nested:l}),n?.(v,C,x)}),f=d.useMemo(()=>({setPositionReference:u}),[]),g=d.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return d.useMemo(()=>({dataRef:i,open:t,onOpenChange:p,elements:g,events:a,floatingId:o,refs:f}),[t,p,g,a,o,f])}function pD(e){e===void 0&&(e={});const{nodeId:t}=e,n=uD({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=d.useState(null),[l,c]=d.useState(null),p=o?.domReference||i,f=d.useRef(null),g=dD();h1(()=>{p&&(f.current=p)},[p]);const v=XS({...e,elements:{...o,...l&&{reference:l}}}),C=d.useCallback(w=>{const L=Ct(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),getClientRects:()=>w.getClientRects(),contextElement:w}:w;c(L),v.refs.setReference(L)},[v.refs]),x=d.useCallback(w=>{(Ct(w)||w===null)&&(f.current=w,a(w)),(Ct(v.refs.reference.current)||v.refs.reference.current===null||w!==null&&!Ct(w))&&v.refs.setReference(w)},[v.refs]),b=d.useMemo(()=>({...v.refs,setReference:x,setPositionReference:C,domReference:f}),[v.refs,x,C]),y=d.useMemo(()=>({...v.elements,domReference:p}),[v.elements,p]),k=d.useMemo(()=>({...v,...r,refs:b,elements:y,nodeId:t}),[v,b,y,t,r]);return h1(()=>{r.dataRef.current.floatingContext=k;const w=g?.nodesRef.current.find(L=>L.id===t);w&&(w.context=k)}),d.useMemo(()=>({...v,context:k,refs:b,elements:y}),[v,b,y,k])}/*!
|
|
6664
|
+
`;function U4(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=U4(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function pt(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=U4(e))&&(r&&(r+=" "),r+=t);return r}function K(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function je(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Yt(e,t){const n=K(e);return isNaN(t)?je(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Gt(e,t){const n=K(e);if(isNaN(t))return je(e,NaN);if(!t)return n;const r=n.getDate(),o=je(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);const i=o.getDate();return r>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function Ml(e,t){const n=+K(e);return je(e,n+t)}const Q4=6048e5,r_=864e5,G1=6e4,X1=36e5,o_=1e3;function i_(e,t){return Ml(e,t*X1)}let a_={};function fr(){return a_}function An(e,t){const n=fr(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=K(e),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function Nr(e){return An(e,{weekStartsOn:1})}function K4(e){const t=K(e),n=t.getFullYear(),r=je(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=Nr(r),i=je(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Nr(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function sr(e){const t=K(e);return t.setHours(0,0,0,0),t}function i1(e){const t=K(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Or(e,t){const n=sr(e),r=sr(t),o=+n-i1(n),i=+r-i1(r);return Math.round((o-i)/r_)}function s_(e){const t=K4(e),n=je(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Nr(n)}function ds(e,t){return Ml(e,t*G1)}function $l(e,t){const n=t*3;return Gt(e,n)}function l_(e,t){return Ml(e,t*1e3)}function a1(e,t){const n=t*7;return Yt(e,n)}function Ln(e,t){return Gt(e,t*12)}function V2(e){let t;return e.forEach(function(n){const r=K(n);(t===void 0||t<r||isNaN(Number(r)))&&(t=r)}),t||new Date(NaN)}function N2(e){let t;return e.forEach(n=>{const r=K(n);(!t||t>r||isNaN(+r))&&(t=r)}),t||new Date(NaN)}function c_(e,t){const n=sr(e),r=sr(t);return+n==+r}function Mn(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function s1(e){if(!Mn(e)&&typeof e!="number")return!1;const t=K(e);return!isNaN(Number(t))}function l1(e,t){const n=K(e),r=K(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function Qn(e){const t=K(e);return Math.trunc(t.getMonth()/3)+1}function c1(e,t){const n=K(e),r=K(t),o=n.getFullYear()-r.getFullYear(),i=Qn(n)-Qn(r);return o*4+i}function d1(e,t){const n=K(e),r=K(t);return n.getFullYear()-r.getFullYear()}function d_(e,t){const n=K(e),r=K(t),o=O2(n,r),i=Math.abs(Or(n,r));n.setDate(n.getDate()-o*i);const a=+(O2(n,r)===-o),l=o*(i-a);return l===0?0:l}function O2(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function q4(e){const t=K(e);return t.setHours(23,59,59,999),t}function e3(e){const t=K(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function us(e){const t=K(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function t3(e){const t=K(e);return t.setDate(1),t.setHours(0,0,0,0),t}function n3(e){const t=K(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function J1(e){const t=K(e),n=je(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function u_(e,t){const n=fr(),r=n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=K(e),i=o.getDay(),a=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}const p_={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},f_=(e,t,n)=>{let r;const o=p_[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function $a(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const h_={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},m_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},g_={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},v_={date:$a({formats:h_,defaultWidth:"full"}),time:$a({formats:m_,defaultWidth:"full"}),dateTime:$a({formats:g_,defaultWidth:"full"})},C_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},x_=(e,t,n,r)=>C_[e];function ro(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,l=n?.width?String(n.width):a;o=e.formattingValues[l]||e.formattingValues[a]}else{const a=e.defaultWidth,l=n?.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const b_={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},y_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},w_={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},k_={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},E_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},L_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},M_=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},$_={ordinalNumber:M_,era:ro({values:b_,defaultWidth:"wide"}),quarter:ro({values:y_,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ro({values:w_,defaultWidth:"wide"}),day:ro({values:k_,defaultWidth:"wide"}),dayPeriod:ro({values:E_,defaultWidth:"wide",formattingValues:L_,defaultFormattingWidth:"wide"})};function oo(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?I_(l,f=>f.test(a)):__(l,f=>f.test(a));let u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;const p=t.slice(a.length);return{value:u,rest:p}}}function __(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function I_(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function S_(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const l=t.slice(o.length);return{value:a,rest:l}}}const D_=/^(\d+)(th|st|nd|rd)?/i,A_=/\d+/i,j_={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},R_={any:[/^b/i,/^(a|c)/i]},T_={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},F_={any:[/1/i,/2/i,/3/i,/4/i]},P_={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},B_={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},H_={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},V_={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},N_={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},O_={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W_={ordinalNumber:S_({matchPattern:D_,parsePattern:A_,valueCallback:e=>parseInt(e,10)}),era:oo({matchPatterns:j_,defaultMatchWidth:"wide",parsePatterns:R_,defaultParseWidth:"any"}),quarter:oo({matchPatterns:T_,defaultMatchWidth:"wide",parsePatterns:F_,defaultParseWidth:"any",valueCallback:e=>e+1}),month:oo({matchPatterns:P_,defaultMatchWidth:"wide",parsePatterns:B_,defaultParseWidth:"any"}),day:oo({matchPatterns:H_,defaultMatchWidth:"wide",parsePatterns:V_,defaultParseWidth:"any"}),dayPeriod:oo({matchPatterns:N_,defaultMatchWidth:"any",parsePatterns:O_,defaultParseWidth:"any"})},r3={code:"en-US",formatDistance:f_,formatLong:v_,formatRelative:x_,localize:$_,match:W_,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Z_(e){const t=K(e);return Or(t,J1(t))+1}function _l(e){const t=K(e),n=+Nr(t)-+s_(t);return Math.round(n/Q4)+1}function Il(e,t){const n=K(e),r=n.getFullYear(),o=fr(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,a=je(e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=An(a,t),c=je(e,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const u=An(c,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function Y_(e,t){const n=fr(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=Il(e,t),i=je(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),An(i,t)}function o3(e,t){const n=K(e),r=+An(n,t)-+Y_(n,t);return Math.round(r/Q4)+1}function Ae(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Rn={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ae(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ae(n+1,2)},d(e,t){return Ae(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Ae(e.getHours()%12||12,t.length)},H(e,t){return Ae(e.getHours(),t.length)},m(e,t){return Ae(e.getMinutes(),t.length)},s(e,t){return Ae(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ae(o,t.length)}},yr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},W2={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Rn.y(e,t)},Y:function(e,t,n,r){const o=Il(e,r),i=o>0?o:1-o;if(t==="YY"){const a=i%100;return Ae(a,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ae(i,t.length)},R:function(e,t){const n=K4(e);return Ae(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ae(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ae(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ae(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Rn.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Ae(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=o3(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):Ae(o,t.length)},I:function(e,t,n){const r=_l(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ae(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Rn.d(e,t)},D:function(e,t,n){const r=Z_(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ae(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ae(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ae(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return Ae(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=yr.noon:r===0?o=yr.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=yr.evening:r>=12?o=yr.afternoon:r>=4?o=yr.morning:o=yr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Rn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Rn.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Rn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Rn.s(e,t)},S:function(e,t){return Rn.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return Y2(r);case"XXXX":case"XX":return zn(r);case"XXXXX":case"XXX":default:return zn(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Y2(r);case"xxxx":case"xx":return zn(r);case"xxxxx":case"xxx":default:return zn(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Z2(r,":");case"OOOO":default:return"GMT"+zn(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Z2(r,":");case"zzzz":default:return"GMT"+zn(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return Ae(r,t.length)},T:function(e,t,n){const r=e.getTime();return Ae(r,t.length)}};function Z2(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+Ae(i,2)}function Y2(e,t){return e%60===0?(e>0?"-":"+")+Ae(Math.abs(e)/60,2):zn(e,t)}function zn(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ae(Math.trunc(r/60),2),i=Ae(r%60,2);return n+o+t+i}const z2=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},i3=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},z_=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return z2(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",z2(r,t)).replace("{{time}}",i3(o,t))},u1={p:i3,P:z_},G_=/^D+$/,X_=/^Y+$/,J_=["D","DD","YY","YYYY"];function a3(e){return G_.test(e)}function s3(e){return X_.test(e)}function ps(e,t,n){const r=U_(e,t,n);if(console.warn(r),J_.includes(e))throw new RangeError(r)}function U_(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Q_=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,K_=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,q_=/^'([^]*?)'?$/,eI=/''/g,tI=/[a-zA-Z]/;function G2(e,t,n){const r=fr(),o=n?.locale??r.locale??r3,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=K(e);if(!s1(l))throw new RangeError("Invalid time value");let c=t.match(K_).map(p=>{const f=p[0];if(f==="p"||f==="P"){const g=u1[f];return g(p,o.formatLong)}return p}).join("").match(Q_).map(p=>{if(p==="''")return{isToken:!1,value:"'"};const f=p[0];if(f==="'")return{isToken:!1,value:nI(p)};if(W2[f])return{isToken:!0,value:p};if(f.match(tI))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:p}});o.localize.preprocessor&&(c=o.localize.preprocessor(l,c));const u={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return c.map(p=>{if(!p.isToken)return p.value;const f=p.value;(!n?.useAdditionalWeekYearTokens&&s3(f)||!n?.useAdditionalDayOfYearTokens&&a3(f))&&ps(f,t,String(e));const g=W2[f[0]];return g(l,f,o.localize,u)}).join("")}function nI(e){const t=e.match(q_);return t?t[1].replace(eI,"'"):e}function X2(e){return K(e).getDate()}function rI(e){return K(e).getDay()}function oI(e){const t=K(e),n=t.getFullYear(),r=t.getMonth(),o=je(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function iI(){return Object.assign({},fr())}function cn(e){return K(e).getHours()}function aI(e){let n=K(e).getDay();return n===0&&(n=7),n}function dn(e){return K(e).getMinutes()}function Et(e){return K(e).getMonth()}function $n(e){return K(e).getSeconds()}function fs(e){return K(e).getTime()}function ge(e){return K(e).getFullYear()}function Nn(e,t){const n=K(e),r=K(t);return n.getTime()>r.getTime()}function lr(e,t){const n=K(e),r=K(t);return+n<+r}function sI(e,t){const n=K(e),r=K(t);return+n==+r}function lI(e,t){const n=t instanceof Date?je(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const cI=10;class l3{subPriority=0;validate(t,n){return!0}}class dI extends l3{constructor(t,n,r,o,i){super(),this.value=t,this.validateValue=n,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,r){return this.setValue(t,n,this.value,r)}}class uI extends l3{priority=cI;subPriority=-1;set(t,n){return n.timestampIsSet?t:je(t,lI(t,Date))}}class $e{run(t,n,r,o){const i=this.parse(t,n,r,o);return i?{setter:new dI(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(t,n,r){return!0}}class pI extends $e{priority=140;parse(t,n,r){switch(n){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,n,r){return n.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}const Ue={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},rn={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Qe(e,t){return e&&{value:t(e.value),rest:e.rest}}function We(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function on(e,t){const n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};const r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*X1+i*G1+a*o_),rest:t.slice(n[0].length)}}function c3(e){return We(Ue.anyDigitsSigned,e)}function ze(e,t){switch(e){case 1:return We(Ue.singleDigit,t);case 2:return We(Ue.twoDigits,t);case 3:return We(Ue.threeDigits,t);case 4:return We(Ue.fourDigits,t);default:return We(new RegExp("^\\d{1,"+e+"}"),t)}}function p1(e,t){switch(e){case 1:return We(Ue.singleDigitSigned,t);case 2:return We(Ue.twoDigitsSigned,t);case 3:return We(Ue.threeDigitsSigned,t);case 4:return We(Ue.fourDigitsSigned,t);default:return We(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Sl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function d3(e,t){const n=t>0,r=n?t:1-t;let o;if(r<=50)o=e||100;else{const i=r+50,a=Math.trunc(i/100)*100,l=e>=i%100;o=e+a-(l?100:0)}return n?o:1-o}function u3(e){return e%400===0||e%4===0&&e%100!==0}class fI extends $e{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,n,r){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return Qe(ze(4,t),o);case"yo":return Qe(r.ordinalNumber(t,{unit:"year"}),o);default:return Qe(ze(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r){const o=t.getFullYear();if(r.isTwoDigitYear){const a=d3(r.year,o);return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}const i=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}}class hI extends $e{priority=130;parse(t,n,r){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Qe(ze(4,t),o);case"Yo":return Qe(r.ordinalNumber(t,{unit:"year"}),o);default:return Qe(ze(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r,o){const i=Il(t,o);if(r.isTwoDigitYear){const l=d3(r.year,i);return t.setFullYear(l,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),An(t,o)}const a=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(a,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),An(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class mI extends $e{priority=130;parse(t,n){return p1(n==="R"?4:n.length,t)}set(t,n,r){const o=je(t,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),Nr(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class gI extends $e{priority=130;parse(t,n){return p1(n==="u"?4:n.length,t)}set(t,n,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class vI extends $e{priority=120;parse(t,n,r){switch(n){case"Q":case"QQ":return ze(n.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class CI extends $e{priority=120;parse(t,n,r){switch(n){case"q":case"qq":return ze(n.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class xI extends $e{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,n,r){const o=i=>i-1;switch(n){case"M":return Qe(We(Ue.month,t),o);case"MM":return Qe(ze(2,t),o);case"Mo":return Qe(r.ordinalNumber(t,{unit:"month"}),o);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class bI extends $e{priority=110;parse(t,n,r){const o=i=>i-1;switch(n){case"L":return Qe(We(Ue.month,t),o);case"LL":return Qe(ze(2,t),o);case"Lo":return Qe(r.ordinalNumber(t,{unit:"month"}),o);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function yI(e,t,n){const r=K(e),o=o3(r,n)-t;return r.setDate(r.getDate()-o*7),r}class wI extends $e{priority=100;parse(t,n,r){switch(n){case"w":return We(Ue.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r,o){return An(yI(t,r,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function kI(e,t){const n=K(e),r=_l(n)-t;return n.setDate(n.getDate()-r*7),n}class EI extends $e{priority=100;parse(t,n,r){switch(n){case"I":return We(Ue.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r){return Nr(kI(t,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const LI=[31,28,31,30,31,30,31,31,30,31,30,31],MI=[31,29,31,30,31,30,31,31,30,31,30,31];class $I extends $e{priority=90;subPriority=1;parse(t,n,r){switch(n){case"d":return We(Ue.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return ze(n.length,t)}}validate(t,n){const r=t.getFullYear(),o=u3(r),i=t.getMonth();return o?n>=1&&n<=MI[i]:n>=1&&n<=LI[i]}set(t,n,r){return t.setDate(r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class _I extends $e{priority=90;subpriority=1;parse(t,n,r){switch(n){case"D":case"DD":return We(Ue.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return ze(n.length,t)}}validate(t,n){const r=t.getFullYear();return u3(r)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function Dl(e,t,n){const r=fr(),o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=K(e),a=i.getDay(),c=(t%7+7)%7,u=7-o,p=t<0||t>6?t-(a+u)%7:(c+u)%7-(a+u)%7;return Yt(i,p)}class II extends $e{priority=90;parse(t,n,r){switch(n){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,o){return t=Dl(t,r,o),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class SI extends $e{priority=90;parse(t,n,r,o){const i=a=>{const l=Math.floor((a-1)/7)*7;return(a+o.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Qe(ze(n.length,t),i);case"eo":return Qe(r.ordinalNumber(t,{unit:"day"}),i);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,o){return t=Dl(t,r,o),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class DI extends $e{priority=90;parse(t,n,r,o){const i=a=>{const l=Math.floor((a-1)/7)*7;return(a+o.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Qe(ze(n.length,t),i);case"co":return Qe(r.ordinalNumber(t,{unit:"day"}),i);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,o){return t=Dl(t,r,o),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function AI(e,t){const n=K(e),r=aI(n),o=t-r;return Yt(n,o)}class jI extends $e{priority=90;parse(t,n,r){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return ze(n.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return Qe(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return Qe(r.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return Qe(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),o);case"iiii":default:return Qe(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,n){return n>=1&&n<=7}set(t,n,r){return t=AI(t,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class RI extends $e{priority=80;parse(t,n,r){switch(n){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Sl(r),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class TI extends $e{priority=80;parse(t,n,r){switch(n){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Sl(r),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class FI extends $e{priority=80;parse(t,n,r){switch(n){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Sl(r),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class PI extends $e{priority=70;parse(t,n,r){switch(n){case"h":return We(Ue.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,r){const o=t.getHours()>=12;return o&&r<12?t.setHours(r+12,0,0,0):!o&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class BI extends $e{priority=70;parse(t,n,r){switch(n){case"H":return We(Ue.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,r){return t.setHours(r,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}class HI extends $e{priority=70;parse(t,n,r){switch(n){case"K":return We(Ue.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}class VI extends $e{priority=70;parse(t,n,r){switch(n){case"k":return We(Ue.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return ze(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,r){const o=r<=24?r%24:r;return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class NI extends $e{priority=60;parse(t,n,r){switch(n){case"m":return We(Ue.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setMinutes(r,0,0),t}incompatibleTokens=["t","T"]}class OI extends $e{priority=50;parse(t,n,r){switch(n){case"s":return We(Ue.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return ze(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setSeconds(r,0),t}incompatibleTokens=["t","T"]}class WI extends $e{priority=30;parse(t,n){const r=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Qe(ze(n.length,t),r)}set(t,n,r){return t.setMilliseconds(r),t}incompatibleTokens=["t","T"]}class ZI extends $e{priority=10;parse(t,n){switch(n){case"X":return on(rn.basicOptionalMinutes,t);case"XX":return on(rn.basic,t);case"XXXX":return on(rn.basicOptionalSeconds,t);case"XXXXX":return on(rn.extendedOptionalSeconds,t);case"XXX":default:return on(rn.extended,t)}}set(t,n,r){return n.timestampIsSet?t:je(t,t.getTime()-i1(t)-r)}incompatibleTokens=["t","T","x"]}class YI extends $e{priority=10;parse(t,n){switch(n){case"x":return on(rn.basicOptionalMinutes,t);case"xx":return on(rn.basic,t);case"xxxx":return on(rn.basicOptionalSeconds,t);case"xxxxx":return on(rn.extendedOptionalSeconds,t);case"xxx":default:return on(rn.extended,t)}}set(t,n,r){return n.timestampIsSet?t:je(t,t.getTime()-i1(t)-r)}incompatibleTokens=["t","T","X"]}class zI extends $e{priority=40;parse(t){return c3(t)}set(t,n,r){return[je(t,r*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class GI extends $e{priority=20;parse(t){return c3(t)}set(t,n,r){return[je(t,r),{timestampIsSet:!0}]}incompatibleTokens="*"}const XI={G:new pI,y:new fI,Y:new hI,R:new mI,u:new gI,Q:new vI,q:new CI,M:new xI,L:new bI,w:new wI,I:new EI,d:new $I,D:new _I,E:new II,e:new SI,c:new DI,i:new jI,a:new RI,b:new TI,B:new FI,h:new PI,H:new BI,K:new HI,k:new VI,m:new NI,s:new OI,S:new WI,X:new ZI,x:new YI,t:new zI,T:new GI},JI=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,UI=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,QI=/^'([^]*?)'?$/,KI=/''/g,qI=/\S/,eS=/[a-zA-Z]/;function _a(e,t,n,r){const o=iI(),i=r?.locale??o.locale??r3,a=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(t==="")return e===""?K(n):je(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},u=[new uI],p=t.match(UI).map(x=>{const b=x[0];if(b in u1){const y=u1[b];return y(x,i.formatLong)}return x}).join("").match(JI),f=[];for(let x of p){!r?.useAdditionalWeekYearTokens&&s3(x)&&ps(x,t,e),!r?.useAdditionalDayOfYearTokens&&a3(x)&&ps(x,t,e);const b=x[0],y=XI[b];if(y){const{incompatibleTokens:k}=y;if(Array.isArray(k)){const L=f.find(E=>k.includes(E.token)||E.token===b);if(L)throw new RangeError(`The format string mustn't contain \`${L.fullToken}\` and \`${x}\` at the same time`)}else if(y.incompatibleTokens==="*"&&f.length>0)throw new RangeError(`The format string mustn't contain \`${x}\` and any other token at the same time`);f.push({token:b,fullToken:x});const w=y.run(e,x,i.match,c);if(!w)return je(n,NaN);u.push(w.setter),e=w.rest}else{if(b.match(eS))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");if(x==="''"?x="'":b==="'"&&(x=tS(x)),e.indexOf(x)===0)e=e.slice(x.length);else return je(n,NaN)}}if(e.length>0&&qI.test(e))return je(n,NaN);const g=u.map(x=>x.priority).sort((x,b)=>b-x).filter((x,b,y)=>y.indexOf(x)===b).map(x=>u.filter(b=>b.priority===x).sort((b,y)=>y.subPriority-b.subPriority)).map(x=>x[0]);let v=K(n);if(isNaN(v.getTime()))return je(n,NaN);const C={};for(const x of g){if(!x.validate(v,c))return je(n,NaN);const b=x.set(v,C,c);Array.isArray(b)?(v=b[0],Object.assign(C,b[1])):v=b}return je(n,v)}function tS(e){return e.match(QI)[1].replace(KI,"'")}function nS(e,t){const n=K(e),r=K(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function rS(e,t){const n=us(e),r=us(t);return+n==+r}function oS(e,t){const n=K(e),r=K(t);return n.getFullYear()===r.getFullYear()}function Do(e,t){const n=+K(e),[r,o]=[+K(t.start),+K(t.end)].sort((i,a)=>i-a);return n>=r&&n<=o}function iS(e,t){return Yt(e,-1)}function aS(e,t){const r=dS(e);let o;if(r.date){const c=uS(r.date,2);o=pS(c.restDateString,c.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);const i=o.getTime();let a=0,l;if(r.time&&(a=fS(r.time),isNaN(a)))return new Date(NaN);if(r.timezone){if(l=hS(r.timezone),isNaN(l))return new Date(NaN)}else{const c=new Date(i+a),u=new Date(0);return u.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),u.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),u}return new Date(i+a+l)}const mi={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},sS=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,lS=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,cS=/^([+-])(\d{2})(?::?(\d{2}))?$/;function dS(e){const t={},n=e.split(mi.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],mi.timeZoneDelimiter.test(t.date)&&(t.date=e.split(mi.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const o=mi.timezone.exec(r);o?(t.time=r.replace(o[1],""),t.timezone=o[1]):t.time=r}return t}function uS(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?o:i*100,restDateString:e.slice((r[1]||r[2]).length)}}function pS(e,t){if(t===null)return new Date(NaN);const n=e.match(sS);if(!n)return new Date(NaN);const r=!!n[4],o=io(n[1]),i=io(n[2])-1,a=io(n[3]),l=io(n[4]),c=io(n[5])-1;if(r)return xS(t,l,c)?mS(t,l,c):new Date(NaN);{const u=new Date(0);return!vS(t,i,a)||!CS(t,o)?new Date(NaN):(u.setUTCFullYear(t,i,Math.max(o,a)),u)}}function io(e){return e?parseInt(e):1}function fS(e){const t=e.match(lS);if(!t)return NaN;const n=Ia(t[1]),r=Ia(t[2]),o=Ia(t[3]);return bS(n,r,o)?n*X1+r*G1+o*1e3:NaN}function Ia(e){return e&&parseFloat(e.replace(",","."))||0}function hS(e){if(e==="Z")return 0;const t=e.match(cS);if(!t)return 0;const n=t[1]==="+"?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return yS(r,o)?n*(r*X1+o*G1):NaN}function mS(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,i=(t-1)*7+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}const gS=[31,null,31,30,31,30,31,31,30,31,30,31];function p3(e){return e%400===0||e%4===0&&e%100!==0}function vS(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(gS[t]||(p3(e)?29:28))}function CS(e,t){return t>=1&&t<=(p3(e)?366:365)}function xS(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function bS(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function yS(e,t){return t>=0&&t<=59}function It(e,t){const n=K(e),r=n.getFullYear(),o=n.getDate(),i=je(e,0);i.setFullYear(r,t,15),i.setHours(0,0,0,0);const a=oI(i);return n.setMonth(t,Math.min(o,a)),n}function wS(e,t){let n=K(e);return isNaN(+n)?je(e,NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=It(n,t.month)),t.date!=null&&n.setDate(t.date),t.hours!=null&&n.setHours(t.hours),t.minutes!=null&&n.setMinutes(t.minutes),t.seconds!=null&&n.setSeconds(t.seconds),t.milliseconds!=null&&n.setMilliseconds(t.milliseconds),n)}function Ai(e,t){const n=K(e);return n.setHours(t),n}function ji(e,t){const n=K(e);return n.setMinutes(t),n}function kr(e,t){const n=K(e),r=Math.trunc(n.getMonth()/3)+1,o=t-r;return It(n,n.getMonth()+o*3)}function Ri(e,t){const n=K(e);return n.setSeconds(t),n}function Qt(e,t){const n=K(e);return isNaN(+n)?je(e,NaN):(n.setFullYear(t),n)}function Kn(e,t){return Gt(e,-t)}function f3(e,t){return $l(e,-1)}function J2(e,t){return a1(e,-1)}function Wr(e,t){return Ln(e,-t)}function U1(){return typeof window<"u"}function Xr(e){return h3(e)?(e.nodeName||"").toLowerCase():"#document"}function St(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function vn(e){var t;return(t=(h3(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function h3(e){return U1()?e instanceof Node||e instanceof St(e).Node:!1}function Ct(e){return U1()?e instanceof Element||e instanceof St(e).Element:!1}function hn(e){return U1()?e instanceof HTMLElement||e instanceof St(e).HTMLElement:!1}function U2(e){return!U1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof St(e).ShadowRoot}function ii(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function kS(e){return["table","td","th"].includes(Xr(e))}function Q1(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Al(e){const t=jl(),n=Ct(e)?Pt(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ES(e){let t=On(e);for(;hn(t)&&!Zr(t);){if(Al(t))return t;if(Q1(t))return null;t=On(t)}return null}function jl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zr(e){return["html","body","#document"].includes(Xr(e))}function Pt(e){return St(e).getComputedStyle(e)}function K1(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function On(e){if(Xr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||U2(e)&&e.host||vn(e);return U2(t)?t.host:t}function m3(e){const t=On(e);return Zr(t)?e.ownerDocument?e.ownerDocument.body:e.body:hn(t)&&ii(t)?t:m3(t)}function Ao(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=m3(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=St(o);if(i){const l=hs(a);return t.concat(a,a.visualViewport||[],ii(o)?o:[],l&&n?Ao(l):[])}return t.concat(o,Ao(o,[],n))}function hs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const ms=Math.min,Ir=Math.max,f1=Math.round,gi=Math.floor,un=e=>({x:e,y:e});var h1=typeof document<"u"?m.useLayoutEffect:m.useEffect;const LS={...d},MS=LS.useInsertionEffect,$S=MS||(e=>e());function _S(e){const t=d.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return $S(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function g3(e){const t=Pt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=hn(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=f1(n)!==i||f1(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function Rl(e){return Ct(e)?e:e.contextElement}function Sr(e){const t=Rl(e);if(!hn(t))return un(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=g3(t);let a=(i?f1(n.width):n.width)/r,l=(i?f1(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const IS=un(0);function v3(e){const t=St(e);return!jl()||!t.visualViewport?IS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function SS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==St(e)?!1:t}function cr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Rl(e);let a=un(1);t&&(r?Ct(r)&&(a=Sr(r)):a=Sr(e));const l=SS(i,n,r)?v3(i):un(0);let c=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,p=o.width/a.x,f=o.height/a.y;if(i){const g=St(i),v=r&&Ct(r)?St(r):r;let C=g,x=hs(C);for(;x&&r&&v!==C;){const b=Sr(x),y=x.getBoundingClientRect(),k=Pt(x),w=y.left+(x.clientLeft+parseFloat(k.paddingLeft))*b.x,L=y.top+(x.clientTop+parseFloat(k.paddingTop))*b.y;c*=b.x,u*=b.y,p*=b.x,f*=b.y,c+=w,u+=L,C=St(x),x=hs(C)}}return Br({width:p,height:f,x:c,y:u})}function Tl(e,t){const n=K1(e).scrollLeft;return t?t.left+n:cr(vn(e)).left+n}function C3(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Tl(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function DS(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=vn(r),l=t?Q1(t.floating):!1;if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=un(1);const p=un(0),f=hn(r);if((f||!f&&!i)&&((Xr(r)!=="body"||ii(a))&&(c=K1(r)),hn(r))){const v=cr(r);u=Sr(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}const g=a&&!f&&!i?C3(a,c,!0):un(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+p.x+g.x,y:n.y*u.y-c.scrollTop*u.y+p.y+g.y}}function AS(e){return Array.from(e.getClientRects())}function jS(e){const t=vn(e),n=K1(e),r=e.ownerDocument.body,o=Ir(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ir(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Tl(e);const l=-n.scrollTop;return Pt(r).direction==="rtl"&&(a+=Ir(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function RS(e,t){const n=St(e),r=vn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;const u=jl();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}function TS(e,t){const n=cr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=hn(e)?Sr(e):un(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:a,height:l,x:c,y:u}}function Q2(e,t,n){let r;if(t==="viewport")r=RS(e,n);else if(t==="document")r=jS(vn(e));else if(Ct(t))r=TS(t,n);else{const o=v3(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Br(r)}function x3(e,t){const n=On(e);return n===t||!Ct(n)||Zr(n)?!1:Pt(n).position==="fixed"||x3(n,t)}function FS(e,t){const n=t.get(e);if(n)return n;let r=Ao(e,[],!1).filter(l=>Ct(l)&&Xr(l)!=="body"),o=null;const i=Pt(e).position==="fixed";let a=i?On(e):e;for(;Ct(a)&&!Zr(a);){const l=Pt(a),c=Al(a);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ii(a)&&!c&&x3(e,a))?r=r.filter(p=>p!==a):o=l,a=On(a)}return t.set(e,r),r}function PS(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Q1(t)?[]:FS(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,p)=>{const f=Q2(t,p,o);return u.top=Ir(f.top,u.top),u.right=ms(f.right,u.right),u.bottom=ms(f.bottom,u.bottom),u.left=Ir(f.left,u.left),u},Q2(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function BS(e){const{width:t,height:n}=g3(e);return{width:t,height:n}}function HS(e,t,n){const r=hn(t),o=vn(t),i=n==="fixed",a=cr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=un(0);if(r||!r&&!i)if((Xr(t)!=="body"||ii(o))&&(l=K1(t)),r){const g=cr(t,!0,i,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else o&&(c.x=Tl(o));const u=o&&!r&&!i?C3(o,l):un(0),p=a.left+l.scrollLeft-c.x-u.x,f=a.top+l.scrollTop-c.y-u.y;return{x:p,y:f,width:a.width,height:a.height}}function Sa(e){return Pt(e).position==="static"}function K2(e,t){if(!hn(e)||Pt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return vn(e)===n&&(n=n.ownerDocument.body),n}function b3(e,t){const n=St(e);if(Q1(e))return n;if(!hn(e)){let o=On(e);for(;o&&!Zr(o);){if(Ct(o)&&!Sa(o))return o;o=On(o)}return n}let r=K2(e,t);for(;r&&kS(r)&&Sa(r);)r=K2(r,t);return r&&Zr(r)&&Sa(r)&&!Al(r)?n:r||ES(e)||n}const VS=async function(e){const t=this.getOffsetParent||b3,n=this.getDimensions,r=await n(e.floating);return{reference:HS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function NS(e){return Pt(e).direction==="rtl"}const OS={convertOffsetParentRelativeRectToViewportRelativeRect:DS,getDocumentElement:vn,getClippingRect:PS,getOffsetParent:b3,getElementRects:VS,getClientRects:AS,getDimensions:BS,getScale:Sr,isElement:Ct,isRTL:NS};function y3(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function WS(e,t){let n=null,r;const o=vn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:p,top:f,width:g,height:v}=u;if(l||t(),!g||!v)return;const C=gi(f),x=gi(o.clientWidth-(p+g)),b=gi(o.clientHeight-(f+v)),y=gi(p),w={rootMargin:-C+"px "+-x+"px "+-b+"px "+-y+"px",threshold:Ir(0,ms(1,c))||1};let L=!0;function E($){const M=$[0].intersectionRatio;if(M!==c){if(!L)return a();M?a(!1,M):r=setTimeout(()=>{a(!1,1e-7)},1e3)}M===1&&!y3(u,e.getBoundingClientRect())&&a(),L=!1}try{n=new IntersectionObserver(E,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,w)}n.observe(e)}return a(!0),i}function ZS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Rl(e),p=o||i?[...u?Ao(u):[],...Ao(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&l?WS(u,n):null;let g=-1,v=null;a&&(v=new ResizeObserver(y=>{let[k]=y;k&&k.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var w;(w=v)==null||w.observe(t)})),n()}),u&&!c&&v.observe(u),v.observe(t));let C,x=c?cr(e):null;c&&b();function b(){const y=cr(e);x&&!y3(x,y)&&n(),x=y,C=requestAnimationFrame(b)}return n(),()=>{var y;p.forEach(k=>{o&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(y=v)==null||y.disconnect(),v=null,c&&cancelAnimationFrame(C)}}const YS=b0,zS=x0,q2=C0,GS=(e,t,n)=>{const r=new Map,o={platform:OS,...n},i={...o.platform,_c:r};return g0(e,t,{...o,platform:i})};var Ti=typeof document<"u"?m.useLayoutEffect:m.useEffect;function m1(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!m1(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!m1(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function w3(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e5(e,t){const n=w3(e);return Math.round(t*n)/n}function Da(e){const t=d.useRef(e);return Ti(()=>{t.current=e}),t}function XS(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[p,f]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,v]=d.useState(r);m1(g,r)||v(r);const[C,x]=d.useState(null),[b,y]=d.useState(null),k=d.useCallback(A=>{A!==$.current&&($.current=A,x(A))},[]),w=d.useCallback(A=>{A!==M.current&&(M.current=A,y(A))},[]),L=i||C,E=a||b,$=d.useRef(null),M=d.useRef(null),_=d.useRef(p),D=c!=null,P=Da(c),N=Da(o),F=Da(u),V=d.useCallback(()=>{if(!$.current||!M.current)return;const A={placement:t,strategy:n,middleware:g};N.current&&(A.platform=N.current),GS($.current,M.current,A).then(R=>{const W={...R,isPositioned:F.current!==!1};T.current&&!m1(_.current,W)&&(_.current=W,ks.flushSync(()=>{f(W)}))})},[g,t,n,N,F]);Ti(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,f(A=>({...A,isPositioned:!1})))},[u]);const T=d.useRef(!1);Ti(()=>(T.current=!0,()=>{T.current=!1}),[]),Ti(()=>{if(L&&($.current=L),E&&(M.current=E),L&&E){if(P.current)return P.current(L,E,V);V()}},[L,E,V,P,D]);const H=d.useMemo(()=>({reference:$,floating:M,setReference:k,setFloating:w}),[k,w]),I=d.useMemo(()=>({reference:L,floating:E}),[L,E]),j=d.useMemo(()=>{const A={position:n,left:0,top:0};if(!I.floating)return A;const R=e5(I.floating,p.x),W=e5(I.floating,p.y);return l?{...A,transform:"translate("+R+"px, "+W+"px)",...w3(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:W}},[n,l,I.floating,p.x,p.y]);return d.useMemo(()=>({...p,update:V,refs:H,elements:I,floatingStyles:j}),[p,V,H,I,j])}const JS=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?q2({element:r.current,padding:o}).fn(n):{}:r?q2({element:r,padding:o}).fn(n):{}}}},US=(e,t)=>({...YS(e),options:[e,t]}),QS=(e,t)=>({...zS(e),options:[e,t]}),KS=(e,t)=>({...JS(e),options:[e,t]}),qS={...d};let t5=!1,eD=0;const n5=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+eD++;function tD(){const[e,t]=d.useState(()=>t5?n5():void 0);return h1(()=>{e==null&&t(n5())},[]),d.useEffect(()=>{t5=!0},[]),e}const nD=qS.useId,k3=nD||tD;let jo;process.env.NODE_ENV!=="production"&&(jo=new Set);function rD(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=jo)!=null&&e.has(o))){var i;(i=jo)==null||i.add(o),console.warn(o)}}function oD(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=jo)!=null&&e.has(o))){var i;(i=jo)==null||i.add(o),console.error(o)}}const iD=d.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:a}},width:l=14,height:c=7,tipRadius:u=0,strokeWidth:p=0,staticOffset:f,stroke:g,d:v,style:{transform:C,...x}={},...b}=t;process.env.NODE_ENV!=="production"&&(n||rD("The `ref` prop is required for `FloatingArrow`."));const y=k3(),[k,w]=d.useState(!1);if(h1(()=>{if(!o)return;Pt(o).direction==="rtl"&&w(!0)},[o]),!o)return null;const[L,E]=r.split("-"),$=L==="top"||L==="bottom";let M=f;($&&a!=null&&a.x||!$&&a!=null&&a.y)&&(M=null);const _=p*2,D=_/2,P=l/2*(u/-8+1),N=c/2*u/4,F=!!v,V=M&&E==="end"?"bottom":"top";let T=M&&E==="end"?"right":"left";M&&k&&(T=E==="end"?"left":"right");const H=i?.x!=null?M||i.x:"",I=i?.y!=null?M||i.y:"",j=v||"M0,0"+(" H"+l)+(" L"+(l-P)+","+(c-N))+(" Q"+l/2+","+c+" "+P+","+(c-N))+" Z",A={top:F?"rotate(180deg)":"",left:F?"rotate(90deg)":"rotate(-90deg)",bottom:F?"":"rotate(180deg)",right:F?"rotate(-90deg)":"rotate(90deg)"}[L];return s.jsxs("svg",{...b,"aria-hidden":!0,ref:n,width:F?l:l+_,height:l,viewBox:"0 0 "+l+" "+(c>l?c:l),style:{position:"absolute",pointerEvents:"none",[T]:H,[V]:I,[L]:$||F?"100%":"calc(100% - "+_/2+"px)",transform:[A,C].filter(R=>!!R).join(" "),...x},children:[_>0&&s.jsx("path",{clipPath:"url(#"+y+")",fill:"none",stroke:g,strokeWidth:_+(v?0:1),d:j}),s.jsx("path",{stroke:_&&!v?b.fill:"none",d:j}),s.jsx("clipPath",{id:y,children:s.jsx("rect",{x:-D,y:D*(F?-1:1),width:l+_,height:l})})]})});function aD(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}const sD=d.createContext(null),lD=d.createContext(null),cD=()=>{var e;return((e=d.useContext(sD))==null?void 0:e.id)||null},dD=()=>d.useContext(lD);function uD(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=k3(),i=d.useRef({}),[a]=d.useState(()=>aD()),l=cD()!=null;if(process.env.NODE_ENV!=="production"){const v=r.reference;v&&!Ct(v)&&oD("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=d.useState(r.reference),p=_S((v,C,x)=>{i.current.openEvent=v?C:void 0,a.emit("openchange",{open:v,event:C,reason:x,nested:l}),n?.(v,C,x)}),f=d.useMemo(()=>({setPositionReference:u}),[]),g=d.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return d.useMemo(()=>({dataRef:i,open:t,onOpenChange:p,elements:g,events:a,floatingId:o,refs:f}),[t,p,g,a,o,f])}function pD(e){e===void 0&&(e={});const{nodeId:t}=e,n=uD({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=d.useState(null),[l,c]=d.useState(null),p=o?.domReference||i,f=d.useRef(null),g=dD();h1(()=>{p&&(f.current=p)},[p]);const v=XS({...e,elements:{...o,...l&&{reference:l}}}),C=d.useCallback(w=>{const L=Ct(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),getClientRects:()=>w.getClientRects(),contextElement:w}:w;c(L),v.refs.setReference(L)},[v.refs]),x=d.useCallback(w=>{(Ct(w)||w===null)&&(f.current=w,a(w)),(Ct(v.refs.reference.current)||v.refs.reference.current===null||w!==null&&!Ct(w))&&v.refs.setReference(w)},[v.refs]),b=d.useMemo(()=>({...v.refs,setReference:x,setPositionReference:C,domReference:f}),[v.refs,x,C]),y=d.useMemo(()=>({...v.elements,domReference:p}),[v.elements,p]),k=d.useMemo(()=>({...v,...r,refs:b,elements:y,nodeId:t}),[v,b,y,t,r]);return h1(()=>{r.dataRef.current.floatingContext=k;const w=g?.nodesRef.current.find(L=>L.id===t);w&&(w.context=k)}),d.useMemo(()=>({...v,context:k,refs:b,elements:y}),[v,b,y,k])}/*!
|
|
6665
6665
|
react-datepicker v7.6.0
|
|
6666
6666
|
https://github.com/Hacker0x01/react-datepicker
|
|
6667
6667
|
Released under the MIT License.
|
|
6668
|
-
*/var gs=function(t,n){return gs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},gs(t,n)};function lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gs(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ke=function(){return ke=Object.assign||function(n){for(var r,o=1,i=arguments.length;o<i;o++){r=arguments[o];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])}return n},ke.apply(this,arguments)};function an(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var fD=function(e){var t=e.showTimeSelectOnly,n=t===void 0?!1:t,r=e.showTime,o=r===void 0?!1:r,i=e.className,a=e.children,l=n?"Choose Time":"Choose Date".concat(o?" and Time":"");return m.createElement("div",{className:i,role:"dialog","aria-label":l,"aria-modal":"true"},a)},hD=function(e,t){var n=m.useRef(null),r=m.useRef(e);r.current=e;var o=m.useCallback(function(i){var a;n.current&&!n.current.contains(i.target)&&(t&&i.target instanceof HTMLElement&&i.target.classList.contains(t)||(a=r.current)===null||a===void 0||a.call(r,i))},[t]);return m.useEffect(function(){return document.addEventListener("mousedown",o),function(){document.removeEventListener("mousedown",o)}},[o]),n},q1=function(e){var t=e.children,n=e.onClickOutside,r=e.className,o=e.containerRef,i=e.style,a=e.ignoreClass,l=hD(n,a);return m.createElement("div",{className:r,style:i,ref:function(c){l.current=c,o&&(o.current=c)}},t)},J;(function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"})(J||(J={}));function Fl(){var e=typeof window<"u"?window:globalThis;return e}var ai=12,mD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Re(e){if(e==null)return new Date;var t=typeof e=="string"?aS(e):K(e);return yn(t)?t:new Date}function Aa(e,t,n,r,o){var i,a=null,l=qn(n)||qn(vo()),c=!0;if(Array.isArray(t))return t.forEach(function(p){var f=_a(e,p,new Date,{locale:l,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});r&&(c=yn(f,o)&&e===Oe(f,p,n)),yn(f,o)&&c&&(a=f)}),a;if(a=_a(e,t,new Date,{locale:l,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),r)c=yn(a)&&e===Oe(a,t,n);else if(!yn(a)){var u=((i=t.match(mD))!==null&&i!==void 0?i:[]).map(function(p){var f=p[0];if(f==="p"||f==="P"){var g=u1[f];return l?g(p,l.formatLong):f}return p}).join("");e.length>0&&(a=_a(e,u.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),yn(a)||(a=new Date(e))}return yn(a)&&c?a:null}function yn(e,t){return s1(e)&&!lr(e,t??new Date("1/1/1800"))}function Oe(e,t,n){if(n==="en")return G2(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?qn(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&vo()&&qn(vo())&&(r=qn(vo())),G2(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Tt(e,t){var n=t.dateFormat,r=t.locale,o=Array.isArray(n)&&n.length>0?n[0]:n;return e&&Oe(e,o,r)||""}function gD(e,t,n){if(!e)return"";var r=Tt(e,n),o=t?Tt(t,n):"";return"".concat(r," - ").concat(o)}function vD(e,t){if(!e?.length)return"";var n=e[0]?Tt(e[0],t):"";if(e.length===1)return n;if(e.length===2&&e[1]){var r=Tt(e[1],t);return"".concat(n,", ").concat(r)}var o=e.length-1;return"".concat(n," (+").concat(o,")")}function ja(e,t){var n=t.hour,r=n===void 0?0:n,o=t.minute,i=o===void 0?0:o,a=t.second,l=a===void 0?0:a;return Ai(ji(Ri(e,l),i),r)}function CD(e){return _l(e)}function xD(e,t){return Oe(e,"ddd",t)}function Fi(e){return sr(e)}function Hn(e,t,n){var r=qn(t||vo());return An(e,{locale:r,weekStartsOn:n})}function _n(e){return t3(e)}function uo(e){return J1(e)}function r5(e){return us(e)}function o5(){return sr(Re())}function i5(e){return q4(e)}function bD(e){return u_(e)}function yD(e){return e3(e)}function Qt(e,t){return e&&t?oS(e,t):!e&&!t}function wt(e,t){return e&&t?nS(e,t):!e&&!t}function g1(e,t){return e&&t?rS(e,t):!e&&!t}function ye(e,t){return e&&t?c_(e,t):!e&&!t}function Xn(e,t){return e&&t?sI(e,t):!e&&!t}function po(e,t,n){var r,o=sr(t),i=q4(n);try{r=Do(e,{start:o,end:i})}catch{r=!1}return r}function E3(e,t){var n=Fl();n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t}function vo(){var e=Fl();return e.__localeId__}function qn(e){if(typeof e=="string"){var t=Fl();return t.__localeData__?t.__localeData__[e]:void 0}else return e}function wD(e,t,n){return t(Oe(e,"EEEE",n))}function kD(e,t){return Oe(e,"EEEEEE",t)}function ED(e,t){return Oe(e,"EEE",t)}function Pl(e,t){return Oe(It(Re(),e),"LLLL",t)}function L3(e,t){return Oe(It(Re(),e),"LLL",t)}function LD(e,t){return Oe(kr(Re(),e),"QQQ",t)}function Ft(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.excludeDateIntervals,l=n.includeDates,c=n.includeDateIntervals,u=n.filterDate;return si(e,{minDate:r,maxDate:o})||i&&i.some(function(p){return p instanceof Date?ye(e,p):ye(e,p.date)})||a&&a.some(function(p){var f=p.start,g=p.end;return Do(e,{start:f,end:g})})||l&&!l.some(function(p){return ye(e,p)})||c&&!c.some(function(p){var f=p.start,g=p.end;return Do(e,{start:f,end:g})})||u&&!u(Re(e))||!1}function Bl(e,t){var n=t===void 0?{}:t,r=n.excludeDates,o=n.excludeDateIntervals;return o&&o.length>0?o.some(function(i){var a=i.start,l=i.end;return Do(e,{start:a,end:l})}):r&&r.some(function(i){var a;return i instanceof Date?ye(e,i):ye(e,(a=i.date)!==null&&a!==void 0?a:new Date)})||!1}function M3(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,l=n.filterDate;return si(e,{minDate:r?t3(r):void 0,maxDate:o?e3(o):void 0})||i?.some(function(c){return wt(e,c instanceof Date?c:c.date)})||a&&!a.some(function(c){return wt(e,c)})||l&&!l(Re(e))||!1}function vi(e,t,n,r){var o=ge(e),i=Et(e),a=ge(t),l=Et(t),c=ge(r);return o===a&&o===c?i<=n&&n<=l:o<a?c===o&&i<=n||c===a&&l>=n||c<a&&c>o:!1}function MD(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates;return si(e,{minDate:r,maxDate:o})||i&&i.some(function(l){return wt(l instanceof Date?l:l.date,e)})||a&&!a.some(function(l){return wt(l,e)})||!1}function Ci(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,l=n.filterDate;return si(e,{minDate:r,maxDate:o})||i?.some(function(c){return g1(e,c instanceof Date?c:c.date)})||a&&!a.some(function(c){return g1(e,c)})||l&&!l(Re(e))||!1}function xi(e,t,n){if(!t||!n||!s1(t)||!s1(n))return!1;var r=ge(t),o=ge(n);return r<=e&&o>=e}function Pi(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,l=n.filterDate,c=new Date(e,0,1);return si(c,{minDate:r?J1(r):void 0,maxDate:o?n3(o):void 0})||i?.some(function(u){return Qt(c,u instanceof Date?u:u.date)})||a&&!a.some(function(u){return Qt(c,u)})||l&&!l(Re(c))||!1}function bi(e,t,n,r){var o=ge(e),i=Qn(e),a=ge(t),l=Qn(t),c=ge(r);return o===a&&o===c?i<=n&&n<=l:o<a?c===o&&i<=n||c===a&&l>=n||c<a&&c>o:!1}function si(e,t){var n,r=t===void 0?{}:t,o=r.minDate,i=r.maxDate;return(n=o&&Or(e,o)<0||i&&Or(e,i)>0)!==null&&n!==void 0?n:!1}function a5(e,t){return t.some(function(n){return ln(n)===ln(e)&&cn(n)===cn(e)&&$n(n)===$n(e)})}function s5(e,t){var n=t===void 0?{}:t,r=n.excludeTimes,o=n.includeTimes,i=n.filterTime;return r&&a5(e,r)||o&&!a5(e,o)||i&&!i(e)||!1}function l5(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o=Re();o=Ai(o,ln(e)),o=ji(o,cn(e)),o=Ri(o,$n(e));var i=Re();i=Ai(i,ln(n)),i=ji(i,cn(n)),i=Ri(i,$n(n));var a=Re();a=Ai(a,ln(r)),a=ji(a,cn(r)),a=Ri(a,$n(r));var l;try{l=!Do(o,{start:i,end:a})}catch{l=!1}return l}function c5(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=Kn(e,1);return r&&l1(r,i)>0||o&&o.every(function(a){return l1(a,i)>0})||!1}function d5(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=zt(e,1);return r&&l1(i,r)>0||o&&o.every(function(a){return l1(i,a)>0})||!1}function $D(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=J1(e),a=f3(i);return r&&c1(r,a)>0||o&&o.every(function(l){return c1(l,a)>0})||!1}function _D(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=n3(e),a=$l(i,1);return r&&c1(a,r)>0||o&&o.every(function(l){return c1(a,l)>0})||!1}function u5(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=Wr(e,1);return r&&d1(r,i)>0||o&&o.every(function(a){return d1(a,i)>0})||!1}function ID(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.yearItemNumber,i=o===void 0?ai:o,a=uo(Wr(e,i)),l=Pn(a,i).endPeriod,c=r&&ge(r);return c&&c>l||!1}function p5(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=Ln(e,1);return r&&d1(i,r)>0||o&&o.every(function(a){return d1(i,a)>0})||!1}function SD(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.yearItemNumber,i=o===void 0?ai:o,a=Ln(e,i),l=Pn(a,i).startPeriod,c=r&&ge(r);return c&&c<l||!1}function $3(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter(function(o){return Or(o,t)>=0});return N2(r)}else return n?N2(n):t}function _3(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(o){return Or(o,t)<=0});return V2(r)}else return n?V2(n):t}function f5(e,t){var n;e===void 0&&(e=[]),t===void 0&&(t="react-datepicker__day--highlighted");for(var r=new Map,o=0,i=e.length;o<i;o++){var a=e[o];if(Mn(a)){var l=Oe(a,"MM.dd.yyyy"),c=r.get(l)||[];c.includes(t)||(c.push(t),r.set(l,c))}else if(typeof a=="object"){var u=Object.keys(a),p=(n=u[0])!==null&&n!==void 0?n:"",f=a[p];if(typeof p=="string"&&Array.isArray(f))for(var g=0,v=f.length;g<v;g++){var C=f[g];if(C){var l=Oe(C,"MM.dd.yyyy"),c=r.get(l)||[];c.includes(p)||(c.push(p),r.set(l,c))}}}}return r}function DD(e,t){return e.length!==t.length?!1:e.every(function(n,r){return n===t[r]})}function AD(e,t){e===void 0&&(e=[]),t===void 0&&(t="react-datepicker__day--holidays");var n=new Map;return e.forEach(function(r){var o=r.date,i=r.holidayName;if(Mn(o)){var a=Oe(o,"MM.dd.yyyy"),l=n.get(a)||{className:"",holidayNames:[]};if(!("className"in l&&l.className===t&&DD(l.holidayNames,[i]))){l.className=t;var c=l.holidayNames;l.holidayNames=c?an(an([],c,!0),[i],!1):[i],n.set(a,l)}}}),n}function jD(e,t,n,r,o){for(var i=o.length,a=[],l=0;l<i;l++){var c=e,u=o[l];u&&(c=i_(c,ln(u)),c=ds(c,cn(u)),c=l_(c,$n(u)));var p=ds(e,(n+1)*r);Nn(c,t)&&lr(c,p)&&u!=null&&a.push(u)}return a}function h5(e){return e<10?"0".concat(e):"".concat(e)}function Pn(e,t){t===void 0&&(t=ai);var n=Math.ceil(ge(e)/t)*t,r=n-(t-1);return{startPeriod:r,endPeriod:n}}function RD(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}function m5(e){var t=e.getSeconds(),n=e.getMilliseconds();return K(e.getTime()-t*1e3-n)}function TD(e,t){return m5(e).getTime()===m5(t).getTime()}function g5(e){if(!Mn(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function v5(e,t){if(!Mn(e)||!Mn(t))throw new Error("Invalid date received");var n=g5(e),r=g5(t);return lr(n,r)}function I3(e){return e.key===J.Space}var FD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.inputRef=m.createRef(),r.onTimeChange=function(o){var i,a;r.setState({time:o});var l=r.props.date,c=l instanceof Date&&!isNaN(+l),u=c?l:new Date;if(o?.includes(":")){var p=o.split(":"),f=p[0],g=p[1];u.setHours(Number(f)),u.setMinutes(Number(g))}(a=(i=r.props).onChange)===null||a===void 0||a.call(i,u)},r.renderTimeInput=function(){var o=r.state.time,i=r.props,a=i.date,l=i.timeString,c=i.customTimeInput;return c?m.cloneElement(c,{date:a,value:o,onChange:r.onTimeChange}):m.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:r.inputRef,onClick:function(){var u;(u=r.inputRef.current)===null||u===void 0||u.focus()},required:!0,value:o,onChange:function(u){r.onTimeChange(u.target.value||l)}})},r.state={time:r.props.timeString},r}return t.getDerivedStateFromProps=function(n,r){return n.timeString!==r.time?{time:n.timeString}:null},t.prototype.render=function(){return m.createElement("div",{className:"react-datepicker__input-time-container"},m.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),m.createElement("div",{className:"react-datepicker-time__input-container"},m.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(m.Component),PD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.dayEl=m.createRef(),n.handleClick=function(r){!n.isDisabled()&&n.props.onClick&&n.props.onClick(r)},n.handleMouseEnter=function(r){!n.isDisabled()&&n.props.onMouseEnter&&n.props.onMouseEnter(r)},n.handleOnKeyDown=function(r){var o,i,a=r.key;a===J.Space&&(r.preventDefault(),r.key=J.Enter),(i=(o=n.props).handleOnKeyDown)===null||i===void 0||i.call(o,r)},n.isSameDay=function(r){return ye(n.props.day,r)},n.isKeyboardSelected=function(){var r;if(n.props.disabledKeyboardNavigation)return!1;var o=n.props.selectsMultiple?(r=n.props.selectedDates)===null||r===void 0?void 0:r.some(function(a){return n.isSameDayOrWeek(a)}):n.isSameDayOrWeek(n.props.selected),i=n.props.preSelection&&n.isDisabled(n.props.preSelection);return!o&&n.isSameDayOrWeek(n.props.preSelection)&&!i},n.isDisabled=function(r){return r===void 0&&(r=n.props.day),Ft(r,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(){return Bl(n.props.day,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.isStartOfWeek=function(){return ye(n.props.day,Hn(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(r){return n.props.showWeekPicker&&ye(r,Hn(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameDayOrWeek=function(r){return n.isSameDay(r)||n.isSameWeek(r)},n.getHighLightedClass=function(){var r=n.props,o=r.day,i=r.highlightDates;if(!i)return!1;var a=Oe(o,"MM.dd.yyyy");return i.get(a)},n.getHolidaysClass=function(){var r,o=n.props,i=o.day,a=o.holidays;if(!a)return[void 0];var l=Oe(i,"MM.dd.yyyy");return a.has(l)?[(r=a.get(l))===null||r===void 0?void 0:r.className]:[void 0]},n.isInRange=function(){var r=n.props,o=r.day,i=r.startDate,a=r.endDate;return!i||!a?!1:po(o,i,a)},n.isInSelectingRange=function(){var r,o=n.props,i=o.day,a=o.selectsStart,l=o.selectsEnd,c=o.selectsRange,u=o.selectsDisabledDaysInRange,p=o.startDate,f=o.endDate,g=(r=n.props.selectingDate)!==null&&r!==void 0?r:n.props.preSelection;return!(a||l||c)||!g||!u&&n.isDisabled()?!1:a&&f&&(lr(g,f)||Xn(g,f))?po(i,g,f):l&&p&&(Nn(g,p)||Xn(g,p))||c&&p&&!f&&(Nn(g,p)||Xn(g,p))?po(i,p,g):!1},n.isSelectingRangeStart=function(){var r;if(!n.isInSelectingRange())return!1;var o=n.props,i=o.day,a=o.startDate,l=o.selectsStart,c=(r=n.props.selectingDate)!==null&&r!==void 0?r:n.props.preSelection;return l?ye(i,c):ye(i,a)},n.isSelectingRangeEnd=function(){var r;if(!n.isInSelectingRange())return!1;var o=n.props,i=o.day,a=o.endDate,l=o.selectsEnd,c=o.selectsRange,u=(r=n.props.selectingDate)!==null&&r!==void 0?r:n.props.preSelection;return l||c?ye(i,u):ye(i,a)},n.isRangeStart=function(){var r=n.props,o=r.day,i=r.startDate,a=r.endDate;return!i||!a?!1:ye(i,o)},n.isRangeEnd=function(){var r=n.props,o=r.day,i=r.startDate,a=r.endDate;return!i||!a?!1:ye(a,o)},n.isWeekend=function(){var r=rI(n.props.day);return r===0||r===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Et(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Et(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(Re())},n.isSelected=function(){var r;return n.props.selectsMultiple?(r=n.props.selectedDates)===null||r===void 0?void 0:r.some(function(o){return n.isSameDayOrWeek(o)}):n.isSameDayOrWeek(n.props.selected)},n.getClassNames=function(r){var o=n.props.dayClassName?n.props.dayClassName(r):void 0;return pt("react-datepicker__day",o,"react-datepicker__day--"+xD(n.props.day),{"react-datepicker__day--disabled":n.isDisabled(),"react-datepicker__day--excluded":n.isExcluded(),"react-datepicker__day--selected":n.isSelected(),"react-datepicker__day--keyboard-selected":n.isKeyboardSelected(),"react-datepicker__day--range-start":n.isRangeStart(),"react-datepicker__day--range-end":n.isRangeEnd(),"react-datepicker__day--in-range":n.isInRange(),"react-datepicker__day--in-selecting-range":n.isInSelectingRange(),"react-datepicker__day--selecting-range-start":n.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":n.isSelectingRangeEnd(),"react-datepicker__day--today":n.isCurrentDay(),"react-datepicker__day--weekend":n.isWeekend(),"react-datepicker__day--outside-month":n.isAfterMonth()||n.isBeforeMonth()},n.getHighLightedClass(),n.getHolidaysClass())},n.getAriaLabel=function(){var r=n.props,o=r.day,i=r.ariaLabelPrefixWhenEnabled,a=i===void 0?"Choose":i,l=r.ariaLabelPrefixWhenDisabled,c=l===void 0?"Not available":l,u=n.isDisabled()||n.isExcluded()?c:a;return"".concat(u," ").concat(Oe(o,"PPPP",n.props.locale))},n.getTitle=function(){var r=n.props,o=r.day,i=r.holidays,a=i===void 0?new Map:i,l=r.excludeDates,c=Oe(o,"MM.dd.yyyy"),u=[];return a.has(c)&&u.push.apply(u,a.get(c).holidayNames),n.isExcluded()&&u.push(l?.filter(function(p){return p instanceof Date?ye(p,o):ye(p?.date,o)}).map(function(p){if(!(p instanceof Date))return p?.message})),u.join(", ")},n.getTabIndex=function(){var r=n.props.selected,o=n.props.preSelection,i=!(n.props.showWeekPicker&&(n.props.showWeekNumber||!n.isStartOfWeek()))&&(n.isKeyboardSelected()||n.isSameDay(r)&&ye(o,r))?0:-1;return i},n.handleFocusDay=function(){var r;n.shouldFocusDay()&&((r=n.dayEl.current)===null||r===void 0||r.focus({preventScroll:!0}))},n.renderDayContents=function(){return n.props.monthShowsDuplicateDaysEnd&&n.isAfterMonth()||n.props.monthShowsDuplicateDaysStart&&n.isBeforeMonth()?null:n.props.renderDayContents?n.props.renderDayContents(X2(n.props.day),n.props.day):X2(n.props.day)},n.render=function(){return m.createElement("div",{ref:n.dayEl,className:n.getClassNames(n.props.day),onKeyDown:n.handleOnKeyDown,onClick:n.handleClick,onMouseEnter:n.props.usePointerEvent?void 0:n.handleMouseEnter,onPointerEnter:n.props.usePointerEvent?n.handleMouseEnter:void 0,tabIndex:n.getTabIndex(),"aria-label":n.getAriaLabel(),role:"option",title:n.getTitle(),"aria-disabled":n.isDisabled(),"aria-current":n.isCurrentDay()?"date":void 0,"aria-selected":n.isSelected()||n.isInRange()},n.renderDayContents(),n.getTitle()!==""&&m.createElement("span",{className:"overlay"},n.getTitle()))},n}return t.prototype.componentDidMount=function(){this.handleFocusDay()},t.prototype.componentDidUpdate=function(){this.handleFocusDay()},t.prototype.shouldFocusDay=function(){var n=!1;return this.getTabIndex()===0&&this.isSameDay(this.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(n=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(n=!1),this.isDayActiveElement()&&(n=!0),this.isDuplicateDay()&&(n=!1)),n},t.prototype.isDayActiveElement=function(){var n,r,o;return((r=(n=this.props.containerRef)===null||n===void 0?void 0:n.current)===null||r===void 0?void 0:r.contains(document.activeElement))&&((o=document.activeElement)===null||o===void 0?void 0:o.classList.contains("react-datepicker__day"))},t.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},t}(m.Component),BD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.weekNumberEl=m.createRef(),n.handleClick=function(r){n.props.onClick&&n.props.onClick(r)},n.handleOnKeyDown=function(r){var o,i,a=r.key;a===J.Space&&(r.preventDefault(),r.key=J.Enter),(i=(o=n.props).handleOnKeyDown)===null||i===void 0||i.call(o,r)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!ye(n.props.date,n.props.selected)&&ye(n.props.date,n.props.preSelection)},n.getTabIndex=function(){return n.props.showWeekPicker&&n.props.showWeekNumber&&(n.isKeyboardSelected()||ye(n.props.date,n.props.selected)&&ye(n.props.preSelection,n.props.selected))?0:-1},n.handleFocusWeekNumber=function(r){var o=!1;n.getTabIndex()===0&&!r?.isInputFocused&&ye(n.props.date,n.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(o=!0),n.props.inline&&!n.props.shouldFocusDayInline&&(o=!1),n.props.containerRef&&n.props.containerRef.current&&n.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(o=!0)),o&&n.weekNumberEl.current&&n.weekNumberEl.current.focus({preventScroll:!0})},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},t.prototype.componentDidUpdate=function(n){this.handleFocusWeekNumber(n)},t.prototype.render=function(){var n=this.props,r=n.weekNumber,o=n.isWeekDisabled,i=n.ariaLabelPrefix,a=i===void 0?t.defaultProps.ariaLabelPrefix:i,l=n.onClick,c={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!l&&!o,"react-datepicker__week-number--selected":!!l&&ye(this.props.date,this.props.selected)};return m.createElement("div",{ref:this.weekNumberEl,className:pt(c),"aria-label":"".concat(a," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},r)},t}(m.Component),HD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.isDisabled=function(r){return Ft(r,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.handleDayClick=function(r,o){n.props.onDayClick&&n.props.onDayClick(r,o)},n.handleDayMouseEnter=function(r){n.props.onDayMouseEnter&&n.props.onDayMouseEnter(r)},n.handleWeekClick=function(r,o,i){for(var a,l,c,u=new Date(r),p=0;p<7;p++){var f=new Date(r);f.setDate(f.getDate()+p);var g=!n.isDisabled(f);if(g){u=f;break}}typeof n.props.onWeekSelect=="function"&&n.props.onWeekSelect(u,o,i),n.props.showWeekPicker&&n.handleDayClick(u,i),((a=n.props.shouldCloseOnSelect)!==null&&a!==void 0?a:t.defaultProps.shouldCloseOnSelect)&&((c=(l=n.props).setOpen)===null||c===void 0||c.call(l,!1))},n.formatWeekNumber=function(r){return n.props.formatWeekNumber?n.props.formatWeekNumber(r):CD(r)},n.isWeekDisabled=function(){for(var r=n.startOfWeek(),o=Zt(r,6),i=new Date(r);i<=o;){if(!n.isDisabled(i))return!1;i=Zt(i,1)}return!0},n.renderDays=function(){var r=n.startOfWeek(),o=[],i=n.formatWeekNumber(r);if(n.props.showWeekNumber){var a=n.props.onWeekSelect||n.props.showWeekPicker?n.handleWeekClick.bind(n,r,i):void 0;o.push(m.createElement(BD,ke({key:"W"},t.defaultProps,n.props,{weekNumber:i,isWeekDisabled:n.isWeekDisabled(),date:r,onClick:a})))}return o.concat([0,1,2,3,4,5,6].map(function(l){var c=Zt(r,l);return m.createElement(PD,ke({},t.defaultProps,n.props,{ariaLabelPrefixWhenEnabled:n.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:n.props.disabledDayAriaLabelPrefix,key:c.valueOf(),day:c,onClick:n.handleDayClick.bind(n,c),onMouseEnter:n.handleDayMouseEnter.bind(n,c)}))}))},n.startOfWeek=function(){return Hn(n.props.day,n.props.locale,n.props.calendarStartDay)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!ye(n.startOfWeek(),n.props.selected)&&ye(n.startOfWeek(),n.props.preSelection)},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var n={"react-datepicker__week":!0,"react-datepicker__week--selected":ye(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return m.createElement("div",{className:pt(n)},this.renderDays())},t}(m.Component),ao,VD=6,Dr={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},Ra=(ao={},ao[Dr.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},ao[Dr.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},ao[Dr.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},ao),yi=1;function C5(e,t){return e?Dr.FOUR_COLUMNS:t?Dr.TWO_COLUMNS:Dr.THREE_COLUMNS}var ND=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.MONTH_REFS=an([],Array(12),!0).map(function(){return m.createRef()}),n.QUARTER_REFS=an([],Array(4),!0).map(function(){return m.createRef()}),n.isDisabled=function(r){return Ft(r,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(r){return Bl(r,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.handleDayClick=function(r,o){var i,a;(a=(i=n.props).onDayClick)===null||a===void 0||a.call(i,r,o,n.props.orderInDisplay)},n.handleDayMouseEnter=function(r){var o,i;(i=(o=n.props).onDayMouseEnter)===null||i===void 0||i.call(o,r)},n.handleMouseLeave=function(){var r,o;(o=(r=n.props).onMouseLeave)===null||o===void 0||o.call(r)},n.isRangeStartMonth=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:wt(It(i,r),a)},n.isRangeStartQuarter=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:g1(kr(i,r),a)},n.isRangeEndMonth=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:wt(It(i,r),l)},n.isRangeEndQuarter=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:g1(kr(i,r),l)},n.isInSelectingRangeMonth=function(r){var o,i=n.props,a=i.day,l=i.selectsStart,c=i.selectsEnd,u=i.selectsRange,p=i.startDate,f=i.endDate,g=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return!(l||c||u)||!g?!1:l&&f?vi(g,f,r,a):c&&p||u&&p&&!f?vi(p,g,r,a):!1},n.isSelectingMonthRangeStart=function(r){var o;if(!n.isInSelectingRangeMonth(r))return!1;var i=n.props,a=i.day,l=i.startDate,c=i.selectsStart,u=It(a,r),p=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return c?wt(u,p):wt(u,l)},n.isSelectingMonthRangeEnd=function(r){var o;if(!n.isInSelectingRangeMonth(r))return!1;var i=n.props,a=i.day,l=i.endDate,c=i.selectsEnd,u=i.selectsRange,p=It(a,r),f=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return c||u?wt(p,f):wt(p,l)},n.isInSelectingRangeQuarter=function(r){var o,i=n.props,a=i.day,l=i.selectsStart,c=i.selectsEnd,u=i.selectsRange,p=i.startDate,f=i.endDate,g=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return!(l||c||u)||!g?!1:l&&f?bi(g,f,r,a):c&&p||u&&p&&!f?bi(p,g,r,a):!1},n.isWeekInMonth=function(r){var o=n.props.day,i=Zt(r,6);return wt(r,o)||wt(i,o)},n.isCurrentMonth=function(r,o){return ge(r)===ge(Re())&&o===Et(Re())},n.isCurrentQuarter=function(r,o){return ge(r)===ge(Re())&&o===Qn(Re())},n.isSelectedMonth=function(r,o,i){return Et(i)===o&&ge(r)===ge(i)},n.isSelectMonthInList=function(r,o,i){return i.some(function(a){return n.isSelectedMonth(r,o,a)})},n.isSelectedQuarter=function(r,o,i){return Qn(r)===o&&ge(r)===ge(i)},n.renderWeeks=function(){for(var r=[],o=n.props.fixedHeight,i=0,a=!1,l=Hn(_n(n.props.day),n.props.locale,n.props.calendarStartDay),c=function(C){return n.props.showWeekPicker?Hn(C,n.props.locale,n.props.calendarStartDay):n.props.preSelection},u=function(C){return n.props.showWeekPicker?Hn(C,n.props.locale,n.props.calendarStartDay):n.props.selected},p=n.props.selected?u(n.props.selected):void 0,f=n.props.preSelection?c(n.props.preSelection):void 0;r.push(m.createElement(HD,ke({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:i,day:l,month:Et(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:p,preSelection:f,showWeekNumber:n.props.showWeekNumbers}))),!a;){i++,l=a1(l,1);var g=o&&i>=VD,v=!o&&!n.isWeekInMonth(l);if(g||v)if(n.props.peekNextMonth)a=!0;else break}return r},n.onMonthClick=function(r,o){var i=n.isMonthDisabledForLabelDate(o),a=i.isDisabled,l=i.labelDate;a||n.handleDayClick(_n(l),r)},n.onMonthMouseEnter=function(r){var o=n.isMonthDisabledForLabelDate(r),i=o.isDisabled,a=o.labelDate;i||n.handleDayMouseEnter(_n(a))},n.handleMonthNavigation=function(r,o){var i,a,l,c;(a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,o),(c=(l=n.MONTH_REFS[r])===null||l===void 0?void 0:l.current)===null||c===void 0||c.focus()},n.handleKeyboardNavigation=function(r,o,i){var a,l=n.props,c=l.selected,u=l.preSelection,p=l.setPreSelection,f=l.minDate,g=l.maxDate,v=l.showFourColumnMonthYearPicker,C=l.showTwoColumnMonthYearPicker;if(u){var x=C5(v,C),b=n.getVerticalOffset(x),y=(a=Ra[x])===null||a===void 0?void 0:a.grid,k=function(M,_,D){var P,N,F=_,V=D;switch(M){case J.ArrowRight:F=zt(_,yi),V=D===11?0:D+yi;break;case J.ArrowLeft:F=Kn(_,yi),V=D===0?11:D-yi;break;case J.ArrowUp:F=Kn(_,b),V=!((P=y?.[0])===null||P===void 0)&&P.includes(D)?D+12-b:D-b;break;case J.ArrowDown:F=zt(_,b),V=!((N=y?.[y.length-1])===null||N===void 0)&&N.includes(D)?D-12+b:D+b;break}return{newCalculatedDate:F,newCalculatedMonth:V}},w=function(M,_,D){for(var P=40,N=M,F=!1,V=0,T=k(N,_,D),H=T.newCalculatedDate,I=T.newCalculatedMonth;!F;){if(V>=P){H=_,I=D;break}if(f&&H<f){N=J.ArrowRight;var j=k(N,H,I);H=j.newCalculatedDate,I=j.newCalculatedMonth}if(g&&H>g){N=J.ArrowLeft;var j=k(N,H,I);H=j.newCalculatedDate,I=j.newCalculatedMonth}if(MD(H,n.props)){var j=k(N,H,I);H=j.newCalculatedDate,I=j.newCalculatedMonth}else F=!0;V++}return{newCalculatedDate:H,newCalculatedMonth:I}};if(o===J.Enter){n.isMonthDisabled(i)||(n.onMonthClick(r,i),p?.(c));return}var L=w(o,u,i),E=L.newCalculatedDate,$=L.newCalculatedMonth;switch(o){case J.ArrowRight:case J.ArrowLeft:case J.ArrowUp:case J.ArrowDown:n.handleMonthNavigation($,E);break}}},n.getVerticalOffset=function(r){var o,i;return(i=(o=Ra[r])===null||o===void 0?void 0:o.verticalNavigationOffset)!==null&&i!==void 0?i:0},n.onMonthKeyDown=function(r,o){var i=n.props,a=i.disabledKeyboardNavigation,l=i.handleOnMonthKeyDown,c=r.key;c!==J.Tab&&r.preventDefault(),a||n.handleKeyboardNavigation(r,c,o),l&&l(r)},n.onQuarterClick=function(r,o){var i=kr(n.props.day,o);Ci(i,n.props)||n.handleDayClick(r5(i),r)},n.onQuarterMouseEnter=function(r){var o=kr(n.props.day,r);Ci(o,n.props)||n.handleDayMouseEnter(r5(o))},n.handleQuarterNavigation=function(r,o){var i,a,l,c;n.isDisabled(o)||n.isExcluded(o)||((a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,o),(c=(l=n.QUARTER_REFS[r-1])===null||l===void 0?void 0:l.current)===null||c===void 0||c.focus())},n.onQuarterKeyDown=function(r,o){var i,a,l=r.key;if(!n.props.disabledKeyboardNavigation)switch(l){case J.Enter:n.onQuarterClick(r,o),(a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,n.props.selected);break;case J.ArrowRight:if(!n.props.preSelection)break;n.handleQuarterNavigation(o===4?1:o+1,$l(n.props.preSelection,1));break;case J.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(o===1?4:o-1,f3(n.props.preSelection));break}},n.isMonthDisabledForLabelDate=function(r){var o,i=n.props,a=i.day,l=i.minDate,c=i.maxDate,u=i.excludeDates,p=i.includeDates,f=It(a,r);return{isDisabled:(o=(l||c||u||p)&&M3(f,n.props))!==null&&o!==void 0?o:!1,labelDate:f}},n.isMonthDisabled=function(r){var o=n.isMonthDisabledForLabelDate(r).isDisabled;return o},n.getMonthClassNames=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate,c=o.preSelection,u=o.monthClassName,p=u?u(It(i,r)):void 0,f=n.getSelection();return pt("react-datepicker__month-text","react-datepicker__month-".concat(r),p,{"react-datepicker__month-text--disabled":n.isMonthDisabled(r),"react-datepicker__month-text--selected":f?n.isSelectMonthInList(i,r,f):void 0,"react-datepicker__month-text--keyboard-selected":!n.props.disabledKeyboardNavigation&&c&&n.isSelectedMonth(i,r,c)&&!n.isMonthDisabled(r),"react-datepicker__month-text--in-selecting-range":n.isInSelectingRangeMonth(r),"react-datepicker__month-text--in-range":a&&l?vi(a,l,r,i):void 0,"react-datepicker__month-text--range-start":n.isRangeStartMonth(r),"react-datepicker__month-text--range-end":n.isRangeEndMonth(r),"react-datepicker__month-text--selecting-range-start":n.isSelectingMonthRangeStart(r),"react-datepicker__month-text--selecting-range-end":n.isSelectingMonthRangeEnd(r),"react-datepicker__month-text--today":n.isCurrentMonth(i,r)})},n.getTabIndex=function(r){if(n.props.preSelection==null)return"-1";var o=Et(n.props.preSelection),i=n.isMonthDisabledForLabelDate(o).isDisabled,a=r===o&&!(i||n.props.disabledKeyboardNavigation)?"0":"-1";return a},n.getQuarterTabIndex=function(r){if(n.props.preSelection==null)return"-1";var o=Qn(n.props.preSelection),i=Ci(n.props.day,n.props),a=r===o&&!(i||n.props.disabledKeyboardNavigation)?"0":"-1";return a},n.getAriaLabel=function(r){var o=n.props,i=o.chooseDayAriaLabelPrefix,a=i===void 0?"Choose":i,l=o.disabledDayAriaLabelPrefix,c=l===void 0?"Not available":l,u=o.day,p=o.locale,f=It(u,r),g=n.isDisabled(f)||n.isExcluded(f)?c:a;return"".concat(g," ").concat(Oe(f,"MMMM yyyy",p))},n.getQuarterClassNames=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate,c=o.selected,u=o.minDate,p=o.maxDate,f=o.excludeDates,g=o.includeDates,v=o.filterDate,C=o.preSelection,x=o.disabledKeyboardNavigation,b=(u||p||f||g||v)&&Ci(kr(i,r),n.props);return pt("react-datepicker__quarter-text","react-datepicker__quarter-".concat(r),{"react-datepicker__quarter-text--disabled":b,"react-datepicker__quarter-text--selected":c?n.isSelectedQuarter(i,r,c):void 0,"react-datepicker__quarter-text--keyboard-selected":!x&&C&&n.isSelectedQuarter(i,r,C)&&!b,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(r),"react-datepicker__quarter-text--in-range":a&&l?bi(a,l,r,i):void 0,"react-datepicker__quarter-text--range-start":n.isRangeStartQuarter(r),"react-datepicker__quarter-text--range-end":n.isRangeEndQuarter(r)})},n.getMonthContent=function(r){var o=n.props,i=o.showFullMonthYearPicker,a=o.renderMonthContent,l=o.locale,c=o.day,u=L3(r,l),p=Pl(r,l);return a?a(r,u,p,c):i?p:u},n.getQuarterContent=function(r){var o,i=n.props,a=i.renderQuarterContent,l=i.locale,c=LD(r,l);return(o=a?.(r,c))!==null&&o!==void 0?o:c},n.renderMonths=function(){var r,o=n.props,i=o.showTwoColumnMonthYearPicker,a=o.showFourColumnMonthYearPicker,l=o.day,c=o.selected,u=(r=Ra[C5(a,i)])===null||r===void 0?void 0:r.grid;return u?.map(function(p,f){return m.createElement("div",{className:"react-datepicker__month-wrapper",key:f},p.map(function(g,v){return m.createElement("div",{ref:n.MONTH_REFS[g],key:v,onClick:function(C){n.onMonthClick(C,g)},onKeyDown:function(C){I3(C)&&(C.preventDefault(),C.key=J.Enter),n.onMonthKeyDown(C,g)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(g)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(g)}:void 0,tabIndex:Number(n.getTabIndex(g)),className:n.getMonthClassNames(g),"aria-disabled":n.isMonthDisabled(g),role:"option","aria-label":n.getAriaLabel(g),"aria-current":n.isCurrentMonth(l,g)?"date":void 0,"aria-selected":c?n.isSelectedMonth(l,g,c):void 0},n.getMonthContent(g))}))})},n.renderQuarters=function(){var r=n.props,o=r.day,i=r.selected,a=[1,2,3,4];return m.createElement("div",{className:"react-datepicker__quarter-wrapper"},a.map(function(l,c){return m.createElement("div",{key:c,ref:n.QUARTER_REFS[c],role:"option",onClick:function(u){n.onQuarterClick(u,l)},onKeyDown:function(u){n.onQuarterKeyDown(u,l)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onQuarterMouseEnter(l)},onPointerEnter:n.props.usePointerEvent?function(){return n.onQuarterMouseEnter(l)}:void 0,className:n.getQuarterClassNames(l),"aria-selected":i?n.isSelectedQuarter(o,l,i):void 0,tabIndex:Number(n.getQuarterTabIndex(l)),"aria-current":n.isCurrentQuarter(o,l)?"date":void 0},n.getQuarterContent(l))}))},n.getClassNames=function(){var r=n.props,o=r.selectingDate,i=r.selectsStart,a=r.selectsEnd,l=r.showMonthYearPicker,c=r.showQuarterYearPicker,u=r.showWeekPicker;return pt("react-datepicker__month",{"react-datepicker__month--selecting-range":o&&(i||a)},{"react-datepicker__monthPicker":l},{"react-datepicker__quarterPicker":c},{"react-datepicker__weekPicker":u})},n}return t.prototype.getSelection=function(){var n=this.props,r=n.selected,o=n.selectedDates,i=n.selectsMultiple;if(i)return o;if(r)return[r]},t.prototype.render=function(){var n=this.props,r=n.showMonthYearPicker,o=n.showQuarterYearPicker,i=n.day,a=n.ariaLabelPrefix,l=a===void 0?"Month ":a,c=l?l.trim()+" ":"";return m.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(c).concat(Oe(i,"MMMM, yyyy",this.props.locale)),role:"listbox"},r?this.renderMonths():o?this.renderQuarters():this.renderWeeks())},t}(m.Component),OD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.isSelectedMonth=function(r){return n.props.month===r},n.renderOptions=function(){return n.props.monthNames.map(function(r,o){return m.createElement("div",{className:n.isSelectedMonth(o)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:r,onClick:n.onChange.bind(n,o),"aria-selected":n.isSelectedMonth(o)?"true":void 0},n.isSelectedMonth(o)?m.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",r)})},n.onChange=function(r){return n.props.onChange(r)},n.handleClickOutside=function(){return n.props.onCancel()},n}return t.prototype.render=function(){return m.createElement(q1,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(m.Component),WD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(r){return r.map(function(o,i){return m.createElement("option",{key:o,value:i},o)})},n.renderSelectMode=function(r){return m.createElement("select",{value:n.props.month,className:"react-datepicker__month-select",onChange:function(o){return n.onChange(parseInt(o.target.value))}},n.renderSelectOptions(r))},n.renderReadView=function(r,o){return m.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:n.toggleDropdown},m.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),m.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},o[n.props.month]))},n.renderDropdown=function(r){return m.createElement(OD,ke({key:"dropdown"},n.props,{monthNames:r,onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(r){var o=n.state.dropdownVisible,i=[n.renderReadView(!o,r)];return o&&i.unshift(n.renderDropdown(r)),i},n.onChange=function(r){n.toggleDropdown(),r!==n.props.month&&n.props.onChange(r)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return t.prototype.render=function(){var n=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(i){return L3(i,n.props.locale)}:function(i){return Pl(i,n.props.locale)}),o;switch(this.props.dropdownMode){case"scroll":o=this.renderScrollMode(r);break;case"select":o=this.renderSelectMode(r);break}return m.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},o)},t}(m.Component);function ZD(e,t){for(var n=[],r=_n(e),o=_n(t);!Nn(r,o);)n.push(Re(r)),r=zt(r,1);return n}var YD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.renderOptions=function(){return r.state.monthYearsList.map(function(o){var i=fs(o),a=Qt(r.props.date,o)&&wt(r.props.date,o);return m.createElement("div",{className:a?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:i,onClick:r.onChange.bind(r,i),"aria-selected":a?"true":void 0},a?m.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Oe(o,r.props.dateFormat,r.props.locale))})},r.onChange=function(o){return r.props.onChange(o)},r.handleClickOutside=function(){r.props.onCancel()},r.state={monthYearsList:ZD(r.props.minDate,r.props.maxDate)},r}return t.prototype.render=function(){var n=pt({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return m.createElement(q1,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(m.Component),zD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var r=_n(n.props.minDate),o=_n(n.props.maxDate),i=[];!Nn(r,o);){var a=fs(r);i.push(m.createElement("option",{key:a,value:a},Oe(r,n.props.dateFormat,n.props.locale))),r=zt(r,1)}return i},n.onSelectChange=function(r){n.onChange(parseInt(r.target.value))},n.renderSelectMode=function(){return m.createElement("select",{value:fs(_n(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(r){var o=Oe(n.props.date,n.props.dateFormat,n.props.locale);return m.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:n.toggleDropdown},m.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),m.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},o))},n.renderDropdown=function(){return m.createElement(YD,ke({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var r=n.state.dropdownVisible,o=[n.renderReadView(!r)];return r&&o.unshift(n.renderDropdown()),o},n.onChange=function(r){n.toggleDropdown();var o=Re(r);Qt(n.props.date,o)&&wt(n.props.date,o)||n.props.onChange(o)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return t.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return m.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},t}(m.Component),GD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var r,o,i;n.list&&(n.list.scrollTop=(i=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-((o=(r=n.header)===null||r===void 0?void 0:r.clientHeight)!==null&&o!==void 0?o:0):n.list.clientHeight,n.centerLi))!==null&&i!==void 0?i:0)})},n.handleClick=function(r){var o,i;(n.props.minTime||n.props.maxTime)&&l5(r,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&s5(r,n.props)||(i=(o=n.props).onChange)===null||i===void 0||i.call(o,r)},n.isSelectedTime=function(r){return n.props.selected&&TD(n.props.selected,r)},n.isDisabledTime=function(r){return(n.props.minTime||n.props.maxTime)&&l5(r,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&s5(r,n.props)},n.liClasses=function(r){var o,i=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(r):void 0];return n.isSelectedTime(r)&&i.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(r)&&i.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(ln(r)*3600+cn(r)*60+$n(r))%(((o=n.props.intervals)!==null&&o!==void 0?o:t.defaultProps.intervals)*60)!==0&&i.push("react-datepicker__time-list-item--injected"),i.join(" ")},n.handleOnKeyDown=function(r,o){var i,a;r.key===J.Space&&(r.preventDefault(),r.key=J.Enter),(r.key===J.ArrowUp||r.key===J.ArrowLeft)&&r.target instanceof HTMLElement&&r.target.previousSibling&&(r.preventDefault(),r.target.previousSibling instanceof HTMLElement&&r.target.previousSibling.focus()),(r.key===J.ArrowDown||r.key===J.ArrowRight)&&r.target instanceof HTMLElement&&r.target.nextSibling&&(r.preventDefault(),r.target.nextSibling instanceof HTMLElement&&r.target.nextSibling.focus()),r.key===J.Enter&&n.handleClick(o),(a=(i=n.props).handleOnKeyDown)===null||a===void 0||a.call(i,r)},n.renderTimes=function(){for(var r,o=[],i=typeof n.props.format=="string"?n.props.format:"p",a=(r=n.props.intervals)!==null&&r!==void 0?r:t.defaultProps.intervals,l=n.props.selected||n.props.openToDate||Re(),c=Fi(l),u=n.props.injectTimes&&n.props.injectTimes.sort(function(b,y){return b.getTime()-y.getTime()}),p=60*RD(l),f=p/a,g=0;g<f;g++){var v=ds(c,g*a);if(o.push(v),u){var C=jD(c,v,g,a,u);o=o.concat(C)}}var x=o.reduce(function(b,y){return y.getTime()<=l.getTime()?y:b},o[0]);return o.map(function(b){return m.createElement("li",{key:b.valueOf(),onClick:n.handleClick.bind(n,b),className:n.liClasses(b),ref:function(y){b===x&&(n.centerLi=y)},onKeyDown:function(y){n.handleOnKeyDown(y,b)},tabIndex:b===x?0:-1,role:"option","aria-selected":n.isSelectedTime(b)?"true":void 0,"aria-disabled":n.isDisabledTime(b)?"true":void 0},Oe(b,i,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?m.createElement(m.Fragment,null):m.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(r){n.header=r}},m.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var n=this,r,o=this.state.height;return m.createElement("div",{className:"react-datepicker__time-container ".concat(((r=this.props.todayButton)!==null&&r!==void 0?r:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),m.createElement("div",{className:"react-datepicker__time"},m.createElement("div",{className:"react-datepicker__time-box"},m.createElement("ul",{className:"react-datepicker__time-list",ref:function(i){n.list=i},style:o?{height:o}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(n,r){return r.offsetTop-(n/2-r.clientHeight/2)},t}(m.Component),x5=3,XD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.YEAR_REFS=an([],Array(r.props.yearItemNumber),!0).map(function(){return m.createRef()}),r.isDisabled=function(o){return Ft(o,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(o){return Bl(o,{excludeDates:r.props.excludeDates})},r.selectingDate=function(){var o;return(o=r.props.selectingDate)!==null&&o!==void 0?o:r.props.preSelection},r.updateFocusOnPaginate=function(o){var i=function(){var a,l;(l=(a=r.YEAR_REFS[o])===null||a===void 0?void 0:a.current)===null||l===void 0||l.focus()};window.requestAnimationFrame(i)},r.handleYearClick=function(o,i){r.props.onDayClick&&r.props.onDayClick(o,i)},r.handleYearNavigation=function(o,i){var a,l,c,u,p=r.props,f=p.date,g=p.yearItemNumber;if(!(f===void 0||g===void 0)){var v=Pn(f,g).startPeriod;r.isDisabled(i)||r.isExcluded(i)||((l=(a=r.props).setPreSelection)===null||l===void 0||l.call(a,i),o-v<0?r.updateFocusOnPaginate(g-(v-o)):o-v>=g?r.updateFocusOnPaginate(Math.abs(g-(o-v))):(u=(c=r.YEAR_REFS[o-v])===null||c===void 0?void 0:c.current)===null||u===void 0||u.focus())}},r.isSameDay=function(o,i){return ye(o,i)},r.isCurrentYear=function(o){return o===ge(Re())},r.isRangeStart=function(o){return r.props.startDate&&r.props.endDate&&Qt(Ut(Re(),o),r.props.startDate)},r.isRangeEnd=function(o){return r.props.startDate&&r.props.endDate&&Qt(Ut(Re(),o),r.props.endDate)},r.isInRange=function(o){return xi(o,r.props.startDate,r.props.endDate)},r.isInSelectingRange=function(o){var i=r.props,a=i.selectsStart,l=i.selectsEnd,c=i.selectsRange,u=i.startDate,p=i.endDate;return!(a||l||c)||!r.selectingDate()?!1:a&&p?xi(o,r.selectingDate(),p):l&&u||c&&u&&!p?xi(o,u,r.selectingDate()):!1},r.isSelectingRangeStart=function(o){var i;if(!r.isInSelectingRange(o))return!1;var a=r.props,l=a.startDate,c=a.selectsStart,u=Ut(Re(),o);return c?Qt(u,(i=r.selectingDate())!==null&&i!==void 0?i:null):Qt(u,l??null)},r.isSelectingRangeEnd=function(o){var i;if(!r.isInSelectingRange(o))return!1;var a=r.props,l=a.endDate,c=a.selectsEnd,u=a.selectsRange,p=Ut(Re(),o);return c||u?Qt(p,(i=r.selectingDate())!==null&&i!==void 0?i:null):Qt(p,l??null)},r.isKeyboardSelected=function(o){if(!(r.props.date===void 0||r.props.selected==null||r.props.preSelection==null)){var i=r.props,a=i.minDate,l=i.maxDate,c=i.excludeDates,u=i.includeDates,p=i.filterDate,f=uo(Ut(r.props.date,o)),g=(a||l||c||u||p)&&Pi(o,r.props);return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!ye(f,uo(r.props.selected))&&ye(f,uo(r.props.preSelection))&&!g}},r.onYearClick=function(o,i){var a=r.props.date;a!==void 0&&r.handleYearClick(uo(Ut(a,i)),o)},r.onYearKeyDown=function(o,i){var a,l,c=o.key,u=r.props,p=u.date,f=u.yearItemNumber,g=u.handleOnKeyDown;if(c!==J.Tab&&o.preventDefault(),!r.props.disabledKeyboardNavigation)switch(c){case J.Enter:if(r.props.selected==null)break;r.onYearClick(o,i),(l=(a=r.props).setPreSelection)===null||l===void 0||l.call(a,r.props.selected);break;case J.ArrowRight:if(r.props.preSelection==null)break;r.handleYearNavigation(i+1,Ln(r.props.preSelection,1));break;case J.ArrowLeft:if(r.props.preSelection==null)break;r.handleYearNavigation(i-1,Wr(r.props.preSelection,1));break;case J.ArrowUp:{if(p===void 0||f===void 0||r.props.preSelection==null)break;var v=Pn(p,f).startPeriod,C=x5,x=i-C;if(x<v){var b=f%C;i>=v&&i<v+b?C=b:C+=b,x=i-C}r.handleYearNavigation(x,Wr(r.props.preSelection,C));break}case J.ArrowDown:{if(p===void 0||f===void 0||r.props.preSelection==null)break;var y=Pn(p,f).endPeriod,C=x5,x=i+C;if(x>y){var b=f%C;i<=y&&i>y-b?C=b:C+=b,x=i+C}r.handleYearNavigation(x,Ln(r.props.preSelection,C));break}}g&&g(o)},r.getYearClassNames=function(o){var i=r.props,a=i.date,l=i.minDate,c=i.maxDate,u=i.selected,p=i.excludeDates,f=i.includeDates,g=i.filterDate,v=i.yearClassName;return pt("react-datepicker__year-text","react-datepicker__year-".concat(o),a?v?.(Ut(a,o)):void 0,{"react-datepicker__year-text--selected":u?o===ge(u):void 0,"react-datepicker__year-text--disabled":(l||c||p||f||g)&&Pi(o,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(o),"react-datepicker__year-text--range-start":r.isRangeStart(o),"react-datepicker__year-text--range-end":r.isRangeEnd(o),"react-datepicker__year-text--in-range":r.isInRange(o),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(o),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(o),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(o),"react-datepicker__year-text--today":r.isCurrentYear(o)})},r.getYearTabIndex=function(o){if(r.props.disabledKeyboardNavigation||r.props.preSelection==null)return"-1";var i=ge(r.props.preSelection),a=Pi(o,r.props);return o===i&&!a?"0":"-1"},r.getYearContent=function(o){return r.props.renderYearContent?r.props.renderYearContent(o):o},r}return t.prototype.render=function(){var n=this,r=[],o=this.props,i=o.date,a=o.yearItemNumber,l=o.onYearMouseEnter,c=o.onYearMouseLeave;if(i===void 0)return null;for(var u=Pn(i,a),p=u.startPeriod,f=u.endPeriod,g=function(x){r.push(m.createElement("div",{ref:v.YEAR_REFS[x-p],onClick:function(b){n.onYearClick(b,x)},onKeyDown:function(b){I3(b)&&(b.preventDefault(),b.key=J.Enter),n.onYearKeyDown(b,x)},tabIndex:Number(v.getYearTabIndex(x)),className:v.getYearClassNames(x),onMouseEnter:v.props.usePointerEvent?void 0:function(b){return l(b,x)},onPointerEnter:v.props.usePointerEvent?function(b){return l(b,x)}:void 0,onMouseLeave:v.props.usePointerEvent?void 0:function(b){return c(b,x)},onPointerLeave:v.props.usePointerEvent?function(b){return c(b,x)}:void 0,key:x,"aria-current":v.isCurrentYear(x)?"date":void 0},v.getYearContent(x)))},v=this,C=p;C<=f;C++)g(C);return m.createElement("div",{className:"react-datepicker__year"},m.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},r))},t}(m.Component);function JD(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,l=!0;n&&(l=ge(n)<=a),r&&l&&(l=ge(r)>=a),l&&o.push(a)}return o}var UD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;r.renderOptions=function(){var l=r.props.year,c=r.state.yearsList.map(function(f){return m.createElement("div",{className:l===f?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:f,onClick:r.onChange.bind(r,f),"aria-selected":l===f?"true":void 0},l===f?m.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",f)}),u=r.props.minDate?ge(r.props.minDate):null,p=r.props.maxDate?ge(r.props.maxDate):null;return(!p||!r.state.yearsList.find(function(f){return f===p}))&&c.unshift(m.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},m.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),(!u||!r.state.yearsList.find(function(f){return f===u}))&&c.push(m.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},m.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),c},r.onChange=function(l){r.props.onChange(l)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(l){var c=r.state.yearsList.map(function(u){return u+l});r.setState({yearsList:c})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var o=n.yearDropdownItemNumber,i=n.scrollableYearDropdown,a=o||(i?10:5);return r.state={yearsList:JD(r.props.year,a,r.props.minDate,r.props.maxDate)},r.dropdownRef=m.createRef(),r}return t.prototype.componentDidMount=function(){var n=this.dropdownRef.current;if(n){var r=n.children?Array.from(n.children):null,o=r?r.find(function(i){return i.ariaSelected}):null;n.scrollTop=o&&o instanceof HTMLElement?o.offsetTop+(o.clientHeight-n.clientHeight)/2:(n.scrollHeight-n.clientHeight)/2}},t.prototype.render=function(){var n=pt({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return m.createElement(q1,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(m.Component),QD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var r=n.props.minDate?ge(n.props.minDate):1900,o=n.props.maxDate?ge(n.props.maxDate):2100,i=[],a=r;a<=o;a++)i.push(m.createElement("option",{key:a,value:a},a));return i},n.onSelectChange=function(r){n.onChange(parseInt(r.target.value))},n.renderSelectMode=function(){return m.createElement("select",{value:n.props.year,className:"react-datepicker__year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(r){return m.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(o){return n.toggleDropdown(o)}},m.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),m.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},n.props.year))},n.renderDropdown=function(){return m.createElement(UD,ke({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var r=n.state.dropdownVisible,o=[n.renderReadView(!r)];return r&&o.unshift(n.renderDropdown()),o},n.onChange=function(r){n.toggleDropdown(),r!==n.props.year&&n.props.onChange(r)},n.toggleDropdown=function(r){n.setState({dropdownVisible:!n.state.dropdownVisible},function(){n.props.adjustDateOnChange&&n.handleYearChange(n.props.date,r)})},n.handleYearChange=function(r,o){var i;(i=n.onSelect)===null||i===void 0||i.call(n,r,o),n.setOpen()},n.onSelect=function(r,o){var i,a;(a=(i=n.props).onSelect)===null||a===void 0||a.call(i,r,o)},n.setOpen=function(){var r,o;(o=(r=n.props).setOpen)===null||o===void 0||o.call(r,!0)},n}return t.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return m.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},n)},t}(m.Component),KD=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],qD=function(e){var t=(e.className||"").split(/\s+/);return KD.some(function(n){return t.indexOf(n)>=0})},eA=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.monthContainer=void 0,r.handleClickOutside=function(o){r.props.onClickOutside(o)},r.setClickOutsideRef=function(){return r.containerRef.current},r.handleDropdownFocus=function(o){var i,a;qD(o.target)&&((a=(i=r.props).onDropdownFocus)===null||a===void 0||a.call(i,o))},r.getDateInView=function(){var o=r.props,i=o.preSelection,a=o.selected,l=o.openToDate,c=$3(r.props),u=_3(r.props),p=Re(),f=l||a||i;return f||(c&&lr(p,c)?c:u&&Nn(p,u)?u:p)},r.increaseMonth=function(){r.setState(function(o){var i=o.date;return{date:zt(i,1)}},function(){return r.handleMonthChange(r.state.date)})},r.decreaseMonth=function(){r.setState(function(o){var i=o.date;return{date:Kn(i,1)}},function(){return r.handleMonthChange(r.state.date)})},r.handleDayClick=function(o,i,a){r.props.onSelect(o,i,a),r.props.setPreSelection&&r.props.setPreSelection(o)},r.handleDayMouseEnter=function(o){r.setState({selectingDate:o}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(o)},r.handleMonthMouseLeave=function(){r.setState({selectingDate:void 0}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()},r.handleYearMouseEnter=function(o,i){r.setState({selectingDate:Ut(Re(),i)}),r.props.onYearMouseEnter&&r.props.onYearMouseEnter(o,i)},r.handleYearMouseLeave=function(o,i){r.props.onYearMouseLeave&&r.props.onYearMouseLeave(o,i)},r.handleYearChange=function(o){var i,a,l,c;(a=(i=r.props).onYearChange)===null||a===void 0||a.call(i,o),r.setState({isRenderAriaLiveMessage:!0}),r.props.adjustDateOnChange&&(r.props.onSelect(o),(c=(l=r.props).setOpen)===null||c===void 0||c.call(l,!0)),r.props.setPreSelection&&r.props.setPreSelection(o)},r.getEnabledPreSelectionDateForMonth=function(o){if(!Ft(o,r.props))return o;for(var i=_n(o),a=yD(o),l=d_(a,i),c=null,u=0;u<=l;u++){var p=Zt(i,u);if(!Ft(p,r.props)){c=p;break}}return c},r.handleMonthChange=function(o){var i,a,l,c=(i=r.getEnabledPreSelectionDateForMonth(o))!==null&&i!==void 0?i:o;r.handleCustomMonthChange(c),r.props.adjustDateOnChange&&(r.props.onSelect(c),(l=(a=r.props).setOpen)===null||l===void 0||l.call(a,!0)),r.props.setPreSelection&&r.props.setPreSelection(c)},r.handleCustomMonthChange=function(o){var i,a;(a=(i=r.props).onMonthChange)===null||a===void 0||a.call(i,o),r.setState({isRenderAriaLiveMessage:!0})},r.handleMonthYearChange=function(o){r.handleYearChange(o),r.handleMonthChange(o)},r.changeYear=function(o){r.setState(function(i){var a=i.date;return{date:Ut(a,Number(o))}},function(){return r.handleYearChange(r.state.date)})},r.changeMonth=function(o){r.setState(function(i){var a=i.date;return{date:It(a,Number(o))}},function(){return r.handleMonthChange(r.state.date)})},r.changeMonthYear=function(o){r.setState(function(i){var a=i.date;return{date:Ut(It(a,Et(o)),ge(o))}},function(){return r.handleMonthYearChange(r.state.date)})},r.header=function(o){o===void 0&&(o=r.state.date);var i=Hn(o,r.props.locale,r.props.calendarStartDay),a=[];return r.props.showWeekNumbers&&a.push(m.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),a.concat([0,1,2,3,4,5,6].map(function(l){var c=Zt(i,l),u=r.formatWeekday(c,r.props.locale),p=r.props.weekDayClassName?r.props.weekDayClassName(c):void 0;return m.createElement("div",{key:l,"aria-label":Oe(c,"EEEE",r.props.locale),className:pt("react-datepicker__day-name",p)},u)}))},r.formatWeekday=function(o,i){return r.props.formatWeekDay?wD(o,r.props.formatWeekDay,i):r.props.useWeekdaysShort?ED(o,i):kD(o,i)},r.decreaseYear=function(){r.setState(function(o){var i,a=o.date;return{date:Wr(a,r.props.showYearPicker?(i=r.props.yearItemNumber)!==null&&i!==void 0?i:t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.clearSelectingDate=function(){r.setState({selectingDate:void 0})},r.renderPreviousButton=function(){var o,i,a;if(!r.props.renderCustomHeader){var l=(o=r.props.monthsShown)!==null&&o!==void 0?o:t.defaultProps.monthsShown,c=r.props.showPreviousMonths?l-1:0,u=(i=r.props.monthSelectedIn)!==null&&i!==void 0?i:c,p=Kn(r.state.date,u),f;switch(!0){case r.props.showMonthYearPicker:f=u5(r.state.date,r.props);break;case r.props.showYearPicker:f=ID(r.state.date,r.props);break;case r.props.showQuarterYearPicker:f=$D(r.state.date,r.props);break;default:f=c5(p,r.props);break}if(!(!((a=r.props.forceShowMonthNavigation)!==null&&a!==void 0?a:t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&f||r.props.showTimeSelectOnly)){var g=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],v=["react-datepicker__navigation","react-datepicker__navigation--previous"],C=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(C=r.decreaseYear),f&&r.props.showDisabledMonthNavigation&&(v.push("react-datepicker__navigation--previous--disabled"),C=void 0);var x=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,b=r.props,y=b.previousMonthButtonLabel,k=y===void 0?t.defaultProps.previousMonthButtonLabel:y,w=b.previousYearButtonLabel,L=w===void 0?t.defaultProps.previousYearButtonLabel:w,E=r.props,$=E.previousMonthAriaLabel,M=$===void 0?typeof k=="string"?k:"Previous Month":$,_=E.previousYearAriaLabel,D=_===void 0?typeof L=="string"?L:"Previous Year":_;return m.createElement("button",{type:"button",className:v.join(" "),onClick:C,onKeyDown:r.props.handleOnKeyDown,"aria-label":x?D:M},m.createElement("span",{className:g.join(" ")},x?L:k))}}},r.increaseYear=function(){r.setState(function(o){var i,a=o.date;return{date:Ln(a,r.props.showYearPicker?(i=r.props.yearItemNumber)!==null&&i!==void 0?i:t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.renderNextButton=function(){var o;if(!r.props.renderCustomHeader){var i;switch(!0){case r.props.showMonthYearPicker:i=p5(r.state.date,r.props);break;case r.props.showYearPicker:i=SD(r.state.date,r.props);break;case r.props.showQuarterYearPicker:i=_D(r.state.date,r.props);break;default:i=d5(r.state.date,r.props);break}if(!(!((o=r.props.forceShowMonthNavigation)!==null&&o!==void 0?o:t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&i||r.props.showTimeSelectOnly)){var a=["react-datepicker__navigation","react-datepicker__navigation--next"],l=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"];r.props.showTimeSelect&&a.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&a.push("react-datepicker__navigation--next--with-today-button");var c=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(c=r.increaseYear),i&&r.props.showDisabledMonthNavigation&&(a.push("react-datepicker__navigation--next--disabled"),c=void 0);var u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,p=r.props,f=p.nextMonthButtonLabel,g=f===void 0?t.defaultProps.nextMonthButtonLabel:f,v=p.nextYearButtonLabel,C=v===void 0?t.defaultProps.nextYearButtonLabel:v,x=r.props,b=x.nextMonthAriaLabel,y=b===void 0?typeof g=="string"?g:"Next Month":b,k=x.nextYearAriaLabel,w=k===void 0?typeof C=="string"?C:"Next Year":k;return m.createElement("button",{type:"button",className:a.join(" "),onClick:c,onKeyDown:r.props.handleOnKeyDown,"aria-label":u?w:y},m.createElement("span",{className:l.join(" ")},u?C:g))}}},r.renderCurrentMonth=function(o){o===void 0&&(o=r.state.date);var i=["react-datepicker__current-month"];return r.props.showYearDropdown&&i.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&i.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&i.push("react-datepicker__current-month--hasMonthYearDropdown"),m.createElement("h2",{className:i.join(" ")},Oe(o,r.props.dateFormat,r.props.locale))},r.renderYearDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showYearDropdown||o))return m.createElement(QD,ke({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeYear,year:ge(r.state.date)}))},r.renderMonthDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showMonthDropdown||o))return m.createElement(WD,ke({},t.defaultProps,r.props,{month:Et(r.state.date),onChange:r.changeMonth}))},r.renderMonthYearDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showMonthYearDropdown||o))return m.createElement(zD,ke({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeMonthYear}))},r.handleTodayButtonClick=function(o){r.props.onSelect(o5(),o),r.props.setPreSelection&&r.props.setPreSelection(o5())},r.renderTodayButton=function(){if(!(!r.props.todayButton||r.props.showTimeSelectOnly))return m.createElement("div",{className:"react-datepicker__today-button",onClick:r.handleTodayButtonClick},r.props.todayButton)},r.renderDefaultHeader=function(o){var i=o.monthDate,a=o.i;return m.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(i),m.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(a!==0),r.renderMonthYearDropdown(a!==0),r.renderYearDropdown(a!==0)),m.createElement("div",{className:"react-datepicker__day-names"},r.header(i)))},r.renderCustomHeader=function(o){var i,a,l=o.monthDate,c=o.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var u=c5(r.state.date,r.props),p=d5(r.state.date,r.props),f=u5(r.state.date,r.props),g=p5(r.state.date,r.props),v=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return m.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},(a=(i=r.props).renderCustomHeader)===null||a===void 0?void 0:a.call(i,ke(ke({},r.state),{customHeaderCount:c,monthDate:l,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:u,nextMonthButtonDisabled:p,prevYearButtonDisabled:f,nextYearButtonDisabled:g})),v&&m.createElement("div",{className:"react-datepicker__day-names"},r.header(l)))},r.renderYearHeader=function(o){var i=o.monthDate,a=r.props,l=a.showYearPicker,c=a.yearItemNumber,u=c===void 0?t.defaultProps.yearItemNumber:c,p=Pn(i,u),f=p.startPeriod,g=p.endPeriod;return m.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},l?"".concat(f," - ").concat(g):ge(i))},r.renderHeader=function(o){var i=o.monthDate,a=o.i,l=a===void 0?0:a,c={monthDate:i,i:l};switch(!0){case r.props.renderCustomHeader!==void 0:return r.renderCustomHeader(c);case(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker):return r.renderYearHeader(c);default:return r.renderDefaultHeader(c)}},r.renderMonths=function(){var o,i;if(!(r.props.showTimeSelectOnly||r.props.showYearPicker)){for(var a=[],l=(o=r.props.monthsShown)!==null&&o!==void 0?o:t.defaultProps.monthsShown,c=r.props.showPreviousMonths?l-1:0,u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Ln(r.state.date,c):Kn(r.state.date,c),p=(i=r.props.monthSelectedIn)!==null&&i!==void 0?i:c,f=0;f<l;++f){var g=f-p+c,v=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Ln(u,g):zt(u,g),C="month-".concat(f),x=f<l-1,b=f>0;a.push(m.createElement("div",{key:C,ref:function(y){r.monthContainer=y??void 0},className:"react-datepicker__month-container"},r.renderHeader({monthDate:v,i:f}),m.createElement(ND,ke({},t.defaultProps,r.props,{ariaLabelPrefix:r.props.monthAriaLabelPrefix,day:v,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,handleOnMonthKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,orderInDisplay:f,selectingDate:r.state.selectingDate,monthShowsDuplicateDaysEnd:x,monthShowsDuplicateDaysStart:b}))))}return a}},r.renderYears=function(){if(!r.props.showTimeSelectOnly&&r.props.showYearPicker)return m.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader({monthDate:r.state.date}),m.createElement(XD,ke({},t.defaultProps,r.props,{selectingDate:r.state.selectingDate,date:r.state.date,onDayClick:r.handleDayClick,clearSelectingDate:r.clearSelectingDate,onYearMouseEnter:r.handleYearMouseEnter,onYearMouseLeave:r.handleYearMouseLeave})))},r.renderTimeSection=function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return m.createElement(GD,ke({},t.defaultProps,r.props,{onChange:r.props.onTimeChange,format:r.props.timeFormat,intervals:r.props.timeIntervals,monthRef:r.state.monthContainer}))},r.renderInputTimeSection=function(){var o=r.props.selected?new Date(r.props.selected):void 0,i=o&&yn(o)&&!!r.props.selected,a=i?"".concat(h5(o.getHours()),":").concat(h5(o.getMinutes())):"";if(r.props.showTimeInput)return m.createElement(FD,ke({},t.defaultProps,r.props,{date:o,timeString:a,onChange:r.props.onTimeChange}))},r.renderAriaLiveRegion=function(){var o,i=Pn(r.state.date,(o=r.props.yearItemNumber)!==null&&o!==void 0?o:t.defaultProps.yearItemNumber),a=i.startPeriod,l=i.endPeriod,c;return r.props.showYearPicker?c="".concat(a," - ").concat(l):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?c=ge(r.state.date):c="".concat(Pl(Et(r.state.date),r.props.locale)," ").concat(ge(r.state.date)),m.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&c)},r.renderChildren=function(){if(r.props.children)return m.createElement("div",{className:"react-datepicker__children-container"},r.props.children)},r.containerRef=m.createRef(),r.state={date:r.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},r}return Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:ai}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var n=this;this.props.showTimeSelect&&(this.assignMonthContainer=function(){n.setState({monthContainer:n.monthContainer})}())},t.prototype.componentDidUpdate=function(n){var r=this;if(this.props.preSelection&&(!ye(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var o=!wt(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return o&&r.handleCustomMonthChange(r.state.date)})}else this.props.openToDate&&!ye(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},t.prototype.render=function(){var n=this.props.container||fD;return m.createElement(q1,{onClickOutside:this.handleClickOutside,style:{display:"contents"},containerRef:this.containerRef,ignoreClass:this.props.outsideClickIgnoreClass},m.createElement(n,{className:pt("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))},t}(m.Component),tA=function(e){var t=e.icon,n=e.className,r=n===void 0?"":n,o=e.onClick,i="react-datepicker__calendar-icon";return typeof t=="string"?m.createElement("i",{className:"".concat(i," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:o}):m.isValidElement(t)?m.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(i," ").concat(r),onClick:function(a){typeof t.props.onClick=="function"&&t.props.onClick(a),typeof o=="function"&&o(a)}}):m.createElement("svg",{className:"".concat(i," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:o},m.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},S3=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.portalRoot=null,r.el=document.createElement("div"),r}return t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return Po.createPortal(this.props.children,this.el)},t}(m.Component),nA="[tabindex], a, button, input, select, textarea",rA=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&e.tabIndex!==-1},D3=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.getTabChildren=function(){var o;return Array.prototype.slice.call((o=r.tabLoopRef.current)===null||o===void 0?void 0:o.querySelectorAll(nA),1,-1).filter(rA)},r.handleFocusStart=function(){var o=r.getTabChildren();o&&o.length>1&&o[o.length-1].focus()},r.handleFocusEnd=function(){var o=r.getTabChildren();o&&o.length>1&&o[0].focus()},r.tabLoopRef=m.createRef(),r}return t.prototype.render=function(){var n;return((n=this.props.enableTabLoop)!==null&&n!==void 0?n:t.defaultProps.enableTabLoop)?m.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},m.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,m.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(m.Component);function oA(e){var t=function(n){var r,o=typeof n.hidePopper=="boolean"?n.hidePopper:!0,i=m.useRef(null),a=pD(ke({open:!o,whileElementsMounted:ZS,placement:n.popperPlacement,middleware:an([QS({padding:15}),US(10),KS({element:i})],(r=n.popperModifiers)!==null&&r!==void 0?r:[],!0)},n.popperProps)),l=ke(ke({},n),{hidePopper:o,popperProps:ke(ke({},a),{arrowRef:i})});return m.createElement(e,ke({},l))};return t}var iA=function(e){lt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var n=this.props,r=n.className,o=n.wrapperClassName,i=n.hidePopper,a=i===void 0?t.defaultProps.hidePopper:i,l=n.popperComponent,c=n.targetComponent,u=n.enableTabLoop,p=n.popperOnKeyDown,f=n.portalId,g=n.portalHost,v=n.popperProps,C=n.showArrow,x=void 0;if(!a){var b=pt("react-datepicker-popper",r);x=m.createElement(D3,{enableTabLoop:u},m.createElement("div",{ref:v.refs.setFloating,style:v.floatingStyles,className:b,"data-placement":v.placement,onKeyDown:p},l,C&&m.createElement(iD,{ref:v.arrowRef,context:v.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(x=m.createElement(this.props.popperContainer,{},x)),f&&!a&&(x=m.createElement(S3,{portalId:f,portalHost:g},x));var y=pt("react-datepicker-wrapper",o);return m.createElement(m.Fragment,null,m.createElement("div",{ref:v.refs.setReference,className:y},c),x)},t}(m.Component),aA=oA(iA),b5="react-datepicker-ignore-onclickoutside";function sA(e,t){return e&&t?Et(e)!==Et(t)||ge(e)!==ge(t):e!==t}var Ta="Date input not valid.",lA=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.calendar=null,r.input=null,r.getPreSelection=function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Re()},r.modifyHolidays=function(){var o;return(o=r.props.holidays)===null||o===void 0?void 0:o.reduce(function(i,a){var l=new Date(a.date);return yn(l)?an(an([],i,!0),[ke(ke({},a),{date:l})],!1):i},[])},r.calcInitialState=function(){var o,i=r.getPreSelection(),a=$3(r.props),l=_3(r.props),c=a&&lr(i,Fi(a))?a:l&&Nn(i,i5(l))?l:i;return{open:r.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:(o=r.props.selectsRange?r.props.startDate:r.props.selected)!==null&&o!==void 0?o:c,highlightDates:f5(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},r.resetHiddenStatus=function(){r.setState(ke(ke({},r.state),{wasHidden:!1}))},r.setHiddenStatus=function(){r.setState(ke(ke({},r.state),{wasHidden:!0}))},r.setHiddenStateOnVisibilityHidden=function(){document.visibilityState==="hidden"&&r.setHiddenStatus()},r.clearPreventFocusTimeout=function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)},r.safeFocus=function(){setTimeout(function(){var o,i;(i=(o=r.input)===null||o===void 0?void 0:o.focus)===null||i===void 0||i.call(o,{preventScroll:!0})},0)},r.safeBlur=function(){setTimeout(function(){var o,i;(i=(o=r.input)===null||o===void 0?void 0:o.blur)===null||i===void 0||i.call(o)},0)},r.setFocus=function(){r.safeFocus()},r.setBlur=function(){r.safeBlur(),r.cancelFocusInput()},r.setOpen=function(o,i){i===void 0&&(i=!1),r.setState({open:o,preSelection:o&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:Fa},function(){o||r.setState(function(a){return{focused:i?a.focused:!1}},function(){!i&&r.setBlur(),r.setState({inputValue:null})})})},r.inputOk=function(){return Mn(r.state.preSelection)},r.isCalendarOpen=function(){return r.props.open===void 0?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open},r.handleFocus=function(o){var i,a,l=r.state.wasHidden,c=l?r.state.open:!0;l&&r.resetHiddenStatus(),!r.state.preventFocus&&c&&((a=(i=r.props).onFocus)===null||a===void 0||a.call(i,o),!r.props.preventOpenOnFocus&&!r.props.readOnly&&r.setOpen(!0)),r.setState({focused:!0})},r.sendFocusBackToInput=function(){r.preventFocusTimeout&&r.clearPreventFocusTimeout(),r.setState({preventFocus:!0},function(){r.preventFocusTimeout=setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})})},r.cancelFocusInput=function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=void 0},r.deferFocusInput=function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout(function(){return r.setFocus()},1)},r.handleDropdownFocus=function(){r.cancelFocusInput()},r.handleBlur=function(o){var i,a;(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&((a=(i=r.props).onBlur)===null||a===void 0||a.call(i,o)),r.setState({focused:!1})},r.handleCalendarClickOutside=function(o){var i,a;r.props.inline||r.setOpen(!1),(a=(i=r.props).onClickOutside)===null||a===void 0||a.call(i,o),r.props.withPortal&&o.preventDefault()},r.handleChange=function(){for(var o,i,a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c=a[0];if(!(r.props.onChangeRaw&&(r.props.onChangeRaw.apply(r,a),!c||typeof c.isDefaultPrevented!="function"||c.isDefaultPrevented()))){r.setState({inputValue:c?.target instanceof HTMLInputElement?c.target.value:null,lastPreSelectChange:cA});var u=r.props,p=u.dateFormat,f=p===void 0?t.defaultProps.dateFormat:p,g=u.strictParsing,v=g===void 0?t.defaultProps.strictParsing:g,C=u.selectsRange,x=u.startDate,b=u.endDate,y=c?.target instanceof HTMLInputElement?c.target.value:"";if(C){var k=y.split("-",2).map(function(P){return P.trim()}),w=k[0],L=k[1],E=Aa(w??"",f,r.props.locale,v),$=Aa(L??"",f,r.props.locale,v),M=x?.getTime()!==E?.getTime(),_=b?.getTime()!==$?.getTime();if(!M&&!_||E&&Ft(E,r.props)||$&&Ft($,r.props))return;(i=(o=r.props).onChange)===null||i===void 0||i.call(o,[E,$],c)}else{var D=Aa(y,f,r.props.locale,v,r.props.minDate);r.props.showTimeSelectOnly&&r.props.selected&&D&&!ye(D,r.props.selected)&&(D=wS(r.props.selected,{hours:ln(D),minutes:cn(D),seconds:$n(D)})),(D||!y)&&r.setSelected(D,c,!0)}}},r.handleSelect=function(o,i,a){if(r.props.shouldCloseOnSelect&&!r.props.showTimeSelect&&r.sendFocusBackToInput(),r.props.onChangeRaw&&r.props.onChangeRaw(i),r.setSelected(o,i,!1,a),r.props.showDateSelect&&r.setState({isRenderAriaLiveMessage:!0}),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(o);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);var l=r.props,c=l.startDate,u=l.endDate;c&&!u&&(r.props.swapRange||!v5(o,c))&&r.setOpen(!1)}},r.setSelected=function(o,i,a,l){var c,u,p=o;if(r.props.showYearPicker){if(p!==null&&Pi(ge(p),r.props))return}else if(r.props.showMonthYearPicker){if(p!==null&&M3(p,r.props))return}else if(p!==null&&Ft(p,r.props))return;var f=r.props,g=f.onChange,v=f.selectsRange,C=f.startDate,x=f.endDate,b=f.selectsMultiple,y=f.selectedDates,k=f.minTime,w=f.swapRange;if(!Xn(r.props.selected,p)||r.props.allowSameDay||v||b)if(p!==null&&(r.props.selected&&(!a||!r.props.showTimeSelect&&!r.props.showTimeSelectOnly&&!r.props.showTimeInput)&&(p=ja(p,{hour:ln(r.props.selected),minute:cn(r.props.selected),second:$n(r.props.selected)})),!a&&(r.props.showTimeSelect||r.props.showTimeSelectOnly)&&k&&(p=ja(p,{hour:k.getHours(),minute:k.getMinutes(),second:k.getSeconds()})),r.props.inline||r.setState({preSelection:p}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:l})),v){var L=!C&&!x,E=C&&!x,$=C&&x;L?g?.([p,null],i):E&&(p===null?g?.([null,null],i):v5(p,C)?g?.(w?[p,C]:[p,null],i):g?.([C,p],i)),$&&g?.([p,null],i)}else if(b){if(p!==null)if(!y?.length)g?.([p],i);else{var M=y.some(function(D){return ye(D,p)});if(M){var _=y.filter(function(D){return!ye(D,p)});g?.(_,i)}else g?.(an(an([],y,!0),[p],!1),i)}}else g?.(p,i);a||((u=(c=r.props).onSelect)===null||u===void 0||u.call(c,p,i),r.setState({inputValue:null}))},r.setPreSelection=function(o){var i=Mn(r.props.minDate),a=Mn(r.props.maxDate),l=!0;if(o){var c=Fi(o);if(i&&a)l=po(o,r.props.minDate,r.props.maxDate);else if(i){var u=Fi(r.props.minDate);l=Nn(o,u)||Xn(c,u)}else if(a){var p=i5(r.props.maxDate);l=lr(o,p)||Xn(c,p)}}l&&r.setState({preSelection:o})},r.toggleCalendar=function(){r.setOpen(!r.state.open)},r.handleTimeChange=function(o){var i,a;if(!(r.props.selectsRange||r.props.selectsMultiple)){var l=r.props.selected?r.props.selected:r.getPreSelection(),c=r.props.selected?o:ja(l,{hour:ln(o),minute:cn(o)});r.setState({preSelection:c}),(a=(i=r.props).onChange)===null||a===void 0||a.call(i,c),r.props.shouldCloseOnSelect&&!r.props.showTimeInput&&(r.sendFocusBackToInput(),r.setOpen(!1)),r.props.showTimeInput&&r.setOpen(!0),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),r.setState({inputValue:null})}},r.onInputClick=function(){var o,i;!r.props.disabled&&!r.props.readOnly&&r.setOpen(!0),(i=(o=r.props).onInputClick)===null||i===void 0||i.call(o)},r.onInputKeyDown=function(o){var i,a,l,c,u,p;(a=(i=r.props).onKeyDown)===null||a===void 0||a.call(i,o);var f=o.key;if(!r.state.open&&!r.props.inline&&!r.props.preventOpenOnFocus){(f===J.ArrowDown||f===J.ArrowUp||f===J.Enter)&&((l=r.onInputClick)===null||l===void 0||l.call(r));return}if(r.state.open){if(f===J.ArrowDown||f===J.ArrowUp){o.preventDefault();var g=r.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":r.props.showWeekPicker&&r.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':r.props.showFullMonthYearPicker||r.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',v=((c=r.calendar)===null||c===void 0?void 0:c.containerRef.current)instanceof Element&&r.calendar.containerRef.current.querySelector(g);v instanceof HTMLElement&&v.focus({preventScroll:!0});return}var C=Re(r.state.preSelection);f===J.Enter?(o.preventDefault(),o.target.blur(),r.inputOk()&&r.state.lastPreSelectChange===Fa?(r.handleSelect(C,o),!r.props.shouldCloseOnSelect&&r.setPreSelection(C)):r.setOpen(!1)):f===J.Escape?(o.preventDefault(),o.target.blur(),r.sendFocusBackToInput(),r.setOpen(!1)):f===J.Tab&&r.setOpen(!1),r.inputOk()||(p=(u=r.props).onInputError)===null||p===void 0||p.call(u,{code:1,msg:Ta})}},r.onPortalKeyDown=function(o){var i=o.key;i===J.Escape&&(o.preventDefault(),r.setState({preventFocus:!0},function(){r.setOpen(!1),setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})}))},r.onDayKeyDown=function(o){var i,a,l,c,u,p,f=r.props,g=f.minDate,v=f.maxDate,C=f.disabledKeyboardNavigation,x=f.showWeekPicker,b=f.shouldCloseOnSelect,y=f.locale,k=f.calendarStartDay,w=f.adjustDateOnChange,L=f.inline;if((a=(i=r.props).onKeyDown)===null||a===void 0||a.call(i,o),!C){var E=o.key,$=o.shiftKey,M=Re(r.state.preSelection),_=function(H,I){var j=I;switch(H){case J.ArrowRight:j=x?a1(I,1):Zt(I,1);break;case J.ArrowLeft:j=x?J2(I):iS(I);break;case J.ArrowUp:j=J2(I);break;case J.ArrowDown:j=a1(I,1);break;case J.PageUp:j=$?Wr(I,1):Kn(I,1);break;case J.PageDown:j=$?Ln(I,1):zt(I,1);break;case J.Home:j=Hn(I,y,k);break;case J.End:j=bD(I);break}return j},D=function(H,I){for(var j=40,A=H,R=!1,W=0,Z=_(H,I);!R;){if(W>=j){Z=I;break}g&&Z<g&&(A=J.ArrowRight,Z=Ft(g,r.props)?_(A,Z):g),v&&Z>v&&(A=J.ArrowLeft,Z=Ft(v,r.props)?_(A,Z):v),Ft(Z,r.props)?((A===J.PageUp||A===J.Home)&&(A=J.ArrowRight),(A===J.PageDown||A===J.End)&&(A=J.ArrowLeft),Z=_(A,Z)):R=!0,W++}return Z};if(E===J.Enter){o.preventDefault(),r.handleSelect(M,o),!b&&r.setPreSelection(M);return}else if(E===J.Escape){o.preventDefault(),r.setOpen(!1),r.inputOk()||(c=(l=r.props).onInputError)===null||c===void 0||c.call(l,{code:1,msg:Ta});return}var P=null;switch(E){case J.ArrowLeft:case J.ArrowRight:case J.ArrowUp:case J.ArrowDown:case J.PageUp:case J.PageDown:case J.Home:case J.End:P=D(E,M);break}if(!P){(p=(u=r.props).onInputError)===null||p===void 0||p.call(u,{code:1,msg:Ta});return}if(o.preventDefault(),r.setState({lastPreSelectChange:Fa}),w&&r.setSelected(P),r.setPreSelection(P),L){var N=Et(M),F=Et(P),V=ge(M),T=ge(P);N!==F||V!==T?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}},r.onPopperKeyDown=function(o){var i=o.key;i===J.Escape&&(o.preventDefault(),r.sendFocusBackToInput())},r.onClearClick=function(o){o&&o.preventDefault&&o.preventDefault(),r.sendFocusBackToInput();var i=r.props,a=i.selectsRange,l=i.onChange;l?.(a?[null,null]:null,o),r.setState({inputValue:null})},r.clear=function(){r.onClearClick()},r.onScroll=function(o){typeof r.props.closeOnScroll=="boolean"&&r.props.closeOnScroll?(o.target===document||o.target===document.documentElement||o.target===document.body)&&r.setOpen(!1):typeof r.props.closeOnScroll=="function"&&r.props.closeOnScroll(o)&&r.setOpen(!1)},r.renderCalendar=function(){var o,i;return!r.props.inline&&!r.isCalendarOpen()?null:m.createElement(eA,ke({showMonthYearDropdown:void 0,ref:function(a){r.calendar=a}},r.props,r.state,{setOpen:r.setOpen,dateFormat:(o=r.props.dateFormatCalendar)!==null&&o!==void 0?o:t.defaultProps.dateFormatCalendar,onSelect:r.handleSelect,onClickOutside:r.handleCalendarClickOutside,holidays:AD(r.modifyHolidays()),outsideClickIgnoreClass:b5,onDropdownFocus:r.handleDropdownFocus,onTimeChange:r.handleTimeChange,className:r.props.calendarClassName,container:r.props.calendarContainer,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,setPreSelection:r.setPreSelection,dropdownMode:(i=r.props.dropdownMode)!==null&&i!==void 0?i:t.defaultProps.dropdownMode}),r.props.children)},r.renderAriaLiveRegion=function(){var o=r.props,i=o.dateFormat,a=i===void 0?t.defaultProps.dateFormat:i,l=o.locale,c=r.props.showTimeInput||r.props.showTimeSelect,u=c?"PPPPp":"PPPP",p;return r.props.selectsRange?p="Selected start date: ".concat(Tt(r.props.startDate,{dateFormat:u,locale:l}),". ").concat(r.props.endDate?"End date: "+Tt(r.props.endDate,{dateFormat:u,locale:l}):""):r.props.showTimeSelectOnly?p="Selected time: ".concat(Tt(r.props.selected,{dateFormat:a,locale:l})):r.props.showYearPicker?p="Selected year: ".concat(Tt(r.props.selected,{dateFormat:"yyyy",locale:l})):r.props.showMonthYearPicker?p="Selected month: ".concat(Tt(r.props.selected,{dateFormat:"MMMM yyyy",locale:l})):r.props.showQuarterYearPicker?p="Selected quarter: ".concat(Tt(r.props.selected,{dateFormat:"yyyy, QQQ",locale:l})):p="Selected date: ".concat(Tt(r.props.selected,{dateFormat:u,locale:l})),m.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},p)},r.renderDateInput=function(){var o,i,a,l=pt(r.props.className,(o={},o[b5]=r.state.open,o)),c=r.props.customInput||m.createElement("input",{type:"text"}),u=r.props.customInputRef||"ref",p=r.props,f=p.dateFormat,g=f===void 0?t.defaultProps.dateFormat:f,v=p.locale,C=typeof r.props.value=="string"?r.props.value:typeof r.state.inputValue=="string"?r.state.inputValue:r.props.selectsRange?gD(r.props.startDate,r.props.endDate,{dateFormat:g,locale:v}):r.props.selectsMultiple?vD((a=r.props.selectedDates)!==null&&a!==void 0?a:[],{dateFormat:g,locale:v}):Tt(r.props.selected,{dateFormat:g,locale:v});return m.cloneElement(c,(i={},i[u]=function(x){r.input=x},i.value=C,i.onBlur=r.handleBlur,i.onChange=r.handleChange,i.onClick=r.onInputClick,i.onFocus=r.handleFocus,i.onKeyDown=r.onInputKeyDown,i.id=r.props.id,i.name=r.props.name,i.form=r.props.form,i.autoFocus=r.props.autoFocus,i.placeholder=r.props.placeholderText,i.disabled=r.props.disabled,i.autoComplete=r.props.autoComplete,i.className=pt(c.props.className,l),i.title=r.props.title,i.readOnly=r.props.readOnly,i.required=r.props.required,i.tabIndex=r.props.tabIndex,i["aria-describedby"]=r.props.ariaDescribedBy,i["aria-invalid"]=r.props.ariaInvalid,i["aria-labelledby"]=r.props.ariaLabelledBy,i["aria-required"]=r.props.ariaRequired,i))},r.renderClearButton=function(){var o=r.props,i=o.isClearable,a=o.disabled,l=o.selected,c=o.startDate,u=o.endDate,p=o.clearButtonTitle,f=o.clearButtonClassName,g=f===void 0?"":f,v=o.ariaLabelClose,C=v===void 0?"Close":v,x=o.selectedDates;return i&&(l!=null||c!=null||u!=null||x?.length)?m.createElement("button",{type:"button",className:pt("react-datepicker__close-icon",g,{"react-datepicker__close-icon--disabled":a}),disabled:a,"aria-label":C,onClick:r.onClearClick,title:p,tabIndex:-1}):null},r.state=r.calcInitialState(),r.preventFocusTimeout=void 0,r}return Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:ai,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(n,r){var o,i,a,l;n.inline&&sA(n.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&n.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),n.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:f5(this.props.highlightDates)}),!r.focused&&!Xn(n.selected,this.props.selected)&&this.setState({inputValue:null}),r.open!==this.state.open&&(r.open===!1&&this.state.open===!0&&((i=(o=this.props).onCalendarOpen)===null||i===void 0||i.call(o)),r.open===!0&&this.state.open===!1&&((l=(a=this.props).onCalendarClose)===null||l===void 0||l.call(a)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var n=this.props,r=n.showIcon,o=n.icon,i=n.calendarIconClassname,a=n.calendarIconClassName,l=n.toggleCalendarOnIconClick,c=this.state.open;return i&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),m.createElement("div",{className:"react-datepicker__input-container".concat(r?" react-datepicker__view-calendar-icon":"")},r&&m.createElement(tA,ke({icon:o,className:pt(a,!a&&i,c&&"react-datepicker-ignore-onclickoutside")},l?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var n=this.renderCalendar();if(this.props.inline)return n;if(this.props.withPortal){var r=this.state.open?m.createElement(D3,{enableTabLoop:this.props.enableTabLoop},m.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},n)):null;return this.state.open&&this.props.portalId&&(r=m.createElement(S3,ke({portalId:this.props.portalId},this.props),r)),m.createElement("div",null,this.renderInputContainer(),r)}return m.createElement(aA,ke({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},t}(m.Component),cA="input",Fa="navigate";const y5=e=>d.createElement("svg",{width:8,height:14,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.88318 12.8082L6.88904 12.8023C7.17609 12.5153 7.17609 12.0433 6.88904 11.7562L2.54237 7.40958C2.31609 7.18331 2.31609 6.81527 2.54237 6.589L6.88904 2.24233C7.17609 1.95527 7.17609 1.48331 6.88904 1.19625C6.60198 0.909192 6.13002 0.909192 5.84296 1.19625L1.49629 5.54292C0.695898 6.34331 0.695898 7.65527 1.49629 8.45566L5.84296 12.8023C5.99034 12.9497 6.17911 13.0193 6.366 13.0193C6.55994 13.0193 6.74372 12.9383 6.88318 12.8082Z",fill:"#898989"})),dA=h.styled.div`
|
|
6668
|
+
*/var gs=function(t,n){return gs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},gs(t,n)};function lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gs(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ke=function(){return ke=Object.assign||function(n){for(var r,o=1,i=arguments.length;o<i;o++){r=arguments[o];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])}return n},ke.apply(this,arguments)};function sn(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var fD=function(e){var t=e.showTimeSelectOnly,n=t===void 0?!1:t,r=e.showTime,o=r===void 0?!1:r,i=e.className,a=e.children,l=n?"Choose Time":"Choose Date".concat(o?" and Time":"");return m.createElement("div",{className:i,role:"dialog","aria-label":l,"aria-modal":"true"},a)},hD=function(e,t){var n=m.useRef(null),r=m.useRef(e);r.current=e;var o=m.useCallback(function(i){var a;n.current&&!n.current.contains(i.target)&&(t&&i.target instanceof HTMLElement&&i.target.classList.contains(t)||(a=r.current)===null||a===void 0||a.call(r,i))},[t]);return m.useEffect(function(){return document.addEventListener("mousedown",o),function(){document.removeEventListener("mousedown",o)}},[o]),n},q1=function(e){var t=e.children,n=e.onClickOutside,r=e.className,o=e.containerRef,i=e.style,a=e.ignoreClass,l=hD(n,a);return m.createElement("div",{className:r,style:i,ref:function(c){l.current=c,o&&(o.current=c)}},t)},J;(function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"})(J||(J={}));function Fl(){var e=typeof window<"u"?window:globalThis;return e}var ai=12,mD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Re(e){if(e==null)return new Date;var t=typeof e=="string"?aS(e):K(e);return yn(t)?t:new Date}function Aa(e,t,n,r,o){var i,a=null,l=qn(n)||qn(vo()),c=!0;if(Array.isArray(t))return t.forEach(function(p){var f=_a(e,p,new Date,{locale:l,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});r&&(c=yn(f,o)&&e===Oe(f,p,n)),yn(f,o)&&c&&(a=f)}),a;if(a=_a(e,t,new Date,{locale:l,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),r)c=yn(a)&&e===Oe(a,t,n);else if(!yn(a)){var u=((i=t.match(mD))!==null&&i!==void 0?i:[]).map(function(p){var f=p[0];if(f==="p"||f==="P"){var g=u1[f];return l?g(p,l.formatLong):f}return p}).join("");e.length>0&&(a=_a(e,u.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),yn(a)||(a=new Date(e))}return yn(a)&&c?a:null}function yn(e,t){return s1(e)&&!lr(e,t??new Date("1/1/1800"))}function Oe(e,t,n){if(n==="en")return G2(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?qn(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&vo()&&qn(vo())&&(r=qn(vo())),G2(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Tt(e,t){var n=t.dateFormat,r=t.locale,o=Array.isArray(n)&&n.length>0?n[0]:n;return e&&Oe(e,o,r)||""}function gD(e,t,n){if(!e)return"";var r=Tt(e,n),o=t?Tt(t,n):"";return"".concat(r," - ").concat(o)}function vD(e,t){if(!e?.length)return"";var n=e[0]?Tt(e[0],t):"";if(e.length===1)return n;if(e.length===2&&e[1]){var r=Tt(e[1],t);return"".concat(n,", ").concat(r)}var o=e.length-1;return"".concat(n," (+").concat(o,")")}function ja(e,t){var n=t.hour,r=n===void 0?0:n,o=t.minute,i=o===void 0?0:o,a=t.second,l=a===void 0?0:a;return Ai(ji(Ri(e,l),i),r)}function CD(e){return _l(e)}function xD(e,t){return Oe(e,"ddd",t)}function Fi(e){return sr(e)}function Hn(e,t,n){var r=qn(t||vo());return An(e,{locale:r,weekStartsOn:n})}function _n(e){return t3(e)}function uo(e){return J1(e)}function r5(e){return us(e)}function o5(){return sr(Re())}function i5(e){return q4(e)}function bD(e){return u_(e)}function yD(e){return e3(e)}function Kt(e,t){return e&&t?oS(e,t):!e&&!t}function wt(e,t){return e&&t?nS(e,t):!e&&!t}function g1(e,t){return e&&t?rS(e,t):!e&&!t}function ye(e,t){return e&&t?c_(e,t):!e&&!t}function Xn(e,t){return e&&t?sI(e,t):!e&&!t}function po(e,t,n){var r,o=sr(t),i=q4(n);try{r=Do(e,{start:o,end:i})}catch{r=!1}return r}function E3(e,t){var n=Fl();n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t}function vo(){var e=Fl();return e.__localeId__}function qn(e){if(typeof e=="string"){var t=Fl();return t.__localeData__?t.__localeData__[e]:void 0}else return e}function wD(e,t,n){return t(Oe(e,"EEEE",n))}function kD(e,t){return Oe(e,"EEEEEE",t)}function ED(e,t){return Oe(e,"EEE",t)}function Pl(e,t){return Oe(It(Re(),e),"LLLL",t)}function L3(e,t){return Oe(It(Re(),e),"LLL",t)}function LD(e,t){return Oe(kr(Re(),e),"QQQ",t)}function Ft(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.excludeDateIntervals,l=n.includeDates,c=n.includeDateIntervals,u=n.filterDate;return si(e,{minDate:r,maxDate:o})||i&&i.some(function(p){return p instanceof Date?ye(e,p):ye(e,p.date)})||a&&a.some(function(p){var f=p.start,g=p.end;return Do(e,{start:f,end:g})})||l&&!l.some(function(p){return ye(e,p)})||c&&!c.some(function(p){var f=p.start,g=p.end;return Do(e,{start:f,end:g})})||u&&!u(Re(e))||!1}function Bl(e,t){var n=t===void 0?{}:t,r=n.excludeDates,o=n.excludeDateIntervals;return o&&o.length>0?o.some(function(i){var a=i.start,l=i.end;return Do(e,{start:a,end:l})}):r&&r.some(function(i){var a;return i instanceof Date?ye(e,i):ye(e,(a=i.date)!==null&&a!==void 0?a:new Date)})||!1}function M3(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,l=n.filterDate;return si(e,{minDate:r?t3(r):void 0,maxDate:o?e3(o):void 0})||i?.some(function(c){return wt(e,c instanceof Date?c:c.date)})||a&&!a.some(function(c){return wt(e,c)})||l&&!l(Re(e))||!1}function vi(e,t,n,r){var o=ge(e),i=Et(e),a=ge(t),l=Et(t),c=ge(r);return o===a&&o===c?i<=n&&n<=l:o<a?c===o&&i<=n||c===a&&l>=n||c<a&&c>o:!1}function MD(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates;return si(e,{minDate:r,maxDate:o})||i&&i.some(function(l){return wt(l instanceof Date?l:l.date,e)})||a&&!a.some(function(l){return wt(l,e)})||!1}function Ci(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,l=n.filterDate;return si(e,{minDate:r,maxDate:o})||i?.some(function(c){return g1(e,c instanceof Date?c:c.date)})||a&&!a.some(function(c){return g1(e,c)})||l&&!l(Re(e))||!1}function xi(e,t,n){if(!t||!n||!s1(t)||!s1(n))return!1;var r=ge(t),o=ge(n);return r<=e&&o>=e}function Pi(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,l=n.filterDate,c=new Date(e,0,1);return si(c,{minDate:r?J1(r):void 0,maxDate:o?n3(o):void 0})||i?.some(function(u){return Kt(c,u instanceof Date?u:u.date)})||a&&!a.some(function(u){return Kt(c,u)})||l&&!l(Re(c))||!1}function bi(e,t,n,r){var o=ge(e),i=Qn(e),a=ge(t),l=Qn(t),c=ge(r);return o===a&&o===c?i<=n&&n<=l:o<a?c===o&&i<=n||c===a&&l>=n||c<a&&c>o:!1}function si(e,t){var n,r=t===void 0?{}:t,o=r.minDate,i=r.maxDate;return(n=o&&Or(e,o)<0||i&&Or(e,i)>0)!==null&&n!==void 0?n:!1}function a5(e,t){return t.some(function(n){return cn(n)===cn(e)&&dn(n)===dn(e)&&$n(n)===$n(e)})}function s5(e,t){var n=t===void 0?{}:t,r=n.excludeTimes,o=n.includeTimes,i=n.filterTime;return r&&a5(e,r)||o&&!a5(e,o)||i&&!i(e)||!1}function l5(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o=Re();o=Ai(o,cn(e)),o=ji(o,dn(e)),o=Ri(o,$n(e));var i=Re();i=Ai(i,cn(n)),i=ji(i,dn(n)),i=Ri(i,$n(n));var a=Re();a=Ai(a,cn(r)),a=ji(a,dn(r)),a=Ri(a,$n(r));var l;try{l=!Do(o,{start:i,end:a})}catch{l=!1}return l}function c5(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=Kn(e,1);return r&&l1(r,i)>0||o&&o.every(function(a){return l1(a,i)>0})||!1}function d5(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=Gt(e,1);return r&&l1(i,r)>0||o&&o.every(function(a){return l1(i,a)>0})||!1}function $D(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=J1(e),a=f3(i);return r&&c1(r,a)>0||o&&o.every(function(l){return c1(l,a)>0})||!1}function _D(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=n3(e),a=$l(i,1);return r&&c1(a,r)>0||o&&o.every(function(l){return c1(a,l)>0})||!1}function u5(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=Wr(e,1);return r&&d1(r,i)>0||o&&o.every(function(a){return d1(a,i)>0})||!1}function ID(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.yearItemNumber,i=o===void 0?ai:o,a=uo(Wr(e,i)),l=Pn(a,i).endPeriod,c=r&&ge(r);return c&&c>l||!1}function p5(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=Ln(e,1);return r&&d1(i,r)>0||o&&o.every(function(a){return d1(i,a)>0})||!1}function SD(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.yearItemNumber,i=o===void 0?ai:o,a=Ln(e,i),l=Pn(a,i).startPeriod,c=r&&ge(r);return c&&c<l||!1}function $3(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter(function(o){return Or(o,t)>=0});return N2(r)}else return n?N2(n):t}function _3(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(o){return Or(o,t)<=0});return V2(r)}else return n?V2(n):t}function f5(e,t){var n;e===void 0&&(e=[]),t===void 0&&(t="react-datepicker__day--highlighted");for(var r=new Map,o=0,i=e.length;o<i;o++){var a=e[o];if(Mn(a)){var l=Oe(a,"MM.dd.yyyy"),c=r.get(l)||[];c.includes(t)||(c.push(t),r.set(l,c))}else if(typeof a=="object"){var u=Object.keys(a),p=(n=u[0])!==null&&n!==void 0?n:"",f=a[p];if(typeof p=="string"&&Array.isArray(f))for(var g=0,v=f.length;g<v;g++){var C=f[g];if(C){var l=Oe(C,"MM.dd.yyyy"),c=r.get(l)||[];c.includes(p)||(c.push(p),r.set(l,c))}}}}return r}function DD(e,t){return e.length!==t.length?!1:e.every(function(n,r){return n===t[r]})}function AD(e,t){e===void 0&&(e=[]),t===void 0&&(t="react-datepicker__day--holidays");var n=new Map;return e.forEach(function(r){var o=r.date,i=r.holidayName;if(Mn(o)){var a=Oe(o,"MM.dd.yyyy"),l=n.get(a)||{className:"",holidayNames:[]};if(!("className"in l&&l.className===t&&DD(l.holidayNames,[i]))){l.className=t;var c=l.holidayNames;l.holidayNames=c?sn(sn([],c,!0),[i],!1):[i],n.set(a,l)}}}),n}function jD(e,t,n,r,o){for(var i=o.length,a=[],l=0;l<i;l++){var c=e,u=o[l];u&&(c=i_(c,cn(u)),c=ds(c,dn(u)),c=l_(c,$n(u)));var p=ds(e,(n+1)*r);Nn(c,t)&&lr(c,p)&&u!=null&&a.push(u)}return a}function h5(e){return e<10?"0".concat(e):"".concat(e)}function Pn(e,t){t===void 0&&(t=ai);var n=Math.ceil(ge(e)/t)*t,r=n-(t-1);return{startPeriod:r,endPeriod:n}}function RD(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}function m5(e){var t=e.getSeconds(),n=e.getMilliseconds();return K(e.getTime()-t*1e3-n)}function TD(e,t){return m5(e).getTime()===m5(t).getTime()}function g5(e){if(!Mn(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function v5(e,t){if(!Mn(e)||!Mn(t))throw new Error("Invalid date received");var n=g5(e),r=g5(t);return lr(n,r)}function I3(e){return e.key===J.Space}var FD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.inputRef=m.createRef(),r.onTimeChange=function(o){var i,a;r.setState({time:o});var l=r.props.date,c=l instanceof Date&&!isNaN(+l),u=c?l:new Date;if(o?.includes(":")){var p=o.split(":"),f=p[0],g=p[1];u.setHours(Number(f)),u.setMinutes(Number(g))}(a=(i=r.props).onChange)===null||a===void 0||a.call(i,u)},r.renderTimeInput=function(){var o=r.state.time,i=r.props,a=i.date,l=i.timeString,c=i.customTimeInput;return c?m.cloneElement(c,{date:a,value:o,onChange:r.onTimeChange}):m.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:r.inputRef,onClick:function(){var u;(u=r.inputRef.current)===null||u===void 0||u.focus()},required:!0,value:o,onChange:function(u){r.onTimeChange(u.target.value||l)}})},r.state={time:r.props.timeString},r}return t.getDerivedStateFromProps=function(n,r){return n.timeString!==r.time?{time:n.timeString}:null},t.prototype.render=function(){return m.createElement("div",{className:"react-datepicker__input-time-container"},m.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),m.createElement("div",{className:"react-datepicker-time__input-container"},m.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(m.Component),PD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.dayEl=m.createRef(),n.handleClick=function(r){!n.isDisabled()&&n.props.onClick&&n.props.onClick(r)},n.handleMouseEnter=function(r){!n.isDisabled()&&n.props.onMouseEnter&&n.props.onMouseEnter(r)},n.handleOnKeyDown=function(r){var o,i,a=r.key;a===J.Space&&(r.preventDefault(),r.key=J.Enter),(i=(o=n.props).handleOnKeyDown)===null||i===void 0||i.call(o,r)},n.isSameDay=function(r){return ye(n.props.day,r)},n.isKeyboardSelected=function(){var r;if(n.props.disabledKeyboardNavigation)return!1;var o=n.props.selectsMultiple?(r=n.props.selectedDates)===null||r===void 0?void 0:r.some(function(a){return n.isSameDayOrWeek(a)}):n.isSameDayOrWeek(n.props.selected),i=n.props.preSelection&&n.isDisabled(n.props.preSelection);return!o&&n.isSameDayOrWeek(n.props.preSelection)&&!i},n.isDisabled=function(r){return r===void 0&&(r=n.props.day),Ft(r,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(){return Bl(n.props.day,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.isStartOfWeek=function(){return ye(n.props.day,Hn(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(r){return n.props.showWeekPicker&&ye(r,Hn(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameDayOrWeek=function(r){return n.isSameDay(r)||n.isSameWeek(r)},n.getHighLightedClass=function(){var r=n.props,o=r.day,i=r.highlightDates;if(!i)return!1;var a=Oe(o,"MM.dd.yyyy");return i.get(a)},n.getHolidaysClass=function(){var r,o=n.props,i=o.day,a=o.holidays;if(!a)return[void 0];var l=Oe(i,"MM.dd.yyyy");return a.has(l)?[(r=a.get(l))===null||r===void 0?void 0:r.className]:[void 0]},n.isInRange=function(){var r=n.props,o=r.day,i=r.startDate,a=r.endDate;return!i||!a?!1:po(o,i,a)},n.isInSelectingRange=function(){var r,o=n.props,i=o.day,a=o.selectsStart,l=o.selectsEnd,c=o.selectsRange,u=o.selectsDisabledDaysInRange,p=o.startDate,f=o.endDate,g=(r=n.props.selectingDate)!==null&&r!==void 0?r:n.props.preSelection;return!(a||l||c)||!g||!u&&n.isDisabled()?!1:a&&f&&(lr(g,f)||Xn(g,f))?po(i,g,f):l&&p&&(Nn(g,p)||Xn(g,p))||c&&p&&!f&&(Nn(g,p)||Xn(g,p))?po(i,p,g):!1},n.isSelectingRangeStart=function(){var r;if(!n.isInSelectingRange())return!1;var o=n.props,i=o.day,a=o.startDate,l=o.selectsStart,c=(r=n.props.selectingDate)!==null&&r!==void 0?r:n.props.preSelection;return l?ye(i,c):ye(i,a)},n.isSelectingRangeEnd=function(){var r;if(!n.isInSelectingRange())return!1;var o=n.props,i=o.day,a=o.endDate,l=o.selectsEnd,c=o.selectsRange,u=(r=n.props.selectingDate)!==null&&r!==void 0?r:n.props.preSelection;return l||c?ye(i,u):ye(i,a)},n.isRangeStart=function(){var r=n.props,o=r.day,i=r.startDate,a=r.endDate;return!i||!a?!1:ye(i,o)},n.isRangeEnd=function(){var r=n.props,o=r.day,i=r.startDate,a=r.endDate;return!i||!a?!1:ye(a,o)},n.isWeekend=function(){var r=rI(n.props.day);return r===0||r===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Et(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Et(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(Re())},n.isSelected=function(){var r;return n.props.selectsMultiple?(r=n.props.selectedDates)===null||r===void 0?void 0:r.some(function(o){return n.isSameDayOrWeek(o)}):n.isSameDayOrWeek(n.props.selected)},n.getClassNames=function(r){var o=n.props.dayClassName?n.props.dayClassName(r):void 0;return pt("react-datepicker__day",o,"react-datepicker__day--"+xD(n.props.day),{"react-datepicker__day--disabled":n.isDisabled(),"react-datepicker__day--excluded":n.isExcluded(),"react-datepicker__day--selected":n.isSelected(),"react-datepicker__day--keyboard-selected":n.isKeyboardSelected(),"react-datepicker__day--range-start":n.isRangeStart(),"react-datepicker__day--range-end":n.isRangeEnd(),"react-datepicker__day--in-range":n.isInRange(),"react-datepicker__day--in-selecting-range":n.isInSelectingRange(),"react-datepicker__day--selecting-range-start":n.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":n.isSelectingRangeEnd(),"react-datepicker__day--today":n.isCurrentDay(),"react-datepicker__day--weekend":n.isWeekend(),"react-datepicker__day--outside-month":n.isAfterMonth()||n.isBeforeMonth()},n.getHighLightedClass(),n.getHolidaysClass())},n.getAriaLabel=function(){var r=n.props,o=r.day,i=r.ariaLabelPrefixWhenEnabled,a=i===void 0?"Choose":i,l=r.ariaLabelPrefixWhenDisabled,c=l===void 0?"Not available":l,u=n.isDisabled()||n.isExcluded()?c:a;return"".concat(u," ").concat(Oe(o,"PPPP",n.props.locale))},n.getTitle=function(){var r=n.props,o=r.day,i=r.holidays,a=i===void 0?new Map:i,l=r.excludeDates,c=Oe(o,"MM.dd.yyyy"),u=[];return a.has(c)&&u.push.apply(u,a.get(c).holidayNames),n.isExcluded()&&u.push(l?.filter(function(p){return p instanceof Date?ye(p,o):ye(p?.date,o)}).map(function(p){if(!(p instanceof Date))return p?.message})),u.join(", ")},n.getTabIndex=function(){var r=n.props.selected,o=n.props.preSelection,i=!(n.props.showWeekPicker&&(n.props.showWeekNumber||!n.isStartOfWeek()))&&(n.isKeyboardSelected()||n.isSameDay(r)&&ye(o,r))?0:-1;return i},n.handleFocusDay=function(){var r;n.shouldFocusDay()&&((r=n.dayEl.current)===null||r===void 0||r.focus({preventScroll:!0}))},n.renderDayContents=function(){return n.props.monthShowsDuplicateDaysEnd&&n.isAfterMonth()||n.props.monthShowsDuplicateDaysStart&&n.isBeforeMonth()?null:n.props.renderDayContents?n.props.renderDayContents(X2(n.props.day),n.props.day):X2(n.props.day)},n.render=function(){return m.createElement("div",{ref:n.dayEl,className:n.getClassNames(n.props.day),onKeyDown:n.handleOnKeyDown,onClick:n.handleClick,onMouseEnter:n.props.usePointerEvent?void 0:n.handleMouseEnter,onPointerEnter:n.props.usePointerEvent?n.handleMouseEnter:void 0,tabIndex:n.getTabIndex(),"aria-label":n.getAriaLabel(),role:"option",title:n.getTitle(),"aria-disabled":n.isDisabled(),"aria-current":n.isCurrentDay()?"date":void 0,"aria-selected":n.isSelected()||n.isInRange()},n.renderDayContents(),n.getTitle()!==""&&m.createElement("span",{className:"overlay"},n.getTitle()))},n}return t.prototype.componentDidMount=function(){this.handleFocusDay()},t.prototype.componentDidUpdate=function(){this.handleFocusDay()},t.prototype.shouldFocusDay=function(){var n=!1;return this.getTabIndex()===0&&this.isSameDay(this.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(n=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(n=!1),this.isDayActiveElement()&&(n=!0),this.isDuplicateDay()&&(n=!1)),n},t.prototype.isDayActiveElement=function(){var n,r,o;return((r=(n=this.props.containerRef)===null||n===void 0?void 0:n.current)===null||r===void 0?void 0:r.contains(document.activeElement))&&((o=document.activeElement)===null||o===void 0?void 0:o.classList.contains("react-datepicker__day"))},t.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},t}(m.Component),BD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.weekNumberEl=m.createRef(),n.handleClick=function(r){n.props.onClick&&n.props.onClick(r)},n.handleOnKeyDown=function(r){var o,i,a=r.key;a===J.Space&&(r.preventDefault(),r.key=J.Enter),(i=(o=n.props).handleOnKeyDown)===null||i===void 0||i.call(o,r)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!ye(n.props.date,n.props.selected)&&ye(n.props.date,n.props.preSelection)},n.getTabIndex=function(){return n.props.showWeekPicker&&n.props.showWeekNumber&&(n.isKeyboardSelected()||ye(n.props.date,n.props.selected)&&ye(n.props.preSelection,n.props.selected))?0:-1},n.handleFocusWeekNumber=function(r){var o=!1;n.getTabIndex()===0&&!r?.isInputFocused&&ye(n.props.date,n.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(o=!0),n.props.inline&&!n.props.shouldFocusDayInline&&(o=!1),n.props.containerRef&&n.props.containerRef.current&&n.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(o=!0)),o&&n.weekNumberEl.current&&n.weekNumberEl.current.focus({preventScroll:!0})},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},t.prototype.componentDidUpdate=function(n){this.handleFocusWeekNumber(n)},t.prototype.render=function(){var n=this.props,r=n.weekNumber,o=n.isWeekDisabled,i=n.ariaLabelPrefix,a=i===void 0?t.defaultProps.ariaLabelPrefix:i,l=n.onClick,c={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!l&&!o,"react-datepicker__week-number--selected":!!l&&ye(this.props.date,this.props.selected)};return m.createElement("div",{ref:this.weekNumberEl,className:pt(c),"aria-label":"".concat(a," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},r)},t}(m.Component),HD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.isDisabled=function(r){return Ft(r,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.handleDayClick=function(r,o){n.props.onDayClick&&n.props.onDayClick(r,o)},n.handleDayMouseEnter=function(r){n.props.onDayMouseEnter&&n.props.onDayMouseEnter(r)},n.handleWeekClick=function(r,o,i){for(var a,l,c,u=new Date(r),p=0;p<7;p++){var f=new Date(r);f.setDate(f.getDate()+p);var g=!n.isDisabled(f);if(g){u=f;break}}typeof n.props.onWeekSelect=="function"&&n.props.onWeekSelect(u,o,i),n.props.showWeekPicker&&n.handleDayClick(u,i),((a=n.props.shouldCloseOnSelect)!==null&&a!==void 0?a:t.defaultProps.shouldCloseOnSelect)&&((c=(l=n.props).setOpen)===null||c===void 0||c.call(l,!1))},n.formatWeekNumber=function(r){return n.props.formatWeekNumber?n.props.formatWeekNumber(r):CD(r)},n.isWeekDisabled=function(){for(var r=n.startOfWeek(),o=Yt(r,6),i=new Date(r);i<=o;){if(!n.isDisabled(i))return!1;i=Yt(i,1)}return!0},n.renderDays=function(){var r=n.startOfWeek(),o=[],i=n.formatWeekNumber(r);if(n.props.showWeekNumber){var a=n.props.onWeekSelect||n.props.showWeekPicker?n.handleWeekClick.bind(n,r,i):void 0;o.push(m.createElement(BD,ke({key:"W"},t.defaultProps,n.props,{weekNumber:i,isWeekDisabled:n.isWeekDisabled(),date:r,onClick:a})))}return o.concat([0,1,2,3,4,5,6].map(function(l){var c=Yt(r,l);return m.createElement(PD,ke({},t.defaultProps,n.props,{ariaLabelPrefixWhenEnabled:n.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:n.props.disabledDayAriaLabelPrefix,key:c.valueOf(),day:c,onClick:n.handleDayClick.bind(n,c),onMouseEnter:n.handleDayMouseEnter.bind(n,c)}))}))},n.startOfWeek=function(){return Hn(n.props.day,n.props.locale,n.props.calendarStartDay)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!ye(n.startOfWeek(),n.props.selected)&&ye(n.startOfWeek(),n.props.preSelection)},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var n={"react-datepicker__week":!0,"react-datepicker__week--selected":ye(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return m.createElement("div",{className:pt(n)},this.renderDays())},t}(m.Component),ao,VD=6,Dr={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},Ra=(ao={},ao[Dr.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},ao[Dr.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},ao[Dr.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},ao),yi=1;function C5(e,t){return e?Dr.FOUR_COLUMNS:t?Dr.TWO_COLUMNS:Dr.THREE_COLUMNS}var ND=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.MONTH_REFS=sn([],Array(12),!0).map(function(){return m.createRef()}),n.QUARTER_REFS=sn([],Array(4),!0).map(function(){return m.createRef()}),n.isDisabled=function(r){return Ft(r,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(r){return Bl(r,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.handleDayClick=function(r,o){var i,a;(a=(i=n.props).onDayClick)===null||a===void 0||a.call(i,r,o,n.props.orderInDisplay)},n.handleDayMouseEnter=function(r){var o,i;(i=(o=n.props).onDayMouseEnter)===null||i===void 0||i.call(o,r)},n.handleMouseLeave=function(){var r,o;(o=(r=n.props).onMouseLeave)===null||o===void 0||o.call(r)},n.isRangeStartMonth=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:wt(It(i,r),a)},n.isRangeStartQuarter=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:g1(kr(i,r),a)},n.isRangeEndMonth=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:wt(It(i,r),l)},n.isRangeEndQuarter=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate;return!a||!l?!1:g1(kr(i,r),l)},n.isInSelectingRangeMonth=function(r){var o,i=n.props,a=i.day,l=i.selectsStart,c=i.selectsEnd,u=i.selectsRange,p=i.startDate,f=i.endDate,g=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return!(l||c||u)||!g?!1:l&&f?vi(g,f,r,a):c&&p||u&&p&&!f?vi(p,g,r,a):!1},n.isSelectingMonthRangeStart=function(r){var o;if(!n.isInSelectingRangeMonth(r))return!1;var i=n.props,a=i.day,l=i.startDate,c=i.selectsStart,u=It(a,r),p=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return c?wt(u,p):wt(u,l)},n.isSelectingMonthRangeEnd=function(r){var o;if(!n.isInSelectingRangeMonth(r))return!1;var i=n.props,a=i.day,l=i.endDate,c=i.selectsEnd,u=i.selectsRange,p=It(a,r),f=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return c||u?wt(p,f):wt(p,l)},n.isInSelectingRangeQuarter=function(r){var o,i=n.props,a=i.day,l=i.selectsStart,c=i.selectsEnd,u=i.selectsRange,p=i.startDate,f=i.endDate,g=(o=n.props.selectingDate)!==null&&o!==void 0?o:n.props.preSelection;return!(l||c||u)||!g?!1:l&&f?bi(g,f,r,a):c&&p||u&&p&&!f?bi(p,g,r,a):!1},n.isWeekInMonth=function(r){var o=n.props.day,i=Yt(r,6);return wt(r,o)||wt(i,o)},n.isCurrentMonth=function(r,o){return ge(r)===ge(Re())&&o===Et(Re())},n.isCurrentQuarter=function(r,o){return ge(r)===ge(Re())&&o===Qn(Re())},n.isSelectedMonth=function(r,o,i){return Et(i)===o&&ge(r)===ge(i)},n.isSelectMonthInList=function(r,o,i){return i.some(function(a){return n.isSelectedMonth(r,o,a)})},n.isSelectedQuarter=function(r,o,i){return Qn(r)===o&&ge(r)===ge(i)},n.renderWeeks=function(){for(var r=[],o=n.props.fixedHeight,i=0,a=!1,l=Hn(_n(n.props.day),n.props.locale,n.props.calendarStartDay),c=function(C){return n.props.showWeekPicker?Hn(C,n.props.locale,n.props.calendarStartDay):n.props.preSelection},u=function(C){return n.props.showWeekPicker?Hn(C,n.props.locale,n.props.calendarStartDay):n.props.selected},p=n.props.selected?u(n.props.selected):void 0,f=n.props.preSelection?c(n.props.preSelection):void 0;r.push(m.createElement(HD,ke({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:i,day:l,month:Et(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:p,preSelection:f,showWeekNumber:n.props.showWeekNumbers}))),!a;){i++,l=a1(l,1);var g=o&&i>=VD,v=!o&&!n.isWeekInMonth(l);if(g||v)if(n.props.peekNextMonth)a=!0;else break}return r},n.onMonthClick=function(r,o){var i=n.isMonthDisabledForLabelDate(o),a=i.isDisabled,l=i.labelDate;a||n.handleDayClick(_n(l),r)},n.onMonthMouseEnter=function(r){var o=n.isMonthDisabledForLabelDate(r),i=o.isDisabled,a=o.labelDate;i||n.handleDayMouseEnter(_n(a))},n.handleMonthNavigation=function(r,o){var i,a,l,c;(a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,o),(c=(l=n.MONTH_REFS[r])===null||l===void 0?void 0:l.current)===null||c===void 0||c.focus()},n.handleKeyboardNavigation=function(r,o,i){var a,l=n.props,c=l.selected,u=l.preSelection,p=l.setPreSelection,f=l.minDate,g=l.maxDate,v=l.showFourColumnMonthYearPicker,C=l.showTwoColumnMonthYearPicker;if(u){var x=C5(v,C),b=n.getVerticalOffset(x),y=(a=Ra[x])===null||a===void 0?void 0:a.grid,k=function(M,_,D){var P,N,F=_,V=D;switch(M){case J.ArrowRight:F=Gt(_,yi),V=D===11?0:D+yi;break;case J.ArrowLeft:F=Kn(_,yi),V=D===0?11:D-yi;break;case J.ArrowUp:F=Kn(_,b),V=!((P=y?.[0])===null||P===void 0)&&P.includes(D)?D+12-b:D-b;break;case J.ArrowDown:F=Gt(_,b),V=!((N=y?.[y.length-1])===null||N===void 0)&&N.includes(D)?D-12+b:D+b;break}return{newCalculatedDate:F,newCalculatedMonth:V}},w=function(M,_,D){for(var P=40,N=M,F=!1,V=0,T=k(N,_,D),H=T.newCalculatedDate,I=T.newCalculatedMonth;!F;){if(V>=P){H=_,I=D;break}if(f&&H<f){N=J.ArrowRight;var j=k(N,H,I);H=j.newCalculatedDate,I=j.newCalculatedMonth}if(g&&H>g){N=J.ArrowLeft;var j=k(N,H,I);H=j.newCalculatedDate,I=j.newCalculatedMonth}if(MD(H,n.props)){var j=k(N,H,I);H=j.newCalculatedDate,I=j.newCalculatedMonth}else F=!0;V++}return{newCalculatedDate:H,newCalculatedMonth:I}};if(o===J.Enter){n.isMonthDisabled(i)||(n.onMonthClick(r,i),p?.(c));return}var L=w(o,u,i),E=L.newCalculatedDate,$=L.newCalculatedMonth;switch(o){case J.ArrowRight:case J.ArrowLeft:case J.ArrowUp:case J.ArrowDown:n.handleMonthNavigation($,E);break}}},n.getVerticalOffset=function(r){var o,i;return(i=(o=Ra[r])===null||o===void 0?void 0:o.verticalNavigationOffset)!==null&&i!==void 0?i:0},n.onMonthKeyDown=function(r,o){var i=n.props,a=i.disabledKeyboardNavigation,l=i.handleOnMonthKeyDown,c=r.key;c!==J.Tab&&r.preventDefault(),a||n.handleKeyboardNavigation(r,c,o),l&&l(r)},n.onQuarterClick=function(r,o){var i=kr(n.props.day,o);Ci(i,n.props)||n.handleDayClick(r5(i),r)},n.onQuarterMouseEnter=function(r){var o=kr(n.props.day,r);Ci(o,n.props)||n.handleDayMouseEnter(r5(o))},n.handleQuarterNavigation=function(r,o){var i,a,l,c;n.isDisabled(o)||n.isExcluded(o)||((a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,o),(c=(l=n.QUARTER_REFS[r-1])===null||l===void 0?void 0:l.current)===null||c===void 0||c.focus())},n.onQuarterKeyDown=function(r,o){var i,a,l=r.key;if(!n.props.disabledKeyboardNavigation)switch(l){case J.Enter:n.onQuarterClick(r,o),(a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,n.props.selected);break;case J.ArrowRight:if(!n.props.preSelection)break;n.handleQuarterNavigation(o===4?1:o+1,$l(n.props.preSelection,1));break;case J.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(o===1?4:o-1,f3(n.props.preSelection));break}},n.isMonthDisabledForLabelDate=function(r){var o,i=n.props,a=i.day,l=i.minDate,c=i.maxDate,u=i.excludeDates,p=i.includeDates,f=It(a,r);return{isDisabled:(o=(l||c||u||p)&&M3(f,n.props))!==null&&o!==void 0?o:!1,labelDate:f}},n.isMonthDisabled=function(r){var o=n.isMonthDisabledForLabelDate(r).isDisabled;return o},n.getMonthClassNames=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate,c=o.preSelection,u=o.monthClassName,p=u?u(It(i,r)):void 0,f=n.getSelection();return pt("react-datepicker__month-text","react-datepicker__month-".concat(r),p,{"react-datepicker__month-text--disabled":n.isMonthDisabled(r),"react-datepicker__month-text--selected":f?n.isSelectMonthInList(i,r,f):void 0,"react-datepicker__month-text--keyboard-selected":!n.props.disabledKeyboardNavigation&&c&&n.isSelectedMonth(i,r,c)&&!n.isMonthDisabled(r),"react-datepicker__month-text--in-selecting-range":n.isInSelectingRangeMonth(r),"react-datepicker__month-text--in-range":a&&l?vi(a,l,r,i):void 0,"react-datepicker__month-text--range-start":n.isRangeStartMonth(r),"react-datepicker__month-text--range-end":n.isRangeEndMonth(r),"react-datepicker__month-text--selecting-range-start":n.isSelectingMonthRangeStart(r),"react-datepicker__month-text--selecting-range-end":n.isSelectingMonthRangeEnd(r),"react-datepicker__month-text--today":n.isCurrentMonth(i,r)})},n.getTabIndex=function(r){if(n.props.preSelection==null)return"-1";var o=Et(n.props.preSelection),i=n.isMonthDisabledForLabelDate(o).isDisabled,a=r===o&&!(i||n.props.disabledKeyboardNavigation)?"0":"-1";return a},n.getQuarterTabIndex=function(r){if(n.props.preSelection==null)return"-1";var o=Qn(n.props.preSelection),i=Ci(n.props.day,n.props),a=r===o&&!(i||n.props.disabledKeyboardNavigation)?"0":"-1";return a},n.getAriaLabel=function(r){var o=n.props,i=o.chooseDayAriaLabelPrefix,a=i===void 0?"Choose":i,l=o.disabledDayAriaLabelPrefix,c=l===void 0?"Not available":l,u=o.day,p=o.locale,f=It(u,r),g=n.isDisabled(f)||n.isExcluded(f)?c:a;return"".concat(g," ").concat(Oe(f,"MMMM yyyy",p))},n.getQuarterClassNames=function(r){var o=n.props,i=o.day,a=o.startDate,l=o.endDate,c=o.selected,u=o.minDate,p=o.maxDate,f=o.excludeDates,g=o.includeDates,v=o.filterDate,C=o.preSelection,x=o.disabledKeyboardNavigation,b=(u||p||f||g||v)&&Ci(kr(i,r),n.props);return pt("react-datepicker__quarter-text","react-datepicker__quarter-".concat(r),{"react-datepicker__quarter-text--disabled":b,"react-datepicker__quarter-text--selected":c?n.isSelectedQuarter(i,r,c):void 0,"react-datepicker__quarter-text--keyboard-selected":!x&&C&&n.isSelectedQuarter(i,r,C)&&!b,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(r),"react-datepicker__quarter-text--in-range":a&&l?bi(a,l,r,i):void 0,"react-datepicker__quarter-text--range-start":n.isRangeStartQuarter(r),"react-datepicker__quarter-text--range-end":n.isRangeEndQuarter(r)})},n.getMonthContent=function(r){var o=n.props,i=o.showFullMonthYearPicker,a=o.renderMonthContent,l=o.locale,c=o.day,u=L3(r,l),p=Pl(r,l);return a?a(r,u,p,c):i?p:u},n.getQuarterContent=function(r){var o,i=n.props,a=i.renderQuarterContent,l=i.locale,c=LD(r,l);return(o=a?.(r,c))!==null&&o!==void 0?o:c},n.renderMonths=function(){var r,o=n.props,i=o.showTwoColumnMonthYearPicker,a=o.showFourColumnMonthYearPicker,l=o.day,c=o.selected,u=(r=Ra[C5(a,i)])===null||r===void 0?void 0:r.grid;return u?.map(function(p,f){return m.createElement("div",{className:"react-datepicker__month-wrapper",key:f},p.map(function(g,v){return m.createElement("div",{ref:n.MONTH_REFS[g],key:v,onClick:function(C){n.onMonthClick(C,g)},onKeyDown:function(C){I3(C)&&(C.preventDefault(),C.key=J.Enter),n.onMonthKeyDown(C,g)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(g)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(g)}:void 0,tabIndex:Number(n.getTabIndex(g)),className:n.getMonthClassNames(g),"aria-disabled":n.isMonthDisabled(g),role:"option","aria-label":n.getAriaLabel(g),"aria-current":n.isCurrentMonth(l,g)?"date":void 0,"aria-selected":c?n.isSelectedMonth(l,g,c):void 0},n.getMonthContent(g))}))})},n.renderQuarters=function(){var r=n.props,o=r.day,i=r.selected,a=[1,2,3,4];return m.createElement("div",{className:"react-datepicker__quarter-wrapper"},a.map(function(l,c){return m.createElement("div",{key:c,ref:n.QUARTER_REFS[c],role:"option",onClick:function(u){n.onQuarterClick(u,l)},onKeyDown:function(u){n.onQuarterKeyDown(u,l)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onQuarterMouseEnter(l)},onPointerEnter:n.props.usePointerEvent?function(){return n.onQuarterMouseEnter(l)}:void 0,className:n.getQuarterClassNames(l),"aria-selected":i?n.isSelectedQuarter(o,l,i):void 0,tabIndex:Number(n.getQuarterTabIndex(l)),"aria-current":n.isCurrentQuarter(o,l)?"date":void 0},n.getQuarterContent(l))}))},n.getClassNames=function(){var r=n.props,o=r.selectingDate,i=r.selectsStart,a=r.selectsEnd,l=r.showMonthYearPicker,c=r.showQuarterYearPicker,u=r.showWeekPicker;return pt("react-datepicker__month",{"react-datepicker__month--selecting-range":o&&(i||a)},{"react-datepicker__monthPicker":l},{"react-datepicker__quarterPicker":c},{"react-datepicker__weekPicker":u})},n}return t.prototype.getSelection=function(){var n=this.props,r=n.selected,o=n.selectedDates,i=n.selectsMultiple;if(i)return o;if(r)return[r]},t.prototype.render=function(){var n=this.props,r=n.showMonthYearPicker,o=n.showQuarterYearPicker,i=n.day,a=n.ariaLabelPrefix,l=a===void 0?"Month ":a,c=l?l.trim()+" ":"";return m.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(c).concat(Oe(i,"MMMM, yyyy",this.props.locale)),role:"listbox"},r?this.renderMonths():o?this.renderQuarters():this.renderWeeks())},t}(m.Component),OD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.isSelectedMonth=function(r){return n.props.month===r},n.renderOptions=function(){return n.props.monthNames.map(function(r,o){return m.createElement("div",{className:n.isSelectedMonth(o)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:r,onClick:n.onChange.bind(n,o),"aria-selected":n.isSelectedMonth(o)?"true":void 0},n.isSelectedMonth(o)?m.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",r)})},n.onChange=function(r){return n.props.onChange(r)},n.handleClickOutside=function(){return n.props.onCancel()},n}return t.prototype.render=function(){return m.createElement(q1,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(m.Component),WD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(r){return r.map(function(o,i){return m.createElement("option",{key:o,value:i},o)})},n.renderSelectMode=function(r){return m.createElement("select",{value:n.props.month,className:"react-datepicker__month-select",onChange:function(o){return n.onChange(parseInt(o.target.value))}},n.renderSelectOptions(r))},n.renderReadView=function(r,o){return m.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:n.toggleDropdown},m.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),m.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},o[n.props.month]))},n.renderDropdown=function(r){return m.createElement(OD,ke({key:"dropdown"},n.props,{monthNames:r,onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(r){var o=n.state.dropdownVisible,i=[n.renderReadView(!o,r)];return o&&i.unshift(n.renderDropdown(r)),i},n.onChange=function(r){n.toggleDropdown(),r!==n.props.month&&n.props.onChange(r)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return t.prototype.render=function(){var n=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(i){return L3(i,n.props.locale)}:function(i){return Pl(i,n.props.locale)}),o;switch(this.props.dropdownMode){case"scroll":o=this.renderScrollMode(r);break;case"select":o=this.renderSelectMode(r);break}return m.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},o)},t}(m.Component);function ZD(e,t){for(var n=[],r=_n(e),o=_n(t);!Nn(r,o);)n.push(Re(r)),r=Gt(r,1);return n}var YD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.renderOptions=function(){return r.state.monthYearsList.map(function(o){var i=fs(o),a=Kt(r.props.date,o)&&wt(r.props.date,o);return m.createElement("div",{className:a?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:i,onClick:r.onChange.bind(r,i),"aria-selected":a?"true":void 0},a?m.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Oe(o,r.props.dateFormat,r.props.locale))})},r.onChange=function(o){return r.props.onChange(o)},r.handleClickOutside=function(){r.props.onCancel()},r.state={monthYearsList:ZD(r.props.minDate,r.props.maxDate)},r}return t.prototype.render=function(){var n=pt({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return m.createElement(q1,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(m.Component),zD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var r=_n(n.props.minDate),o=_n(n.props.maxDate),i=[];!Nn(r,o);){var a=fs(r);i.push(m.createElement("option",{key:a,value:a},Oe(r,n.props.dateFormat,n.props.locale))),r=Gt(r,1)}return i},n.onSelectChange=function(r){n.onChange(parseInt(r.target.value))},n.renderSelectMode=function(){return m.createElement("select",{value:fs(_n(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(r){var o=Oe(n.props.date,n.props.dateFormat,n.props.locale);return m.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:n.toggleDropdown},m.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),m.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},o))},n.renderDropdown=function(){return m.createElement(YD,ke({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var r=n.state.dropdownVisible,o=[n.renderReadView(!r)];return r&&o.unshift(n.renderDropdown()),o},n.onChange=function(r){n.toggleDropdown();var o=Re(r);Kt(n.props.date,o)&&wt(n.props.date,o)||n.props.onChange(o)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return t.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return m.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},t}(m.Component),GD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var r,o,i;n.list&&(n.list.scrollTop=(i=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-((o=(r=n.header)===null||r===void 0?void 0:r.clientHeight)!==null&&o!==void 0?o:0):n.list.clientHeight,n.centerLi))!==null&&i!==void 0?i:0)})},n.handleClick=function(r){var o,i;(n.props.minTime||n.props.maxTime)&&l5(r,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&s5(r,n.props)||(i=(o=n.props).onChange)===null||i===void 0||i.call(o,r)},n.isSelectedTime=function(r){return n.props.selected&&TD(n.props.selected,r)},n.isDisabledTime=function(r){return(n.props.minTime||n.props.maxTime)&&l5(r,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&s5(r,n.props)},n.liClasses=function(r){var o,i=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(r):void 0];return n.isSelectedTime(r)&&i.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(r)&&i.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(cn(r)*3600+dn(r)*60+$n(r))%(((o=n.props.intervals)!==null&&o!==void 0?o:t.defaultProps.intervals)*60)!==0&&i.push("react-datepicker__time-list-item--injected"),i.join(" ")},n.handleOnKeyDown=function(r,o){var i,a;r.key===J.Space&&(r.preventDefault(),r.key=J.Enter),(r.key===J.ArrowUp||r.key===J.ArrowLeft)&&r.target instanceof HTMLElement&&r.target.previousSibling&&(r.preventDefault(),r.target.previousSibling instanceof HTMLElement&&r.target.previousSibling.focus()),(r.key===J.ArrowDown||r.key===J.ArrowRight)&&r.target instanceof HTMLElement&&r.target.nextSibling&&(r.preventDefault(),r.target.nextSibling instanceof HTMLElement&&r.target.nextSibling.focus()),r.key===J.Enter&&n.handleClick(o),(a=(i=n.props).handleOnKeyDown)===null||a===void 0||a.call(i,r)},n.renderTimes=function(){for(var r,o=[],i=typeof n.props.format=="string"?n.props.format:"p",a=(r=n.props.intervals)!==null&&r!==void 0?r:t.defaultProps.intervals,l=n.props.selected||n.props.openToDate||Re(),c=Fi(l),u=n.props.injectTimes&&n.props.injectTimes.sort(function(b,y){return b.getTime()-y.getTime()}),p=60*RD(l),f=p/a,g=0;g<f;g++){var v=ds(c,g*a);if(o.push(v),u){var C=jD(c,v,g,a,u);o=o.concat(C)}}var x=o.reduce(function(b,y){return y.getTime()<=l.getTime()?y:b},o[0]);return o.map(function(b){return m.createElement("li",{key:b.valueOf(),onClick:n.handleClick.bind(n,b),className:n.liClasses(b),ref:function(y){b===x&&(n.centerLi=y)},onKeyDown:function(y){n.handleOnKeyDown(y,b)},tabIndex:b===x?0:-1,role:"option","aria-selected":n.isSelectedTime(b)?"true":void 0,"aria-disabled":n.isDisabledTime(b)?"true":void 0},Oe(b,i,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?m.createElement(m.Fragment,null):m.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(r){n.header=r}},m.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var n=this,r,o=this.state.height;return m.createElement("div",{className:"react-datepicker__time-container ".concat(((r=this.props.todayButton)!==null&&r!==void 0?r:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),m.createElement("div",{className:"react-datepicker__time"},m.createElement("div",{className:"react-datepicker__time-box"},m.createElement("ul",{className:"react-datepicker__time-list",ref:function(i){n.list=i},style:o?{height:o}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(n,r){return r.offsetTop-(n/2-r.clientHeight/2)},t}(m.Component),x5=3,XD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.YEAR_REFS=sn([],Array(r.props.yearItemNumber),!0).map(function(){return m.createRef()}),r.isDisabled=function(o){return Ft(o,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(o){return Bl(o,{excludeDates:r.props.excludeDates})},r.selectingDate=function(){var o;return(o=r.props.selectingDate)!==null&&o!==void 0?o:r.props.preSelection},r.updateFocusOnPaginate=function(o){var i=function(){var a,l;(l=(a=r.YEAR_REFS[o])===null||a===void 0?void 0:a.current)===null||l===void 0||l.focus()};window.requestAnimationFrame(i)},r.handleYearClick=function(o,i){r.props.onDayClick&&r.props.onDayClick(o,i)},r.handleYearNavigation=function(o,i){var a,l,c,u,p=r.props,f=p.date,g=p.yearItemNumber;if(!(f===void 0||g===void 0)){var v=Pn(f,g).startPeriod;r.isDisabled(i)||r.isExcluded(i)||((l=(a=r.props).setPreSelection)===null||l===void 0||l.call(a,i),o-v<0?r.updateFocusOnPaginate(g-(v-o)):o-v>=g?r.updateFocusOnPaginate(Math.abs(g-(o-v))):(u=(c=r.YEAR_REFS[o-v])===null||c===void 0?void 0:c.current)===null||u===void 0||u.focus())}},r.isSameDay=function(o,i){return ye(o,i)},r.isCurrentYear=function(o){return o===ge(Re())},r.isRangeStart=function(o){return r.props.startDate&&r.props.endDate&&Kt(Qt(Re(),o),r.props.startDate)},r.isRangeEnd=function(o){return r.props.startDate&&r.props.endDate&&Kt(Qt(Re(),o),r.props.endDate)},r.isInRange=function(o){return xi(o,r.props.startDate,r.props.endDate)},r.isInSelectingRange=function(o){var i=r.props,a=i.selectsStart,l=i.selectsEnd,c=i.selectsRange,u=i.startDate,p=i.endDate;return!(a||l||c)||!r.selectingDate()?!1:a&&p?xi(o,r.selectingDate(),p):l&&u||c&&u&&!p?xi(o,u,r.selectingDate()):!1},r.isSelectingRangeStart=function(o){var i;if(!r.isInSelectingRange(o))return!1;var a=r.props,l=a.startDate,c=a.selectsStart,u=Qt(Re(),o);return c?Kt(u,(i=r.selectingDate())!==null&&i!==void 0?i:null):Kt(u,l??null)},r.isSelectingRangeEnd=function(o){var i;if(!r.isInSelectingRange(o))return!1;var a=r.props,l=a.endDate,c=a.selectsEnd,u=a.selectsRange,p=Qt(Re(),o);return c||u?Kt(p,(i=r.selectingDate())!==null&&i!==void 0?i:null):Kt(p,l??null)},r.isKeyboardSelected=function(o){if(!(r.props.date===void 0||r.props.selected==null||r.props.preSelection==null)){var i=r.props,a=i.minDate,l=i.maxDate,c=i.excludeDates,u=i.includeDates,p=i.filterDate,f=uo(Qt(r.props.date,o)),g=(a||l||c||u||p)&&Pi(o,r.props);return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!ye(f,uo(r.props.selected))&&ye(f,uo(r.props.preSelection))&&!g}},r.onYearClick=function(o,i){var a=r.props.date;a!==void 0&&r.handleYearClick(uo(Qt(a,i)),o)},r.onYearKeyDown=function(o,i){var a,l,c=o.key,u=r.props,p=u.date,f=u.yearItemNumber,g=u.handleOnKeyDown;if(c!==J.Tab&&o.preventDefault(),!r.props.disabledKeyboardNavigation)switch(c){case J.Enter:if(r.props.selected==null)break;r.onYearClick(o,i),(l=(a=r.props).setPreSelection)===null||l===void 0||l.call(a,r.props.selected);break;case J.ArrowRight:if(r.props.preSelection==null)break;r.handleYearNavigation(i+1,Ln(r.props.preSelection,1));break;case J.ArrowLeft:if(r.props.preSelection==null)break;r.handleYearNavigation(i-1,Wr(r.props.preSelection,1));break;case J.ArrowUp:{if(p===void 0||f===void 0||r.props.preSelection==null)break;var v=Pn(p,f).startPeriod,C=x5,x=i-C;if(x<v){var b=f%C;i>=v&&i<v+b?C=b:C+=b,x=i-C}r.handleYearNavigation(x,Wr(r.props.preSelection,C));break}case J.ArrowDown:{if(p===void 0||f===void 0||r.props.preSelection==null)break;var y=Pn(p,f).endPeriod,C=x5,x=i+C;if(x>y){var b=f%C;i<=y&&i>y-b?C=b:C+=b,x=i+C}r.handleYearNavigation(x,Ln(r.props.preSelection,C));break}}g&&g(o)},r.getYearClassNames=function(o){var i=r.props,a=i.date,l=i.minDate,c=i.maxDate,u=i.selected,p=i.excludeDates,f=i.includeDates,g=i.filterDate,v=i.yearClassName;return pt("react-datepicker__year-text","react-datepicker__year-".concat(o),a?v?.(Qt(a,o)):void 0,{"react-datepicker__year-text--selected":u?o===ge(u):void 0,"react-datepicker__year-text--disabled":(l||c||p||f||g)&&Pi(o,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(o),"react-datepicker__year-text--range-start":r.isRangeStart(o),"react-datepicker__year-text--range-end":r.isRangeEnd(o),"react-datepicker__year-text--in-range":r.isInRange(o),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(o),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(o),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(o),"react-datepicker__year-text--today":r.isCurrentYear(o)})},r.getYearTabIndex=function(o){if(r.props.disabledKeyboardNavigation||r.props.preSelection==null)return"-1";var i=ge(r.props.preSelection),a=Pi(o,r.props);return o===i&&!a?"0":"-1"},r.getYearContent=function(o){return r.props.renderYearContent?r.props.renderYearContent(o):o},r}return t.prototype.render=function(){var n=this,r=[],o=this.props,i=o.date,a=o.yearItemNumber,l=o.onYearMouseEnter,c=o.onYearMouseLeave;if(i===void 0)return null;for(var u=Pn(i,a),p=u.startPeriod,f=u.endPeriod,g=function(x){r.push(m.createElement("div",{ref:v.YEAR_REFS[x-p],onClick:function(b){n.onYearClick(b,x)},onKeyDown:function(b){I3(b)&&(b.preventDefault(),b.key=J.Enter),n.onYearKeyDown(b,x)},tabIndex:Number(v.getYearTabIndex(x)),className:v.getYearClassNames(x),onMouseEnter:v.props.usePointerEvent?void 0:function(b){return l(b,x)},onPointerEnter:v.props.usePointerEvent?function(b){return l(b,x)}:void 0,onMouseLeave:v.props.usePointerEvent?void 0:function(b){return c(b,x)},onPointerLeave:v.props.usePointerEvent?function(b){return c(b,x)}:void 0,key:x,"aria-current":v.isCurrentYear(x)?"date":void 0},v.getYearContent(x)))},v=this,C=p;C<=f;C++)g(C);return m.createElement("div",{className:"react-datepicker__year"},m.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},r))},t}(m.Component);function JD(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,l=!0;n&&(l=ge(n)<=a),r&&l&&(l=ge(r)>=a),l&&o.push(a)}return o}var UD=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;r.renderOptions=function(){var l=r.props.year,c=r.state.yearsList.map(function(f){return m.createElement("div",{className:l===f?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:f,onClick:r.onChange.bind(r,f),"aria-selected":l===f?"true":void 0},l===f?m.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",f)}),u=r.props.minDate?ge(r.props.minDate):null,p=r.props.maxDate?ge(r.props.maxDate):null;return(!p||!r.state.yearsList.find(function(f){return f===p}))&&c.unshift(m.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},m.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),(!u||!r.state.yearsList.find(function(f){return f===u}))&&c.push(m.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},m.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),c},r.onChange=function(l){r.props.onChange(l)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(l){var c=r.state.yearsList.map(function(u){return u+l});r.setState({yearsList:c})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var o=n.yearDropdownItemNumber,i=n.scrollableYearDropdown,a=o||(i?10:5);return r.state={yearsList:JD(r.props.year,a,r.props.minDate,r.props.maxDate)},r.dropdownRef=m.createRef(),r}return t.prototype.componentDidMount=function(){var n=this.dropdownRef.current;if(n){var r=n.children?Array.from(n.children):null,o=r?r.find(function(i){return i.ariaSelected}):null;n.scrollTop=o&&o instanceof HTMLElement?o.offsetTop+(o.clientHeight-n.clientHeight)/2:(n.scrollHeight-n.clientHeight)/2}},t.prototype.render=function(){var n=pt({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return m.createElement(q1,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(m.Component),QD=function(e){lt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var r=n.props.minDate?ge(n.props.minDate):1900,o=n.props.maxDate?ge(n.props.maxDate):2100,i=[],a=r;a<=o;a++)i.push(m.createElement("option",{key:a,value:a},a));return i},n.onSelectChange=function(r){n.onChange(parseInt(r.target.value))},n.renderSelectMode=function(){return m.createElement("select",{value:n.props.year,className:"react-datepicker__year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(r){return m.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(o){return n.toggleDropdown(o)}},m.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),m.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},n.props.year))},n.renderDropdown=function(){return m.createElement(UD,ke({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var r=n.state.dropdownVisible,o=[n.renderReadView(!r)];return r&&o.unshift(n.renderDropdown()),o},n.onChange=function(r){n.toggleDropdown(),r!==n.props.year&&n.props.onChange(r)},n.toggleDropdown=function(r){n.setState({dropdownVisible:!n.state.dropdownVisible},function(){n.props.adjustDateOnChange&&n.handleYearChange(n.props.date,r)})},n.handleYearChange=function(r,o){var i;(i=n.onSelect)===null||i===void 0||i.call(n,r,o),n.setOpen()},n.onSelect=function(r,o){var i,a;(a=(i=n.props).onSelect)===null||a===void 0||a.call(i,r,o)},n.setOpen=function(){var r,o;(o=(r=n.props).setOpen)===null||o===void 0||o.call(r,!0)},n}return t.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return m.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},n)},t}(m.Component),KD=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],qD=function(e){var t=(e.className||"").split(/\s+/);return KD.some(function(n){return t.indexOf(n)>=0})},eA=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.monthContainer=void 0,r.handleClickOutside=function(o){r.props.onClickOutside(o)},r.setClickOutsideRef=function(){return r.containerRef.current},r.handleDropdownFocus=function(o){var i,a;qD(o.target)&&((a=(i=r.props).onDropdownFocus)===null||a===void 0||a.call(i,o))},r.getDateInView=function(){var o=r.props,i=o.preSelection,a=o.selected,l=o.openToDate,c=$3(r.props),u=_3(r.props),p=Re(),f=l||a||i;return f||(c&&lr(p,c)?c:u&&Nn(p,u)?u:p)},r.increaseMonth=function(){r.setState(function(o){var i=o.date;return{date:Gt(i,1)}},function(){return r.handleMonthChange(r.state.date)})},r.decreaseMonth=function(){r.setState(function(o){var i=o.date;return{date:Kn(i,1)}},function(){return r.handleMonthChange(r.state.date)})},r.handleDayClick=function(o,i,a){r.props.onSelect(o,i,a),r.props.setPreSelection&&r.props.setPreSelection(o)},r.handleDayMouseEnter=function(o){r.setState({selectingDate:o}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(o)},r.handleMonthMouseLeave=function(){r.setState({selectingDate:void 0}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()},r.handleYearMouseEnter=function(o,i){r.setState({selectingDate:Qt(Re(),i)}),r.props.onYearMouseEnter&&r.props.onYearMouseEnter(o,i)},r.handleYearMouseLeave=function(o,i){r.props.onYearMouseLeave&&r.props.onYearMouseLeave(o,i)},r.handleYearChange=function(o){var i,a,l,c;(a=(i=r.props).onYearChange)===null||a===void 0||a.call(i,o),r.setState({isRenderAriaLiveMessage:!0}),r.props.adjustDateOnChange&&(r.props.onSelect(o),(c=(l=r.props).setOpen)===null||c===void 0||c.call(l,!0)),r.props.setPreSelection&&r.props.setPreSelection(o)},r.getEnabledPreSelectionDateForMonth=function(o){if(!Ft(o,r.props))return o;for(var i=_n(o),a=yD(o),l=d_(a,i),c=null,u=0;u<=l;u++){var p=Yt(i,u);if(!Ft(p,r.props)){c=p;break}}return c},r.handleMonthChange=function(o){var i,a,l,c=(i=r.getEnabledPreSelectionDateForMonth(o))!==null&&i!==void 0?i:o;r.handleCustomMonthChange(c),r.props.adjustDateOnChange&&(r.props.onSelect(c),(l=(a=r.props).setOpen)===null||l===void 0||l.call(a,!0)),r.props.setPreSelection&&r.props.setPreSelection(c)},r.handleCustomMonthChange=function(o){var i,a;(a=(i=r.props).onMonthChange)===null||a===void 0||a.call(i,o),r.setState({isRenderAriaLiveMessage:!0})},r.handleMonthYearChange=function(o){r.handleYearChange(o),r.handleMonthChange(o)},r.changeYear=function(o){r.setState(function(i){var a=i.date;return{date:Qt(a,Number(o))}},function(){return r.handleYearChange(r.state.date)})},r.changeMonth=function(o){r.setState(function(i){var a=i.date;return{date:It(a,Number(o))}},function(){return r.handleMonthChange(r.state.date)})},r.changeMonthYear=function(o){r.setState(function(i){var a=i.date;return{date:Qt(It(a,Et(o)),ge(o))}},function(){return r.handleMonthYearChange(r.state.date)})},r.header=function(o){o===void 0&&(o=r.state.date);var i=Hn(o,r.props.locale,r.props.calendarStartDay),a=[];return r.props.showWeekNumbers&&a.push(m.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),a.concat([0,1,2,3,4,5,6].map(function(l){var c=Yt(i,l),u=r.formatWeekday(c,r.props.locale),p=r.props.weekDayClassName?r.props.weekDayClassName(c):void 0;return m.createElement("div",{key:l,"aria-label":Oe(c,"EEEE",r.props.locale),className:pt("react-datepicker__day-name",p)},u)}))},r.formatWeekday=function(o,i){return r.props.formatWeekDay?wD(o,r.props.formatWeekDay,i):r.props.useWeekdaysShort?ED(o,i):kD(o,i)},r.decreaseYear=function(){r.setState(function(o){var i,a=o.date;return{date:Wr(a,r.props.showYearPicker?(i=r.props.yearItemNumber)!==null&&i!==void 0?i:t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.clearSelectingDate=function(){r.setState({selectingDate:void 0})},r.renderPreviousButton=function(){var o,i,a;if(!r.props.renderCustomHeader){var l=(o=r.props.monthsShown)!==null&&o!==void 0?o:t.defaultProps.monthsShown,c=r.props.showPreviousMonths?l-1:0,u=(i=r.props.monthSelectedIn)!==null&&i!==void 0?i:c,p=Kn(r.state.date,u),f;switch(!0){case r.props.showMonthYearPicker:f=u5(r.state.date,r.props);break;case r.props.showYearPicker:f=ID(r.state.date,r.props);break;case r.props.showQuarterYearPicker:f=$D(r.state.date,r.props);break;default:f=c5(p,r.props);break}if(!(!((a=r.props.forceShowMonthNavigation)!==null&&a!==void 0?a:t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&f||r.props.showTimeSelectOnly)){var g=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],v=["react-datepicker__navigation","react-datepicker__navigation--previous"],C=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(C=r.decreaseYear),f&&r.props.showDisabledMonthNavigation&&(v.push("react-datepicker__navigation--previous--disabled"),C=void 0);var x=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,b=r.props,y=b.previousMonthButtonLabel,k=y===void 0?t.defaultProps.previousMonthButtonLabel:y,w=b.previousYearButtonLabel,L=w===void 0?t.defaultProps.previousYearButtonLabel:w,E=r.props,$=E.previousMonthAriaLabel,M=$===void 0?typeof k=="string"?k:"Previous Month":$,_=E.previousYearAriaLabel,D=_===void 0?typeof L=="string"?L:"Previous Year":_;return m.createElement("button",{type:"button",className:v.join(" "),onClick:C,onKeyDown:r.props.handleOnKeyDown,"aria-label":x?D:M},m.createElement("span",{className:g.join(" ")},x?L:k))}}},r.increaseYear=function(){r.setState(function(o){var i,a=o.date;return{date:Ln(a,r.props.showYearPicker?(i=r.props.yearItemNumber)!==null&&i!==void 0?i:t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.renderNextButton=function(){var o;if(!r.props.renderCustomHeader){var i;switch(!0){case r.props.showMonthYearPicker:i=p5(r.state.date,r.props);break;case r.props.showYearPicker:i=SD(r.state.date,r.props);break;case r.props.showQuarterYearPicker:i=_D(r.state.date,r.props);break;default:i=d5(r.state.date,r.props);break}if(!(!((o=r.props.forceShowMonthNavigation)!==null&&o!==void 0?o:t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&i||r.props.showTimeSelectOnly)){var a=["react-datepicker__navigation","react-datepicker__navigation--next"],l=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"];r.props.showTimeSelect&&a.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&a.push("react-datepicker__navigation--next--with-today-button");var c=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(c=r.increaseYear),i&&r.props.showDisabledMonthNavigation&&(a.push("react-datepicker__navigation--next--disabled"),c=void 0);var u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,p=r.props,f=p.nextMonthButtonLabel,g=f===void 0?t.defaultProps.nextMonthButtonLabel:f,v=p.nextYearButtonLabel,C=v===void 0?t.defaultProps.nextYearButtonLabel:v,x=r.props,b=x.nextMonthAriaLabel,y=b===void 0?typeof g=="string"?g:"Next Month":b,k=x.nextYearAriaLabel,w=k===void 0?typeof C=="string"?C:"Next Year":k;return m.createElement("button",{type:"button",className:a.join(" "),onClick:c,onKeyDown:r.props.handleOnKeyDown,"aria-label":u?w:y},m.createElement("span",{className:l.join(" ")},u?C:g))}}},r.renderCurrentMonth=function(o){o===void 0&&(o=r.state.date);var i=["react-datepicker__current-month"];return r.props.showYearDropdown&&i.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&i.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&i.push("react-datepicker__current-month--hasMonthYearDropdown"),m.createElement("h2",{className:i.join(" ")},Oe(o,r.props.dateFormat,r.props.locale))},r.renderYearDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showYearDropdown||o))return m.createElement(QD,ke({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeYear,year:ge(r.state.date)}))},r.renderMonthDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showMonthDropdown||o))return m.createElement(WD,ke({},t.defaultProps,r.props,{month:Et(r.state.date),onChange:r.changeMonth}))},r.renderMonthYearDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showMonthYearDropdown||o))return m.createElement(zD,ke({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeMonthYear}))},r.handleTodayButtonClick=function(o){r.props.onSelect(o5(),o),r.props.setPreSelection&&r.props.setPreSelection(o5())},r.renderTodayButton=function(){if(!(!r.props.todayButton||r.props.showTimeSelectOnly))return m.createElement("div",{className:"react-datepicker__today-button",onClick:r.handleTodayButtonClick},r.props.todayButton)},r.renderDefaultHeader=function(o){var i=o.monthDate,a=o.i;return m.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(i),m.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(a!==0),r.renderMonthYearDropdown(a!==0),r.renderYearDropdown(a!==0)),m.createElement("div",{className:"react-datepicker__day-names"},r.header(i)))},r.renderCustomHeader=function(o){var i,a,l=o.monthDate,c=o.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var u=c5(r.state.date,r.props),p=d5(r.state.date,r.props),f=u5(r.state.date,r.props),g=p5(r.state.date,r.props),v=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return m.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},(a=(i=r.props).renderCustomHeader)===null||a===void 0?void 0:a.call(i,ke(ke({},r.state),{customHeaderCount:c,monthDate:l,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:u,nextMonthButtonDisabled:p,prevYearButtonDisabled:f,nextYearButtonDisabled:g})),v&&m.createElement("div",{className:"react-datepicker__day-names"},r.header(l)))},r.renderYearHeader=function(o){var i=o.monthDate,a=r.props,l=a.showYearPicker,c=a.yearItemNumber,u=c===void 0?t.defaultProps.yearItemNumber:c,p=Pn(i,u),f=p.startPeriod,g=p.endPeriod;return m.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},l?"".concat(f," - ").concat(g):ge(i))},r.renderHeader=function(o){var i=o.monthDate,a=o.i,l=a===void 0?0:a,c={monthDate:i,i:l};switch(!0){case r.props.renderCustomHeader!==void 0:return r.renderCustomHeader(c);case(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker):return r.renderYearHeader(c);default:return r.renderDefaultHeader(c)}},r.renderMonths=function(){var o,i;if(!(r.props.showTimeSelectOnly||r.props.showYearPicker)){for(var a=[],l=(o=r.props.monthsShown)!==null&&o!==void 0?o:t.defaultProps.monthsShown,c=r.props.showPreviousMonths?l-1:0,u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Ln(r.state.date,c):Kn(r.state.date,c),p=(i=r.props.monthSelectedIn)!==null&&i!==void 0?i:c,f=0;f<l;++f){var g=f-p+c,v=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Ln(u,g):Gt(u,g),C="month-".concat(f),x=f<l-1,b=f>0;a.push(m.createElement("div",{key:C,ref:function(y){r.monthContainer=y??void 0},className:"react-datepicker__month-container"},r.renderHeader({monthDate:v,i:f}),m.createElement(ND,ke({},t.defaultProps,r.props,{ariaLabelPrefix:r.props.monthAriaLabelPrefix,day:v,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,handleOnMonthKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,orderInDisplay:f,selectingDate:r.state.selectingDate,monthShowsDuplicateDaysEnd:x,monthShowsDuplicateDaysStart:b}))))}return a}},r.renderYears=function(){if(!r.props.showTimeSelectOnly&&r.props.showYearPicker)return m.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader({monthDate:r.state.date}),m.createElement(XD,ke({},t.defaultProps,r.props,{selectingDate:r.state.selectingDate,date:r.state.date,onDayClick:r.handleDayClick,clearSelectingDate:r.clearSelectingDate,onYearMouseEnter:r.handleYearMouseEnter,onYearMouseLeave:r.handleYearMouseLeave})))},r.renderTimeSection=function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return m.createElement(GD,ke({},t.defaultProps,r.props,{onChange:r.props.onTimeChange,format:r.props.timeFormat,intervals:r.props.timeIntervals,monthRef:r.state.monthContainer}))},r.renderInputTimeSection=function(){var o=r.props.selected?new Date(r.props.selected):void 0,i=o&&yn(o)&&!!r.props.selected,a=i?"".concat(h5(o.getHours()),":").concat(h5(o.getMinutes())):"";if(r.props.showTimeInput)return m.createElement(FD,ke({},t.defaultProps,r.props,{date:o,timeString:a,onChange:r.props.onTimeChange}))},r.renderAriaLiveRegion=function(){var o,i=Pn(r.state.date,(o=r.props.yearItemNumber)!==null&&o!==void 0?o:t.defaultProps.yearItemNumber),a=i.startPeriod,l=i.endPeriod,c;return r.props.showYearPicker?c="".concat(a," - ").concat(l):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?c=ge(r.state.date):c="".concat(Pl(Et(r.state.date),r.props.locale)," ").concat(ge(r.state.date)),m.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&c)},r.renderChildren=function(){if(r.props.children)return m.createElement("div",{className:"react-datepicker__children-container"},r.props.children)},r.containerRef=m.createRef(),r.state={date:r.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},r}return Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:ai}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var n=this;this.props.showTimeSelect&&(this.assignMonthContainer=function(){n.setState({monthContainer:n.monthContainer})}())},t.prototype.componentDidUpdate=function(n){var r=this;if(this.props.preSelection&&(!ye(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var o=!wt(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return o&&r.handleCustomMonthChange(r.state.date)})}else this.props.openToDate&&!ye(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},t.prototype.render=function(){var n=this.props.container||fD;return m.createElement(q1,{onClickOutside:this.handleClickOutside,style:{display:"contents"},containerRef:this.containerRef,ignoreClass:this.props.outsideClickIgnoreClass},m.createElement(n,{className:pt("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))},t}(m.Component),tA=function(e){var t=e.icon,n=e.className,r=n===void 0?"":n,o=e.onClick,i="react-datepicker__calendar-icon";return typeof t=="string"?m.createElement("i",{className:"".concat(i," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:o}):m.isValidElement(t)?m.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(i," ").concat(r),onClick:function(a){typeof t.props.onClick=="function"&&t.props.onClick(a),typeof o=="function"&&o(a)}}):m.createElement("svg",{className:"".concat(i," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:o},m.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},S3=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.portalRoot=null,r.el=document.createElement("div"),r}return t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return Po.createPortal(this.props.children,this.el)},t}(m.Component),nA="[tabindex], a, button, input, select, textarea",rA=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&e.tabIndex!==-1},D3=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.getTabChildren=function(){var o;return Array.prototype.slice.call((o=r.tabLoopRef.current)===null||o===void 0?void 0:o.querySelectorAll(nA),1,-1).filter(rA)},r.handleFocusStart=function(){var o=r.getTabChildren();o&&o.length>1&&o[o.length-1].focus()},r.handleFocusEnd=function(){var o=r.getTabChildren();o&&o.length>1&&o[0].focus()},r.tabLoopRef=m.createRef(),r}return t.prototype.render=function(){var n;return((n=this.props.enableTabLoop)!==null&&n!==void 0?n:t.defaultProps.enableTabLoop)?m.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},m.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,m.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(m.Component);function oA(e){var t=function(n){var r,o=typeof n.hidePopper=="boolean"?n.hidePopper:!0,i=m.useRef(null),a=pD(ke({open:!o,whileElementsMounted:ZS,placement:n.popperPlacement,middleware:sn([QS({padding:15}),US(10),KS({element:i})],(r=n.popperModifiers)!==null&&r!==void 0?r:[],!0)},n.popperProps)),l=ke(ke({},n),{hidePopper:o,popperProps:ke(ke({},a),{arrowRef:i})});return m.createElement(e,ke({},l))};return t}var iA=function(e){lt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var n=this.props,r=n.className,o=n.wrapperClassName,i=n.hidePopper,a=i===void 0?t.defaultProps.hidePopper:i,l=n.popperComponent,c=n.targetComponent,u=n.enableTabLoop,p=n.popperOnKeyDown,f=n.portalId,g=n.portalHost,v=n.popperProps,C=n.showArrow,x=void 0;if(!a){var b=pt("react-datepicker-popper",r);x=m.createElement(D3,{enableTabLoop:u},m.createElement("div",{ref:v.refs.setFloating,style:v.floatingStyles,className:b,"data-placement":v.placement,onKeyDown:p},l,C&&m.createElement(iD,{ref:v.arrowRef,context:v.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(x=m.createElement(this.props.popperContainer,{},x)),f&&!a&&(x=m.createElement(S3,{portalId:f,portalHost:g},x));var y=pt("react-datepicker-wrapper",o);return m.createElement(m.Fragment,null,m.createElement("div",{ref:v.refs.setReference,className:y},c),x)},t}(m.Component),aA=oA(iA),b5="react-datepicker-ignore-onclickoutside";function sA(e,t){return e&&t?Et(e)!==Et(t)||ge(e)!==ge(t):e!==t}var Ta="Date input not valid.",lA=function(e){lt(t,e);function t(n){var r=e.call(this,n)||this;return r.calendar=null,r.input=null,r.getPreSelection=function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Re()},r.modifyHolidays=function(){var o;return(o=r.props.holidays)===null||o===void 0?void 0:o.reduce(function(i,a){var l=new Date(a.date);return yn(l)?sn(sn([],i,!0),[ke(ke({},a),{date:l})],!1):i},[])},r.calcInitialState=function(){var o,i=r.getPreSelection(),a=$3(r.props),l=_3(r.props),c=a&&lr(i,Fi(a))?a:l&&Nn(i,i5(l))?l:i;return{open:r.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:(o=r.props.selectsRange?r.props.startDate:r.props.selected)!==null&&o!==void 0?o:c,highlightDates:f5(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},r.resetHiddenStatus=function(){r.setState(ke(ke({},r.state),{wasHidden:!1}))},r.setHiddenStatus=function(){r.setState(ke(ke({},r.state),{wasHidden:!0}))},r.setHiddenStateOnVisibilityHidden=function(){document.visibilityState==="hidden"&&r.setHiddenStatus()},r.clearPreventFocusTimeout=function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)},r.safeFocus=function(){setTimeout(function(){var o,i;(i=(o=r.input)===null||o===void 0?void 0:o.focus)===null||i===void 0||i.call(o,{preventScroll:!0})},0)},r.safeBlur=function(){setTimeout(function(){var o,i;(i=(o=r.input)===null||o===void 0?void 0:o.blur)===null||i===void 0||i.call(o)},0)},r.setFocus=function(){r.safeFocus()},r.setBlur=function(){r.safeBlur(),r.cancelFocusInput()},r.setOpen=function(o,i){i===void 0&&(i=!1),r.setState({open:o,preSelection:o&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:Fa},function(){o||r.setState(function(a){return{focused:i?a.focused:!1}},function(){!i&&r.setBlur(),r.setState({inputValue:null})})})},r.inputOk=function(){return Mn(r.state.preSelection)},r.isCalendarOpen=function(){return r.props.open===void 0?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open},r.handleFocus=function(o){var i,a,l=r.state.wasHidden,c=l?r.state.open:!0;l&&r.resetHiddenStatus(),!r.state.preventFocus&&c&&((a=(i=r.props).onFocus)===null||a===void 0||a.call(i,o),!r.props.preventOpenOnFocus&&!r.props.readOnly&&r.setOpen(!0)),r.setState({focused:!0})},r.sendFocusBackToInput=function(){r.preventFocusTimeout&&r.clearPreventFocusTimeout(),r.setState({preventFocus:!0},function(){r.preventFocusTimeout=setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})})},r.cancelFocusInput=function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=void 0},r.deferFocusInput=function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout(function(){return r.setFocus()},1)},r.handleDropdownFocus=function(){r.cancelFocusInput()},r.handleBlur=function(o){var i,a;(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&((a=(i=r.props).onBlur)===null||a===void 0||a.call(i,o)),r.setState({focused:!1})},r.handleCalendarClickOutside=function(o){var i,a;r.props.inline||r.setOpen(!1),(a=(i=r.props).onClickOutside)===null||a===void 0||a.call(i,o),r.props.withPortal&&o.preventDefault()},r.handleChange=function(){for(var o,i,a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c=a[0];if(!(r.props.onChangeRaw&&(r.props.onChangeRaw.apply(r,a),!c||typeof c.isDefaultPrevented!="function"||c.isDefaultPrevented()))){r.setState({inputValue:c?.target instanceof HTMLInputElement?c.target.value:null,lastPreSelectChange:cA});var u=r.props,p=u.dateFormat,f=p===void 0?t.defaultProps.dateFormat:p,g=u.strictParsing,v=g===void 0?t.defaultProps.strictParsing:g,C=u.selectsRange,x=u.startDate,b=u.endDate,y=c?.target instanceof HTMLInputElement?c.target.value:"";if(C){var k=y.split("-",2).map(function(P){return P.trim()}),w=k[0],L=k[1],E=Aa(w??"",f,r.props.locale,v),$=Aa(L??"",f,r.props.locale,v),M=x?.getTime()!==E?.getTime(),_=b?.getTime()!==$?.getTime();if(!M&&!_||E&&Ft(E,r.props)||$&&Ft($,r.props))return;(i=(o=r.props).onChange)===null||i===void 0||i.call(o,[E,$],c)}else{var D=Aa(y,f,r.props.locale,v,r.props.minDate);r.props.showTimeSelectOnly&&r.props.selected&&D&&!ye(D,r.props.selected)&&(D=wS(r.props.selected,{hours:cn(D),minutes:dn(D),seconds:$n(D)})),(D||!y)&&r.setSelected(D,c,!0)}}},r.handleSelect=function(o,i,a){if(r.props.shouldCloseOnSelect&&!r.props.showTimeSelect&&r.sendFocusBackToInput(),r.props.onChangeRaw&&r.props.onChangeRaw(i),r.setSelected(o,i,!1,a),r.props.showDateSelect&&r.setState({isRenderAriaLiveMessage:!0}),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(o);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);var l=r.props,c=l.startDate,u=l.endDate;c&&!u&&(r.props.swapRange||!v5(o,c))&&r.setOpen(!1)}},r.setSelected=function(o,i,a,l){var c,u,p=o;if(r.props.showYearPicker){if(p!==null&&Pi(ge(p),r.props))return}else if(r.props.showMonthYearPicker){if(p!==null&&M3(p,r.props))return}else if(p!==null&&Ft(p,r.props))return;var f=r.props,g=f.onChange,v=f.selectsRange,C=f.startDate,x=f.endDate,b=f.selectsMultiple,y=f.selectedDates,k=f.minTime,w=f.swapRange;if(!Xn(r.props.selected,p)||r.props.allowSameDay||v||b)if(p!==null&&(r.props.selected&&(!a||!r.props.showTimeSelect&&!r.props.showTimeSelectOnly&&!r.props.showTimeInput)&&(p=ja(p,{hour:cn(r.props.selected),minute:dn(r.props.selected),second:$n(r.props.selected)})),!a&&(r.props.showTimeSelect||r.props.showTimeSelectOnly)&&k&&(p=ja(p,{hour:k.getHours(),minute:k.getMinutes(),second:k.getSeconds()})),r.props.inline||r.setState({preSelection:p}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:l})),v){var L=!C&&!x,E=C&&!x,$=C&&x;L?g?.([p,null],i):E&&(p===null?g?.([null,null],i):v5(p,C)?g?.(w?[p,C]:[p,null],i):g?.([C,p],i)),$&&g?.([p,null],i)}else if(b){if(p!==null)if(!y?.length)g?.([p],i);else{var M=y.some(function(D){return ye(D,p)});if(M){var _=y.filter(function(D){return!ye(D,p)});g?.(_,i)}else g?.(sn(sn([],y,!0),[p],!1),i)}}else g?.(p,i);a||((u=(c=r.props).onSelect)===null||u===void 0||u.call(c,p,i),r.setState({inputValue:null}))},r.setPreSelection=function(o){var i=Mn(r.props.minDate),a=Mn(r.props.maxDate),l=!0;if(o){var c=Fi(o);if(i&&a)l=po(o,r.props.minDate,r.props.maxDate);else if(i){var u=Fi(r.props.minDate);l=Nn(o,u)||Xn(c,u)}else if(a){var p=i5(r.props.maxDate);l=lr(o,p)||Xn(c,p)}}l&&r.setState({preSelection:o})},r.toggleCalendar=function(){r.setOpen(!r.state.open)},r.handleTimeChange=function(o){var i,a;if(!(r.props.selectsRange||r.props.selectsMultiple)){var l=r.props.selected?r.props.selected:r.getPreSelection(),c=r.props.selected?o:ja(l,{hour:cn(o),minute:dn(o)});r.setState({preSelection:c}),(a=(i=r.props).onChange)===null||a===void 0||a.call(i,c),r.props.shouldCloseOnSelect&&!r.props.showTimeInput&&(r.sendFocusBackToInput(),r.setOpen(!1)),r.props.showTimeInput&&r.setOpen(!0),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),r.setState({inputValue:null})}},r.onInputClick=function(){var o,i;!r.props.disabled&&!r.props.readOnly&&r.setOpen(!0),(i=(o=r.props).onInputClick)===null||i===void 0||i.call(o)},r.onInputKeyDown=function(o){var i,a,l,c,u,p;(a=(i=r.props).onKeyDown)===null||a===void 0||a.call(i,o);var f=o.key;if(!r.state.open&&!r.props.inline&&!r.props.preventOpenOnFocus){(f===J.ArrowDown||f===J.ArrowUp||f===J.Enter)&&((l=r.onInputClick)===null||l===void 0||l.call(r));return}if(r.state.open){if(f===J.ArrowDown||f===J.ArrowUp){o.preventDefault();var g=r.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":r.props.showWeekPicker&&r.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':r.props.showFullMonthYearPicker||r.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',v=((c=r.calendar)===null||c===void 0?void 0:c.containerRef.current)instanceof Element&&r.calendar.containerRef.current.querySelector(g);v instanceof HTMLElement&&v.focus({preventScroll:!0});return}var C=Re(r.state.preSelection);f===J.Enter?(o.preventDefault(),o.target.blur(),r.inputOk()&&r.state.lastPreSelectChange===Fa?(r.handleSelect(C,o),!r.props.shouldCloseOnSelect&&r.setPreSelection(C)):r.setOpen(!1)):f===J.Escape?(o.preventDefault(),o.target.blur(),r.sendFocusBackToInput(),r.setOpen(!1)):f===J.Tab&&r.setOpen(!1),r.inputOk()||(p=(u=r.props).onInputError)===null||p===void 0||p.call(u,{code:1,msg:Ta})}},r.onPortalKeyDown=function(o){var i=o.key;i===J.Escape&&(o.preventDefault(),r.setState({preventFocus:!0},function(){r.setOpen(!1),setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})}))},r.onDayKeyDown=function(o){var i,a,l,c,u,p,f=r.props,g=f.minDate,v=f.maxDate,C=f.disabledKeyboardNavigation,x=f.showWeekPicker,b=f.shouldCloseOnSelect,y=f.locale,k=f.calendarStartDay,w=f.adjustDateOnChange,L=f.inline;if((a=(i=r.props).onKeyDown)===null||a===void 0||a.call(i,o),!C){var E=o.key,$=o.shiftKey,M=Re(r.state.preSelection),_=function(H,I){var j=I;switch(H){case J.ArrowRight:j=x?a1(I,1):Yt(I,1);break;case J.ArrowLeft:j=x?J2(I):iS(I);break;case J.ArrowUp:j=J2(I);break;case J.ArrowDown:j=a1(I,1);break;case J.PageUp:j=$?Wr(I,1):Kn(I,1);break;case J.PageDown:j=$?Ln(I,1):Gt(I,1);break;case J.Home:j=Hn(I,y,k);break;case J.End:j=bD(I);break}return j},D=function(H,I){for(var j=40,A=H,R=!1,W=0,Z=_(H,I);!R;){if(W>=j){Z=I;break}g&&Z<g&&(A=J.ArrowRight,Z=Ft(g,r.props)?_(A,Z):g),v&&Z>v&&(A=J.ArrowLeft,Z=Ft(v,r.props)?_(A,Z):v),Ft(Z,r.props)?((A===J.PageUp||A===J.Home)&&(A=J.ArrowRight),(A===J.PageDown||A===J.End)&&(A=J.ArrowLeft),Z=_(A,Z)):R=!0,W++}return Z};if(E===J.Enter){o.preventDefault(),r.handleSelect(M,o),!b&&r.setPreSelection(M);return}else if(E===J.Escape){o.preventDefault(),r.setOpen(!1),r.inputOk()||(c=(l=r.props).onInputError)===null||c===void 0||c.call(l,{code:1,msg:Ta});return}var P=null;switch(E){case J.ArrowLeft:case J.ArrowRight:case J.ArrowUp:case J.ArrowDown:case J.PageUp:case J.PageDown:case J.Home:case J.End:P=D(E,M);break}if(!P){(p=(u=r.props).onInputError)===null||p===void 0||p.call(u,{code:1,msg:Ta});return}if(o.preventDefault(),r.setState({lastPreSelectChange:Fa}),w&&r.setSelected(P),r.setPreSelection(P),L){var N=Et(M),F=Et(P),V=ge(M),T=ge(P);N!==F||V!==T?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}},r.onPopperKeyDown=function(o){var i=o.key;i===J.Escape&&(o.preventDefault(),r.sendFocusBackToInput())},r.onClearClick=function(o){o&&o.preventDefault&&o.preventDefault(),r.sendFocusBackToInput();var i=r.props,a=i.selectsRange,l=i.onChange;l?.(a?[null,null]:null,o),r.setState({inputValue:null})},r.clear=function(){r.onClearClick()},r.onScroll=function(o){typeof r.props.closeOnScroll=="boolean"&&r.props.closeOnScroll?(o.target===document||o.target===document.documentElement||o.target===document.body)&&r.setOpen(!1):typeof r.props.closeOnScroll=="function"&&r.props.closeOnScroll(o)&&r.setOpen(!1)},r.renderCalendar=function(){var o,i;return!r.props.inline&&!r.isCalendarOpen()?null:m.createElement(eA,ke({showMonthYearDropdown:void 0,ref:function(a){r.calendar=a}},r.props,r.state,{setOpen:r.setOpen,dateFormat:(o=r.props.dateFormatCalendar)!==null&&o!==void 0?o:t.defaultProps.dateFormatCalendar,onSelect:r.handleSelect,onClickOutside:r.handleCalendarClickOutside,holidays:AD(r.modifyHolidays()),outsideClickIgnoreClass:b5,onDropdownFocus:r.handleDropdownFocus,onTimeChange:r.handleTimeChange,className:r.props.calendarClassName,container:r.props.calendarContainer,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,setPreSelection:r.setPreSelection,dropdownMode:(i=r.props.dropdownMode)!==null&&i!==void 0?i:t.defaultProps.dropdownMode}),r.props.children)},r.renderAriaLiveRegion=function(){var o=r.props,i=o.dateFormat,a=i===void 0?t.defaultProps.dateFormat:i,l=o.locale,c=r.props.showTimeInput||r.props.showTimeSelect,u=c?"PPPPp":"PPPP",p;return r.props.selectsRange?p="Selected start date: ".concat(Tt(r.props.startDate,{dateFormat:u,locale:l}),". ").concat(r.props.endDate?"End date: "+Tt(r.props.endDate,{dateFormat:u,locale:l}):""):r.props.showTimeSelectOnly?p="Selected time: ".concat(Tt(r.props.selected,{dateFormat:a,locale:l})):r.props.showYearPicker?p="Selected year: ".concat(Tt(r.props.selected,{dateFormat:"yyyy",locale:l})):r.props.showMonthYearPicker?p="Selected month: ".concat(Tt(r.props.selected,{dateFormat:"MMMM yyyy",locale:l})):r.props.showQuarterYearPicker?p="Selected quarter: ".concat(Tt(r.props.selected,{dateFormat:"yyyy, QQQ",locale:l})):p="Selected date: ".concat(Tt(r.props.selected,{dateFormat:u,locale:l})),m.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},p)},r.renderDateInput=function(){var o,i,a,l=pt(r.props.className,(o={},o[b5]=r.state.open,o)),c=r.props.customInput||m.createElement("input",{type:"text"}),u=r.props.customInputRef||"ref",p=r.props,f=p.dateFormat,g=f===void 0?t.defaultProps.dateFormat:f,v=p.locale,C=typeof r.props.value=="string"?r.props.value:typeof r.state.inputValue=="string"?r.state.inputValue:r.props.selectsRange?gD(r.props.startDate,r.props.endDate,{dateFormat:g,locale:v}):r.props.selectsMultiple?vD((a=r.props.selectedDates)!==null&&a!==void 0?a:[],{dateFormat:g,locale:v}):Tt(r.props.selected,{dateFormat:g,locale:v});return m.cloneElement(c,(i={},i[u]=function(x){r.input=x},i.value=C,i.onBlur=r.handleBlur,i.onChange=r.handleChange,i.onClick=r.onInputClick,i.onFocus=r.handleFocus,i.onKeyDown=r.onInputKeyDown,i.id=r.props.id,i.name=r.props.name,i.form=r.props.form,i.autoFocus=r.props.autoFocus,i.placeholder=r.props.placeholderText,i.disabled=r.props.disabled,i.autoComplete=r.props.autoComplete,i.className=pt(c.props.className,l),i.title=r.props.title,i.readOnly=r.props.readOnly,i.required=r.props.required,i.tabIndex=r.props.tabIndex,i["aria-describedby"]=r.props.ariaDescribedBy,i["aria-invalid"]=r.props.ariaInvalid,i["aria-labelledby"]=r.props.ariaLabelledBy,i["aria-required"]=r.props.ariaRequired,i))},r.renderClearButton=function(){var o=r.props,i=o.isClearable,a=o.disabled,l=o.selected,c=o.startDate,u=o.endDate,p=o.clearButtonTitle,f=o.clearButtonClassName,g=f===void 0?"":f,v=o.ariaLabelClose,C=v===void 0?"Close":v,x=o.selectedDates;return i&&(l!=null||c!=null||u!=null||x?.length)?m.createElement("button",{type:"button",className:pt("react-datepicker__close-icon",g,{"react-datepicker__close-icon--disabled":a}),disabled:a,"aria-label":C,onClick:r.onClearClick,title:p,tabIndex:-1}):null},r.state=r.calcInitialState(),r.preventFocusTimeout=void 0,r}return Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:ai,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(n,r){var o,i,a,l;n.inline&&sA(n.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&n.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),n.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:f5(this.props.highlightDates)}),!r.focused&&!Xn(n.selected,this.props.selected)&&this.setState({inputValue:null}),r.open!==this.state.open&&(r.open===!1&&this.state.open===!0&&((i=(o=this.props).onCalendarOpen)===null||i===void 0||i.call(o)),r.open===!0&&this.state.open===!1&&((l=(a=this.props).onCalendarClose)===null||l===void 0||l.call(a)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var n=this.props,r=n.showIcon,o=n.icon,i=n.calendarIconClassname,a=n.calendarIconClassName,l=n.toggleCalendarOnIconClick,c=this.state.open;return i&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),m.createElement("div",{className:"react-datepicker__input-container".concat(r?" react-datepicker__view-calendar-icon":"")},r&&m.createElement(tA,ke({icon:o,className:pt(a,!a&&i,c&&"react-datepicker-ignore-onclickoutside")},l?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var n=this.renderCalendar();if(this.props.inline)return n;if(this.props.withPortal){var r=this.state.open?m.createElement(D3,{enableTabLoop:this.props.enableTabLoop},m.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},n)):null;return this.state.open&&this.props.portalId&&(r=m.createElement(S3,ke({portalId:this.props.portalId},this.props),r)),m.createElement("div",null,this.renderInputContainer(),r)}return m.createElement(aA,ke({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},t}(m.Component),cA="input",Fa="navigate";const y5=e=>d.createElement("svg",{width:8,height:14,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.88318 12.8082L6.88904 12.8023C7.17609 12.5153 7.17609 12.0433 6.88904 11.7562L2.54237 7.40958C2.31609 7.18331 2.31609 6.81527 2.54237 6.589L6.88904 2.24233C7.17609 1.95527 7.17609 1.48331 6.88904 1.19625C6.60198 0.909192 6.13002 0.909192 5.84296 1.19625L1.49629 5.54292C0.695898 6.34331 0.695898 7.65527 1.49629 8.45566L5.84296 12.8023C5.99034 12.9497 6.17911 13.0193 6.366 13.0193C6.55994 13.0193 6.74372 12.9383 6.88318 12.8082Z",fill:"#898989"})),dA=h.styled.div`
|
|
6669
6669
|
display: flex;
|
|
6670
6670
|
align-items: center;
|
|
6671
6671
|
gap: 1px;
|
|
@@ -6809,7 +6809,7 @@ Check the top-level render call using <`+q+">.")}return Y}}function Kl(S,Y){{if(
|
|
|
6809
6809
|
}
|
|
6810
6810
|
`;function _5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_5(Object(n),!0).forEach(function(r){co(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function EA(e){if(Array.isArray(e))return e}function LA(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(p){u=!0,o=p}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}function MA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6811
6811
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function In(e,t){return EA(e)||LA(e,t)||hd(e,t)||MA()}function $A(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function jn(e,t){if(e==null)return{};var n,r,o=$A(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var _A=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function IA(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,o=r===void 0?!1:r,i=e.defaultValue,a=i===void 0?null:i,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,p=e.onInputChange,f=e.onMenuClose,g=e.onMenuOpen,v=e.value,C=jn(e,_A),x=m.useState(l!==void 0?l:n),b=In(x,2),y=b[0],k=b[1],w=m.useState(c!==void 0?c:o),L=In(w,2),E=L[0],$=L[1],M=m.useState(v!==void 0?v:a),_=In(M,2),D=_[0],P=_[1],N=m.useCallback(function(A,R){typeof u=="function"&&u(A,R),P(A)},[u]),F=m.useCallback(function(A,R){var W;typeof p=="function"&&(W=p(A,R)),k(W!==void 0?W:A)},[p]),V=m.useCallback(function(){typeof g=="function"&&g(),$(!0)},[g]),T=m.useCallback(function(){typeof f=="function"&&f(),$(!1)},[f]),H=l!==void 0?l:y,I=c!==void 0?c:E,j=v!==void 0?v:D;return ce(ce({},C),{},{inputValue:H,menuIsOpen:I,onChange:N,onInputChange:F,onMenuClose:T,onMenuOpen:V,value:j})}function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(null,arguments)}function SA(e){if(Array.isArray(e))return za(e)}function DA(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function AA(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6812
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hl(e){return SA(e)||DA(e)||hd(e)||AA()}function jA(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function RA(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var TA=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(RA(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=jA(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),gt="-ms-",v1="-moz-",Ee="-webkit-",R3="comm",Vl="rule",Nl="decl",FA="@import",T3="@keyframes",PA="@layer",BA=Math.abs,ea=String.fromCharCode,HA=Object.assign;function VA(e,t){return ct(e,0)^45?(((t<<2^ct(e,0))<<2^ct(e,1))<<2^ct(e,2))<<2^ct(e,3):0}function F3(e){return e.trim()}function NA(e,t){return(e=t.exec(e))?e[0]:e}function Le(e,t,n){return e.replace(t,n)}function vs(e,t){return e.indexOf(t)}function ct(e,t){return e.charCodeAt(t)|0}function Ro(e,t,n){return e.slice(t,n)}function Kt(e){return e.length}function Ol(e){return e.length}function wi(e,t){return t.push(e),e}function OA(e,t){return e.map(t).join("")}var ta=1,Yr=1,P3=0,_t=0,tt=0,Jr="";function na(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ta,column:Yr,length:a,return:""}}function so(e,t){return HA(na("",null,null,"",null,null,0),e,{length:-e.length},t)}function WA(){return tt}function ZA(){return tt=_t>0?ct(Jr,--_t):0,Yr--,tt===10&&(Yr=1,ta--),tt}function Dt(){return tt=_t<P3?ct(Jr,_t++):0,Yr++,tt===10&&(Yr=1,ta++),tt}function un(){return ct(Jr,_t)}function Bi(){return _t}function li(e,t){return Ro(Jr,e,t)}function To(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B3(e){return ta=Yr=1,P3=Kt(Jr=e),_t=0,[]}function H3(e){return Jr="",e}function Hi(e){return F3(li(_t-1,Cs(e===91?e+2:e===40?e+1:e)))}function YA(e){for(;(tt=un())&&tt<33;)Dt();return To(e)>2||To(tt)>3?"":" "}function zA(e,t){for(;--t&&Dt()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return li(e,Bi()+(t<6&&un()==32&&Dt()==32))}function Cs(e){for(;Dt();)switch(tt){case e:return _t;case 34:case 39:e!==34&&e!==39&&Cs(tt);break;case 40:e===41&&Cs(e);break;case 92:Dt();break}return _t}function GA(e,t){for(;Dt()&&e+tt!==57;)if(e+tt===84&&un()===47)break;return"/*"+li(t,_t-1)+"*"+ea(e===47?e:Dt())}function XA(e){for(;!To(un());)Dt();return li(e,_t)}function JA(e){return H3(Vi("",null,null,null,[""],e=B3(e),0,[0],e))}function Vi(e,t,n,r,o,i,a,l,c){for(var u=0,p=0,f=a,g=0,v=0,C=0,x=1,b=1,y=1,k=0,w="",L=o,E=i,$=r,M=w;b;)switch(C=k,k=Dt()){case 40:if(C!=108&&ct(M,f-1)==58){vs(M+=Le(Hi(k),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:M+=Hi(k);break;case 9:case 10:case 13:case 32:M+=YA(C);break;case 92:M+=zA(Bi()-1,7);continue;case 47:switch(un()){case 42:case 47:wi(UA(GA(Dt(),Bi()),t,n),c);break;default:M+="/"}break;case 123*x:l[u++]=Kt(M)*y;case 125*x:case 59:case 0:switch(k){case 0:case 125:b=0;case 59+p:y==-1&&(M=Le(M,/\f/g,"")),v>0&&Kt(M)-f&&wi(v>32?S5(M+";",r,n,f-1):S5(Le(M," ","")+";",r,n,f-2),c);break;case 59:M+=";";default:if(wi($=I5(M,t,n,u,p,o,l,w,L=[],E=[],f),i),k===123)if(p===0)Vi(M,t,$,$,L,i,f,l,E);else switch(g===99&&ct(M,3)===110?100:g){case 100:case 108:case 109:case 115:Vi(e,$,$,r&&wi(I5(e,$,$,0,0,o,l,w,o,L=[],f),E),o,E,f,l,r?L:E);break;default:Vi(M,$,$,$,[""],E,0,l,E)}}u=p=v=0,x=y=1,w=M="",f=a;break;case 58:f=1+Kt(M),v=C;default:if(x<1){if(k==123)--x;else if(k==125&&x++==0&&ZA()==125)continue}switch(M+=ea(k),k*x){case 38:y=p>0?1:(M+="\f",-1);break;case 44:l[u++]=(Kt(M)-1)*y,y=1;break;case 64:un()===45&&(M+=Hi(Dt())),g=un(),p=f=Kt(w=M+=XA(Bi())),k++;break;case 45:C===45&&Kt(M)==2&&(x=0)}}return i}function I5(e,t,n,r,o,i,a,l,c,u,p){for(var f=o-1,g=o===0?i:[""],v=Ol(g),C=0,x=0,b=0;C<r;++C)for(var y=0,k=Ro(e,f+1,f=BA(x=a[C])),w=e;y<v;++y)(w=F3(x>0?g[y]+" "+k:Le(k,/&\f/g,g[y])))&&(c[b++]=w);return na(e,t,n,o===0?Vl:l,c,u,p)}function UA(e,t,n){return na(e,t,n,R3,ea(WA()),Ro(e,2,-2),0)}function S5(e,t,n,r){return na(e,t,n,Nl,Ro(e,0,r),Ro(e,r+1,-1),r)}function Ar(e,t){for(var n="",r=Ol(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function QA(e,t,n,r){switch(e.type){case PA:if(e.children.length)break;case FA:case Nl:return e.return=e.return||e.value;case R3:return"";case T3:return e.return=e.value+"{"+Ar(e.children,r)+"}";case Vl:e.value=e.props.join(",")}return Kt(n=Ar(e.children,r))?e.return=e.value+"{"+n+"}":""}function KA(e){var t=Ol(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function qA(e){return function(t){t.root||(t=t.return)&&e(t)}}function ej(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tj=function(t,n,r){for(var o=0,i=0;o=i,i=un(),o===38&&i===12&&(n[r]=1),!To(i);)Dt();return li(t,_t)},nj=function(t,n){var r=-1,o=44;do switch(To(o)){case 0:o===38&&un()===12&&(n[r]=1),t[r]+=tj(_t-1,n,r);break;case 2:t[r]+=Hi(o);break;case 4:if(o===44){t[++r]=un()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=ea(o)}while(o=Dt());return t},rj=function(t,n){return H3(nj(B3(t),n))},D5=new WeakMap,oj=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!D5.get(r))&&!o){D5.set(t,!0);for(var i=[],a=rj(n,i),l=r.props,c=0,u=0;c<a.length;c++)for(var p=0;p<l.length;p++,u++)t.props[u]=i[c]?a[c].replace(/&\f/g,l[p]):l[p]+" "+a[c]}}},ij=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function V3(e,t){switch(VA(e,t)){case 5103:return Ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ee+e+v1+e+gt+e+e;case 6828:case 4268:return Ee+e+gt+e+e;case 6165:return Ee+e+gt+"flex-"+e+e;case 5187:return Ee+e+Le(e,/(\w+).+(:[^]+)/,Ee+"box-$1$2"+gt+"flex-$1$2")+e;case 5443:return Ee+e+gt+"flex-item-"+Le(e,/flex-|-self/,"")+e;case 4675:return Ee+e+gt+"flex-line-pack"+Le(e,/align-content|flex-|-self/,"")+e;case 5548:return Ee+e+gt+Le(e,"shrink","negative")+e;case 5292:return Ee+e+gt+Le(e,"basis","preferred-size")+e;case 6060:return Ee+"box-"+Le(e,"-grow","")+Ee+e+gt+Le(e,"grow","positive")+e;case 4554:return Ee+Le(e,/([^-])(transform)/g,"$1"+Ee+"$2")+e;case 6187:return Le(Le(Le(e,/(zoom-|grab)/,Ee+"$1"),/(image-set)/,Ee+"$1"),e,"")+e;case 5495:case 3959:return Le(e,/(image-set\([^]*)/,Ee+"$1$`$1");case 4968:return Le(Le(e,/(.+:)(flex-)?(.*)/,Ee+"box-pack:$3"+gt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ee+e+e;case 4095:case 3583:case 4068:case 2532:return Le(e,/(.+)-inline(.+)/,Ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kt(e)-1-t>6)switch(ct(e,t+1)){case 109:if(ct(e,t+4)!==45)break;case 102:return Le(e,/(.+:)(.+)-([^]+)/,"$1"+Ee+"$2-$3$1"+v1+(ct(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~vs(e,"stretch")?V3(Le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ct(e,t+1)!==115)break;case 6444:switch(ct(e,Kt(e)-3-(~vs(e,"!important")&&10))){case 107:return Le(e,":",":"+Ee)+e;case 101:return Le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ee+(ct(e,14)===45?"inline-":"")+"box$3$1"+Ee+"$2$3$1"+gt+"$2box$3")+e}break;case 5936:switch(ct(e,t+11)){case 114:return Ee+e+gt+Le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ee+e+gt+Le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ee+e+gt+Le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ee+e+gt+e+e}return e}var aj=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Nl:t.return=V3(t.value,t.length);break;case T3:return Ar([so(t,{value:Le(t.value,"@","@"+Ee)})],o);case Vl:if(t.length)return OA(t.props,function(i){switch(NA(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ar([so(t,{props:[Le(i,/:(read-\w+)/,":"+v1+"$1")]})],o);case"::placeholder":return Ar([so(t,{props:[Le(i,/:(plac\w+)/,":"+Ee+"input-$1")]}),so(t,{props:[Le(i,/:(plac\w+)/,":"+v1+"$1")]}),so(t,{props:[Le(i,/:(plac\w+)/,gt+"input-$1")]})],o)}return""})}},sj=[aj],lj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var b=x.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||sj,i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var b=x.getAttribute("data-emotion").split(" "),y=1;y<b.length;y++)i[b[y]]=!0;l.push(x)});var c,u=[oj,ij];{var p,f=[QA,qA(function(x){p.insert(x)})],g=KA(u.concat(o,f)),v=function(b){return Ar(JA(b),g)};c=function(b,y,k,w){p=k,v(b?b+"{"+y.styles+"}":y.styles),w&&(C.inserted[y.name]=!0)}}var C={key:n,sheet:new TA({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return C.sheet.hydrate(l),C},ki={exports:{}},Ie={};/** @license React v16.13.1
|
|
6812
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hl(e){return SA(e)||DA(e)||hd(e)||AA()}function jA(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function RA(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var TA=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(RA(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=jA(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),gt="-ms-",v1="-moz-",Ee="-webkit-",R3="comm",Vl="rule",Nl="decl",FA="@import",T3="@keyframes",PA="@layer",BA=Math.abs,ea=String.fromCharCode,HA=Object.assign;function VA(e,t){return ct(e,0)^45?(((t<<2^ct(e,0))<<2^ct(e,1))<<2^ct(e,2))<<2^ct(e,3):0}function F3(e){return e.trim()}function NA(e,t){return(e=t.exec(e))?e[0]:e}function Le(e,t,n){return e.replace(t,n)}function vs(e,t){return e.indexOf(t)}function ct(e,t){return e.charCodeAt(t)|0}function Ro(e,t,n){return e.slice(t,n)}function qt(e){return e.length}function Ol(e){return e.length}function wi(e,t){return t.push(e),e}function OA(e,t){return e.map(t).join("")}var ta=1,Yr=1,P3=0,_t=0,tt=0,Jr="";function na(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ta,column:Yr,length:a,return:""}}function so(e,t){return HA(na("",null,null,"",null,null,0),e,{length:-e.length},t)}function WA(){return tt}function ZA(){return tt=_t>0?ct(Jr,--_t):0,Yr--,tt===10&&(Yr=1,ta--),tt}function Dt(){return tt=_t<P3?ct(Jr,_t++):0,Yr++,tt===10&&(Yr=1,ta++),tt}function pn(){return ct(Jr,_t)}function Bi(){return _t}function li(e,t){return Ro(Jr,e,t)}function To(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B3(e){return ta=Yr=1,P3=qt(Jr=e),_t=0,[]}function H3(e){return Jr="",e}function Hi(e){return F3(li(_t-1,Cs(e===91?e+2:e===40?e+1:e)))}function YA(e){for(;(tt=pn())&&tt<33;)Dt();return To(e)>2||To(tt)>3?"":" "}function zA(e,t){for(;--t&&Dt()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return li(e,Bi()+(t<6&&pn()==32&&Dt()==32))}function Cs(e){for(;Dt();)switch(tt){case e:return _t;case 34:case 39:e!==34&&e!==39&&Cs(tt);break;case 40:e===41&&Cs(e);break;case 92:Dt();break}return _t}function GA(e,t){for(;Dt()&&e+tt!==57;)if(e+tt===84&&pn()===47)break;return"/*"+li(t,_t-1)+"*"+ea(e===47?e:Dt())}function XA(e){for(;!To(pn());)Dt();return li(e,_t)}function JA(e){return H3(Vi("",null,null,null,[""],e=B3(e),0,[0],e))}function Vi(e,t,n,r,o,i,a,l,c){for(var u=0,p=0,f=a,g=0,v=0,C=0,x=1,b=1,y=1,k=0,w="",L=o,E=i,$=r,M=w;b;)switch(C=k,k=Dt()){case 40:if(C!=108&&ct(M,f-1)==58){vs(M+=Le(Hi(k),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:M+=Hi(k);break;case 9:case 10:case 13:case 32:M+=YA(C);break;case 92:M+=zA(Bi()-1,7);continue;case 47:switch(pn()){case 42:case 47:wi(UA(GA(Dt(),Bi()),t,n),c);break;default:M+="/"}break;case 123*x:l[u++]=qt(M)*y;case 125*x:case 59:case 0:switch(k){case 0:case 125:b=0;case 59+p:y==-1&&(M=Le(M,/\f/g,"")),v>0&&qt(M)-f&&wi(v>32?S5(M+";",r,n,f-1):S5(Le(M," ","")+";",r,n,f-2),c);break;case 59:M+=";";default:if(wi($=I5(M,t,n,u,p,o,l,w,L=[],E=[],f),i),k===123)if(p===0)Vi(M,t,$,$,L,i,f,l,E);else switch(g===99&&ct(M,3)===110?100:g){case 100:case 108:case 109:case 115:Vi(e,$,$,r&&wi(I5(e,$,$,0,0,o,l,w,o,L=[],f),E),o,E,f,l,r?L:E);break;default:Vi(M,$,$,$,[""],E,0,l,E)}}u=p=v=0,x=y=1,w=M="",f=a;break;case 58:f=1+qt(M),v=C;default:if(x<1){if(k==123)--x;else if(k==125&&x++==0&&ZA()==125)continue}switch(M+=ea(k),k*x){case 38:y=p>0?1:(M+="\f",-1);break;case 44:l[u++]=(qt(M)-1)*y,y=1;break;case 64:pn()===45&&(M+=Hi(Dt())),g=pn(),p=f=qt(w=M+=XA(Bi())),k++;break;case 45:C===45&&qt(M)==2&&(x=0)}}return i}function I5(e,t,n,r,o,i,a,l,c,u,p){for(var f=o-1,g=o===0?i:[""],v=Ol(g),C=0,x=0,b=0;C<r;++C)for(var y=0,k=Ro(e,f+1,f=BA(x=a[C])),w=e;y<v;++y)(w=F3(x>0?g[y]+" "+k:Le(k,/&\f/g,g[y])))&&(c[b++]=w);return na(e,t,n,o===0?Vl:l,c,u,p)}function UA(e,t,n){return na(e,t,n,R3,ea(WA()),Ro(e,2,-2),0)}function S5(e,t,n,r){return na(e,t,n,Nl,Ro(e,0,r),Ro(e,r+1,-1),r)}function Ar(e,t){for(var n="",r=Ol(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function QA(e,t,n,r){switch(e.type){case PA:if(e.children.length)break;case FA:case Nl:return e.return=e.return||e.value;case R3:return"";case T3:return e.return=e.value+"{"+Ar(e.children,r)+"}";case Vl:e.value=e.props.join(",")}return qt(n=Ar(e.children,r))?e.return=e.value+"{"+n+"}":""}function KA(e){var t=Ol(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function qA(e){return function(t){t.root||(t=t.return)&&e(t)}}function ej(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tj=function(t,n,r){for(var o=0,i=0;o=i,i=pn(),o===38&&i===12&&(n[r]=1),!To(i);)Dt();return li(t,_t)},nj=function(t,n){var r=-1,o=44;do switch(To(o)){case 0:o===38&&pn()===12&&(n[r]=1),t[r]+=tj(_t-1,n,r);break;case 2:t[r]+=Hi(o);break;case 4:if(o===44){t[++r]=pn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=ea(o)}while(o=Dt());return t},rj=function(t,n){return H3(nj(B3(t),n))},D5=new WeakMap,oj=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!D5.get(r))&&!o){D5.set(t,!0);for(var i=[],a=rj(n,i),l=r.props,c=0,u=0;c<a.length;c++)for(var p=0;p<l.length;p++,u++)t.props[u]=i[c]?a[c].replace(/&\f/g,l[p]):l[p]+" "+a[c]}}},ij=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function V3(e,t){switch(VA(e,t)){case 5103:return Ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ee+e+v1+e+gt+e+e;case 6828:case 4268:return Ee+e+gt+e+e;case 6165:return Ee+e+gt+"flex-"+e+e;case 5187:return Ee+e+Le(e,/(\w+).+(:[^]+)/,Ee+"box-$1$2"+gt+"flex-$1$2")+e;case 5443:return Ee+e+gt+"flex-item-"+Le(e,/flex-|-self/,"")+e;case 4675:return Ee+e+gt+"flex-line-pack"+Le(e,/align-content|flex-|-self/,"")+e;case 5548:return Ee+e+gt+Le(e,"shrink","negative")+e;case 5292:return Ee+e+gt+Le(e,"basis","preferred-size")+e;case 6060:return Ee+"box-"+Le(e,"-grow","")+Ee+e+gt+Le(e,"grow","positive")+e;case 4554:return Ee+Le(e,/([^-])(transform)/g,"$1"+Ee+"$2")+e;case 6187:return Le(Le(Le(e,/(zoom-|grab)/,Ee+"$1"),/(image-set)/,Ee+"$1"),e,"")+e;case 5495:case 3959:return Le(e,/(image-set\([^]*)/,Ee+"$1$`$1");case 4968:return Le(Le(e,/(.+:)(flex-)?(.*)/,Ee+"box-pack:$3"+gt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ee+e+e;case 4095:case 3583:case 4068:case 2532:return Le(e,/(.+)-inline(.+)/,Ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qt(e)-1-t>6)switch(ct(e,t+1)){case 109:if(ct(e,t+4)!==45)break;case 102:return Le(e,/(.+:)(.+)-([^]+)/,"$1"+Ee+"$2-$3$1"+v1+(ct(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~vs(e,"stretch")?V3(Le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ct(e,t+1)!==115)break;case 6444:switch(ct(e,qt(e)-3-(~vs(e,"!important")&&10))){case 107:return Le(e,":",":"+Ee)+e;case 101:return Le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ee+(ct(e,14)===45?"inline-":"")+"box$3$1"+Ee+"$2$3$1"+gt+"$2box$3")+e}break;case 5936:switch(ct(e,t+11)){case 114:return Ee+e+gt+Le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ee+e+gt+Le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ee+e+gt+Le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ee+e+gt+e+e}return e}var aj=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Nl:t.return=V3(t.value,t.length);break;case T3:return Ar([so(t,{value:Le(t.value,"@","@"+Ee)})],o);case Vl:if(t.length)return OA(t.props,function(i){switch(NA(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ar([so(t,{props:[Le(i,/:(read-\w+)/,":"+v1+"$1")]})],o);case"::placeholder":return Ar([so(t,{props:[Le(i,/:(plac\w+)/,":"+Ee+"input-$1")]}),so(t,{props:[Le(i,/:(plac\w+)/,":"+v1+"$1")]}),so(t,{props:[Le(i,/:(plac\w+)/,gt+"input-$1")]})],o)}return""})}},sj=[aj],lj=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var b=x.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||sj,i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var b=x.getAttribute("data-emotion").split(" "),y=1;y<b.length;y++)i[b[y]]=!0;l.push(x)});var c,u=[oj,ij];{var p,f=[QA,qA(function(x){p.insert(x)})],g=KA(u.concat(o,f)),v=function(b){return Ar(JA(b),g)};c=function(b,y,k,w){p=k,v(b?b+"{"+y.styles+"}":y.styles),w&&(C.inserted[y.name]=!0)}}var C={key:n,sheet:new TA({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return C.sheet.hydrate(l),C},ki={exports:{}},Ie={};/** @license React v16.13.1
|
|
6813
6813
|
* react-is.production.min.js
|
|
6814
6814
|
*
|
|
6815
6815
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6823,7 +6823,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6823
6823
|
*
|
|
6824
6824
|
* This source code is licensed under the MIT license found in the
|
|
6825
6825
|
* LICENSE file in the root directory of this source tree.
|
|
6826
|
-
*/var j5;function dj(){return j5||(j5=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function w(G){return typeof G=="string"||typeof G=="function"||G===r||G===u||G===i||G===o||G===f||G===g||typeof G=="object"&&G!==null&&(G.$$typeof===C||G.$$typeof===v||G.$$typeof===a||G.$$typeof===l||G.$$typeof===p||G.$$typeof===b||G.$$typeof===y||G.$$typeof===k||G.$$typeof===x)}function L(G){if(typeof G=="object"&&G!==null){var Mt=G.$$typeof;switch(Mt){case t:var ht=G.type;switch(ht){case c:case u:case r:case i:case o:case f:return ht;default:var Ge=ht&&ht.$$typeof;switch(Ge){case l:case p:case C:case v:case a:return Ge;default:return Mt}}case n:return Mt}}}var E=c,$=u,M=l,_=a,D=t,P=p,N=r,F=C,V=v,T=n,H=i,I=o,j=f,A=!1;function R(G){return A||(A=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),W(G)||L(G)===c}function W(G){return L(G)===u}function Z(G){return L(G)===l}function X(G){return L(G)===a}function me(G){return typeof G=="object"&&G!==null&&G.$$typeof===t}function re(G){return L(G)===p}function oe(G){return L(G)===r}function z(G){return L(G)===C}function te(G){return L(G)===v}function Q(G){return L(G)===n}function pe(G){return L(G)===i}function ve(G){return L(G)===o}function He(G){return L(G)===f}Se.AsyncMode=E,Se.ConcurrentMode=$,Se.ContextConsumer=M,Se.ContextProvider=_,Se.Element=D,Se.ForwardRef=P,Se.Fragment=N,Se.Lazy=F,Se.Memo=V,Se.Portal=T,Se.Profiler=H,Se.StrictMode=I,Se.Suspense=j,Se.isAsyncMode=R,Se.isConcurrentMode=W,Se.isContextConsumer=Z,Se.isContextProvider=X,Se.isElement=me,Se.isForwardRef=re,Se.isFragment=oe,Se.isLazy=z,Se.isMemo=te,Se.isPortal=Q,Se.isProfiler=pe,Se.isStrictMode=ve,Se.isSuspense=He,Se.isValidElementType=w,Se.typeOf=L}()),Se}var R5;function uj(){return R5||(R5=1,process.env.NODE_ENV==="production"?ki.exports=cj():ki.exports=dj()),ki.exports}var Pa,T5;function pj(){if(T5)return Pa;T5=1;var e=uj(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=o;function a(C){return e.isMemo(C)?o:i[C.$$typeof]||t}var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;function v(C,x,b){if(typeof x!="string"){if(g){var y=f(x);y&&y!==g&&v(C,y,b)}var k=c(x);u&&(k=k.concat(u(x)));for(var w=a(C),L=a(x),E=0;E<k.length;++E){var $=k[E];if(!n[$]&&!(b&&b[$])&&!(L&&L[$])&&!(w&&w[$])){var M=p(x,$);try{l(C,$,M)}catch{}}}}return C}return Pa=v,Pa}pj();var fj=!0;function hj(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var N3=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||fj===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},mj=function(t,n,r){N3(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function gj(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var vj={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Cj=/[A-Z]|^ms/g,xj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,O3=function(t){return t.charCodeAt(1)===45},F5=function(t){return t!=null&&typeof t!="boolean"},Ba=ej(function(e){return O3(e)?e:e.replace(Cj,"-$&").toLowerCase()}),P5=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(xj,function(r,o,i){return qt={name:o,styles:i,next:qt},o})}return vj[t]!==1&&!O3(t)&&typeof n=="number"&&n!==0?n+"px":n};function Fo(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return qt={name:o.name,styles:o.styles,next:qt},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)qt={name:a.name,styles:a.styles,next:qt},a=a.next;var l=i.styles+";";return l}return bj(e,t,n)}case"function":{if(e!==void 0){var c=qt,u=n(e);return qt=c,Fo(e,t,u)}break}}var p=n;return p}function bj(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Fo(e,t,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var l=a;F5(l)&&(r+=Ba(i)+":"+P5(i,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var c=0;c<a.length;c++)F5(a[c])&&(r+=Ba(i)+":"+P5(i,a[c])+";");else{var u=Fo(e,t,a);switch(i){case"animation":case"animationName":{r+=Ba(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}return r}var B5=/label:\s*([^\s;{]+)\s*(;|$)/g,qt;function W3(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";qt=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=Fo(n,t,i);else{var a=i;o+=a[0]}for(var l=1;l<e.length;l++)if(o+=Fo(n,t,e[l]),r){var c=i;o+=c[l]}B5.lastIndex=0;for(var u="",p;(p=B5.exec(o))!==null;)u+="-"+p[1];var f=gj(o)+u;return{name:f,styles:o,next:qt}}var yj=function(t){return t()},wj=d.useInsertionEffect?d.useInsertionEffect:!1,kj=wj||yj,Z3=d.createContext(typeof HTMLElement<"u"?lj({key:"css"}):null);Z3.Provider;var Ej=function(t){return m.forwardRef(function(n,r){var o=m.useContext(Z3);return t(n,o,r)})},Lj=d.createContext({}),Wl={}.hasOwnProperty,xs="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Mj=function(t,n){var r={};for(var o in n)Wl.call(n,o)&&(r[o]=n[o]);return r[xs]=t,r},$j=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return N3(n,r,o),kj(function(){return mj(n,r,o)}),null},_j=Ej(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[xs],i=[r],a="";typeof e.className=="string"?a=hj(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var l=W3(i,void 0,d.useContext(Lj));a+=t.key+"-"+l.name;var c={};for(var u in e)Wl.call(e,u)&&u!=="css"&&u!==xs&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),d.createElement(d.Fragment,null,d.createElement($j,{cache:t,serialized:l,isStringTag:typeof o=="string"}),d.createElement(o,c))}),Ij=_j,se=function(t,n){var r=arguments;if(n==null||!Wl.call(n,"css"))return d.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=Ij,i[1]=Mj(t,n);for(var a=2;a<o;a++)i[a]=r[a];return d.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(se||(se={}));function Zl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return W3(t)}function Sj(){var e=Zl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Dj(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var bs=m.useLayoutEffect,Aj=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],C1=function(){};function jj(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Rj(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(jj(e,a)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var H5=function(t){return Wj(t)?t.filter(Boolean):Sn(t)==="object"&&t!==null?[t]:[]},Y3=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=jn(t,Aj);return ce({},n)},Ye=function(t,n,r){var o=t.cx,i=t.getStyles,a=t.getClassNames,l=t.className;return{css:i(n,t),className:o(r??{},a(n,t),l)}};function ra(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Tj(e){return ra(e)?window.innerHeight:e.clientHeight}function z3(e){return ra(e)?window.pageYOffset:e.scrollTop}function x1(e,t){if(ra(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Fj(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function Pj(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Ei(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:C1,o=z3(e),i=t-o,a=10,l=0;function c(){l+=a;var u=Pj(l,o,i,n);x1(e,u),l<n?window.requestAnimationFrame(c):r(e)}c()}function V5(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?x1(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&x1(e,Math.max(t.offsetTop-o,0))}function Bj(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function N5(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Hj(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var G3=!1,Vj={get passive(){return G3=!0}},Li=typeof window<"u"?window:{};Li.addEventListener&&Li.removeEventListener&&(Li.addEventListener("p",C1,Vj),Li.removeEventListener("p",C1,!1));var Nj=G3;function Oj(e){return e!=null}function Wj(e){return Array.isArray(e)}function Mi(e,t,n){return e?t:n}var Zj=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=Object.entries(t).filter(function(a){var l=In(a,1),c=l[0];return!r.includes(c)});return i.reduce(function(a,l){var c=In(l,2),u=c[0],p=c[1];return a[u]=p,a},{})},Yj=["children","innerProps"],zj=["children","innerProps"];function Gj(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,c=Fj(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var p=c.getBoundingClientRect(),f=p.height,g=n.getBoundingClientRect(),v=g.bottom,C=g.height,x=g.top,b=n.offsetParent.getBoundingClientRect(),y=b.top,k=a?window.innerHeight:Tj(c),w=z3(c),L=parseInt(getComputedStyle(n).marginBottom,10),E=parseInt(getComputedStyle(n).marginTop,10),$=y-E,M=k-x,_=$+w,D=f-w-x,P=v-k+w+L,N=w+x-E,F=160;switch(o){case"auto":case"bottom":if(M>=C)return{placement:"bottom",maxHeight:t};if(D>=C&&!a)return i&&Ei(c,P,F),{placement:"bottom",maxHeight:t};if(!a&&D>=r||a&&M>=r){i&&Ei(c,P,F);var V=a?M-L:D-L;return{placement:"bottom",maxHeight:V}}if(o==="auto"||a){var T=t,H=a?$:_;return H>=r&&(T=Math.min(H-L-l,t)),{placement:"top",maxHeight:T}}if(o==="bottom")return i&&x1(c,P),{placement:"bottom",maxHeight:t};break;case"top":if($>=C)return{placement:"top",maxHeight:t};if(_>=C&&!a)return i&&Ei(c,N,F),{placement:"top",maxHeight:t};if(!a&&_>=r||a&&$>=r){var I=t;return(!a&&_>=r||a&&$>=r)&&(I=a?$-E:_-E),i&&Ei(c,N,F),{placement:"top",maxHeight:I}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function Xj(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var X3=function(t){return t==="auto"?"bottom":t},Jj=function(t,n){var r,o=t.placement,i=t.theme,a=i.borderRadius,l=i.spacing,c=i.colors;return ce((r={label:"menu"},co(r,Xj(o),"100%"),co(r,"position","absolute"),co(r,"width","100%"),co(r,"zIndex",1),r),n?{}:{backgroundColor:c.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},J3=m.createContext(null),Uj=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,l=t.menuShouldScrollIntoView,c=t.theme,u=m.useContext(J3)||{},p=u.setPortalPlacement,f=m.useRef(null),g=m.useState(o),v=In(g,2),C=v[0],x=v[1],b=m.useState(null),y=In(b,2),k=y[0],w=y[1],L=c.spacing.controlHeight;return bs(function(){var E=f.current;if(E){var $=a==="fixed",M=l&&!$,_=Gj({maxHeight:o,menuEl:E,minHeight:r,placement:i,shouldScroll:M,isFixedPosition:$,controlHeight:L});x(_.maxHeight),w(_.placement),p?.(_.placement)}},[o,i,a,l,r,p,L]),n({ref:f,placerProps:ce(ce({},t),{},{placement:k||X3(i),maxHeight:C})})},Qj=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return se("div",de({},Ye(t,"menu",{menu:!0}),{ref:r},o),n)},Kj=Qj,qj=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return ce({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},eR=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,i=t.isMulti;return se("div",de({},Ye(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},r),n)},U3=function(t,n){var r=t.theme,o=r.spacing.baseUnit,i=r.colors;return ce({textAlign:"center"},n?{}:{color:i.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},tR=U3,nR=U3,rR=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,i=jn(t,Yj);return se("div",de({},Ye(ce(ce({},i),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},oR=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,i=jn(t,zj);return se("div",de({},Ye(ce(ce({},i),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},iR=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},aR=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,i=t.innerProps,a=t.menuPlacement,l=t.menuPosition,c=m.useRef(null),u=m.useRef(null),p=m.useState(X3(a)),f=In(p,2),g=f[0],v=f[1],C=m.useMemo(function(){return{setPortalPlacement:v}},[]),x=m.useState(null),b=In(x,2),y=b[0],k=b[1],w=m.useCallback(function(){if(o){var M=Bj(o),_=l==="fixed"?0:window.pageYOffset,D=M[g]+_;(D!==y?.offset||M.left!==y?.rect.left||M.width!==y?.rect.width)&&k({offset:D,rect:M})}},[o,l,g,y?.offset,y?.rect.left,y?.rect.width]);bs(function(){w()},[w]);var L=m.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&c.current&&(u.current=nr(o,c.current,w,{elementResize:"ResizeObserver"in window}))},[o,w]);bs(function(){L()},[L]);var E=m.useCallback(function(M){c.current=M,L()},[L]);if(!n&&l!=="fixed"||!y)return null;var $=se("div",de({ref:E},Ye(ce(ce({},t),{},{offset:y.offset,position:l,rect:y.rect}),"menuPortal",{"menu-portal":!0}),i),r);return se(J3.Provider,{value:C},n?Po.createPortal($,n):$)},sR=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},lR=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,i=t.isRtl;return se("div",de({},Ye(t,"container",{"--is-disabled":o,"--is-rtl":i}),r),n)},cR=function(t,n){var r=t.theme.spacing,o=t.isMulti,i=t.hasValue,a=t.selectProps.controlShouldRenderValue;return ce({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},dR=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,i=t.hasValue;return se("div",de({},Ye(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),r),n)},uR=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},pR=function(t){var n=t.children,r=t.innerProps;return se("div",de({},Ye(t,"indicatorsContainer",{indicators:!0}),r),n)},O5,fR=["size"],hR=["innerProps","isRtl","size"];function mR(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var gR=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:mR},Q3=function(t){var n=t.size,r=jn(t,fR);return se("svg",de({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:gR},r))},Yl=function(t){return se(Q3,de({size:20},t),se("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},K3=function(t){return se(Q3,de({size:20},t),se("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},q3=function(t,n){var r=t.isFocused,o=t.theme,i=o.spacing.baseUnit,a=o.colors;return ce({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?a.neutral60:a.neutral20,padding:i*2,":hover":{color:r?a.neutral80:a.neutral40}})},vR=q3,CR=function(t){var n=t.children,r=t.innerProps;return se("div",de({},Ye(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||se(K3,null))},xR=q3,bR=function(t){var n=t.children,r=t.innerProps;return se("div",de({},Ye(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||se(Yl,null))},yR=function(t,n){var r=t.isDisabled,o=t.theme,i=o.spacing.baseUnit,a=o.colors;return ce({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},wR=function(t){var n=t.innerProps;return se("span",de({},n,Ye(t,"indicatorSeparator",{"indicator-separator":!0})))},kR=Sj(O5||(O5=Dj([`
|
|
6826
|
+
*/var j5;function dj(){return j5||(j5=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function w(G){return typeof G=="string"||typeof G=="function"||G===r||G===u||G===i||G===o||G===f||G===g||typeof G=="object"&&G!==null&&(G.$$typeof===C||G.$$typeof===v||G.$$typeof===a||G.$$typeof===l||G.$$typeof===p||G.$$typeof===b||G.$$typeof===y||G.$$typeof===k||G.$$typeof===x)}function L(G){if(typeof G=="object"&&G!==null){var Mt=G.$$typeof;switch(Mt){case t:var ht=G.type;switch(ht){case c:case u:case r:case i:case o:case f:return ht;default:var Ge=ht&&ht.$$typeof;switch(Ge){case l:case p:case C:case v:case a:return Ge;default:return Mt}}case n:return Mt}}}var E=c,$=u,M=l,_=a,D=t,P=p,N=r,F=C,V=v,T=n,H=i,I=o,j=f,A=!1;function R(G){return A||(A=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),W(G)||L(G)===c}function W(G){return L(G)===u}function Z(G){return L(G)===l}function X(G){return L(G)===a}function me(G){return typeof G=="object"&&G!==null&&G.$$typeof===t}function re(G){return L(G)===p}function oe(G){return L(G)===r}function z(G){return L(G)===C}function te(G){return L(G)===v}function Q(G){return L(G)===n}function pe(G){return L(G)===i}function ve(G){return L(G)===o}function He(G){return L(G)===f}Se.AsyncMode=E,Se.ConcurrentMode=$,Se.ContextConsumer=M,Se.ContextProvider=_,Se.Element=D,Se.ForwardRef=P,Se.Fragment=N,Se.Lazy=F,Se.Memo=V,Se.Portal=T,Se.Profiler=H,Se.StrictMode=I,Se.Suspense=j,Se.isAsyncMode=R,Se.isConcurrentMode=W,Se.isContextConsumer=Z,Se.isContextProvider=X,Se.isElement=me,Se.isForwardRef=re,Se.isFragment=oe,Se.isLazy=z,Se.isMemo=te,Se.isPortal=Q,Se.isProfiler=pe,Se.isStrictMode=ve,Se.isSuspense=He,Se.isValidElementType=w,Se.typeOf=L}()),Se}var R5;function uj(){return R5||(R5=1,process.env.NODE_ENV==="production"?ki.exports=cj():ki.exports=dj()),ki.exports}var Pa,T5;function pj(){if(T5)return Pa;T5=1;var e=uj(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=o;function a(C){return e.isMemo(C)?o:i[C.$$typeof]||t}var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;function v(C,x,b){if(typeof x!="string"){if(g){var y=f(x);y&&y!==g&&v(C,y,b)}var k=c(x);u&&(k=k.concat(u(x)));for(var w=a(C),L=a(x),E=0;E<k.length;++E){var $=k[E];if(!n[$]&&!(b&&b[$])&&!(L&&L[$])&&!(w&&w[$])){var M=p(x,$);try{l(C,$,M)}catch{}}}}return C}return Pa=v,Pa}pj();var fj=!0;function hj(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var N3=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||fj===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},mj=function(t,n,r){N3(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function gj(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var vj={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Cj=/[A-Z]|^ms/g,xj=/_EMO_([^_]+?)_([^]*?)_EMO_/g,O3=function(t){return t.charCodeAt(1)===45},F5=function(t){return t!=null&&typeof t!="boolean"},Ba=ej(function(e){return O3(e)?e:e.replace(Cj,"-$&").toLowerCase()}),P5=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(xj,function(r,o,i){return en={name:o,styles:i,next:en},o})}return vj[t]!==1&&!O3(t)&&typeof n=="number"&&n!==0?n+"px":n};function Fo(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return en={name:o.name,styles:o.styles,next:en},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)en={name:a.name,styles:a.styles,next:en},a=a.next;var l=i.styles+";";return l}return bj(e,t,n)}case"function":{if(e!==void 0){var c=en,u=n(e);return en=c,Fo(e,t,u)}break}}var p=n;return p}function bj(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Fo(e,t,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var l=a;F5(l)&&(r+=Ba(i)+":"+P5(i,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var c=0;c<a.length;c++)F5(a[c])&&(r+=Ba(i)+":"+P5(i,a[c])+";");else{var u=Fo(e,t,a);switch(i){case"animation":case"animationName":{r+=Ba(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}return r}var B5=/label:\s*([^\s;{]+)\s*(;|$)/g,en;function W3(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";en=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=Fo(n,t,i);else{var a=i;o+=a[0]}for(var l=1;l<e.length;l++)if(o+=Fo(n,t,e[l]),r){var c=i;o+=c[l]}B5.lastIndex=0;for(var u="",p;(p=B5.exec(o))!==null;)u+="-"+p[1];var f=gj(o)+u;return{name:f,styles:o,next:en}}var yj=function(t){return t()},wj=d.useInsertionEffect?d.useInsertionEffect:!1,kj=wj||yj,Z3=d.createContext(typeof HTMLElement<"u"?lj({key:"css"}):null);Z3.Provider;var Ej=function(t){return m.forwardRef(function(n,r){var o=m.useContext(Z3);return t(n,o,r)})},Lj=d.createContext({}),Wl={}.hasOwnProperty,xs="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Mj=function(t,n){var r={};for(var o in n)Wl.call(n,o)&&(r[o]=n[o]);return r[xs]=t,r},$j=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return N3(n,r,o),kj(function(){return mj(n,r,o)}),null},_j=Ej(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[xs],i=[r],a="";typeof e.className=="string"?a=hj(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var l=W3(i,void 0,d.useContext(Lj));a+=t.key+"-"+l.name;var c={};for(var u in e)Wl.call(e,u)&&u!=="css"&&u!==xs&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),d.createElement(d.Fragment,null,d.createElement($j,{cache:t,serialized:l,isStringTag:typeof o=="string"}),d.createElement(o,c))}),Ij=_j,se=function(t,n){var r=arguments;if(n==null||!Wl.call(n,"css"))return d.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=Ij,i[1]=Mj(t,n);for(var a=2;a<o;a++)i[a]=r[a];return d.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(se||(se={}));function Zl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return W3(t)}function Sj(){var e=Zl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Dj(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var bs=m.useLayoutEffect,Aj=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],C1=function(){};function jj(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Rj(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(jj(e,a)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var H5=function(t){return Wj(t)?t.filter(Boolean):Sn(t)==="object"&&t!==null?[t]:[]},Y3=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=jn(t,Aj);return ce({},n)},Ye=function(t,n,r){var o=t.cx,i=t.getStyles,a=t.getClassNames,l=t.className;return{css:i(n,t),className:o(r??{},a(n,t),l)}};function ra(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Tj(e){return ra(e)?window.innerHeight:e.clientHeight}function z3(e){return ra(e)?window.pageYOffset:e.scrollTop}function x1(e,t){if(ra(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Fj(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function Pj(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Ei(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:C1,o=z3(e),i=t-o,a=10,l=0;function c(){l+=a;var u=Pj(l,o,i,n);x1(e,u),l<n?window.requestAnimationFrame(c):r(e)}c()}function V5(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?x1(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&x1(e,Math.max(t.offsetTop-o,0))}function Bj(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function N5(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Hj(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var G3=!1,Vj={get passive(){return G3=!0}},Li=typeof window<"u"?window:{};Li.addEventListener&&Li.removeEventListener&&(Li.addEventListener("p",C1,Vj),Li.removeEventListener("p",C1,!1));var Nj=G3;function Oj(e){return e!=null}function Wj(e){return Array.isArray(e)}function Mi(e,t,n){return e?t:n}var Zj=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=Object.entries(t).filter(function(a){var l=In(a,1),c=l[0];return!r.includes(c)});return i.reduce(function(a,l){var c=In(l,2),u=c[0],p=c[1];return a[u]=p,a},{})},Yj=["children","innerProps"],zj=["children","innerProps"];function Gj(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,c=Fj(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var p=c.getBoundingClientRect(),f=p.height,g=n.getBoundingClientRect(),v=g.bottom,C=g.height,x=g.top,b=n.offsetParent.getBoundingClientRect(),y=b.top,k=a?window.innerHeight:Tj(c),w=z3(c),L=parseInt(getComputedStyle(n).marginBottom,10),E=parseInt(getComputedStyle(n).marginTop,10),$=y-E,M=k-x,_=$+w,D=f-w-x,P=v-k+w+L,N=w+x-E,F=160;switch(o){case"auto":case"bottom":if(M>=C)return{placement:"bottom",maxHeight:t};if(D>=C&&!a)return i&&Ei(c,P,F),{placement:"bottom",maxHeight:t};if(!a&&D>=r||a&&M>=r){i&&Ei(c,P,F);var V=a?M-L:D-L;return{placement:"bottom",maxHeight:V}}if(o==="auto"||a){var T=t,H=a?$:_;return H>=r&&(T=Math.min(H-L-l,t)),{placement:"top",maxHeight:T}}if(o==="bottom")return i&&x1(c,P),{placement:"bottom",maxHeight:t};break;case"top":if($>=C)return{placement:"top",maxHeight:t};if(_>=C&&!a)return i&&Ei(c,N,F),{placement:"top",maxHeight:t};if(!a&&_>=r||a&&$>=r){var I=t;return(!a&&_>=r||a&&$>=r)&&(I=a?$-E:_-E),i&&Ei(c,N,F),{placement:"top",maxHeight:I}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function Xj(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var X3=function(t){return t==="auto"?"bottom":t},Jj=function(t,n){var r,o=t.placement,i=t.theme,a=i.borderRadius,l=i.spacing,c=i.colors;return ce((r={label:"menu"},co(r,Xj(o),"100%"),co(r,"position","absolute"),co(r,"width","100%"),co(r,"zIndex",1),r),n?{}:{backgroundColor:c.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},J3=m.createContext(null),Uj=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,l=t.menuShouldScrollIntoView,c=t.theme,u=m.useContext(J3)||{},p=u.setPortalPlacement,f=m.useRef(null),g=m.useState(o),v=In(g,2),C=v[0],x=v[1],b=m.useState(null),y=In(b,2),k=y[0],w=y[1],L=c.spacing.controlHeight;return bs(function(){var E=f.current;if(E){var $=a==="fixed",M=l&&!$,_=Gj({maxHeight:o,menuEl:E,minHeight:r,placement:i,shouldScroll:M,isFixedPosition:$,controlHeight:L});x(_.maxHeight),w(_.placement),p?.(_.placement)}},[o,i,a,l,r,p,L]),n({ref:f,placerProps:ce(ce({},t),{},{placement:k||X3(i),maxHeight:C})})},Qj=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return se("div",de({},Ye(t,"menu",{menu:!0}),{ref:r},o),n)},Kj=Qj,qj=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return ce({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},eR=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,i=t.isMulti;return se("div",de({},Ye(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},r),n)},U3=function(t,n){var r=t.theme,o=r.spacing.baseUnit,i=r.colors;return ce({textAlign:"center"},n?{}:{color:i.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},tR=U3,nR=U3,rR=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,i=jn(t,Yj);return se("div",de({},Ye(ce(ce({},i),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},oR=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,i=jn(t,zj);return se("div",de({},Ye(ce(ce({},i),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},iR=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},aR=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,i=t.innerProps,a=t.menuPlacement,l=t.menuPosition,c=m.useRef(null),u=m.useRef(null),p=m.useState(X3(a)),f=In(p,2),g=f[0],v=f[1],C=m.useMemo(function(){return{setPortalPlacement:v}},[]),x=m.useState(null),b=In(x,2),y=b[0],k=b[1],w=m.useCallback(function(){if(o){var M=Bj(o),_=l==="fixed"?0:window.pageYOffset,D=M[g]+_;(D!==y?.offset||M.left!==y?.rect.left||M.width!==y?.rect.width)&&k({offset:D,rect:M})}},[o,l,g,y?.offset,y?.rect.left,y?.rect.width]);bs(function(){w()},[w]);var L=m.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&c.current&&(u.current=nr(o,c.current,w,{elementResize:"ResizeObserver"in window}))},[o,w]);bs(function(){L()},[L]);var E=m.useCallback(function(M){c.current=M,L()},[L]);if(!n&&l!=="fixed"||!y)return null;var $=se("div",de({ref:E},Ye(ce(ce({},t),{},{offset:y.offset,position:l,rect:y.rect}),"menuPortal",{"menu-portal":!0}),i),r);return se(J3.Provider,{value:C},n?Po.createPortal($,n):$)},sR=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},lR=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,i=t.isRtl;return se("div",de({},Ye(t,"container",{"--is-disabled":o,"--is-rtl":i}),r),n)},cR=function(t,n){var r=t.theme.spacing,o=t.isMulti,i=t.hasValue,a=t.selectProps.controlShouldRenderValue;return ce({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},dR=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,i=t.hasValue;return se("div",de({},Ye(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),r),n)},uR=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},pR=function(t){var n=t.children,r=t.innerProps;return se("div",de({},Ye(t,"indicatorsContainer",{indicators:!0}),r),n)},O5,fR=["size"],hR=["innerProps","isRtl","size"];function mR(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var gR=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:mR},Q3=function(t){var n=t.size,r=jn(t,fR);return se("svg",de({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:gR},r))},Yl=function(t){return se(Q3,de({size:20},t),se("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},K3=function(t){return se(Q3,de({size:20},t),se("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},q3=function(t,n){var r=t.isFocused,o=t.theme,i=o.spacing.baseUnit,a=o.colors;return ce({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?a.neutral60:a.neutral20,padding:i*2,":hover":{color:r?a.neutral80:a.neutral40}})},vR=q3,CR=function(t){var n=t.children,r=t.innerProps;return se("div",de({},Ye(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||se(K3,null))},xR=q3,bR=function(t){var n=t.children,r=t.innerProps;return se("div",de({},Ye(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||se(Yl,null))},yR=function(t,n){var r=t.isDisabled,o=t.theme,i=o.spacing.baseUnit,a=o.colors;return ce({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},wR=function(t){var n=t.innerProps;return se("span",de({},n,Ye(t,"indicatorSeparator",{"indicator-separator":!0})))},kR=Sj(O5||(O5=Dj([`
|
|
6827
6827
|
0%, 80%, 100% { opacity: 0; }
|
|
6828
6828
|
40% { opacity: 1; }
|
|
6829
6829
|
`]))),ER=function(t,n){var r=t.isFocused,o=t.size,i=t.theme,a=i.colors,l=i.spacing.baseUnit;return ce({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?a.neutral60:a.neutral20,padding:l*2})},Ha=function(t){var n=t.delay,r=t.offset;return se("span",{css:Zl({animation:"".concat(kR," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},LR=function(t){var n=t.innerProps,r=t.isRtl,o=t.size,i=o===void 0?4:o,a=jn(t,hR);return se("div",de({},Ye(ce(ce({},a),{},{innerProps:n,isRtl:r,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),se(Ha,{delay:0,offset:r}),se(Ha,{delay:160,offset:!0}),se(Ha,{delay:320,offset:!r}))},MR=function(t,n){var r=t.isDisabled,o=t.isFocused,i=t.theme,a=i.colors,l=i.borderRadius,c=i.spacing;return ce({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:c.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?a.neutral5:a.neutral0,borderColor:r?a.neutral10:o?a.primary:a.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},$R=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,i=t.innerRef,a=t.innerProps,l=t.menuIsOpen;return se("div",de({ref:i},Ye(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":l}),a,{"aria-disabled":r||void 0}),n)},_R=$R,IR=["data"],SR=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},DR=function(t){var n=t.children,r=t.cx,o=t.getStyles,i=t.getClassNames,a=t.Heading,l=t.headingProps,c=t.innerProps,u=t.label,p=t.theme,f=t.selectProps;return se("div",de({},Ye(t,"group",{group:!0}),c),se(a,de({},l,{selectProps:f,theme:p,getStyles:o,getClassNames:i,cx:r}),u),se("div",null,n))},AR=function(t,n){var r=t.theme,o=r.colors,i=r.spacing;return ce({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},jR=function(t){var n=Y3(t);n.data;var r=jn(n,IR);return se("div",de({},Ye(t,"groupHeading",{"group-heading":!0}),r))},RR=DR,TR=["innerRef","isDisabled","isHidden","inputClassName"],FR=function(t,n){var r=t.isDisabled,o=t.value,i=t.theme,a=i.spacing,l=i.colors;return ce(ce({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},PR),n?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:l.neutral80})},e6={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},PR={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ce({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},e6)},BR=function(t){return ce({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},e6)},HR=function(t){var n=t.cx,r=t.value,o=Y3(t),i=o.innerRef,a=o.isDisabled,l=o.isHidden,c=o.inputClassName,u=jn(o,TR);return se("div",de({},Ye(t,"input",{"input-container":!0}),{"data-value":r||""}),se("input",de({className:n({input:!0},c),ref:i,style:BR(l),disabled:a},u)))},VR=HR,NR=function(t,n){var r=t.theme,o=r.spacing,i=r.borderRadius,a=r.colors;return ce({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},OR=function(t,n){var r=t.theme,o=r.borderRadius,i=r.colors,a=t.cropWithEllipsis;return ce({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},WR=function(t,n){var r=t.theme,o=r.spacing,i=r.borderRadius,a=r.colors,l=t.isFocused;return ce({alignItems:"center",display:"flex"},n?{}:{borderRadius:i/2,backgroundColor:l?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},t6=function(t){var n=t.children,r=t.innerProps;return se("div",r,n)},ZR=t6,YR=t6;function zR(e){var t=e.children,n=e.innerProps;return se("div",de({role:"button"},n),t||se(Yl,{size:14}))}var GR=function(t){var n=t.children,r=t.components,o=t.data,i=t.innerProps,a=t.isDisabled,l=t.removeProps,c=t.selectProps,u=r.Container,p=r.Label,f=r.Remove;return se(u,{data:o,innerProps:ce(ce({},Ye(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:c},se(p,{data:o,innerProps:ce({},Ye(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},n),se(f,{data:o,innerProps:ce(ce({},Ye(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},l),selectProps:c}))},XR=GR,JR=function(t,n){var r=t.isDisabled,o=t.isFocused,i=t.isSelected,a=t.theme,l=a.spacing,c=a.colors;return ce({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:i?c.primary:o?c.primary25:"transparent",color:r?c.neutral20:i?c.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:i?c.primary:c.primary50}})},UR=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,i=t.isSelected,a=t.innerRef,l=t.innerProps;return se("div",de({},Ye(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":i}),{ref:a,"aria-disabled":r},l),n)},QR=UR,KR=function(t,n){var r=t.theme,o=r.spacing,i=r.colors;return ce({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},qR=function(t){var n=t.children,r=t.innerProps;return se("div",de({},Ye(t,"placeholder",{placeholder:!0}),r),n)},eT=qR,tT=function(t,n){var r=t.isDisabled,o=t.theme,i=o.spacing,a=o.colors;return ce({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},nT=function(t){var n=t.children,r=t.isDisabled,o=t.innerProps;return se("div",de({},Ye(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},rT=nT,ft={ClearIndicator:bR,Control:_R,DropdownIndicator:CR,DownChevron:K3,CrossIcon:Yl,Group:RR,GroupHeading:jR,IndicatorsContainer:pR,IndicatorSeparator:wR,Input:VR,LoadingIndicator:LR,Menu:Kj,MenuList:eR,MenuPortal:aR,LoadingMessage:oR,NoOptionsMessage:rR,MultiValue:XR,MultiValueContainer:ZR,MultiValueLabel:YR,MultiValueRemove:zR,Option:QR,Placeholder:eT,SelectContainer:lR,SingleValue:rT,ValueContainer:dR},oT=function(t){return ce(ce({},ft),t.components)},W5=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function iT(e,t){return!!(e===t||W5(e)&&W5(t))}function aT(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!iT(e[n],t[n]))return!1;return!0}function sT(e,t){t===void 0&&(t=aT);var n=null;function r(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var a=e.apply(this,o);return n={lastResult:a,lastArgs:o,lastThis:this},a}return r.clear=function(){n=null},r}function lT(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var cT=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:lT},dT=function(t){return se("span",de({css:cT},t))},Z5=dT,uT={guidance:function(t){var n=t.isSearchable,r=t.isMulti,o=t.tabSelectsValue,i=t.context,a=t.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,o=r===void 0?"":r,i=t.labels,a=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,o=t.options,i=t.label,a=i===void 0?"":i,l=t.selectValue,c=t.isDisabled,u=t.isSelected,p=t.isAppleDevice,f=function(x,b){return x&&x.length?"".concat(x.indexOf(b)+1," of ").concat(x.length):""};if(n==="value"&&l)return"value ".concat(a," focused, ").concat(f(l,r),".");if(n==="menu"&&p){var g=c?" disabled":"",v="".concat(u?" selected":"").concat(g);return"".concat(a).concat(v,", ").concat(f(o,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},pT=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.focusableOptions,a=t.isFocused,l=t.selectValue,c=t.selectProps,u=t.id,p=t.isAppleDevice,f=c.ariaLiveMessages,g=c.getOptionLabel,v=c.inputValue,C=c.isMulti,x=c.isOptionDisabled,b=c.isSearchable,y=c.menuIsOpen,k=c.options,w=c.screenReaderStatus,L=c.tabSelectsValue,E=c.isLoading,$=c["aria-label"],M=c["aria-live"],_=m.useMemo(function(){return ce(ce({},uT),f||{})},[f]),D=m.useMemo(function(){var H="";if(n&&_.onChange){var I=n.option,j=n.options,A=n.removedValue,R=n.removedValues,W=n.value,Z=function(Q){return Array.isArray(Q)?null:Q},X=A||I||Z(W),me=X?g(X):"",re=j||R||void 0,oe=re?re.map(g):[],z=ce({isDisabled:X&&x(X,l),label:me,labels:oe},n);H=_.onChange(z)}return H},[n,_,x,l,g]),P=m.useMemo(function(){var H="",I=r||o,j=!!(r&&l&&l.includes(r));if(I&&_.onFocus){var A={focused:I,label:g(I),isDisabled:x(I,l),isSelected:j,options:i,context:I===r?"menu":"value",selectValue:l,isAppleDevice:p};H=_.onFocus(A)}return H},[r,o,g,x,_,i,l,p]),N=m.useMemo(function(){var H="";if(y&&k.length&&!E&&_.onFilter){var I=w({count:i.length});H=_.onFilter({inputValue:v,resultsMessage:I})}return H},[i,v,y,_,k,w,E]),F=n?.action==="initial-input-focus",V=m.useMemo(function(){var H="";if(_.guidance){var I=o?"value":y?"menu":"input";H=_.guidance({"aria-label":$,context:I,isDisabled:r&&x(r,l),isMulti:C,isSearchable:b,tabSelectsValue:L,isInitialFocus:F})}return H},[$,r,o,C,x,b,y,_,l,L,F]),T=se(m.Fragment,null,se("span",{id:"aria-selection"},D),se("span",{id:"aria-focused"},P),se("span",{id:"aria-results"},N),se("span",{id:"aria-guidance"},V));return se(m.Fragment,null,se(Z5,{id:u},F&&T),se(Z5,{"aria-live":M,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!F&&T))},fT=pT,ys=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],hT=new RegExp("["+ys.map(function(e){return e.letters}).join("")+"]","g"),n6={};for(var Va=0;Va<ys.length;Va++)for(var Na=ys[Va],Oa=0;Oa<Na.letters.length;Oa++)n6[Na.letters[Oa]]=Na.base;var r6=function(t){return t.replace(hT,function(n){return n6[n]})},mT=sT(r6),Y5=function(t){return t.replace(/^\s+|\s+$/g,"")},gT=function(t){return"".concat(t.label," ").concat(t.value)},vT=function(t){return function(n,r){if(n.data.__isNew__)return!0;var o=ce({ignoreCase:!0,ignoreAccents:!0,stringify:gT,trim:!0,matchFrom:"any"},t),i=o.ignoreCase,a=o.ignoreAccents,l=o.stringify,c=o.trim,u=o.matchFrom,p=c?Y5(r):r,f=c?Y5(l(n)):l(n);return i&&(p=p.toLowerCase(),f=f.toLowerCase()),a&&(p=mT(p),f=r6(f)),u==="start"?f.substr(0,p.length)===p:f.indexOf(p)>-1}},CT=["innerRef"];function xT(e){var t=e.innerRef,n=jn(e,CT),r=Zj(n,"onExited","in","enter","exit","appear");return se("input",de({ref:t},r,{css:Zl({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var bT=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function yT(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=m.useRef(!1),l=m.useRef(!1),c=m.useRef(0),u=m.useRef(null),p=m.useCallback(function(b,y){if(u.current!==null){var k=u.current,w=k.scrollTop,L=k.scrollHeight,E=k.clientHeight,$=u.current,M=y>0,_=L-E-w,D=!1;_>y&&a.current&&(r&&r(b),a.current=!1),M&&l.current&&(i&&i(b),l.current=!1),M&&y>_?(n&&!a.current&&n(b),$.scrollTop=L,D=!0,a.current=!0):!M&&-y>w&&(o&&!l.current&&o(b),$.scrollTop=0,D=!0,l.current=!0),D&&bT(b)}},[n,r,o,i]),f=m.useCallback(function(b){p(b,b.deltaY)},[p]),g=m.useCallback(function(b){c.current=b.changedTouches[0].clientY},[]),v=m.useCallback(function(b){var y=c.current-b.changedTouches[0].clientY;p(b,y)},[p]),C=m.useCallback(function(b){if(b){var y=Nj?{passive:!1}:!1;b.addEventListener("wheel",f,y),b.addEventListener("touchstart",g,y),b.addEventListener("touchmove",v,y)}},[v,g,f]),x=m.useCallback(function(b){b&&(b.removeEventListener("wheel",f,!1),b.removeEventListener("touchstart",g,!1),b.removeEventListener("touchmove",v,!1))},[v,g,f]);return m.useEffect(function(){if(t){var b=u.current;return C(b),function(){x(b)}}},[t,C,x]),function(b){u.current=b}}var z5=["boxSizing","height","overflow","paddingRight","position"],G5={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function X5(e){e.cancelable&&e.preventDefault()}function J5(e){e.stopPropagation()}function U5(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Q5(){return"ontouchstart"in window||navigator.maxTouchPoints}var K5=!!(typeof window<"u"&&window.document&&window.document.createElement),lo=0,wr={capture:!1,passive:!1};function wT(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,o=m.useRef({}),i=m.useRef(null),a=m.useCallback(function(c){if(K5){var u=document.body,p=u&&u.style;if(r&&z5.forEach(function(C){var x=p&&p[C];o.current[C]=x}),r&&lo<1){var f=parseInt(o.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,v=window.innerWidth-g+f||0;Object.keys(G5).forEach(function(C){var x=G5[C];p&&(p[C]=x)}),p&&(p.paddingRight="".concat(v,"px"))}u&&Q5()&&(u.addEventListener("touchmove",X5,wr),c&&(c.addEventListener("touchstart",U5,wr),c.addEventListener("touchmove",J5,wr))),lo+=1}},[r]),l=m.useCallback(function(c){if(K5){var u=document.body,p=u&&u.style;lo=Math.max(lo-1,0),r&&lo<1&&z5.forEach(function(f){var g=o.current[f];p&&(p[f]=g)}),u&&Q5()&&(u.removeEventListener("touchmove",X5,wr),c&&(c.removeEventListener("touchstart",U5,wr),c.removeEventListener("touchmove",J5,wr)))}},[r]);return m.useEffect(function(){if(t){var c=i.current;return a(c),function(){l(c)}}},[t,a,l]),function(c){i.current=c}}function kT(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ET=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},LT=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:kT};function MT(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=r===void 0?!0:r,i=e.onBottomArrive,a=e.onBottomLeave,l=e.onTopArrive,c=e.onTopLeave,u=yT({isEnabled:o,onBottomArrive:i,onBottomLeave:a,onTopArrive:l,onTopLeave:c}),p=wT({isEnabled:n}),f=function(v){u(v),p(v)};return se(m.Fragment,null,n&&se("div",{onClick:ET,css:LT}),t(f))}function $T(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var _T=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:$T},IT=function(t){var n=t.name,r=t.onFocus;return se("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:_T,value:"",onChange:function(){}})},ST=IT;function zl(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function DT(){return zl(/^iPhone/i)}function o6(){return zl(/^Mac/i)}function AT(){return zl(/^iPad/i)||o6()&&navigator.maxTouchPoints>1}function jT(){return DT()||AT()}function RT(){return o6()||jT()}var TT=function(t){return t.label},FT=function(t){return t.label},PT=function(t){return t.value},BT=function(t){return!!t.isDisabled},HT={clearIndicator:xR,container:sR,control:MR,dropdownIndicator:vR,group:SR,groupHeading:AR,indicatorsContainer:uR,indicatorSeparator:yR,input:FR,loadingIndicator:ER,loadingMessage:nR,menu:Jj,menuList:qj,menuPortal:iR,multiValue:NR,multiValueLabel:OR,multiValueRemove:WR,noOptionsMessage:tR,option:JR,placeholder:KR,singleValue:tT,valueContainer:cR},VT={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},NT=4,i6=4,OT=38,WT=i6*2,ZT={baseUnit:i6,controlHeight:OT,menuGutter:WT},Wa={borderRadius:NT,colors:VT,spacing:ZT},YT={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:N5(),captureMenuScroll:!N5(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:vT(),formatGroupLabel:TT,getOptionLabel:FT,getOptionValue:PT,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:BT,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Hj(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function q5(e,t,n,r){var o=l6(e,t,n),i=c6(e,t,n),a=s6(e,t),l=b1(e,t);return{type:"option",data:t,isDisabled:o,isSelected:i,label:a,value:l,index:r}}function Ni(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(a,l){return q5(e,a,t,l)}).filter(function(a){return td(e,a)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=q5(e,n,t,r);return td(e,i)?i:void 0}).filter(Oj)}function a6(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Hl(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function ed(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Hl(r.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function zT(e,t){return a6(Ni(e,t))}function td(e,t){var n=e.inputValue,r=n===void 0?"":n,o=t.data,i=t.isSelected,a=t.label,l=t.value;return(!u6(e)||!i)&&d6(e,{label:a,value:l,data:o},r)}function GT(e,t){var n=e.focusedValue,r=e.selectValue,o=r.indexOf(n);if(o>-1){var i=t.indexOf(n);if(i>-1)return n;if(o<t.length)return t[o]}return null}function XT(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Za=function(t,n){var r,o=(r=t.find(function(i){return i.data===n}))===null||r===void 0?void 0:r.id;return o||null},s6=function(t,n){return t.getOptionLabel(n)},b1=function(t,n){return t.getOptionValue(n)};function l6(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function c6(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=b1(e,t);return n.some(function(o){return b1(e,o)===r})}function d6(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var u6=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},JT=1,p6=function(e){V9(n,e);var t=O9(n);function n(r){var o;if(W9(this,n),o=t.call(this,r),o.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=RT(),o.controlRef=null,o.getControlRef=function(c){o.controlRef=c},o.focusedOptionRef=null,o.getFocusedOptionRef=function(c){o.focusedOptionRef=c},o.menuListRef=null,o.getMenuListRef=function(c){o.menuListRef=c},o.inputRef=null,o.getInputRef=function(c){o.inputRef=c},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(c,u){var p=o.props,f=p.onChange,g=p.name;u.name=g,o.ariaOnChange(c,u),f(c,u)},o.setValue=function(c,u,p){var f=o.props,g=f.closeMenuOnSelect,v=f.isMulti,C=f.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:C}),g&&(o.setState({inputIsHiddenAfterUpdate:!v}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(c,{action:u,option:p})},o.selectOption=function(c){var u=o.props,p=u.blurInputOnSelect,f=u.isMulti,g=u.name,v=o.state.selectValue,C=f&&o.isOptionSelected(c,v),x=o.isOptionDisabled(c,v);if(C){var b=o.getOptionValue(c);o.setValue(v.filter(function(y){return o.getOptionValue(y)!==b}),"deselect-option",c)}else if(!x)f?o.setValue([].concat(Hl(v),[c]),"select-option",c):o.setValue(c,"select-option");else{o.ariaOnChange(c,{action:"select-option",option:c,name:g});return}p&&o.blurInput()},o.removeValue=function(c){var u=o.props.isMulti,p=o.state.selectValue,f=o.getOptionValue(c),g=p.filter(function(C){return o.getOptionValue(C)!==f}),v=Mi(u,g,g[0]||null);o.onChange(v,{action:"remove-value",removedValue:c}),o.focusInput()},o.clearValue=function(){var c=o.state.selectValue;o.onChange(Mi(o.props.isMulti,[],null),{action:"clear",removedValues:c})},o.popValue=function(){var c=o.props.isMulti,u=o.state.selectValue,p=u[u.length-1],f=u.slice(0,u.length-1),g=Mi(c,f,f[0]||null);p&&o.onChange(g,{action:"pop-value",removedValue:p})},o.getFocusedOptionId=function(c){return Za(o.state.focusableOptionsWithIds,c)},o.getFocusableOptionsWithIds=function(){return ed(Ni(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var c=arguments.length,u=new Array(c),p=0;p<c;p++)u[p]=arguments[p];return Rj.apply(void 0,[o.props.classNamePrefix].concat(u))},o.getOptionLabel=function(c){return s6(o.props,c)},o.getOptionValue=function(c){return b1(o.props,c)},o.getStyles=function(c,u){var p=o.props.unstyled,f=HT[c](u,p);f.boxSizing="border-box";var g=o.props.styles[c];return g?g(f,u):f},o.getClassNames=function(c,u){var p,f;return(p=(f=o.props.classNames)[c])===null||p===void 0?void 0:p.call(f,u)},o.getElementId=function(c){return"".concat(o.state.instancePrefix,"-").concat(c)},o.getComponents=function(){return oT(o.props)},o.buildCategorizedOptions=function(){return Ni(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return a6(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(c,u){o.setState({ariaSelection:ce({value:c},u)})},o.onMenuMouseDown=function(c){c.button===0&&(c.stopPropagation(),c.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(c){o.blockOptionHover=!1},o.onControlMouseDown=function(c){if(!c.defaultPrevented){var u=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&o.onMenuClose():u&&o.openMenu("first"):(u&&(o.openAfterFocus=!0),o.focusInput()),c.target.tagName!=="INPUT"&&c.target.tagName!=="TEXTAREA"&&c.preventDefault()}},o.onDropdownIndicatorMouseDown=function(c){if(!(c&&c.type==="mousedown"&&c.button!==0)&&!o.props.isDisabled){var u=o.props,p=u.isMulti,f=u.menuIsOpen;o.focusInput(),f?(o.setState({inputIsHiddenAfterUpdate:!p}),o.onMenuClose()):o.openMenu("first"),c.preventDefault()}},o.onClearIndicatorMouseDown=function(c){c&&c.type==="mousedown"&&c.button!==0||(o.clearValue(),c.preventDefault(),o.openAfterFocus=!1,c.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(c){typeof o.props.closeMenuOnScroll=="boolean"?c.target instanceof HTMLElement&&ra(c.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(c)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(c){var u=c.touches,p=u&&u.item(0);p&&(o.initialTouchX=p.clientX,o.initialTouchY=p.clientY,o.userIsDragging=!1)},o.onTouchMove=function(c){var u=c.touches,p=u&&u.item(0);if(p){var f=Math.abs(p.clientX-o.initialTouchX),g=Math.abs(p.clientY-o.initialTouchY),v=5;o.userIsDragging=f>v||g>v}},o.onTouchEnd=function(c){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(c.target)&&o.menuListRef&&!o.menuListRef.contains(c.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(c){o.userIsDragging||o.onControlMouseDown(c)},o.onClearIndicatorTouchEnd=function(c){o.userIsDragging||o.onClearIndicatorMouseDown(c)},o.onDropdownIndicatorTouchEnd=function(c){o.userIsDragging||o.onDropdownIndicatorMouseDown(c)},o.handleInputChange=function(c){var u=o.props.inputValue,p=c.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(p,{action:"input-change",prevInputValue:u}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(c){o.props.onFocus&&o.props.onFocus(c),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(c){var u=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(c),o.onInputChange("",{action:"input-blur",prevInputValue:u}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(c){if(!(o.blockOptionHover||o.state.focusedOption===c)){var u=o.getFocusableOptions(),p=u.indexOf(c);o.setState({focusedOption:c,focusedOptionId:p>-1?o.getFocusedOptionId(c):null})}},o.shouldHideSelectedOptions=function(){return u6(o.props)},o.onValueInputFocus=function(c){c.preventDefault(),c.stopPropagation(),o.focus()},o.onKeyDown=function(c){var u=o.props,p=u.isMulti,f=u.backspaceRemovesValue,g=u.escapeClearsValue,v=u.inputValue,C=u.isClearable,x=u.isDisabled,b=u.menuIsOpen,y=u.onKeyDown,k=u.tabSelectsValue,w=u.openMenuOnFocus,L=o.state,E=L.focusedOption,$=L.focusedValue,M=L.selectValue;if(!x&&!(typeof y=="function"&&(y(c),c.defaultPrevented))){switch(o.blockOptionHover=!0,c.key){case"ArrowLeft":if(!p||v)return;o.focusValue("previous");break;case"ArrowRight":if(!p||v)return;o.focusValue("next");break;case"Delete":case"Backspace":if(v)return;if($)o.removeValue($);else{if(!f)return;p?o.popValue():C&&o.clearValue()}break;case"Tab":if(o.isComposing||c.shiftKey||!b||!k||!E||w&&o.isOptionSelected(E,M))return;o.selectOption(E);break;case"Enter":if(c.keyCode===229)break;if(b){if(!E||o.isComposing)return;o.selectOption(E);break}return;case"Escape":b?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:v}),o.onMenuClose()):C&&g&&o.clearValue();break;case" ":if(v)return;if(!b){o.openMenu("first");break}if(!E)return;o.selectOption(E);break;case"ArrowUp":b?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":b?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!b)return;o.focusOption("pageup");break;case"PageDown":if(!b)return;o.focusOption("pagedown");break;case"Home":if(!b)return;o.focusOption("first");break;case"End":if(!b)return;o.focusOption("last");break;default:return}c.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++JT),o.state.selectValue=H5(r.value),r.menuIsOpen&&o.state.selectValue.length){var i=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),l=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=i,o.state.focusedOption=a[l],o.state.focusedOptionId=Za(i,a[l])}return o}return Y9(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&V5(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var i=this.props,a=i.isDisabled,l=i.menuIsOpen,c=this.state.isFocused;(c&&!a&&o.isDisabled||c&&l&&!o.menuIsOpen)&&this.focusInput(),c&&a&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!c&&!a&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(V5(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(o,i){this.props.onInputChange(o,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var i=this,a=this.state,l=a.selectValue,c=a.isFocused,u=this.buildFocusableOptions(),p=o==="first"?0:u.length-1;if(!this.props.isMulti){var f=u.indexOf(l[0]);f>-1&&(p=f)}this.scrollToFocusedOptionOnUpdate=!(c&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[p],focusedOptionId:this.getFocusedOptionId(u[p])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(o){var i=this.state,a=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var c=a.indexOf(l);l||(c=-1);var u=a.length-1,p=-1;if(a.length){switch(o){case"previous":c===0?p=0:c===-1?p=u:p=c-1;break;case"next":c>-1&&c<u&&(p=c+1);break}this.setState({inputIsHidden:p!==-1,focusedValue:a[p]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,a=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var c=0,u=l.indexOf(a);a||(u=-1),o==="up"?c=u>0?u-1:l.length-1:o==="down"?c=(u+1)%l.length:o==="pageup"?(c=u-i,c<0&&(c=0)):o==="pagedown"?(c=u+i,c>l.length-1&&(c=l.length-1)):o==="last"&&(c=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[c],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[c])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Wa):ce(ce({},Wa),this.props.theme):Wa}},{key:"getCommonProps",value:function(){var o=this.clearValue,i=this.cx,a=this.getStyles,l=this.getClassNames,c=this.getValue,u=this.selectOption,p=this.setValue,f=this.props,g=f.isMulti,v=f.isRtl,C=f.options,x=this.hasValue();return{clearValue:o,cx:i,getStyles:a,getClassNames:l,getValue:c,hasValue:x,isMulti:g,isRtl:v,options:C,selectOption:u,selectProps:f,setValue:p,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,i=o.isClearable,a=o.isMulti;return i===void 0?a:i}},{key:"isOptionDisabled",value:function(o,i){return l6(this.props,o,i)}},{key:"isOptionSelected",value:function(o,i){return c6(this.props,o,i)}},{key:"filterOption",value:function(o,i){return d6(this.props,o,i)}},{key:"formatOptionLabel",value:function(o,i){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(o,{context:i,inputValue:a,selectValue:l})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var o=this.props,i=o.isDisabled,a=o.isSearchable,l=o.inputId,c=o.inputValue,u=o.tabIndex,p=o.form,f=o.menuIsOpen,g=o.required,v=this.getComponents(),C=v.Input,x=this.state,b=x.inputIsHidden,y=x.ariaSelection,k=this.commonProps,w=l||this.getElementId("input"),L=ce(ce(ce({"aria-autocomplete":"list","aria-expanded":f,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},f&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?y?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?d.createElement(C,de({},k,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:p,type:"text",value:c},L)):d.createElement(xT,de({id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:C1,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:p,value:""},L))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,i=this.getComponents(),a=i.MultiValue,l=i.MultiValueContainer,c=i.MultiValueLabel,u=i.MultiValueRemove,p=i.SingleValue,f=i.Placeholder,g=this.commonProps,v=this.props,C=v.controlShouldRenderValue,x=v.isDisabled,b=v.isMulti,y=v.inputValue,k=v.placeholder,w=this.state,L=w.selectValue,E=w.focusedValue,$=w.isFocused;if(!this.hasValue()||!C)return y?null:d.createElement(f,de({},g,{key:"placeholder",isDisabled:x,isFocused:$,innerProps:{id:this.getElementId("placeholder")}}),k);if(b)return L.map(function(_,D){var P=_===E,N="".concat(o.getOptionLabel(_),"-").concat(o.getOptionValue(_));return d.createElement(a,de({},g,{components:{Container:l,Label:c,Remove:u},isFocused:P,isDisabled:x,key:N,index:D,removeProps:{onClick:function(){return o.removeValue(_)},onTouchEnd:function(){return o.removeValue(_)},onMouseDown:function(V){V.preventDefault()}},data:_}),o.formatOptionLabel(_,"value"))});if(y)return null;var M=L[0];return d.createElement(p,de({},g,{data:M,isDisabled:x}),this.formatOptionLabel(M,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),i=o.ClearIndicator,a=this.commonProps,l=this.props,c=l.isDisabled,u=l.isLoading,p=this.state.isFocused;if(!this.isClearable()||!i||c||!this.hasValue()||u)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(i,de({},a,{innerProps:f,isFocused:p}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),i=o.LoadingIndicator,a=this.commonProps,l=this.props,c=l.isDisabled,u=l.isLoading,p=this.state.isFocused;if(!i||!u)return null;var f={"aria-hidden":"true"};return d.createElement(i,de({},a,{innerProps:f,isDisabled:c,isFocused:p}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator,a=o.IndicatorSeparator;if(!i||!a)return null;var l=this.commonProps,c=this.props.isDisabled,u=this.state.isFocused;return d.createElement(a,de({},l,{isDisabled:c,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator;if(!i)return null;var a=this.commonProps,l=this.props.isDisabled,c=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(i,de({},a,{innerProps:u,isDisabled:l,isFocused:c}))}},{key:"renderMenu",value:function(){var o=this,i=this.getComponents(),a=i.Group,l=i.GroupHeading,c=i.Menu,u=i.MenuList,p=i.MenuPortal,f=i.LoadingMessage,g=i.NoOptionsMessage,v=i.Option,C=this.commonProps,x=this.state.focusedOption,b=this.props,y=b.captureMenuScroll,k=b.inputValue,w=b.isLoading,L=b.loadingMessage,E=b.minMenuHeight,$=b.maxMenuHeight,M=b.menuIsOpen,_=b.menuPlacement,D=b.menuPosition,P=b.menuPortalTarget,N=b.menuShouldBlockScroll,F=b.menuShouldScrollIntoView,V=b.noOptionsMessage,T=b.onMenuScrollToTop,H=b.onMenuScrollToBottom;if(!M)return null;var I=function(me,re){var oe=me.type,z=me.data,te=me.isDisabled,Q=me.isSelected,pe=me.label,ve=me.value,He=x===z,G=te?void 0:function(){return o.onOptionHover(z)},Mt=te?void 0:function(){return o.selectOption(z)},ht="".concat(o.getElementId("option"),"-").concat(re),Ge={id:ht,onClick:Mt,onMouseMove:G,onMouseOver:G,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:Q};return d.createElement(v,de({},C,{innerProps:Ge,data:z,isDisabled:te,isSelected:Q,key:ht,label:pe,type:oe,value:ve,isFocused:He,innerRef:He?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(me.data,"menu"))},j;if(this.hasOptions())j=this.getCategorizedOptions().map(function(X){if(X.type==="group"){var me=X.data,re=X.options,oe=X.index,z="".concat(o.getElementId("group"),"-").concat(oe),te="".concat(z,"-heading");return d.createElement(a,de({},C,{key:z,data:me,options:re,Heading:l,headingProps:{id:te,data:X.data},label:o.formatGroupLabel(X.data)}),X.options.map(function(Q){return I(Q,"".concat(oe,"-").concat(Q.index))}))}else if(X.type==="option")return I(X,"".concat(X.index))});else if(w){var A=L({inputValue:k});if(A===null)return null;j=d.createElement(f,C,A)}else{var R=V({inputValue:k});if(R===null)return null;j=d.createElement(g,C,R)}var W={minMenuHeight:E,maxMenuHeight:$,menuPlacement:_,menuPosition:D,menuShouldScrollIntoView:F},Z=d.createElement(Uj,de({},C,W),function(X){var me=X.ref,re=X.placerProps,oe=re.placement,z=re.maxHeight;return d.createElement(c,de({},C,W,{innerRef:me,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:w,placement:oe}),d.createElement(MT,{captureEnabled:y,onTopArrive:T,onBottomArrive:H,lockEnabled:N},function(te){return d.createElement(u,de({},C,{innerRef:function(pe){o.getMenuListRef(pe),te(pe)},innerProps:{role:"listbox","aria-multiselectable":C.isMulti,id:o.getElementId("listbox")},isLoading:w,maxHeight:z,focusedOption:x}),j)}))});return P||D==="fixed"?d.createElement(p,de({},C,{appendTo:P,controlElement:this.controlRef,menuPlacement:_,menuPosition:D}),Z):Z}},{key:"renderFormField",value:function(){var o=this,i=this.props,a=i.delimiter,l=i.isDisabled,c=i.isMulti,u=i.name,p=i.required,f=this.state.selectValue;if(p&&!this.hasValue()&&!l)return d.createElement(ST,{name:u,onFocus:this.onValueInputFocus});if(!(!u||l))if(c)if(a){var g=f.map(function(x){return o.getOptionValue(x)}).join(a);return d.createElement("input",{name:u,type:"hidden",value:g})}else{var v=f.length>0?f.map(function(x,b){return d.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:o.getOptionValue(x)})}):d.createElement("input",{name:u,type:"hidden",value:""});return d.createElement("div",null,v)}else{var C=f[0]?this.getOptionValue(f[0]):"";return d.createElement("input",{name:u,type:"hidden",value:C})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,i=this.state,a=i.ariaSelection,l=i.focusedOption,c=i.focusedValue,u=i.isFocused,p=i.selectValue,f=this.getFocusableOptions();return d.createElement(fT,de({},o,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:l,focusedValue:c,isFocused:u,selectValue:p,focusableOptions:f,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),i=o.Control,a=o.IndicatorsContainer,l=o.SelectContainer,c=o.ValueContainer,u=this.props,p=u.className,f=u.id,g=u.isDisabled,v=u.menuIsOpen,C=this.state.isFocused,x=this.commonProps=this.getCommonProps();return d.createElement(l,de({},x,{className:p,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:C}),this.renderLiveRegion(),d.createElement(i,de({},x,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:C,menuIsOpen:v}),d.createElement(c,de({},x,{isDisabled:g}),this.renderPlaceholderOrValue(),this.renderInput()),d.createElement(a,de({},x,{isDisabled:g}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,i){var a=i.prevProps,l=i.clearFocusValueOnUpdate,c=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,p=i.isFocused,f=i.prevWasFocused,g=i.instancePrefix,v=o.options,C=o.value,x=o.menuIsOpen,b=o.inputValue,y=o.isMulti,k=H5(C),w={};if(a&&(C!==a.value||v!==a.options||x!==a.menuIsOpen||b!==a.inputValue)){var L=x?zT(o,k):[],E=x?ed(Ni(o,k),"".concat(g,"-option")):[],$=l?GT(i,k):null,M=XT(i,L),_=Za(E,M);w={selectValue:k,focusedOption:M,focusedOptionId:_,focusableOptionsWithIds:E,focusedValue:$,clearFocusValueOnUpdate:!1}}var D=c!=null&&o!==a?{inputIsHidden:c,inputIsHiddenAfterUpdate:void 0}:{},P=u,N=p&&f;return p&&!N&&(P={value:Mi(y,k,k[0]||null),options:k,action:"initial-input-focus"},N=!f),u?.action==="initial-input-focus"&&(P=null),ce(ce(ce({},w),D),{},{prevProps:o,ariaSelection:P,prevWasFocused:N})}}]),n}(m.Component);p6.defaultProps=YT;var UT=m.forwardRef(function(e,t){var n=IA(e);return d.createElement(p6,de({ref:t},n))}),f6=UT;const QT=({children:e,...t})=>s.jsx(ft.Option,{...t,children:s.jsx(Gr,{checked:t.isSelected,text:t.label,size:"M",disabled:!0})}),KT=h.styled.div`
|
|
@@ -7074,5 +7074,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7074
7074
|
overflow: auto;
|
|
7075
7075
|
flex-grow: 1;
|
|
7076
7076
|
${Lt}
|
|
7077
|
-
`,QF=e=>{const{selectProps:t,hasValue:n}=e,r=t.options||[],o=t.value||[],i=Array.isArray(o)&&r.length>0&&o.length===r.length,a=c=>{c.stopPropagation();const{isMulti:u,value:p,onChange:f}=t;u?f?.([],{action:"clear",removedValues:Array.isArray(p)?p:[]}):f?.(null,{action:"clear",removedValues:p?[p]:[]})},l=()=>{const{onChange:c}=t;i?c([],{action:"clear",removedValues:o}):c(r,{action:"select-option",option:null})};return s.jsx(ft.MenuList,{...e,children:s.jsxs(GF,{children:[r.length>0&&s.jsxs(XF,{children:[s.jsx(B,{variant:"description-SemiBold",tag:"span",colorName:"primary",paddingBottom:8,children:e.selectProps.placeholder}),s.jsx(
|
|
7077
|
+
`,QF=e=>{const{selectProps:t,hasValue:n}=e,r=t.options||[],o=t.value||[],i=Array.isArray(o)&&r.length>0&&o.length===r.length,a=c=>{c.stopPropagation();const{isMulti:u,value:p,onChange:f}=t;u?f?.([],{action:"clear",removedValues:Array.isArray(p)?p:[]}):f?.(null,{action:"clear",removedValues:p?[p]:[]})},l=()=>{const{onChange:c}=t;i?c([],{action:"clear",removedValues:o}):c(r,{action:"select-option",option:null})};return s.jsx(ft.MenuList,{...e,children:s.jsxs(GF,{children:[r.length>0&&s.jsxs(XF,{children:[s.jsx(B,{variant:"description-SemiBold",tag:"span",colorName:"primary",paddingBottom:8,children:e.selectProps.placeholder}),s.jsx(zt,{disabled:!n,text:"Сбросить",onClick:a}),t.isMulti&&t.showSelectAll&&s.jsx(JF,{onClick:l,children:s.jsx(Gr,{size:"M",checked:i,text:"Выбрать все"})})]}),s.jsx(UF,{children:e.children})]})})},KF=e=>s.jsx(ft.NoOptionsMessage,{...e,children:s.jsx(B,{variant:"description-Regular",tag:"span",colorName:"secondary",paddingTop:12,children:"Нет данных по фильтру"})}),ad=(e,t,n)=>n.some(r=>"options"in r)?n.flatMap(r=>r.options?.filter(o=>t?.includes(o.value))):e?n.filter(r=>t?.includes(r.value)):n.find(r=>r.value===t)||null,qF=(e,t,n,r)=>{const o={ClearIndicator:zF,DropdownIndicator:WF,MenuList:QF,NoOptionsMessage:KF};return t&&(o.Option=t),n&&(o.ValueContainer=n),r&&e&&(o.MultiValueLabel=r),o},eP=()=>s.jsx(HF,{children:s.jsx(VF,{})}),tP=m.memo(m.forwardRef((e,t)=>{const{name:n,placeholder:r,options:o,value:i,error:a,disabled:l=!1,isMulti:c=!1,onChange:u,customOption:p,customValue:f,customMultiValue:g,hideSelectedOptions:v=!1,closeMenuOnSelect:C=!0,isClearable:x=!1,customPositionMenu:b,showSelectAll:y=!0,...k}=e,w=m.useRef(null),[L,E]=m.useState(null),$=h6();m.useEffect(()=>{if(c){const D=L?.map(P=>P.value);o.length&&(!D||JSON.stringify(D)!==JSON.stringify(i))&&E(ad(c,i,o));return}else o?.length&&E(ad(c,i,o))},[c,i,o]);const M=(D,P)=>{if(E(D),c){u(D?.map(N=>N?.value),P.name);return}u(D?D?.value:"",P.name)},{mode:_}=ne();return s.jsx(h.ThemeProvider,{theme:U[_],children:s.jsxs(BF,{className:"select-container",ref:w,title:r,children:[$?s.jsx(f6,{ref:t,name:n,isMulti:c,isDisabled:l,value:L,components:qF(c,p,f,g),onChange:M,isError:!!a,hideSelectedOptions:v,closeMenuOnSelect:C,placeholder:r||"",styles:PF,options:o,isClearable:x,isSearchable:!0,customPositionMenu:b,customTheme:U[_],showSelectAll:y,...k}):s.jsx(eP,{}),a&&typeof a!="boolean"?s.jsx(ei,{text:a||""}):null]})})})),nP={OptionWithCheckbox:jF,ValueContainer:TF};var m6=(e=>(e.stocks="stock",e.bonds="bond",e.etfs="etf",e.crypto="crypto",e.index="index",e.currency="currency",e.futures="future",e))(m6||{});exports.Alert=_4;exports.AnimationFunctions=O;exports.ArrowButton=ko;exports.Avatar=O1;exports.AvatarCompany=B1;exports.Banner=E4;exports.Bubbles=uu;exports.BusEvent=Ze;exports.Button=st;exports.ButtonPaging=t_;exports.Card=H$;exports.Checkbox=Gr;exports.Comment=DE;exports.CommonBanner=$4;exports.CompanyInfo=Bu;exports.ConfigLibraryProvider=o7;exports.ControlButton=_M;exports.Cookies=BL;exports.Counter=ml;exports.Datepicker=SF;exports.Dropdown=_o;exports.ErrorText=ei;exports.FavouriteButton=SL;exports.FieldRow=K0;exports.FilterButton=MM;exports.FooterV2=bk;exports.HEIGHT_HEADER=wn;exports.HeaderV2=Mw;exports.HeaderWelcome=jw;exports.HiddenText=Eo;exports.Hint=Vr;exports.Hook=N1;exports.INSTRUMENTS_TYPES=m6;exports.Input=pr;exports.InputNumber=f$;exports.LayoutSideMenuV2=tM;exports.Like=wE;exports.ListItemStyle=S4;exports.Loader=HM;exports.Locales=Zt;exports.LocalizationProvider=k7;exports.Modal=Xt;exports.NotVisibleScroll=F0;exports.Notification=L4;exports.NotificationShort=pL;exports.PageTitle=Q$;exports.PasswordInput=M$;exports.Popup=ur;exports.Portal=qo;exports.PremiumBanner=lM;exports.Quotes=Ju;exports.QuotesContext=yl;exports.Radio=nu;exports.ScreenerSelect=tP;exports.ScreenerSelectOptions=nP;exports.Scroll=Lt;exports.SearchCategories=ir;exports.SearchSideMenu=$L;exports.SegmentControl=Pu;exports.Select=$F;exports.SelectInput=ws;exports.ShareList=VE;exports.SideMenuV2=vE;exports.SideModal=x$;exports.SideModalStyled=g$;exports.Skeleton=kt;exports.SocketProvider=Gu;exports.SortingButton=AM;exports.Spinner=fl;exports.SuccessModal=fM;exports.Support=KE;exports.SwiperButton=gl;exports.Switch=Z$;exports.TCellText=as;exports.Table=rb;exports.Tabs=cu;exports.TextButton=zt;exports.TextButtonLink=NM;exports.Textarea=J4;exports.TextareaAutoSize=U$;exports.ThemeProvider=kf;exports.Tooltip=Ko;exports.Typography=B;exports.Views=ME;exports.WidgetTitle=AF;exports.breakpoint=it;exports.deleteCookie=wf;exports.eventBus=Ke;exports.getCookie=Zn;exports.getHeightHeaderV2=Je;exports.palette=U;exports.setCookie=Qo;exports.useClickOutside=ni;exports.useConfigLibrary=ue;exports.useDragging=Zu;exports.useHidingChat=tl;exports.useHidingFromApp=kl;exports.useLastElement=Yu;exports.useLoadingNextPage=nM;exports.useLocalization=ie;exports.useMediaQuery=at;exports.useMode=ne;exports.useOpenSideMenu=M4;exports.withHook=lb;exports.withSocketIO=Xu;
|
|
7078
7078
|
//# sourceMappingURL=profinansy-ui-lib.cjs.map
|