/*! For license information please see premiumBanking.js.LICENSE.txt */ (()=>{var e={7840:(e,t)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.getOverflowParent=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=function(e){var t,o,a;if(e instanceof HTMLElement||e instanceof SVGElement){var s,l=function(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}(r(e.parentElement,[]));try{for(l.s();!(s=l.n()).done;){var u=s.value;if(i(u))return u}}catch(c){l.e(c)}finally{l.f()}return null!==(t=null===(o=document)||void 0===o?void 0:o.scrollingElement)&&void 0!==t?t:null===(a=document)||void 0===a?void 0:a.documentElement}};if(!t)return o(e);var a=[],s=e;do{var l;(s=o(s))&&a.push(s)}while(s&&s!==(null===(l=document)||void 0===l?void 0:l.documentElement));return a};var r=function e(t,n){return null===t||null===t.parentNode?n:e(t.parentElement,n.concat([t]))},o=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},i=function(e){return/(hidden)/.test(function(e){return o(e,"overflow")+o(e,"overflow-y")+o(e,"overflow-x")}(e))}},1672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7840);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},2599:(e,t)=>{"use strict";function n(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=s,t.isElementInViewport=t.getScrollParents=void 0;var o=function e(t,n){return null===t||null===t.parentNode?n:e(t.parentElement,n.concat([t]))},i=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},a=function(e){return/(auto|scroll)/.test(function(e){return i(e,"overflow")+i(e,"overflow-y")+i(e,"overflow-x")}(e))};function s(e){var t=function(e){var t,r,i;if(e instanceof HTMLElement||e instanceof SVGElement){var s,l=n(o(e.parentElement,[]));try{for(l.s();!(s=l.n()).done;){var u=s.value;if(a(u))return u}}catch(c){l.e(c)}finally{l.f()}return null!==(t=null===(r=document)||void 0===r?void 0:r.scrollingElement)&&void 0!==t?t:null===(i=document)||void 0===i?void 0:i.documentElement}};if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1]))return t(e);var r=[],i=e;do{var s;(i=t(i))&&r.push(i)}while(i&&i!==(null===(s=document)||void 0===s?void 0:s.documentElement));return r}t.getScrollParents=function(e){return s(e,!0)};t.isElementInViewport=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.bottom<r.bottom&&n.right<r.right&&n.left>r.left&&n.top>r.top}},5513:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2599);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},6847:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9386);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(5880);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(6780);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(3622);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(1269);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(5513);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=n(1672);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=n(7375);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var d=n(6507);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var f=n(8971);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var p=n(5295);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var h=n(5658);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var v=n(4695);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}));var m=n(5414);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))}));var g=n(4340);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))}))},5414:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4444);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},4444:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCacheCallback=function(e){var t=(0,o.useSyncRef)(e);return(0,r.useCallback)((function(){return t.current.apply(t,arguments)}),[t])};var r=n(1914),o=n(4340)},4695:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1403);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},1403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useControlState=function(e){var t=e.value,n=e.defaultValue,s=e.defaultStateValue,l=e.onChange,u=(f=(0,r.useState)((function(){return void 0!==t?t:void 0!==n?n:a(s)?s():s})),p=2,function(e){if(Array.isArray(e))return e}(f)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(f,p)||function(e,t){if(e){if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(f,p)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=u[0],d=u[1];var f,p;(0,o.usePropsUpdate)((function(){return d(void 0===t?s:t)}),[t,s]);var h=(0,r.useCallback)((function(e){null===l||void 0===l||l(e,c),void 0===t&&d(e)}),[t,c,l]);return[c,h]};var r=n(1914),o=n(5658);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(e){return"function"===typeof e}},5880:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(514);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCramList=void 0;var r=n(1914),o=n(5295),i=n(9386);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=0;return function(){return e++,"usecramlist-cache-".concat(e)}}(),u="undefined"!==typeof window,c=function(e){if(u){var t=window.getComputedStyle(e);return parseInt(t.getPropertyValue("padding-left"),10)+parseInt(t.getPropertyValue("padding-right"),10)}return 0},d=function(e){if(u){var t=window.getComputedStyle(e);return parseInt(t.getPropertyValue("margin-left"),10)+parseInt(t.getPropertyValue("margin-right"),10)}return 0},f=function(e,t,n,r,o,i){if(e.current&&t&&t.current){var a=0,s=0,l=n.refs,u=t.current,f=u.offsetWidth||l[r.length].offsetWidth,p=c(e.current),h=e.current.offsetWidth-p;u.style.visibility="hidden",u.style.position="fixed";for(var v=0;v<l.length-1;v++)l[v].style.width="",l[v].style.display="";for(var m=0;m<l.length-1;m++)if(l[m]!==t.current){l[m].style.display="";var g=a;(a+=l[m].offsetWidth+d(l[m]))>h&&m+1>i&&(s++,l[m].style.display="none"),s&&m&&m-1>i&&"none"!==l[m-1].style.display&&g+f+d(u)+d(u)>h&&(s++,l[m-1].style.display="none")}if(i&&l.length-1>=i)for(var y=0;y<=i-1;y++){if(s&&(u.style.position=""),h<e.current.scrollWidth){var b=(h-d(u)-c(u)-f)/i;l[y].style.width="".concat(b>0?b:0,"px"),b<0&&(l[y].style.display="none",s++)}s&&(u.style.position="fixed")}s&&(u.style.visibility="visible",u.style.position=""),o(s)}};t.useCramList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,r.useRef)(null),s=(0,r.useRef)(null),c=(0,r.useMemo)((function(){return{refs:[]}}),[]),d=(0,r.useMemo)((function(){return l()}),[]),p=(0,r.useRef)(),h=a((0,r.useState)(e.length),2),v=h[0],m=h[1];return(0,i.useWindowResize)((function(){return f(n,s,c,e,m,t)})),(0,o.useIsomorphicLayoutEffect)((function(){if(n.current&&u){var e=document.createElement("style");return document.head.appendChild(e),p.current=e.sheet,n.current.classList.add(d),function(){document.head.removeChild(e)}}return function(){}}),[d]),(0,o.useIsomorphicLayoutEffect)((function(){if(n.current&&s.current){var r,o,i=Array.from(n.current.children);c.refs=i,null===(r=p.current)||void 0===r||r.insertRule(".".concat(d," > * {visibility: hidden;}"),0),f(n,s,c,e,m,t),null===(o=p.current)||void 0===o||o.deleteRule(0)}}),[d,c,e,t]),[n,s,v]}},6780:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2692);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},2692:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDebounce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,r.useRef)(0);return(0,r.useMemo)((function(){var r=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n.current||(n.current=window.setTimeout((function(){var t,r;n.current=0,"function"===typeof i[i.length-1]&&(t=i.pop()),e.apply(void 0,function(e){if(Array.isArray(e))return o(e)}(r=i)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),t&&t()}),t))};return r.despose=function(){return n.current&&clearTimeout(n.current)},r}),[t,e])};var r=n(1914);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},3622:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2638);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},2638:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDrop=void 0;var r=n(1914),o=n(5513),i=n(6780),a=function(e,t,n,r,o,i){if("horizontal"===r||"left"===r||"right"===r){var a=i?t.left-e.offsetWidth-o.x:-e.offsetWidth-o.x;if("right"===r&&(a=i?t.right+o.x:e.offsetWidth+o.x),e.style.left="".concat(a,"px"),"start"===n){var s=i?t.top+o.y:o.y;e.style.top="".concat(s,"px"),e.style.bottom=""}if("center"===n){var l=(t.height-e.offsetHeight)/2,u=i?t.top+l:l;e.style.top="".concat(u,"px"),e.style.bottom=""}"end"===n&&(i?(e.style.top="".concat(t.bottom-e.offsetHeight-o.y,"px"),e.style.bottom=""):(e.style.top="".concat(o.y,"px"),e.style.bottom=""))}if("vertical"===r||"top"===r||"bottom"===r){var c=i?t.top+t.height+o.y:t.height+o.y;if("top"===r&&(c=i?t.top-e.offsetHeight-o.y:-e.offsetHeight-o.y),e.style.top="".concat(c,"px"),"start"===n){var d=i?t.left+o.x:o.x;e.style.left="".concat(d,"px"),e.style.right=""}if("center"===n){var f=(t.width-e.offsetWidth)/2,p=i?t.left+f:f;e.style.left="".concat(p,"px"),e.style.right=""}"end"===n&&(i?(e.style.left="".concat(t.left-e.offsetWidth+t.width-o.x,"px"),e.style.right=""):(e.style.right="".concat(-o.x,"px"),e.style.left=""))}},s=function(e,t,n){e.style.top="".concat(t.y+n.y,"px"),e.style.left="".concat(t.x+n.x,"px")},l=function(e,t,n,r,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{x:0,y:0},l=null!==a&&void 0!==a?a:(0,o.getScrollParent)(e),u=i?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,bottom:window.innerHeight,right:window.innerWidth}:l.getBoundingClientRect(),c=function(){return e.getBoundingClientRect()};if("horizontal"===n||"left"===n||"right"===n){var d="center"===r?c().width/2:c().width;if(t.right+d>u.right){var f=i?t.right+s.x:t.width+s.x;e.style.right="".concat(f,"px"),e.style.left=""}if(t.left-d<u.left){var p=i?t.left+s.x:t.width+s.x;e.style.left="".concat(p,"px"),e.style.right=""}}var h="center"===r&&"vertical"!==n?c().height/2:c().height;if(t.bottom+h>u.bottom)if("vertical"===n||"top"===n||"bottom"===n){var v=i?t.top-c().height-s.y:-c().height-s.y;e.style.top="".concat(v,"px")}else{var m=i?t.top-c().height+t.height+s.y:-c().height+t.height+s.y;e.style.top="".concat(m,"px")}if(c().top<u.top){var g=i?t.top+Number(t.height)+s.y:Number(t.height)+s.y;e.style.top="".concat(g,"px"),e.style.bottom=""}!function(e,t,n,r,o,i){var a=e.getBoundingClientRect();"vertical"===o||"left"===o||"right"===o?(i?a.left+a.width:t.left+a.width+r.x)>n.right&&(e.style.left="".concat(i?t.right-a.width-r.x:t.width-r.x-a.width,"px")):a.top+a.height>n.bottom&&(e.style.top="".concat(i?a.top-t.height+r.y:r.y,"px"))}(e,t,u,s,n,i)},u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{x:0,y:0},r=e.getBoundingClientRect();t.x+r.width>window.innerWidth?(e.style.left="".concat(t.x-r.width-n.x,"px"),e.style.right=""):t.x-r.width<0&&(e.style.left="".concat(t.x+n.x,"px"),e.style.right=""),t.y+r.height>window.innerHeight?e.style.top="".concat(t.y-r.height-n.y,"px"):t.y-r.height<0&&(e.style.top="".concat(t.y+n.y,"px"))},c=function(e){var t=e.dropRef,n=e.align,r=e.float,i=e.margins,c=e.fixed,d=e.coords,f=e.container,p=e.parentRef,h=e.scrollHandler,v=e.fitListToParent,m=e.autoFixPosition,g=t.current;if(g){var y,b,w=null!==(y=null===p||void 0===p||null===(b=p.current)||void 0===b?void 0:b.parentElement)&&void 0!==y?y:g.parentElement;if(w){g.style.opacity="0";var x=w.getBoundingClientRect();if(c?(g.style.position="fixed",v&&(g.style.minWidth="".concat(w.offsetWidth,"px"),g.style.maxWidth="".concat(w.offsetWidth,"px"),g.style.width="".concat(w.offsetWidth,"px"))):(g.style.position="absolute",g.style.minWidth="",g.style.maxWidth="",g.style.width=""),g.style.top="",g.style.left="",g.style.bottom="",g.style.right="",d?(s(g,d,i),m&&u(g,d,i)):(a(g,x,r,n,i,c),m&&l(g,x,n,r,c,f,i)),h)(0,o.getScrollParents)(w).forEach((function(){return document.body.addEventListener("scroll",h)}));g.style.opacity="1"}}},d=function(e){var t=e.dropRef,n=e.align,r=e.float,i=e.margins,c=e.fixed,d=e.coords,f=e.container,p=e.parentRef,h=e.autoFixPosition,v=e.callbacks,m=t.current;if(m){var g,y,b=null!==(g=null===p||void 0===p||null===(y=p.current)||void 0===y?void 0:y.parentElement)&&void 0!==g?g:m.parentElement,w=b.getBoundingClientRect();d?(s(m,d,i),h&&u(m,d,i)):(a(m,w,r,n,i,c),h&&l(m,w,n,r,c,f,i));var x=(0,o.getScrollParent)(b);(0,o.isElementInViewport)(b,x)||"function"===typeof(null===v||void 0===v?void 0:v.onHide)&&(null===v||void 0===v||v.onHide())}};t.useDrop=function(e){var t=e.align,n=void 0===t?"vertical":t,a=e.float,s=void 0===a?"start":a,l=e.margins,u=void 0===l?{x:0,y:0}:l,f=e.fixed,p=void 0!==f&&f,h=e.coords,v=e.container,m=e.parentRef,g=e.followParentWhenScroll,y=e.callbacks,b=e.fitListToParent,w=e.autoFixPosition,x=void 0===w||w,k=(0,r.useRef)(null),S=(0,i.useDebounce)(c,0),_=(0,i.useDebounce)(d,0),C=(0,r.useCallback)((function(){return _({dropRef:k,align:n,float:s,margins:u,fixed:p,coords:h,container:v,parentRef:m,autoFixPosition:x,callbacks:y})}),[_,n,u,s,p,h,v,m,y,x]);return(0,r.useEffect)((function(){S({dropRef:k,align:n,float:s,margins:u,fixed:p,coords:h,container:v,parentRef:m,scrollHandler:g?C:void 0,fitListToParent:b,autoFixPosition:x});var e,t=k.current,r=null===t||void 0===t?void 0:t.parentElement,i=null!==v&&void 0!==v?v:(null===m||void 0===m?void 0:m.current)&&(0,o.getScrollParent)(m.current);return window.ResizeObserver&&i&&(e=new ResizeObserver((function(){C()}))).observe(i),function(){if(g){var t=null!==v&&void 0!==v?v:r;(0,o.getScrollParents)(t).forEach((function(e){return e.removeEventListener("scroll",C)}))}e&&i&&e.unobserve(i)}}),[S,C,k,n,s,u,p,h,v,g,m,b,x]),k}},5295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIsomorphicLayoutEffect",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(7405))&&r.__esModule?r:{default:r}},7405:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1914),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.default=o},7375:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3889);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},3889:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.useMask=t.default=void 0;var o=n(1914),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o}(n(8920));function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return[(0,o.useMemo)((function(){return null!==e&&void 0!==e&&e.mask?i.default.createPipe(l(l({},e),{},{lazy:!0})):function(e){return e}}),[e]),(0,o.useMemo)((function(){return null!==e&&void 0!==e&&e.mask?i.default.createPipe(e,i.PIPE_TYPE.MASKED,i.PIPE_TYPE.UNMASKED):function(e){return e}}),[e]),(0,o.useMemo)((function(){return null!==e&&void 0!==e&&e.mask?i.default.createPipe(l(l({},e),{},{lazy:!1})):function(e){return e}}),[e])]};t.useMask=c;var d=c;t.default=d},1269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2953);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},2953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useOutsideClick=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).isEnabled,a=void 0===n||n,s=i.concat(e);(0,r.useEffect)((function(){var e=function(e){s.some((function(t){var n;return null===t||void 0===t||null===(n=t.current)||void 0===n?void 0:n.contains(e.target)}))||t(e)};return a&&(document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,!0)),function(){document.removeEventListener("mousedown",e,!0),document.removeEventListener("touchstart",e,!0)}}),[e].concat((l=s,function(e){if(Array.isArray(e))return o(e)}(l)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[a,t]));var l};var r=n(1914);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=[]},8971:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3623);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},3623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePortal=t.default=void 0;var r=n(1914),o=function(e,t){var n=(0,r.useCallback)((function(){if("undefined"!==typeof document){var t="portal",n=document.getElementById(null!==e&&void 0!==e?e:t);if(n)return n;var r=document.createElement("div");return r.id=null!==e&&void 0!==e?e:t,r}return null}),[]),o=(0,r.useRef)(n());return(0,r.useEffect)((function(){var e=t&&document.querySelector("#".concat(t))||document.body;o.current&&e.appendChild(o.current)}),[]),o.current};t.usePortal=o;var i=o;t.default=i},5658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3297);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},3297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePropsUpdate=function(e,t){var n=(0,r.useRef)(!1);(0,o.useIsomorphicLayoutEffect)((function(){n.current?e():n.current=!0}),t)};var r=n(1914),o=n(5295)},6507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7125);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},7125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStateCallback=function(e){var t=(s=(0,r.useState)(e),l=2,function(e){if(Array.isArray(e))return e}(s)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(s,l)||function(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(s,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=t[0],i=t[1],a=(0,r.useRef)();var s,l;return(0,r.useEffect)((function(){a.current&&(a.current(n),a.current=void 0)}),[n]),[n,function(e,t){a.current=t,i(e)}]};var r=n(1914);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},4340:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2962);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},2962:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSyncRef=function(e){var t=(0,r.useRef)(e);return t.current=e,t};var r=n(1914)},9386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4605);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},4605:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWindowResize=void 0;var r=n(1914),o=n(6780);t.useWindowResize=function(e){var t=(0,o.useDebounce)(e,0);(0,r.useEffect)((function(){return window.addEventListener("resize",t,!1),function(){window.removeEventListener("resize",t)}}),[t])}},1089:function(e){"use strict";e.exports={border:{radius:{s:4,m:8,l:12,xl:16,xxl:24},width:{s:1,m:2}},color:{primary:{brand:{accent:"#FEE600",onAccent:"#FED500",primary:"#2B2D33",onPrimary:"#000000",wildsand:"#F4F4F4",white:"#FFFFFF"},seattle:{c01:"#FBFBFB",c05:"#F8F8F8",c10:"#E9EAEA",c30:"#D5D5D6",c60:"#AAABAD",c100:"#808185",c120:"#55575C",c140:"#404247"},oslo:{c10:"#E6F6F8",c30:"#B3E4EB",c60:"#66C9D7",c100:"#00A5BC",c120:"#00809C",c140:"#04607D"},london:{c40:"rgba(255, 255, 255, 0.64)",c80:"rgba(255, 255, 255, 0.24)",c120:"rgba(43, 45, 51, 0.24)"}},secondary:{miami:{c10:"#E7F8F4",c30:"#CFF1E9",c100:"#5ED1B6"},sochi:{c10:"#E6F4FC",c30:"#CDE9FA",c100:"#57B6ED"},paris:{c10:"#F0F0FE",c30:"#E1E0FE",c100:"#9A99FB"},tokyo:{c10:"#FAEFFA",c30:"#F5DFF5",c100:"#DC94DD"},dubai:{c10:"#FFF4E8",c30:"#FEE9D1",c100:"#FCB664"},nice:{c10:"#FFEFEF",c30:"#FEE0E0",c100:"#FC9696"},dublin:{c10:"#F2F8E7",c100:"#A5D05F"},bern:{c10:"#ECF8EB",c100:"#7DD27C"},manila:{c10:"#E4F7F8",c100:"#4BCBD3"},tallin:{c10:"#ECF2FF",c100:"#82A9FF"},seoul:{c10:"#F5EFFE",c100:"#BE93F8"},havana:{c10:"#FDEFF5",c100:"#F095BA"},madrid:{c10:"#FEF6E1",c100:"#F9C541"},porto:{c10:"#FFF1EB",c100:"#FEA17A"}},utilitarian:{geneva:{c10:"#E8F7F4",c30:"#BFE9DF",c60:"#52C5A9",c100:"#19B28D",c120:"#008E7D"},moscow:{c10:"#FDEEEE",c30:"#FACED1",c60:"#F27C83",c100:"#EE505A",c120:"#C74952"},osaka:{c10:"#FEF3EC",c30:"#FDDAC7",c60:"#FAA373",c100:"#F88545",c120:"#CB662F"}}},layout:{size:{s1:4,s2:8,s3:12,s4:16,s5:20,s6:24,s7:28,s8:32,s9:36,s10:40,s11:44,s12:48,s13:52,s14:56,s15:60,s16:64,s17:68,s18:72}},shadow:{basic:{xl:"0 8px 32px 0 rgba(0, 0, 0, 0.08)",l:"0 4px 20px 0 rgba(0, 0, 0, 0.08)",m:"0 2px 12px 0 rgba(0, 0, 0, 0.04)"}},typography:{a:{family:"Navigo, Helvetica, 'Helvetica New', Arial, sans-serif",a1:{size:24,height:30},a2:{size:26,height:34},a3:{size:28,height:36},a4:{size:30,height:38},a5:{size:32,height:40}},b:{family:"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif",b1:{size:12,height:18},b2:{size:14,height:22},b3:{size:16,height:26},b4:{size:18,height:28},b5:{size:20,height:30}},weight:{thin:"100","extra-light":"200",light:"300",normal:"400",medium:"500","semi-bold":"600",bold:"700","extra-bold":"800",black:"900"}}}},3252:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.autocapitalize=void 0;var n=function(e,t){return e&&"off"!==t&&"none"!==t&&t?"on"===t||"sentences"===t?/[.?!]/.test(e)?e.split(/([.?!] )/g).map((function(e){return e?"".concat(e[0].toUpperCase()).concat(e.substring(1)):""})).join(""):"".concat(e[0].toUpperCase()).concat(e.substring(1)):"words"===t?e.split(/([ -])/g).map((function(e){return e?"".concat(e[0].toUpperCase()).concat(e.substring(1)):""})).join(""):"characters"===t?e.toUpperCase():e:e};t.autocapitalize=n;var r=n;t.default=r},4845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3252);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},6794:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compose=void 0;t.compose=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduceRight((function(e,t){return function(){return t(e.apply(void 0,arguments))}}),(function(e){return e}))}},2511:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compose",{enumerable:!0,get:function(){return r.compose}});var r=n(6794)},5951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertDateToString=void 0;var r=n(2677);t.convertDateToString=function(e,t){return(0,r.isValid)(e)?(0,r.format)(e,t||"dd.MM.yyyy"):""}},641:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5951);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},812:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertRangeToString=void 0;var r=n(641);t.convertRangeToString=function(e,t){var n=(0,r.convertDateToString)(e[0],t),o=(0,r.convertDateToString)(e[1],t);return"".concat(n," - ").concat(o)}},8357:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(812);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},1793:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertStringToDate=void 0;var r=n(2677);t.convertStringToDate=function(e,t){return(0,r.parse)(e,t||"dd.MM.yyyy",new Date("2021-1-1"))}},3292:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1793);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},6556:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertStringToRange=void 0;var r=n(3292);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.convertStringToRange=function(e,t){var n=o(e.split("-"),2),i=n[0],a=n[1];return[(0,r.convertStringToDate)(i.trim(),t),(0,r.convertStringToDate)(a.trim(),t)]}},8754:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6556);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},3278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8357);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(8754);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(3292);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(641);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},1542:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4462);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(3503);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(3278);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},2693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertNumberToString=void 0;var r=n(1681),o={delimiter:",",scale:2,thousandsSeparator:" ",padFractionalZeros:!1};t.convertNumberToString=function(e){return(0,r.formatNumberString)(String(e),o)}},4675:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2693);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},4405:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertStringToNumber=void 0;var r=n(1681),o=999999999999999,i={delimiter:".",thousandsSeparator:""};t.convertStringToNumber=function(e){var t=(0,r.formatNumberString)(String(e),i);return Number(t)>o?o:Number(t)}},9945:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4405);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},9488:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNumberString=void 0;var r=n(2511),o=n(1360);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.formatNumberString=function(e,t){return(0,r.compose)(o.thousandsSeparatorMutator,o.padFractionalZerosMutator,o.scaleMutator,o.delimiterMutator)(a(a({},t),{},{value:e})).value}},1681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNumberString",{enumerable:!0,get:function(){return r.formatNumberString}});var r=n(9488)},811:(e,t)=>{"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.delimiterMutator=void 0;t.delimiterMutator=function(e){var t=e.delimiter,n=e.value;return r(r({},e),{},"string"===typeof t?{value:n.replace(/\.|,/gm,t)}:{value:n})}},9173:(e,t)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.getSplittingResultString=void 0;t.getSplittingResultString=function(e){var t=e.delimiter,r=e.value;if(!t)return[];var o=n(r.split(t),2),i=o[0],a=o[1];return[i,void 0===a?"":a]}},1360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"delimiterMutator",{enumerable:!0,get:function(){return r.delimiterMutator}}),Object.defineProperty(t,"padFractionalZerosMutator",{enumerable:!0,get:function(){return o.padFractionalZerosMutator}}),Object.defineProperty(t,"scaleMutator",{enumerable:!0,get:function(){return i.scaleMutator}}),Object.defineProperty(t,"thousandsSeparatorMutator",{enumerable:!0,get:function(){return a.thousandsSeparatorMutator}});var r=n(811),o=n(6873),i=n(3901),a=n(7168)},6873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.padFractionalZerosMutator=void 0;var r=n(9173);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.padFractionalZerosMutator=function(e){var t=e.scale,n=e.padFractionalZeros,i=e.value,a=e.delimiter;if("boolean"!==typeof n||!n||!t||!a)return s(s({},e),{},{value:i});var l=o((0,r.getSplittingResultString)({delimiter:a,value:i}),2),u=l[0],c=l[1],d=c,f=i;if(c.length<t){for(var p=t-c.length;p;)d="".concat(d,"0"),p--;f="".concat(u).concat(a).concat(d)}return s(s({},e),{},{value:f})}},3901:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scaleMutator=void 0;var r=n(9173);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.scaleMutator=function(e){var t=e.scale,n=e.delimiter,i=e.value;if("number"!==typeof t||!t||!n)return s(s({},e),{},{value:i});var a=o((0,r.getSplittingResultString)({delimiter:n,value:i}),2),l=a[0],u=a[1],c=u,d=i;return u.length>t&&(c=u.slice(0,t),d="".concat(l).concat(n).concat(c)),s(s({},e),{},{value:d})}},7168:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.thousandsSeparatorMutator=void 0;var r=n(9173);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.thousandsSeparatorMutator=function(e){var t=e.thousandsSeparator,n=e.value,i=e.delimiter;if("string"!==typeof t||!i)return s(s({},e),{},{value:n});if(""===n)return s(s({},e),{},{value:n});for(var a=i&&n.endsWith(i),l=o((0,r.getSplittingResultString)({delimiter:i,value:n}),2),u=l[0],c=l[1],d=String(Number(u.replace(/\D+/g,""))),f="",p=d.length-1;p>=0;p--){var h=d[p],v=d.length-1-p;f=v%3===0&&0!==v?"".concat(h).concat(t).concat(f):"".concat(h).concat(f)}return s(s({},e),{},{value:a||c?"".concat(f).concat(i).concat(c):f})}},4462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4675);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(9945);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(1681);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(7043);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},7043:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6032:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertNumberToPhone=void 0;t.convertNumberToPhone=function(e,t){if(11!==String(e).length&&10!==String(e).length)return"";var n=(t||{}).startWith,r=void 0===n?"+7":n;if(11===String(e).length){return String(e).replace(/(\d{1})(\d{3})(\d{3})(\d{2})(\d{2})/,"".concat(r," $2 $3-$4-$5"))}return String(e).replace(/(\d{3})(\d{3})(\d{2})(\d{2})/,"".concat(r," $1 $2-$3-$4"))}},8466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6032);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},8164:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPhoneToNumber=void 0;t.convertPhoneToNumber=function(e,t){var n=(t||{}).startWith,r=void 0===n?"+7":n,o=e.replace(/-/g,"").replace(/ /g,"");return Number("+7"===r?o.slice(2):o.slice(1))}},8052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8164);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},3503:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8052);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(8466);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(2238);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},2238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFullHeight=t.default=void 0;var n=function(e){var t,n=0,r=0;return null!==(t=document)&&void 0!==t&&t.defaultView&&(n=e.offsetHeight,r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-top"),10)+parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-bottom"),10)),n+r};t.getFullHeight=n;var r=n;t.default=r},5659:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5801);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},9617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4845);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(4412);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(5659);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(1542);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(2511);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}))},4412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3386);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},3386:(e,t)=>{"use strict";function n(e,t){if(!t||!e)return null;var n=t.split(".").reduce((function(e,t){return e&&e.hasOwnProperty(t)?e[t]:null}),e);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.readObjectByPath=n;var r=n;t.default=r},6768:function(e){"use strict";e.exports={accordion:{focus:{"box-shadow":"0 2px 12px 0 rgba(0, 0, 0, 0.04)"},item:{header:{base:{cursor:"pointer","background-color":"#FFFFFF","box-sizing":"border-box;","font-style":"normal;","font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-weight":"500"},hover:{"background-color":"#F8F8F8"},size:{s:{padding:"8px 16px","font-size":"12px",height:"","grid-column-gap":""},m:{padding:"16px 24px","font-size":"14px",height:"","grid-column-gap":""},l:{padding:"24px 32px","font-size":"16px",height:"","grid-column-gap":""}}},content:{base:{cursor:"pointer","font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-weight":"500","border-bottom":"solid 1px #D5D5D6"},size:{s:{padding:"8px 16px","font-size":"12px"},m:{padding:"16px 24px","font-size":"14px"},l:{padding:"24px 32px","font-size":"16px"}}},icon:{cursor:"pointer",color:"#AAABAD"},iconLeft:{"margin-left":"16px"},iconRight:{"margin-right":"16px"}},box:{outline:"1px solid #D5D5D6"},list:{"border-radius":"12px",border:"solid 1px #D5D5D6"}},alarm:{base:{"border-radius":"4px",width:"8px",height:"8px"},design:{critical:{"background-color":"#EE505A"},warning:{"background-color":"#F88545"},success:{"background-color":"#19B28D"},accent:{"background-color":"#00A5BC"},neutral:{"background-color":"#2B2D33"},disabled:{"background-color":"#D5D5D6"}}},alert:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-size":"14px","line-height":"22px","border-radius":"8px",padding:"16px","padding-right":"24px","box-sizing":"border-box",width:"100%"},design:{success:{"background-color":"#E8F7F4",color:"#008E7D"},warning:{"background-color":"#FEF3EC",color:"#CB662F"},error:{"background-color":"#FDEEEE",color:"#C74952"},plain:{"background-color":"#F4F4F4",color:"#2B2D33"},accent:{"background-color":"#E6F6F8",color:"#00809C"}},dynamic:{width:"auto"},icon:{width:"24px",height:"24px","margin-right":"12px"},textContainer:{width:"inherit"},title:{"font-weight":"500","margin-right":"8px","white-space":"nowrap"},titleGap:{"margin-bottom":"8px"},actionsGap:{"margin-top":"16px"},buttons:{base:{height:"32px",borderRadius:"4px",background:"transparent"},design:{success:{design:{primary:{color:"#008E7D",border:"solid 2px #BFE9DF"},ghost:{color:"#008E7D",padding:0}},hover:{primary:{color:"#008E7D",border:"solid 2px #008E7D"},ghost:{color:"#19B28D"}}},warning:{design:{primary:{color:"#CB662F",border:"solid 2px #FDDAC7"},ghost:{color:"#CB662F",padding:0}},hover:{primary:{color:"#CB662F",border:"solid 2px #F88545"},ghost:{color:"#F88545"}}},error:{design:{primary:{color:"#C74952",border:"solid 2px #FACED1"},ghost:{color:"#C74952",padding:0}},hover:{primary:{color:"#C74952",border:"solid 2px #EE505A"},ghost:{color:"#EE505A"}}},plain:{design:{primary:{color:"#2B2D33",border:"solid 2px #D5D5D6"},ghost:{color:"#2B2D33",padding:0}},hover:{primary:{color:"#2B2D33",border:"solid 2px #2B2D33"},ghost:{color:"#000000"}}},accent:{design:{primary:{color:"#00809C",border:"solid 2px #B3E4EB"},ghost:{color:"#00809C",padding:0}},hover:{primary:{color:"#00809C",border:"solid 2px #00809C"},ghost:{color:"#00A5BC"}}}}}},avatar:{base:{"border-radius":"50%;","user-select":"none;"},size:{xl:{height:"112px",width:"112px"},l:{height:"56px",width:"56px"},m:{height:"40px",width:"40px"},s:{height:"32px",width:"32px"},xs:{height:"24px",width:"24px"}}},badge:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-weight":"400","text-decoration":"none",color:"#FFFFFF",width:"auto","border-color":"transparent","border-radius":"4px"},color:{paris10:{"background-color":"#F0F0FE",color:"#2B2D33"},paris30:{"background-color":"#E1E0FE",color:"#2B2D33"},miami10:{"background-color":"#E7F8F4",color:"#2B2D33"},miami30:{"background-color":"#CFF1E9",color:"#2B2D33"},dubai10:{"background-color":"#FFF4E8",color:"#2B2D33"},dubai30:{"background-color":"#FEE9D1",color:"#2B2D33"},nice10:{"background-color":"#FFEFEF",color:"#2B2D33"},nice30:{"background-color":"#FEE0E0",color:"#2B2D33"},seattle05:{"background-color":"#F8F8F8",color:"#2B2D33"},seattle10:{"background-color":"#E9EAEA",color:"#2B2D33"}},size:{l:{"font-size":"14px","line-height":"22px",padding:"0 12px",height:"36px","min-width":"40px"},m:{"font-size":"14px","line-height":"22px",padding:"0 12px",height:"32px","min-width":"36px"},s:{"font-size":"12px","line-height":"18px",padding:"0 8px",height:"24px","min-width":"32px"},xs:{"font-size":"12px","line-height":"18px",padding:"0 8px",height:"16px","min-width":"24px"}},gap:{l:{"margin-right":"8px"},m:{"margin-right":"4px"},s:{"margin-right":"4px"},xs:{"margin-right":"4px"}}},body:{base:{"font-size":"14px","font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-weight":"400","font-stretch":"normal","font-style":"normal","line-height":"22px","letter-spacing":"normal",color:"#2B2D33"}},breadcrumbs:{option:{base:{color:"#808185","font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif"},hover:{color:"#2B2D33"},size:{s:{"font-size":"12px","line-height":"18px"},m:{"font-size":"14px","line-height":"22px"},l:{"font-size":"16px","line-height":"26px"}}},icon:{size:{s:{width:"calc(12px *3)","min-width":"calc(12px *3)"},m:{width:"calc(16px *3)","min-width":"calc(16px *3)"},l:{width:"calc(16px *3)","min-width":"calc(16px *3)"}}},backIcon:{base:{"margin-right":"8px"}}},button:{base:{"border-radius":"8px","border-color":"transparent","font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-weight":"500","text-decoration":"none",transition:"background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease"},size:{xxl:{"font-size":"16px","line-height":"26px",padding:"0 24px",height:"52px","min-width":"52px"},xl:{"font-size":"16px","line-height":"26px",padding:"0 24px",height:"48px","min-width":"48px"},l:{"font-size":"14px","line-height":"22px",padding:"0 20px",height:"40px","min-width":"40px"},m:{"font-size":"14px","line-height":"22px",padding:"0 20px",height:"36px","min-width":"36px"},s:{"font-size":"14px","line-height":"22px",padding:"0 16px",height:"32px","min-width":"32px"},xs:{"font-size":"12px","line-height":"18px",padding:"0 12px",height:"24px","min-width":"24px","border-radius":"4px"}},design:{accent:{color:"#2B2D33","background-color":"#FEE600"},primary:{color:"#FFFFFF","background-color":"#2B2D33"},critical:{color:"#FFFFFF","background-color":"#EE505A"},outline:{color:"#2B2D33","background-color":"transparent",border:"solid 2px #D5D5D6"},"outline-critical":{color:"#2B2D33","background-color":"transparent",border:"solid 2px #EE505A"},ghost:{color:"#2B2D33","background-color":"transparent",padding:0},white:{color:"#2B2D33","background-color":"#FFFFFF"}},hover:{accent:{"background-color":"#FED500",color:"#2B2D33"},primary:{"background-color":"#000000",color:"#FFFFFF"},critical:{"background-color":"#C74952",color:"#FFFFFF"},outline:{color:"#2B2D33",border:"solid 2px #2B2D33"},"outline-critical":{color:"#2B2D33",border:"solid 2px #2B2D33"},ghost:{color:"#00809C"},white:{color:"#2B2D33","background-color":"#F4F4F4"}},disabled:{accent:{"pointer-events":"none",cursor:"not-allowed",color:"#AAABAD","background-color":"#E9EAEA",transition:"none"},primary:{"pointer-events":"none",cursor:"not-allowed",color:"#AAABAD","background-color":"#E9EAEA",transition:"none"},critical:{"pointer-events":"none",cursor:"not-allowed",color:"#AAABAD","background-color":"#E9EAEA",transition:"none"},outline:{"pointer-events":"none",cursor:"not-allowed",color:"#D5D5D6","background-color":"transparent",border:"solid 2px #E9EAEA",transition:"none"},"outline-critical":{"pointer-events":"none",cursor:"not-allowed",color:"#D5D5D6","background-color":"transparent",border:"solid 2px #E9EAEA",transition:"none"},ghost:{"pointer-events":"none",cursor:"not-allowed",color:"rgba(43, 45, 51, 0.24)",transition:"none"},white:{"pointer-events":"none",cursor:"not-allowed",color:"rgba(43, 45, 51, 0.24)","background-color":"#E9EAEA",transition:"none"}},loading:{cursor:"default",color:"transparent",transition:"none"},focus:{accent:{transition:"none","border-color":"transparent","box-shadow":"0 0 0 2px #00A5BC"},primary:{transition:"none","border-color":"transparent","box-shadow":"0 0 0 2px #00A5BC"},critical:{transition:"none","border-color":"transparent","box-shadow":"0 0 0 2px #00A5BC"},outline:{transition:"none","border-color":"transparent","box-shadow":"0 0 0 2px #00A5BC"},"outline-critical":{transition:"none","border-color":"transparent","box-shadow":"0 0 0 2px #00A5BC"},ghost:{color:"#00809C"},white:{transition:"none"}},gap:{xxl:{"margin-right":"12px"},xl:{"margin-right":"8px"},l:{"margin-right":"8px"},m:{"margin-right":"8px"},s:{"margin-right":"8px"},xs:{"margin-right":"4px"}}},calendar:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","background-color":"#FFFFFF","border-radius":"8px","user-select":"none;"},dayWeek:{"font-size":"12px",color:"#AAABAD"},body:{padding:"16px"},navigationIconButton:{base:{color:"#808185",cursor:"pointer"},hover:{color:"#2B2D33"}},headerDoubleArrow:{base:{"margin-right":"8px"},lastChild:{"margin-left":"8px","margin-right":0}},header:{base:{height:"48px",width:"100%","border-bottom":"1px solid #E9EAEA"},title:{"font-size":"14px",width:"130px","line-height":"20px"}},footer:{"border-top":"1px solid #E9EAEA",height:"48px",width:"100%"},cell:{base:{"font-size":"12px",cursor:"pointer","border-radius":"8px"},hover:{"background-color":"#F4F4F4"},active:{"background-color":"#FEE600"}},day:{base:{"font-size":"12px",cursor:"pointer",color:"#2B2D33"},active:{"background-color":"#FEE600","border-radius":"4px",color:"#2B2D33"},today:{"font-weight":"700",color:"#00A5BC"},"not-active":{color:"#AAABAD","pointer-events":"none",cursor:"default"},disabled:{color:"rgba(43, 45, 51, 0.24)",cursor:"default"},activeDisabled:{"background-color":"#F4F4F4",color:"rgba(43, 45, 51, 0.24)","border-radius":"4px",cursor:"default"},weekend:{color:"#AAABAD"},range:{"background-color":"#F4F4F4"},event:{width:"4px",height:"4px","background-color":"#00A5BC",bottom:"3px",left:"50%",transform:"translateX(-50%)","border-radius":"50%"},matStart:{top:0,right:0,"background-color":"#F4F4F4"},matEnd:{top:0,left:0,"background-color":"#F4F4F4"}},dayHover:{hover:{"background-color":"#F4F4F4","border-radius":"4px"},active:{"background-color":"#FEE600","border-radius":"4px"},"not-active":{"background-color":"#FFFFFF"},disabled:{"background-color":"#FFFFFF"}}},card:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","background-color":"#FFFFFF"},size:{l:{padding:"32px","border-radius":"24px","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)"},m:{padding:"24px","border-radius":"16px","box-shadow":"0 4px 20px 0 rgba(0, 0, 0, 0.08)"},s:{padding:"16px","border-radius":"16px","box-shadow":"0 2px 12px 0 rgba(0, 0, 0, 0.04)"}},header:{"margin-bottom":"32px"},footer:{"margin-top":"32px"},subtitle:{color:"#AAABAD"},contentTitle:{color:"#808185","font-size":"18px;","margin-bottom":"12px"},contentTitleGap:{"margin-top":"32px"}},checkbox:{base:{"border-radius":"4px",border:"2px solid #D5D5D6",cursor:"pointer","background-color":"#FFFFFF"},size:{s:{height:"16px",width:"16px"},m:{height:"20px",width:"20px"},l:{height:"24px",width:"24px"}},hover:{"border-color":"#2B2D33"},disabled:{"background-color":"#ecedf0","border-color":"#ecedf0",color:"rgb(43, 45, 51, 0.24)",cursor:"not-allowed","pointer-events":"none"},error:{"border-color":"#F27C83","background-color":"#FDEEEE"},checked:{"background-color":"#FEE600","border-color":"#FEE600",color:"#000000"},label:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,color:"#000000","margin-left":"8px",cursor:"pointer"},size:{s:{"font-size":"12px","line-height":"18px"},m:{"font-size":"14px","line-height":"22px"},l:{"font-size":"16px","line-height":"26px"}},disabled:{opacity:.24,color:"#2B2D33",cursor:"not-allowed","pointer-events":"none"}}},chips:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif",cursor:"pointer","font-weight":"500","margin-left":"8px",outline:0,color:"#2B2D33"},size:{xxl:{"font-size":"16px","line-height":"26px",padding:"0 24px",height:"52px","min-width":"52px","border-radius":"32px"},xl:{"font-size":"16px","line-height":"26px",padding:"0 24px",height:"48px","min-width":"48px","border-radius":"32px"},l:{"font-size":"14px","line-height":"22px",padding:"0 20px",height:"40px","min-width":"40px","border-radius":"24px"},m:{"font-size":"14px","line-height":"22px",padding:"0 20px",height:"36px","min-width":"36px","border-radius":"24px"},s:{"font-size":"14px","line-height":"22px",padding:"0 16px",height:"32px","min-width":"32px","border-radius":"16px"},xs:{"font-size":"12px","line-height":"18px",padding:"0 12px",height:"24px","min-width":"24px","border-radius":"16px"}},design:{accent:{"background-color":"#F4F4F4"},primary:{"background-color":"#F4F4F4"},ghost:{"background-color":"transparent"}},hover:{"background-color":"#E9EAEA"},disabled:{accent:{color:"rgba(43, 45, 51, 0.24)","background-color":"#F4F4F4"},primary:{color:"rgba(43, 45, 51, 0.24)","background-color":"#F4F4F4"},ghost:{color:"rgba(43, 45, 51, 0.24)"}},active:{design:{accent:{"background-color":"#FEE600"},primary:{color:"#FFFFFF","background-color":"#2B2D33"},ghost:{"background-color":"#E9EAEA"}},hover:{accent:{"background-color":"#FED500"},primary:{"background-color":"#000000"},ghost:{"background-color":"#D5D5D6"}},disabled:{accent:{color:"#808185","background-color":"#D5D5D6"},primary:{color:"#808185","background-color":"#D5D5D6"},ghost:{color:"#AAABAD","background-color":"#F4F4F4"}}},focus:{"box-shadow":"0 0 0 2px #00A5BC"},box:{outline:0,"margin-left":"-8px",width:"100%"}},comboButton:{leftButton:{base:{"border-top-right-radius":0,"border-bottom-right-radius":0}},rightButton:{base:{"border-top-left-radius":0,"border-bottom-left-radius":0,"margin-left":"2px"},design:{outline:{"margin-left":"-2px"}}}},counter:{base:{"font-size":"12px","line-height":"18px","text-align":"center",color:"#FFFFFF",padding:"0 6px","min-width":"20px",height:"20px","border-radius":"16px"},design:{critical:{"background-color":"#EE505A"},warning:{"background-color":"#F88545"},success:{"background-color":"#19B28D"},accent:{"background-color":"#00A5BC"},neutral:{"background-color":"#2B2D33"},disabled:{"background-color":"#D5D5D6",color:"#2B2D33"}}},dateGrid:{calendar:{"border-radius":"8px","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)",top:"8px","z-index":"9"}},datetimepicker:{left:{base:{"min-width":"136px","margin-right":"8px"}},right:{base:{width:"96px"},isInput:{width:"72px"}}},datepicker:{calendar:{"border-radius":"8px","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)",top:"8px","z-index":"1000"}},datepickerrange:{calendar:{"border-radius":"8px","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)",top:"8px","z-index":"1000"}},drawer:{fade:{base:{"z-index":"1000",transition:"all 0.3s ease-out"},hide:{"background-color":"rgba(43, 45, 51, 0)"},show:{"background-color":"rgba(43, 45, 51, 0.24)"}},window:{base:{"z-index":"2",transition:"all 0.3s ease-in-out","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)","background-color":"#FFFFFF",position:"absolute","border-radius":"0px",opacity:1,"min-width":"460px"},orientation:{left:{left:0},right:{right:0},bottom:{bottom:0},top:{top:0}}},content:{base:{height:"calc( 100% - 32px - 24px - 4px )"}},icon:{base:{color:"#AAABAD",position:"relative",display:"inline-flex",cursor:"pointer",margin:"32px 0 0 32px",left:0,top:0,width:"auto",height:"auto","justify-content":"flex-start",transition:"all .2s",outline:"none"},hover:{color:"#2B2D33"},focus:{outline:"1px solid #00A5BC"}}},dropList:{list:{base:{"background-color":"#FFFFFF",padding:"8px 0","border-radius":"8px","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)"}},item:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"background-color":"#FFFFFF",color:"#000000",cursor:"pointer;"},hover:{"background-color":"#F4F4F4"},selected:{"background-color":"#E9EAEA"},disabled:{"pointer-events":"none",opacity:.24},size:{s:{"font-size":"12px","line-height":"18px",padding:"6px 12px","min-height":"32px"},m:{"font-size":"14px","line-height":"22px",padding:"8px 16px","min-height":"40px"},l:{"font-size":"16px","line-height":"26px",padding:"12px 16px","min-height":"52px"}}}},emptyState:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif"},title:{color:"#2B2D33","font-weight":"700","line-height":"30px","font-size":"20px"},description:{color:"#808185","line-height":"22px","font-size":"14px","text-align":"center"},row:{"margin-bottom":"20px"},content:{"max-width":"500px"}},fileLoader:{container:{base:{width:"100%",height:"100%","background-color":"#F8F8F8",border:"1px dashed #D5D5D6","box-sizing":"border-box","border-radius":"8px",padding:"24px",transition:"all 0.2s",color:"#808185"},invalid:{"border-color":"#EE505A"},over:{"background-color":"#E6F6F8","border-color":"#00A5BC"},disabled:{"border-color":"#E9EAEA",color:"rgba(43, 45, 51, 0.24) !important"}},list:{base:{width:"100%","margin-top":"32px"}},content:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,color:"#2B2D33",width:"100%;","font-size":"14px","line-height":"22px"}},subContent:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,color:"#AAABAD",width:"100%;","font-size":"12px","line-height":"18px","margin-top":"4px"}},file:{container:{base:{width:"100%",height:"72px"}},icon:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-size":"12px","line-height":"18px","min-height":"40px",height:"40px",width:"40px","min-width":"40px","background-color":"#F0F0FE","border-radius":"4px",color:"#2B2D33"}},image:{base:{margin:"6px"}},main:{base:{"margin-left":"16px","margin-right":"16px",width:"100%",height:"100%"}},name:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-weight":"500","font-size":"14px","line-height":"22px","margin-bottom":"4px",color:"#2B2D33"},focus:{color:"#00809C"}},data:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-size":"12px","line-height":"18px","margin-bottom":"8px",color:"#AAABAD"},invalid:{color:"#EE505A"}},closeIcon:{base:{transition:"all 0.2s",color:"#808185","min-width":"12px"},focus:{color:"#00809C"}}}},filter:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif",height:"32px","border-radius":"16px","font-size":"14px","font-weight":"500","line-height":"22px","margin-left":"8px",padding:"0 12px",color:"#2B2D33"},design:{primary:{"background-color":"#2B2D33",color:"#FFFFFF"},ghost:{"background-color":"#F4F4F4"}},box:{"margin-left":"-8px",width:"100%"},label:{base:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},icon:{base:{"margin-left":"4px",cursor:"pointer",transition:".2s",outline:"none","box-sizing":"border-box"},notHover:{color:"#AAABAD"},focus:{outline:"1px solid #00A5BC"}}},formField:{content:{base:{"flex-grow":"1"}},container:{inline:{display:"flex","align-items":"baseline"}},label:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"line-height":"18px",color:"#808185","margin-right":"16px",display:"flex","align-items":"center"},size:{s:{"font-size":"12px","margin-bottom":"4px"},m:{"font-size":"14px","margin-bottom":"4px"}}},star:{base:{top:"2px",left:"5px",color:"#EE505A"}},message:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"line-height":"18px",display:"flex","align-items":"center",color:"#808185"},design:{critical:{color:"#EE505A"},warning:{color:"#F88545"}},align:{left:{"justify-content":"flex-start"},center:{"justify-content":"center"},right:{"justify-content":"flex-end"}},size:{s:{"font-size":"12px","margin-top":"4px","min-height":"18px"},m:{"font-size":"14px","margin-top":"4px","min-height":"18px"}}}},grid:{row:{align:{left:{"justify-content":"flex-start"},center:{"justify-content":"center"},right:{"justify-content":"flex-end"},around:{"justify-content":"space-around"},between:{"justify-content":"space-between"},stretch:{"& > *":{width:"unset;","flex-basis":"unset;","max-width":"unset;","flex-grow":"1;"}}},valign:{top:{"align-items":"flex-start"},middle:{"align-items":"center"},bottom:{"align-items":"flex-end"}}}},groups:{size:{xxs:"4px",xs:"8px",s:"12px",m:"16px",l:"20px",xl:"24px"}},header:{base:{"z-index":"999",width:"100%","background-color":"#FFFFFF"},header:{width:"100%",display:"flex","background-color":"#FFFFFF","justify-content":"space-between"},sideContent:{base:{"padding-right":"8px",display:"flex","flex-shrink":0},size:{l:{"padding-right":"40px","padding-bottom":"24px"},m:{"padding-right":"32px","padding-bottom":"24px"},s:{"padding-right":"24px","padding-bottom":"12px"}}},list:{"margin-top":"16px","background-color":"#FFFFFF",width:"100%"},shadow:{"box-shadow":"0 4px 20px 0 rgba(0, 0, 0, 0.08)"},fixed:{position:"fixed",top:0,left:0},actionGroups:{width:"max-content"},action:{base:{"max-width":"100%"},size:{l:{"max-height":"40px","padding-left":"40px","padding-bottom":"24px"},m:{"max-height":"32px","padding-left":"32px","padding-bottom":"24px"},s:{"max-height":"24px","padding-left":"24px","padding-bottom":"12px"}}},size:{l:{padding:"24px 32px 0px"},m:{padding:"24px 32px 0px"},s:{padding:"12px 16px 0px"}},box:{size:{l:{height:"88px"},m:{height:"80px"},s:{height:"48px"}}},boxMobile:{size:{l:{height:"72px"},m:{height:"64px"},s:{height:"56px"}}},searchContainer:{base:{"padding-right":"16px","min-width":"200px"},size:{l:{"padding-left":"64px"},m:{"padding-left":"64px"},s:{"padding-left":"32px"}}},tabs:{base:{"justify-content":"center",width:"100%",height:"100%",display:"flex","flex-direction":"row"}},tab:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-weight":"500",color:"#808185",height:"100%",cursor:"pointer",transition:"color 0.2s",display:"flex","justify-content":"space-between","align-items":"flex-start"},align:{bottom:{size:{l:{"margin-top":"10px","min-height":"54px","margin-right":"32px","font-size":"16px","line-height":"26px"},m:{"margin-top":"6px","min-height":"50px","margin-right":"24px","font-size":"14px","line-height":"22px"},s:{"min-height":"32px","margin-right":"16px","font-size":"12px","line-height":"18px","padding-top":"4px","padding-bottom":"14px"}}},center:{size:{l:{"min-height":"40px","margin-right":"32px","font-size":"16px","line-height":"26px"},m:{"min-height":"32px","margin-right":"24px","font-size":"14px","line-height":"22px"},s:{"min-height":"32px","margin-right":"16px","font-size":"12px","line-height":"18px"}}}}},menuPoint:{base:{width:"100%",height:"50px",padding:"12px 16px","background-color":"#FFFFFF",color:"#2B2D33","text-align":"left",border:"none",cursor:"pointer",overflow:"hidden"},hover:{outline:"none"},active:{outline:"none"},focus:{outline:"none"},title:{base:{"font-style":"normal","font-weight":"500",width:"100%",height:"100%",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},hover:{color:"#00809C"}},icon:{base:{color:"#D5D5D6"},hover:{color:"#00809C"}}},content:{base:{position:"absolute",display:"flex",width:"100%","justify-content":"center","background-color":"#FFFFFF"},size:{l:{top:"88px"},m:{top:"80px"},s:{top:"48px"}}},contentMobile:{base:{position:"absolute",display:"block",width:"100%","overflow-y":"scroll","background-color":"#FFFFFF"},size:{l:{top:"72px"},m:{top:"64px"},s:{top:"56px"}},height:{l:{height:"calc(100vh - 72px)"},m:{height:"calc(100vh - 64px)"},s:{height:"calc(100vh - 56px)"}}},fade:{base:{position:"absolute",display:"block",height:"100vh",width:"100%","background-color":"rgba(43, 45, 51, 0.24)"}}},hint:{definition:{base:{color:"#AAABAD","margin-right":"4px"}},wrapper:{base:{"margin-right":"4px"}},icon:{base:{color:"#AAABAD",outline:"none",cursor:"pointer","border-radius":"16px"},size:{s:{width:"12px",height:"12px"},m:{width:"16px",height:"16px"},l:{width:"20px",height:"20px"}},hover:{color:"#2B2D33"}}},input:{native:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"background-color":"transparent",color:"#2B2D33",border:"none",outline:"none",transition:"all .2s","box-sizing":"border-box",width:"100%",height:"100%"},design:{material:{padding:0}},size:{xs:{"font-size":"12px","line-height":"18px"},s:{"font-size":"14px","line-height":"22px"},m:{"font-size":"14px","line-height":"22px"},l:{"font-size":"14px","line-height":"22px"},xl:{"font-size":"16px","line-height":"26px"},xxl:{"font-size":"16px","line-height":"26px"}}},placeholder:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,width:"100%",color:"#AAABAD","line-height":"auto"},disabled:{color:"rgba(43, 45, 51, 0.24)"},gap:{top:"12px"}},wrapper:{base:{"background-color":"#FFFFFF",transition:"all .2s","border-radius":"8px",width:"100%",color:"#2B2D33","padding-left":"12px","padding-right":"12px"},design:{outline:{border:"1px solid #D5D5D6"},material:{"border-bottom":"1px solid #D5D5D6","border-radius":0,padding:0}},size:{xs:{height:"24px","border-radius":"4px","padding-left":"8px","padding-right":"8px"},s:{height:"32px"},m:{height:"36px"},l:{height:"40px"},xl:{height:"48px"},xxl:{height:"52px"}},hover:{outline:{"border-color":"#2B2D33","box-shadow":"inset 0px 0px 0px 1px #2B2D33"},material:{"border-bottom-color":"#2B2D33","box-shadow":"inset 0px -1px 0px 0px #2B2D33"}},disabled:{outline:{"pointer-events":"none","border-color":"#F4F4F4","background-color":"#F4F4F4",color:"rgba(43, 45, 51, 0.24)"},material:{"pointer-events":"none","border-bottom-color":"#F4F4F4",color:"rgba(43, 45, 51, 0.24)"}},invalid:{outline:{"border-color":"#EE505A"},material:{"border-bottom-color":"#EE505A"}}},wrapped:{base:{color:"#2B2D33"},disabled:{color:"rgba(43, 45, 51, 0.24)"}},infix:{base:{color:"#AAABAD"},hover:{color:"#2B2D33"},size:{xs:{margin:"0 4px","font-size":"12px"},s:{margin:"0 8px","font-size":"14px"},m:{margin:"0 8px","font-size":"14px"},l:{margin:"0 8px","font-size":"14px"},xl:{margin:"0 12px","font-size":"16px"},xxl:{margin:"0 12px","font-size":"16px"}}},prefix:{base:{"margin-left":0}},postfix:{base:{"margin-right":0}}},inputNumber:{control:{base:{color:"#AAABAD"},hover:{color:"#2B2D33",cursor:"pointer"},disabled:{color:"rgba(43, 45, 51, 0.24)","pointer-events":"none"},inactive:{color:"#E9EAEA","pointer-events":"none"}},withControlsBox:{base:{width:"112px"}}},inputPassword:{base:{cursor:"pointer",transition:"all .2s"},hover:{color:"#000000"}},inputSlider:{box:{base:{width:"100%;"},disabled:{color:"rgba(43, 45, 51, 0.24)","pointer-events":"none"}},part:{base:{width:"12px",opacity:"0;"}},container:{base:{width:"100%;"},noInput:{top:"12px"}},line:{base:{"border-bottom-style":"solid;","border-bottom-width":"4px"},front:{"border-bottom-color":"#FEE600"},back:{"border-bottom-color":"#D5D5D6"},design:{outline:{"border-bottom-left-radius":"8px","border-bottom-right-radius":"8px"}},focus:{"border-bottom-color":"#2B2D33"},disabled:{"border-bottom-color":"#D5D5D6"},animation:{transition:"all .1s"},size:{xxl:{"border-bottom-width":"6px"},xl:{"border-bottom-width":"6px"},l:{"border-bottom-width":"4px"},s:{"border-bottom-width":"2px"},xs:{"border-bottom-width":"1px"}}},circle:{base:{width:"16px",height:"16px","border-radius":"40px",top:"-8px",left:"-8px","background-color":"#FEE600",cursor:"pointer"},hover:{outline:"none",width:"20px",height:"20px",top:"-10px",left:"-10px","background-color":"#FED500"},disabled:{"pointer-events":"none","background-color":"#D5D5D6"}},tags:{base:{"margin-top":"8px",height:"16px",color:"#AAABAD"}},tag:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-size":"12px","line-height":"18px",cursor:"pointer"},firstChild:{outline:{left:"8px"},material:{left:"0px"}},lastChild:{outline:{right:"8px",left:"unset"},material:{right:"0px;",left:"unset"}}}},link:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0},design:{accent:{color:"#00809C"},"accent-underline":{color:"#00809C"},primary:{color:"#2B2D33"},secondary:{color:"#808185"}},hover:{accent:{color:"#04607D"},"accent-underline":{color:"#04607D"},primary:{color:"#2B2D33"},secondary:{color:"#2B2D33"}},size:{l:{"font-size":"16px","line-height":"26px"},m:{"font-size":"14px","line-height":"22px"},s:{"font-size":"12px","line-height":"18px"}},gap:{l:{"margin-right":"12px"},m:{"margin-right":"8px"},s:{"margin-right":"4px"}},disabled:{color:"rgba(43, 45, 51, 0.24)","pointer-events":"none"},loading:{color:"transparent"},wrapper:{base:{display:"inline-block","border-bottom-style":"solid","border-bottom-width":"1px"},design:{accent:{"border-bottom-color":"transparent"},"accent-underline":{"border-bottom-color":"#66C9D7"},primary:{"border-bottom-color":"#66C9D7"},secondary:{"border-bottom-color":"#66C9D7"}},hover:{accent:{"border-bottom-color":"#04607D"},"accent-underline":{"border-bottom-color":"#04607D"},primary:{"border-bottom-color":"#00809C"},secondary:{"border-bottom-color":"#00809C"}},disabled:{accent:{color:"rgba(43, 45, 51, 0.24)"},"accent-underline":{"border-bottom-color":"rgba(43, 45, 51, 0.24)"},primary:{"border-bottom-color":"rgba(43, 45, 51, 0.24)"},secondary:{"border-bottom-color":"rgba(43, 45, 51, 0.24)"}},loading:{"border-bottom-color":"transparent"}}},login:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif"},form:{padding:"24px 24px"},logo:{"margin-bottom":"24px"},label:{color:"#808185","font-size":"12px","line-height":"24px"},loginInput:{"margin-bottom":"12px"},passwordInput:{"margin-bottom":"32px"},alert:{"margin-bottom":"24px"}},logotype:{design:{light:{fill:"#FEE600",color:"#2B2D33"},monochrome:{fill:"#FEE600",color:"#2B2D33"},dark:{fill:"#FEE600",color:"#2B2D33"},"monochrome-dark":{fill:"transparent",color:"#FFFFFF"}},width:{xs:{width:"16px"},s:{width:"24px"},m:{width:"32px"},l:{width:"40px"},xl:{width:"48px"},xxl:{width:"56px"}},height:{xs:{height:"16px"},s:{height:"24px"},m:{height:"32px"},l:{height:"40px"},xl:{height:"48px"},xxl:{height:"56px"}},logotype:{design:{light:{fill:"#FEE600",color:"#2B2D33"},monochrome:{fill:"transparent",color:"#2B2D33"},dark:{fill:"#FEE600",color:"#FFFFFF"},"monochrome-dark":{fill:"transparent",color:"#FFFFFF"}},size:{horizontal:{color:{ru:{default:{xs:{width:"57.57px"},s:{width:"86.35px"},m:{width:"115.14px"},l:{width:"143.92px"},xl:{width:"172.7px"},xxl:{width:"201.49px"}},"one-line":{xs:{width:"95.27px"},s:{width:"142.91px"},m:{width:"190.55px"},l:{width:"238.18px"},xl:{width:"285.82px"},xxl:{width:"333.46px"}}},en:{default:{xs:{width:"47.86px"},s:{width:"71.79px"},m:{width:"95.73px"},l:{width:"119.66px"},xl:{width:"143.59px"},xxl:{width:"167.52px"}},"one-line":{xs:{width:"82.28px"},s:{width:"123.42px"},m:{width:"164.56px"},l:{width:"205.7px"},xl:{width:"246.84px"},xxl:{width:"287.98px"}}}},monochrome:{ru:{default:{xs:{width:"52.62px"},s:{width:"78.96px"},m:{width:"105.25px"},l:{width:"131.59px"},xl:{width:"157.92px"},xxl:{width:"184.21px"}},"one-line":{xs:{width:"90.44px"},s:{width:"135.66px"},m:{width:"180.88px"},l:{width:"226.02px"},xl:{width:"271.24px"},xxl:{width:"316.46px"}}},en:{default:{xs:{width:"42.87px"},s:{width:"64.35px"},m:{width:"85.79px"},l:{width:"107.23px"},xl:{width:"128.66px"},xxl:{width:"150.1px"}},"one-line":{xs:{width:"77.39px"},s:{width:"116.08px"},m:{width:"154.78px"},l:{width:"193.4px"},xl:{width:"232.09px"},xxl:{width:"270.79px"}}}}},vertical:{color:{ru:{default:{xs:{height:"57.54px",width:"16px"},s:{height:"86.31px",width:"24px"},m:{height:"115.09px",width:"32px"},l:{height:"143.86px",width:"40px"},xl:{height:"172.63px",width:"48px"},xxl:{height:"201.4px",width:"56px"}},"one-line":{xs:{height:"95.15px",width:"16px"},s:{height:"142.72px",width:"24px"},m:{height:"190.29px",width:"32px"},l:{height:"237.87px",width:"40px"},xl:{height:"285.44px",width:"48px"},xxl:{height:"333.01px",width:"56px"}}},en:{default:{xs:{height:"47.85px",width:"16px"},s:{height:"71.78px",width:"24px"},m:{height:"95.7px",width:"32px"},l:{height:"119.63px",width:"40px"},xl:{height:"143.56px",width:"48px"},xxl:{height:"167.48px",width:"56px"}},"one-line":{xs:{height:"81.99px",width:"16px"},s:{height:"122.99px",width:"24px"},m:{height:"163.98px",width:"32px"},l:{height:"204.98px",width:"40px"},xl:{height:"245.98px",width:"48px"},xxl:{height:"286.97px",width:"56px"}}}},monochrome:{ru:{default:{xs:{height:"52.24px"},s:{height:"78.31px"},m:{height:"104.43px"},l:{height:"130.55px"},xl:{height:"156.67px"},xxl:{height:"182.79px"}},"one-line":{xs:{height:"89.79px"},s:{height:"134.61px"},m:{height:"179.51px"},l:{height:"224.41px"},xl:{height:"269.31px"},xxl:{height:"314.2px"}}},en:{default:{xs:{height:"42.49px"},s:{height:"63.21px"},m:{height:"84.98px"},l:{height:"106.25px"},xl:{height:"127.51px"},xxl:{height:"148.76px"}},"one-line":{xs:{height:"76.98px"},s:{height:"115.4px"},m:{height:"153.89px"},l:{height:"192.38px"},xl:{height:"230.86px"},xxl:{height:"269.35px"}}}}}}}},modal:{fade:{base:{"z-index":"1000",transition:"all 0.3s ease-out",padding:"32px"},hide:{"background-color":"rgba(43, 45, 51, 0)"},show:{"background-color":"rgba(43, 45, 51, 0.24)"}},window:{base:{"z-index":"2",transition:"all 0.3s ease-in-out","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)","border-radius":"16px","background-color":"#FFFFFF",opacity:0},hide:{transform:"scale(0.8)",opacity:0},show:{opacity:1,transform:"scale(1)"}},icon:{base:{color:"#AAABAD",position:"absolute",right:"16px",top:"16px",display:"flex","align-items":"center","justify-content":"center","background-color":"rgba(255, 255, 255, 0.64)",width:"32px",height:"32px","border-radius":"16px",cursor:"pointer",transition:"all .2s",outline:"none"},hover:{color:"#2B2D33"},focus:{outline:"1px solid #00A5BC"}}},notifications:{valign:{top:{top:0},bottom:{bottom:0}},align:{center:{width:"1px;",left:"50%;"},left:{left:"20px;"},right:{right:"20px;"}},notification:{design:{success:{"background-color":"#19B28D",color:"#FFFFFF"},warning:{"background-color":"#F88545",color:"#FFFFFF"},error:{"background-color":"#EE505A",color:"#FFFFFF"},plain:{"background-color":"#2B2D33",color:"#FFFFFF"},accent:{"background-color":"#00A5BC",color:"#FFFFFF"}},button:{design:{primary:{color:"#FFFFFF",border:"solid 2px rgba(255, 255, 255, 0.64)"},ghost:{color:"#FFFFFF",padding:0}},hover:{primary:{border:"solid 2px #FFFFFF"},ghost:{color:"#FFFFFF"}}},notificationsGap:{"margin-bottom":"8px","padding-right":"46px"},close:{base:{top:"16px",right:"16px",cursor:"pointer"},design:{plain:{color:"#AAABAD"},error:{color:"#FACED1"},warning:{color:"#FDDAC7"},success:{color:"#BFE9DF"},accent:{color:"#66C9D7"}},hover:{color:"#FFFFFF"}},size:{width:"500px;"},sizeCompact:{width:"350px;"}}},pagination:{gap:{s:{margin:"12px 0"},m:{margin:"16px 0"},l:{margin:"20px 0"}},pager:{base:{"border-radius":"4px","font-weight":"500","border-color":"transparent","border-width":"2px",color:"#2B2D33",background:"none",transition:"background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease"},size:{s:{"font-size":"14px","line-height":"22px",height:"32px","min-width":"32px"},m:{"font-size":"16px","line-height":"26px",height:"36px","min-width":"36px"},l:{"font-size":"18px","line-height":"28px",height:"40px","min-width":"40px"}},hover:{background:"#F8F8F8",color:"#00A5BC"},click:{background:"#E9EAEA",color:"#00A5BC"},active:{color:"#2B2D33",background:"#E9EAEA"},disabled:{color:"rgba(43, 45, 51, 0.24)","border-color":"transparent"},gap:{s:{"margin-right":"12px"},l:{"margin-right":"20px"},m:{"margin-right":"16px"}}}},paymentlogo:{base:{"border-color":"transparent","border-radius":"4px"},size:{xs:{width:"24px",height:"16px"},s:{width:"40px",height:"24px"},m:{width:"56px",height:"32px"},l:{width:"72px",height:"40px"},xl:{width:"86px",height:"48px"}},design:{ghost:{"background-color":"transparent"},wildsand:{"background-color":"#F4F4F4"},whitebox:{"background-color":"#FFFFFF"}}},popover:{message:{base:{"box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)","border-radius":"8px","padding-top":"12px","padding-right":"28px","padding-bottom":"12px","padding-left":"12px","z-index":"1000",transition:"opacity .2s"},design:{dark:{"background-color":"#2B2D33",color:"#FFFFFF"},light:{"background-color":"#FFFFFF",color:"#2B2D33"}}},header:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-size":"12px","line-height":"18px","font-weight":"700","margin-bottom":"4px"}},content:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-size":"12px","line-height":"18px"}},close:{base:{top:"12px",right:"12px",cursor:"pointer"}},defenition:{base:{color:"#AAABAD"}}},progressbar:{line:{size:{s:{height:"4px"},m:{height:"8px"},l:{height:"12px"}},back:{"background-color":"#E9EAEA","border-radius":"8px"},progress:{base:{"border-radius":"8px",transition:"all .2s",overflow:"hidden"},color:{accent:{"background-color":"#FED500"},moscow100:{"background-color":"#EE505A"},osaka100:{"background-color":"#F88545"},geneva100:{"background-color":"#19B28D"},oslo120:{"background-color":"#00809C"},seattle140:{"background-color":"#404247"},oslo100:{"background-color":"#00A5BC"},miami100:{"background-color":"#5ED1B6"},sochi100:{"background-color":"#57B6ED"},paris100:{"background-color":"#9A99FB"},tokyo100:{"background-color":"#DC94DD"},dubai100:{"background-color":"#FCB664"},nice100:{"background-color":"#FC9696"}}}},circle:{size:{s:{"stroke-width":"4px",r:32,cx:34,cy:34},m:{"stroke-width":"8px",r:44,cx:48,cy:48},l:{"stroke-width":"12px",r:64,cx:70,cy:70}},box:{size:{s:{width:"68px",height:"68px"},m:{width:"96px",height:"96px"},l:{width:"140px",height:"140px"}}},back:{"stroke-miterlimit":10,stroke:"#E9EAEA",fill:"none"},progress:{base:{"stroke-miterlimit":10,fill:"none",transform:"rotate(-90deg)","transform-origin":"50%"},color:{accent:{stroke:"#FED500"},moscow100:{stroke:"#EE505A"},osaka100:{stroke:"#F88545"},geneva100:{stroke:"#19B28D"},oslo120:{stroke:"#00809C"},seattle140:{stroke:"#404247"},oslo100:{stroke:"#00A5BC"},miami100:{stroke:"#5ED1B6"},sochi100:{stroke:"#57B6ED"},paris100:{stroke:"#9A99FB"},tokyo100:{stroke:"#DC94DD"},dubai100:{stroke:"#FCB664"},nice100:{stroke:"#FC9696"}}},content:{size:{s:{width:"56px",height:"56px"},m:{width:"72px",height:"72px"},l:{width:"104px",height:"104px"}}}},pattern:{rect:{fill:"rgba(255, 255, 255, 0.24)"},svg:{position:"absolute;",top:"0;",left:"0;",height:"100%;",width:"calc(100% + 40px);"}}},radio:{base:{border:"2px solid #D5D5D6",cursor:"pointer","background-color":"#FFFFFF"},size:{s:{height:"16px",width:"16px","border-radius":"8px"},m:{height:"20px",width:"20px","border-radius":"12px"},l:{height:"24px",width:"24px","border-radius":"16px"}},hover:{"border-color":"#2B2D33"},disabled:{"background-color":"#E9EAEA","border-color":"#E9EAEA",color:"rgba(43, 45, 51, 0.24)",cursor:"not-allowed","pointer-events":"none"},invalid:{"border-color":"#F27C83","background-color":"#FDEEEE"},checked:{"background-color":"#FEE600","border-color":"#FEE600",color:"#000000"},label:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,color:"#000000","margin-left":"8px",cursor:"pointer"},size:{s:{"font-size":"12px","line-height":"18px"},m:{"font-size":"14px","line-height":"22px"},l:{"font-size":"16px","line-height":"26px"}},disabled:{opacity:.24,color:"#2B2D33",cursor:"not-allowed","pointer-events":"none"}},checkmark:{base:{"background-color":"#2B2D33"},disabled:{"background-color":"rgba(43, 45, 51, 0.24)"}}},roundIcon:{base:{"border-radius":"50%;","user-select":"none;"},size:{xl:{height:"112px",width:"112px","font-size":"30px"},l:{height:"56px",width:"56px","font-size":"20px"},m:{height:"40px",width:"40px","font-size":"16px"},s:{height:"32px",width:"32px","font-size":"14px"},xs:{height:"24px",width:"24px","font-size":"12px"}},color:{seattle10:{"background-color":"#E9EAEA",color:"#808185"},seattle60:{"background-color":"#AAABAD",color:"#FFFFFF"},oslo10:{"background-color":"#E6F6F8",color:"#00A5BC"},oslo60:{"background-color":"#66C9D7",color:"#FFFFFF"},miami10:{"background-color":"#E7F8F4",color:"#5ED1B6"},miami100:{"background-color":"#5ED1B6",color:"#FFFFFF"},nice10:{"background-color":"#FFEFEF",color:"#FC9696"},nice100:{"background-color":"#FC9696",color:"#FFFFFF"},dubai10:{"background-color":"#FFF4E8",color:"#FCB664"},dubai100:{"background-color":"#FCB664",color:"#FFFFFF"},paris10:{"background-color":"#F0F0FE",color:"#9A99FB"},paris100:{"background-color":"#9A99FB",color:"#FFFFFF"},sochi10:{"background-color":"#E6F4FC",color:"#57B6ED"},sochi100:{"background-color":"#57B6ED",color:"#FFFFFF"},tokyo10:{"background-color":"#FAEFFA",color:"#DC94DD"},tokyo100:{"background-color":"#DC94DD",color:"#FFFFFF"},dublin10:{"background-color":"#F2F8E7",color:"#A5D05F"},dublin100:{"background-color":"#A5D05F",color:"#FFFFFF"},bern10:{"background-color":"#ECF8EB",color:"#7DD27C"},bern100:{"background-color":"#7DD27C",color:"#FFFFFF"},manila10:{"background-color":"#E4F7F8",color:"#4BCBD3"},manila100:{"background-color":"#4BCBD3",color:"#FFFFFF"},tallin10:{"background-color":"#ECF2FF",color:"#82A9FF"},tallin100:{"background-color":"#82A9FF",color:"#FFFFFF"},seoul10:{"background-color":"#F5EFFE",color:"#BE93F8"},seoul100:{"background-color":"#BE93F8",color:"#FFFFFF"},havana10:{"background-color":"#FDEFF5",color:"#F095BA"},havana100:{"background-color":"#F095BA",color:"#FFFFFF"},madrid10:{"background-color":"#FEF6E1",color:"#F9C541"},madrid100:{"background-color":"#F9C541",color:"#FFFFFF"},porto10:{"background-color":"#FFF1EB",color:"#FEA17A"},porto100:{"background-color":"#FEA17A",color:"#FFFFFF"}}},screen:{head:{base:{"padding-top":"32px","padding-right":"32px","padding-left":"32px","box-sizing":"border-box"}},title:{base:{"font-family":"Navigo, Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","font-weight":"normal !important","letter-spacing":"normal",margin:0,"margin-bottom":"12px",color:"#2B2D33","font-size":"24px","line-height":"30px"}},subtitle:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,color:"#808185","margin-bottom":"24px","font-size":"16px","line-height":"26px"}},body:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"margin-bottom":"32px","padding-right":"32px","padding-left":"32px",color:"#808185","font-size":"16px","line-height":"26px"}},footer:{base:{"padding-right":"32px","padding-left":"32px","padding-bottom":"32px"}},gradientTop:{base:{height:"32px",background:"linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0) 100%)"}},gradientBottom:{base:{height:"32px",background:"linear-gradient(0deg, #FFFFFF 0%, rgba(255,255,255,0) 100%)"}}},search:{base:{width:"100%"}},select:{base:{cursor:"pointer",outline:"none",width:"100%"},wrapper:{size:{xs:{width:"calc(100% - 20px )"},s:{width:"calc(100% - 24px )"},m:{width:"calc(100% - 24px )"},l:{width:"calc(100% - 32px )"},xl:{width:"calc(100% - 32px )"},xxl:{width:"calc(100% - 32px )"}}},current:{size:{xs:{"font-size":"12px","line-height":"18px","border-radius":"4px"},s:{"font-size":"14px","line-height":"22px","border-radius":"8px"},m:{"font-size":"14px","line-height":"22px","border-radius":"8px"},l:{"font-size":"14px","line-height":"22px","border-radius":"8px"},xl:{"font-size":"16px","line-height":"26px","border-radius":"8px"},xxl:{"font-size":"16px","line-height":"26px","border-radius":"8px"}}},placeholder:{color:"#AAABAD"},placeholderDisabled:{color:"rgba(43, 45, 51, 0.24)"},chip:{base:{"align-items":"center","margin-right":"8px","min-width":"60px;"},size:{xxl:{"font-size":"16px"},xl:{"font-size":"16px"},l:{"font-size":"14px"},m:{"font-size":"14px"},s:{"font-size":"14px"},xs:{"font-size":"12px"}},text:{overflow:"hidden",height:"100%","text-overflow":"ellipsis","white-space":"nowrap"},textWithCheckbox:{overflow:"hidden",height:"100%","text-overflow":"ellipsis","white-space":"nowrap",width:"calc(100% - 12px - 20px)"},icon:{base:{cursor:"pointer",color:"#AAABAD"},size:{xxl:{"margin-left":"12px"},xl:{"margin-left":"12px"},l:{"margin-left":"8px"},m:{"margin-left":"8px"},s:{"margin-left":"4px"},xs:{"margin-left":"4px"}},hover:{color:"#2B2D33"}}},extra:{base:{"white-space":"nowrap","padding-left":"8px"}},checkbox:{base:{"margin-right":"12px"}}},sidebar:{base:{padding:"32px 0","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)"},design:{light:{"background-color":"#FFFFFF",color:"#2B2D33"},dark:{"background-color":"#2B2D33",color:"#F4F4F4"}},collapsed:{width:"80px"},collapser:{base:{padding:"0 24px","margin-bottom":"20px"},hover:{color:"#00A5BC"}},header:{base:{"margin-bottom":"32px","padding-right":"8px"},collapsed:{padding:"0 20px"},size:{s:{"padding-left":"24px"},m:{"padding-left":"32px"},l:{"padding-left":"40px"}}},menu:{light:{"overflow-y":"auto",background:"linear-gradient(transparent, white 70%) 0 100%, linear-gradient( #E9EAEA, #E9EAEA ) 24px 100%","background-repeat":"no-repeat","background-size":"100% 2px, calc(100% - 48px) 1px","background-attachment":"local, scroll"},dark:{"overflow-y":"auto",background:"linear-gradient(transparent, #2B2D33 70%) 0 100%, linear-gradient( #55575C, #55575C ) 24px 100%","background-repeat":"no-repeat","background-size":"100% 2px, calc(100% - 48px) 1px","background-attachment":"local, scroll"}},footer:{"margin-top":"24px"},item:{base:{"font-size":"14px","line-height":"22px"},size:{s:{"min-height":"40px",padding:"8px 20px 8px 24px"},m:{"min-height":"48px",padding:"12px 28px 12px 32px"},l:{"min- height":"52px",padding:"16px 28px 16px 40px"}},active:{"box-shadow":"inset 4px 0 0 0 #FEE600 !important","font-weight":"700"},hover:{light:{background:"#FBFBFB",color:"#2B2D33"},dark:{background:"#404247",color:"#F4F4F4"}},icon:{"margin-right":"12px"},disabled:{light:{"pointer-events":"none",cursor:"not-allowed",color:"#D5D5D6"},dark:{"pointer-events":"none",cursor:"not-allowed",color:"#55575C"}},notification:{"font-weight":"normal",width:"36px","padding-left":"4px"},ripple:{base:{position:"absolute","border-radius":"50%",width:"36px",height:"36px",opacity:0,transform:"translate(-50%, -50%) scale(0.1)",transition:"initial"},design:{light:{background:"#F4F4F4"},dark:{background:"#55575C"}}}},submenu:{size:{s:{"padding-left":"8px"},m:{"padding-left":"16px"},l:{"padding-left":"20px"}},design:{light:{"box-shadow":"inset 1px 0 0 0 #E9EAEA"},dark:{"box-shadow":"inset 1px 0 0 0 #55575C"}},item:{"padding-left":"4px !important"},menu:{base:{"margin-left":"24px"},item:{"padding-left":"12px !important"}}}},smscodeinput:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","justify-content":"center","align-items":"center"},footer:{"margin-top":"24px"},inputWrapper:{width:"148px","margin-bottom":"8px"},timerWrapper:{color:"#AAABAD","font-size":"14px","line-height":"32px"},error:{color:"#C74952","text-align":"center","font-size":"14px","line-height":"22px",height:"24px"},input:{"font-family":"Navigo, Helvetica, 'Helvetica New', Arial, sans-serif","font-size":"26px","line-height":"34px","font-weight":"700","text-align":"center","background-color":"transparent","&::placeholder":{color:"#D5D5D6"}}},spinner:{size:{xs:{width:"12px",height:"12px"},s:{width:"16px",height:"16px"},m:{width:"20px",height:"20px"},l:{width:"24px",height:"24px"},xl:{width:"32px",height:"32px"},xxl:{width:"32px",height:"32px"}},color:{primary:{stroke:"#2B2D33"},accent:{stroke:"#FEE600"},london120:{stroke:"rgba(43, 45, 51, 0.24)"},white:{stroke:"#FFFFFF"}}},stepper:{base:{orientation:{vertical:{"flex-direction":"column",height:"100%"},horizontal:{width:"100%"}}},line:{orientation:{horizontal:{height:"8px",width:"100%","background-color":"#E9EAEA","border-radius":"8px"},vertical:{width:"8px",height:"100%","background-color":"#E9EAEA","border-radius":"8px"}}},progress:{base:{"background-color":"#66C9D7","border-radius":"8px"},orientation:{horizontal:{height:"8px"},vertical:{width:"8px"}}},pointer:{base:{"border-radius":"50%",flex:"none;"},size:{s:{width:"8px",height:"8px"},l:{width:"16px",height:"16px"}},orientation:{horizontal:{"margin-top":"-4px"},vertical:{"margin-left":"-4px"}},design:{empty:{"background-color":"#AAABAD"},filled:{"background-color":"#00809C"},current:{"background-color":"#00809C"},error:{"background-color":"#EE505A"}},customDesign:{current:{width:"4px",height:"4px","background-color":"#FFFFFF","border-radius":"50%",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}}},title:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-size":"14px","line-height":"22px"},design:{empty:{color:"#AAABAD"},filled:{color:"#00809C"},current:{color:"#00809C","font-weight":"700"},error:{color:"#EE505A"}},orientation:{vertical:{width:"100%","margin-left":"16px"},horizontal:{width:"100%","margin-top":"12px","-webkit-line-clamp":"2;","-webkit-box-orient":"vertical;",overflow:"hidden;"}},titleValignTop:{position:"absolute",top:"calc(50% - 12px)",left:"8px"}},step:{base:{position:"relative","padding-right":"8px"}}},switcher:{base:{color:"#000000","align-items":"center","user-select":"none",cursor:"pointer"},slider:{base:{"background-color":"#D5D5D6","vertical-align":"middle","flex-shrink":0},size:{m:{width:"32px",height:"20px","border-radius":"10px"},l:{width:"40px",height:"24px","border-radius":"24px"}},active:{outline:"none"},checked:{"background-color":"#FEE600"},disabledCheked:{"background-color":"#D5D5D6"},disabledUnCheked:{"background-color":"#E9EAEA"}},control:{base:{"background-color":"#FFFFFF","border-radius":"50%",position:"absolute",transition:"left 0.1s ease-in"},size:{m:{left:"4px",top:"4px",width:"12px",height:"12px"},l:{left:"5px",top:"5px",width:"14px",height:"14px"}},push:{m:{left:"calc(100% - 12px - 4px)"},l:{left:"calc(100% - 14px - 5px)"}},disabledCheked:{"background-color":"rgba(255, 255, 255, 0.64)"},disabledUnCheked:{"background-color":"rgba(43, 45, 51, 0.24)"}},label:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"user-select":"none"},size:{m:{"font-size":"14px","line-height":"22px","margin-left":"8px"},l:{"font-size":"16px","line-height":"26px","margin-left":"12px"}},disabled:{color:"rgba(43, 45, 51, 0.24)",cursor:"not-allowed"}}},table:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif"},size:{xs:{padding:"4px 8px"},s:{padding:"8px 8px"},m:{padding:"12px 8px"},l:{padding:"16px 8px"}},header:{"font-weight":"500",color:"#AAABAD","border-bottom":"#E9EAEA","font-size":"12px","line-height":"18px"},body:{background:"#FFFFFF","font-size":"14px","line-height":"22px",color:"#2B2D33"},footer:{padding:"24px 8px"},empty:{padding:"56px 0"},cell:{header:{base:{"text-align":"left","white-space":"nowrap",background:"#FFFFFF","font-weight":"500"},hover:{"background-color":"#F4F4F4"},title:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-weight":"500","max-width":"100%;",overflow:"hidden;","text-overflow":"ellipsis;","white-space":"nowrap;","vertical-align":"top;"},hover:{color:"#2B2D33"},icon:{base:{"margin-left":"8px"},active:{color:"#00A5BC !important"}}},group:{"text-align":"center",color:"#2B2D33"},color:{miami10:{"background-color":"#E7F8F4"},sochi10:{"background-color":"#E6F4FC"},paris10:{"background-color":"#F0F0FE"},tokyo10:{"background-color":"#FAEFFA"},dubai10:{"background-color":"#FFF4E8"},nice10:{"background-color":"#FFEFEF"}},rightDivider:{"border-right":"solid thin #E9EAEA"},bottomDivider:{"border-bottom":"solid thin #E9EAEA"}},hover:{background:"#E9EAEA"},divider:{"border-bottom":"solid thin #E9EAEA"},rightDivider:{"border-right":"solid thin #E9EAEA"},truncate:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},actionIcon:{base:{"background-color":"#2B2D33",color:"#FFFFFF",cursor:"pointer"},hover:{"background-color":"#000000"}},expander:{cell:{"padding-left":"8px","padding-right":"8px"},hover:{color:"#00809C"},content:{padding:"8px 12px 16px 40px"}},resizer:{base:{"user-select":"none",width:"4px",cursor:"col-resize","background-color":"transparent"},size:{xs:{height:"26px","box-shadow":"inset -2px 26px 0 0 #FED500"},s:{height:"34px","box-shadow":"inset -2px 34px 0 0 #FED500"},m:{height:"42px","box-shadow":"inset -2px 42px 0 0 #FED500"},l:{height:"50px","box-shadow":"inset -2px 50px 0 0 #FED500"}}},selector:{padding:"0 20px"},selected:{"background-color":"#E6F6F8 !important"},selectAll:{box:{"text-align":"center","box-shadow":"0 4px 20px 0 rgba(0, 0, 0, 0.08)",padding:"8px 0","margin-bottom":"4px"},label:{"margin-right":"24px"}},draggable:{box:{width:"100%",height:0,top:0,left:0,"background-color":"#FEE600",opacity:.2,"pointer-events":"none"},drop:{top:0,width:"2px","background-color":"#FED500",height:0}},outlined:{border:"solid thin #E9EAEA"},groupBy:{title:{"font-size":"16px","line-height":"26px","font-weight":"700",padding:"8px","padding-top":"24px"},select:{"padding-top":"20px","text-align":"center"}},pinned:{background:"#FFFFFF"},settings:{box:{"padding-left":"12px"},size:{xs:{height:"26px"},s:{height:"34px"},m:{height:"42px"},l:{height:"50px"}},columns:{list:{margin:"16px 0"},column:{padding:"8px 12px 8px 16px","background-color":"#F4F4F4","border-radius":"8px","margin-bottom":"8px",color:"#AAABAD"},search:{"margin-top":"24px"}},grouping:{box:{"margin-top":"16px"}}},filterPopover:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-size":"12px","line-height":"18px","box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)","border-radius":"8px",padding:"16px","z-index":"1000",transition:"opacity .2s",background:"#FFFFFF",width:"248px"},size:{xs:{"padding-top":"4px"},s:{"padding-top":"8px"},m:{"padding-top":"12px"},l:{"padding-top":"16px"}}}},tabs:{base:{display:"flex","flex-direction":"row"},tab:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"font-weight":"500",color:"#808185",height:"100%",cursor:"pointer",transition:"color 0.2s",display:"flex","align-items":"center","justify-content":"space-between"},line:{base:{transition:"all 0.2s",bottom:0,height:"4px"},left:{"border-top-left-radius":"2px;","border-bottom-left-radius":"2px;"},right:{"border-top-right-radius":"2px;","border-bottom-right-radius":"2px;"},design:{accent:{"background-color":"#FEE600"},primary:{"background-color":"#2B2D33"}}},size:{l:{"margin-right":"32px","font-size":"16px","line-height":"26px","padding-bottom":"8px"},m:{"margin-right":"24px","font-size":"14px","line-height":"22px","padding-bottom":"8px"},s:{"margin-right":"16px","font-size":"12px","line-height":"18px","padding-bottom":"4px"}},active:{color:"#2B2D33"},disabled:{color:"rgba(43, 45, 51, 0.24) !important",cursor:"not-allowed","pointer-events":"none"},hover:{color:"#2B2D33"}},combineTab:{base:{display:"flex","align-items":"center"},item:{l:{"margin-right":"32px","font-size":"16px"},m:{"margin-right":"24px","font-size":"14px"},s:{"margin-right":"16px","font-size":"12px"}}}},textarea:{base:{"line-height":"22px","font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif",color:"#2B2D33","text-decoration":"none","background-color":"#FFFFFF",outline:"none","box-sizing":"border-box"},placeholder:{base:{color:"#AAABAD","line-height":"auto"},disabled:{color:"rgba(43, 45, 51, 0.24)"}},size:{xl:{"font-size":"14px",padding:"8px 12px","border-radius":"8px"},l:{"font-size":"14px",padding:"8px 12px","border-radius":"8px"},m:{"font-size":"14px",padding:"8px 12px","border-radius":"8px"},s:{"font-size":"12px",padding:"4px 8px","border-radius":"8px"},xs:{"font-size":"12px",padding:"4px 8px","border-radius":"4px"}},design:{outline:{"box-shadow":"0px 0px 0px 1px inset #D5D5D6","background-color":"#FFFFFF",color:"#2B2D33"},material:{"border-bottom":"1px solid #D5D5D6","padding-bottom":"1px","border-radius":0}},hover:{outline:{"box-shadow":"0px 0px 0px 2px inset #2B2D33"},material:{"border-bottom":"2px solid #2B2D33"}},disabled:{outline:{cursor:"not-allowed","box-shadow":"0px 0px 0px 1px inset #F4F4F4","background-color":"#F4F4F4",color:"rgba(43, 45, 51, 0.24)"},material:{cursor:"not-allowed",color:"rgba(43, 45, 51, 0.24)"}},focused:{outline:{"box-shadow":"0px 0px 0px 2px inset #2B2D33"},material:{"border-bottom":"1px solid #2B2D33"}},invalid:{outline:{"box-shadow":"0px 0px 0px 1px inset #EE505A"},material:{"border-bottom":"1px solid #EE505A"}},counter:{base:{"font-weight":"400;","font-size":"12px","line-height":"",padding:"5px 15px;",cursor:"pointer;"}}},toolbar:{base:{width:"100%",display:"flex","flex-direction":"row","align-items":"center",height:"62px","padding-left":"24px","padding-right":"24px"},design:{dark:{"background-color":"#2B2D33"}},button:{design:{dark:{color:"#FFFFFF"}},hover:{dark:{color:"#FEE600"}}},tab:{base:{"padding-left":"32px",cursor:"pointer",display:"flex","align-items":"center"},button:{height:"24px"},inList:{padding:"8px 16px"}}},tooltip:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0,"box-shadow":"0 8px 32px 0 rgba(0, 0, 0, 0.08)","border-radius":"8px",padding:"12px",transition:"opacity .2s","z-index":"1000"},size:{s:{"font-size":"12px","line-height":"18px"},m:{"font-size":"14px","line-height":"22px"}},design:{light:{"background-color":"#FFFFFF",color:"#2B2D33","border-color":"#FFFFFF"},dark:{"background-color":"#2B2D33",color:"#FFFFFF","border-color":"#2B2D33"}},arrow:{base:{width:"6px",height:"7px"},position:{top:{top:"-7px","border-left":"7px solid transparent","border-right":"7px solid transparent","border-bottom-width":"7px","border-bottom-style":"solid"},left:{left:"-7px","border-bottom":"7px solid transparent","border-top":"7px solid transparent","border-right-width":"7px","border-right-style":"solid"},bottom:{bottom:"-7px","border-left":"7px solid transparent","border-right":"7px solid transparent","border-top-width":"7px","border-top-style":"solid"},right:{right:"-7px","border-bottom":"7px solid transparent","border-top":"7px solid transparent","border-left-width":"7px","border-left-style":"solid"}},design:{light:{"border-color":"#FFFFFF"},dark:{"border-color":"#2B2D33"}}},floor:{base:{width:"calc(100% + 21px)",height:"calc(100% + 21px)"}}},typography:{weight:{thin:{"font-weight":"100"},"extra-light":{"font-weight":"200"},light:{"font-weight":"300"},normal:{"font-weight":"400"},medium:{"font-weight":"500"},"semi-bold":{"font-weight":"600"},bold:{"font-weight":"700"},"extra-bold":{"font-weight":"800"},black:{"font-weight":"900"}},color:{"brand-accent":{color:"#FEE600"},"brand-white":{color:"#FFFFFF"},"brand-primary":{color:"#2B2D33"},geneva100:{color:"#19B28D"},moscow100:{color:"#EE505A"},osaka100:{color:"#F88545"},seattle01:{color:"#FBFBFB"},seattle05:{color:"#F8F8F8"},seattle10:{color:"#E9EAEA"},seattle30:{color:"#D5D5D6"},seattle60:{color:"#AAABAD"},seattle100:{color:"#808185"},seattle120:{color:"#55575C"},seattle140:{color:"#404247"},currentColor:{color:"currentColor"}},heading:{base:{"font-family":"Navigo, Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","font-weight":"normal !important","letter-spacing":"normal",margin:0},size:{xl:{"font-size":"32px","line-height":"40px"},l:{"font-size":"30px","line-height":"38px"},m:{"font-size":"28px","line-height":"36px"},s:{"font-size":"26px","line-height":"34px"},xs:{"font-size":"24px","line-height":"30px"}},margin:{xxs:{"margin-bottom":"4px"},xs:{"margin-bottom":"8px"},s:{"margin-bottom":"12px"},m:{"margin-bottom":"16px"},l:{"margin-bottom":"20px"},xl:{"margin-bottom":"24px"},xxl:{"margin-bottom":"32px"}}},text:{base:{"font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","font-stretch":"normal","font-style":"normal","letter-spacing":"normal",margin:0},size:{xxl:{"font-size":"20px","line-height":"30px"},xl:{"font-size":"18px","line-height":"28px"},l:{"font-size":"16px","line-height":"26px"},m:{"font-size":"14px","line-height":"22px"},s:{"font-size":"12px","line-height":"18px"}},margin:{xxs:{"margin-bottom":"4px"},xs:{"margin-bottom":"8px"},s:{"margin-bottom":"12px"},m:{"margin-bottom":"16px"},l:{"margin-bottom":"20px"},xl:{"margin-bottom":"24px"},xxl:{"margin-bottom":"32px"}}}},userprofile:{base:{color:"#2B2D33"},baseHover:{color:"#00809C"},name:{size:{xs:{"font-size":"12px","font-weight":"500","line-height":"18px"},s:{"font-size":"14px","font-weight":"500","line-height":"22px"},m:{"font-size":"16px","font-weight":"500","line-height":"26px"}}},description:{base:{"font-size":"12px","line-height":"18px",color:"#AAABAD"}},profile:{left:{"margin-left":"16px"},right:{"text-align":"right","margin-right":"16px"}}},whitespace:{size:{s1:"4px",s2:"8px",s3:"12px",s4:"16px",s5:"20px",s6:"24px",s7:"28px",s8:"32px",s9:"36px",s10:"40px",s11:"44px",s12:"48px",s13:"52px",s14:"56px",s15:"60px",s16:"64px"}},wizard:{header:{base:{"background-color":"#2B2D33","border-radius":"12px 12px 0 0","justify-content":"center","align-items":"center"},orientation:{horizontal:{height:"88px"},vertical:{"min-height":"120px",height:"auto","flex-direction":"column"}},title:{color:"#FFFFFF","font-size":"20px","line-height":"30px","font-family":"'ALS Hauss', Helvetica, 'Helvetica New', Arial, sans-serif","text-align":"center"},stepsCount:{color:"#D5D5D6","white-space":"nowrap;"},stepTitle:{"margin-right":"8px"}},stepPoints:{base:{height:"100%","align-items":"center","margin-bottom":"-8px"},orientation:{horizontal:{top:"50%;",transform:"translateY(-50%)","padding-top":"8px"},vertical:{height:"auto","margin-top":"12px","flex-wrap":"wrap"}},horizontalRight:{s:"16px",m:"24px",l:"32px"}},stepPoint:{base:{"margin-right":"8px","margin-bottom":"8px",width:"12px",height:"12px","border-radius":"50%",border:"1px solid transparent"},type:{empty:{border:"1px solid #AAABAD"},active:{"background-color":"#FEE600"},elapsed:{"background-color":"#AAABAD"}},hover:{empty:{border:"1px solid #D5D5D6",cursor:"pointer"},active:{"background-color":"#FED500",cursor:"pointer"},elapsed:{"background-color":"#FED500",cursor:"pointer"}}},form:{"background-color":"#FFFFFF"},body:{size:{s:{padding:"16px"},m:{padding:"24px"},l:{padding:"32px"}}},footer:{size:{s:{padding:"0 16px 16px 16px"},m:{padding:"0 24px 24px 24px"},l:{padding:"0 32px 32px 32px"}}}}}},9677:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.autocapitalize=void 0;var n=function(e,t){return e&&"off"!==t&&"none"!==t&&t?"on"===t||"sentences"===t?/[.?!]/.test(e)?e.split(/([.?!] )/g).map((function(e){return e?"".concat(e[0].toUpperCase()).concat(e.substring(1)):""})).join(""):"".concat(e[0].toUpperCase()).concat(e.substring(1)):"words"===t?e.split(/([ -])/g).map((function(e){return e?"".concat(e[0].toUpperCase()).concat(e.substring(1)):""})).join(""):"characters"===t?e.toUpperCase():e:e};t.autocapitalize=n;var r=n;t.default=r},1507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9677);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},5923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compose=void 0;t.compose=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduceRight((function(e,t){return function(){return t(e.apply(void 0,arguments))}}),(function(e){return e}))}},4379:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compose",{enumerable:!0,get:function(){return r.compose}});var r=n(5923)},1226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertDateToString=void 0;var r=n(2677);t.convertDateToString=function(e,t){return(0,r.isValid)(e)?(0,r.format)(e,t||"dd.MM.yyyy"):""}},7009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1226);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},9762:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertRangeToString=void 0;var r=n(7009);t.convertRangeToString=function(e,t){var n=(0,r.convertDateToString)(e[0],t),o=(0,r.convertDateToString)(e[1],t);return"".concat(n," - ").concat(o)}},8553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9762);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},6444:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertStringToDate=void 0;var r=n(2677);t.convertStringToDate=function(e,t){return(0,r.parse)(e,t||"dd.MM.yyyy",new Date("2021-1-1"))}},6586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6444);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},3851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertStringToRange=void 0;var r=n(6586);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.convertStringToRange=function(e,t){var n=o(e.split("-"),2),i=n[0],a=n[1];return[(0,r.convertStringToDate)(i.trim(),t),(0,r.convertStringToDate)(a.trim(),t)]}},2153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3851);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},1362:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8553);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(2153);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(6586);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(7009);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},6112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7093);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(5421);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(1362);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},5075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertNumberToString=void 0;var r=n(8206),o={delimiter:",",scale:2,thousandsSeparator:" ",padFractionalZeros:!1};t.convertNumberToString=function(e){return(0,r.formatNumberString)(String(e),o)}},3010:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5075);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},9741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertStringToNumber=void 0;var r=n(8206),o=999999999999999,i={delimiter:".",thousandsSeparator:""};t.convertStringToNumber=function(e){var t=(0,r.formatNumberString)(String(e),i);return Number(t)>o?o:Number(t)}},1238:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9741);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},5018:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNumberString=void 0;var r=n(4379),o=n(3285);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.formatNumberString=function(e,t){return(0,r.compose)(o.thousandsSeparatorMutator,o.padFractionalZerosMutator,o.scaleMutator,o.delimiterMutator)(a(a({},t),{},{value:e})).value}},8206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNumberString",{enumerable:!0,get:function(){return r.formatNumberString}});var r=n(5018)},9123:(e,t)=>{"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.delimiterMutator=void 0;t.delimiterMutator=function(e){var t=e.delimiter,n=e.value;return r(r({},e),{},"string"===typeof t?{value:n.replace(/\.|,/gm,t)}:{value:n})}},9937:(e,t)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.getSplittingResultString=void 0;t.getSplittingResultString=function(e){var t=e.delimiter,r=e.value;if(!t)return[];var o=n(r.split(t),2),i=o[0],a=o[1];return[i,void 0===a?"":a]}},3285:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"delimiterMutator",{enumerable:!0,get:function(){return r.delimiterMutator}}),Object.defineProperty(t,"padFractionalZerosMutator",{enumerable:!0,get:function(){return o.padFractionalZerosMutator}}),Object.defineProperty(t,"scaleMutator",{enumerable:!0,get:function(){return i.scaleMutator}}),Object.defineProperty(t,"thousandsSeparatorMutator",{enumerable:!0,get:function(){return a.thousandsSeparatorMutator}});var r=n(9123),o=n(2504),i=n(6332),a=n(6458)},2504:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.padFractionalZerosMutator=void 0;var r=n(9937);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.padFractionalZerosMutator=function(e){var t=e.scale,n=e.padFractionalZeros,i=e.value,a=e.delimiter;if("boolean"!==typeof n||!n||!t||!a)return s(s({},e),{},{value:i});var l=o((0,r.getSplittingResultString)({delimiter:a,value:i}),2),u=l[0],c=l[1],d=c,f=i;if(c.length<t){for(var p=t-c.length;p;)d="".concat(d,"0"),p--;f="".concat(u).concat(a).concat(d)}return s(s({},e),{},{value:f})}},6332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scaleMutator=void 0;var r=n(9937);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.scaleMutator=function(e){var t=e.scale,n=e.delimiter,i=e.value;if("number"!==typeof t||!t||!n)return s(s({},e),{},{value:i});var a=o((0,r.getSplittingResultString)({delimiter:n,value:i}),2),l=a[0],u=a[1],c=u,d=i;return u.length>t&&(c=u.slice(0,t),d="".concat(l).concat(n).concat(c)),s(s({},e),{},{value:d})}},6458:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.thousandsSeparatorMutator=void 0;var r=n(9937);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.thousandsSeparatorMutator=function(e){var t=e.thousandsSeparator,n=e.value,i=e.delimiter;if("string"!==typeof t||!i)return s(s({},e),{},{value:n});if(""===n)return s(s({},e),{},{value:n});for(var a=i&&n.endsWith(i),l=o((0,r.getSplittingResultString)({delimiter:i,value:n}),2),u=l[0],c=l[1],d=String(Number(u.replace(/\D+/g,""))),f="",p=d.length-1;p>=0;p--){var h=d[p],v=d.length-1-p;f=v%3===0&&0!==v?"".concat(h).concat(t).concat(f):"".concat(h).concat(f)}return s(s({},e),{},{value:a||c?"".concat(f).concat(i).concat(c):f})}},7093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3010);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(1238);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(8206);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(5885);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},5885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1988:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertNumberToPhone=void 0;t.convertNumberToPhone=function(e,t){if(11!==String(e).length&&10!==String(e).length)return"";var n=(t||{}).startWith,r=void 0===n?"+7":n;if(11===String(e).length){return String(e).replace(/(\d{1})(\d{3})(\d{3})(\d{2})(\d{2})/,"".concat(r," $2 $3-$4-$5"))}return String(e).replace(/(\d{3})(\d{3})(\d{2})(\d{2})/,"".concat(r," $1 $2-$3-$4"))}},1774:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1988);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},9405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPhoneToNumber=void 0;t.convertPhoneToNumber=function(e,t){var n=(t||{}).startWith,r=void 0===n?"+7":n,o=e.replace(/-/g,"").replace(/ /g,"");return Number("+7"===r?o.slice(2):o.slice(1))}},6774:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9405);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},5421:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6774);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(1774);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(7453);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},7453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFullHeight=t.default=void 0;var n=function(e){var t,n=0,r=0;return null!==(t=document)&&void 0!==t&&t.defaultView&&(n=e.offsetHeight,r=parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-top"),10)+parseInt(document.defaultView.getComputedStyle(e,"").getPropertyValue("margin-bottom"),10)),n+r};t.getFullHeight=n;var r=n;t.default=r},1671:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8735);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},1216:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1507);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(5425);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(1671);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(6112);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(4379);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(9593);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}))},5425:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(204);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},204:(e,t)=>{"use strict";function n(e,t){if(!t||!e)return null;var n=t.split(".").reduce((function(e,t){return e&&e.hasOwnProperty(t)?e[t]:null}),e);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.readObjectByPath=n;var r=n;t.default=r},9593:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withProperties",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(5599))&&r.__esModule?r:{default:r}},5599:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){return Object.keys(t).forEach((function(n){e[n]=t[n]})),e};t.default=n},2677:(e,t,n)=>{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function o(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function i(e){o(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(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://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function a(e,t){o(2,arguments);var n=i(e),a=r(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}function s(e,t){o(2,arguments);var n=i(e),a=r(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+a+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}function l(e,t){if(o(2,arguments),!t||"object"!==typeof t)return new Date(NaN);var n="years"in t?r(t.years):0,l="months"in t?r(t.months):0,u="weeks"in t?r(t.weeks):0,c="days"in t?r(t.days):0,d="hours"in t?r(t.hours):0,f="minutes"in t?r(t.minutes):0,p="seconds"in t?r(t.seconds):0,h=i(e),v=l||n?s(h,l+12*n):h,m=c||u?a(v,c+7*u):v,g=1e3*(p+60*(f+60*d));return new Date(m.getTime()+g)}function u(e){o(1,arguments);var t=i(e).getDay();return 0===t||6===t}function c(e){return o(1,arguments),0===i(e).getDay()}function d(e){return o(1,arguments),6===i(e).getDay()}function f(e,t){o(2,arguments);var n=i(e),a=u(n),s=r(t);if(isNaN(s))return new Date(NaN);var l=n.getHours(),f=s<0?-1:1,p=r(s/5);n.setDate(n.getDate()+7*p);for(var h=Math.abs(s%5);h>0;)n.setDate(n.getDate()+f),u(n)||(h-=1);return a&&u(n)&&0!==s&&(d(n)&&n.setDate(n.getDate()+(f<0?2:-1)),c(n)&&n.setDate(n.getDate()+(f<0?1:-2))),n.setHours(l),n}function p(e,t){o(2,arguments);var n=i(e).getTime(),a=r(t);return new Date(n+a)}n.r(t),n.d(t,{add:()=>l,addBusinessDays:()=>f,addDays:()=>a,addHours:()=>v,addISOWeekYears:()=>C,addMilliseconds:()=>p,addMinutes:()=>O,addMonths:()=>s,addQuarters:()=>F,addSeconds:()=>A,addWeeks:()=>D,addYears:()=>P,areIntervalsOverlapping:()=>T,closestIndexTo:()=>j,closestTo:()=>M,compareAsc:()=>I,compareDesc:()=>N,differenceInBusinessDays:()=>B,differenceInCalendarDays:()=>S,differenceInCalendarISOWeekYears:()=>L,differenceInCalendarISOWeeks:()=>U,differenceInCalendarMonths:()=>V,differenceInCalendarQuarters:()=>W,differenceInCalendarWeeks:()=>Y,differenceInCalendarYears:()=>G,differenceInDays:()=>Q,differenceInHours:()=>J,differenceInISOWeekYears:()=>te,differenceInMilliseconds:()=>Z,differenceInMinutes:()=>re,differenceInMonths:()=>se,differenceInQuarters:()=>le,differenceInSeconds:()=>ue,differenceInWeeks:()=>ce,differenceInYears:()=>de,eachDayOfInterval:()=>fe,eachHourOfInterval:()=>pe,eachMinuteOfInterval:()=>ve,eachMonthOfInterval:()=>me,eachQuarterOfInterval:()=>ye,eachWeekOfInterval:()=>be,eachWeekendOfInterval:()=>we,eachWeekendOfMonth:()=>ke,eachWeekendOfYear:()=>Ce,eachYearOfInterval:()=>Ee,endOfDay:()=>oe,endOfDecade:()=>Oe,endOfHour:()=>Fe,endOfISOWeek:()=>De,endOfISOWeekYear:()=>Pe,endOfMinute:()=>Te,endOfMonth:()=>ie,endOfQuarter:()=>je,endOfSecond:()=>Me,endOfToday:()=>Ie,endOfTomorrow:()=>Ne,endOfWeek:()=>Ae,endOfYear:()=>_e,endOfYesterday:()=>Re,format:()=>At,formatDistance:()=>Nt,formatDistanceStrict:()=>Ht,formatDistanceToNow:()=>Ut,formatDistanceToNowStrict:()=>Vt,formatDuration:()=>Wt,formatISO:()=>$t,formatISO9075:()=>Yt,formatISODuration:()=>Gt,formatRFC3339:()=>Kt,formatRFC7231:()=>Xt,formatRelative:()=>Jt,fromUnixTime:()=>en,getDate:()=>tn,getDay:()=>nn,getDayOfYear:()=>rn,getDaysInMonth:()=>on,getDaysInYear:()=>sn,getDecade:()=>ln,getHours:()=>un,getISODay:()=>cn,getISOWeek:()=>fn,getISOWeekYear:()=>y,getISOWeeksInYear:()=>hn,getMilliseconds:()=>vn,getMinutes:()=>mn,getMonth:()=>gn,getOverlappingDaysInIntervals:()=>bn,getQuarter:()=>q,getSeconds:()=>wn,getTime:()=>xn,getUnixTime:()=>kn,getWeek:()=>En,getWeekOfMonth:()=>On,getWeekYear:()=>Sn,getWeeksInMonth:()=>An,getYear:()=>Dn,intervalToDuration:()=>Mn,intlFormat:()=>In,isAfter:()=>Nn,isBefore:()=>Rn,isDate:()=>zn,isEqual:()=>Bn,isExists:()=>Ln,isFirstDayOfMonth:()=>Hn,isFriday:()=>Un,isFuture:()=>Vn,isLastDayOfMonth:()=>ae,isLeapYear:()=>an,isMatch:()=>Nr,isMonday:()=>Rr,isPast:()=>zr,isSameDay:()=>z,isSameHour:()=>Lr,isSameISOWeek:()=>Ur,isSameISOWeekYear:()=>Vr,isSameMinute:()=>qr,isSameMonth:()=>Wr,isSameQuarter:()=>$r,isSameSecond:()=>Gr,isSameWeek:()=>Hr,isSameYear:()=>Kr,isSaturday:()=>d,isSunday:()=>c,isThisHour:()=>Qr,isThisISOWeek:()=>Zr,isThisMinute:()=>Xr,isThisMonth:()=>Jr,isThisQuarter:()=>eo,isThisSecond:()=>to,isThisWeek:()=>no,isThisYear:()=>ro,isThursday:()=>oo,isToday:()=>io,isTomorrow:()=>ao,isTuesday:()=>so,isValid:()=>R,isWednesday:()=>lo,isWeekend:()=>u,isWithinInterval:()=>uo,isYesterday:()=>co,lastDayOfDecade:()=>fo,lastDayOfISOWeek:()=>ho,lastDayOfISOWeekYear:()=>vo,lastDayOfMonth:()=>Fn,lastDayOfQuarter:()=>mo,lastDayOfWeek:()=>po,lastDayOfYear:()=>go,lightFormat:()=>ko,max:()=>So,maxTime:()=>ki,milliseconds:()=>Co,min:()=>Eo,minTime:()=>Si,nextDay:()=>Fo,nextFriday:()=>Ao,nextMonday:()=>Do,nextSaturday:()=>Po,nextSunday:()=>To,nextThursday:()=>jo,nextTuesday:()=>Mo,nextWednesday:()=>Io,parse:()=>Mr,parseISO:()=>Vo,parseJSON:()=>Go,roundToNearestMinutes:()=>Ko,set:()=>Zo,setDate:()=>Xo,setDay:()=>Jo,setDayOfYear:()=>ei,setHours:()=>ti,setISODay:()=>ni,setISOWeek:()=>ri,setISOWeekYear:()=>_,setMilliseconds:()=>oi,setMinutes:()=>ii,setMonth:()=>Qo,setQuarter:()=>ai,setSeconds:()=>si,setWeek:()=>li,setWeekYear:()=>ui,setYear:()=>ci,startOfDay:()=>x,startOfDecade:()=>di,startOfHour:()=>Br,startOfISOWeek:()=>g,startOfISOWeekYear:()=>b,startOfMinute:()=>he,startOfMonth:()=>xe,startOfQuarter:()=>ge,startOfSecond:()=>Yr,startOfToday:()=>fi,startOfTomorrow:()=>pi,startOfWeek:()=>m,startOfWeekYear:()=>_n,startOfYear:()=>Se,startOfYesterday:()=>hi,sub:()=>jn,subBusinessDays:()=>vi,subDays:()=>Pn,subHours:()=>mi,subISOWeekYears:()=>ee,subMilliseconds:()=>$e,subMinutes:()=>gi,subMonths:()=>Tn,subQuarters:()=>yi,subSeconds:()=>bi,subWeeks:()=>wi,subYears:()=>xi,toDate:()=>i});var h=36e5;function v(e,t){return o(2,arguments),p(e,r(t)*h)}function m(e,t){o(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:r(s),u=null==n.weekStartsOn?l:r(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=i(e),d=c.getDay(),f=(d<u?7:0)+d-u;return c.setDate(c.getDate()-f),c.setHours(0,0,0,0),c}function g(e){return o(1,arguments),m(e,{weekStartsOn:1})}function y(e){o(1,arguments);var t=i(e),n=t.getFullYear(),r=new Date(0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);var a=g(r),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var l=g(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function b(e){o(1,arguments);var t=y(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),g(n)}function w(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 x(e){o(1,arguments);var t=i(e);return t.setHours(0,0,0,0),t}var k=864e5;function S(e,t){o(2,arguments);var n=x(e),r=x(t),i=n.getTime()-w(n),a=r.getTime()-w(r);return Math.round((i-a)/k)}function _(e,t){o(2,arguments);var n=i(e),a=r(t),s=S(n,b(n)),l=new Date(0);return l.setFullYear(a,0,4),l.setHours(0,0,0,0),(n=b(l)).setDate(n.getDate()+s),n}function C(e,t){o(2,arguments);var n=r(t);return _(e,y(e)+n)}var E=6e4;function O(e,t){return o(2,arguments),p(e,r(t)*E)}function F(e,t){return o(2,arguments),s(e,3*r(t))}function A(e,t){return o(2,arguments),p(e,1e3*r(t))}function D(e,t){return o(2,arguments),a(e,7*r(t))}function P(e,t){return o(2,arguments),s(e,12*r(t))}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{inclusive:!1};o(2,arguments);var r=e||{},a=t||{},s=i(r.start).getTime(),l=i(r.end).getTime(),u=i(a.start).getTime(),c=i(a.end).getTime();if(!(s<=l&&u<=c))throw new RangeError("Invalid interval");return n.inclusive?s<=c&&u<=l:s<c&&u<l}function j(e,t){o(2,arguments);var n=i(e);if(isNaN(n))return NaN;var r,a,s=n.getTime();return(null==t?[]:"function"===typeof t.forEach?t:Array.prototype.slice.call(t)).forEach((function(e,t){var n=i(e);if(isNaN(n))return r=NaN,void(a=NaN);var o=Math.abs(s-n.getTime());(null==r||o<a)&&(r=t,a=o)})),r}function M(e,t){o(2,arguments);var n=i(e);if(isNaN(n))return new Date(NaN);var r,a,s=n.getTime();return(null==t?[]:"function"===typeof t.forEach?t:Array.prototype.slice.call(t)).forEach((function(e){var t=i(e);if(isNaN(t))return r=new Date(NaN),void(a=NaN);var n=Math.abs(s-t.getTime());(null==r||n<a)&&(r=t,a=n)})),r}function I(e,t){o(2,arguments);var n=i(e),r=i(t),a=n.getTime()-r.getTime();return a<0?-1:a>0?1:a}function N(e,t){o(2,arguments);var n=i(e),r=i(t),a=n.getTime()-r.getTime();return a>0?-1:a<0?1:a}function R(e){o(1,arguments);var t=i(e);return!isNaN(t)}function z(e,t){o(2,arguments);var n=x(e),r=x(t);return n.getTime()===r.getTime()}function B(e,t){o(2,arguments);var n=i(e),s=i(t);if(!R(n)||!R(s))return NaN;var l=S(n,s),c=l<0?-1:1,d=r(l/7),f=5*d;for(s=a(s,7*d);!z(n,s);)f+=u(s)?0:c,s=a(s,c);return 0===f?0:f}function L(e,t){return o(2,arguments),y(e)-y(t)}var H=6048e5;function U(e,t){o(2,arguments);var n=g(e),r=g(t),i=n.getTime()-w(n),a=r.getTime()-w(r);return Math.round((i-a)/H)}function V(e,t){o(2,arguments);var n=i(e),r=i(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}function q(e){o(1,arguments);var t=i(e);return Math.floor(t.getMonth()/3)+1}function W(e,t){o(2,arguments);var n=i(e),r=i(t);return 4*(n.getFullYear()-r.getFullYear())+(q(n)-q(r))}var $=6048e5;function Y(e,t,n){o(2,arguments);var r=m(e,n),i=m(t,n),a=r.getTime()-w(r),s=i.getTime()-w(i);return Math.round((a-s)/$)}function G(e,t){o(2,arguments);var n=i(e),r=i(t);return n.getFullYear()-r.getFullYear()}function K(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 Q(e,t){o(2,arguments);var n=i(e),r=i(t),a=K(n,r),s=Math.abs(S(n,r));n.setDate(n.getDate()-a*s);var l=a*(s-Number(K(n,r)===-a));return 0===l?0:l}function Z(e,t){o(2,arguments);var n=i(e),r=i(t);return n.getTime()-r.getTime()}var X=36e5;function J(e,t){o(2,arguments);var n=Z(e,t)/X;return n>0?Math.floor(n):Math.ceil(n)}function ee(e,t){return o(2,arguments),C(e,-r(t))}function te(e,t){o(2,arguments);var n=i(e),r=i(t),a=I(n,r),s=Math.abs(L(n,r));n=ee(n,a*s);var l=a*(s-Number(I(n,r)===-a));return 0===l?0:l}var ne=6e4;function re(e,t){o(2,arguments);var n=Z(e,t)/ne;return n>0?Math.floor(n):Math.ceil(n)}function oe(e){o(1,arguments);var t=i(e);return t.setHours(23,59,59,999),t}function ie(e){o(1,arguments);var t=i(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function ae(e){o(1,arguments);var t=i(e);return oe(t).getTime()===ie(t).getTime()}function se(e,t){o(2,arguments);var n,r=i(e),a=i(t),s=I(r,a),l=Math.abs(V(r,a));if(l<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-s*l);var u=I(r,a)===-s;ae(i(e))&&1===l&&1===I(e,a)&&(u=!1),n=s*(l-Number(u))}return 0===n?0:n}function le(e,t){o(2,arguments);var n=se(e,t)/3;return n>0?Math.floor(n):Math.ceil(n)}function ue(e,t){o(2,arguments);var n=Z(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}function ce(e,t){o(2,arguments);var n=Q(e,t)/7;return n>0?Math.floor(n):Math.ceil(n)}function de(e,t){o(2,arguments);var n=i(e),r=i(t),a=I(n,r),s=Math.abs(G(n,r));n.setFullYear(1584),r.setFullYear(1584);var l=I(n,r)===-a,u=a*(s-Number(l));return 0===u?0:u}function fe(e,t){o(1,arguments);var n=e||{},r=i(n.start),a=i(n.end).getTime();if(!(r.getTime()<=a))throw new RangeError("Invalid interval");var s=[],l=r;l.setHours(0,0,0,0);var u=t&&"step"in t?Number(t.step):1;if(u<1||isNaN(u))throw new RangeError("`options.step` must be a number greater than 1");for(;l.getTime()<=a;)s.push(i(l)),l.setDate(l.getDate()+u),l.setHours(0,0,0,0);return s}function pe(e,t){o(1,arguments);var n=e||{},r=i(n.start),a=i(n.end),s=r.getTime(),l=a.getTime();if(!(s<=l))throw new RangeError("Invalid interval");var u=[],c=r;c.setMinutes(0,0,0);var d=t&&"step"in t?Number(t.step):1;if(d<1||isNaN(d))throw new RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=l;)u.push(i(c)),c=v(c,d);return u}function he(e){o(1,arguments);var t=i(e);return t.setSeconds(0,0),t}function ve(e,t){o(1,arguments);var n=he(i(e.start)),r=he(i(e.end)),a=n.getTime(),s=r.getTime();if(a>=s)throw new RangeError("Invalid interval");var l=[],u=n,c=t&&"step"in t?Number(t.step):1;if(c<1||isNaN(c))throw new RangeError("`options.step` must be a number equal or greater than 1");for(;u.getTime()<=s;)l.push(i(u)),u=O(u,c);return l}function me(e){o(1,arguments);var t=e||{},n=i(t.start),r=i(t.end).getTime(),a=[];if(!(n.getTime()<=r))throw new RangeError("Invalid interval");var s=n;for(s.setHours(0,0,0,0),s.setDate(1);s.getTime()<=r;)a.push(i(s)),s.setMonth(s.getMonth()+1);return a}function ge(e){o(1,arguments);var t=i(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function ye(e){o(1,arguments);var t=e||{},n=i(t.start),r=i(t.end),a=r.getTime();if(!(n.getTime()<=a))throw new RangeError("Invalid interval");var s=ge(n);a=ge(r).getTime();for(var l=[],u=s;u.getTime()<=a;)l.push(i(u)),u=F(u,1);return l}function be(e,t){o(1,arguments);var n=e||{},r=i(n.start),a=i(n.end),s=a.getTime();if(!(r.getTime()<=s))throw new RangeError("Invalid interval");var l=m(r,t),u=m(a,t);l.setHours(15),u.setHours(15),s=u.getTime();for(var c=[],d=l;d.getTime()<=s;)d.setHours(0),c.push(i(d)),(d=D(d,1)).setHours(15);return c}function we(e){o(1,arguments);for(var t=fe(e),n=[],r=0;r<t.length;){var i=t[r++];u(i)&&(n.push(i),c(i)&&(r+=5))}return n}function xe(e){o(1,arguments);var t=i(e);return t.setDate(1),t.setHours(0,0,0,0),t}function ke(e){o(1,arguments);var t=xe(e);if(isNaN(t.getTime()))throw new RangeError("The passed date is invalid");return we({start:t,end:ie(e)})}function Se(e){o(1,arguments);var t=i(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function _e(e){o(1,arguments);var t=i(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function Ce(e){o(1,arguments);var t=Se(e);if(isNaN(t))throw new RangeError("The passed date is invalid");return we({start:t,end:_e(e)})}function Ee(e){o(1,arguments);var t=e||{},n=i(t.start),r=i(t.end).getTime();if(!(n.getTime()<=r))throw new RangeError("Invalid interval");var a=[],s=n;for(s.setHours(0,0,0,0),s.setMonth(0,1);s.getTime()<=r;)a.push(i(s)),s.setFullYear(s.getFullYear()+1);return a}function Oe(e){o(1,arguments);var t=i(e),n=t.getFullYear(),r=9+10*Math.floor(n/10);return t.setFullYear(r,11,31),t.setHours(23,59,59,999),t}function Fe(e){o(1,arguments);var t=i(e);return t.setMinutes(59,59,999),t}function Ae(e,t){o(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:r(s),u=null==n.weekStartsOn?l:r(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=i(e),d=c.getDay(),f=6+(d<u?-7:0)-(d-u);return c.setDate(c.getDate()+f),c.setHours(23,59,59,999),c}function De(e){return o(1,arguments),Ae(e,{weekStartsOn:1})}function Pe(e){o(1,arguments);var t=y(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var r=g(n);return r.setMilliseconds(r.getMilliseconds()-1),r}function Te(e){o(1,arguments);var t=i(e);return t.setSeconds(59,999),t}function je(e){o(1,arguments);var t=i(e),n=t.getMonth(),r=n-n%3+3;return t.setMonth(r,0),t.setHours(23,59,59,999),t}function Me(e){o(1,arguments);var t=i(e);return t.setMilliseconds(999),t}function Ie(){return oe(Date.now())}function Ne(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r+1),o.setHours(23,59,59,999),o}function Re(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r-1),o.setHours(23,59,59,999),o}var ze={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"}};function Be(e){return function(t){var n=t||{},r=n.width?String(n.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Le={date:Be({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Be({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Be({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var He={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ue(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o.width?String(o.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=o.width?String(o.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function Ve(e){return function(t,n){var r=String(t),o=n||{},i=o.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=r.match(a);if(!s)return null;var l,u=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth];return l="[object Array]"===Object.prototype.toString.call(c)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(c,(function(e){return e.test(u)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(c,(function(e){return e.test(u)})),l=e.valueCallback?e.valueCallback(l):l,{value:l=o.valueCallback?o.valueCallback(l):l,rest:r.slice(u.length)}}}var qe;const We={code:"en-US",formatDistance:function(e,t,n){var r;return n=n||{},r="string"===typeof ze[e]?ze[e]:1===t?ze[e].one:ze[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:Le,formatRelative:function(e,t,n,r){return He[e]},localize:{ordinalNumber:function(e,t){var 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"},era:Ue({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ue({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Ue({values:{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"]},defaultWidth:"wide"}),day:Ue({values:{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"]},defaultWidth:"wide"}),dayPeriod:Ue({values:{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"}},defaultWidth:"wide",formattingValues:{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"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(qe={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),r=t||{},o=n.match(qe.matchPattern);if(!o)return null;var i=o[0],a=n.match(qe.parsePattern);if(!a)return null;var s=qe.valueCallback?qe.valueCallback(a[0]):a[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:n.slice(i.length)}}),era:Ve({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ve({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Ve({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{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]},defaultParseWidth:"any"}),day:Ve({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{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]},defaultParseWidth:"any"}),dayPeriod:Ve({matchPatterns:{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},defaultMatchWidth:"any",parsePatterns:{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}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function $e(e,t){return o(2,arguments),p(e,-r(t))}function Ye(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var Ge={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return Ye("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):Ye(n+1,2)},d:function(e,t){return Ye(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return Ye(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Ye(e.getUTCHours(),t.length)},m:function(e,t){return Ye(e.getUTCMinutes(),t.length)},s:function(e,t){return Ye(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return Ye(Math.floor(r*Math.pow(10,n-3)),t.length)}};const Ke=Ge;function Qe(e){o(1,arguments);var t=i(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function Ze(e){o(1,arguments);var t=i(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var a=Qe(r),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var l=Qe(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}var Xe=6048e5;function Je(e){o(1,arguments);var t=i(e),n=Qe(t).getTime()-function(e){o(1,arguments);var t=Ze(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),Qe(n)}(t).getTime();return Math.round(n/Xe)+1}function et(e,t){o(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:r(s),u=null==n.weekStartsOn?l:r(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=i(e),d=c.getUTCDay(),f=(d<u?7:0)+d-u;return c.setUTCDate(c.getUTCDate()-f),c.setUTCHours(0,0,0,0),c}function tt(e,t){o(1,arguments);var n=i(e,t),a=n.getUTCFullYear(),s=t||{},l=s.locale,u=l&&l.options&&l.options.firstWeekContainsDate,c=null==u?1:r(u),d=null==s.firstWeekContainsDate?c:r(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(a+1,0,d),f.setUTCHours(0,0,0,0);var p=et(f,t),h=new Date(0);h.setUTCFullYear(a,0,d),h.setUTCHours(0,0,0,0);var v=et(h,t);return n.getTime()>=p.getTime()?a+1:n.getTime()>=v.getTime()?a:a-1}var nt=6048e5;function rt(e,t){o(1,arguments);var n=i(e),a=et(n,t).getTime()-function(e,t){o(1,arguments);var n=t||{},i=n.locale,a=i&&i.options&&i.options.firstWeekContainsDate,s=null==a?1:r(a),l=null==n.firstWeekContainsDate?s:r(n.firstWeekContainsDate),u=tt(e,t),c=new Date(0);return c.setUTCFullYear(u,0,l),c.setUTCHours(0,0,0,0),et(c,t)}(n,t).getTime();return Math.round(a/nt)+1}var ot="midnight",it="noon",at="morning",st="afternoon",lt="evening",ut="night",ct={G:function(e,t,n){var r=e.getUTCFullYear()>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"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Ke.y(e,t)},Y:function(e,t,n,r){var o=tt(e,r),i=o>0?o:1-o;return"YY"===t?Ye(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):Ye(i,t.length)},R:function(e,t){return Ye(Ze(e),t.length)},u:function(e,t){return Ye(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ye(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"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ye(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"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Ke.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"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Ye(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"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=rt(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):Ye(o,t.length)},I:function(e,t,n){var r=Je(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Ye(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ke.d(e,t)},D:function(e,t,n){var r=function(e){o(1,arguments);var t=i(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Ye(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();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"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ye(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"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ye(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"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Ye(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"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?it:0===o?ot:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?lt:o>=12?st:o>=4?at:ut,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Ke.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Ke.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Ye(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Ye(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Ke.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Ke.s(e,t)},S:function(e,t){return Ke.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return ft(o);case"XXXX":case"XX":return pt(o);default:return pt(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ft(o);case"xxxx":case"xx":return pt(o);default:return pt(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+dt(o,":");default:return"GMT"+pt(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+dt(o,":");default:return"GMT"+pt(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return Ye(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return Ye((r._originalDate||e).getTime(),t.length)}};function dt(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+Ye(i,2)}function ft(e,t){return e%60===0?(e>0?"-":"+")+Ye(Math.abs(e)/60,2):pt(e,t)}function pt(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+Ye(Math.floor(o/60),2)+n+Ye(o%60,2)}const ht=ct;function vt(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"});default:return t.date({width:"full"})}}function mt(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"});default:return t.time({width:"full"})}}var gt={p:mt,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),o=r[1],i=r[2];if(!i)return vt(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",vt(o,t)).replace("{{time}}",mt(i,t))}};const yt=gt;var bt=["D","DD"],wt=["YY","YYYY"];function xt(e){return-1!==bt.indexOf(e)}function kt(e){return-1!==wt.indexOf(e)}function St(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var _t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ct=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Et=/^'([^]*?)'?$/,Ot=/''/g,Ft=/[a-zA-Z]/;function At(e,t,n){o(2,arguments);var a=String(t),s=n||{},l=s.locale||We,u=l.options&&l.options.firstWeekContainsDate,c=null==u?1:r(u),d=null==s.firstWeekContainsDate?c:r(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=l.options&&l.options.weekStartsOn,p=null==f?0:r(f),h=null==s.weekStartsOn?p:r(s.weekStartsOn);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var v=i(e);if(!R(v))throw new RangeError("Invalid time value");var m=$e(v,w(v)),g={firstWeekContainsDate:d,weekStartsOn:h,locale:l,_originalDate:v};return a.match(Ct).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,yt[t])(e,l.formatLong,g):e})).join("").match(_t).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return n.match(Et)[1].replace(Ot,"'");var o=ht[r];if(o)return!s.useAdditionalWeekYearTokens&&kt(n)&&St(n,t,e),!s.useAdditionalDayOfYearTokens&&xt(n)&&St(n,t,e),o(m,n,l.localize,g);if(r.match(Ft))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("")}function Dt(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Pt(e){return Dt({},e)}var Tt=1440,jt=2520,Mt=43200,It=86400;function Nt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(2,arguments);var r=n.locale||We;if(!r.formatDistance)throw new RangeError("locale must contain formatDistance property");var a=I(e,t);if(isNaN(a))throw new RangeError("Invalid time value");var s,l,u=Pt(n);u.addSuffix=Boolean(n.addSuffix),u.comparison=a,a>0?(s=i(t),l=i(e)):(s=i(e),l=i(t));var c,d=ue(l,s),f=(w(l)-w(s))/1e3,p=Math.round((d-f)/60);if(p<2)return n.includeSeconds?d<5?r.formatDistance("lessThanXSeconds",5,u):d<10?r.formatDistance("lessThanXSeconds",10,u):d<20?r.formatDistance("lessThanXSeconds",20,u):d<40?r.formatDistance("halfAMinute",null,u):d<60?r.formatDistance("lessThanXMinutes",1,u):r.formatDistance("xMinutes",1,u):0===p?r.formatDistance("lessThanXMinutes",1,u):r.formatDistance("xMinutes",p,u);if(p<45)return r.formatDistance("xMinutes",p,u);if(p<90)return r.formatDistance("aboutXHours",1,u);if(p<Tt){var h=Math.round(p/60);return r.formatDistance("aboutXHours",h,u)}if(p<jt)return r.formatDistance("xDays",1,u);if(p<Mt){var v=Math.round(p/Tt);return r.formatDistance("xDays",v,u)}if(p<It)return c=Math.round(p/Mt),r.formatDistance("aboutXMonths",c,u);if((c=se(l,s))<12){var m=Math.round(p/Mt);return r.formatDistance("xMonths",m,u)}var g=c%12,y=Math.floor(c/12);return g<3?r.formatDistance("aboutXYears",y,u):g<9?r.formatDistance("overXYears",y,u):r.formatDistance("almostXYears",y+1,u)}var Rt=6e4,zt=1440,Bt=30*zt,Lt=365*zt;function Ht(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(2,arguments);var r=n.locale||We;if(!r.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var a=I(e,t);if(isNaN(a))throw new RangeError("Invalid time value");var s,l,u=Pt(n);u.addSuffix=Boolean(n.addSuffix),u.comparison=a,a>0?(s=i(t),l=i(e)):(s=i(e),l=i(t));var c,d=null==n.roundingMethod?"round":String(n.roundingMethod);if("floor"===d)c=Math.floor;else if("ceil"===d)c=Math.ceil;else{if("round"!==d)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");c=Math.round}var f,p=l.getTime()-s.getTime(),h=p/Rt,v=(p-(w(l)-w(s)))/Rt;if("second"===(f=null==n.unit?h<1?"second":h<60?"minute":h<zt?"hour":v<Bt?"day":v<Lt?"month":"year":String(n.unit))){var m=c(p/1e3);return r.formatDistance("xSeconds",m,u)}if("minute"===f){var g=c(h);return r.formatDistance("xMinutes",g,u)}if("hour"===f){var y=c(h/60);return r.formatDistance("xHours",y,u)}if("day"===f){var b=c(v/zt);return r.formatDistance("xDays",b,u)}if("month"===f){var x=c(v/Bt);return 12===x&&"month"!==n.unit?r.formatDistance("xYears",1,u):r.formatDistance("xMonths",x,u)}if("year"===f){var k=c(v/Lt);return r.formatDistance("xYears",k,u)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function Ut(e,t){return o(1,arguments),Nt(e,Date.now(),t)}function Vt(e,t){return o(1,arguments),Ht(e,Date.now(),t)}var qt=["years","months","weeks","days","hours","minutes","seconds"];function Wt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var n=(null===t||void 0===t?void 0:t.format)||qt,r=(null===t||void 0===t?void 0:t.locale)||We,o=(null===t||void 0===t?void 0:t.zero)||!1,i=(null===t||void 0===t?void 0:t.delimiter)||" ";return n.reduce((function(t,n){var i="x".concat(n.replace(/(^.)/,(function(e){return e.toUpperCase()})));return"number"===typeof e[n]&&(o||e[n])?t.concat(r.formatDistance(i,e[n])):t}),[]).join(i)}function $t(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var n=i(e);if(!R(n))throw new RangeError("Invalid time value");var r=t||{},o=null==r.format?"extended":String(r.format),a=null==r.representation?"complete":String(r.representation);if("extended"!==o&&"basic"!==o)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==a&&"time"!==a&&"complete"!==a)throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",l="",u="extended"===o?"-":"",c="extended"===o?":":"";if("time"!==a){var d=Ye(n.getDate(),2),f=Ye(n.getMonth()+1,2),p=Ye(n.getFullYear(),4);s="".concat(p).concat(u).concat(f).concat(u).concat(d)}if("date"!==a){var h=n.getTimezoneOffset();if(0!==h){var v=Math.abs(h),m=Ye(Math.floor(v/60),2),g=Ye(v%60,2);l="".concat(h<0?"+":"-").concat(m,":").concat(g)}else l="Z";var y=""===s?"":"T",b=[Ye(n.getHours(),2),Ye(n.getMinutes(),2),Ye(n.getSeconds(),2)].join(c);s="".concat(s).concat(y).concat(b).concat(l)}return s}function Yt(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var n=i(e);if(!R(n))throw new RangeError("Invalid time value");var r=t||{},o=null==r.format?"extended":String(r.format),a=null==r.representation?"complete":String(r.representation);if("extended"!==o&&"basic"!==o)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==a&&"time"!==a&&"complete"!==a)throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",l="extended"===o?"-":"",u="extended"===o?":":"";if("time"!==a){var c=Ye(n.getDate(),2),d=Ye(n.getMonth()+1,2),f=Ye(n.getFullYear(),4);s="".concat(f).concat(l).concat(d).concat(l).concat(c)}if("date"!==a){var p=Ye(n.getHours(),2),h=Ye(n.getMinutes(),2),v=Ye(n.getSeconds(),2),m=""===s?"":" ";s="".concat(s).concat(m).concat(p).concat(u).concat(h).concat(u).concat(v)}return s}function Gt(e){if(o(1,arguments),"object"!==typeof e)throw new Error("Duration must be an object");var t=e.years,n=void 0===t?0:t,r=e.months,i=void 0===r?0:r,a=e.days,s=void 0===a?0:a,l=e.hours,u=void 0===l?0:l,c=e.minutes,d=void 0===c?0:c,f=e.seconds,p=void 0===f?0:f;return"P".concat(n,"Y").concat(i,"M").concat(s,"DT").concat(u,"H").concat(d,"M").concat(p,"S")}function Kt(e,t){if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"));var n=i(e);if(!R(n))throw new RangeError("Invalid time value");var o=t||{},a=null==o.fractionDigits?0:r(o.fractionDigits);if(!(a>=0&&a<=3))throw new RangeError("fractionDigits must be between 0 and 3 inclusively");var s=Ye(n.getDate(),2),l=Ye(n.getMonth()+1,2),u=n.getFullYear(),c=Ye(n.getHours(),2),d=Ye(n.getMinutes(),2),f=Ye(n.getSeconds(),2),p="";if(a>0){var h=n.getMilliseconds();p="."+Ye(Math.floor(h*Math.pow(10,a-3)),a)}var v="",m=n.getTimezoneOffset();if(0!==m){var g=Math.abs(m),y=Ye(r(g/60),2),b=Ye(g%60,2);v="".concat(m<0?"+":"-").concat(y,":").concat(b)}else v="Z";return"".concat(u,"-").concat(l,"-").concat(s,"T").concat(c,":").concat(d,":").concat(f).concat(p).concat(v)}var Qt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Zt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Xt(e){if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"));var t=i(e);if(!R(t))throw new RangeError("Invalid time value");var n=Qt[t.getUTCDay()],r=Ye(t.getUTCDate(),2),o=Zt[t.getUTCMonth()],a=t.getUTCFullYear(),s=Ye(t.getUTCHours(),2),l=Ye(t.getUTCMinutes(),2),u=Ye(t.getUTCSeconds(),2);return"".concat(n,", ").concat(r," ").concat(o," ").concat(a," ").concat(s,":").concat(l,":").concat(u," GMT")}function Jt(e,t,n){o(2,arguments);var r=i(e),a=i(t),s=n||{},l=s.locale,u=void 0===l?We:l,c=s.weekStartsOn,d=void 0===c?0:c;if(!u.localize)throw new RangeError("locale must contain localize property");if(!u.formatLong)throw new RangeError("locale must contain formatLong property");if(!u.formatRelative)throw new RangeError("locale must contain formatRelative property");var f,p=S(r,a);if(isNaN(p))throw new RangeError("Invalid time value");f=p<-6?"other":p<-1?"lastWeek":p<0?"yesterday":p<1?"today":p<2?"tomorrow":p<7?"nextWeek":"other";var h=$e(r,w(r)),v=$e(a,w(a));return At(r,u.formatRelative(f,h,v,{locale:u,weekStartsOn:d}),{locale:u,weekStartsOn:d})}function en(e){return o(1,arguments),i(1e3*r(e))}function tn(e){return o(1,arguments),i(e).getDate()}function nn(e){return o(1,arguments),i(e).getDay()}function rn(e){o(1,arguments);var t=i(e);return S(t,Se(t))+1}function on(e){o(1,arguments);var t=i(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}function an(e){o(1,arguments);var t=i(e).getFullYear();return t%400===0||t%4===0&&t%100!==0}function sn(e){o(1,arguments);var t=i(e);return"Invalid Date"===String(new Date(t))?NaN:an(t)?366:365}function ln(e){o(1,arguments);var t=i(e).getFullYear();return 10*Math.floor(t/10)}function un(e){return o(1,arguments),i(e).getHours()}function cn(e){o(1,arguments);var t=i(e).getDay();return 0===t&&(t=7),t}var dn=6048e5;function fn(e){o(1,arguments);var t=i(e),n=g(t).getTime()-b(t).getTime();return Math.round(n/dn)+1}var pn=6048e5;function hn(e){o(1,arguments);var t=b(e),n=b(D(t,60)).valueOf()-t.valueOf();return Math.round(n/pn)}function vn(e){return o(1,arguments),i(e).getMilliseconds()}function mn(e){return o(1,arguments),i(e).getMinutes()}function gn(e){return o(1,arguments),i(e).getMonth()}var yn=864e5;function bn(e,t){o(2,arguments);var n=e||{},r=t||{},a=i(n.start).getTime(),s=i(n.end).getTime(),l=i(r.start).getTime(),u=i(r.end).getTime();if(!(a<=s&&l<=u))throw new RangeError("Invalid interval");if(!(a<u&&l<s))return 0;var c=(u>s?s:u)-(l<a?a:l);return Math.ceil(c/yn)}function wn(e){return o(1,arguments),i(e).getSeconds()}function xn(e){return o(1,arguments),i(e).getTime()}function kn(e){return o(1,arguments),Math.floor(xn(e)/1e3)}function Sn(e,t){var n,a;o(1,arguments);var s=i(e),l=s.getFullYear(),u=null===t||void 0===t||null===(n=t.locale)||void 0===n||null===(a=n.options)||void 0===a?void 0:a.firstWeekContainsDate,c=null==u?1:r(u),d=null==(null===t||void 0===t?void 0:t.firstWeekContainsDate)?c:r(t.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setFullYear(l+1,0,d),f.setHours(0,0,0,0);var p=m(f,t),h=new Date(0);h.setFullYear(l,0,d),h.setHours(0,0,0,0);var v=m(h,t);return s.getTime()>=p.getTime()?l+1:s.getTime()>=v.getTime()?l:l-1}function _n(e,t){o(1,arguments);var n=t||{},i=n.locale,a=i&&i.options&&i.options.firstWeekContainsDate,s=null==a?1:r(a),l=null==n.firstWeekContainsDate?s:r(n.firstWeekContainsDate),u=Sn(e,t),c=new Date(0);return c.setFullYear(u,0,l),c.setHours(0,0,0,0),m(c,t)}var Cn=6048e5;function En(e,t){o(1,arguments);var n=i(e),r=m(n,t).getTime()-_n(n,t).getTime();return Math.round(r/Cn)+1}function On(e,t){o(1,arguments);var n=t||{},i=n.locale,a=i&&i.options&&i.options.weekStartsOn,s=null==a?0:r(a),l=null==n.weekStartsOn?s:r(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=tn(e);if(isNaN(u))return u;var c=nn(xe(e)),d=0,f=1;if(u>(d=c>=l?l+7-c:l-c)){var p=u-d;f+=Math.ceil(p/7)}return f}function Fn(e){o(1,arguments);var t=i(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function An(e,t){return o(1,arguments),Y(Fn(e),xe(e),t)+1}function Dn(e){return o(1,arguments),i(e).getFullYear()}function Pn(e,t){return o(2,arguments),a(e,-r(t))}function Tn(e,t){return o(2,arguments),s(e,-r(t))}function jn(e,t){if(o(2,arguments),!t||"object"!==typeof t)return new Date(NaN);var n="years"in t?r(t.years):0,a="months"in t?r(t.months):0,s="weeks"in t?r(t.weeks):0,l="days"in t?r(t.days):0,u="hours"in t?r(t.hours):0,c="minutes"in t?r(t.minutes):0,d="seconds"in t?r(t.seconds):0,f=Pn(Tn(i(e),a+12*n),l+7*s),p=1e3*(d+60*(c+60*u));return new Date(f.getTime()-p)}function Mn(e){var t=e.start,n=e.end;o(1,arguments);var r=i(t),a=i(n);if(!R(r))throw new RangeError("Start Date is invalid");if(!R(a))throw new RangeError("End Date is invalid");var s={years:0,months:0,days:0,hours:0,minutes:0,seconds:0},l=I(r,a);s.years=Math.abs(de(r,a));var u=jn(r,{years:l*s.years});s.months=Math.abs(se(u,a));var c=jn(u,{months:l*s.months});s.days=Math.abs(Q(c,a));var d=jn(c,{days:l*s.days});s.hours=Math.abs(J(d,a));var f=jn(d,{hours:l*s.hours});s.minutes=Math.abs(re(f,a));var p=jn(f,{minutes:l*s.minutes});return s.seconds=Math.abs(ue(p,a)),s}function In(e,t,n){var r,i,a;return o(1,arguments),void 0===(a=t)||"locale"in a?n=t:i=t,new Intl.DateTimeFormat(null===(r=n)||void 0===r?void 0:r.locale,i).format(e)}function Nn(e,t){o(2,arguments);var n=i(e),r=i(t);return n.getTime()>r.getTime()}function Rn(e,t){o(2,arguments);var n=i(e),r=i(t);return n.getTime()<r.getTime()}function zn(e){return o(1,arguments),e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function Bn(e,t){o(2,arguments);var n=i(e),r=i(t);return n.getTime()===r.getTime()}function Ln(e,t,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}function Hn(e){return o(1,arguments),1===i(e).getDate()}function Un(e){return o(1,arguments),5===i(e).getDay()}function Vn(e){return o(1,arguments),i(e).getTime()>Date.now()}function qn(e,t,n){o(2,arguments);var a=n||{},s=a.locale,l=s&&s.options&&s.options.weekStartsOn,u=null==l?0:r(l),c=null==a.weekStartsOn?u:r(a.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=i(e),f=r(t),p=((f%7+7)%7<c?7:0)+f-d.getUTCDay();return d.setUTCDate(d.getUTCDate()+p),d}var Wn=/^(1[0-2]|0?\d)/,$n=/^(3[0-1]|[0-2]?\d)/,Yn=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Gn=/^(5[0-3]|[0-4]?\d)/,Kn=/^(2[0-3]|[0-1]?\d)/,Qn=/^(2[0-4]|[0-1]?\d)/,Zn=/^(1[0-1]|0?\d)/,Xn=/^(1[0-2]|0?\d)/,Jn=/^[0-5]?\d/,er=/^[0-5]?\d/,tr=/^\d/,nr=/^\d{1,2}/,rr=/^\d{1,3}/,or=/^\d{1,4}/,ir=/^-?\d+/,ar=/^-?\d/,sr=/^-?\d{1,2}/,lr=/^-?\d{1,3}/,ur=/^-?\d{1,4}/,cr=/^([+-])(\d{2})(\d{2})?|Z/,dr=/^([+-])(\d{2})(\d{2})|Z/,fr=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,pr=/^([+-])(\d{2}):(\d{2})|Z/,hr=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function vr(e,t,n){var r=t.match(e);if(!r)return null;var o=parseInt(r[0],10);return{value:n?n(o):o,rest:t.slice(r[0].length)}}function mr(e,t){var n=t.match(e);return n?"Z"===n[0]?{value:0,rest:t.slice(1)}:{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}:null}function gr(e,t){return vr(ir,e,t)}function yr(e,t,n){switch(e){case 1:return vr(tr,t,n);case 2:return vr(nr,t,n);case 3:return vr(rr,t,n);case 4:return vr(or,t,n);default:return vr(new RegExp("^\\d{1,"+e+"}"),t,n)}}function br(e,t,n){switch(e){case 1:return vr(ar,t,n);case 2:return vr(sr,t,n);case 3:return vr(lr,t,n);case 4:return vr(ur,t,n);default:return vr(new RegExp("^-?\\d{1,"+e+"}"),t,n)}}function wr(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function xr(e,t){var n,r=t>0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}var kr=[31,28,31,30,31,30,31,31,30,31,30,31],Sr=[31,29,31,30,31,30,31,31,30,31,30,31];function _r(e){return e%400===0||e%4===0&&e%100!==0}var Cr={G:{priority:140,parse:function(e,t,n,r){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,r){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,r){var o=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return yr(4,e,o);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return yr(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=e.getUTCFullYear();if(n.isTwoDigitYear){var i=xr(n.year,o);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,r){var o=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return yr(4,e,o);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:o});default:return yr(t.length,e,o)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var o=tt(e,r);if(n.isTwoDigitYear){var i=xr(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),et(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),et(e,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,r){return br("R"===t?4:t.length,e)},set:function(e,t,n,r){var o=new Date(0);return o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0),Qe(o)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,r){return br("u"===t?4:t.length,e)},set:function(e,t,n,r){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,r){switch(t){case"Q":case"QQ":return yr(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,r){switch(t){case"q":case"qq":return yr(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,r){var o=function(e){return e-1};switch(t){case"M":return vr(Wn,e,o);case"MM":return yr(2,e,o);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,r){var o=function(e){return e-1};switch(t){case"L":return vr(Wn,e,o);case"LL":return yr(2,e,o);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:o});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,r){switch(t){case"w":return vr(Gn,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,a){return et(function(e,t,n){o(2,arguments);var a=i(e),s=r(t),l=rt(a,n)-s;return a.setUTCDate(a.getUTCDate()-7*l),a}(e,n,a),a)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,r){switch(t){case"I":return vr(Gn,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,a){return Qe(function(e,t){o(2,arguments);var n=i(e),a=r(t),s=Je(n)-a;return n.setUTCDate(n.getUTCDate()-7*s),n}(e,n,a),a)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"d":return vr($n,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return yr(t.length,e)}},validate:function(e,t,n){var r=_r(e.getUTCFullYear()),o=e.getUTCMonth();return r?t>=1&&t<=Sr[o]:t>=1&&t<=kr[o]},set:function(e,t,n,r){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case"D":case"DD":return vr(Yn,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return yr(t.length,e)}},validate:function(e,t,n){return _r(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,r){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,r){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=qn(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return yr(t.length,e,o);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=qn(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return yr(t.length,e,o);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:o});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=qn(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,r){var o=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return yr(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o});default:return n.day(e,{width:"wide",context:"formatting",valueCallback:o})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(e,{width:"short",context:"formatting",valueCallback:o})||n.day(e,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,a){return e=function(e,t){o(2,arguments);var n=r(t);n%7===0&&(n-=7);var a=i(e),s=((n%7+7)%7<1?7:0)+n-a.getUTCDay();return a.setUTCDate(a.getUTCDate()+s),a}(e,n,a),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,n,r){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(wr(n),0,0,0),e},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(e,t,n,r){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(wr(n),0,0,0),e},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(e,t,n,r){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,r){return e.setUTCHours(wr(n),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,n,r){switch(t){case"h":return vr(Xn,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n,r){var o=e.getUTCHours()>=12;return o&&n<12?e.setUTCHours(n+12,0,0,0):o||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,r){switch(t){case"H":return vr(Kn,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,r){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,r){switch(t){case"K":return vr(Zn,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,r){switch(t){case"k":return vr(Qn,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,r){var o=n<=24?n%24:n;return e.setUTCHours(o,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,r){switch(t){case"m":return vr(Jn,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,r){switch(t){case"s":return vr(er,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return yr(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,r){return yr(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,r){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,r){switch(t){case"X":return mr(cr,e);case"XX":return mr(dr,e);case"XXXX":return mr(fr,e);case"XXXXX":return mr(hr,e);default:return mr(pr,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,r){switch(t){case"x":return mr(cr,e);case"xx":return mr(dr,e);case"xxxx":return mr(fr,e);case"xxxxx":return mr(hr,e);default:return mr(pr,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,r){return gr(e)},set:function(e,t,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,r){return gr(e)},set:function(e,t,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}};const Er=Cr;var Or=10,Fr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ar=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Dr=/^'([^]*?)'?$/,Pr=/''/g,Tr=/\S/,jr=/[a-zA-Z]/;function Mr(e,t,n,a){o(3,arguments);var s=String(e),l=String(t),u=a||{},c=u.locale||We;if(!c.match)throw new RangeError("locale must contain match property");var d=c.options&&c.options.firstWeekContainsDate,f=null==d?1:r(d),p=null==u.firstWeekContainsDate?f:r(u.firstWeekContainsDate);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=c.options&&c.options.weekStartsOn,v=null==h?0:r(h),m=null==u.weekStartsOn?v:r(u.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===l)return""===s?i(n):new Date(NaN);var g,y={firstWeekContainsDate:p,weekStartsOn:m,locale:c},b=[{priority:Or,subPriority:-1,set:Ir,index:0}],x=l.match(Ar).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,yt[t])(e,c.formatLong,y):e})).join("").match(Fr),k=[];for(g=0;g<x.length;g++){var S=x[g];!u.useAdditionalWeekYearTokens&&kt(S)&&St(S,l,e),!u.useAdditionalDayOfYearTokens&&xt(S)&&St(S,l,e);var _=S[0],C=Er[_];if(C){var E=C.incompatibleTokens;if(Array.isArray(E)){for(var O=void 0,F=0;F<k.length;F++){var A=k[F].token;if(-1!==E.indexOf(A)||A===_){O=k[F];break}}if(O)throw new RangeError("The format string mustn't contain `".concat(O.fullToken,"` and `").concat(S,"` at the same time"))}else if("*"===C.incompatibleTokens&&k.length)throw new RangeError("The format string mustn't contain `".concat(S,"` and any other token at the same time"));k.push({token:_,fullToken:S});var D=C.parse(s,S,c.match,y);if(!D)return new Date(NaN);b.push({priority:C.priority,subPriority:C.subPriority||0,set:C.set,validate:C.validate,value:D.value,index:b.length}),s=D.rest}else{if(_.match(jr))throw new RangeError("Format string contains an unescaped latin alphabet character `"+_+"`");if("''"===S?S="'":"'"===_&&(S=S.match(Dr)[1].replace(Pr,"'")),0!==s.indexOf(S))return new Date(NaN);s=s.slice(S.length)}}if(s.length>0&&Tr.test(s))return new Date(NaN);var P=b.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return b.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),T=i(n);if(isNaN(T))return new Date(NaN);var j=$e(T,w(T)),M={};for(g=0;g<P.length;g++){var I=P[g];if(I.validate&&!I.validate(j,I.value,y))return new Date(NaN);var N=I.set(j,M,I.value,y);N[0]?(j=N[0],Dt(M,N[1])):j=N}return j}function Ir(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}function Nr(e,t,n){return o(2,arguments),R(Mr(e,t,new Date,n))}function Rr(e){return o(1,arguments),1===i(e).getDay()}function zr(e){return o(1,arguments),i(e).getTime()<Date.now()}function Br(e){o(1,arguments);var t=i(e);return t.setMinutes(0,0,0),t}function Lr(e,t){o(2,arguments);var n=Br(e),r=Br(t);return n.getTime()===r.getTime()}function Hr(e,t,n){o(2,arguments);var r=m(e,n),i=m(t,n);return r.getTime()===i.getTime()}function Ur(e,t){return o(2,arguments),Hr(e,t,{weekStartsOn:1})}function Vr(e,t){o(2,arguments);var n=b(e),r=b(t);return n.getTime()===r.getTime()}function qr(e,t){o(2,arguments);var n=he(e),r=he(t);return n.getTime()===r.getTime()}function Wr(e,t){o(2,arguments);var n=i(e),r=i(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function $r(e,t){o(2,arguments);var n=ge(e),r=ge(t);return n.getTime()===r.getTime()}function Yr(e){o(1,arguments);var t=i(e);return t.setMilliseconds(0),t}function Gr(e,t){o(2,arguments);var n=Yr(e),r=Yr(t);return n.getTime()===r.getTime()}function Kr(e,t){o(2,arguments);var n=i(e),r=i(t);return n.getFullYear()===r.getFullYear()}function Qr(e){return o(1,arguments),Lr(Date.now(),e)}function Zr(e){return o(1,arguments),Ur(e,Date.now())}function Xr(e){return o(1,arguments),qr(Date.now(),e)}function Jr(e){return o(1,arguments),Wr(Date.now(),e)}function eo(e){return o(1,arguments),$r(Date.now(),e)}function to(e){return o(1,arguments),Gr(Date.now(),e)}function no(e,t){return o(1,arguments),Hr(e,Date.now(),t)}function ro(e){return o(1,arguments),Kr(e,Date.now())}function oo(e){return o(1,arguments),4===i(e).getDay()}function io(e){return o(1,arguments),z(e,Date.now())}function ao(e){return o(1,arguments),z(e,a(Date.now(),1))}function so(e){return o(1,arguments),2===i(e).getDay()}function lo(e){return o(1,arguments),3===i(e).getDay()}function uo(e,t){o(2,arguments);var n=i(e).getTime(),r=i(t.start).getTime(),a=i(t.end).getTime();if(!(r<=a))throw new RangeError("Invalid interval");return n>=r&&n<=a}function co(e){return o(1,arguments),z(e,Pn(Date.now(),1))}function fo(e){o(1,arguments);var t=i(e),n=t.getFullYear(),r=9+10*Math.floor(n/10);return t.setFullYear(r+1,0,0),t.setHours(0,0,0,0),t}function po(e,t){o(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,l=null==s?0:r(s),u=null==n.weekStartsOn?l:r(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var c=i(e),d=c.getDay(),f=6+(d<u?-7:0)-(d-u);return c.setHours(0,0,0,0),c.setDate(c.getDate()+f),c}function ho(e){return o(1,arguments),po(e,{weekStartsOn:1})}function vo(e){o(1,arguments);var t=y(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var r=g(n);return r.setDate(r.getDate()-1),r}function mo(e){o(1,arguments);var t=i(e),n=t.getMonth(),r=n-n%3+3;return t.setMonth(r,0),t.setHours(0,0,0,0),t}function go(e){o(1,arguments);var t=i(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t}var yo=/(\w)\1*|''|'(''|[^'])+('|$)|./g,bo=/^'([^]*?)'?$/,wo=/''/g,xo=/[a-zA-Z]/;function ko(e,t){o(2,arguments);var n=i(e);if(!R(n))throw new RangeError("Invalid time value");var r=$e(n,w(n)),a=t.match(yo);return a?a.map((function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return function(e){var t=e.match(bo);if(!t)return e;return t[1].replace(wo,"'")}(e);var n=Ke[t];if(n)return n(r,e);if(t.match(xo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e})).join(""):""}function So(e){var t,n;if(o(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==typeof e||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=i(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)})),n||new Date(NaN)}var _o=365.2425;function Co(e){var t=e.years,n=e.months,r=e.weeks,i=e.days,a=e.hours,s=e.minutes,l=e.seconds;o(1,arguments);var u=0;t&&(u+=t*_o),n&&(u+=n*(_o/12)),r&&(u+=7*r),i&&(u+=i);var c=24*u*60*60;return a&&(c+=60*a*60),s&&(c+=60*s),l&&(c+=l),Math.round(1e3*c)}function Eo(e){var t,n;if(o(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==typeof e||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=i(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}var Oo=[7,6,5,4,3,2,1];function Fo(e,t){o(2,arguments);var n=function(e){if(0===e)return Oo;var t=Oo.slice(-e),n=Oo.slice(0,Oo.length-e);return t.concat(n)}(t);return a(i(e),n[nn(i(e))])}function Ao(e){return o(1,arguments),Fo(i(e),5)}function Do(e){return o(1,arguments),Fo(i(e),1)}function Po(e){return o(1,arguments),Fo(i(e),6)}function To(e){return o(1,arguments),Fo(i(e),0)}function jo(e){return o(1,arguments),Fo(i(e),4)}function Mo(e){return o(1,arguments),Fo(i(e),2)}function Io(e){return o(1,arguments),Fo(i(e),3)}var No=36e5,Ro=6e4,zo=2,Bo={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Lo=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Ho=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Uo=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Vo(e,t){o(1,arguments);var n=t||{},i=null==n.additionalDigits?zo:r(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var a,s=function(e){var t,n={},r=e.split(Bo.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1],Bo.timeZoneDelimiter.test(n.date)&&(n.date=e.split(Bo.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var o=Bo.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(s.date){var l=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:null};var o=r[1]&&parseInt(r[1]),i=r[2]&&parseInt(r[2]);return{year:null==i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(s.date,i);a=function(e,t){if(null===t)return null;var n=e.match(Lo);if(!n)return null;var r=!!n[4],o=qo(n[1]),i=qo(n[2])-1,a=qo(n[3]),s=qo(n[4]),l=qo(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,s,l):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=($o[t]||(Yo(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(Yo(e)?366:365)}(t,o)?(u.setUTCFullYear(t,i,Math.max(o,a)),u):new Date(NaN)}(l.restDateString,l.year)}if(isNaN(a)||!a)return new Date(NaN);var u,c=a.getTime(),d=0;if(s.time&&(d=function(e){var t=e.match(Ho);if(!t)return null;var n=Wo(t[1]),r=Wo(t[2]),o=Wo(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*No+r*Ro+1e3*o}(s.time),isNaN(d)||null===d))return new Date(NaN);if(!s.timezone){var f=new Date(c+d),p=new Date(0);return p.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),p.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),p}return u=function(e){if("Z"===e)return 0;var t=e.match(Uo);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*No+o*Ro)}(s.timezone),isNaN(u)?new Date(NaN):new Date(c+d+u)}function qo(e){return e?parseInt(e):1}function Wo(e){return e&&parseFloat(e.replace(",","."))||0}var $o=[31,null,31,30,31,30,31,31,30,31,30,31];function Yo(e){return e%400===0||e%4===0&&e%100}function Go(e){if(o(1,arguments),"string"===typeof e){var t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return t?new Date(Date.UTC(+t[1],t[2]-1,+t[3],+t[4]-(t[9]||0)*("-"==t[8]?-1:1),+t[5]-(t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3))):new Date(NaN)}return i(e)}function Ko(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only none provided present");var n=t&&"nearestTo"in t?r(t.nearestTo):1;if(n<1||n>30)throw new RangeError("`options.nearestTo` must be between 1 and 30");var o=i(e),a=o.getSeconds(),s=o.getMinutes()+a/60,l=Math.floor(s/n)*n,u=s%n,c=Math.round(u/n)*n;return new Date(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),l+c)}function Qo(e,t){o(2,arguments);var n=i(e),a=r(t),s=n.getFullYear(),l=n.getDate(),u=new Date(0);u.setFullYear(s,a,15),u.setHours(0,0,0,0);var c=on(u);return n.setMonth(a,Math.min(l,c)),n}function Zo(e,t){if(o(2,arguments),"object"!==typeof t||null===t)throw new RangeError("values parameter must be an object");var n=i(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=Qo(n,t.month)),null!=t.date&&n.setDate(r(t.date)),null!=t.hours&&n.setHours(r(t.hours)),null!=t.minutes&&n.setMinutes(r(t.minutes)),null!=t.seconds&&n.setSeconds(r(t.seconds)),null!=t.milliseconds&&n.setMilliseconds(r(t.milliseconds)),n)}function Xo(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setDate(a),n}function Jo(e,t,n){o(2,arguments);var s=n||{},l=s.locale,u=l&&l.options&&l.options.weekStartsOn,c=null==u?0:r(u),d=null==s.weekStartsOn?c:r(s.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=i(e,s),p=r(t),h=f.getDay(),v=7-d;return a(f,p<0||p>6?p-(h+v)%7:((p%7+7)%7+v)%7-(h+v)%7,s)}function ei(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setMonth(0),n.setDate(a),n}function ti(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setHours(a),n}function ni(e,t){o(2,arguments);var n=i(e);return a(n,r(t)-cn(n))}function ri(e,t){o(2,arguments);var n=i(e),a=r(t),s=fn(n)-a;return n.setDate(n.getDate()-7*s),n}function oi(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setMilliseconds(a),n}function ii(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setMinutes(a),n}function ai(e,t){o(2,arguments);var n=i(e),a=r(t)-(Math.floor(n.getMonth()/3)+1);return Qo(n,n.getMonth()+3*a)}function si(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setSeconds(a),n}function li(e,t,n){o(2,arguments);var a=i(e),s=r(t),l=En(a,n)-s;return a.setDate(a.getDate()-7*l),a}function ui(e,t,n){o(2,arguments);var a=n||{},s=a.locale,l=s&&s.options&&s.options.firstWeekContainsDate,u=null==l?1:r(l),c=null==a.firstWeekContainsDate?u:r(a.firstWeekContainsDate),d=i(e),f=r(t),p=S(d,_n(d,n)),h=new Date(0);return h.setFullYear(f,0,c),h.setHours(0,0,0,0),(d=_n(h,n)).setDate(d.getDate()+p),d}function ci(e,t){o(2,arguments);var n=i(e),a=r(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}function di(e){o(1,arguments);var t=i(e),n=t.getFullYear(),r=10*Math.floor(n/10);return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}function fi(){return x(Date.now())}function pi(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r+1),o.setHours(0,0,0,0),o}function hi(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r-1),o.setHours(0,0,0,0),o}function vi(e,t){return o(2,arguments),f(e,-r(t))}function mi(e,t){return o(2,arguments),v(e,-r(t))}function gi(e,t){return o(2,arguments),O(e,-r(t))}function yi(e,t){return o(2,arguments),F(e,-r(t))}function bi(e,t){return o(2,arguments),A(e,-r(t))}function wi(e,t){return o(2,arguments),D(e,-r(t))}function xi(e,t){return o(2,arguments),P(e,-r(t))}var ki=24*Math.pow(10,8)*60*60*1e3,Si=-ki},7531:(e,t,n)=>{"use strict";var r=n(8625),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),v=l(n),m=0;m<a.length;++m){var g=a[m];if(!i[g]&&(!r||!r[g])&&(!v||!v[g])&&(!s||!s[g])){var y=f(n,g);try{u(t,g,y)}catch(b){}}}}return t}},6885:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case v:case l:return e;default:return t}}case o:return t}}}function k(e){return x(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=x},8625:(e,t,n)=>{"use strict";e.exports=n(6885)},8920:(e,t,n)=>{"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function s(e,t){if("function"!==typeof t&&null!==t)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}}),t&&u(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}function p(e,t,n){return p="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=f(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},p(e,t,n||e)}function h(e,t,n,r){return h="undefined"!==typeof Reflect&&Reflect.set?Reflect.set:function(e,t,n,r){var o,i=f(e,t);if(i){if((o=Object.getOwnPropertyDescriptor(i,t)).set)return o.set.call(r,n),!0;if(!o.writable)return!1}if(o=Object.getOwnPropertyDescriptor(r,t)){if(!o.writable)return!1;o.value=n,Object.defineProperty(r,t,o)}else!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(r,t,n);return!0},h(e,t,n,r)}function v(e,t,n,r,o){if(!h(e,t,n,r||e)&&o)throw new Error("failed to set property");return n}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(e){return"string"===typeof e||e instanceof String}n.r(t),n.d(t,{HTMLContenteditableMaskElement:()=>Z,HTMLMaskElement:()=>K,InputMask:()=>J,MaskElement:()=>Y,Masked:()=>D,MaskedDate:()=>W,MaskedDynamic:()=>le,MaskedEnum:()=>ne,MaskedFunction:()=>ae,MaskedNumber:()=>oe,MaskedPattern:()=>H,MaskedRange:()=>V,MaskedRegExp:()=>B,PIPE_TYPE:()=>ue,createMask:()=>j,createPipe:()=>ce,default:()=>fe,pipe:()=>de});var y="NONE",b="LEFT",w="FORCE_LEFT",x="RIGHT",k="FORCE_RIGHT";function S(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function _(e,t){if(t===e)return!0;var n,o=Array.isArray(t),i=Array.isArray(e);if(o&&i){if(t.length!=e.length)return!1;for(n=0;n<t.length;n++)if(!_(t[n],e[n]))return!1;return!0}if(o!=i)return!1;if(t&&e&&"object"===r(t)&&"object"===r(e)){var a=t instanceof Date,s=e instanceof Date;if(a&&s)return t.getTime()==e.getTime();if(a!=s)return!1;var l=t instanceof RegExp,u=e instanceof RegExp;if(l&&u)return t.toString()==e.toString();if(l!=u)return!1;var c=Object.keys(t);for(n=0;n<c.length;n++)if(!Object.prototype.hasOwnProperty.call(e,c[n]))return!1;for(n=0;n<c.length;n++)if(!_(e[c[n]],t[c[n]]))return!1;return!0}return!(!t||!e||"function"!==typeof t||"function"!==typeof e)&&t.toString()===e.toString()}const C=function(){function e(t,n,r,i){for(o(this,e),this.value=t,this.cursorPos=n,this.oldValue=r,this.oldSelection=i;this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start}return a(e,[{key:"startChangePos",get:function(){return Math.min(this.cursorPos,this.oldSelection.start)}},{key:"insertedCount",get:function(){return this.cursorPos-this.startChangePos}},{key:"inserted",get:function(){return this.value.substr(this.startChangePos,this.insertedCount)}},{key:"removedCount",get:function(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}},{key:"removed",get:function(){return this.oldValue.substr(this.startChangePos,this.removedCount)}},{key:"head",get:function(){return this.value.substring(0,this.startChangePos)}},{key:"tail",get:function(){return this.value.substring(this.startChangePos+this.insertedCount)}},{key:"removeDirection",get:function(){return!this.removedCount||this.insertedCount?y:this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos?x:b}}]),e}();const E=function(){function e(t){o(this,e),Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},t)}return a(e,[{key:"aggregate",value:function(e){return this.rawInserted+=e.rawInserted,this.skip=this.skip||e.skip,this.inserted+=e.inserted,this.tailShift+=e.tailShift,this}},{key:"offset",get:function(){return this.tailShift+this.inserted.length}}]),e}();const O=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;o(this,e),this.value=t,this.from=n,this.stop=r}return a(e,[{key:"toString",value:function(){return this.value}},{key:"extend",value:function(e){this.value+=String(e)}},{key:"appendTo",value:function(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}},{key:"shiftBefore",value:function(e){if(this.from>=e||!this.value.length)return"";var t=this.value[0];return this.value=this.value.slice(1),t}},{key:"state",get:function(){return{value:this.value,from:this.from,stop:this.stop}},set:function(e){Object.assign(this,e)}}]),e}();const F=function e(t){return new e.InputMask(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})};var A=function(){function e(t){o(this,e),this._value="",this._update(Object.assign({},e.DEFAULTS,{},t)),this.isInitialized=!0}return a(e,[{key:"updateOptions",value:function(e){Object.keys(e).length&&this.withValueRefresh(this._update.bind(this,e))}},{key:"_update",value:function(e){Object.assign(this,e)}},{key:"reset",value:function(){this._value=""}},{key:"resolve",value:function(e){return this.reset(),this.append(e,{input:!0},""),this.doCommit(),this.value}},{key:"nearestInputPos",value:function(e,t){return e}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this.value.slice(e,t)}},{key:"extractTail",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return new O(this.extractInput(e,t),e)}},{key:"appendTail",value:function(e){return g(e)&&(e=new O(String(e))),e.appendTo(this)}},{key:"_appendCharRaw",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e=this.doPrepare(e,t))?(this._value+=e,new E({inserted:e,rawInserted:e})):new E}},{key:"_appendChar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=this.state,o=this._appendCharRaw(e,t);if(o.inserted){var i,a=!1!==this.doValidate(t);if(a&&null!=n){var s=this.state;this.overwrite&&(i=n.state,n.shiftBefore(this.value.length));var l=this.appendTail(n);(a=l.rawInserted===n.toString())&&l.inserted&&(this.state=s)}a||(o=new E,this.state=r,n&&i&&(n.state=i))}return o}},{key:"_appendPlaceholder",value:function(){return new E}},{key:"append",value:function(e,t,n){if(!g(e))throw new Error("value should be string");var r=new E,o=g(n)?new O(String(n)):n;t.tail&&(t._beforeTailState=this.state);for(var i=0;i<e.length;++i)r.aggregate(this._appendChar(e[i],t,o));return null!=o&&(r.tailShift+=this.appendTail(o).tailShift),r}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this._value=this.value.slice(0,e)+this.value.slice(t),new E}},{key:"withValueRefresh",value:function(e){if(this._refreshing||!this.isInitialized)return e();this._refreshing=!0;var t=this.rawInputValue,n=this.value,r=e();return this.rawInputValue=t,this.value!==n&&0===n.indexOf(this.value)&&this.append(n.slice(this.value.length),{},""),delete this._refreshing,r}},{key:"runIsolated",value:function(e){if(this._isolated||!this.isInitialized)return e(this);this._isolated=!0;var t=this.state,n=e(this);return this.state=t,delete this._isolated,n}},{key:"doPrepare",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.prepare?this.prepare(e,this,t):e}},{key:"doValidate",value:function(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}},{key:"doCommit",value:function(){this.commit&&this.commit(this.value,this)}},{key:"doFormat",value:function(e){return this.format?this.format(e,this):e}},{key:"doParse",value:function(e){return this.parse?this.parse(e,this):e}},{key:"splice",value:function(e,t,n,r){var o=e+t,i=this.extractTail(o),a=this.nearestInputPos(e,r);return new E({tailShift:a-e}).aggregate(this.remove(a)).aggregate(this.append(n,{input:!0},i))}},{key:"state",get:function(){return{_value:this.value}},set:function(e){this._value=e._value}},{key:"value",get:function(){return this._value},set:function(e){this.resolve(e)}},{key:"unmaskedValue",get:function(){return this.value},set:function(e){this.reset(),this.append(e,{},""),this.doCommit()}},{key:"typedValue",get:function(){return this.doParse(this.value)},set:function(e){this.value=this.doFormat(e)}},{key:"rawInputValue",get:function(){return this.extractInput(0,this.value.length,{raw:!0})},set:function(e){this.reset(),this.append(e,{raw:!0},""),this.doCommit()}},{key:"isComplete",get:function(){return!0}}]),e}();A.DEFAULTS={format:function(e){return e},parse:function(e){return e}},F.Masked=A;const D=A;function P(e){if(null==e)throw new Error("mask property should be defined");return e instanceof RegExp?F.MaskedRegExp:g(e)?F.MaskedPattern:e instanceof Date||e===Date?F.MaskedDate:e instanceof Number||"number"===typeof e||e===Number?F.MaskedNumber:Array.isArray(e)||e===Array?F.MaskedDynamic:F.Masked&&e.prototype instanceof F.Masked?e:e instanceof Function?F.MaskedFunction:e instanceof F.Masked?e.constructor:(console.warn("Mask not found for mask",e),F.Masked)}function T(e){if(F.Masked&&e instanceof F.Masked)return e;var t=(e=Object.assign({},e)).mask;if(F.Masked&&t instanceof F.Masked)return t;var n=P(t);if(!n)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new n(e)}F.createMask=T;const j=T;var M={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};const I=function(){function e(t){o(this,e);var n=t.mask,r=c(t,["mask"]);this.masked=j({mask:n}),Object.assign(this,r)}return a(e,[{key:"reset",value:function(){this._isFilled=!1,this.masked.reset()}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return 0===e&&t>=1?(this._isFilled=!1,this.masked.remove(e,t)):new E}},{key:"_appendChar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._isFilled)return new E;var n=this.masked.state,r=this.masked._appendChar(e,t);return r.inserted&&!1===this.doValidate(t)&&(r.inserted=r.rawInserted="",this.masked.state=n),r.inserted||this.isOptional||this.lazy||t.input||(r.inserted=this.placeholderChar),r.skip=!r.inserted&&!this.isOptional,this._isFilled=Boolean(r.inserted),r}},{key:"append",value:function(){var e;return(e=this.masked).append.apply(e,arguments)}},{key:"_appendPlaceholder",value:function(){var e=new E;return this._isFilled||this.isOptional||(this._isFilled=!0,e.inserted=this.placeholderChar),e}},{key:"extractTail",value:function(){var e;return(e=this.masked).extractTail.apply(e,arguments)}},{key:"appendTail",value:function(){var e;return(e=this.masked).appendTail.apply(e,arguments)}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=arguments.length>2?arguments[2]:void 0;return this.masked.extractInput(e,t,n)}},{key:"nearestInputPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,n=this.value.length,r=Math.min(Math.max(e,0),n);switch(t){case b:case w:return this.isComplete?r:0;case x:case k:return this.isComplete?r:n;default:return r}}},{key:"doValidate",value:function(){var e,t;return(e=this.masked).doValidate.apply(e,arguments)&&(!this.parent||(t=this.parent).doValidate.apply(t,arguments))}},{key:"doCommit",value:function(){this.masked.doCommit()}},{key:"value",get:function(){return this.masked.value||(this._isFilled&&!this.isOptional?this.placeholderChar:"")}},{key:"unmaskedValue",get:function(){return this.masked.unmaskedValue}},{key:"isComplete",get:function(){return Boolean(this.masked.value)||this.isOptional}},{key:"state",get:function(){return{masked:this.masked.state,_isFilled:this._isFilled}},set:function(e){this.masked.state=e.masked,this._isFilled=e._isFilled}}]),e}();const N=function(){function e(t){o(this,e),Object.assign(this,t),this._value=""}return a(e,[{key:"reset",value:function(){this._isRawInput=!1,this._value=""}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length;return this._value=this._value.slice(0,e)+this._value.slice(t),this._value||(this._isRawInput=!1),new E}},{key:"nearestInputPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,n=this._value.length;switch(t){case b:case w:return 0;default:return n}}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length;return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).raw&&this._isRawInput&&this._value.slice(e,t)||""}},{key:"_appendChar",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new E;if(this._value)return n;var r=this.char===e[0]&&(this.isUnmasking||t.input||t.raw)&&!t.tail;return r&&(n.rawInserted=this.char),this._value=n.inserted=this.char,this._isRawInput=r&&(t.raw||t.input),n}},{key:"_appendPlaceholder",value:function(){var e=new E;return this._value||(this._value=e.inserted=this.char),e}},{key:"extractTail",value:function(){arguments.length>1&&void 0!==arguments[1]||this.value.length;return new O("")}},{key:"appendTail",value:function(e){return g(e)&&(e=new O(String(e))),e.appendTo(this)}},{key:"append",value:function(e,t,n){var r=this._appendChar(e,t);return null!=n&&(r.tailShift+=this.appendTail(n).tailShift),r}},{key:"doCommit",value:function(){}},{key:"value",get:function(){return this._value}},{key:"unmaskedValue",get:function(){return this.isUnmasking?this.value:""}},{key:"isComplete",get:function(){return!0}},{key:"state",get:function(){return{_value:this._value,_isRawInput:this._isRawInput}},set:function(e){Object.assign(this,e)}}]),e}();const R=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;o(this,e),this.chunks=t,this.from=n}return a(e,[{key:"toString",value:function(){return this.chunks.map(String).join("")}},{key:"extend",value:function(t){if(String(t)){g(t)&&(t=new O(String(t)));var n=this.chunks[this.chunks.length-1],r=n&&(n.stop===t.stop||null==t.stop)&&t.from===n.from+n.toString().length;if(t instanceof O)r?n.extend(t.toString()):this.chunks.push(t);else if(t instanceof e){if(null==t.stop)for(var o;t.chunks.length&&null==t.chunks[0].stop;)(o=t.chunks.shift()).from+=t.from,this.extend(o);t.toString()&&(t.stop=t.blockIndex,this.chunks.push(t))}}}},{key:"appendTo",value:function(t){if(!(t instanceof F.MaskedPattern))return new O(this.toString()).appendTo(t);for(var n=new E,r=0;r<this.chunks.length&&!n.skip;++r){var o=this.chunks[r],i=t._mapPosToBlock(t.value.length),a=o.stop,s=void 0;if(null!=a&&(!i||i.index<=a)&&((o instanceof e||t._stops.indexOf(a)>=0)&&n.aggregate(t._appendPlaceholder(a)),s=o instanceof e&&t._blocks[a]),s){var l=s.appendTail(o);l.skip=!1,n.aggregate(l),t._value+=l.inserted;var u=o.toString().slice(l.rawInserted.length);u&&n.aggregate(t.append(u,{tail:!0}))}else n.aggregate(t.append(o.toString(),{tail:!0}))}return n}},{key:"shiftBefore",value:function(e){if(this.from>=e||!this.chunks.length)return"";for(var t=e-this.from,n=0;n<this.chunks.length;){var r=this.chunks[n],o=r.shiftBefore(t);if(r.toString()){if(!o)break;++n}else this.chunks.splice(n,1);if(o)return o}return""}},{key:"state",get:function(){return{chunks:this.chunks.map((function(e){return e.state})),from:this.from,stop:this.stop,blockIndex:this.blockIndex}},set:function(t){var n=t.chunks,r=c(t,["chunks"]);Object.assign(this,r),this.chunks=n.map((function(t){var n="chunks"in t?new e:new O;return n.state=t,n}))}}]),e}();var z=function(e){function t(){return o(this,t),d(this,l(t).apply(this,arguments))}return s(t,e),a(t,[{key:"_update",value:function(e){e.mask&&(e.validate=function(t){return t.search(e.mask)>=0}),p(l(t.prototype),"_update",this).call(this,e)}}]),t}(D);F.MaskedRegExp=z;const B=z;var L=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(this,t),e.definitions=Object.assign({},M,e.definitions),d(this,l(t).call(this,Object.assign({},t.DEFAULTS,{},e)))}return s(t,e),a(t,[{key:"_update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.definitions=Object.assign({},this.definitions,e.definitions),p(l(t.prototype),"_update",this).call(this,e),this._rebuildMask()}},{key:"_rebuildMask",value:function(){var e=this,n=this.definitions;this._blocks=[],this._stops=[],this._maskedBlocks={};var r=this.mask;if(r&&n)for(var o=!1,i=!1,a=0;a<r.length;++a){if(this.blocks)if("continue"===function(){var t=r.slice(a),n=Object.keys(e.blocks).filter((function(e){return 0===t.indexOf(e)}));n.sort((function(e,t){return t.length-e.length}));var o=n[0];if(o){var i=j(Object.assign({parent:e,lazy:e.lazy,placeholderChar:e.placeholderChar,overwrite:e.overwrite},e.blocks[o]));return i&&(e._blocks.push(i),e._maskedBlocks[o]||(e._maskedBlocks[o]=[]),e._maskedBlocks[o].push(e._blocks.length-1)),a+=o.length-1,"continue"}}())continue;var s=r[a],l=s in n;if(s!==t.STOP_CHAR)if("{"!==s&&"}"!==s)if("["!==s&&"]"!==s){if(s===t.ESCAPE_CHAR){if(++a,!(s=r[a]))break;l=!1}var u=l?new I({parent:this,lazy:this.lazy,placeholderChar:this.placeholderChar,mask:n[s],isOptional:i}):new N({char:s,isUnmasking:o});this._blocks.push(u)}else i=!i;else o=!o;else this._stops.push(this._blocks.length)}}},{key:"reset",value:function(){p(l(t.prototype),"reset",this).call(this),this._blocks.forEach((function(e){return e.reset()}))}},{key:"doCommit",value:function(){this._blocks.forEach((function(e){return e.doCommit()})),p(l(t.prototype),"doCommit",this).call(this)}},{key:"appendTail",value:function(e){return p(l(t.prototype),"appendTail",this).call(this,e).aggregate(this._appendPlaceholder())}},{key:"_appendCharRaw",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=this.doPrepare(e,t);var n=this._mapPosToBlock(this.value.length),r=new E;if(!n)return r;for(var o=n.index;;++o){var i=this._blocks[o];if(!i)break;var a=i._appendChar(e,t),s=a.skip;if(r.aggregate(a),s||a.rawInserted)break}return r}},{key:"extractTail",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,r=new R;return t===n||this._forEachBlocksInRange(t,n,(function(t,n,o,i){var a=t.extractTail(o,i);a.stop=e._findStopBefore(n),a.from=e._blockStartPos(n),a instanceof R&&(a.blockIndex=n),r.extend(a)})),r}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return"";var r="";return this._forEachBlocksInRange(e,t,(function(e,t,o,i){r+=e.extractInput(o,i,n)})),r}},{key:"_findStopBefore",value:function(e){for(var t,n=0;n<this._stops.length;++n){var r=this._stops[n];if(!(r<=e))break;t=r}return t}},{key:"_appendPlaceholder",value:function(e){var t=this,n=new E;if(this.lazy&&null==e)return n;var r=this._mapPosToBlock(this.value.length);if(!r)return n;var o=r.index,i=null!=e?e:this._blocks.length;return this._blocks.slice(o,i).forEach((function(r){if(!r.lazy||null!=e){var o=null!=r._blocks?[r._blocks.length]:[],i=r._appendPlaceholder.apply(r,o);t._value+=i.inserted,n.aggregate(i)}})),n}},{key:"_mapPosToBlock",value:function(e){for(var t="",n=0;n<this._blocks.length;++n){var r=this._blocks[n],o=t.length;if(e<=(t+=r.value).length)return{index:n,offset:e-o}}}},{key:"_blockStartPos",value:function(e){return this._blocks.slice(0,e).reduce((function(e,t){return e+t.value.length}),0)}},{key:"_forEachBlocksInRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=arguments.length>2?arguments[2]:void 0,r=this._mapPosToBlock(e);if(r){var o=this._mapPosToBlock(t),i=o&&r.index===o.index,a=r.offset,s=o&&i?o.offset:this._blocks[r.index].value.length;if(n(this._blocks[r.index],r.index,a,s),o&&!i){for(var l=r.index+1;l<o.index;++l)n(this._blocks[l],l,0,this._blocks[l].value.length);n(this._blocks[o.index],o.index,0,o.offset)}}}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,r=p(l(t.prototype),"remove",this).call(this,e,n);return this._forEachBlocksInRange(e,n,(function(e,t,n,o){r.aggregate(e.remove(n,o))})),r}},{key:"nearestInputPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,n=this._mapPosToBlock(e)||{index:0,offset:0},r=n.offset,o=n.index,i=this._blocks[o];if(!i)return e;var a=r;0!==a&&a<i.value.length&&(a=i.nearestInputPos(r,function(e){switch(e){case b:return w;case x:return k;default:return e}}(t)));var s=a===i.value.length;if(!(0===a)&&!s)return this._blockStartPos(o)+a;var l=s?o+1:o;if(t===y){if(l>0){var u=l-1,c=this._blocks[u],d=c.nearestInputPos(0,y);if(!c.value.length||d!==c.value.length)return this._blockStartPos(l)}for(var f=l;f<this._blocks.length;++f){var p=this._blocks[f],h=p.nearestInputPos(0,y);if(!p.value.length||h!==p.value.length)return this._blockStartPos(f)+h}for(var v=l-1;v>=0;--v){var m=this._blocks[v],g=m.nearestInputPos(0,y);if(!m.value.length||g!==m.value.length)return this._blockStartPos(v)+m.value.length}return e}if(t===b||t===w){for(var S,_=l;_<this._blocks.length;++_)if(this._blocks[_].value){S=_;break}if(null!=S){var C=this._blocks[S],E=C.nearestInputPos(0,x);if(0===E&&C.unmaskedValue.length)return this._blockStartPos(S)+E}for(var O,F=-1,A=l-1;A>=0;--A){var D=this._blocks[A],P=D.nearestInputPos(D.value.length,w);if(D.value&&0===P||(O=A),0!==P){if(P!==D.value.length)return this._blockStartPos(A)+P;F=A;break}}if(t===b)for(var T=F+1;T<=Math.min(l,this._blocks.length-1);++T){var j=this._blocks[T],M=j.nearestInputPos(0,y),I=this._blockStartPos(T)+M;if(I>e)break;if(M!==j.value.length)return I}if(F>=0)return this._blockStartPos(F)+this._blocks[F].value.length;if(t===w||this.lazy&&!this.extractInput()&&!function(e){if(!e)return!1;var t=e.value;return!t||e.nearestInputPos(0,y)!==t.length}(this._blocks[l]))return 0;if(null!=O)return this._blockStartPos(O);for(var N=l;N<this._blocks.length;++N){var R=this._blocks[N],z=R.nearestInputPos(0,y);if(!R.value.length||z!==R.value.length)return this._blockStartPos(N)+z}return 0}if(t===x||t===k){for(var B,L,H=l;H<this._blocks.length;++H){var U=this._blocks[H],V=U.nearestInputPos(0,y);if(V!==U.value.length){L=this._blockStartPos(H)+V,B=H;break}}if(null!=B&&null!=L){for(var q=B;q<this._blocks.length;++q){var W=this._blocks[q],$=W.nearestInputPos(0,k);if($!==W.value.length)return this._blockStartPos(q)+$}return t===k?this.value.length:L}for(var Y=Math.min(l,this._blocks.length-1);Y>=0;--Y){var G=this._blocks[Y],K=G.nearestInputPos(G.value.length,b);if(0!==K){var Q=this._blockStartPos(Y)+K;if(Q>=e)return Q;break}}}return e}},{key:"maskedBlock",value:function(e){return this.maskedBlocks(e)[0]}},{key:"maskedBlocks",value:function(e){var t=this,n=this._maskedBlocks[e];return n?n.map((function(e){return t._blocks[e]})):[]}},{key:"state",get:function(){return Object.assign({},p(l(t.prototype),"state",this),{_blocks:this._blocks.map((function(e){return e.state}))})},set:function(e){var n=e._blocks,r=c(e,["_blocks"]);this._blocks.forEach((function(e,t){return e.state=n[t]})),v(l(t.prototype),"state",r,this,!0)}},{key:"isComplete",get:function(){return this._blocks.every((function(e){return e.isComplete}))}},{key:"unmaskedValue",get:function(){return this._blocks.reduce((function(e,t){return e+t.unmaskedValue}),"")},set:function(e){v(l(t.prototype),"unmaskedValue",e,this,!0)}},{key:"value",get:function(){return this._blocks.reduce((function(e,t){return e+t.value}),"")},set:function(e){v(l(t.prototype),"value",e,this,!0)}}]),t}(D);L.DEFAULTS={lazy:!0,placeholderChar:"_"},L.STOP_CHAR="`",L.ESCAPE_CHAR="\\",L.InputDefinition=I,L.FixedDefinition=N,F.MaskedPattern=L;const H=L;var U=function(e){function t(){return o(this,t),d(this,l(t).apply(this,arguments))}return s(t,e),a(t,[{key:"_update",value:function(e){e=Object.assign({to:this.to||0,from:this.from||0},e);var n=String(e.to).length;null!=e.maxLength&&(n=Math.max(n,e.maxLength)),e.maxLength=n;for(var r=String(e.from).padStart(n,"0"),o=String(e.to).padStart(n,"0"),i=0;i<o.length&&o[i]===r[i];)++i;e.mask=o.slice(0,i).replace(/0/g,"\\0")+"0".repeat(n-i),p(l(t.prototype),"_update",this).call(this,e)}},{key:"boundaries",value:function(e){var t="",n="",r=m(e.match(/^(\D*)(\d*)(\D*)/)||[],3),o=r[1],i=r[2];return i&&(t="0".repeat(o.length)+i,n="9".repeat(o.length)+i),[t=t.padEnd(this.maxLength,"0"),n=n.padEnd(this.maxLength,"9")]}},{key:"doPrepare",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=p(l(t.prototype),"doPrepare",this).call(this,e,n).replace(/\D/g,""),!this.autofix)return e;for(var r=String(this.from).padStart(this.maxLength,"0"),o=String(this.to).padStart(this.maxLength,"0"),i=this.value,a="",s=0;s<e.length;++s){var u=i+a+e[s],c=m(this.boundaries(u),2),d=c[0],f=c[1];Number(f)<this.from?a+=r[u.length-1]:Number(d)>this.to?a+=o[u.length-1]:a+=e[s]}return a}},{key:"doValidate",value:function(){var e,n=this.value;if(-1===n.search(/[^0]/)&&n.length<=this._matchFrom)return!0;for(var r=m(this.boundaries(n),2),o=r[0],i=r[1],a=arguments.length,s=new Array(a),u=0;u<a;u++)s[u]=arguments[u];return this.from<=Number(i)&&Number(o)<=this.to&&(e=p(l(t.prototype),"doValidate",this)).call.apply(e,[this].concat(s))}},{key:"_matchFrom",get:function(){return this.maxLength-String(this.from).length}},{key:"isComplete",get:function(){return p(l(t.prototype),"isComplete",this)&&Boolean(this.value)}}]),t}(H);F.MaskedRange=U;const V=U;var q=function(e){function t(e){return o(this,t),d(this,l(t).call(this,Object.assign({},t.DEFAULTS,{},e)))}return s(t,e),a(t,[{key:"_update",value:function(e){e.mask===Date&&delete e.mask,e.pattern&&(e.mask=e.pattern);var n=e.blocks;e.blocks=Object.assign({},t.GET_DEFAULT_BLOCKS()),e.min&&(e.blocks.Y.from=e.min.getFullYear()),e.max&&(e.blocks.Y.to=e.max.getFullYear()),e.min&&e.max&&e.blocks.Y.from===e.blocks.Y.to&&(e.blocks.m.from=e.min.getMonth()+1,e.blocks.m.to=e.max.getMonth()+1,e.blocks.m.from===e.blocks.m.to&&(e.blocks.d.from=e.min.getDate(),e.blocks.d.to=e.max.getDate())),Object.assign(e.blocks,n),Object.keys(e.blocks).forEach((function(t){var n=e.blocks[t];"autofix"in n||(n.autofix=e.autofix)})),p(l(t.prototype),"_update",this).call(this,e)}},{key:"doValidate",value:function(){for(var e,n=this.date,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=p(l(t.prototype),"doValidate",this)).call.apply(e,[this].concat(o))&&(!this.isComplete||this.isDateExist(this.value)&&null!=n&&(null==this.min||this.min<=n)&&(null==this.max||n<=this.max))}},{key:"isDateExist",value:function(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}},{key:"date",get:function(){return this.typedValue},set:function(e){this.typedValue=e}},{key:"typedValue",get:function(){return this.isComplete?p(l(t.prototype),"typedValue",this):null},set:function(e){v(l(t.prototype),"typedValue",e,this,!0)}}]),t}(H);q.DEFAULTS={pattern:"d{.}`m{.}`Y",format:function(e){return[String(e.getDate()).padStart(2,"0"),String(e.getMonth()+1).padStart(2,"0"),e.getFullYear()].join(".")},parse:function(e){var t=m(e.split("."),3),n=t[0],r=t[1],o=t[2];return new Date(o,r-1,n)}},q.GET_DEFAULT_BLOCKS=function(){return{d:{mask:V,from:1,to:31,maxLength:2},m:{mask:V,from:1,to:12,maxLength:2},Y:{mask:V,from:1900,to:9999}}},F.MaskedDate=q;const W=q;var $=function(){function e(){o(this,e)}return a(e,[{key:"select",value:function(e,t){if(null!=e&&null!=t&&(e!==this.selectionStart||t!==this.selectionEnd))try{this._unsafeSelect(e,t)}catch(n){}}},{key:"_unsafeSelect",value:function(e,t){}},{key:"bindEvents",value:function(e){}},{key:"unbindEvents",value:function(){}},{key:"selectionStart",get:function(){var e;try{e=this._unsafeSelectionStart}catch(t){}return null!=e?e:this.value.length}},{key:"selectionEnd",get:function(){var e;try{e=this._unsafeSelectionEnd}catch(t){}return null!=e?e:this.value.length}},{key:"isActive",get:function(){return!1}}]),e}();F.MaskElement=$;const Y=$;var G=function(e){function t(e){var n;return o(this,t),(n=d(this,l(t).call(this))).input=e,n._handlers={},n}return s(t,e),a(t,[{key:"_unsafeSelect",value:function(e,t){this.input.setSelectionRange(e,t)}},{key:"bindEvents",value:function(e){var n=this;Object.keys(e).forEach((function(r){return n._toggleEventHandler(t.EVENTS_MAP[r],e[r])}))}},{key:"unbindEvents",value:function(){var e=this;Object.keys(this._handlers).forEach((function(t){return e._toggleEventHandler(t)}))}},{key:"_toggleEventHandler",value:function(e,t){this._handlers[e]&&(this.input.removeEventListener(e,this._handlers[e]),delete this._handlers[e]),t&&(this.input.addEventListener(e,t),this._handlers[e]=t)}},{key:"rootElement",get:function(){return this.input.getRootNode?this.input.getRootNode():document}},{key:"isActive",get:function(){return this.input===this.rootElement.activeElement}},{key:"_unsafeSelectionStart",get:function(){return this.input.selectionStart}},{key:"_unsafeSelectionEnd",get:function(){return this.input.selectionEnd}},{key:"value",get:function(){return this.input.value},set:function(e){this.input.value=e}}]),t}(Y);G.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"},F.HTMLMaskElement=G;const K=G;var Q=function(e){function t(){return o(this,t),d(this,l(t).apply(this,arguments))}return s(t,e),a(t,[{key:"_unsafeSelect",value:function(e,t){if(this.rootElement.createRange){var n=this.rootElement.createRange();n.setStart(this.input.firstChild||this.input,e),n.setEnd(this.input.lastChild||this.input,t);var r=this.rootElement,o=r.getSelection&&r.getSelection();o&&(o.removeAllRanges(),o.addRange(n))}}},{key:"_unsafeSelectionStart",get:function(){var e=this.rootElement,t=e.getSelection&&e.getSelection();return t&&t.anchorOffset}},{key:"_unsafeSelectionEnd",get:function(){var e=this.rootElement,t=e.getSelection&&e.getSelection();return t&&this._unsafeSelectionStart+String(t).length}},{key:"value",get:function(){return this.input.textContent},set:function(e){this.input.textContent=e}}]),t}(K);F.HTMLContenteditableMaskElement=Q;const Z=Q;var X=function(){function e(t,n){o(this,e),this.el=t instanceof Y?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new Z(t):new K(t),this.masked=j(n),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}return a(e,[{key:"maskEquals",value:function(e){return null==e||e===this.masked.mask||e===Date&&this.masked instanceof W}},{key:"_bindEvents",value:function(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}},{key:"_unbindEvents",value:function(){this.el&&this.el.unbindEvents()}},{key:"_fireEvent",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this._listeners[e];o&&o.forEach((function(e){return e.apply(void 0,n)}))}},{key:"_saveSelection",value:function(){this.value!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}},{key:"updateValue",value:function(){this.masked.value=this.el.value,this._value=this.masked.value}},{key:"updateControl",value:function(){var e=this.masked.unmaskedValue,t=this.masked.value,n=this.unmaskedValue!==e||this.value!==t;this._unmaskedValue=e,this._value=t,this.el.value!==t&&(this.el.value=t),n&&this._fireChangeEvents()}},{key:"updateOptions",value:function(e){var t=e.mask,n=c(e,["mask"]),r=!this.maskEquals(t),o=!_(this.masked,n);r&&(this.mask=t),o&&this.masked.updateOptions(n),(r||o)&&this.updateControl()}},{key:"updateCursor",value:function(e){null!=e&&(this.cursorPos=e,this._delayUpdateCursor(e))}},{key:"_delayUpdateCursor",value:function(e){var t=this;this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout((function(){t.el&&(t.cursorPos=t._changingCursorPos,t._abortUpdateCursor())}),10)}},{key:"_fireChangeEvents",value:function(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}},{key:"_abortUpdateCursor",value:function(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}},{key:"alignCursor",value:function(){this.cursorPos=this.masked.nearestInputPos(this.cursorPos,b)}},{key:"alignCursorFriendly",value:function(){this.selectionStart===this.cursorPos&&this.alignCursor()}},{key:"on",value:function(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}},{key:"off",value:function(e,t){if(!this._listeners[e])return this;if(!t)return delete this._listeners[e],this;var n=this._listeners[e].indexOf(t);return n>=0&&this._listeners[e].splice(n,1),this}},{key:"_onInput",value:function(e){if(this._inputEvent=e,this._abortUpdateCursor(),!this._selection)return this.updateValue();var t=new C(this.el.value,this.cursorPos,this.value,this._selection),n=this.masked.rawInputValue,r=this.masked.splice(t.startChangePos,t.removed.length,t.inserted,t.removeDirection).offset,o=n===this.masked.rawInputValue?t.removeDirection:y,i=this.masked.nearestInputPos(t.startChangePos+r,o);this.updateControl(),this.updateCursor(i),delete this._inputEvent}},{key:"_onChange",value:function(){this.value!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}},{key:"_onDrop",value:function(e){e.preventDefault(),e.stopPropagation()}},{key:"_onFocus",value:function(e){this.alignCursorFriendly()}},{key:"_onClick",value:function(e){this.alignCursorFriendly()}},{key:"destroy",value:function(){this._unbindEvents(),this._listeners.length=0,delete this.el}},{key:"mask",get:function(){return this.masked.mask},set:function(e){if(!this.maskEquals(e))if(e instanceof F.Masked||this.masked.constructor!==P(e)){var t=j({mask:e});t.unmaskedValue=this.masked.unmaskedValue,this.masked=t}else this.masked.updateOptions({mask:e})}},{key:"value",get:function(){return this._value},set:function(e){this.masked.value=e,this.updateControl(),this.alignCursor()}},{key:"unmaskedValue",get:function(){return this._unmaskedValue},set:function(e){this.masked.unmaskedValue=e,this.updateControl(),this.alignCursor()}},{key:"typedValue",get:function(){return this.masked.typedValue},set:function(e){this.masked.typedValue=e,this.updateControl(),this.alignCursor()}},{key:"selectionStart",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}},{key:"cursorPos",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd},set:function(e){this.el&&this.el.isActive&&(this.el.select(e,e),this._saveSelection())}}]),e}();F.InputMask=X;const J=X,ee=F;var te=function(e){function t(){return o(this,t),d(this,l(t).apply(this,arguments))}return s(t,e),a(t,[{key:"_update",value:function(e){e.enum&&(e.mask="*".repeat(e.enum[0].length)),p(l(t.prototype),"_update",this).call(this,e)}},{key:"doValidate",value:function(){for(var e,n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return this.enum.some((function(e){return e.indexOf(n.unmaskedValue)>=0}))&&(e=p(l(t.prototype),"doValidate",this)).call.apply(e,[this].concat(o))}}]),t}(H);F.MaskedEnum=te;const ne=te;var re=function(e){function t(e){return o(this,t),d(this,l(t).call(this,Object.assign({},t.DEFAULTS,{},e)))}return s(t,e),a(t,[{key:"_update",value:function(e){p(l(t.prototype),"_update",this).call(this,e),this._updateRegExps()}},{key:"_updateRegExps",value:function(){var e="^"+(this.allowNegative?"[+|\\-]?":""),t=(this.scale?"("+S(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExpInput=new RegExp(e+"(0|([1-9]+\\d*))?"+t),this._numberRegExp=new RegExp(e+"\\d*"+t),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(S).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(S(this.thousandsSeparator),"g")}},{key:"_removeThousandsSeparators",value:function(e){return e.replace(this._thousandsSeparatorRegExp,"")}},{key:"_insertThousandsSeparators",value:function(e){var t=e.split(this.radix);return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),t.join(this.radix)}},{key:"doPrepare",value:function(e){for(var n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(n=p(l(t.prototype),"doPrepare",this)).call.apply(n,[this,this._removeThousandsSeparators(e.replace(this._mapToRadixRegExp,this.radix))].concat(o))}},{key:"_separatorsCount",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=0;r<e;++r)this._value.indexOf(this.thousandsSeparator,r)===r&&(++n,t&&(e+=this.thousandsSeparator.length));return n}},{key:"_separatorsCountFromSlice",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}},{key:"extractInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,r=arguments.length>2?arguments[2]:void 0,o=m(this._adjustRangeWithSeparators(e,n),2);return e=o[0],n=o[1],this._removeThousandsSeparators(p(l(t.prototype),"extractInput",this).call(this,e,n,r))}},{key:"_appendCharRaw",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.thousandsSeparator)return p(l(t.prototype),"_appendCharRaw",this).call(this,e,n);var r=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,o=this._separatorsCountFromSlice(r);this._value=this._removeThousandsSeparators(this.value);var i=p(l(t.prototype),"_appendCharRaw",this).call(this,e,n);this._value=this._insertThousandsSeparators(this._value);var a=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,s=this._separatorsCountFromSlice(a);return i.tailShift+=(s-o)*this.thousandsSeparator.length,i.skip=!i.rawInserted&&e===this.thousandsSeparator,i}},{key:"_findSeparatorAround",value:function(e){if(this.thousandsSeparator){var t=e-this.thousandsSeparator.length+1,n=this.value.indexOf(this.thousandsSeparator,t);if(n<=e)return n}return-1}},{key:"_adjustRangeWithSeparators",value:function(e,t){var n=this._findSeparatorAround(e);n>=0&&(e=n);var r=this._findSeparatorAround(t);return r>=0&&(t=r+this.thousandsSeparator.length),[e,t]}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,n=m(this._adjustRangeWithSeparators(e,t),2);e=n[0],t=n[1];var r=this.value.slice(0,e),o=this.value.slice(t),i=this._separatorsCount(r.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(r+o));var a=this._separatorsCountFromSlice(r);return new E({tailShift:(a-i)*this.thousandsSeparator.length})}},{key:"nearestInputPos",value:function(e,t){if(!this.thousandsSeparator)return e;switch(t){case y:case b:case w:var n=this._findSeparatorAround(e-1);if(n>=0){var r=n+this.thousandsSeparator.length;if(e<r||this.value.length<=r||t===w)return n}break;case x:case k:var o=this._findSeparatorAround(e);if(o>=0)return o+this.thousandsSeparator.length}return e}},{key:"doValidate",value:function(e){var n=(e.input?this._numberRegExpInput:this._numberRegExp).test(this._removeThousandsSeparators(this.value));if(n){var r=this.number;n=n&&!isNaN(r)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)}return n&&p(l(t.prototype),"doValidate",this).call(this,e)}},{key:"doCommit",value:function(){if(this.value){var e=this.number,n=e;null!=this.min&&(n=Math.max(n,this.min)),null!=this.max&&(n=Math.min(n,this.max)),n!==e&&(this.unmaskedValue=String(n));var r=this.value;this.normalizeZeros&&(r=this._normalizeZeros(r)),this.padFractionalZeros&&(r=this._padFractionalZeros(r)),this._value=r}p(l(t.prototype),"doCommit",this).call(this)}},{key:"_normalizeZeros",value:function(e){var t=this._removeThousandsSeparators(e).split(this.radix);return t[0]=t[0].replace(/^(\D*)(0*)(\d*)/,(function(e,t,n,r){return t+r})),e.length&&!/\d$/.test(t[0])&&(t[0]=t[0]+"0"),t.length>1&&(t[1]=t[1].replace(/0*$/,""),t[1].length||(t.length=1)),this._insertThousandsSeparators(t.join(this.radix))}},{key:"_padFractionalZeros",value:function(e){if(!e)return e;var t=e.split(this.radix);return t.length<2&&t.push(""),t[1]=t[1].padEnd(this.scale,"0"),t.join(this.radix)}},{key:"unmaskedValue",get:function(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,".")},set:function(e){v(l(t.prototype),"unmaskedValue",e.replace(".",this.radix),this,!0)}},{key:"typedValue",get:function(){return Number(this.unmaskedValue)},set:function(e){v(l(t.prototype),"unmaskedValue",String(e),this,!0)}},{key:"number",get:function(){return this.typedValue},set:function(e){this.typedValue=e}},{key:"allowNegative",get:function(){return this.signed||null!=this.min&&this.min<0||null!=this.max&&this.max<0}}]),t}(D);re.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:["."],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1},F.MaskedNumber=re;const oe=re;var ie=function(e){function t(){return o(this,t),d(this,l(t).apply(this,arguments))}return s(t,e),a(t,[{key:"_update",value:function(e){e.mask&&(e.validate=e.mask),p(l(t.prototype),"_update",this).call(this,e)}}]),t}(D);F.MaskedFunction=ie;const ae=ie;var se=function(e){function t(e){var n;return o(this,t),(n=d(this,l(t).call(this,Object.assign({},t.DEFAULTS,{},e)))).currentMask=null,n}return s(t,e),a(t,[{key:"_update",value:function(e){p(l(t.prototype),"_update",this).call(this,e),"mask"in e&&(this.compiledMasks=Array.isArray(e.mask)?e.mask.map((function(e){return j(e)})):[])}},{key:"_appendCharRaw",value:function(){var e,t=this._applyDispatch.apply(this,arguments);this.currentMask&&t.aggregate((e=this.currentMask)._appendChar.apply(e,arguments));return t}},{key:"_applyDispatch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.tail&&null!=t._beforeTailState?t._beforeTailState._value:this.value,r=this.rawInputValue,o=t.tail&&null!=t._beforeTailState?t._beforeTailState._rawInputValue:r,i=r.slice(o.length),a=this.currentMask,s=new E,l=a&&a.state;if(this.currentMask=this.doDispatch(e,Object.assign({},t)),this.currentMask)if(this.currentMask!==a){this.currentMask.reset();var u=this.currentMask.append(o,{raw:!0});s.tailShift=u.inserted.length-n.length,i&&(s.tailShift+=this.currentMask.append(i,{raw:!0,tail:!0}).tailShift)}else this.currentMask.state=l;return s}},{key:"_appendPlaceholder",value:function(){var e=this._applyDispatch.apply(this,arguments);return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}},{key:"doDispatch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatch(e,this,t)}},{key:"doValidate",value:function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=p(l(t.prototype),"doValidate",this)).call.apply(e,[this].concat(o))&&(!this.currentMask||(n=this.currentMask).doValidate.apply(n,o))}},{key:"reset",value:function(){this.currentMask&&this.currentMask.reset(),this.compiledMasks.forEach((function(e){return e.reset()}))}},{key:"remove",value:function(){var e,t=new E;this.currentMask&&t.aggregate((e=this.currentMask).remove.apply(e,arguments)).aggregate(this._applyDispatch());return t}},{key:"extractInput",value:function(){var e;return this.currentMask?(e=this.currentMask).extractInput.apply(e,arguments):""}},{key:"extractTail",value:function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return this.currentMask?(e=this.currentMask).extractTail.apply(e,o):(n=p(l(t.prototype),"extractTail",this)).call.apply(n,[this].concat(o))}},{key:"doCommit",value:function(){this.currentMask&&this.currentMask.doCommit(),p(l(t.prototype),"doCommit",this).call(this)}},{key:"nearestInputPos",value:function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return this.currentMask?(e=this.currentMask).nearestInputPos.apply(e,o):(n=p(l(t.prototype),"nearestInputPos",this)).call.apply(n,[this].concat(o))}},{key:"value",get:function(){return this.currentMask?this.currentMask.value:""},set:function(e){v(l(t.prototype),"value",e,this,!0)}},{key:"unmaskedValue",get:function(){return this.currentMask?this.currentMask.unmaskedValue:""},set:function(e){v(l(t.prototype),"unmaskedValue",e,this,!0)}},{key:"typedValue",get:function(){return this.currentMask?this.currentMask.typedValue:""},set:function(e){var t=String(e);this.currentMask&&(this.currentMask.typedValue=e,t=this.currentMask.unmaskedValue),this.unmaskedValue=t}},{key:"isComplete",get:function(){return!!this.currentMask&&this.currentMask.isComplete}},{key:"state",get:function(){return Object.assign({},p(l(t.prototype),"state",this),{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((function(e){return e.state})),currentMaskRef:this.currentMask,currentMask:this.currentMask&&this.currentMask.state})},set:function(e){var n=e.compiledMasks,r=e.currentMaskRef,o=e.currentMask,i=c(e,["compiledMasks","currentMaskRef","currentMask"]);this.compiledMasks.forEach((function(e,t){return e.state=n[t]})),null!=r&&(this.currentMask=r,this.currentMask.state=o),v(l(t.prototype),"state",i,this,!0)}},{key:"overwrite",get:function(){return this.currentMask?this.currentMask.overwrite:p(l(t.prototype),"overwrite",this)},set:function(e){console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings')}}]),t}(D);se.DEFAULTS={dispatch:function(e,t,n){if(t.compiledMasks.length){var r=t.rawInputValue,o=t.compiledMasks.map((function(t,o){return t.reset(),t.append(r,{raw:!0}),t.append(e,n),{weight:t.rawInputValue.length,index:o}}));return o.sort((function(e,t){return t.weight-e.weight})),t.compiledMasks[o[0].index]}}},F.MaskedDynamic=se;const le=se;var ue={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ue.MASKED,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ue.MASKED,r=j(e);return function(e){return r.runIsolated((function(r){return r[t]=e,r[n]}))}}function de(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ce.apply(void 0,n)(e)}F.PIPE_TYPE=ue,F.createPipe=ce,F.pipe=de;try{globalThis.IMask=ee}catch(pe){}const fe=ee},6398:function(e,t,n){var r;"undefined"!=typeof self&&self,r=e=>(()=>{"use strict";var t={131:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useAllInjections=t.useOptionalInjection=t.useInjection=t.useContainer=void 0;var r=n(359),o=n(838);function i(e){var t,n,i=(0,r.useContext)(o.InversifyReactContext);if(!i)throw new Error("Cannot find Inversify container on React Context. `Provider` component is missing in component tree.");return e?(t=function(){return e(i)},(n=(0,r.useRef)()).current||(n.current={v:t()}),n.current.v):i}t.useContainer=i,t.useInjection=function(e){return i((function(t){return t.get(e)}))},t.useOptionalInjection=function(e,t){return void 0===t&&(t=function(){}),i((function(n){return n.isBound(e)?n.get(e):t(n)}))},t.useAllInjections=function(e){return i((function(t){return t.getAll(e)}))}},838:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getInstanceAdministration=t.getClassAdministration=t.createProperty=t.ensureAcceptContext=t.AdministrationKey=t.InversifyReactContext=void 0;var r=(0,n(359).createContext)(void 0);t.InversifyReactContext=r,r.displayName="InversifyReactContext";var o="contextType",i="~$inversify-react";function a(e){var t=e[i];return t||(t={accepts:!1},Object.defineProperty(e,i,{enumerable:!1,writable:!1,value:t})),t}function s(e){var t=e[i];if(!t){var n=e.context;if(!n)throw new Error("Cannot use resolve services without any providers in component tree.");t={container:n,properties:{}},Object.defineProperty(e,i,{enumerable:!1,writable:!1,value:t})}return t}t.AdministrationKey=i,t.getClassAdministration=a,t.getInstanceAdministration=s,t.ensureAcceptContext=function(e){var t=a(e);if(!t.accepts){var n=e.contextType,i=e.displayName||e.name;if(n)throw new Error("inversify-react cannot configure React context.\n"+"Component `".concat(i,"` already has `").concat(o,": ").concat(n.displayName||"<anonymous context>","` defined.\n")+"@see inversify-react/test/resolve.tsx#limitations for more info and workarounds\n");Object.defineProperty(e,o,{enumerable:!0,get:function(){return r},set:function(e){if(e!==r)throw new Error("Cannot change `".concat(o,"` of `").concat(i,"` component.\n")+"Looks like you are using inversify-react decorators, which have already patched this component and use own context to deliver IoC container.\n@see inversify-react/test/resolve.tsx#limitations for more info and workarounds\n")}}),t.accepts=!0}},t.createProperty=function(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,get:function(){var e=s(this),o=e.properties[t];if(!o){var i,a=e.container;i=r.isAll?r.isOptional&&!a.isBound(n)?[]:a.getAll(n):r.isOptional?a.isBound(n)?a.get(n):r.defaultValue:a.get(n),o=e.properties[t]=function(){return i}}return o()}});var o=Object.getOwnPropertyDescriptor(e,t);if(!o)throw new Error("Failed to define property");return o}},713:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=void 0;var r=n(359),o=n(359),i=n(838),a=function(e){var t=e.children,n=e.container,a=e.standalone,s=void 0!==a&&a,l=(0,o.useState)(n)[0];if("resolve"in n&&n!==l)throw new Error("Changing `container` prop (swapping container in runtime) is not supported.\nIf you're rendering Provider in some list, try adding `key={container.id}` to the Provider.\nMore info on React lists:\nhttps://reactjs.org/docs/lists-and-keys.html#keys\nhttps://reactjs.org/docs/reconciliation.html#recursing-on-children");var u=(0,o.useState)(s)[0];if(s!==u)throw new Error("Changing `standalone` prop is not supported.");var c=(0,o.useContext)(i.InversifyReactContext);return(0,o.useState)((function(){if(!u&&c){if(c===l)throw new Error("Provider has found a parent container (on surrounding React Context), yet somehow it's the same as container specified in props. It doesn't make sense.\nPerhaps you meant to configure Provider as `standalone={true}`?");if(l.parent)throw new Error("Ambiguous containers hierarchy.\nProvider has found a parent for specified `container`, but it already has a parent.\nLearn more at https://github.com/Kukkimonsuta/inversify-react/blob/v0.5.0/src/provider.tsx");l.parent=c}})),r.createElement(i.InversifyReactContext.Provider,{value:l},t)};t.Provider=a,t.default=a},905:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.resolve=void 0;var r=n(838);function o(e,t,n,o){return(0,r.ensureAcceptContext)(e.constructor),(0,r.createProperty)(e,t,n,o)}function i(e,t){if(!t)throw new Error("Decorator `resolve` failed to resolve property name");if(!Reflect||!Reflect.getMetadata)throw new Error("Decorator `resolve` without specifying service identifier requires `reflect-metadata`");var n=Reflect.getMetadata("design:type",e,t);if(!n)throw new Error("Failed to discover property type, is `emitDecoratorMetadata` enabled?");return n}var a=function(e,t,n){if(void 0!==t)return o(e,t,i(e,t),{});var r=e;if(!r)throw new Error("Invalid property type.");return function(e,t,n){return o(e,t,r,{})}};t.resolve=a,a.optional=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if("string"==typeof e[1]&&3===e.length){var n=e[0],r=e[1];return e[2],o(n,r,i(n,r),{isOptional:!0})}var a=e[0],s=e[1];return function(e,t,n){return o(e,t,a,{isOptional:!0,defaultValue:s})}},a.all=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if("string"==typeof e[1]&&3===e.length){var n=e[0],r=e[1];return e[2],o(n,r,i(n,r),{isAll:!0})}var a=e[0];return function(e,t,n){return o(e,t,a,{isAll:!0})}},a.optional.all=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if("string"==typeof e[1]&&3===e.length){var n=e[0],r=e[1];return e[2],o(n,r,i(n,r),{isAll:!0})}var a=e[0];return function(e,t,n){return o(e,t,a,{isAll:!0,isOptional:!0})}},t.default=a},359:t=>{t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}var o={};return(()=>{var e=o;Object.defineProperty(e,"__esModule",{value:!0}),e.useOptionalInjection=e.useInjection=e.useContainer=e.useAllInjections=e.Provider=e.resolve=void 0;var t=r(905);Object.defineProperty(e,"resolve",{enumerable:!0,get:function(){return t.resolve}});var n=r(713);Object.defineProperty(e,"Provider",{enumerable:!0,get:function(){return n.Provider}});var i=r(131);Object.defineProperty(e,"useAllInjections",{enumerable:!0,get:function(){return i.useAllInjections}}),Object.defineProperty(e,"useContainer",{enumerable:!0,get:function(){return i.useContainer}}),Object.defineProperty(e,"useInjection",{enumerable:!0,get:function(){return i.useInjection}}),Object.defineProperty(e,"useOptionalInjection",{enumerable:!0,get:function(){return i.useOptionalInjection}})})(),o})(),e.exports=r(n(1914))},302:(e,t,n)=>{"use strict";var r=n(1914),o=n(8395);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function v(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),O=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),T=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=M&&e[M]||e["@@iterator"])?e:null}var N,R=Object.assign;function z(e){if(void 0===N)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var B=!1;function L(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var o=u.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function H(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=L(e.type,!1);case 11:return e=L(e.type.render,!1);case 1:return e=L(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case C:return"Profiler";case _:return"StrictMode";case A:return"Suspense";case D:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case F:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,_e=null;function Ce(e){if(e=wo(e)){if("function"!==typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function Ee(e){Se?_e?_e.push(e):_e=[e]:Se=e}function Oe(){if(Se){var e=Se,t=_e;if(_e=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Fe(e,t){return e(t)}function Ae(){}var De=!1;function Pe(e,t,n){if(De)return e(t,n);De=!0;try{return Fe(e,t,n)}finally{De=!1,(null!==Se||null!==_e)&&(Ae(),Oe())}}function Te(e,t){var n=e.stateNode;if(null===n)return null;var r=ko(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var je=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){je=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){je=!1}function Ie(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ne=!1,Re=null,ze=!1,Be=null,Le={onError:function(e){Ne=!0,Re=e}};function He(e,t,n,r,o,i,a,s,l){Ne=!1,Re=null,Ie.apply(Le,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ve(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(Ue(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var Ye=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Qe=o.unstable_requestPaint,Ze=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,kt,St,_t,Ct,Et=!1,Ot=[],Ft=null,At=null,Dt=null,Pt=new Map,Tt=new Map,jt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Ft=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Nt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Rt(e){var t=bo(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Bt(e,t,n){zt(e)&&n.delete(t)}function Lt(){Et=!1,null!==Ft&&zt(Ft)&&(Ft=null),null!==At&&zt(At)&&(At=null),null!==Dt&&zt(Dt)&&(Dt=null),Pt.forEach(Bt),Tt.forEach(Bt)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Lt)))}function Ut(e){function t(t){return Ht(t,e)}if(0<Ot.length){Ht(Ot[0],e);for(var n=1;n<Ot.length;n++){var r=Ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ft&&Ht(Ft,e),null!==At&&Ht(At,e),null!==Dt&&Ht(Dt,e),Pt.forEach(t),Tt.forEach(t),n=0;n<jt.length;n++)(r=jt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<jt.length&&null===(n=jt[0]).blockedOn;)Rt(n),null===n.blockedOn&&jt.shift()}var Vt=w.ReactCurrentBatchConfig,qt=!0;function Wt(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=1,Yt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function $t(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=4,Yt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function Yt(e,t,n,r){if(qt){var o=Kt(e,t,n,r);if(null===o)qr(e,t,r,Gt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Ft=Nt(Ft,e,t,n,r,o),!0;case"dragenter":return At=Nt(At,e,t,n,r,o),!0;case"mouseover":return Dt=Nt(Dt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Pt.set(i,Nt(Pt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Tt.set(i,Nt(Tt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&xt(i),null===(i=Kt(e,t,n,r))&&qr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Gt=null;function Kt(e,t,n,r){if(Gt=null,null!==(e=bo(e=xe(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=R({},un,{view:0,detail:0}),fn=on(dn),pn=R({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),vn=on(R({},pn,{dataTransfer:0})),mn=on(R({},dn,{relatedTarget:0})),gn=on(R({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=R({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(R({},un,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return _n}var En=R({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=on(En),Fn=on(R({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=on(R({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Dn=on(R({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=R({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tn=on(Pn),jn=[9,13,27,32],Mn=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Nn=c&&"TextEvent"in window&&!In,Rn=c&&(!Mn||In&&8<In&&11>=In),zn=String.fromCharCode(32),Bn=!1;function Ln(e,t){switch(e){case"keyup":return-1!==jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ee(r),0<(t=$r(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Yn=null;function Gn(e){zr(e,0)}function Kn(e){if(Y(xo(e)))return e}function Qn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Yn=$n=null)}function nr(e){if("value"===e.propertyName&&Kn(Yn)){var t=[];Wn(t,Yn,e,xe(e)),Pe(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Yn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Yn)}function ir(e,t){if("click"===e)return Kn(t)}function ar(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==G(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=$r(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},_r={};function Cr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return Sr[e]=n[t];return e}c&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Er=Cr("animationend"),Or=Cr("animationiteration"),Fr=Cr("animationstart"),Ar=Cr("transitionend"),Dr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tr(e,t){Dr.set(e,t),l(t,[e])}for(var jr=0;jr<Pr.length;jr++){var Mr=Pr[jr];Tr(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Tr(Er,"onAnimationEnd"),Tr(Or,"onAnimationIteration"),Tr(Fr,"onAnimationStart"),Tr("dblclick","onDoubleClick"),Tr("focusin","onFocus"),Tr("focusout","onBlur"),Tr(Ar,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Rr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,u){if(He.apply(this,arguments),Ne){if(!Ne)throw Error(i(198));var c=Re;Ne=!1,Re=null,ze||(ze=!0,Be=c)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Rr(o,s,u),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Rr(o,s,u),i=l}}}if(ze)throw e=Be,ze=!1,Be=null,e}function Br(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function Lr(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Hr]){e[Hr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Nr.has(t)||Lr(t,!1,e),Lr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Lr("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Qt(t)){case 1:var o=Wt;break;case 4:o=$t;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!je||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=i,o=xe(n),a=[];e:{var s=Dr.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=On;break;case"focusin":u="focus",l=mn;break;case"focusout":u="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=An;break;case Er:case Or:case Fr:l=gn;break;case Ar:l=Dn;break;case"scroll":l=fn;break;case"wheel":l=Tn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Fn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==f&&(null!=(v=Te(h,f))&&c.push(Wr(h,v,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[vo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,v="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Fn,v="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:xo(l),p=null==u?s:xo(u),(s=new c(v,h+"leave",l,n,o)).target=d,s.relatedTarget=p,v=null,bo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,v=c),d=v,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Yr(p))h++;for(p=0,v=f;v;v=Yr(v))p++;for(;0<h-p;)c=Yr(c),h--;for(;0<p-h;)f=Yr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Yr(c),f=Yr(f)}c=null}else c=null;null!==l&&Gr(a,s,l,c,!1),null!==u&&null!==d&&Gr(a,d,u,c,!0)}if("select"===(l=(s=r?xo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Qn;else if(qn(s))if(Zn)m=ar;else{m=or;var g=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ir);switch(m&&(m=m(e,r))?Wn(a,m,n,o):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?xo(r):window,e){case"focusin":(qn(g)||"true"===g.contentEditable)&&(mr=g,gr=r,yr=null);break;case"focusout":yr=gr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(a,n,o)}var y;if(Mn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Un?Ln(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Rn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(y=en()):(Xt="value"in(Zt=o)?Zt.value:Zt.textContent,Un=!0)),0<(g=$r(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Hn(n))&&(b.data=y))),(y=Nn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Bn=!0,zn);case"textInput":return(e=t.data)===zn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Mn&&Ln(e,t)?(e=en(),Jt=Xt=Zt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}zr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Te(e,n))&&r.unshift(Wr(e,i,o)),null!=(i=Te(e,t))&&r.push(Wr(e,i,o))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Te(n,i))&&a.unshift(Wr(n,l,s)):o||null!=(l=Te(n,i))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Zr(e){return("string"===typeof e?e:""+e).replace(Kr,"\n").replace(Qr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ut(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,vo="__reactContainer$"+fo,mo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[vo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ko(e){return e[ho]||null}var So=[],_o=-1;function Co(e){return{current:e}}function Eo(e){0>_o||(e.current=So[_o],So[_o]=null,_o--)}function Oo(e,t){_o++,So[_o]=e.current,e.current=t}var Fo={},Ao=Co(Fo),Do=Co(!1),Po=Fo;function To(e,t){var n=e.type.contextTypes;if(!n)return Fo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function jo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Mo(){Eo(Do),Eo(Ao)}function Io(e,t,n){if(Ao.current!==Fo)throw Error(i(168));Oo(Ao,t),Oo(Do,n)}function No(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,V(e)||"Unknown",o));return R({},n,r)}function Ro(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fo,Po=Ao.current,Oo(Ao,e),Oo(Do,Do.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=No(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,Eo(Do),Eo(Ao),Oo(Ao,e)):Eo(Do),Oo(Do,n)}var Bo=null,Lo=!1,Ho=!1;function Uo(e){null===Bo?Bo=[e]:Bo.push(e)}function Vo(){if(!Ho&&null!==Bo){Ho=!0;var e=0,t=bt;try{var n=Bo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bo=null,Lo=!1}catch(o){throw null!==Bo&&(Bo=Bo.slice(e+1)),Ye(Je,Vo),o}finally{bt=t,Ho=!1}}return null}var qo=[],Wo=0,$o=null,Yo=0,Go=[],Ko=0,Qo=null,Zo=1,Xo="";function Jo(e,t){qo[Wo++]=Yo,qo[Wo++]=$o,$o=e,Yo=t}function ei(e,t,n){Go[Ko++]=Zo,Go[Ko++]=Xo,Go[Ko++]=Qo,Qo=e;var r=Zo;e=Xo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Zo=1<<32-at(t)+o|n<<o|r,Xo=i+e}else Zo=1<<i|n<<o|r,Xo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===$o;)$o=qo[--Wo],qo[Wo]=null,Yo=qo[--Wo],qo[Wo]=null;for(;e===Qo;)Qo=Go[--Ko],Go[Ko]=null,Xo=Go[--Ko],Go[Ko]=null,Zo=Go[--Ko],Go[Ko]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Tu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qo?{id:Zo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Tu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(i(418));for(;t;)si(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function vi(e){null===ai?ai=[e]:ai.push(e)}var mi=w.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Co(null),bi=null,wi=null,xi=null;function ki(){xi=wi=bi=null}function Si(e){var t=yi.current;Eo(yi),e._currentValue=t}function _i(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ci(e,t){bi=e,xi=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ws=!0),e.firstContext=null)}function Ei(e){var t=e._currentValue;if(xi!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===bi)throw Error(i(308));wi=e,bi.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var Oi=null;function Fi(e){null===Oi?Oi=[e]:Oi.push(e)}function Ai(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Fi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Di(e,r)}function Di(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pi=!1;function Ti(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ji(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Al)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Di(e,n)}return null===(o=r.interleaved)?(t.next=t,Fi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Di(e,n)}function Ni(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Ri(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zi(e,t,n,r){var o=e.updateQueue;Pi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,v=s;switch(f=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=v.payload)?h.call(p,d,f):h)||void 0===f)break e;d=R({},d,f);break e;case 2:Pi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Rl|=a,e.lanes=a,e.memoizedState=d}}function Bi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Li=(new r.Component).refs;function Hi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ui={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Mi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(ru(t,e,o,r),Ni(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Mi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(ru(t,e,o,r),Ni(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Mi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ii(e,o,r))&&(ru(t,e,r,n),Ni(t,e,r))}};function Vi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function qi(e,t,n){var r=!1,o=Fo,i=t.contextType;return"object"===typeof i&&null!==i?i=Ei(i):(o=jo(t)?Po:Ao.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?To(e,o):Fo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ui,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Wi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ui.enqueueReplaceState(t,t.state,null)}function $i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Li,Ti(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Ei(i):(i=jo(t)?Po:Ao.current,o.context=To(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Hi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ui.enqueueReplaceState(o,o.state,null),zi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Yi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Li&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ki(e){return(0,e._init)(e._payload)}function Qi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Mu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=zu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===T&&Ki(i)===t.type)?((r=o(t,n.props)).ref=Yi(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Yi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Nu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=zu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Yi(e,null,t),n.return=e,n;case k:return(t=Bu(t,e.mode,n)).return=e,t;case T:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Nu(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?u(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case T:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Gi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case T:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Gi(t,r)}return null}function v(o,i,s,l){for(var u=null,c=null,d=i,v=i=0,m=null;null!==d&&v<s.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var g=p(o,d,s[v],l);if(null===g){null===d&&(d=m);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,v),null===c?u=g:c.sibling=g,c=g,d=m}if(v===s.length)return n(o,d),ii&&Jo(o,v),u;if(null===d){for(;v<s.length;v++)null!==(d=f(o,s[v],l))&&(i=a(d,i,v),null===c?u=d:c.sibling=d,c=d);return ii&&Jo(o,v),u}for(d=r(o,d);v<s.length;v++)null!==(m=h(d,o,v,s[v],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),i=a(m,i,v),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),u}function m(o,s,l,u){var c=I(l);if("function"!==typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var d=c=null,v=s,m=s=0,g=null,y=l.next();null!==v&&!y.done;m++,y=l.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=p(o,v,y.value,u);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(o,v),s=a(b,s,m),null===d?c=b:d.sibling=b,d=b,v=g}if(y.done)return n(o,v),ii&&Jo(o,m),c;if(null===v){for(;!y.done;m++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,m),null===d?c=y:d.sibling=y,d=y);return ii&&Jo(o,m),c}for(v=r(o,v);!y.done;m++,y=l.next())null!==(y=h(v,o,m,y.value,u))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),s=a(y,s,m),null===d?c=y:d.sibling=y,d=y);return e&&v.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),c}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===S){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===T&&Ki(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Yi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===S?((i=Nu(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Iu(a.type,a.key,a.props,null,r.mode,l)).ref=Yi(r,i,a),l.return=r,r=l)}return s(r);case k:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Bu(a,r.mode,l)).return=r,r=i}return s(r);case T:return e(r,i,(c=a._init)(a._payload),l)}if(te(a))return v(r,i,a,l);if(I(a))return m(r,i,a,l);Gi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=zu(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Zi=Qi(!0),Xi=Qi(!1),Ji={},ea=Co(Ji),ta=Co(Ji),na=Co(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Oo(na,t),Oo(ta,e),Oo(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Eo(ea),Oo(ea,t)}function ia(){Eo(ea),Eo(ta),Eo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Oo(ta,e),Oo(ea,n))}function sa(e){ta.current===e&&(Eo(ea),Eo(ta))}var la=Co(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function da(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var fa=w.ReactCurrentDispatcher,pa=w.ReactCurrentBatchConfig,ha=0,va=null,ma=null,ga=null,ya=!1,ba=!1,wa=0,xa=0;function ka(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function _a(e,t,n,r,o,a){if(ha=a,va=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(i(301));a+=1,ga=ma=null,t.updateQueue=null,fa.current=us,e=n(r,o)}while(ba)}if(fa.current=as,t=null!==ma&&null!==ma.next,ha=0,ga=ma=va=null,ya=!1,t)throw Error(i(300));return e}function Ca(){var e=0!==wa;return wa=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?va.memoizedState=ga=e:ga=ga.next=e,ga}function Oa(){if(null===ma){var e=va.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ga?va.memoizedState:ga.next;if(null!==t)ga=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ga?va.memoizedState=ga=e:ga=ga.next=e}return ga}function Fa(e,t){return"function"===typeof t?t(e):t}function Aa(e){var t=Oa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ma,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,u=null,c=a;do{var d=c.lane;if((ha&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,va.lanes|=d,Rl|=d}c=c.next}while(null!==c&&c!==a);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,va.lanes|=a,Rl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Da(e){var t=Oa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(ws=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Pa(){}function Ta(e,t){var n=va,r=Oa(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,ws=!0),r=r.queue,qa(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Ba(9,Ma.bind(null,n,r,o,t),void 0,null),null===Dl)throw Error(i(349));0!==(30&ha)||ja(n,t,o)}return o}function ja(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ma(e,t,n,r){t.value=n,t.getSnapshot=r,Na(t)&&Ra(e)}function Ia(e,t,n){return n((function(){Na(t)&&Ra(e)}))}function Na(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ra(e){var t=Di(e,1);null!==t&&ru(t,e,1,-1)}function za(e){var t=Ea();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Fa,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,va,e),[t.memoizedState,e]}function Ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function La(){return Oa().memoizedState}function Ha(e,t,n,r){var o=Ea();va.flags|=e,o.memoizedState=Ba(1|t,n,void 0,void 0===r?null:r)}function Ua(e,t,n,r){var o=Oa();r=void 0===r?null:r;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Ba(t,n,i,r))}va.flags|=e,o.memoizedState=Ba(1|t,n,i,r)}function Va(e,t){return Ha(8390656,8,e,t)}function qa(e,t){return Ua(2048,8,e,t)}function Wa(e,t){return Ua(4,2,e,t)}function $a(e,t){return Ua(4,4,e,t)}function Ya(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ga(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ua(4,4,Ya.bind(null,t,e),n)}function Ka(){}function Qa(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Za(e,t){var n=Oa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xa(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n):(sr(n,t)||(n=vt(),va.lanes|=n,Rl|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function es(){return Oa().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=Ai(e,t,n,r))){ru(n,e,r,tu()),is(n,t,r)}}function ns(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Fi(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Ai(e,t,o,r))&&(ru(n,e,r,o=tu()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===va||null!==t&&t===va}function os(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var as={readContext:Ei,useCallback:ka,useContext:ka,useEffect:ka,useImperativeHandle:ka,useInsertionEffect:ka,useLayoutEffect:ka,useMemo:ka,useReducer:ka,useRef:ka,useState:ka,useDebugValue:ka,useDeferredValue:ka,useTransition:ka,useMutableSource:ka,useSyncExternalStore:ka,useId:ka,unstable_isNewReconciler:!1},ss={readContext:Ei,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Ei,useEffect:Va,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ha(4194308,4,Ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ha(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ha(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,va,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:za,useDebugValue:Ka,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=Ja.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=va,o=Ea();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Dl)throw Error(i(349));0!==(30&ha)||ja(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Va(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Ba(9,Ma.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=Dl.identifierPrefix;if(ii){var n=Xo;t=":"+t+"R"+(n=(Zo&~(1<<32-at(Zo)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Ei,useCallback:Qa,useContext:Ei,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Wa,useLayoutEffect:$a,useMemo:Za,useReducer:Aa,useRef:La,useState:function(){return Aa(Fa)},useDebugValue:Ka,useDeferredValue:function(e){return Xa(Oa(),ma.memoizedState,e)},useTransition:function(){return[Aa(Fa)[0],Oa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Ta,useId:es,unstable_isNewReconciler:!1},us={readContext:Ei,useCallback:Qa,useContext:Ei,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Wa,useLayoutEffect:$a,useMemo:Za,useReducer:Da,useRef:La,useState:function(){return Da(Fa)},useDebugValue:Ka,useDeferredValue:function(e){var t=Oa();return null===ma?t.memoizedState=e:Xa(t,ma.memoizedState,e)},useTransition:function(){return[Da(Fa)[0],Oa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Ta,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Mi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,$l=r),fs(0,t)},n}function vs(e,t,n){(n=Mi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!==typeof r&&(null===Yl?Yl=new Set([this]):Yl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Mi(-1,1)).tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bs=w.ReactCurrentOwner,ws=!1;function xs(e,t,n,r){t.child=null===e?Xi(t,null,n,r):Zi(t,e.child,n,r)}function ks(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=_a(e,t,n,r,i,o),n=Ca(),null===e||ws?(ii&&n&&ti(t),t.flags|=1,xs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||ju(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,_s(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Ws(e,t,o)}return t.flags|=1,(e=Mu(i,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Ws(e,t,o);0!==(131072&e.flags)&&(ws=!0)}}return Os(e,t,n,r,o)}function Cs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oo(Ml,jl),jl|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oo(Ml,jl),jl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Oo(Ml,jl),jl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Oo(Ml,jl),jl|=r;return xs(e,t,o,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,r,o){var i=jo(n)?Po:Ao.current;return i=To(t,i),Ci(t,o),n=_a(e,t,n,r,i,o),r=Ca(),null===e||ws?(ii&&r&&ti(t),t.flags|=1,xs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function Fs(e,t,n,r,o){if(jo(n)){var i=!0;Ro(t)}else i=!1;if(Ci(t,o),null===t.stateNode)qs(e,t),qi(t,n,r),$i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Ei(u):u=To(t,u=jo(n)?Po:Ao.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==u)&&Wi(t,a,r,u),Pi=!1;var f=t.memoizedState;a.state=f,zi(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Do.current||Pi?("function"===typeof c&&(Hi(t,n,c,r),l=t.memoizedState),(s=Pi||Vi(t,n,s,r,f,l,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ji(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:gi(t.type,s),a.props=u,d=t.pendingProps,f=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Ei(l):l=To(t,l=jo(n)?Po:Ao.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==l)&&Wi(t,a,r,l),Pi=!1,f=t.memoizedState,a.state=f,zi(t,r,a,o);var h=t.memoizedState;s!==d||f!==h||Do.current||Pi?("function"===typeof p&&(Hi(t,n,p,r),h=t.memoizedState),(u=Pi||Vi(t,n,u,r,f,h,l)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return As(e,t,n,r,i,o)}function As(e,t,n,r,o,i){Es(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),Ws(e,t,i);r=t.stateNode,bs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Zi(t,e.child,null,i),t.child=Zi(t,null,s,i)):xs(e,t,s,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function Ds(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oa(e,t.containerInfo)}function Ps(e,t,n,r,o){return hi(),vi(o),t.flags|=256,xs(e,t,n,r),t.child}var Ts,js,Ms,Is,Ns={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function zs(e,t,n){var r,o=t.pendingProps,a=la.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Oo(la,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Ru(l,o,0,null),e=Nu(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=Ns,e):Bs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ls(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Ru({mode:"visible",children:r.children},o,0,null),(a=Nu(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Zi(t,e.child,null,s),t.child.memoizedState=Rs(s),t.memoizedState=Ns,a);if(0===(1&t.mode))return Ls(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Ls(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(l=0!==(s&e.childLanes),ws||l){if(null!==(r=Dl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Di(e,o),ru(r,e,o,-1))}return mu(),Ls(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Fu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[Ko++]=Zo,Go[Ko++]=Xo,Go[Ko++]=Qo,Zo=e.id,Xo=e.overflow,Qo=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Mu(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Mu(r,s):(s=Nu(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Rs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ns,o}return e=(s=e.child).sibling,o=Mu(s,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Bs(e,t){return(t=Ru({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ls(e,t,n,r){return null!==r&&vi(r),Zi(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),_i(e.return,t,n)}function Us(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Vs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xs(e,t,r.children,n),0!==(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hs(e,n,t);else if(19===e.tag)Hs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oo(la,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Us(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Us(t,!0,n,null,i);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Mu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $s(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ys(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ys(t),null;case 1:case 17:return jo(t.type)&&Mo(),Ys(t),null;case 3:return r=t.stateNode,ia(),Eo(Do),Eo(Ao),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(su(ai),ai=null))),js(e,t),Ys(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Ms(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ys(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Br(Ir[o],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Q(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":oe(r,a),Br("invalid",r)}for(var l in ye(n,a),o=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"===typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":$(r),J(r,a,!0);break;case"textarea":$(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Ts(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Br("cancel",e),Br("close",e),o=r;break;case"iframe":case"object":case"embed":Br("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Br(Ir[o],e);o=r;break;case"source":Br("error",e),o=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),o=r;break;case"details":Br("toggle",e),o=r;break;case"input":Q(e,r),o=K(e,r),Br("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=R({},r,{value:void 0}),Br("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Br("invalid",e)}for(a in ye(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Br("scroll",e):null!=c&&b(e,a,c,l))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ys(t),null;case 6:if(e&&null!=t.stateNode)Is(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ys(t),null;case 13:if(Eo(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ys(t),a=!1}else null!==ai&&(su(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&la.current)?0===Il&&(Il=3):mu())),null!==t.updateQueue&&(t.flags|=4),Ys(t),null);case 4:return ia(),js(e,t),null===e&&Ur(t.stateNode.containerInfo),Ys(t),null;case 10:return Si(t.type._context),Ys(t),null;case 19:if(Eo(la),null===(a=t.memoizedState))return Ys(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)$s(a,!1);else{if(0!==Il||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ua(e))){for(t.flags|=128,$s(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oo(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Vl&&(t.flags|=128,r=!0,$s(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),$s(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ys(t),null}else 2*Ze()-a.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=128,r=!0,$s(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=la.current,Oo(la,r?1&n|2:1&n),t):(Ys(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&jl)&&(Ys(t),6&t.subtreeFlags&&(t.flags|=8192)):Ys(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ks(e,t){switch(ni(t),t.tag){case 1:return jo(t.type)&&Mo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Eo(Do),Eo(Ao),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(Eo(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(la),null;case 4:return ia(),null;case 10:return Si(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ts=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},js=function(){},Ms=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=K(e,o),r=K(e,r),a=[];break;case"select":o=R({},o,{value:void 0}),r=R({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Br("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Is=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qs=!1,Zs=!1,Xs="function"===typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Cu(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Cu(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[mo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Zs||el(n,t);case 6:var r=dl,o=fl;dl=null,pl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Ut(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Zs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Zs&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Cu(n,t,s)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,pl(e,t,n),Zs=r):pl(e,t,n);break;default:pl(e,t,n)}}function vl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(i(160));hl(a,s,o),dl=null,fl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){Cu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),yl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(m){Cu(e,e.return,m)}try{rl(5,e,e.return)}catch(m){Cu(e,e.return,m)}}break;case 1:ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(m){Cu(e,e.return,m)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&Z(o,a),be(l,s);var c=be(l,a);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?me(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(l){case"input":X(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(m){Cu(e,e.return,m)}}break;case 6:if(ml(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(m){Cu(e,e.return,m)}}break;case 3:if(ml(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(m){Cu(e,e.return,m)}break;case 4:default:ml(t,e),yl(e);break;case 13:ml(t,e),yl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Ul=Ze())),4&r&&vl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zs=(c=Zs)||d,ml(t,e),Zs=c):ml(t,e),yl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var v=p.stateNode;if("function"===typeof v.componentWillUnmount){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Cu(r,n,m)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){kl(f);continue}}null!==h?(h.return=p,Js=h):kl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,l.style.display=ve("display",s))}catch(m){Cu(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(m){Cu(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),yl(e),4&r&&vl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ul(e,ll(e),a);break;default:throw Error(i(161))}}catch(s){Cu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Js=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!==(1&e.mode);null!==Js;){var o=Js,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Qs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Qs;var u=Zs;if(Qs=a,(Zs=l)&&!u)for(Js=o;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?Sl(o):null!==l?(l.return=a,Js=l):Sl(o);for(;null!==i;)Js=i,wl(i,t,n),i=i.sibling;Js=o,Qs=s,Zs=u}xl(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Js=i):xl(e)}}function xl(e){for(;null!==Js;){var t=Js;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zs||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Bi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(i(163))}Zs||512&t.flags&&il(t)}catch(p){Cu(t,t.return,p)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function kl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Sl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){Cu(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Cu(t,o,l)}}var i=t.return;try{il(t)}catch(l){Cu(t,i,l)}break;case 5:var a=t.return;try{il(t)}catch(l){Cu(t,a,l)}}}catch(l){Cu(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var _l,Cl=Math.ceil,El=w.ReactCurrentDispatcher,Ol=w.ReactCurrentOwner,Fl=w.ReactCurrentBatchConfig,Al=0,Dl=null,Pl=null,Tl=0,jl=0,Ml=Co(0),Il=0,Nl=null,Rl=0,zl=0,Bl=0,Ll=null,Hl=null,Ul=0,Vl=1/0,ql=null,Wl=!1,$l=null,Yl=null,Gl=!1,Kl=null,Ql=0,Zl=0,Xl=null,Jl=-1,eu=0;function tu(){return 0!==(6&Al)?Ze():-1!==Jl?Jl:Jl=Ze()}function nu(e){return 0===(1&e.mode)?1:0!==(2&Al)&&0!==Tl?Tl&-Tl:null!==mi.transition?(0===eu&&(eu=vt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function ru(e,t,n,r){if(50<Zl)throw Zl=0,Xl=null,Error(i(185));gt(e,n,r),0!==(2&Al)&&e===Dl||(e===Dl&&(0===(2&Al)&&(zl|=n),4===Il&&lu(e,Tl)),ou(e,r),1===n&&0===Al&&0===(1&t.mode)&&(Vl=Ze()+500,Lo&&Vo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Dl?Tl:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Lo=!0,Uo(e)}(uu.bind(null,e)):Uo(uu.bind(null,e)),ao((function(){0===(6&Al)&&Vo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Du(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if(Jl=-1,eu=0,0!==(6&Al))throw Error(i(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===Dl?Tl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var o=Al;Al|=2;var a=vu();for(Dl===e&&Tl===t||(ql=null,Vl=Ze()+500,pu(e,t));;)try{bu();break}catch(l){hu(e,l)}ki(),El.current=a,Al=o,null!==Pl?t=0:(Dl=null,Tl=0,t=Il)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=au(e,o))),1===t)throw n=Nl,pu(e,0),lu(e,r),ou(e,Ze()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gu(e,r))&&(0!==(a=ht(e))&&(r=a,t=au(e,a))),1===t))throw n=Nl,pu(e,0),lu(e,r),ou(e,Ze()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ku(e,Hl,ql);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Ul+500-Ze())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(ku.bind(null,e,Hl,ql),t);break}ku(e,Hl,ql);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ro(ku.bind(null,e,Hl,ql),r);break}ku(e,Hl,ql);break;default:throw Error(i(329))}}}return ou(e,Ze()),e.callbackNode===n?iu.bind(null,e):null}function au(e,t){var n=Ll;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Hl,Hl=n,null!==t&&su(t)),e}function su(e){null===Hl?Hl=e:Hl.push.apply(Hl,e)}function lu(e,t){for(t&=~Bl,t&=~zl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!==(6&Al))throw Error(i(327));Su();var t=ft(e,0);if(0===(1&t))return ou(e,Ze()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Nl,pu(e,0),lu(e,t),ou(e,Ze()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Hl,ql),ou(e,Ze()),null}function cu(e,t){var n=Al;Al|=1;try{return e(t)}finally{0===(Al=n)&&(Vl=Ze()+500,Lo&&Vo())}}function du(e){null!==Kl&&0===Kl.tag&&0===(6&Al)&&Su();var t=Al;Al|=1;var n=Fl.transition,r=bt;try{if(Fl.transition=null,bt=1,e)return e()}finally{bt=r,Fl.transition=n,0===(6&(Al=t))&&Vo()}}function fu(){jl=Ml.current,Eo(Ml)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Mo();break;case 3:ia(),Eo(Do),Eo(Ao),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:Eo(la);break;case 10:Si(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Dl=e,Pl=e=Mu(e.current,null),Tl=jl=t,Il=0,Nl=null,Bl=zl=Rl=0,Hl=Ll=null,null!==Oi){for(t=0;t<Oi.length;t++)if(null!==(r=(n=Oi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Oi=null}return e}function hu(e,t){for(;;){var n=Pl;try{if(ki(),fa.current=as,ya){for(var r=va.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(ha=0,ga=ma=va=null,ba=!1,wa=0,Ol.current=null,null===n||null===n.return){Il=1,Nl=t,Pl=null;break}e:{var a=e,s=n.return,l=n,u=t;if(t=Tl,l.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,ys(h,s,l,0,t),1&h.mode&&ms(a,c,t),u=c;var v=(t=h).updateQueue;if(null===v){var m=new Set;m.add(u),t.updateQueue=m}else v.add(u);break e}if(0===(1&t)){ms(a,c,t),mu();break e}u=Error(i(426))}else if(ii&&1&l.mode){var g=gs(s);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),ys(g,s,l,0,t),vi(cs(u,l));break e}}a=u=cs(u,l),4!==Il&&(Il=2),null===Ll?Ll=[a]:Ll.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ri(a,hs(0,u,t));break e;case 1:l=u;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Yl||!Yl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ri(a,vs(a,l,t));break e}}a=a.return}while(null!==a)}xu(n)}catch(w){t=w,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function vu(){var e=El.current;return El.current=as,null===e?as:e}function mu(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===Dl||0===(268435455&Rl)&&0===(268435455&zl)||lu(Dl,Tl)}function gu(e,t){var n=Al;Al|=2;var r=vu();for(Dl===e&&Tl===t||(ql=null,pu(e,t));;)try{yu();break}catch(o){hu(e,o)}if(ki(),Al=n,El.current=r,null!==Pl)throw Error(i(261));return Dl=null,Tl=0,Il}function yu(){for(;null!==Pl;)wu(Pl)}function bu(){for(;null!==Pl&&!Ke();)wu(Pl)}function wu(e){var t=_l(e.alternate,e,jl);e.memoizedProps=e.pendingProps,null===t?xu(e):Pl=t,Ol.current=null}function xu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Gs(n,t,jl)))return void(Pl=n)}else{if(null!==(n=Ks(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Il=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Il&&(Il=5)}function ku(e,t,n){var r=bt,o=Fl.transition;try{Fl.transition=null,bt=1,function(e,t,n,r){do{Su()}while(null!==Kl);if(0!==(6&Al))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Dl&&(Pl=Dl=null,Tl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Gl||(Gl=!0,Du(tt,(function(){return Su(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Fl.transition,Fl.transition=null;var s=bt;bt=1;var l=Al;Al|=4,Ol.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(x){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(l=s),p===a&&++d===r&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var v=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:gi(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(x){Cu(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}v=nl,nl=!1}(e,n),gl(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,bl(n,e,o),Qe(),Al=l,bt=s,Fl.transition=a}else e.current=n;if(Gl&&(Gl=!1,Kl=e,Ql=o),a=e.pendingLanes,0===a&&(Yl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ou(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Wl)throw Wl=!1,e=$l,$l=null,e;0!==(1&Ql)&&0!==e.tag&&Su(),a=e.pendingLanes,0!==(1&a)?e===Xl?Zl++:(Zl=0,Xl=e):Zl=0,Vo()}(e,t,n,r)}finally{Fl.transition=o,bt=r}return null}function Su(){if(null!==Kl){var e=wt(Ql),t=Fl.transition,n=bt;try{if(Fl.transition=null,bt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Ql=0,0!==(6&Al))throw Error(i(331));var o=Al;for(Al|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!==(16&Js.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(al(d),d===c){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var v=a.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Js=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!==(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Js=y;break e}Js=a.return}}var b=e.current;for(Js=b;null!==Js;){var w=(s=Js).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Js=w;else e:for(s=b;null!==Js;){if(0!==(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(k){Cu(l,l.return,k)}if(l===s){Js=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Js=x;break e}Js=l.return}}if(Al=o,Vo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(k){}r=!0}return r}finally{bt=n,Fl.transition=t}}return!1}function _u(e,t,n){e=Ii(e,t=hs(0,t=cs(n,t),1),1),t=tu(),null!==e&&(gt(e,1,t),ou(e,t))}function Cu(e,t,n){if(3===e.tag)_u(e,e,n);else for(;null!==t;){if(3===t.tag){_u(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Yl||!Yl.has(r))){t=Ii(t,e=vs(t,e=cs(n,e),1),1),e=tu(),null!==t&&(gt(t,1,e),ou(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Tl&n)===n&&(4===Il||3===Il&&(130023424&Tl)===Tl&&500>Ze()-Ul?pu(e,0):Bl|=n),ou(e,t)}function Ou(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Di(e,t))&&(gt(e,t,n),ou(e,n))}function Fu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ou(e,n)}function Au(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Ou(e,n)}function Du(e,t){return Ye(e,t)}function Pu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tu(e,t,n,r){return new Pu(e,t,n,r)}function ju(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mu(e,t){var n=e.alternate;return null===n?((n=Tu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)ju(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case S:return Nu(n.children,o,a,t);case _:s=8,o|=8;break;case C:return(e=Tu(12,n,t,2|o)).elementType=C,e.lanes=a,e;case A:return(e=Tu(13,n,t,o)).elementType=A,e.lanes=a,e;case D:return(e=Tu(19,n,t,o)).elementType=D,e.lanes=a,e;case j:return Ru(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case O:s=9;break e;case F:s=11;break e;case P:s=14;break e;case T:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Tu(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Nu(e,t,n,r){return(e=Tu(7,e,r,t)).lanes=n,e}function Ru(e,t,n,r){return(e=Tu(22,e,r,t)).elementType=j,e.lanes=n,e.stateNode={isHidden:!1},e}function zu(e,t,n){return(e=Tu(6,e,null,t)).lanes=n,e}function Bu(e,t,n){return(t=Tu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Hu(e,t,n,r,o,i,a,s,l){return e=new Lu(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Tu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ti(i),e}function Uu(e){if(!e)return Fo;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(jo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(jo(n))return No(e,n,t)}return t}function Vu(e,t,n,r,o,i,a,s,l){return(e=Hu(n,r,!0,e,0,i,0,s,l)).context=Uu(null),n=e.current,(i=Mi(r=tu(),o=nu(n))).callback=void 0!==t&&null!==t?t:null,Ii(n,i,o),e.current.lanes=o,gt(e,o,r),ou(e,r),e}function qu(e,t,n,r){var o=t.current,i=tu(),a=nu(o);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ii(o,t,a))&&(ru(e,o,a,i),Ni(e,o,a)),a}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $u(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yu(e,t){$u(e,t),(e=e.alternate)&&$u(e,t)}_l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Do.current)ws=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:Ds(t),hi();break;case 5:aa(t);break;case 1:jo(t.type)&&Ro(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Oo(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oo(la,1&la.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zs(e,t,n):(Oo(la,1&la.current),null!==(e=Ws(e,t,n))?e.sibling:null);Oo(la,1&la.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Vs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Oo(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Ws(e,t,n)}(e,t,n);ws=0!==(131072&e.flags)}else ws=!1,ii&&0!==(1048576&t.flags)&&ei(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var o=To(t,Ao.current);Ci(t,n),o=_a(null,t,r,e,o,n);var a=Ca();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jo(r)?(a=!0,Ro(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ti(t),o.updater=Ui,t.stateNode=o,o._reactInternals=t,$i(t,r,e,n),t=As(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),xs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return ju(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===F)return 11;if(e===P)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Os(null,t,r,e,n);break e;case 1:t=Fs(null,t,r,e,n);break e;case 11:t=ks(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Os(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Fs(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(Ds(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,ji(e,t),zi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ps(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=Ps(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Xi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Ws(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Es(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&ci(t),null;case 13:return zs(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zi(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ks(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Oo(yi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Do.current){t=Ws(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Mi(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),_i(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),_i(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=Ei(o)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),Ss(e,t,r,o=gi(r.type,o),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),qs(e,t),t.tag=1,jo(r)?(e=!0,Ro(t)):e=!1,Ci(t,n),qi(t,r,o),$i(t,r,o,n),As(null,t,r,!0,e,n);case 19:return Vs(e,t,n);case 22:return Cs(e,t,n)}throw Error(i(156,t.tag))};var Gu="function"===typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var e=Wu(a);s.call(e)}}qu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Wu(a);i.call(e)}}var a=Vu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=a,e[vo]=a.current,Ur(8===e.nodeType?e.parentNode:e),du(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=Wu(l);s.call(e)}}var l=Hu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[vo]=l.current,Ur(8===e.nodeType?e.parentNode:e),du((function(){qu(t,l,n,r)})),l}(n,t,e,o,r);return Wu(a)}Qu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));qu(e,t,null,null)},Qu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){qu(null,e,null,null)})),t[vo]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jt.length&&0!==t&&t<jt[n].priority;n++);jt.splice(n,0,e),0===n&&Rt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ou(t,Ze()),0===(6&Al)&&(Vl=Ze()+500,Vo()))}break;case 13:du((function(){var t=Di(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Yu(e,1)}},kt=function(e){if(13===e.tag){var t=Di(e,134217728);if(null!==t)ru(t,e,134217728,tu());Yu(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=Di(e,t);if(null!==n)ru(n,e,t,tu());Yu(e,t)}},_t=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(i(90));Y(r),X(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Fe=cu,Ae=du;var tc={usingClientEntryPoint:!1,Events:[wo,xo,ko,Ee,Oe,cu]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),it=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zu(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zu(e))throw Error(i(299));var n=!1,r="",o=Gu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Hu(e,1,!1,null,0,n,0,r,o),e[vo]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Ku(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Gu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Vu(t,null,e,1,null!=n?n:null,o,0,a,s),e[vo]=t.current,Ur(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qu(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(i(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[vo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},579:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(302)},5384:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case v:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===s||e===a||e===f||e===p||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=g},5211:(e,t,n)=>{"use strict";e.exports=n(5384)},3145:(e,t,n)=>{"use strict";var r=n(1914),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},5784:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,v(w,g.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,o)&&!_.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:S.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function F(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+F(l,0):i,x(a)?(o="",null!=e&&(o=e.replace(O,"$&/")+"/"),A(a,t,o,"",(function(e){return e}))):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",x(e))for(var u=0;u<e.length;u++){var c=i+F(s=e[u],u);l+=A(s,t,o,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=A(s=s.value,t,o,c=i+F(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function D(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},j={transition:null},M={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:j,ReactCurrentOwner:S};t.Children={map:D,forEach:function(e,t,n){D(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return D(e,(function(){t++})),t},toArray:function(e){return D(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)k.call(t,u)&&!_.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,n){return T.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,n){return T.current.useReducer(e,t,n)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return T.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return T.current.useTransition()},t.version="18.2.0"},1914:(e,t,n)=>{"use strict";e.exports=n(5784)},6552:(e,t,n)=>{"use strict";e.exports=n(3145)},9375:(e,t,n)=>{var r;!function(e){!function(t){var r="object"===typeof n.g?n.g:"object"===typeof self?self:"object"===typeof this?this:Function("return this;")(),o=i(e);function i(e,t){return function(n,r){"function"!==typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}"undefined"===typeof r.Reflect?r.Reflect=e:o=i(r.Reflect,o),function(e){var t=Object.prototype.hasOwnProperty,n="function"===typeof Symbol,r=n&&"undefined"!==typeof Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=n&&"undefined"!==typeof Symbol.iterator?Symbol.iterator:"@@iterator",i="function"===typeof Object.create,a={__proto__:[]}instanceof Array,s=!i&&!a,l={create:i?function(){return re(Object.create(null))}:a?function(){return re({__proto__:null})}:function(){return re({})},has:s?function(e,n){return t.call(e,n)}:function(e,t){return t in e},get:s?function(e,n){return t.call(e,n)?e[n]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),c="object"===typeof process&&{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}&&"true"==={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.REFLECT_METADATA_USE_MAP_POLYFILL,d=c||"function"!==typeof Map||"function"!==typeof Map.prototype.entries?ee():Map,f=c||"function"!==typeof Set||"function"!==typeof Set.prototype.entries?te():Set,p=new(c||"function"!==typeof WeakMap?ne():WeakMap);function h(e,t,n,r){if(I(n)){if(!q(e))throw new TypeError;if(!$(t))throw new TypeError;return _(e,t)}if(!q(e))throw new TypeError;if(!z(t))throw new TypeError;if(!z(r)&&!I(r)&&!N(r))throw new TypeError;return N(r)&&(r=void 0),C(e,t,n=V(n),r)}function v(e,t){function n(n,r){if(!z(n))throw new TypeError;if(!I(r)&&!Y(r))throw new TypeError;P(e,t,n,r)}return n}function m(e,t,n,r){if(!z(n))throw new TypeError;return I(r)||(r=V(r)),P(e,t,n,r)}function g(e,t,n){if(!z(t))throw new TypeError;return I(n)||(n=V(n)),O(e,t,n)}function y(e,t,n){if(!z(t))throw new TypeError;return I(n)||(n=V(n)),F(e,t,n)}function b(e,t,n){if(!z(t))throw new TypeError;return I(n)||(n=V(n)),A(e,t,n)}function w(e,t,n){if(!z(t))throw new TypeError;return I(n)||(n=V(n)),D(e,t,n)}function x(e,t){if(!z(e))throw new TypeError;return I(t)||(t=V(t)),T(e,t)}function k(e,t){if(!z(e))throw new TypeError;return I(t)||(t=V(t)),j(e,t)}function S(e,t,n){if(!z(t))throw new TypeError;I(n)||(n=V(n));var r=E(t,n,!1);if(I(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var o=p.get(t);return o.delete(n),o.size>0||p.delete(t),!0}function _(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!I(r)&&!N(r)){if(!$(r))throw new TypeError;t=r}}return t}function C(e,t,n,r){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,n,r);if(!I(i)&&!N(i)){if(!z(i))throw new TypeError;r=i}}return r}function E(e,t,n){var r=p.get(e);if(I(r)){if(!n)return;r=new d,p.set(e,r)}var o=r.get(t);if(I(o)){if(!n)return;o=new d,r.set(t,o)}return o}function O(e,t,n){if(F(e,t,n))return!0;var r=J(t);return!N(r)&&O(e,r,n)}function F(e,t,n){var r=E(t,n,!1);return!I(r)&&H(r.has(e))}function A(e,t,n){if(F(e,t,n))return D(e,t,n);var r=J(t);return N(r)?void 0:A(e,r,n)}function D(e,t,n){var r=E(t,n,!1);if(!I(r))return r.get(e)}function P(e,t,n,r){E(n,r,!0).set(e,t)}function T(e,t){var n=j(e,t),r=J(e);if(null===r)return n;var o=T(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var i=new f,a=[],s=0,l=n;s<l.length;s++){var u=l[s];i.has(u)||(i.add(u),a.push(u))}for(var c=0,d=o;c<d.length;c++){u=d[c];i.has(u)||(i.add(u),a.push(u))}return a}function j(e,t){var n=[],r=E(e,t,!1);if(I(r))return n;for(var o=K(r.keys()),i=0;;){var a=Z(o);if(!a)return n.length=i,n;var s=Q(a);try{n[i]=s}catch(l){try{X(o)}finally{throw l}}i++}}function M(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function I(e){return void 0===e}function N(e){return null===e}function R(e){return"symbol"===typeof e}function z(e){return"object"===typeof e?null!==e:"function"===typeof e}function B(e,t){switch(M(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",o=G(e,r);if(void 0!==o){var i=o.call(e,n);if(z(i))throw new TypeError;return i}return L(e,"default"===n?"number":n)}function L(e,t){if("string"===t){var n=e.toString;if(W(n))if(!z(o=n.call(e)))return o;if(W(r=e.valueOf))if(!z(o=r.call(e)))return o}else{var r;if(W(r=e.valueOf))if(!z(o=r.call(e)))return o;var o,i=e.toString;if(W(i))if(!z(o=i.call(e)))return o}throw new TypeError}function H(e){return!!e}function U(e){return""+e}function V(e){var t=B(e,3);return R(t)?t:U(t)}function q(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function W(e){return"function"===typeof e}function $(e){return"function"===typeof e}function Y(e){switch(M(e)){case 3:case 4:return!0;default:return!1}}function G(e,t){var n=e[t];if(void 0!==n&&null!==n){if(!W(n))throw new TypeError;return n}}function K(e){var t=G(e,o);if(!W(t))throw new TypeError;var n=t.call(e);if(!z(n))throw new TypeError;return n}function Q(e){return e.value}function Z(e){var t=e.next();return!t.done&&t}function X(e){var t=e.return;t&&t.call(e)}function J(e){var t=Object.getPrototypeOf(e);if("function"!==typeof e||e===u)return t;if(t!==u)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var o=r.constructor;return"function"!==typeof o||o===e?t:o}function ee(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,o=n+1;o<r;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[o]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function a(e,t){return[e,t]}}function te(){return function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[o]=function(){return this.keys()},e}()}function ne(){var e=16,n=l.create(),r=o();return function(){function e(){this._key=o()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&l.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?l.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=o()},e}();function o(){var e;do{e="@@WeakMap@@"+u()}while(l.has(n,e));return n[e]=!0,e}function i(e,n){if(!t.call(e,r)){if(!n)return;Object.defineProperty(e,r,{value:l.create()})}return e[r]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function s(e){return"function"===typeof Uint8Array?"undefined"!==typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!==typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):a(new Uint8Array(e),e):a(new Array(e),e)}function u(){var t=s(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",r=0;r<e;++r){var o=t[r];4!==r&&6!==r&&8!==r||(n+="-"),o<16&&(n+="0"),n+=o.toString(16).toLowerCase()}return n}}function re(e){return e.__=void 0,delete e.__,e}e("decorate",h),e("metadata",v),e("defineMetadata",m),e("hasMetadata",g),e("hasOwnMetadata",y),e("getMetadata",b),e("getOwnMetadata",w),e("getMetadataKeys",x),e("getOwnMetadataKeys",k),e("deleteMetadata",S)}(o)}()}(r||(r={}))},8174:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,v=!1,m=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(m=!1,w(e),!v)if(null!==r(u))v=!0,j(k);else{var t=r(c);null!==t&&M(x,t.startTime-e)}}function k(e,n){v=!1,m&&(m=!1,y(E),E=-1),h=!0;var i=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!A());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(u)&&o(u),w(n)}else o(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&M(x,d.startTime-n),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_=!1,C=null,E=-1,O=5,F=-1;function A(){return!(t.unstable_now()-F<O)}function D(){if(null!==C){var e=t.unstable_now();F=e;var n=!0;try{n=C(!0,e)}finally{n?S():(_=!1,C=null)}}else _=!1}if("function"===typeof b)S=function(){b(D)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,T=P.port2;P.port1.onmessage=D,S=function(){T.postMessage(null)}}else S=function(){g(D,0)};function j(e){C=e,_||(_=!0,S())}function M(e,n){E=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||h||(v=!0,j(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(m?(y(E),E=-1):m=!0,M(x,i-a))):(e.sortIndex=s,n(u,e),v||h||(v=!0,j(k))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},8395:(e,t,n)=>{"use strict";e.exports=n(8174)},2664:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=n?n.call(r,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}},1427:e=>{e.exports=function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){var n=t[a][1][e];return o(n||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var i=void 0,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";var r=e("./init"),o={init:function(e){this.get=r(e),e&&e.callback&&"function"===typeof e.callback&&e.callback(this.get)}};t.exports=o},{"./init":6}],2:[function(e,t,n){"use strict";var r=e("./terms"),o=e("./helpers/utils"),i={containers:{current:"sbjs_current",current_extra:"sbjs_current_add",first:"sbjs_first",first_extra:"sbjs_first_add",session:"sbjs_session",udata:"sbjs_udata",promocode:"sbjs_promo"},service:{migrations:"sbjs_migrations"},delimiter:"|||",aliases:{main:{type:"typ",source:"src",medium:"mdm",campaign:"cmp",content:"cnt",term:"trm"},extra:{fire_date:"fd",entrance_point:"ep",referer:"rf"},session:{pages_seen:"pgs",current_page:"cpg"},udata:{visits:"vst",ip:"uip",agent:"uag"},promo:"code"},pack:{main:function(e){return i.aliases.main.type+"="+e.type+i.delimiter+i.aliases.main.source+"="+e.source+i.delimiter+i.aliases.main.medium+"="+e.medium+i.delimiter+i.aliases.main.campaign+"="+e.campaign+i.delimiter+i.aliases.main.content+"="+e.content+i.delimiter+i.aliases.main.term+"="+e.term},extra:function(e){return i.aliases.extra.fire_date+"="+o.setDate(new Date,e)+i.delimiter+i.aliases.extra.entrance_point+"="+document.location.href+i.delimiter+i.aliases.extra.referer+"="+(document.referrer||r.none)},user:function(e,t){return i.aliases.udata.visits+"="+e+i.delimiter+i.aliases.udata.ip+"="+t+i.delimiter+i.aliases.udata.agent+"="+navigator.userAgent},session:function(e){return i.aliases.session.pages_seen+"="+e+i.delimiter+i.aliases.session.current_page+"="+document.location.href},promo:function(e){return i.aliases.promo+"="+o.setLeadingZeroToInt(o.randomInt(e.min,e.max),e.max.toString().length)}}};t.exports=i},{"./helpers/utils":5,"./terms":9}],3:[function(e,t,n){"use strict";var r=e("../data").delimiter;t.exports={encodeData:function(e){return encodeURIComponent(e).replace(/\!/g,"%21").replace(/\~/g,"%7E").replace(/\*/g,"%2A").replace(/\'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")},decodeData:function(e){try{return decodeURIComponent(e).replace(/\%21/g,"!").replace(/\%7E/g,"~").replace(/\%2A/g,"*").replace(/\%27/g,"'").replace(/\%28/g,"(").replace(/\%29/g,")")}catch(t){try{return unescape(e)}catch(n){return""}}},set:function(e,t,n,r,o){var i,a;if(n){var s=new Date;s.setTime(s.getTime()+60*n*1e3),i="; expires="+s.toGMTString()}else i="";a=r&&!o?";domain=."+r:"",document.cookie=this.encodeData(e)+"="+this.encodeData(t)+i+a+"; path=/"},get:function(e){for(var t=this.encodeData(e)+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return this.decodeData(o.substring(t.length,o.length))}return null},destroy:function(e,t,n){this.set(e,"",-1,t,n)},parse:function(e){var t=[],n={};if("string"===typeof e)t.push(e);else for(var o in e)e.hasOwnProperty(o)&&t.push(e[o]);for(var i=0;i<t.length;i++){var a;n[this.unsbjs(t[i])]={},a=this.get(t[i])?this.get(t[i]).split(r):[];for(var s=0;s<a.length;s++){var l=a[s].split("="),u=l.splice(0,1);u.push(l.join("=")),n[this.unsbjs(t[i])][u[0]]=this.decodeData(u[1])}}return n},unsbjs:function(e){return e.replace("sbjs_","")}}},{"../data":2}],4:[function(e,t,n){"use strict";t.exports={parse:function(e){for(var t=this.parseOptions,n=t.parser[t.strictMode?"strict":"loose"].exec(e),r={},o=14;o--;)r[t.key[o]]=n[o]||"";return r[t.q.name]={},r[t.key[12]].replace(t.q.parser,(function(e,n,o){n&&(r[t.q.name][n]=o)})),r},parseOptions:{strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},getParam:function(e){for(var t={},n=(e||window.location.search.substring(1)).split("&"),r=0;r<n.length;r++){var o=n[r].split("=");if("undefined"===typeof t[o[0]])t[o[0]]=o[1];else if("string"===typeof t[o[0]]){var i=[t[o[0]],o[1]];t[o[0]]=i}else t[o[0]].push(o[1])}return t},getHost:function(e){return this.parse(e).host.replace("www.","")}}},{}],5:[function(e,t,n){"use strict";t.exports={escapeRegexp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},setDate:function(e,t){var n=e.getTimezoneOffset()/60,r=e.getHours(),o=t||0===t?t:-n;return e.setHours(r+n+o),e.getFullYear()+"-"+this.setLeadingZeroToInt(e.getMonth()+1,2)+"-"+this.setLeadingZeroToInt(e.getDate(),2)+" "+this.setLeadingZeroToInt(e.getHours(),2)+":"+this.setLeadingZeroToInt(e.getMinutes(),2)+":"+this.setLeadingZeroToInt(e.getSeconds(),2)},setLeadingZeroToInt:function(e,t){for(var n=e+"";n.length<t;)n="0"+n;return n},randomInt:function(e,t){return Math.floor(Math.random()*(t-e+1))+e}}},{}],6:[function(e,t,n){"use strict";var r=e("./data"),o=e("./terms"),i=e("./helpers/cookies"),a=e("./helpers/uri"),s=e("./helpers/utils"),l=e("./params"),u=e("./migrations");t.exports=function(e){var t,n,c,d,f,p,h=l.fetch(e),v=a.getParam(),m=h.domain.host,g=h.domain.isolate,y=h.lifetime;function b(){var e;if("undefined"!==typeof v.utm_source||"undefined"!==typeof v.utm_medium||"undefined"!==typeof v.utm_campaign||"undefined"!==typeof v.utm_content||"undefined"!==typeof v.utm_term||"undefined"!==typeof v.gclid||"undefined"!==typeof v.yclid||"undefined"!==typeof v[h.campaign_param])E(),e=w(o.traffic.utm);else if(k(o.traffic.organic))E(),e=w(o.traffic.organic);else if(!i.get(r.containers.session)&&k(o.traffic.referral))E(),e=w(o.traffic.referral);else{if(i.get(r.containers.first)||i.get(r.containers.current))return i.get(r.containers.current);E(),e=w(o.traffic.typein)}return e}function w(e){switch(e){case o.traffic.utm:t=o.traffic.utm,n="undefined"!==typeof v.utm_source?v.utm_source:"undefined"!==typeof v.gclid?"google":"undefined"!==typeof v.yclid?"yandex":o.none,c="undefined"!==typeof v.utm_medium?v.utm_medium:"undefined"!==typeof v.gclid||"undefined"!==typeof v.yclid?"cpc":o.none,d="undefined"!==typeof v.utm_campaign?v.utm_campaign:"undefined"!==typeof v[h.campaign_param]?v[h.campaign_param]:"undefined"!==typeof v.gclid?"google_cpc":"undefined"!==typeof v.yclid?"yandex_cpc":o.none,f=v.utm_content||o.none,p=x()||o.none;break;case o.traffic.organic:t=o.traffic.organic,n=n||a.getHost(document.referrer),c=o.referer.organic,d=o.none,f=o.none,p=o.none;break;case o.traffic.referral:t=o.traffic.referral,n=n||a.getHost(document.referrer),c=c||o.referer.referral,d=o.none,f=a.parse(document.referrer).path,p=o.none;break;case o.traffic.typein:t=o.traffic.typein,n=h.typein_attributes.source,c=h.typein_attributes.medium,d=o.none,f=o.none,p=o.none;break;default:t=o.oops,n=o.oops,c=o.oops,d=o.oops,f=o.oops,p=o.oops}var i={type:t,source:n,medium:c,campaign:d,content:f,term:p};return r.pack.main(i)}function x(){var e=document.referrer;if(v.utm_term)return v.utm_term;if(!(e&&a.parse(e).host&&a.parse(e).host.match(/^(?:.*\.)?yandex\..{2,9}$/i)))return!1;try{return a.getParam(a.parse(document.referrer).query).text}catch(t){return!1}}function k(e){var t=document.referrer;switch(e){case o.traffic.organic:return!!t&&S(t)&&_(t);case o.traffic.referral:return!!t&&S(t)&&C(t);default:return!1}}function S(e){if(h.domain){if(g)return a.getHost(e)!==a.getHost(m);var t=new RegExp("^(?:.*\\.)?"+s.escapeRegexp(m)+"$","i");return!a.getHost(e).match(t)}return a.getHost(e)!==a.getHost(document.location.href)}function _(e){var t="yandex",r="text",o="google",i=new RegExp("^(?:.*\\.)?"+s.escapeRegexp(t)+"\\..{2,9}$"),l=new RegExp(".*"+s.escapeRegexp(r)+"=.*"),u=new RegExp("^(?:www\\.)?"+s.escapeRegexp(o)+"\\..{2,9}$");if(a.parse(e).query&&a.parse(e).host.match(i)&&a.parse(e).query.match(l))return n=t,!0;if(a.parse(e).host.match(u))return n=o,!0;if(!a.parse(e).query)return!1;for(var c=0;c<h.organics.length;c++){if(a.parse(e).host.match(new RegExp("^(?:.*\\.)?"+s.escapeRegexp(h.organics[c].host)+"$","i"))&&a.parse(e).query.match(new RegExp(".*"+s.escapeRegexp(h.organics[c].param)+"=.*","i")))return n=h.organics[c].display||h.organics[c].host,!0;if(c+1===h.organics.length)return!1}}function C(e){if(!(h.referrals.length>0))return n=a.getHost(e),!0;for(var t=0;t<h.referrals.length;t++){if(a.parse(e).host.match(new RegExp("^(?:.*\\.)?"+s.escapeRegexp(h.referrals[t].host)+"$","i")))return n=h.referrals[t].display||h.referrals[t].host,c=h.referrals[t].medium||o.referer.referral,!0;if(t+1===h.referrals.length)return n=a.getHost(e),!0}}function E(){i.set(r.containers.current_extra,r.pack.extra(h.timezone_offset),y,m,g),i.get(r.containers.first_extra)||i.set(r.containers.first_extra,r.pack.extra(h.timezone_offset),y,m,g)}return u.go(y,m,g),function(){var e,t,n;i.set(r.containers.current,b(),y,m,g),i.get(r.containers.first)||i.set(r.containers.first,i.get(r.containers.current),y,m,g),i.get(r.containers.udata)?(e=parseInt(i.parse(r.containers.udata)[i.unsbjs(r.containers.udata)][r.aliases.udata.visits])||1,e=i.get(r.containers.session)?e:e+1,t=r.pack.user(e,h.user_ip)):(e=1,t=r.pack.user(e,h.user_ip)),i.set(r.containers.udata,t,y,m,g),i.get(r.containers.session)?(n=parseInt(i.parse(r.containers.session)[i.unsbjs(r.containers.session)][r.aliases.session.pages_seen])||1,n+=1):n=1,i.set(r.containers.session,r.pack.session(n),h.session_length,m,g),h.promocode&&!i.get(r.containers.promocode)&&i.set(r.containers.promocode,r.pack.promo(h.promocode),y,m,g)}(),i.parse(r.containers)}},{"./data":2,"./helpers/cookies":3,"./helpers/uri":4,"./helpers/utils":5,"./migrations":7,"./params":8,"./terms":9}],7:[function(e,t,n){"use strict";var r=e("./data"),o=e("./helpers/cookies");t.exports={go:function(e,t,n){var i,a=this.migrations,s={l:e,d:t,i:n};if(o.get(r.containers.first)||o.get(r.service.migrations)){if(!o.get(r.service.migrations))for(i=0;i<a.length;i++)a[i].go(a[i].id,s)}else{var l=[];for(i=0;i<a.length;i++)l.push(a[i].id);var u="";for(i=0;i<l.length;i++)u+=l[i]+"=1",i<l.length-1&&(u+=r.delimiter);o.set(r.service.migrations,u,s.l,s.d,s.i)}},migrations:[{id:"1418474375998",version:"1.0.0-beta",go:function(e,t){var n=e+"=1",i=e+"=0",a=function(e,t,n){return t||n?e:r.delimiter};try{var s=[];for(var l in r.containers)r.containers.hasOwnProperty(l)&&s.push(r.containers[l]);for(var u=0;u<s.length;u++)if(o.get(s[u])){var c=o.get(s[u]).replace(/(\|)?\|(\|)?/g,a);o.destroy(s[u],t.d,t.i),o.destroy(s[u],t.d,!t.i),o.set(s[u],c,t.l,t.d,t.i)}o.get(r.containers.session)&&o.set(r.containers.session,r.pack.session(0),t.l,t.d,t.i),o.set(r.service.migrations,n,t.l,t.d,t.i)}catch(d){o.set(r.service.migrations,i,t.l,t.d,t.i)}}}]}},{"./data":2,"./helpers/cookies":3}],8:[function(e,t,n){"use strict";var r=e("./terms"),o=e("./helpers/uri");t.exports={fetch:function(e){var t=e||{},n={};if(n.lifetime=this.validate.checkFloat(t.lifetime)||6,n.lifetime=parseInt(30*n.lifetime*24*60),n.session_length=this.validate.checkInt(t.session_length)||30,n.timezone_offset=this.validate.checkInt(t.timezone_offset),n.campaign_param=t.campaign_param||!1,n.user_ip=t.user_ip||r.none,t.promocode?(n.promocode={},n.promocode.min=parseInt(t.promocode.min)||1e5,n.promocode.max=parseInt(t.promocode.max)||999999):n.promocode=!1,t.typein_attributes&&t.typein_attributes.source&&t.typein_attributes.medium?(n.typein_attributes={},n.typein_attributes.source=t.typein_attributes.source,n.typein_attributes.medium=t.typein_attributes.medium):n.typein_attributes={source:"(direct)",medium:"(none)"},t.domain&&this.validate.isString(t.domain)?n.domain={host:t.domain,isolate:!1}:t.domain&&t.domain.host?n.domain=t.domain:n.domain={host:o.getHost(document.location.hostname),isolate:!1},n.referrals=[],t.referrals&&t.referrals.length>0)for(var i=0;i<t.referrals.length;i++)t.referrals[i].host&&n.referrals.push(t.referrals[i]);if(n.organics=[],t.organics&&t.organics.length>0)for(var a=0;a<t.organics.length;a++)t.organics[a].host&&t.organics[a].param&&n.organics.push(t.organics[a]);return n.organics.push({host:"bing.com",param:"q",display:"bing"}),n.organics.push({host:"yahoo.com",param:"p",display:"yahoo"}),n.organics.push({host:"about.com",param:"q",display:"about"}),n.organics.push({host:"aol.com",param:"q",display:"aol"}),n.organics.push({host:"ask.com",param:"q",display:"ask"}),n.organics.push({host:"globososo.com",param:"q",display:"globo"}),n.organics.push({host:"go.mail.ru",param:"q",display:"go.mail.ru"}),n.organics.push({host:"rambler.ru",param:"query",display:"rambler"}),n.organics.push({host:"tut.by",param:"query",display:"tut.by"}),n.referrals.push({host:"t.co",display:"twitter.com"}),n.referrals.push({host:"plus.url.google.com",display:"plus.google.com"}),n},validate:{checkFloat:function(e){return!(!e||!this.isNumeric(parseFloat(e)))&&parseFloat(e)},checkInt:function(e){return!(!e||!this.isNumeric(parseInt(e)))&&parseInt(e)},isNumeric:function(e){return!isNaN(e)},isString:function(e){return"[object String]"===Object.prototype.toString.call(e)}}}},{"./helpers/uri":4,"./terms":9}],9:[function(e,t,n){"use strict";t.exports={traffic:{utm:"utm",organic:"organic",referral:"referral",typein:"typein"},referer:{referral:"referral",organic:"organic",social:"social"},none:"(none)",oops:"(Houston, we have a problem)"}},{}]},{},[1])(1)},7148:(e,t,n)=>{"use strict";var r=n(1914);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return s((function(){o.value=n,o.getSnapshot=t,u(o)&&c({inst:o})}),[e,n,t]),a((function(){return u(o)&&c({inst:o}),e((function(){u(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},5539:(e,t,n)=>{"use strict";var r=n(1914),o=n(8838);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=u((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var p=a(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),c(p),p}},8838:(e,t,n)=>{"use strict";e.exports=n(7148)},4260:(e,t,n)=>{"use strict";e.exports=n(5539)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,(()=>{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>Yd,hasStandardBrowserEnv:()=>Gd,hasStandardBrowserWebWorkerEnv:()=>Qd,origin:()=>Zd});n(9375);var t=n(6398),r=n(1914),o=n(579),i=n(8838),a=n(4260);let s=function(e){e()};const l=()=>s,u=Symbol.for("react-redux-context"),c="undefined"!==typeof globalThis?globalThis:{};function d(){var e;if(!r.createContext)return{};const t=null!=(e=c[u])?e:c[u]=new Map;let n=t.get(r.createContext);return n||(n=r.createContext(null),t.set(r.createContext,n)),n}const f=d();function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return function(){return(0,r.useContext)(e)}}const h=p();let v=()=>{throw new Error("uSES not initialized!")};const m=(e,t)=>e===t;function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;const t=e===f?h:p(e);return function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{equalityFn:o=m,stabilityCheck:i,noopCheck:a}="function"===typeof n?{equalityFn:n}:n;const{store:s,subscription:l,getServerState:u,stabilityCheck:c,noopCheck:d}=t(),f=((0,r.useRef)(!0),(0,r.useCallback)({[e.name]:t=>e(t)}[e.name],[e,c,i])),p=v(l.addNestedSub,s.getState,u||s.getState,f,o);return(0,r.useDebugValue)(p),p}}const y=g();var b=n(7531),w=n.n(b),x=n(5211);const k={notify(){},get:()=>[]};function S(e,t){let n,r=k;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){const e=l();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}const a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=k)},getListeners:()=>r};return a}const _=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?r.useLayoutEffect:r.useEffect;let C=null;const E=function(e){let{store:t,context:n,children:o,serverState:i,stabilityCheck:a="once",noopCheck:s="once"}=e;const l=r.useMemo((()=>{const e=S(t);return{store:t,subscription:e,getServerState:i?()=>i:void 0,stabilityCheck:a,noopCheck:s}}),[t,i,a,s]),u=r.useMemo((()=>t.getState()),[t]);_((()=>{const{subscription:e}=l;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[l,u]);const c=n||f;return r.createElement(c.Provider,{value:l},o)};function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;const t=e===f?h:p(e);return function(){const{store:e}=t();return e}}const F=O();function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;const t=e===f?F:O(e);return function(){return t().dispatch}}const D=A();var P;function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(e,t){if(e){if("string"===typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||j(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function N(e,t){if(null==e)return{};var n,r,o=I(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e=>{v=e})(a.useSyncExternalStoreWithSelector),(e=>{C=e})(i.useSyncExternalStore),P=o.unstable_batchedUpdates,s=P;var R=n(6847),z=n(6768),B=n.n(z),L=n(9617);function H(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var V=function(e,t){return Object.assign.apply(Object,[{}].concat(H(Object.keys(t).map((function(n){return i=function(r){return function(e,t){var n=(0,L.readObjectByPath)(t,e);return n||(0,L.readObjectByPath)(B(),e)}(function(e,t,n,r){return"function"===typeof r?r(e):"".concat(t,".").concat(n).concat(r?".".concat(e[r]):"")}(r,e,n,t[n]),r.theme)},(o=n)in(r={})?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r;var r,o,i})))))},q=n(2664),W=n.n(q);const $=function(e){function t(e,r,l,u,f){for(var p,h,v,m,w,k=0,S=0,_=0,C=0,E=0,T=0,M=v=p=0,N=0,R=0,z=0,B=0,L=l.length,H=L-1,U="",V="",q="",W="";N<L;){if(h=l.charCodeAt(N),N===H&&0!==S+C+_+k&&(0!==S&&(h=47===S?10:47),C=_=k=0,L++,H++),0===S+C+_+k){if(N===H&&(0<R&&(U=U.replace(d,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(N)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),v=1,B=++N;N<L;){switch(h=l.charCodeAt(N)){case 123:v++;break;case 125:v--;break;case 47:switch(h=l.charCodeAt(N+1)){case 42:case 47:e:{for(M=N+1;M<H;++M)switch(l.charCodeAt(M)){case 47:if(42===h&&42===l.charCodeAt(M-1)&&N+2!==M){N=M+1;break e}break;case 10:if(47===h){N=M+1;break e}}N=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<H&&l.charCodeAt(N)!==h;);}if(0===v)break;N++}if(v=l.substring(B,N),0===p&&(p=(U=U.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<R&&(U=U.replace(d,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:R=r;break;default:R=P}if(B=(v=t(r,R,v,h,f+1)).length,0<j&&(w=s(3,v,R=n(P,U,z),r,F,O,B,h,f,u),U=R.join(""),void 0!==w&&0===(B=(v=w.trim()).length)&&(h=0,v="")),0<B)switch(h){case 115:U=U.replace(x,a);case 100:case 109:case 45:v=U+"{"+v+"}";break;case 107:v=(U=U.replace(g,"$1 $2"))+"{"+v+"}",v=1===D||2===D&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=U+v,112===u&&(V+=v,v="")}else v=""}else v=t(r,n(r,U,z),v,u,f+1);q+=v,v=z=R=M=p=0,U="",h=l.charCodeAt(++N);break;case 125:case 59:if(1<(B=(U=(0<R?U.replace(d,""):U).trim()).length))switch(0===M&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(B=(U=U.replace(" ",":")).length),0<j&&void 0!==(w=s(1,U,r,e,F,O,V.length,u,f,u))&&0===(B=(U=w.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){W+=U+l.charAt(N);break}default:58!==U.charCodeAt(B-1)&&(V+=o(U,p,h,U.charCodeAt(2)))}z=R=M=p=0,U="",h=l.charCodeAt(++N)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==u&&0<U.length&&(R=1,U+="\0"),0<j*I&&s(0,U,r,e,F,O,V.length,u,f,u),O=1,F++;break;case 59:case 125:if(0===S+C+_+k){O++;break}default:switch(O++,m=l.charAt(N),h){case 9:case 32:if(0===C+k+S)switch(E){case 44:case 58:case 9:case 32:m="";break;default:32!==h&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===C+S+k&&(R=z=1,m="\f"+m);break;case 108:if(0===C+S+k+A&&0<M)switch(N-M){case 2:112===E&&58===l.charCodeAt(N-3)&&(A=E);case 8:111===T&&(A=T)}break;case 58:0===C+S+k&&(M=N);break;case 44:0===S+_+C+k&&(R=1,m+="\r");break;case 34:case 39:0===S&&(C=C===h?0:0===C?h:C);break;case 91:0===C+S+_&&k++;break;case 93:0===C+S+_&&k--;break;case 41:0===C+S+k&&_--;break;case 40:if(0===C+S+k){if(0===p)if(2*E+3*T===533);else p=1;_++}break;case 64:0===S+_+C+k+M+v&&(v=1);break;case 42:case 47:if(!(0<C+k+_))switch(S){case 0:switch(2*h+3*l.charCodeAt(N+1)){case 235:S=47;break;case 220:B=N,S=42}break;case 42:47===h&&42===E&&B+2!==N&&(33===l.charCodeAt(B+2)&&(V+=l.substring(B,N+1)),m="",S=0)}}0===S&&(U+=m)}T=E,E=h,N++}if(0<(B=V.length)){if(R=r,0<j&&(void 0!==(w=s(2,V,R,e,F,O,B,u,f,u))&&0===(V=w).length))return W+V+q;if(V=R.join(",")+"{"+V+"}",0!==D*A){switch(2!==D||i(V,2)||(A=0),A){case 111:V=V.replace(b,":-moz-$1")+V;break;case 112:V=V.replace(y,"::-webkit-input-$1")+V.replace(y,"::-moz-$1")+V.replace(y,":-ms-input-$1")+V}A=0}}return W+V+q}function n(e,t,n){var o=t.trim().split(v);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[l++]=r(e[u]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===D||2===D&&i(l,1)?"-webkit-"+l+l:l}if(0===D||2===D&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(E,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(_,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,l,c){for(var d,f=0,p=t;f<j;++f)switch(d=T[f].call(u,e,p,n,r,o,i,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!==typeof e?D=1:(D=2,M=e):D=0),l}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<j){var o=s(-1,n,r,r,F,O,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=t(P,r,n,0,0);return 0<j&&(void 0!==(o=s(-2,i,r,r,F,O,i.length,0,0,0))&&(i=o)),"",A=0,O=F=1,i}var c=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,S=/-self|flex-/g,_=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,O=1,F=1,A=0,D=1,P=[],T=[],j=0,M=null,I=0;return u.use=function e(t){switch(t){case void 0:case null:j=T.length=0;break;default:if("function"===typeof t)T[j++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else I=0|!!t}return e},u.set=l,void 0!==e&&l(e),u};const Y={animationIterationCount: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,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};function G(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var K=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Q=G((function(e){return K.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Z(){return(Z=Object.assign||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}).apply(this,arguments)}var X=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},J=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,x.typeOf)(e)},ee=Object.freeze([]),te=Object.freeze({});function ne(e){return"function"==typeof e}function re(e){return e.displayName||e.name||"Component"}function oe(e){return e&&"string"==typeof e.styledComponentId}var ie="undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}&&({NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.SC_ATTR)||"data-styled",ae="undefined"!=typeof window&&"HTMLElement"in window,se=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}&&(void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.REACT_APP_SC_DISABLE_SPEEDY:void 0!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"}.SC_DISABLE_SPEEDY))),le={};function ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var ce=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&ue(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),de=new Map,fe=new Map,pe=1,he=function(e){if(de.has(e))return de.get(e);for(;fe.has(pe);)pe++;var t=pe++;return de.set(e,t),fe.set(t,e),t},ve=function(e){return fe.get(e)},me=function(e,t){t>=pe&&(pe=t+1),de.set(e,t),fe.set(t,e)},ge="style["+ie+'][data-styled-version="5.3.11"]',ye=new RegExp("^"+ie+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),be=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},we=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(ye);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(me(u,l),be(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},xe=function(){return n.nc},ke=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(ie))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(ie,"active"),r.setAttribute("data-styled-version","5.3.11");var a=xe();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Se=function(){function e(e){var t=this.element=ke(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}ue(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),_e=function(){function e(e){var t=this.element=ke(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ce=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Ee=ae,Oe={isServer:!ae,useCSSOMInjection:!se},Fe=function(){function e(e,t,n){void 0===e&&(e=te),void 0===t&&(t={}),this.options=Z({},Oe,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ae&&Ee&&(Ee=!1,function(e){for(var t=document.querySelectorAll(ge),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(ie)&&(we(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return he(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Z({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new Ce(o):r?new Se(o):new _e(o),new ce(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(he(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(he(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(he(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=ve(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var l=ie+".g"+o+'[id="'+i+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),Ae=/(a)(d)/gi,De=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pe(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=De(t%52)+n;return(De(t%52)+n).replace(Ae,"$1-$2")}var Te=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},je=function(e){return Te(5381,e)};function Me(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(ne(n)&&!oe(n))return!1}return!0}var Ie=je("5.3.11"),Ne=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Me(e),this.componentId=t,this.baseHash=Te(Ie,t),this.baseStyle=n,Fe.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=et(this.rules,e,t,n).join(""),a=Pe(Te(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);t.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,u=Te(this.baseHash,n.hash),c="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)c+=f;else if(f){var p=et(f,e,t,n),h=Array.isArray(p)?p.join(""):p;u=Te(u,h+d),c+=h}}if(c){var v=Pe(u>>>0);if(!t.hasNameForId(r,v)){var m=n(c,"."+v,void 0,r);t.insertRules(r,v,m)}o.push(v)}}return o.join(" ")},e}(),Re=/^\s*\/\/.*$/gm,ze=[":","[",".","#"];function Be(e){var t,n,r,o,i=void 0===e?te:e,a=i.options,s=void 0===a?te:a,l=i.plugins,u=void 0===l?ee:l,c=new $(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,s,l,u,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,r,i){return 0===r&&-1!==ze.indexOf(i[n.length])||i.match(o)?e:"."+t};function h(e,i,a,s){void 0===s&&(s="&");var l=e.replace(Re,""),u=i&&a?a+" "+i+" { "+l+" }":l;return t=s,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),c(a||!i?"":i,u)}return c.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,p))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=u.length?u.reduce((function(e,t){return t.name||ue(15),Te(e,t.name)}),5381).toString():"",h}var Le=r.createContext(),He=(Le.Consumer,r.createContext()),Ue=(He.Consumer,new Fe),Ve=Be();function qe(){return(0,r.useContext)(Le)||Ue}function We(){return(0,r.useContext)(He)||Ve}function $e(e){var t=(0,r.useState)(e.stylisPlugins),n=t[0],o=t[1],i=qe(),a=(0,r.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,r.useMemo)((function(){return Be({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,r.useEffect)((function(){W()(n,e.stylisPlugins)||o(e.stylisPlugins)}),[e.stylisPlugins]),r.createElement(Le.Provider,{value:a},r.createElement(He.Provider,{value:s},e.children))}var Ye=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ve);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return ue(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Ve),this.name+e.hash},e}(),Ge=/([A-Z])/,Ke=/([A-Z])/g,Qe=/^ms-/,Ze=function(e){return"-"+e.toLowerCase()};function Xe(e){return Ge.test(e)?e.replace(Ke,Ze).replace(Qe,"-ms-"):e}var Je=function(e){return null==e||!1===e||""===e};function et(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=et(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return Je(e)?"":oe(e)?"."+e.styledComponentId:ne(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:et(e(t),t,n,r):e instanceof Ye?n?(e.inject(n,r),e.getName(r)):e:J(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!Je(t[a])&&(Array.isArray(t[a])&&t[a].isCss||ne(t[a])?i.push(Xe(a)+":",t[a],";"):J(t[a])?i.push.apply(i,e(t[a],a)):i.push(Xe(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in Y||r.startsWith("--")?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var tt=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function nt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ne(e)||J(e)?tt(et(X(ee,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:tt(et(X(e,n)))}new Set;var rt=function(e,t,n){return void 0===n&&(n=te),e.theme!==n.theme&&e.theme||t||n.theme},ot=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,it=/(^-|-$)/g;function at(e){return e.replace(ot,"-").replace(it,"")}var st=function(e){return Pe(je(e)>>>0)};function lt(e){return"string"==typeof e&&!0}var ut=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ct=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function dt(e,t,n){var r=e[n];ut(t)&&ut(r)?ft(r,t):e[n]=t}function ft(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(ut(a))for(var s in a)ct(s)&&dt(e,a[s],s)}return e}var pt=r.createContext();pt.Consumer;function ht(e){var t=(0,r.useContext)(pt),n=(0,r.useMemo)((function(){return function(e,t){return e?ne(e)?e(t):Array.isArray(e)||"object"!=typeof e?ue(8):t?Z({},t,{},e):e:ue(14)}(e.theme,t)}),[e.theme,t]);return e.children?r.createElement(pt.Provider,{value:n},e.children):null}var vt={};function mt(e,t,n){var o=oe(e),i=!lt(e),a=t.attrs,s=void 0===a?ee:a,l=t.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":at(e);vt[n]=(vt[n]||0)+1;var r=n+"-"+st("5.3.11"+n+vt[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?function(e){return lt(e)?"styled."+e:"Styled("+re(e)+")"}(e):c,f=t.displayName&&t.componentId?at(t.displayName)+"-"+t.componentId:t.componentId||u,p=o&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,h=t.shouldForwardProp;o&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var v,m=new Ne(n,f,o?e.componentStyle:void 0),g=m.isStatic&&0===s.length,y=function(e,t){return function(e,t,n,o){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,c=e.styledComponentId,d=e.target,f=function(e,t,n){void 0===e&&(e=te);var r=Z({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in ne(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(rt(t,(0,r.useContext)(pt),s)||te,t,i),p=f[0],h=f[1],v=function(e,t,n,r){var o=qe(),i=We();return t?e.generateAndInjectStyles(te,o,i):e.generateAndInjectStyles(n,o,i)}(a,o,p),m=n,g=h.$as||t.$as||h.as||t.as||d,y=lt(g),b=h!==t?Z({},t,{},h):t,w={};for(var x in b)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?w.as=b[x]:(u?u(x,Q,g):!y||Q(x))&&(w[x]=b[x]));return t.style&&h.style!==t.style&&(w.style=Z({},t.style,{},h.style)),w.className=Array.prototype.concat(l,c,v!==c?v:null,t.className,h.className).filter(Boolean).join(" "),w.ref=m,(0,r.createElement)(g,w)}(v,e,t,g)};return y.displayName=d,(v=r.forwardRef(y)).attrs=p,v.componentStyle=m,v.displayName=d,v.shouldForwardProp=h,v.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):ee,v.styledComponentId=f,v.target=o?e.target:e,v.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(lt(e)?e:at(re(e)));return mt(e,Z({},o,{attrs:p,componentId:i}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?ft({},e.defaultProps,t):t}}),Object.defineProperty(v,"toString",{value:function(){return"."+v.styledComponentId}}),i&&w()(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var gt=function(e){return function e(t,n,r){if(void 0===r&&(r=te),!(0,x.isValidElementType)(n))return ue(1,String(n));var o=function(){return t(n,r,nt.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Z({},r,{},o))},o.attrs=function(o){return e(t,n,Z({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(mt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){gt[e]=gt(e)}));var yt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Me(e),Fe.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(et(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&Fe.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function bt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=nt.apply(void 0,[e].concat(n)),a="sc-global-"+st(JSON.stringify(i)),s=new yt(i,a);function l(e){var t=qe(),n=We(),o=(0,r.useContext)(pt),i=(0,r.useRef)(t.allocateGSInstance(a)).current;return t.server&&u(i,e,t,o,n),(0,r.useLayoutEffect)((function(){if(!t.server)return u(i,e,t,o,n),function(){return s.removeStyles(i,t)}}),[i,e,t,o,n]),null}function u(e,t,n,r,o){if(s.isStatic)s.renderStyles(e,le,n,o);else{var i=Z({},t,{theme:rt(t,r,l.defaultProps)});s.renderStyles(e,i,n,o)}}return r.memo(l)}function wt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=nt.apply(void 0,[e].concat(n)).join(""),i=st(o);return new Ye(i,o)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=xe();return"<style "+[n&&'nonce="'+n+'"',ie+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?ue(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return ue(2);var n=((t={})[ie]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=xe();return o&&(n.nonce=o),[r.createElement("style",Z({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Fe({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?ue(2):r.createElement($e,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return ue(3)}}();const xt=gt;var kt=V("wizard.header",{base:null,orientation:"orientation",title:null,stepsCount:null,stepTitle:null}),St=V("wizard.stepPoints",{base:null,orientation:"orientation",horizontalRight:"size"}),_t=V("wizard.stepPoint",{base:null,type:"type",hover:"type"}),Ct=V("wizard.body",{size:"size"}),Et=V("wizard.footer",{size:"size"}),Ot=V("wizard",{form:null,custom:null}),Ft=xt.div.withConfig({displayName:"Wizardstyles__Box",componentId:"sc-92tgek-0"})([""]),At=xt.div.withConfig({displayName:"Wizardstyles__Header",componentId:"sc-92tgek-1"})(["position:relative;display:flex;"," "," ",""],(function(e){return nt(["padding:0 ","px 0 ","px;"],e.padding,e.padding)}),kt.base,kt.orientation),Dt=xt.div.withConfig({displayName:"Wizardstyles__StepTitle",componentId:"sc-92tgek-2"})(["display:inline;",""],kt.stepTitle),Pt=xt.div.withConfig({displayName:"Wizardstyles__StepPoints",componentId:"sc-92tgek-3"})(["position:absolute;display:flex;"," "," "," ",""],(function(e){return"vertical"===e.orientation&&nt(["position:static;"])}),(function(e){return"horizontal"===e.orientation&&nt(["right:",";"],St.horizontalRight)}),St.base,St.orientation),Tt=xt.div.withConfig({displayName:"Wizardstyles__StepPoint",componentId:"sc-92tgek-4"})([""," "," "," &:last-child{margin-right:0;}"],_t.base,_t.type,(function(e){return e.canClickStep&&nt(["&:hover{","}"],_t.hover)})),jt=xt.div.withConfig({displayName:"Wizardstyles__Title",componentId:"sc-92tgek-5"})(["color:white;",""],kt.title),Mt=xt.div.withConfig({displayName:"Wizardstyles__Form",componentId:"sc-92tgek-6"})([""," ",""],Ot.form,Ot.custom),It=xt.span.withConfig({displayName:"Wizardstyles__StepsCount",componentId:"sc-92tgek-7"})(["",""],kt.stepsCount),Nt=xt.div.withConfig({displayName:"Wizardstyles__Body",componentId:"sc-92tgek-8"})(["",""],Ct.size),Rt=xt.div.withConfig({displayName:"Wizardstyles__Footer",componentId:"sc-92tgek-9"})(["",""],Et.size),zt=xt.div.withConfig({displayName:"Wizardstyles__Step",componentId:"sc-92tgek-10"})([""]),Bt=function(e,t,n){return"function"===typeof e?e(t,n):e[t]};function Lt(e,t){var n=e.localization;return function(e,r){var o,i;return n&&(i=Bt(n,e,r)),null!==(o=i)&&void 0!==o?o:Bt(t,e,r)}}var Ht=function(e,t){return"ds.wizard.steps"===e?"(\u0448\u0430\u0433 ".concat(null===t||void 0===t?void 0:t.value," \u0438\u0437 ").concat(null===t||void 0===t?void 0:t.count,")"):""},Ut=["children","size","value","onChange"],Vt=V("wizard.stepPoints",{horizontalRight:"size"}),qt=function(e){var t=e.children,n=e.size,o=void 0===n?"m":n,i=e.value,a=e.onChange,s=N(e,Ut),l=r.Children.toArray(t),u=M((0,r.useState)("horizontal"),2),c=u[0],d=u[1],f=M((0,r.useState)(0),2),p=f[0],h=f[1],v=(0,r.useRef)(null),m=(0,r.useRef)(null),g=Lt(e,Ht),y=function(){var e=m.current&&m.current.getBoundingClientRect(),t=v.current&&v.current.getBoundingClientRect(),n=parseInt(Vt.horizontalRight({size:o}),10);t&&e&&t.width+n>=.2*e.width?(d("vertical"),h(n)):(t&&h(n+t.width),d("horizontal"))};(0,r.useEffect)((function(){y()}),[]),(0,R.useWindowResize)(y);var b=(0,r.useMemo)((function(){var e=l.find((function(e){return e&&String(e.type)===String(Rt)}));return r.cloneElement(e,{size:o})}),[l,o]),w=(0,r.useMemo)((function(){return l.find((function(e){return e&&String(e.type)===String(Nt)}))}),[l]),x=(0,r.useMemo)((function(){var e,t=null===w||void 0===w||null===(e=w.props)||void 0===e?void 0:e.children.filter((function(e){return e&&String(e.type)===String(zt)}));return Array.isArray(t)?t:[]}),[l]),k=(0,r.useMemo)((function(){return Array.isArray(x)&&x[i]}),[x,i]),S=(0,r.useCallback)((function(e){return function(){"function"===typeof a&&a(e,{isActive:e<=i})}}),[i,a]),_=(0,r.useMemo)((function(){if(!k)return null;for(var e=k.props.title,t=x.length,n=[],s=0;s<t;s++)n.push(r.createElement(Tt,{canClickStep:"function"===typeof a,type:s===i?"active":s<i?"elapsed":"empty",key:s,onClick:S(s)}));return r.createElement(At,{ref:m,size:o,orientation:c,padding:p},r.createElement(jt,null,r.createElement(Dt,null,e),r.createElement(It,null,g("ds.wizard.steps",{count:t,value:i+1}))),r.createElement(Pt,{ref:v,orientation:c,size:o},n))}),[k,o,c,a,i,p]);return r.createElement(Ft,s,_,r.createElement(Mt,null,r.cloneElement(w,{size:o,children:k}),b))};qt.displayName="Wizard",qt.defaultProps={size:"m",value:0},qt.Step=zt,qt.Body=Nt,qt.Footer=Rt;function Wt(){return Wt=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},Wt.apply(this,arguments)}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(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,r.key,r)}}function Kt(e,t,n){return t&&Gt(e.prototype,t),n&&Gt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qt(e,t){return Qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qt(e,t)}function Zt(e,t){if("function"!==typeof t&&null!==t)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&&Qt(e,t)}function Xt(e){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xt(e)}function Jt(e,t){if(t&&("object"===Xt(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},en(e)}var tn=["color","size"];function nn(){return nn=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},nn.apply(this,arguments)}function rn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var on={xs:12,s:16,m:20,l:24,xl:32},an=function(e){var t=e.color,n=void 0===t?"currentColor":t,o=e.size,i=void 0===o?"m":o,a=rn(e,tn),s=on[i]||i;return r.createElement("svg",nn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:s,height:s,fill:n},a),r.createElement("path",{d:"M17.658 19.07l1.414-1.413-4.313-4.314c-.778-.777-.708-1.98.07-2.757l4.243-4.243-1.414-1.414-4.243 4.242c-.636.637-.778 1.485-.424 2.263l-.071.07L6.344 4.93 4.93 6.343l4.242 4.243c.778.777.849 1.98 0 2.828L4.93 17.657l1.414 1.414 4.242-4.243c.637-.636.778-1.485.425-2.262l.07-.071 6.577 6.576z"}))};an.defaultProps={size:"m",color:"currentColor"},an.displayName="Close";var sn=["color","size"];function ln(){return ln=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},ln.apply(this,arguments)}function un(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var cn={xs:12,s:16,m:20,l:24,xl:32},dn=function(e){var t=e.color,n=void 0===t?"currentColor":t,o=e.size,i=void 0===o?"m":o,a=un(e,sn),s=cn[i]||i;return r.createElement("svg",ln({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:s,height:s,fill:n},a),r.createElement("path",{d:"M11 13V7h2v6h-2zM12 17a1.25 1.25 0 110-2.5 1.25 1.25 0 010 2.5z"}),r.createElement("path",{fillRule:"evenodd",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 100-16 8 8 0 000 16z",clipRule:"evenodd"}))};dn.defaultProps={size:"m",color:"currentColor"},dn.displayName="WarningRing";var fn=["color","size"];function pn(){return pn=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},pn.apply(this,arguments)}function hn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var vn={xs:12,s:16,m:20,l:24,xl:32},mn=function(e){var t=e.color,n=void 0===t?"currentColor":t,o=e.size,i=void 0===o?"m":o,a=hn(e,fn),s=vn[i]||i;return r.createElement("svg",pn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:s,height:s,fill:n},a),r.createElement("path",{d:"M21.82 20H5.88c-1.31 0-2.04.4-2.82 1.35h-.13l8.01-14.38c.62-1.12.67-2.02.24-3.17l.06-.11 7.98 14.39c.63 1.14 1.33 1.58 2.55 1.8l.05.12zM11 15h2v-5h-2v5zm1 3.75a1.25 1.25 0 10-.001-2.5 1.25 1.25 0 000 2.5zM2 22h20c.86 0 1.25-.84.8-1.65L12.87 2.51a.997.997 0 00-1.74 0L1.16 20.43C.75 21.16 1.14 22 2 22z"}))};mn.defaultProps={size:"m",color:"currentColor"},mn.displayName="WarningTr";var gn=["color","size"];function yn(){return yn=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},yn.apply(this,arguments)}function bn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var wn={xs:12,s:16,m:20,l:24,xl:32},xn=function(e){var t=e.color,n=void 0===t?"currentColor":t,o=e.size,i=void 0===o?"m":o,a=bn(e,gn),s=wn[i]||i;return r.createElement("svg",yn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:s,height:s,fill:n},a),r.createElement("path",{d:"M7.833 14.28l-2.88-2.88-1.41 1.42 5 4.99c.42.41.99.42 1.41 0l11.62-11.62-1.41-1.41-11.86 11.85-.09-.09c.43-.8.27-1.61-.38-2.26z"}))};xn.defaultProps={size:"m",color:"currentColor"},xn.displayName="Checkmark";var kn=["color","size"];function Sn(){return Sn=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},Sn.apply(this,arguments)}function _n(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Cn={xs:12,s:16,m:20,l:24,xl:32},En=function(e){var t=e.color,n=void 0===t?"currentColor":t,o=e.size,i=void 0===o?"m":o,a=_n(e,kn),s=Cn[i]||i;return r.createElement("svg",Sn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:s,height:s,fill:n},a),r.createElement("path",{d:"M12.41 12.01H9v-2h3c.6 0 1 .4 1 1v5h2v2H9v-2h2v-2.13c0-1.06.53-1.62 1.41-1.75v-.12zM12 20c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8zm0 2C6.48 22 2 17.52 2 12S6.48 2 12 2s10 4.48 10 10-4.48 10-10 10zm1.5-14.49c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5z"}))};En.defaultProps={size:"m",color:"currentColor"},En.displayName="InfoRing";function On(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fn=n(1216);function An(e,t){var n=(0,Fn.readObjectByPath)(t,e);return n||(0,Fn.readObjectByPath)(B(),e)}var Dn=function(e,t){return Object.assign.apply(Object,[{}].concat(On(Object.keys(t).map((function(n){var r=t[n];return $t({},n,"function"===typeof r?function(e,t,n){return function(r){return n(r,e,t)}}(e,n,r):function(e,t,n){return function(r){return An(function(e,t,n,r){return"function"===typeof r?r(e):"".concat(t,".").concat(n).concat(r?".".concat(e[r]):"")}(r,e,t,n),r.theme)}}(e,n,r))})))))},Pn=768,Tn=1024,jn=1920,Mn=2560,In={xs:"(max-width: ".concat(Pn-1,"px)"),s:"(min-width: ".concat(Pn,"px)"),belowS:"(max-width: ".concat(Pn-1,"px)"),m:"(min-width: ".concat(Tn,"px)"),belowM:"(max-width: ".concat(Tn-1,"px)"),l:"(min-width: ".concat(jn,"px)"),belowL:"(max-width: ".concat(jn-1,"px)"),xl:"(min-width: ".concat(Mn,"px)")},Nn=null;function Rn(e){var t,n=null===(t=e.theme)||void 0===t?void 0:t.breakpoints;return null!==n&&void 0!==n?n:function(){var e;return null!==(e=Nn)&&void 0!==e?e:In}()}function zn(e,t,n){var r,o,i;if("object"===Xt(e[n]))return e[n];var a=e.media?function(e,t){return Object.assign.apply(Object,[{}].concat(On(Object.keys(e).map((function(n){var r=e[n][t];if(r)return $t({},n,r)})))))}(e.media,n):void 0;if("object"===Xt(a))return a;var s=null===(r=e.theme)||void 0===r||null===(o=r.media)||void 0===o||null===(i=o[t])||void 0===i?void 0:i[n];return"object"===Xt(s)?s:{}}function Bn(e,t,n,r,o){var i=Rn(e),a=zn(e,t,n);if(void 0===a.base){var s;if(void 0===e[n]&&void 0===o)return;a.base=null!==(s=e[n])&&void 0!==s?s:o}var l,u=function(e,t,n){return Object.assign.apply(Object,[{}].concat(On(Object.keys(e).map((function(r){return $t({},"base"===r?r:t[r],n(e[r]))})))))}(a,i,r);return l=u,Object.keys(l).map((function(e){return"base"===e?nt(["",""],l.base):nt(["@media only screen and ","{","}"],e,l[e])}))}function Ln(e,t){return function(n,r,o){return Bn(n,r,e,(function(e){return An("".concat(r,".").concat(o,".").concat(e),n.theme)}),t)}}function Hn(e,t,n){return function(r){var o,i="function"===typeof n?n:(o=n,function(e){return"".concat(o,": ").concat(e,";")});return Bn(r,e,t,i)}}var Un=Dn("alert",{base:null,design:"design",dynamic:null,title:null,icon:null,titleGap:null,actionsGap:null,custom:null,textContainer:null,compact:Ln("compact",!1)}),Vn=xt.div.withConfig({displayName:"Alertstyles__IconContainer",componentId:"sc-178cdbu-0"})(["",""],Un.icon),qn=xt.div.withConfig({displayName:"Alertstyles__Title",componentId:"sc-178cdbu-1"})(["",""],Un.title),Wn=xt.div.withConfig({displayName:"Alertstyles__TextContainer",componentId:"sc-178cdbu-2"})(["display:flex;",""],Un.textContainer),$n=xt.div.withConfig({displayName:"Alertstyles__Box",componentId:"sc-178cdbu-3"})(["display:flex;flex-direction:row;align-items:flex-start;position:relative;"," "," "," ","{",";}","{","}"," ",""],Un.base,Un.design,(function(e){return e.dynamic&&nt(["",""],Un.dynamic)}),Wn,Hn("alert","compact",(function(e){return"\n flex-direction: ".concat(e?"column":"row",";\n ")})),qn,Un.compact,(function(e){var t=e.compactBelow;return t&&nt(["@media (max-width:","px){","{flex-direction:column;","{","}}}"],t,Wn,qn,Un.titleGap)}),Un.custom),Yn=xt.div.withConfig({displayName:"Alertstyles__Actions",componentId:"sc-178cdbu-4"})(["",""],Un.actionsGap),Gn=["title","children","noIcon","actions","compactBelow","compact"];function Kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kn(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zn={error:dn,warning:mn,success:xn,plain:En,accent:En},Xn=V("alert.buttons",{base:null,design:"design"}),Jn=function(e){var t=e.title,n=e.children,o=e.noIcon,i=e.actions,a=e.compactBelow,s=e.compact,l=N(e,Gn),u=e.design&&Zn[e.design],c=!!i||s;a&&console.warn('"compactBelow" property is deprecated and will be removed in the next major version. Use "compact" instead.');var d=(0,r.useContext)(pt),f=(0,r.useMemo)((function(){return function(e){return{button:Qn({custom:Xn.base(e)},Xn.design(e))}}(Qn(Qn({},e),{},{theme:d}))}),[e.design,d]);return r.createElement($n,Wt({compactBelow:a,compact:c},l),!o&&r.createElement(Vn,null,r.createElement(u,{size:"l"})),r.createElement(Wn,null,t&&r.createElement(qn,null,t),r.createElement("div",null,n),i&&r.createElement(ht,{theme:f},r.createElement(Yn,null,i))))};Jn.defaultProps={design:"plain",compact:!1},Jn.displayName="Alert";var er=V("notifications.notification",{size:null,sizeCompact:null,close:null,notificationsGap:null}),tr=V("notifications.notification.close",{base:null,design:"design",hover:null}),nr=xt.span.withConfig({displayName:"Notificationstyles__CloseBox",componentId:"sc-1fu3ive-0"})(["position:absolute;"," "," &:hover{","}"],tr.base,tr.design,tr.hover),rr=wt(["0%{opacity:0;transform:translateY(-40px);}100%{opacity:1;transform:translateY(0);}"]),or=wt(["0%{opacity:1;}100%{opacity:0;height:0;}"]),ir=xt.div.withConfig({displayName:"Notificationstyles__Box",componentId:"sc-1fu3ive-1"})(["transition:height 0.5s ease;"," "," "," ",""],er.size,er.notificationsGap,(function(e){var t=e.compactBelow;return t&&nt(["@media (max-width:","px){","}"],t,er.sizeCompact)}),(function(e){return nt(["animation:"," 0.5s ease forwards;"],e.open?rr:or)})),ar=["onClose"],sr=["children","compactBelow","compact","actions","design"];function lr(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=en(e);if(t){var o=en(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jt(this,n)}}var ur=function(e){Zt(n,e);var t=lr(n);function n(e){var o;return Yt(this,n),(o=t.call(this,e)).timer=void 0,o.containerRef=r.createRef(),o.mouseHandlers=void 0,o.setTimer=function(){var e=o.props.delay;e&&e>0&&!o.timer&&(o.timer=window.setTimeout((function(){return o.handleClose(null)}),e))},o.cancelTimer=function(){o.timer&&(clearTimeout(o.timer),o.timer=null)},o.handleClose=function(e){var t=o.props,n=t.onClose,r=N(t,ar);n&&o.setState({open:!1},(function(){return setTimeout((function(){n(e,r)}),500)})),o.cancelTimer()},o.state={open:!0},o.mouseHandlers=e.pinWithMouse?{onMouseEnter:o.cancelTimer,onMouseLeave:o.setTimer}:{},o}return Kt(n,[{key:"componentDidMount",value:function(){this.setTimer();var e=this.containerRef.current,t=function(e){return getComputedStyle(e).height};if(e){var n=t(e);e.style.height="0",t(e),e.style.height=n}}},{key:"componentWillUnmount",value:function(){this.cancelTimer()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.compactBelow,o=e.compact,i=e.actions,a=e.design,s=N(e,sr),l=this.state.open;return r.createElement(ir,Wt({ref:this.containerRef,open:l,compactBelow:n},this.mouseHandlers),r.createElement(Jn,Wt({design:a,actions:i,compact:o,compactBelow:n},s),t,r.createElement(nr,{design:a,onClick:this.handleClose},r.createElement(an,null))))}}]),n}(r.PureComponent);ur.defaultProps={design:"plain"};var cr=V("notifications",{actionsGap:null,align:"align",valign:"valign"}),dr=xt.div.withConfig({displayName:"Notificationsstyles__Box",componentId:"sc-1tuqb6v-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;position:fixed;z-index:99999999;margin:12px 0;transition:height 0.5s ease;"," "," ",""],(function(e){return"top"===e.valign&&nt(["flex-direction:column-reverse;"])}),cr.align,cr.valign),fr=["delay","children","compactBelow","compact","pinWithMouse"],pr=["message","actions"];function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mr(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=en(e);if(t){var o=en(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jt(this,n)}}var gr=function(e){Zt(n,e);var t=mr(n);function n(e){var r;return Yt(this,n),(r=t.call(this,e)).service=void 0,r.theme=void 0,r.handleClose=function(e,t){r.service.remove(t.id),r.props.onClose&&r.props.onClose(e,t)},r.buildTheme=function(){var e=V("notifications.notification",{design:null,button:null,actionsGap:null,notificationsGap:null});return{alert:{design:e.design(r.props),custom:e.notificationsGap(r.props),buttons:{design:{success:e.button(r.props),error:e.button(r.props),warning:e.button(r.props),plain:e.button(r.props),accent:e.button(r.props)}}}}},r.service=e.service,r.theme=r.buildTheme(),r}return Kt(n,[{key:"componentDidMount",value:function(){var e=this;this.service.init((function(){return e.forceUpdate()}),this.props.limit)}},{key:"render",value:function(){var e=this,t=this.props,n=t.delay,o=t.children,i=t.compactBelow,a=t.compact,s=t.pinWithMouse,l=N(t,fr),u=this.service.get().map((function(t){var l=t.message,u=t.actions,c=N(t,pr),d=vr({delay:t.delay?t.delay:n,compactBelow:t.compactBelow?t.compactBelow:i,compact:t.compact?t.compact:a,onClose:e.handleClose,pinWithMouse:s},c);return o&&"function"===typeof o?o(vr({message:l,actions:u},d)):r.createElement(ur,Wt({key:t.id,actions:u},d),l)}));return r.createElement(ht,{theme:this.theme},r.createElement(dr,l,u))}},{key:"componentWillUnmount",value:function(){this.service.clear()}}]),n}(r.PureComponent);gr.displayName="Notifications",gr.Notification=ur,gr.defaultProps={delay:5e3,align:"center",valign:"top"};var yr=!1;if("undefined"!==typeof window){var br={get passive(){yr=!0}};window.addEventListener("testPassive",null,br),window.removeEventListener("testPassive",null,br)}var wr="undefined"!==typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),xr=[],kr=!1,Sr=-1,_r=void 0,Cr=void 0,Er=void 0,Or=function(e){return xr.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},Fr=function(e){var t=e||window.event;return!!Or(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},Ar=function(){void 0!==Er&&(document.body.style.paddingRight=Er,Er=void 0),void 0!==_r&&(document.body.style.overflow=_r,_r=void 0)},Dr=function(){if(void 0!==Cr){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=Cr.position,document.body.style.top=Cr.top,document.body.style.left=Cr.left,window.scrollTo(t,e),Cr=void 0}},Pr=function(e,t){if(e){if(!xr.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};xr=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(xr),[n]),wr?window.requestAnimationFrame((function(){if(void 0===Cr){Cr={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,r=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-n,setTimeout((function(){return window.requestAnimationFrame((function(){var e=r-window.innerHeight;e&&t>=r&&(document.body.style.top=-(t+e))}))}),300)}})):function(e){if(void 0===Er){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);Er=document.body.style.paddingRight,document.body.style.paddingRight=r+n+"px"}}void 0===_r&&(_r=document.body.style.overflow,document.body.style.overflow="hidden")}(t),wr&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(Sr=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-Sr;!Or(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?Fr(e):e.stopPropagation())}(t,e)},kr||(document.addEventListener("touchmove",Fr,yr?{passive:!1}:void 0),kr=!0))}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},Tr=V("groups",{size:"size",custom:null,customItem:null}),jr=xt.div.withConfig({displayName:"Groupsstyles__Box",componentId:"sc-1m1smum-0"})(["display:",";flex-direction:",";justify-content:",";align-content:flex-start;align-items:",";margin-bottom:-",";flex-wrap:wrap;vertical-align:middle;width:100%;"," ",""],(function(e){return"horizontal"===e.design?"inline-flex":"flex"}),(function(e){return"horizontal"===e.design?"row":"column"}),(function(e){return e.justifyContent}),(function(e){return e.alignItems}),Tr.size,(function(e){return"full"===e.height&&nt(["align-items:flex-start;height:100%;"])}),Tr.custom),Mr=xt.div.withConfig({displayName:"Groupsstyles__Item",componentId:"sc-1m1smum-1"})(["position:relative;margin-bottom:",";height:100%;display:flex;align-content:center;align-items:center;"," "," ",""],Tr.size,(function(e){return"horizontal"===e.design&&nt(["margin-right:",";width:auto;flex:none;&:last-child{margin-right:0;}"],Tr.size)}),(function(e){return"vertical"===e.design&&nt(["width:100%;flex:none;"])}),Tr.customItem),Ir=["children","design","size","height","clean"],Nr=function(e){var t=e.children,n=e.design,o=e.size,i=e.height,a=e.clean,s=void 0!==a&&a,l=N(e,Ir),u=r.Children.toArray(t),c=s?u.reduce((function(e,t){return(0,r.isValidElement)(t)&&(t.type===r.Fragment?t.props.children&&e.push.apply(e,On(r.Children.toArray(t.props.children))):e.push(t)),e}),[]).map((function(e,t){return(0,r.isValidElement)(e)?(0,r.cloneElement)(e,{key:".$.".concat(t)}):null})):u;return r.createElement(jr,Wt({},l,{design:n,size:o,height:i}),r.Children.map(c,(function(e){return e?r.createElement(Mr,{design:n,size:o},e):null})))};Nr.defaultProps={design:"horizontal",size:"m",height:"auto",alignItems:"center",justifyContent:"flex-start",clean:!1},Nr.displayName="Groups";var Rr=["color","size"];function zr(){return zr=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},zr.apply(this,arguments)}function Br(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Lr={xs:12,s:16,m:20,l:24,xl:32},Hr=function(e){var t=e.color,n=void 0===t?"currentColor":t,o=e.size,i=void 0===o?"m":o,a=Br(e,Rr),s=Lr[i]||i;return r.createElement("svg",zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:s,height:s,fill:n},a),r.createElement("path",{d:"M12.06 14.31h-.12C10.55 11.31 7.81 9 4 9v2c2.96 0 4.99 1.59 7.03 5.28.25.45.52.72.97.72.45 0 .74-.27.99-.72C15.03 12.59 17.04 11 20 11V9c-3.81 0-6.55 2.31-7.94 5.31z"}))};Hr.defaultProps={size:"m",color:"currentColor"},Hr.displayName="SelectOpenDown";var Ur=["color","size"];function Vr(){return Vr=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},Vr.apply(this,arguments)}function qr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Wr={xs:12,s:16,m:20,l:24,xl:32},$r=function(e){var t=e.color,n=void 0===t?"currentColor":t,o=e.size,i=void 0===o?"m":o,a=qr(e,Ur),s=Wr[i]||i;return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:s,height:s,fill:n},a),r.createElement("path",{d:"M11.94 10.69h.12c1.39 3 4.13 5.31 7.94 5.31v-2c-2.96 0-4.99-1.59-7.03-5.28-.25-.45-.52-.72-.97-.72-.45 0-.74.27-.99.72C8.97 12.41 6.96 14 4 14v2c3.81 0 6.55-2.31 7.94-5.31z"}))};$r.defaultProps={size:"m",color:"currentColor"},$r.displayName="SelectHide";var Yr=Dn("input.native",{base:null,size:Ln("size","m"),design:"design"}),Gr=Dn("input.placeholder",{base:null,gap:null}),Kr=Dn("input.wrapper",{base:null,design:"design",size:Ln("size","m"),hover:"design",invalid:"design",disabled:"design"}),Qr=Dn("input.wrapped",{base:null,disabled:null}),Zr=Dn("input.wrapped.disabled",{color:null}),Xr=Dn("input.infix",{base:null,hover:null,size:"size"}),Jr=Dn("input.prefix",{base:null}),eo=Dn("input.postfix",{base:null}),to=Dn("input.custom",{input:null,placeholder:null,wrapper:null,infix:null,prefix:null,postfix:null}),no=xt.div.withConfig({displayName:"Inputstyles__Placeholder",componentId:"sc-keqbte-0"})([""," "," "," "," "," line-height:normal;overflow:hidden;",""],Yr.size,Yr.design,Gr.base,(function(e){return e.disabled&&Gr.disabled}),Gr.gap,to.placeholder),ro=xt.div.withConfig({displayName:"Inputstyles__Box",componentId:"sc-keqbte-1"})(["position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;line-height:normal;"]),oo=xt.input.withConfig({displayName:"Inputstyles__StyledInput",componentId:"sc-keqbte-2"})(["position:relative;padding:0;"," "," "," "," &::placeholder{","}&::-ms-clear,&::-ms-reveal{display:none;}",""],Yr.base,Yr.size,Yr.design,(function(e){return nt(["text-align:",";"],e.align)}),Gr.base,to.input),io=xt.div.withConfig({displayName:"Inputstyles__Prefix",componentId:"sc-keqbte-3"})(["display:flex;align-items:center;justify-content:center;"," "," "," "," "," ",""],Xr.base,Xr.size,(function(e){return e.active&&Xr.hover}),Jr.base,to.infix,to.prefix),ao=xt.div.withConfig({displayName:"Inputstyles__Postfix",componentId:"sc-keqbte-4"})(["display:flex;align-items:center;justify-content:center;"," "," "," "," "," ",""],Xr.base,Xr.size,(function(e){return e.active&&Xr.hover}),eo.base,to.infix,to.postfix),so=xt.div.withConfig({displayName:"Inputstyles__Wrapped",componentId:"sc-keqbte-5"})(["height:100%;width:100%;"," & > *,input{","}",""],Qr.base,Qr.base,(function(e){return e.disabled&&nt([""," & *,input{"," opacity:1;-webkit-text-fill-color:",";&::placeholder{"," opacity:1;-webkit-text-fill-color:",";}}"],Qr.disabled,Qr.disabled,Zr.color,Qr.disabled,Zr.color)})),lo=xt.label.withConfig({displayName:"Inputstyles__Wrapper",componentId:"sc-keqbte-6"})(["display:flex;flex-direction:row;align-items:center;justify-content:center;box-sizing:border-box;white-space:nowrap;overflow:hidden;"," "," "," "," "," "," "," &:hover{","}"],Kr.base,Kr.size,Kr.design,to.wrapper,(function(e){return e.disabled&&Kr.disabled(e)}),(function(e){return e.invalid&&Kr.invalid(e)}),(function(e){return e.active&&Kr.hover(e)}),Kr.hover),uo=xt.div.withConfig({displayName:"Inputstyles__PlaceholderWrapper",componentId:"sc-keqbte-7"})(["position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;"]),co=xt.span.withConfig({displayName:"Inputstyles__Invisible",componentId:"sc-keqbte-8"})(["color:transparent;"]),fo=["onDespose","smartPlaceholder","design","size","align","placeholderValueAutoDiff","onUpdated","value"],po=r.forwardRef((function(e,t){var n=e,o=n.onDespose,i=n.smartPlaceholder,a=n.design,s=void 0===a?"outline":a,l=n.size,u=void 0===l?"l":l,c=n.align,d=void 0===c?"left":c,f=n.placeholderValueAutoDiff,p=void 0===f||f,h=n.onUpdated,v=n.value,m=N(n,fo),g=(0,r.useRef)(null),y=(0,r.useRef)(null),b=M((0,r.useState)(i),2),w=b[0],x=b[1];(0,r.useEffect)((function(){return"function"===typeof t?t(y.current):t&&"current"in t&&(t.current=y.current),function(){"function"===typeof t?t(null):t&&"current"in t&&(t.current=null),"function"===typeof o&&o()}}),[t,y]),(0,r.useEffect)((function(){if(y.current){if(!p)return void x(i);if("string"===typeof i&&v){var e=i.substr(0,v.length),t=i.substring(v.length);return void x(r.createElement(r.Fragment,null,r.createElement(co,null,e),r.createElement("span",null,t)))}}x(i)}),[i,p,v]);var k=(0,r.useCallback)((function(e){null!==g&&void 0!==g&&g.current&&(g.current.scrollLeft=e.target.scrollLeft)}),[]);return(0,r.useEffect)((function(){"function"===typeof h&&h()})),(0,r.useEffect)((function(){i&&"left"!==d&&console.warn("Input: \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c smartPlaceholder \u043f\u0440\u0438 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0438, \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u043c \u043e\u0442 left")}),[i,d]),r.createElement(ro,null,i&&"left"===d&&r.createElement(uo,null,r.createElement(no,{ref:g,design:s,size:u},w)),r.createElement(oo,Wt({ref:y,value:v,size:u,design:s,align:d,onScroll:k},m)))}));po.displayName="NativeInput";var ho=function(e){var t=e.size,n=e.active,o=e.target,i=void 0===o?po:o,a=r.Children.toArray(e.children),s=a.findIndex((function(e){return e.type&&e.type.toString()===i.toString()})),l=a.slice(0,s),u=a.slice(s+1,a.length);return r.createElement(lo,e,Boolean(l.length)&&r.createElement(io,{size:t,active:n},l),r.createElement(so,{disabled:e.disabled},a[s]),Boolean(u.length)&&r.createElement(ao,{size:t,active:n},u))};ho.displayName="InputWrapper",ho.defaultProps={design:"outline",size:"l"};const vo=ho;var mo=Dn("select",{base:null,placeholder:null,placeholderDisabled:null,custom:null}),go=Dn("select.part",{base:null,focus:null}),yo=Dn("select.current",{size:Ln("size","m"),custom:null}),bo=Dn("select.wrapper",{size:Ln("size","m")}),wo=xt.div.withConfig({displayName:"Selectstyles__Part",componentId:"sc-kj5qoz-0"})(["display:flex;align-items:center;justify-content:center;"," "," &:hover{","}"],go.base,(function(e){return e.active&&nt(["",""],go.focus)}),go.focus),xo=xt.div.withConfig({displayName:"Selectstyles__Current",componentId:"sc-kj5qoz-1"})(["white-space:nowrap;text-overflow:ellipsis;overflow:hidden;height:100%;display:flex;align-items:center;overflow-y:auto;"," ","{padding:0;width:100%;height:auto;border-radius:0;}","{padding:0;}",""],yo.size,oo,no,mo.custom),ko=xt.div.withConfig({displayName:"Selectstyles__Box",componentId:"sc-kj5qoz-2"})(["position:relative;"," ",""],mo.base,mo.custom),So=xt.div.withConfig({displayName:"Selectstyles__Placeholder",componentId:"sc-kj5qoz-3"})(["width:100%;overflow:hidden;"," ",""],mo.placeholder,(function(e){return e.disabled&&mo.placeholderDisabled})),_o=xt(vo).withConfig({displayName:"Selectstyles__StyledInputWrapper",componentId:"sc-kj5qoz-4"})(["","{","}"],so,bo.size),Co=Dn("dropList.item",{base:null,size:Ln("size","m"),hover:null,selected:null,disabled:null,custom:null}),Eo=xt.div.withConfig({displayName:"Itemstyles__Box",componentId:"sc-ff9fwk-0"})(["display:flex;align-items:center;white-space:nowrap;flex:0 0 auto;box-sizing:border-box;position:relative;"," "," &:hover{","}"," "," "," "," ",""],Co.base,Co.size,Co.hover,(function(e){return e.hover&&Co.hover}),(function(e){return e.selected&&Co.selected}),(function(e){return e.disabled&&Co.disabled}),(function(e){return e.wrapLine&&nt(["white-space:normal;"])}),Co.custom),Oo=["children","hover","size","scrollWhenHovered"],Fo=r.forwardRef((function(e,t){var n=e.children,o=e.hover,i=e.size,a=void 0===i?"m":i,s=e.scrollWhenHovered,l=void 0!==s&&s,u=N(e,Oo),c=(0,r.useRef)(null);return(0,r.useEffect)((function(){"function"===typeof t?t(c.current):t&&"current"in t&&(t.current=c.current)})),(0,r.useEffect)((function(){c.current&&c.current.parentNode&&o&&l&&(c.current.parentNode.scrollTop=c.current.offsetTop)}),[o,l]),r.createElement(Eo,Wt({ref:c,hover:o},u,{size:a,role:"option","aria-disabled":!!u.disabled,"aria-selected":!!u.selected}),n)}));Fo.displayName="Item";var Ao=V("dropList.item",{hover:null}),Do=xt(Fo).withConfig({displayName:"Optionstyles__StyledOption",componentId:"sc-qfcww6-0"})(["justify-content:space-between;",""],(function(e){var t=e.hover,n=e.selected;return t?Ao.hover:n?"":"background-color: transparent!important;"})),Po=xt.div.withConfig({displayName:"Optionstyles__Value",componentId:"sc-qfcww6-1"})(["",""],(function(e){return!e.wrapLine&&nt(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"])})),To=xt.div.withConfig({displayName:"Optionstyles__Icon",componentId:"sc-qfcww6-2"})(["display:flex;"]),jo=["hover","selected","icon","children","value","onClick","wrapLine","disabled","size","valueToString"];const Mo=function(e){var t=e.hover,n=e.selected,o=e.icon,i=e.children,a=e.value,s=e.onClick,l=e.wrapLine,u=e.disabled,c=e.size,d=e.valueToString,f=void 0===d?function(e){return"string"===typeof e?e:null===e||void 0===e?void 0:e.value}:d,p=N(e,jo),h=(0,r.useRef)(null),v=(0,r.useRef)(!1),m=(0,r.useCallback)((function(){v.current=!0}),[]),g=(0,r.useCallback)((function(){v.current=!1}),[]),y=(0,r.useCallback)((function(e){e.preventDefault(),u||"function"!==typeof s||s(e,null===a||null!==a&&void 0!==a?a:i)}),[s,a,i,u]);if((0,R.useIsomorphicLayoutEffect)((function(){h.current&&h.current.parentNode&&n&&(h.current.parentNode.scrollTop=h.current.offsetTop)}),[n]),(0,R.useIsomorphicLayoutEffect)((function(){h.current&&h.current.parentNode&&t&&!v.current&&(h.current.parentNode.scrollTop=h.current.offsetTop)}),[t]),void 0===a&&void 0===i)return console.error("\u042d\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e value \u0438\u043b\u0438 children"),r.createElement(r.Fragment,null);var b="s"===c?"s":"m";return r.createElement(Do,Wt({ref:h,hover:t,selected:n,disabled:u,wrapLine:l,size:c,onMouseEnter:m,onMouseOut:g,onMouseDown:y},p),r.createElement(Po,{wrapLine:l},null!==i&&void 0!==i?i:f(a)),n&&r.createElement(To,null,null!==o&&void 0!==o?o:r.createElement(xn,{size:b})))};var Io={"ds.select.empty":"\u041d\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"},No=Dn("dropList.list",{base:null,custom:null}),Ro=xt.div.withConfig({displayName:"DropListstyles__Box",componentId:"sc-4sbsmw-0"})(["opacity:0;position:fixed;display:flex;flex-direction:column;z-index:1000;"," "," "," "," ",";",""],No.base,(function(e){return e.scrollable&&"overflow: auto;"}),(function(e){return e.fitItems&&nt(["max-width:100%;min-width:100%;"])}),(function(e){var t=e.width;return t&&nt(["min-width:","px;width:","px;max-width:","px;"],t,t,t)}),(function(e){var t=e.maxHeight;return t&&"max-height: ".concat(t,"px")}),No.custom),zo=["children","size","align","coords","fixed","float","margins","onMouseDown","container","followParentWhenScroll","fitItems","onHide"],Bo=r.forwardRef((function(e,t){var n=e.children,i=e.size,a=void 0===i?"m":i,s=e.align,l=void 0===s?"vertical":s,u=e.coords,c=e.fixed,d=e.float,f=void 0===d?"start":d,p=e.margins,h=e.onMouseDown,v=e.container,m=e.followParentWhenScroll,g=e.fitItems,y=e.onHide,b=N(e,zo),w=(0,r.useRef)(null),x=(0,R.useDrop)({align:l,float:f,margins:null!==p&&void 0!==p?p:"vertical"===l?{x:0,y:4}:{x:4,y:0},fixed:c,coords:u,container:v,parentRef:w,followParentWhenScroll:m,fitListToParent:g,callbacks:{onHide:y}});x&&("function"===typeof t&&t(x),t&&"object"===Xt(t)&&(t.current=x.current));var k=(0,r.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),"function"===typeof h&&(null===h||void 0===h||h(e))}),[h]),S=r.createElement(Ro,Wt({},b,{ref:x,role:"listbox",fitItems:g,onMouseDown:k}),r.Children.map(n,(function(e){return(0,r.isValidElement)(e)?r.cloneElement(e,{size:a}):null}))),_=(0,R.usePortal)();return c&&document?r.createElement(r.Fragment,null,r.createElement("div",{ref:w}),o.createPortal(S,null!==_&&void 0!==_?_:document.body)):S}));Bo.Item=Fo,Bo.defaultProps={size:"m",scrollable:!0,align:"vertical",float:"start"},Bo.displayName="DropList";var Lo=["__nowrap__"],Ho=["prefix","postfix","placeholder","disabled","invalid","tabIndex","options","value","inputValue","size","templateValue","design","openWhenFocus","maxListHeight","maxListWidth","valueToString","compare","onScroll","onSelect","onChange","onKeyDown","onBlur","children","onFocus","name","editable","fitOptions","mask","placeholderChar","lazy","definitions","mapToRadix","scale","min","max","smartPlaceholder","fixed"];function Uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qo={down:r.createElement(Hr,null),up:r.createElement($r,null)},Wo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"l",t=function(e){switch(e){case"xs":return"s";case"xl":case"xxl":return"l";default:return"m"}};if("string"===typeof e)return t(e);var n={};return Object.keys(e).forEach((function(r){n[r]=t(e[r])})),n},$o=r.forwardRef((function(e,t){var n=e.prefix,o=e.postfix,i=e.placeholder,a=e.disabled,s=e.invalid,l=e.tabIndex,u=e.options,c=e.value,d=e.inputValue,f=e.size,p=e.templateValue,h=e.design,v=e.openWhenFocus,m=e.maxListHeight,g=e.maxListWidth,y=e.valueToString,b=void 0===y?function(e){var t;return"object"!==Xt(e)||null===e?e:null!==(t=null===e||void 0===e?void 0:e.value)&&void 0!==t?t:""}:y,w=e.compare,x=void 0===w?function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.value)&&void 0!==t?t:e}:w,k=e.onScroll,S=e.onSelect,_=e.onChange,C=e.onKeyDown,E=e.onBlur,O=e.children,F=e.onFocus,A=e.name,D=e.editable,P=e.fitOptions,T=void 0===P||P,j=e.mask,I=e.placeholderChar,z=void 0===I?"_":I,B=e.lazy,L=e.definitions,H=e.mapToRadix,U=e.scale,V=e.min,q=e.max,W=e.smartPlaceholder,$=e.fixed,Y=N(e,Ho),G=Lt(e,Io),K={mask:j,placeholderChar:z,lazy:B,definitions:L,mapToRadix:H,scale:U,min:V,max:q},Q=M((0,R.useMask)(K),3),Z=Q[0],X=Q[1],J=Q[2];if(u&&O)return console.error("\u041d\u0435\u043b\u044c\u0437\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e options \u0438 children"),r.createElement(r.Fragment,null);var ee=(0,r.useRef)(null),te=(0,r.useRef)(null);(0,r.useEffect)((function(){"function"===typeof t?t(ee.current):t&&"current"in t&&(t.current=ee.current)}));var ne=M((0,r.useState)(!1),2),re=ne[0],oe=ne[1],ie=M((0,r.useState)(-1),2),ae=ie[0],se=ie[1],le=M((0,r.useState)(!1),2),ue=le[0],ce=le[1],de=M((0,r.useState)([]),2),fe=de[0],pe=de[1];(0,r.useEffect)((function(){if(re){if(Array.isArray(u)&&pe(u),"function"===typeof u){var t=u([]);t instanceof Promise&&t.then(pe).catch((function(){return null})),pe(t)}if("function"===typeof O)return void pe(O({props:e,currentIndex:0,Option:Mo}));O&&pe(r.Children.toArray(O))}}),[re,u,O,e]),(0,r.useEffect)((function(){re&&te.current&&te.current.focus()}),[re]);var he=(0,r.useCallback)((function(){oe(!1)}),[]),ve=(0,r.useCallback)((function(e,t){se(fe.findIndex((function(e){return e===t})))}),[fe]),me=(0,r.useCallback)((function(e){te.current||(a?e.target.blur():(ce(!0),v&&!ue&&oe(!0),"function"===typeof F&&F(e)))}),[F,a,v,ue]),ge=(0,r.useCallback)((function(e){te.current||(oe(!1),ce(!1),"undefined"!==typeof window&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),"function"===typeof E&&E(e))}),[E,te]),ye=(0,r.useCallback)((function(e,t){if("function"===typeof S){var n;if("string"!==typeof t&&null!==(n=t)&&void 0!==n&&n.props){var r,o;if(t.props.disabled)return;t.props.value||null===t.props.value?t=t.props.value:"string"===typeof(null===(r=t)||void 0===r||null===(o=r.props)||void 0===o?void 0:o.children)&&(t=t.props.children)}S(e,{name:A,value:t})}oe(!1)}),[S,A]),be=(0,r.useCallback)((function(e){var t=fe.length-1,n=ae;switch(e.key){case"Escape":oe(!1);break;case"ArrowDown":e.preventDefault(),re&&se(n=ae<t?ae+1:0);break;case"ArrowUp":e.preventDefault(),re?se(n=ae>0?ae-1:t):oe(!0);break;case"Enter":e.preventDefault(),re?ye(e,fe[ae]):oe(!0)}"function"===typeof C&&C(e,{name:A,index:n})}),[C,ae,ye,fe,re,A]),we=(0,r.useCallback)((function(e){var t=e.target;if(t.offsetHeight+t.scrollTop>t.scrollHeight-10&&"function"===typeof u){var n=u(On(fe));n instanceof Promise?n.then(pe).catch((function(){return null})):pe(n)}k&&k(e,{target:t,height:t.offsetHeight,scrollTop:t.scrollTop,scrollHeight:t.scrollHeight})}),[k,fe,u]),xe=(0,r.useCallback)((function(e){e.stopPropagation(),a||te.current||oe(!re)}),[a,re]),ke=(0,r.useCallback)((function(e){e.preventDefault(),ee.current&&ee.current.focus()}),[ee]),Se=(0,r.useCallback)((function(){var e=fe instanceof Promise?[]:fe.map((function(e,t){var n,o;if((null===e||void 0===e||null===(n=e.type)||void 0===n?void 0:n.toString())===Mo.toString()){var i=e.props.value,a=e.props.children,s=i?x(i)===x(c):b(a)===b(c);return r.cloneElement(e,Vo({role:"option","aria-selected":s,selected:s,valueToString:b,hover:t===ae,size:f,onMouseOver:function(t){return ve(t,e)},onClick:ye},e.props))}return null!==e&&void 0!==e&&null!==(o=e.props)&&void 0!==o&&o.__nowrap__?r.cloneElement(e,function(e){return e.__nowrap__,N(e,Lo)}(e.props)):r.createElement(Mo,Vo({role:"option","aria-selected":x(e)===x(c)||b(e)===b(c),key:t,selected:x(e)===x(c)||b(e)===b(c),valueToString:b,value:e,hover:t===ae,onMouseOver:function(t){return ve(t,e)},size:f,onClick:ye},e.props))}));return null!==e&&void 0!==e&&e.length?e:r.createElement(Mo,{disabled:!0},G("ds.select.empty"))}),[fe,ae,ye,c,b,x,f,ve,G]),_e=(0,r.useCallback)((function(){var e,t,n,o,s=(0,r.useRef)(!1),l=(0,r.useCallback)((function(){ce(!1),ee.current&&!s.current&&ee.current.focus()}),[]),u=d&&j?Z(d):d;return null!==(e=null!==(t=null!==(n=D&&re?r.createElement(po,Vo({ref:te,size:f,design:h,smartPlaceholder:null!==(o=d&&W)&&void 0!==o?o:J(d),onChange:function(e){"function"===typeof _&&te.current&&_(e,{name:A,value:j?Z(e.target.value):e.target.value,originalValue:j?X(e.target.value):e.target.value})},onFocus:function(e){e.stopPropagation(),s.current=!1,ue||"function"!==typeof F||F(e,{name:A,value:c}),ce(!0)},onDespose:l,onBlur:function(e){s.current=!0,oe(!1),"function"===typeof E&&E(e)}},void 0!==d?{value:u}:{})):null)&&void 0!==n?n:p)&&void 0!==t?t:b(c))&&void 0!==e?e:r.createElement(So,{disabled:a},i)}),[ue,i,c,d,p,f,b,re,D,A,_,E,F,h,X,Z,j,J,W,a]),Ce=function(e,t,n){var o,i,a,s;n="xs"===n?"s":"m",t||(t=qo);var l=e?null===(o=t)||void 0===o?void 0:o.up:null!==(i=null===(a=t)||void 0===a?void 0:a.down)&&void 0!==i?i:null===(s=t)||void 0===s?void 0:s.up;return r.cloneElement(l,{size:n})}(re,o,f);return r.createElement(ko,Wt({ref:ee,tabIndex:l,role:"listbox","aria-invalid":!!s,"aria-disabled":!!a,"aria-autocomplete":"list",onFocus:me,onBlur:ge,onMouseDown:xe,onKeyDown:be},Y),r.createElement(_o,{target:xo,design:h,active:ue,invalid:s,size:f,disabled:a},n&&r.createElement(wo,null,n),r.createElement(xo,{size:f},_e()),r.createElement(wo,{active:ue,onMouseDown:ke},Ce)),re&&r.createElement(Bo,{size:Wo(f),fitItems:T,maxHeight:m,fixed:$,width:g,followParentWhenScroll:$,onHide:he,onScroll:we},Se()))}));$o.displayName="Select",$o.defaultProps={size:"l",design:"outline",maxListHeight:300,openWhenFocus:!0,tabIndex:0,postfix:qo},$o.Option=Mo;var Yo={"ds.tabs.rest":"\u0415\u0449\u0435..."},Go=V("tabs",{base:null,custom:null}),Ko=V("tabs.tab",{base:null,design:"design",size:"size",active:null,disabled:null,hover:null,custom:null}),Qo=V("tabs.tab.line",{base:null,left:null,right:null,design:"design"}),Zo=V("tabs.combineTab",{base:null,item:"size"}),Xo=xt.div.withConfig({displayName:"Tabsstyles__Tab",componentId:"sc-vg0pw0-0"})(["position:relative;"," "," &:last-child{margin-right:0px;}"," &:before{position:absolute;content:'';left:50%;width:0px;"," "," "," ","}&:after{position:absolute;content:'';right:50%;width:0px;"," "," "," ","}"," &:hover{","}",""],Ko.base,Ko.size,(function(e){return e.active&&Ko.active}),Qo.base,Qo.design,Qo.right,(function(e){return e.active&&"width: 50%;"}),Qo.base,Qo.design,Qo.left,(function(e){return e.active&&"width: 50%;"}),(function(e){return e.disabled&&Ko.disabled}),Ko.hover,Ko.custom),Jo=xt.div.withConfig({displayName:"Tabsstyles__CombineTab",componentId:"sc-vg0pw0-1"})(["position:relative;visibility:hidden;",""],Zo.base),ei=xt.div.withConfig({displayName:"Tabsstyles__Box",componentId:"sc-vg0pw0-2"})(["outline:none;"," "," ",""],(function(e){return!e.resizable&&"width: 100%; height: 100%;"}),Go.base,Go.custom),ti=xt.div.withConfig({displayName:"Tabsstyles__Item",componentId:"sc-vg0pw0-3"})(["",""],Zo.item),ni=xt.span.withConfig({displayName:"Tabsstyles__Arrow",componentId:"sc-vg0pw0-4"})(["margin-left:4px;height:20px;display:inline-block;"]),ri=function(e){var t=e.children,n=e.value,o=e.design,i=e.size,a=e.onChange,s=e.comparator,l=e.resizable,u=Lt(e,Yo),c=M((0,r.useState)(!1),2),d=c[0],f=c[1],p=M((0,R.useCramList)(t),3),h=p[0],v=p[1],m=p[2],g=(0,r.useCallback)((function(e,t){"function"===typeof a&&a(e,t),f(!1)}),[a]),y=(0,r.useCallback)((function(){return r.Children.toArray(t).map((function(e){return r.cloneElement(e,{active:e.props.active?e.props.active:null===s||void 0===s?void 0:s(n,e.props.value),design:o,size:i,onClick:function(t){t.preventDefault(),e.props.disabled||g(t,e.props.value)}})}))}),[o,i,n,g,s,t]),b=(0,r.useCallback)((function(){f(!d)}),[d,f]),w=(0,r.useCallback)((function(){f(!1)}),[]),x=y(),k=x.slice(x.length-m);return r.createElement(ei,{ref:h,tabIndex:1,resizable:l,onBlur:w},x,l&&r.createElement(Jo,{ref:v,size:i},r.createElement(Xo,{design:o,size:i,onClick:b},"".concat(u("ds.tabs.rest")," "),r.createElement(ni,null,d?r.createElement($r,{size:"m"}):r.createElement(Hr,{size:"m"}))),d&&k.length&&r.createElement(Bo,{size:i,float:"end"},k.map((function(e,t){return function(e,t,n){var o=e.props,i=o.active,a=o.disabled,s=o.onClick,l=o.children;return r.createElement(Bo.Item,{key:t,selected:i,disabled:a,onClick:s},r.createElement(ti,{size:n},l),i&&r.createElement(xn,{size:"m"}))}(e,t,i)})))))};ri.Tab=Xo,ri.defaultProps={design:"accent",size:"l",resizable:!1,comparator:function(e,t){return e===t}},ri.displayName="Tabs";const oi={DataLayerAnalytics:Symbol.for("DataLayerAnalytics"),DigitalMarketingAnalytics:Symbol.for("DigitalMarketingAnalytics"),MetricAnalytics:Symbol.for("MetricAnalytics"),MetricRequestTime:Symbol.for("MetricRequestTime")},ii={MetricService:Symbol.for("MetricService"),DadataService:Symbol.for("DadataService"),DictionaryService:Symbol.for("DictionaryService"),EventService:Symbol.for("EventService"),FieldomService:Symbol.for("FieldomService"),FormsService:Symbol.for("FormsService"),NotificationService:Symbol.for("NotificationService"),NtbService:Symbol.for("NtbService"),PromocodeService:Symbol.for("PromocodeService"),SmsService:Symbol.for("SmsService"),SmsAuthService:Symbol.for("SmsAuthService"),SnapshotService:Symbol.for("SnapshotService"),SourcebusterService:Symbol.for("SourcebusterService"),DebitService:Symbol.for("DebitService")},ai={ScreensConfig:Symbol.for("ScreensConfig"),CardConfig:Symbol.for("CardConfig"),PromocodeConfig:Symbol.for("PromocodeConfig"),DataLayerConfig:Symbol.for("DataLayerConfig"),DeliveryConfig:Symbol.for("DeliveryConfig"),NavigationConfig:Symbol.for("NavigationConfig"),PurposeConfig:Symbol.for("PurposeConfig")},si=(Symbol.for("FieldomNearestMapper"),Symbol.for("FieldomRequestMapper"),Symbol.for("AnswersMapper"),{FormType:Symbol.for("FormType"),FormName:Symbol.for("FormName"),SmsEndpoint:Symbol.for("SmsEndpoint"),NtbEndpoint:Symbol.for("NtbEndpoint"),FormsEndpoint:Symbol.for("FormsEndpoint"),FieldomEndpoint:Symbol.for("FieldomEndpoint"),DebitEndpoint:Symbol.for("DebitEndpoint")});Symbol.for("SnapshotSender"),Symbol.for("FocusManager");function li(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ui(e){return!!e&&!!e[Xi]}function ci(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Ji}(e)||Array.isArray(e)||!!e[Zi]||!!(null===(t=e.constructor)||void 0===t?void 0:t[Zi])||gi(e)||yi(e))}function di(e,t,n){void 0===n&&(n=!1),0===fi(e)?(n?Object.keys:ea)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function fi(e){var t=e[Xi];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:gi(e)?2:yi(e)?3:0}function pi(e,t){return 2===fi(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function hi(e,t){return 2===fi(e)?e.get(t):e[t]}function vi(e,t,n){var r=fi(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function mi(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function gi(e){return Yi&&e instanceof Map}function yi(e){return Gi&&e instanceof Set}function bi(e){return e.o||e.t}function wi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ta(e);delete t[Xi];for(var n=ea(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function xi(e,t){return void 0===t&&(t=!1),Si(e)||ui(e)||!ci(e)||(fi(e)>1&&(e.set=e.add=e.clear=e.delete=ki),Object.freeze(e),t&&di(e,(function(e,t){return xi(t,!0)}),!0)),e}function ki(){li(2)}function Si(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function _i(e){var t=na[e];return t||li(18,e),t}function Ci(e,t){na[e]||(na[e]=t)}function Ei(){return Wi}function Oi(e,t){t&&(_i("Patches"),e.u=[],e.s=[],e.v=t)}function Fi(e){Ai(e),e.p.forEach(Pi),e.p=null}function Ai(e){e===Wi&&(Wi=e.l)}function Di(e){return Wi={p:[],l:Wi,h:e,m:!0,_:0}}function Pi(e){var t=e[Xi];0===t.i||1===t.i?t.j():t.g=!0}function Ti(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||_i("ES5").S(t,e,r),r?(n[Xi].P&&(Fi(t),li(4)),ci(e)&&(e=ji(t,e),t.l||Ii(t,e)),t.u&&_i("Patches").M(n[Xi].t,e,t.u,t.s)):e=ji(t,n,[]),Fi(t),t.u&&t.v(t.u,t.s),e!==Qi?e:void 0}function ji(e,t,n){if(Si(t))return t;var r=t[Xi];if(!r)return di(t,(function(o,i){return Mi(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Ii(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=wi(r.k):r.o,i=o,a=!1;3===r.i&&(i=new Set(o),o.clear(),a=!0),di(i,(function(t,i){return Mi(e,r,o,t,i,n,a)})),Ii(e,o,!1),n&&e.u&&_i("Patches").N(r,n,e.u,e.s)}return r.o}function Mi(e,t,n,r,o,i,a){if(ui(o)){var s=ji(e,o,i&&t&&3!==t.i&&!pi(t.R,r)?i.concat(r):void 0);if(vi(n,r,s),!ui(s))return;e.m=!1}else a&&n.add(o);if(ci(o)&&!Si(o)){if(!e.h.D&&e._<1)return;ji(e,o),t&&t.A.l||Ii(e,o)}}function Ii(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&xi(t,n)}function Ni(e,t){var n=e[Xi];return(n?bi(n):e)[t]}function Ri(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function zi(e){e.P||(e.P=!0,e.l&&zi(e.l))}function Bi(e){e.o||(e.o=wi(e.t))}function Li(e,t,n){var r=gi(t)?_i("MapSet").F(t,n):yi(t)?_i("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Ei(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=ra;n&&(o=[r],i=oa);var a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):_i("ES5").J(t,n);return(n?n.A:Ei()).p.push(r),r}function Hi(e){return ui(e)||li(22,e),function e(t){if(!ci(t))return t;var n,r=t[Xi],o=fi(t);if(r){if(!r.P&&(r.i<4||!_i("ES5").K(r)))return r.t;r.I=!0,n=Ui(t,o),r.I=!1}else n=Ui(t,o);return di(n,(function(t,o){r&&hi(r.t,t)===o||vi(n,t,e(o))})),3===o?new Set(n):n}(e)}function Ui(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return wi(e)}function Vi(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Xi];return ra.get(t,e)},set:function(t){var n=this[Xi];ra.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][Xi];if(!o.P)switch(o.i){case 5:r(o)&&zi(o);break;case 4:n(o)&&zi(o)}}}function n(e){for(var t=e.t,n=e.k,r=ea(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==Xi){var a=t[i];if(void 0===a&&!pi(t,i))return!0;var s=n[i],l=s&&s[Xi];if(l?l.t!==a:!mi(s,a))return!0}}var u=!!t[Xi];return r.length!==ea(t).length+(u?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};Ci("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=ta(n);delete i[Xi];for(var a=ea(i),s=0;s<a.length;s++){var l=a[s];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:Ei(),P:!1,I:!1,R:{},l:n,t:t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,Xi,{value:i,writable:!0}),o},S:function(e,n,o){o?ui(n)&&n[Xi].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Xi];if(n){var o=n.t,i=n.k,a=n.R,s=n.i;if(4===s)di(i,(function(t){t!==Xi&&(void 0!==o[t]||pi(o,t)?a[t]||e(i[t]):(a[t]=!0,zi(n)))})),di(o,(function(e){void 0!==i[e]||pi(i,e)||(a[e]=!1,zi(n))}));else if(5===s){if(r(n)&&(zi(n),a.length=!0),i.length<o.length)for(var l=i.length;l<o.length;l++)a[l]=!1;else for(var u=o.length;u<i.length;u++)a[u]=!0;for(var c=Math.min(i.length,o.length),d=0;d<c;d++)i.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&e(i[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}var qi,Wi,$i="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Yi="undefined"!=typeof Map,Gi="undefined"!=typeof Set,Ki="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Qi=$i?Symbol.for("immer-nothing"):((qi={})["immer-nothing"]=!0,qi),Zi=$i?Symbol.for("immer-draftable"):"__$immer_draftable",Xi=$i?Symbol.for("immer-state"):"__$immer_state",Ji=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),ea="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ta=Object.getOwnPropertyDescriptors||function(e){var t={};return ea(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},na={},ra={get:function(e,t){if(t===Xi)return e;var n=bi(e);if(!pi(n,t))return function(e,t,n){var r,o=Ri(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!ci(r)?r:r===Ni(e.t,t)?(Bi(e),e.o[t]=Li(e.A.h,r,e)):r},has:function(e,t){return t in bi(e)},ownKeys:function(e){return Reflect.ownKeys(bi(e))},set:function(e,t,n){var r=Ri(bi(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Ni(bi(e),t),i=null==o?void 0:o[Xi];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(mi(n,o)&&(void 0!==n||pi(e.t,t)))return!0;Bi(e),zi(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==Ni(e.t,t)||t in e.t?(e.R[t]=!1,Bi(e),zi(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=bi(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){li(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){li(12)}},oa={};di(ra,(function(e,t){oa[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),oa.deleteProperty=function(e,t){return oa.set.call(this,e,t,void 0)},oa.set=function(e,t,n){return ra.set.call(this,e[0],t,n,e[0])};var ia=function(){function e(e){var t=this;this.O=Ki,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&li(6),void 0!==r&&"function"!=typeof r&&li(7),ci(e)){var s=Di(t),l=Li(t,e,void 0),u=!0;try{a=n(l),u=!1}finally{u?Fi(s):Ai(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return Oi(s,r),Ti(e,s)}),(function(e){throw Fi(s),e})):(Oi(s,r),Ti(a,s))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===Qi&&(a=void 0),t.D&&xi(a,!0),r){var c=[],d=[];_i("Patches").M(e,a,c,d),r(c,d)}return a}li(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){ci(e)||li(8),ui(e)&&(e=Hi(e));var t=Di(this),n=Li(this,e,void 0);return n[Xi].C=!0,Ai(t),n},t.finishDraft=function(e,t){var n=(e&&e[Xi]).A;return Oi(n,t),Ti(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Ki&&li(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=_i("Patches").$;return ui(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),aa=new ia,sa=aa.produce;aa.produceWithPatches.bind(aa),aa.setAutoFreeze.bind(aa),aa.setUseProxies.bind(aa),aa.applyPatches.bind(aa),aa.createDraft.bind(aa),aa.finishDraft.bind(aa);const la=sa;function ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ca(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ua(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ua(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function da(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var fa="function"===typeof Symbol&&Symbol.observable||"@@observable",pa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+pa(),REPLACE:"@@redux/REPLACE"+pa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pa()}};function va(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ma(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(da(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(da(1));return n(ma)(e,t)}if("function"!==typeof e)throw new Error(da(2));var o=e,i=t,a=[],s=a,l=!1;function u(){s===a&&(s=a.slice())}function c(){if(l)throw new Error(da(3));return i}function d(e){if("function"!==typeof e)throw new Error(da(4));if(l)throw new Error(da(5));var t=!0;return u(),s.push(e),function(){if(t){if(l)throw new Error(da(6));t=!1,u();var n=s.indexOf(e);s.splice(n,1),a=null}}}function f(e){if(!va(e))throw new Error(da(7));if("undefined"===typeof e.type)throw new Error(da(8));if(l)throw new Error(da(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return f({type:ha.INIT}),(r={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!==typeof e)throw new Error(da(10));o=e,f({type:ha.REPLACE})}})[fa]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(da(11));function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[fa]=function(){return this},e},r}function ga(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:ha.INIT}))throw new Error(da(12));if("undefined"===typeof n(void 0,{type:ha.PROBE_UNKNOWN_ACTION()}))throw new Error(da(13))}))}(n)}catch(s){i=s}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var l=a[s],u=n[l],c=e[l],d=u(c,t);if("undefined"===typeof d){t&&t.type;throw new Error(da(14))}o[l]=d,r=r||d!==c}return(r=r||a.length!==Object.keys(e).length)?o:e}}function ya(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function ba(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(da(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=ya.apply(void 0,i)(n.dispatch),ca(ca({},n),{},{dispatch:r})}}}function wa(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var xa=wa();xa.withExtraArgument=wa;const ka=xa;var Sa=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ca=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},Ea=Object.defineProperty,Oa=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,Aa=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Ta=function(e,t,n){return t in e?Ea(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},ja=function(e,t){for(var n in t||(t={}))Da.call(t,n)&&Ta(e,n,t[n]);if(Aa)for(var r=0,o=Aa(t);r<o.length;r++){n=o[r];Pa.call(t,n)&&Ta(e,n,t[n])}return e},Ma=function(e,t){return Oa(e,Fa(t))},Ia=function(e,t,n){return new Promise((function(r,o){var i=function(e){try{s(n.next(e))}catch(t){o(t)}},a=function(e){try{s(n.throw(e))}catch(t){o(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,a)};s((n=n.apply(e,t)).next())}))},Na="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ya:ya.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Ra(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var za=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Sa(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Ca([void 0],e[0].concat(this)))):new(t.bind.apply(t,Ca([void 0],e.concat(this))))},t}(Array),Ba=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Sa(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Ca([void 0],e[0].concat(this)))):new(t.bind.apply(t,Ca([void 0],e.concat(this))))},t}(Array);function La(e){return ci(e)?la(e,(function(){})):e}function Ha(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,new za);n&&(!function(e){return"boolean"===typeof e}(n)?r.push(ka.withExtraArgument(n.extraArgument)):r.push(ka));0;return r}(e)}}function Ua(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return ja(ja({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function Va(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function qa(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:La(e.initialState),o=e.reducers||{},i=Object.keys(o),a={},s={},l={};function u(){var t="function"===typeof e.extraReducers?Va(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,i=t[1],a=void 0===i?[]:i,l=t[2],u=void 0===l?void 0:l,c=ja(ja({},o),s);return function(e,t,n,r){void 0===n&&(n=[]);var o,i="function"===typeof t?Va(t):[t,n,r],a=i[0],s=i[1],l=i[2];if(function(e){return"function"===typeof e}(e))o=function(){return La(e())};else{var u=La(e);o=function(){return u}}function c(e,t){void 0===e&&(e=o());var n=Ca([a[t.type]],s.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[l]),n.reduce((function(e,n){if(n){var r;if(ui(e))return void 0===(r=n(e,t))?e:r;if(ci(e))return la(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return c.getInitialState=o,c}(r,(function(e){for(var t in c)e.addCase(t,c[t]);for(var n=0,r=a;n<r.length;n++){var o=r[n];e.addMatcher(o.matcher,o.reducer)}u&&e.addDefaultCase(u)}))}return i.forEach((function(e){var n,r,i=o[e],u=t+"/"+e;"reducer"in i?(n=i.reducer,r=i.prepare):n=i,a[e]=n,s[u]=n,l[e]=r?Ua(u,r):Ua(u)})),{name:t,reducer:function(e,t){return n||(n=u()),n(e,t)},actions:l,caseReducers:a,getInitialState:function(){return n||(n=u()),n.getInitialState()}}}var Wa=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},$a=["name","message","stack","code"],Ya=function(e,t){this.payload=e,this.meta=t},Ga=function(e,t){this.payload=e,this.meta=t},Ka=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=$a;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}};!function(){function e(e,t,n){var r=Ua(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:Ma(ja({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=Ua(e+"/pending",(function(e,t,n){return{payload:void 0,meta:Ma(ja({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),i=Ua(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||Ka)(e||"Rejected"),meta:Ma(ja({},i||{}),{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(s,l,u){var c,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):Wa(),f=new a;function p(e){c=e,f.abort()}var h=function(){return Ia(this,null,(function(){var a,h,v,m,g,y;return _a(this,(function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),m=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:l,extra:u}),null===(w=m)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,m];case 1:m=b.sent(),b.label=2;case 2:if(!1===m||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,g=new Promise((function(e,t){return f.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:c||"Aborted"})}))})),s(o(d,e,null==(h=null==n?void 0:n.getPendingMeta)?void 0:h.call(n,{requestId:d,arg:e},{getState:l,extra:u}))),[4,Promise.race([g,Promise.resolve(t(e,{dispatch:s,getState:l,extra:u,requestId:d,signal:f.signal,abort:p,rejectWithValue:function(e,t){return new Ya(e,t)},fulfillWithValue:function(e,t){return new Ga(e,t)}})).then((function(t){if(t instanceof Ya)throw t;return t instanceof Ga?r(t.payload,d,e,t.meta):r(t,d,e)}))])];case 3:return v=b.sent(),[3,5];case 4:return y=b.sent(),v=y instanceof Ya?i(null,d,e,y.payload,y.meta):i(y,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&i.match(v)&&v.meta.condition||s(v),[2,v]}var w}))}))}();return Object.assign(h,{abort:p,requestId:d,arg:e,unwrap:function(){return h.then(Qa)}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:e})}e.withTypes=function(){return e}}();function Qa(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var Za="listenerMiddleware";Ua(Za+"/add"),Ua(Za+"/removeAll"),Ua(Za+"/remove");"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis);var Xa,Ja=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Ja(10);Vi();const es=qa({name:"screen",initialState:{locked:!1,current:0},reducers:{setLockScreenChange:(e,t)=>{e.locked=t.payload},changeScreen:(e,t)=>{e.locked||t.payload<0||(e.current=t.payload)},nextScreen:(e,t)=>{var n;if(e.locked)return;const r=null!==(n=t.payload)&&void 0!==n?n:1;e.current+=r},prevScreen:(e,t)=>{var n;if(e.locked)return;const r=null!==(n=t.payload)&&void 0!==n?n:1;e.current<r||(e.current-=r)}}}),{setLockScreenChange:ts,changeScreen:ns,nextScreen:rs,prevScreen:os}=es.actions,is=e=>e.screen.current,as=es.reducer;var ss=Dn("typography.heading",{base:null,size:Ln("size","m"),margin:Ln("margin","none")}),ls=Dn("typography",{color:"color"}),us=xt.h1.withConfig({displayName:"Headingstyles__Box",componentId:"sc-vu5axy-0"})(["font-feature-settings:",";vertical-align:baseline;padding:0;"," "," "," "," ",";"],(function(e){return e.monospace?"'tnum' on, 'lnum' on":"normal"}),ss.base,ss.size,ss.margin,ls.color,(function(e){return e.uppercase&&nt(["text-transform:uppercase;"])})),cs=["children","type"];function ds(e){var t=e.children,n=e.type,o=N(e,cs);return r.createElement(us,Wt({as:n},o),t)}ds.defaultProps={type:"h1",size:"xl",margin:"none",color:"brand-primary"},ds.displayName="Heading";var fs=Dn("typography.text",{base:null,size:Ln("size","m"),margin:Ln("margin","none"),custom:null}),ps=Dn("typography",{weight:"weight",color:"color"}),hs=xt.span.withConfig({displayName:"Textstyles__Box",componentId:"sc-duhd8d-0"})(["font-feature-settings:",";vertical-align:baseline;padding:0;"," "," "," "," "," ",";",""],(function(e){return e.monospace?"'tnum' on, 'lnum' on":"normal"}),fs.base,fs.size,fs.margin,ps.weight,ps.color,(function(e){return e.uppercase&&nt(["text-transform:uppercase;"])}),fs.custom),vs=["children","type"];function ms(e){var t=e.children,n=e.type,o=N(e,vs);return r.createElement(hs,Wt({as:n},o),t)}ms.defaultProps={type:"span",size:"m",color:"brand-primary"},ms.displayName="Text";function gs(e){return r.createElement(ds,Wt({type:"h1",size:"xl"},e))}function ys(e){return r.createElement(ds,Wt({type:"h5",size:"xs"},e))}function bs(e){return r.createElement(ds,Wt({type:"h6",size:"xs"},e))}function ws(e){return r.createElement(ms,Wt({type:"p",size:"m"},e))}function xs(e){return r.createElement(ms,Wt({type:"span",size:"m"},e))}gs.displayName="H1",ys.displayName="H5",bs.displayName="H6",ws.displayName="P",xs.displayName="Span";var ks=V("whitespace",{size:"size"}),Ss=function(e){return ks.size({size:e})},_s=function(e,t){var n=function(e){if(!e||"string"!==typeof e)return null;var t=Ss(e);return t||e}(t);return n?Array.isArray(e)?e.map((function(e){return"".concat(e,":").concat(n,";")})).join(""):"".concat(e,":").concat(n,";"):null},Cs={margin:"margin",marginHorizontal:["margin-left","margin-right"],marginVertical:["margin-top","margin-bottom"],marginTop:"margin-top",marginBottom:"margin-bottom",marginLeft:"margin-left",marginRight:"margin-right",m:"margin",mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],mt:"margin-top",mb:"margin-bottom",ml:"margin-left",mr:"margin-right"},Es={padding:"padding",paddingHorizontal:["padding-left","padding-right"],paddingVertical:["padding-top","padding-bottom"],paddingTop:"padding-top",paddingBottom:"padding-bottom",paddingLeft:"padding-left",paddingRight:"padding-right",p:"padding",px:["padding-left","padding-right"],py:["padding-top","padding-bottom"],pt:"padding-top",pb:"padding-bottom",pl:"padding-left",pr:"padding-right"},Os=function(e,t,n){return Object.keys(t).map((function(r){return Hn(e,r,(function(e){return _s(t[r],e)}))(n)})).filter(Boolean)},Fs="whitespace",As=function(e){return function(t){return Os(null!==e&&void 0!==e?e:Fs,Cs,t)}},Ds=Dn("card",{base:null,size:Ln("size","m"),header:null,footer:null,subtitle:null,contentTitle:null,contentTitleGap:null,custom:null,customHeader:null,customTitle:null,customActions:null,customContent:null,customFooter:null}),Ps=xt.div.withConfig({displayName:"Cardstyles__Header",componentId:"sc-1egmxwl-0"})(["display:flex;"," ",""],Ds.header,Ds.customHeader),Ts=xt.div.withConfig({displayName:"Cardstyles__Title",componentId:"sc-1egmxwl-1"})(["flex-grow:1;",""],Ds.customTitle),js=xt.div.withConfig({displayName:"Cardstyles__Actions",componentId:"sc-1egmxwl-2"})(["",""],Ds.customActions),Ms=xt.div.withConfig({displayName:"Cardstyles__Content",componentId:"sc-1egmxwl-3"})(["",""],Ds.customContent),Is=xt.div.withConfig({displayName:"Cardstyles__Footer",componentId:"sc-1egmxwl-4"})([""," ",""],Ds.footer,Ds.customFooter),Ns=xt.div.withConfig({displayName:"Cardstyles__Subtitle",componentId:"sc-1egmxwl-5"})(["",""],Ds.subtitle),Rs=xt.div.withConfig({displayName:"Cardstyles__ContentTitle",componentId:"sc-1egmxwl-6"})([""," &:not(:first-child){","}"],Ds.contentTitle,Ds.contentTitleGap),zs=xt.div.withConfig({displayName:"Cardstyles__Box",componentId:"sc-1egmxwl-7"})(["display:flex;flex-direction:column;box-sizing:border-box;width:100%;"," "," "," "," ",""],Ds.base,Ds.size,(function(e){return e.stretch&&nt(["height:100%;","{flex-grow:1;}"],Ms)}),As("card"),Ds.custom),Bs=(xt.div.withConfig({displayName:"Cardstyles__ComponentHelperCard",componentId:"sc-1egmxwl-8"})(["display:flex;align-items:center;justify-content:center;line-height:2rem;font-size:16px;height:100%;box-sizing:border-box;background-color:#f8f8f8;color:#aaabad;height:200px;"]),["children","title","header","actions","footer","size"]);var Ls=(0,r.forwardRef)((function(e,t){var n,o=e.children,i=e.title,a=e.header,s=e.actions,l=e.footer,u=e.size,c=void 0===u?"l":u,d=N(e,Bs),f=null!==(n=null!==a&&void 0!==a?a:i)&&void 0!==n?n:s,p=(0,r.useMemo)((function(){return a||(i?r.createElement(Ts,null,i):null)}),[a,i]);return r.createElement(zs,Wt({},d,{ref:t,size:c}),f&&r.createElement(Ps,null,r.createElement(Ts,null,p),s&&r.createElement(js,null,s)),r.createElement(Ms,null,o),l&&r.createElement(Is,null,l))}));Ls.Title=ys,Ls.Subtitle=Ns,Ls.ContentTitle=Rs,Ls.displayName="Card";const Hs=960,Us=xt(Ls)` max-width: ${Hs}px; margin: auto; margin-top: 20px; border-radius: 0; `;var Vs=n(6552);const qs=()=>{var e;const n=(0,t.useInjection)(ai.ScreensConfig),o=D(),i=y(is),[a,s]=(0,r.useState)("\u041e\u0431\u0449\u0435\u0435"),l=(0,r.useCallback)(((e,t)=>{s(t)}),[s]),u=(0,r.useCallback)(((e,t)=>t&&o(ns(t.value.split(".")[0]-1))),[o]);return(0,Vs.jsxs)(Us,{title:"\u041c\u0435\u043d\u044e \u043e\u0442\u043b\u0430\u0434\u043a\u0438",children:[(0,Vs.jsxs)(Nr,{design:"vertical",children:[(0,Vs.jsxs)(Nr,{design:"vertical",children:[(0,Vs.jsx)("b",{children:"\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u044d\u043a\u0440\u0430\u043d:"}),(0,Vs.jsx)($o,{options:Object.entries(n.getScreenData()).map(((e,t)=>`${t+1}. ${e[1].title} (\u0448\u0430\u0433 ${e[1].step+1})`)),value:i+1,onSelect:u})]}),(0,Vs.jsx)(ri,{value:a,onChange:l,children:(0,Vs.jsx)(ri.Tab,{value:"\u041e\u0431\u0449\u0435\u0435",children:"\u041e\u0431\u0449\u0435\u0435"})})]}),"\u041e\u0431\u0449\u0435\u0435"===a&&(0,Vs.jsx)("div",{children:(0,Vs.jsxs)("ul",{children:[(0,Vs.jsxs)("li",{children:[(0,Vs.jsx)("b",{children:"commit hash"}),": ",null!==(e="eb743d85")?e:"dev"]},"commitHash"),(0,Vs.jsxs)("li",{children:[(0,Vs.jsx)("b",{children:"commit timestamp"}),": ","2024-10-23T09:04:56+00:00"]},"commitTimestamp")]})})]})};var Ws=V("body",{base:null}),$s=xt.div.withConfig({displayName:"Bodystyles__Box",componentId:"sc-cbjrp2-0"})([""," font-feature-settings:normal;-webkit-font-smoothing:antialiased;height:100%;position:relative;display:flex;flex-direction:column;"],Ws.base),Ys=bt(["html{box-sizing:border-box;line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0;}a{background-color:transparent;}*,*::before,*::after{box-sizing:inherit;}template{display:none;}[hidden]{display:none;}"]),Gs=bt(["@font-face{font-family:'ALS Hauss';font-display:swap;src:url('https://www.raiffeisen.ru/common/new/images/fonts/ALS_Hauss-Regular.eot');src:url('https://www.raiffeisen.ru/common/new/images/fonts/ALS_Hauss-Regular.woff') format('woff');font-weight:normal;font-style:normal;}@font-face{font-family:'ALS Hauss';font-display:swap;src:url('https://www.raiffeisen.ru/common/new/images/fonts/ALS_Hauss-Medium.eot');src:url('https://www.raiffeisen.ru/common/new/images/fonts/ALS_Hauss-Medium.woff') format('woff');font-weight:500;font-style:normal;}@font-face{font-family:'ALS Hauss';font-display:swap;src:url('https://www.raiffeisen.ru/common/new/images/fonts/ALS_Hauss-Bold.eot');src:url('https://www.raiffeisen.ru/common/new/images/fonts/ALS_Hauss-Bold.woff') format('woff');font-weight:bold;font-style:normal;}@font-face{font-family:'Navigo';font-display:swap;src:url('https://www.raiffeisen.ru/common/new/images/fonts/Navigo-Bold-Web.woff') format('woff');font-weight:normal;font-style:normal;}"]),Ks=(0,r.forwardRef)((function(e,t){return r.createElement(r.Fragment,null,r.createElement(Ys,null),r.createElement(Gs,null),r.createElement($s,Wt({},e,{ref:t})))}));Ks.displayName="Body";const Qs=xt.div` max-width: ${962}px; // add 2px for border margin: auto; opacity: ${e=>{let{opacity:t}=e;return t}}; transition: opacity 250ms; [class*='Wizardstyles__Body'] { padding: 0; } [class*='Wizardstyles__Footer'] { transition: opacity 300ms; opacity: ${e=>{let{contentOpacity:t}=e;return t}}; pointerevents: ${e=>{let{contentOpacity:t}=e;return t?"auto":"none"}}; } ${e=>{let{focusMode:t,focusModeVerticalPosition:n}=e;return t&&nt` position: absolute; width: 100vw; height: 100vh; top: 0; left: 0; overflow-y: scroll; @media (min-width: ${Hs}px) { max-width: 100%; ${"center"===n&&nt` display: flex; align-items: center; `} } `}} `,Zs=xt(qt)` [class*='Wizardstyles__StepsCount'] { display: ${e=>e.showStepText?"auto":"none"}; } border: 1px solid #e1e1e3; border-radius: 12px 12px 0 0; `,Xs=(xt(qt.Body)` padding: 0; `,xt.div` position: fixed; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; background: #ffffff; `),Js=xt(Ks)` ${e=>{let{enableFocusMode:t}=e;return t&&nt` position: relative; z-index: 200; width: 100%; height: auto; @media (max-width: ${Hs}px) { padding-bottom: 140px; // Ñ„Ð¸ÐºÑ Ð´Ð»Ñ Ð°Ð´Ñ€ÐµÑной Ñтроки прекраÑных iPhone } @media (min-width: ${Hs}px) { padding-left: calc((100% - ${Hs}px) / 2); padding-right: calc((100% - ${Hs}px) / 2); } `}} `,el=JSON.parse('{"notifications":{"valign":{"top":{"top":0},"bottom":{"bottom":0}},"align":{"center":{"width":"1px;","left":"50%;"},"left":{"left":"20px;"},"right":{"right":"20px;"}},"notification":{"design":{"success":{"background-color":"#19B28D","color":"#FFFFFF"},"warning":{"background-color":"#F88545","color":"#FFFFFF"},"error":{"background-color":"#EE505A","color":"#FFFFFF"},"plain":{"background-color":"#2B2D33","color":"#FFFFFF"},"accent":{"background-color":"#00A5BC","color":"#FFFFFF"}},"button":{"design":{"primary":{"color":"#FFFFFF","border":"solid 2px rgba(255, 255, 255, 0.64)"},"ghost":{"color":"#FFFFFF","padding":0}},"hover":{"primary":{"border":"solid 2px #FFFFFF"},"ghost":{"color":"#FFFFFF"}}},"notificationsGap":{"margin-bottom":"8px"},"close":{"base":{"top":"16px","right":"16px","cursor":"pointer"},"design":{"plain":{"color":"#AAABAD"},"error":{"color":"#FACED1"},"warning":{"color":"#FDDAC7"},"success":{"color":"#BFE9DF"},"accent":{"color":"#66C9D7"}},"hover":{"color":"#FFFFFF"}},"size":{"width":"500px;"},"sizeCompact":{"width":"350px;"}}}}');var tl=["color","size"],nl={xs:12,s:16,m:20,l:24,xl:32,xxl:32},rl=768,ol=1024,il=1920,al=2560,sl=function(e,t){return function(n){var o,i,a,s=n.color,l=void 0===s?"currentColor":s,u=n.size,c=void 0===u?"m":u,d=I(n,tl);if("object"===typeof c){var f=function(e,t){var n;return c[e]&&((n={})[e]=t,n)},p=Wt({},f("base",""),f("xs","(max-width: "+(rl-1)+"px)"),f("s","(min-width: "+rl+"px)"),f("belowS","(max-width: "+(rl-1)+"px)"),f("m","(min-width: "+ol+"px)"),f("belowM","(max-width: "+(ol-1)+"px)"),f("l","(min-width: "+il+"px)"),f("belowL","(max-width: "+(il-1)+"px)"),f("xl","(min-width: "+al+"px)"));o=r.useMemo((function(){return""+e+function(e,t){var n=Math.ceil(e),r=Math.floor(t);return Math.floor(Math.random()*(r-n)+n)}(1e3,9999)}),[]),i=r.useMemo((function(){return Object.entries(p).filter((function(e){var t=e[0];return nl[c[t]]})).reduce((function(e,t){var n=t[0],r=t[1],i=nl[c[n]],a="."+o+" { width:"+i+"px;height:"+i+"px;}";return e+r?"@media "+r+" {"+a+"}":a}),"")}),[c])}else{var h=nl[c]||c;a={width:h,height:h}}return r.createElement("svg",Wt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:o,fill:l||"#2B2D33"},a,d),i&&r.createElement("style",null,i),t)}},ll=sl("CloseCancelX",r.createElement(r.Fragment,null,r.createElement("path",{d:"m17.658 19.07 1.414-1.413-4.313-4.314c-.778-.777-.708-1.98.07-2.757l4.243-4.243-1.414-1.414-4.243 4.242c-.636.637-.778 1.485-.424 2.263l-.071.07L6.344 4.93 4.93 6.343l4.242 4.243c.778.777.849 1.98 0 2.828L4.93 17.657l1.414 1.414 4.242-4.243c.637-.636.778-1.485.425-2.262l.07-.071z"})));ll.defaultProps={size:"m",color:"currentColor"},ll.displayName="CloseCancelX";const ul=xt.div` display: flex; justify-content: space-between; align-items: center; margin: 4px 6px; background-color: white; `,cl=xt.div` svg { width: 143.92px; margin-top: 6px; fill: #fee600; color: #2b2d33; } `,dl=xt(ll)` cursor: pointer; `,fl=()=>(0,Vs.jsxs)("svg",{viewBox:"0 0 202 56",type:"default",children:[(0,Vs.jsx)("path",{d:"M65.3381 30.3379H75.4321V33.5159H69.1181V36.7779H71.2181C72.6321 36.7779 74.4521 36.9459 75.8241 38.2899C76.4121 38.8779 77.1401 39.9559 77.1401 41.6919C77.1401 43.0919 76.6781 44.3379 75.8241 45.1919C74.6201 46.3959 72.8841 46.6619 70.8961 46.6619H65.3381V30.3379ZM70.6021 43.6239C71.1201 43.6239 72.0441 43.5819 72.6321 43.1059C72.8281 42.9379 73.2621 42.4899 73.2621 41.6639C73.2621 40.8799 72.8701 40.3899 72.5341 40.1519C71.9461 39.7319 70.9941 39.7179 70.6021 39.7179H69.1041V43.6379H70.6021V43.6239Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M87.3041 35.742H90.8321V46.662H87.3041V45.346C86.3521 46.816 84.9801 47.04 84.0701 47.04C82.5021 47.04 81.1861 46.648 79.9821 45.374C78.8341 44.156 78.3861 42.728 78.3861 41.286C78.3861 39.452 79.0721 37.884 80.0801 36.876C81.0321 35.924 82.3621 35.378 83.8741 35.378C84.7981 35.378 86.2961 35.602 87.3041 36.974V35.742ZM82.8241 39.2C82.4601 39.564 82.0121 40.208 82.0121 41.188C82.0121 42.168 82.4321 42.798 82.7401 43.148C83.2301 43.666 83.9861 44.002 84.8261 44.002C85.5401 44.002 86.1981 43.708 86.6601 43.246C87.1221 42.812 87.5141 42.126 87.5141 41.188C87.5141 40.404 87.2201 39.676 86.7021 39.186C86.1701 38.668 85.3861 38.43 84.7421 38.43C83.9861 38.416 83.2861 38.738 82.8241 39.2Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M92.9602 35.742H96.4882V39.536H100.436V35.742H103.964V46.662H100.436V42.378H96.4882V46.662H92.9602V35.742Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M106.078 35.742H109.606V40.082L113.176 35.742H117.558L112.882 40.81L117.88 46.662H113.33L109.606 41.818V46.662H106.078V35.742Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M71.0921 9.33789C72.5061 9.33789 74.0741 9.53389 75.3761 10.6819C76.7761 11.8999 76.9721 13.5239 76.9721 14.6439C76.9721 16.7019 76.1881 17.8499 75.5721 18.4939C74.2701 19.8099 72.5621 19.9359 71.4141 19.9359H69.1181V25.6619H65.3521V9.33789H71.0921ZM69.1041 16.8559H70.4481C70.9661 16.8559 71.8621 16.8279 72.4781 16.2399C72.8141 15.9039 73.0941 15.3299 73.0941 14.6299C73.0941 13.9439 72.8561 13.3839 72.4781 13.0339C71.9181 12.5019 71.1061 12.4179 70.3781 12.4179H69.1041V16.8559Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M86.1701 14.742H89.6981V25.662H86.1701V24.346C85.2181 25.816 83.8461 26.04 82.9361 26.04C81.3681 26.04 80.0521 25.648 78.8481 24.374C77.7001 23.156 77.2521 21.728 77.2521 20.286C77.2521 18.452 77.9381 16.884 78.9461 15.876C79.8981 14.924 81.2281 14.378 82.7401 14.378C83.6641 14.378 85.1621 14.602 86.1701 15.974V14.742ZM81.6901 18.2C81.3261 18.564 80.8781 19.208 80.8781 20.188C80.8781 21.168 81.2981 21.798 81.6061 22.148C82.0961 22.666 82.8521 23.002 83.6921 23.002C84.4061 23.002 85.0641 22.708 85.5261 22.246C85.9881 21.812 86.3801 21.126 86.3801 20.188C86.3801 19.404 86.0861 18.676 85.5681 18.186C85.0361 17.668 84.2521 17.43 83.6081 17.43C82.8661 17.416 82.1521 17.738 81.6901 18.2Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M95.3542 14.7419V20.9859L100.002 14.7419H103.278V25.6619H99.7502V19.3199L95.1022 25.6619H91.8262V14.7419H95.3542ZM101.99 10.3319C101.696 11.2139 101.108 11.9699 100.422 12.4179C99.4982 13.0339 98.3642 13.1039 97.5522 13.1039C96.7402 13.1039 95.6202 13.0339 94.6822 12.4179C93.9962 11.9839 93.4082 11.2139 93.1142 10.3319L95.5642 9.37988C95.6622 9.86988 95.9002 10.2619 96.1942 10.4999C96.5162 10.7659 96.9222 10.9339 97.5382 10.9339C98.1542 10.9339 98.5602 10.7659 98.8822 10.4999C99.1762 10.2619 99.4142 9.86988 99.5122 9.37988L101.99 10.3319Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M111.076 31.1079V25.8299H110.936C108.458 25.8299 107.086 24.8079 106.456 24.1919C105.672 23.4359 104.888 22.1339 104.888 20.1459C104.888 17.9899 105.868 16.6179 106.778 15.8899C107.856 15.0359 109.466 14.5739 110.922 14.5739H111.09V9.33789H114.618V14.5739H114.786C116.228 14.5739 117.852 15.0359 118.93 15.8899C119.84 16.6179 120.82 17.9899 120.82 20.1459C120.82 22.1339 120.036 23.4219 119.252 24.1919C118.622 24.8079 117.25 25.8299 114.772 25.8299H114.632V31.1079H111.076ZM111.244 17.4159C110.418 17.3739 109.55 17.6539 109.046 18.1719C108.626 18.5919 108.332 19.2919 108.332 20.1599C108.332 21.0139 108.626 21.7279 109.046 22.1619C109.508 22.6799 110.348 23.0159 111.244 22.9879V17.4159ZM114.436 23.0019C115.346 23.0299 116.172 22.6799 116.634 22.1759C117.054 21.7419 117.348 21.0279 117.348 20.1739C117.348 19.3199 117.054 18.6059 116.634 18.1859C116.116 17.6679 115.262 17.3739 114.436 17.4299V23.0019Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M128.044 31.1079V25.8299H127.904C125.426 25.8299 124.054 24.8079 123.424 24.1919C122.64 23.4359 121.856 22.1339 121.856 20.1459C121.856 17.9899 122.836 16.6179 123.746 15.8899C124.824 15.0359 126.434 14.5739 127.89 14.5739H128.058V9.33789H131.586V14.5739H131.754C133.196 14.5739 134.82 15.0359 135.898 15.8899C136.808 16.6179 137.788 17.9899 137.788 20.1459C137.788 22.1339 137.004 23.4219 136.22 24.1919C135.59 24.8079 134.218 25.8299 131.74 25.8299H131.6V31.1079H128.044ZM128.212 17.4159C127.386 17.3739 126.518 17.6539 126.014 18.1719C125.594 18.5919 125.3 19.2919 125.3 20.1599C125.3 21.0139 125.594 21.7279 126.014 22.1619C126.476 22.6799 127.316 23.0159 128.212 22.9879V17.4159ZM131.404 23.0019C132.314 23.0299 133.14 22.6799 133.602 22.1759C134.022 21.7419 134.316 21.0279 134.316 20.1739C134.316 19.3199 134.022 18.6059 133.602 18.1859C133.084 17.6679 132.23 17.3739 131.404 17.4299V23.0019Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M147.728 14.742H151.256V25.662H147.728V24.346C146.776 25.816 145.404 26.04 144.494 26.04C142.926 26.04 141.61 25.648 140.406 24.374C139.258 23.156 138.81 21.728 138.81 20.286C138.81 18.452 139.496 16.884 140.504 15.876C141.456 14.924 142.786 14.378 144.298 14.378C145.222 14.378 146.72 14.602 147.728 15.974V14.742ZM143.248 18.2C142.884 18.564 142.436 19.208 142.436 20.188C142.436 21.168 142.856 21.798 143.164 22.148C143.654 22.666 144.41 23.002 145.25 23.002C145.964 23.002 146.622 22.708 147.084 22.246C147.546 21.812 147.938 21.126 147.938 20.188C147.938 19.404 147.644 18.676 147.126 18.186C146.594 17.668 145.81 17.43 145.166 17.43C144.424 17.416 143.71 17.738 143.248 18.2Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M156.912 14.7419V20.9859L161.56 14.7419H164.836V25.6619H161.308V19.3199L156.66 25.6619H153.384V14.7419H156.912ZM163.548 10.3319C163.254 11.2139 162.666 11.9699 161.98 12.4179C161.056 13.0339 159.922 13.1039 159.11 13.1039C158.298 13.1039 157.178 13.0339 156.24 12.4179C155.554 11.9839 154.966 11.2139 154.672 10.3319L157.122 9.37988C157.22 9.86988 157.458 10.2619 157.752 10.4999C158.074 10.7659 158.48 10.9339 159.096 10.9339C159.712 10.9339 160.118 10.7659 160.44 10.4999C160.734 10.2619 160.972 9.86988 161.07 9.37988L163.548 10.3319Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M166.614 15.68C167.076 15.386 167.832 14.994 168.42 14.77C169.246 14.476 170.156 14.378 170.996 14.378C171.584 14.378 173.586 14.42 174.692 15.498C175.308 16.086 175.504 16.772 175.504 17.5C175.504 18.186 175.378 18.802 174.846 19.362C174.58 19.628 174.258 19.852 173.922 19.978C174.734 20.174 175.238 20.608 175.392 20.762C175.924 21.28 176.12 21.868 176.12 22.568C176.12 23.324 175.882 24.136 175.168 24.85C174.244 25.76 172.97 26.026 171.15 26.026C170.17 26.026 169.148 25.9 168.168 25.536C167.216 25.172 166.502 24.626 166.208 24.388L167.706 22.064C168.098 22.4 168.616 22.75 169.05 22.946C169.512 23.142 170.17 23.282 170.744 23.282C171.136 23.282 171.668 23.212 172.018 23.016C172.438 22.778 172.508 22.428 172.508 22.19C172.508 21.826 172.312 21.602 171.99 21.462C171.696 21.336 171.108 21.266 170.716 21.266H169.4V18.872H170.408C170.73 18.872 171.388 18.83 171.724 18.676C172.144 18.48 172.242 18.158 172.242 17.948C172.242 17.752 172.144 17.43 171.71 17.234C171.542 17.164 171.192 17.038 170.604 17.038C170.044 17.038 169.624 17.136 169.162 17.332C168.7 17.528 168.336 17.752 167.986 18.046L166.614 15.68Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M188.888 20.818H180.74C180.74 21.406 180.964 22.19 181.398 22.68C181.93 23.268 182.672 23.366 183.204 23.366C183.722 23.366 184.254 23.268 184.618 23.044C184.66 23.016 185.08 22.75 185.374 22.134L188.706 22.47C188.216 24.01 187.236 24.822 186.606 25.214C185.556 25.844 184.38 26.026 183.148 26.026C181.51 26.026 180.068 25.732 178.794 24.458C177.842 23.506 177.156 22.064 177.156 20.244C177.156 18.676 177.716 17.066 178.822 15.932C180.138 14.616 181.79 14.364 183.008 14.364C184.226 14.364 185.99 14.588 187.348 16.002C188.65 17.374 188.888 19.082 188.888 20.44V20.818ZM185.64 18.718C185.612 18.62 185.444 17.934 184.926 17.444C184.534 17.08 183.974 16.828 183.26 16.828C182.35 16.828 181.818 17.192 181.468 17.542C181.202 17.836 180.95 18.228 180.852 18.718H185.64Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M190.484 14.742H194.012V18.536H197.96V14.742H201.488V25.662H197.96V21.378H194.012V25.662H190.484V14.742Z",fill:"currentColor"}),(0,Vs.jsx)("path",{d:"M56 45.416C56 52.22 52.22 56 45.416 56H10.584C3.78 56 0 52.22 0 45.416V10.584C0 3.78 3.78 0 10.584 0H45.43C52.22 0 56 3.78 56 10.584V45.416Z"}),(0,Vs.jsx)("path",{d:"M36.0079 25.2698V19.9218L37.9399 17.9898V22.6238L39.6199 24.3038L46.3819 17.5418L48.0479 19.2078C48.0339 17.9478 47.7819 14.2938 44.6879 11.2558C41.3559 8.03583 37.7439 9.49183 36.5119 10.7238L29.7639 17.4718L31.4859 19.1938L27.9999 22.7078L24.5139 19.2218L26.2359 17.4998L19.4879 10.7518C18.2559 9.51983 14.6439 8.06383 11.3119 11.2838C8.2179 14.3218 7.9659 17.9758 7.9519 19.2358L9.6179 17.5698L16.3799 24.3318L18.0599 22.6518V18.0178L19.9919 19.9498V25.2978L22.7079 27.9998L9.3239 41.3838L14.6159 46.6618L27.9999 33.2918L41.3839 46.6758L46.6759 41.3978L33.2919 27.9998L36.0079 25.2698Z",fill:"#2B2D33"})]}),pl=e=>{let{onClose:t}=e;return(0,Vs.jsxs)(ul,{children:[(0,Vs.jsx)(cl,{children:(0,Vs.jsx)(fl,{})}),(0,Vs.jsx)(dl,{onClick:t})]})},hl=e=>e.replace(/[^\d]/g,""),vl=e=>e?e[0].toUpperCase()+e.slice(1).toLowerCase():"",ml=e=>{const t=e.split(" ");if(t.length<2)throw Error("\u041f\u043e\u043b\u043d\u043e\u0435 \u0438\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0444\u0430\u043c\u0438\u043b\u0438\u044e, \u0438\u043c\u044f [\u0438 \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e]");return{surname:t[0],name:t[1],patronymic:t.slice(2).join(" ")||""}},gl=e=>{const t=e.split(".");if(3!==t.length)throw Error("\u0414\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 DD.MM.YYYY");return`${t[2]}-${t[1]}-${t[0]}`},yl=()=>{let e=(e=>{const t=new RegExp(`(?:^|; )${e.replace(/([\\.$?*|{}\\(\\)\\[\]\\\\/\\+^])/g,"\\$1")}=([^;]*)`).exec(document.cookie);return t?decodeURIComponent(t[1]):void 0})("_ga");return e&&(e=e.split(".").slice(-2).join(".")),e};function bl(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){const o=this,i=arguments,a=r&&!n;n&&clearTimeout(n),n=setTimeout((function(){n=null,r||e.apply(o,i)}),t),a&&e.apply(o,i)}}const wl=e=>{let{enableFocusModeFeature:n,focusModeVerticalPosition:o}=e;const i=(0,r.useRef)(),a=D(),s=(0,t.useInjection)(ii.NotificationService),l=(0,t.useInjection)(ii.EventService),u=(0,t.useInjection)(ai.ScreensConfig),c=(0,t.useInjection)(si.FormName),d=y(is),[f,p]=(0,r.useState)(d),[h,v]=(0,r.useState)(u.getScreenData()[0]),[m,g]=(0,r.useState)(0),[b,w]=(0,r.useState)(0),x=(()=>{const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{e.ctrlKey&&e.altKey&&"KeyD"===e.code&&t(!0),e.ctrlKey&&e.altKey&&"KeyS"===e.code&&t(!1)};return document.addEventListener("keydown",e),document.removeEventListener("keyup",e)}),[]),{visible:e}})();(0,r.useEffect)((()=>{l.emit("form:open",{formName:c})}),[l,c]),(0,r.useEffect)((()=>{g(1)}),[]),(0,r.useEffect)((()=>{a(ts(!0)),w(0),setTimeout((()=>{u.getScreenData()[d]?(p(d),v({...u.getScreenData()[d]})):s.error({message:`\u042d\u043a\u0440\u0430\u043d\u0430 #${d} \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442`}),a(ts(!1)),w(1)}),400)}),[d]),(0,r.useEffect)((()=>{l.emit("view_screen:change",{current:f+1,total:u.getScreensCount()})}),[l,f,u]);const k=(0,r.useCallback)((e=>{v({...e[d]})}),[d]);(0,r.useEffect)((()=>(u.addChangeListener(k),()=>{u.removeChangeListener(k)})),[u,k]);const[S,_]=(0,r.useState)(void 0),[C,E]=(0,r.useState)(0),O=(0,r.useCallback)((()=>{_(!1)}),[]);return(0,r.useEffect)((()=>{!1===S?(i.current&&(i.current,wr&&(xr.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),kr&&(document.removeEventListener("touchmove",Fr,yr?{passive:!1}:void 0),kr=!1),Sr=-1),wr?Dr():Ar(),xr=[]),window.scrollTo(0,C),document.body.style.overflow="auto"):!0===S&&(E(window.scrollY),window.scrollTo(0,0),document.body.style.overflow="hidden",i.current&&Pr(i.current))}),[S]),(0,r.useEffect)((()=>{n&&f>0&&_(!0)}),[n,f]),(0,r.useEffect)((()=>{n&&f===u.getScreensCount()-1&&_(!1)}),[u,n,f]),(0,r.useEffect)((()=>{null!==i&&void 0!==i&&i.current&&f>0&&(S?i.current.scrollTop=0:i.current.scrollIntoView({behavior:"smooth"}))}),[i,S,f]),(0,Vs.jsxs)(Vs.Fragment,{children:[S&&(0,Vs.jsx)(Xs,{}),(0,Vs.jsx)(Qs,{opacity:m,contentOpacity:b,focusMode:S,focusModeVerticalPosition:o,ref:i,children:(0,Vs.jsxs)(Js,{enableFocusMode:S,children:[S&&(0,Vs.jsx)(pl,{onClose:O}),(0,Vs.jsxs)(Zs,{value:h.step,showStepText:""!==h.title,children:[(0,Vs.jsx)(qt.Body,{children:u.getStepIndexes().map((e=>{var t,n;return(0,Vs.jsx)(qt.Step,{title:(n=null!==(t=h.changedTitle)&&void 0!==t?t:h.title,n.replace(/ /g,"\xa0"))},e)}))}),(0,Vs.jsx)(qt.Footer,{children:h.component})]}),(0,Vs.jsx)(ht,{theme:el,children:(0,Vs.jsx)(gr,{service:s,compactBelow:1024})})]})}),x.visible&&(0,Vs.jsx)(qs,{})]})};var xl={Request:"Request",Singleton:"Singleton",Transient:"Transient"},kl={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},Sl={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"},_l=0;function Cl(){return _l++}var El=function(){function e(e,t){this.id=Cl(),this.activated=!1,this.serviceIdentifier=e,this.scope=t,this.type=kl.Invalid,this.constraint=function(e){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.onDeactivation=null,this.dynamicValue=null}return e.prototype.clone=function(){var t=new e(this.serviceIdentifier,this.scope);return t.activated=t.scope===xl.Singleton&&this.activated,t.implementationType=this.implementationType,t.dynamicValue=this.dynamicValue,t.scope=this.scope,t.type=this.type,t.factory=this.factory,t.provider=this.provider,t.constraint=this.constraint,t.onActivation=this.onActivation,t.onDeactivation=this.onDeactivation,t.cache=this.cache,t},e}(),Ol="Metadata key was used more than once in a parameter:",Fl="NULL argument",Al="Key Not Found",Dl="Ambiguous match found for serviceIdentifier:",Pl="No matching bindings found for serviceIdentifier:",Tl="Missing required @injectable annotation in:",jl="Missing required @inject or @multiInject annotation in:",Ml="Circular dependency found:",Il="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.",Nl=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"The number of constructor arguments in the derived class "+e[0]+" must be >= than the number of constructor arguments of its base class."},Rl=function(e,t){return"@postConstruct error in class "+e+": "+t},zl=function(e,t){return"@preDestroy error in class "+e+": "+t},Bl=function(e,t){return"onDeactivation() error in class "+e+": "+t},Ll="Maximum call stack size exceeded",Hl="named",Ul="name",Vl="unmanaged",ql="optional",Wl="inject",$l="multi_inject",Yl="inversify:tagged",Gl="inversify:tagged_props",Kl="inversify:paramtypes",Ql="post_construct",Zl="pre_destroy";var Xl=[Wl,$l,Ul,Vl,Hl,ql],Jl=function(){function e(){}return e.prototype.getConstructorMetadata=function(e){return{compilerGeneratedMetadata:Reflect.getMetadata(Kl,e),userGeneratedMetadata:Reflect.getMetadata(Yl,e)||{}}},e.prototype.getPropertiesMetadata=function(e){return Reflect.getMetadata(Gl,e)||[]},e}(),eu={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1};function tu(e){return e instanceof RangeError||e.message===Ll}function nu(e){return"function"===typeof e?e.name:"symbol"===typeof e?e.toString():e}function ru(e,t,n){var r="",o=n(e,t);return 0!==o.length&&(r="\nRegistered bindings:",o.forEach((function(e){var t="Object";null!==e.implementationType&&(t=au(e.implementationType)),r=r+"\n "+t,e.constraint.metaData&&(r=r+" - "+e.constraint.metaData)}))),r}function ou(e,t){return null!==e.parentRequest&&(e.parentRequest.serviceIdentifier===t||ou(e.parentRequest,t))}function iu(e){e.childRequests.forEach((function(e){if(ou(e,e.serviceIdentifier)){var t=function(e){var t=function e(t,n){void 0===n&&(n=[]);var r=nu(t.serviceIdentifier);return n.push(r),null!==t.parentRequest?e(t.parentRequest,n):n}(e);return t.reverse().join(" --\x3e ")}(e);throw new Error(Ml+" "+t)}iu(e)}))}function au(e){if(e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+t}var su=function(){function e(e){this.id=Cl(),this.container=e}return e.prototype.addPlan=function(e){this.plan=e},e.prototype.setCurrentRequest=function(e){this.currentRequest=e},e}(),lu=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.toString=function(){return this.key===Hl?"named: "+String(this.value).toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+String(this.value)+" }"},e}(),uu=function(e,t){this.parentContext=e,this.rootRequest=t},cu=function(){function e(e){this._cb=e}return e.prototype.unwrap=function(){return this._cb()},e}(),du=function(){function e(e){this.str=e}return e.prototype.startsWith=function(e){return 0===this.str.indexOf(e)},e.prototype.endsWith=function(e){var t,n=e.split("").reverse().join("");return t=this.str.split("").reverse().join(""),this.startsWith.call({str:t},n)},e.prototype.contains=function(e){return-1!==this.str.indexOf(e)},e.prototype.equals=function(e){return this.str===e},e.prototype.value=function(){return this.str},e}(),fu=function(){function e(e,t,n,r){this.id=Cl(),this.type=e,this.serviceIdentifier=n;var o="symbol"===typeof t?t.toString().slice(7,-1):t;this.name=new du(o||""),this.identifier=t,this.metadata=new Array;var i=null;"string"===typeof r?i=new lu(Hl,r):r instanceof lu&&(i=r),null!==i&&this.metadata.push(i)}return e.prototype.hasTag=function(e){for(var t=0,n=this.metadata;t<n.length;t++){if(n[t].key===e)return!0}return!1},e.prototype.isArray=function(){return this.hasTag($l)},e.prototype.matchesArray=function(e){return this.matchesTag($l)(e)},e.prototype.isNamed=function(){return this.hasTag(Hl)},e.prototype.isTagged=function(){return this.metadata.some((function(e){return Xl.every((function(t){return e.key!==t}))}))},e.prototype.isOptional=function(){return this.matchesTag(ql)(!0)},e.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter((function(e){return e.key===Hl}))[0]:null},e.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter((function(e){return Xl.every((function(t){return e.key!==t}))})):null},e.prototype.matchesNamedTag=function(e){return this.matchesTag(Hl)(e)},e.prototype.matchesTag=function(e){var t=this;return function(n){for(var r=0,o=t.metadata;r<o.length;r++){var i=o[r];if(i.key===e&&i.value===n)return!0}return!1}},e}(),pu=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function hu(e,t,n,r){var o=e.getConstructorMetadata(n),i=o.compilerGeneratedMetadata;if(void 0===i)throw new Error(Tl+" "+t+".");var a=o.userGeneratedMetadata,s=Object.keys(a),l=0===n.length&&s.length>0,u=s.length>n.length,c=function(e,t,n,r,o){for(var i=[],a=0;a<o;a++){var s=vu(a,e,t,n,r);null!==s&&i.push(s)}return i}(r,t,i,a,l||u?s.length:n.length),d=gu(e,n,t);return pu(pu([],c,!0),d,!0)}function vu(e,t,n,r,o){var i=o[e.toString()]||[],a=bu(i),s=!0!==a.unmanaged,l=r[e],u=a.inject||a.multiInject;if((l=u||l)instanceof cu&&(l=l.unwrap()),s){if(!t&&(l===Object||l===Function||void 0===l))throw new Error(jl+" argument "+e+" in class "+n+".");var c=new fu(Sl.ConstructorArgument,a.targetName,l);return c.metadata=i,c}return null}function mu(e,t,n,r){var o=e||t;if(void 0===o){var i=Tl+" for property "+String(n)+" in class "+r+".";throw new Error(i)}return o}function gu(e,t,n){for(var r=e.getPropertiesMetadata(t),o=[],i=Object.getOwnPropertySymbols(r),a=0,s=Object.keys(r).concat(i);a<s.length;a++){var l=s[a],u=r[l],c=bu(u),d=c.targetName||l,f=mu(c.inject,c.multiInject,l,n),p=new fu(Sl.ClassProperty,d,f);p.metadata=u,o.push(p)}var h=Object.getPrototypeOf(t.prototype).constructor;if(h!==Object){var v=gu(e,h,n);o=pu(pu([],o,!0),v,!0)}return o}function yu(e,t){var n=Object.getPrototypeOf(t.prototype).constructor;if(n!==Object){var r=hu(e,au(n),n,!0),o=r.map((function(e){return e.metadata.filter((function(e){return e.key===Vl}))})),i=[].concat.apply([],o).length,a=r.length-i;return a>0?a:yu(e,n)}return 0}function bu(e){var t={};return e.forEach((function(e){t[e.key.toString()]=e.value})),{inject:t[Wl],multiInject:t[$l],targetName:t[Ul],unmanaged:t[Vl]}}var wu=function(){function e(e,t,n,r,o){this.id=Cl(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=n,this.target=o,this.childRequests=[],this.bindings=Array.isArray(r)?r:[r],this.requestScope=null===n?new Map:null}return e.prototype.addChildRequest=function(t,n,r){var o=new e(t,this.parentContext,this,n,r);return this.childRequests.push(o),o},e}();function xu(e){return e._bindingDictionary}function ku(e,t,n,r,o){var i=_u(n.container,o.serviceIdentifier),a=[];return i.length===eu.NoBindingsAvailable&&n.container.options.autoBindInjectable&&"function"===typeof o.serviceIdentifier&&e.getConstructorMetadata(o.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(o.serviceIdentifier).toSelf(),i=_u(n.container,o.serviceIdentifier)),a=t?i:i.filter((function(e){var t=new wu(e.serviceIdentifier,n,r,e,o);return e.constraint(t)})),function(e,t,n,r){switch(t.length){case eu.NoBindingsAvailable:if(n.isOptional())return t;var o=nu(e),i=Pl;throw i+=function(e,t){if(t.isTagged()||t.isNamed()){var n="",r=t.getNamedTag(),o=t.getCustomTags();return null!==r&&(n+=r.toString()+"\n"),null!==o&&o.forEach((function(e){n+=e.toString()+"\n"}))," "+e+"\n "+e+" - "+n}return" "+e}(o,n),i+=ru(r,o,_u),new Error(i);case eu.OnlyOneBindingAvailable:return t;case eu.MultipleBindingsAvailable:default:if(n.isArray())return t;o=nu(e),i=Dl+" "+o;throw i+=ru(r,o,_u),new Error(i)}}(o.serviceIdentifier,a,o,n.container),a}function Su(e,t,n,r,o,i){var a,s;if(null===o){a=ku(e,t,r,null,i),s=new wu(n,r,null,a,i);var l=new uu(r,s);r.addPlan(l)}else a=ku(e,t,r,o,i),s=o.addChildRequest(i.serviceIdentifier,a,i);a.forEach((function(t){var n=null;if(i.isArray())n=s.addChildRequest(t.serviceIdentifier,t,i);else{if(t.cache)return;n=s}if(t.type===kl.Instance&&null!==t.implementationType){var o=function(e,t){return hu(e,au(t),t,!1)}(e,t.implementationType);if(!r.container.options.skipBaseClassChecks){var a=yu(e,t.implementationType);if(o.length<a){var l=Nl(au(t.implementationType));throw new Error(l)}}o.forEach((function(t){Su(e,!1,t.serviceIdentifier,r,n,t)}))}}))}function _u(e,t){var n=[],r=xu(e);return r.hasKey(t)?n=r.get(t):null!==e.parent&&(n=_u(e.parent,t)),n}function Cu(e,t,n,r,o,i,a,s){void 0===s&&(s=!1);var l=new su(t),u=function(e,t,n,r,o,i){var a=new lu(e?$l:Wl,n),s=new fu(t,r,n,a);if(void 0!==o){var l=new lu(o,i);s.metadata.push(l)}return s}(n,r,o,"",i,a);try{return Su(e,s,o,l,null,u),l}catch(c){throw tu(c)&&iu(l.plan.rootRequest),c}}function Eu(e){return("object"===typeof e&&null!==e||"function"===typeof e)&&"function"===typeof e.then}function Ou(e){return!!Eu(e)||Array.isArray(e)&&e.some(Eu)}var Fu,Au=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Du=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Pu=function(e,t,n){e.has(t.id)||e.set(t.id,n)},Tu=function(e,t){e.cache=t,e.activated=!0,Eu(t)&&ju(e,t)},ju=function(e,t){return Au(void 0,void 0,void 0,(function(){var n,r;return Du(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,t];case 1:return n=o.sent(),e.cache=n,[3,3];case 2:throw r=o.sent(),e.cache=null,e.activated=!1,r;case 3:return[2]}}))}))};!function(e){e.DynamicValue="toDynamicValue",e.Factory="toFactory",e.Provider="toProvider"}(Fu||(Fu={}));var Mu=function(){return Mu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mu.apply(this,arguments)},Iu=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Nu=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ru=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function zu(e,t,n){var r;if(t.length>0){var o=function(e,t){return e.reduce((function(e,n){var r=t(n);return n.target.type===Sl.ConstructorArgument?e.constructorInjections.push(r):(e.propertyRequests.push(n),e.propertyInjections.push(r)),e.isAsync||(e.isAsync=Ou(r)),e}),{constructorInjections:[],propertyInjections:[],propertyRequests:[],isAsync:!1})}(t,n),i=Mu(Mu({},o),{constr:e});r=o.isAsync?function(e){return Iu(this,void 0,void 0,(function(){var t,n;return Nu(this,(function(r){switch(r.label){case 0:return[4,Lu(e.constructorInjections)];case 1:return t=r.sent(),[4,Lu(e.propertyInjections)];case 2:return n=r.sent(),[2,Bu(Mu(Mu({},e),{constructorInjections:t,propertyInjections:n}))]}}))}))}(i):Bu(i)}else r=new e;return r}function Bu(e){var t,n=new((t=e.constr).bind.apply(t,Ru([void 0],e.constructorInjections,!1)));return e.propertyRequests.forEach((function(t,r){var o=t.target.identifier,i=e.propertyInjections[r];n[o]=i})),n}function Lu(e){return Iu(this,void 0,void 0,(function(){var t,n,r,o;return Nu(this,(function(i){for(t=[],n=0,r=e;n<r.length;n++)o=r[n],Array.isArray(o)?t.push(Promise.all(o)):t.push(o);return[2,Promise.all(t)]}))}))}function Hu(e,t){var n=function(e,t){var n,r;if(Reflect.hasMetadata(Ql,e)){var o=Reflect.getMetadata(Ql,e);try{return null===(r=(n=t)[o.value])||void 0===r?void 0:r.call(n)}catch(i){throw new Error(Rl(e.name,i.message))}}}(e,t);return Eu(n)?n.then((function(){return t})):t}function Uu(e,t){e.scope!==xl.Singleton&&function(e,t){var n="Class cannot be instantiated in "+(e.scope===xl.Request?"request":"transient")+" scope.";if("function"===typeof e.onDeactivation)throw new Error(Bl(t.name,n));if(Reflect.hasMetadata(Zl,t))throw new Error(zl(t.name,n))}(e,t)}var Vu=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},qu=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Wu=function(e){return function(t){t.parentContext.setCurrentRequest(t);var n=t.bindings,r=t.childRequests,o=t.target&&t.target.isArray(),i=!t.parentRequest||!t.parentRequest.target||!t.target||!t.parentRequest.target.matchesArray(t.target.serviceIdentifier);if(o&&i)return r.map((function(t){return Wu(e)(t)}));if(!t.target.isOptional()||0!==n.length){var a=n[0];return Ku(e,t,a)}}},$u=function(e,t){var n=function(e){switch(e.type){case kl.Factory:return{factory:e.factory,factoryType:Fu.Factory};case kl.Provider:return{factory:e.provider,factoryType:Fu.Provider};case kl.DynamicValue:return{factory:e.dynamicValue,factoryType:Fu.DynamicValue};default:throw new Error("Unexpected factory type "+e.type)}}(e);return function(e,t){try{return e()}catch(n){throw tu(n)&&(n=t()),n}}((function(){return n.factory.bind(e)(t)}),(function(){return new Error((e=n.factoryType,r=t.currentRequest.serviceIdentifier.toString(),"It looks like there is a circular dependency in one of the '"+e+"' bindings. Please investigate bindings withservice identifier '"+r+"'."));var e,r}))},Yu=function(e,t,n){var r,o=t.childRequests;switch(function(e){var t=null;switch(e.type){case kl.ConstantValue:case kl.Function:t=e.cache;break;case kl.Constructor:case kl.Instance:t=e.implementationType;break;case kl.DynamicValue:t=e.dynamicValue;break;case kl.Provider:t=e.provider;break;case kl.Factory:t=e.factory}if(null===t){var n=nu(e.serviceIdentifier);throw new Error("Invalid binding type: "+n)}}(n),n.type){case kl.ConstantValue:case kl.Function:r=n.cache;break;case kl.Constructor:r=n.implementationType;break;case kl.Instance:r=function(e,t,n,r){Uu(e,t);var o=zu(t,n,r);return Eu(o)?o.then((function(e){return Hu(t,e)})):Hu(t,o)}(n,n.implementationType,o,Wu(e));break;default:r=$u(n,t.parentContext)}return r},Gu=function(e,t,n){var r=function(e,t){return t.scope===xl.Singleton&&t.activated?t.cache:t.scope===xl.Request&&e.has(t.id)?e.get(t.id):null}(e,t);return null!==r||function(e,t,n){t.scope===xl.Singleton&&Tu(t,n),t.scope===xl.Request&&Pu(e,t,n)}(e,t,r=n()),r},Ku=function(e,t,n){return Gu(e,n,(function(){var r=Yu(e,t,n);return r=Eu(r)?r.then((function(e){return Qu(t,n,e)})):Qu(t,n,r)}))};function Qu(e,t,n){var r,o=Zu(e.parentContext,t,n),i=tc(e.parentContext.container),a=i.next();do{r=a.value;var s=e.parentContext,l=e.serviceIdentifier,u=ec(r,l);o=Eu(o)?Ju(u,s,o):Xu(u,s,o),a=i.next()}while(!0!==a.done&&!xu(r).hasKey(e.serviceIdentifier));return o}var Zu=function(e,t,n){return"function"===typeof t.onActivation?t.onActivation(e,n):n},Xu=function(e,t,n){for(var r=e.next();!r.done;){if(Eu(n=r.value(t,n)))return Ju(e,t,n);r=e.next()}return n},Ju=function(e,t,n){return Vu(void 0,void 0,void 0,(function(){var r,o;return qu(this,(function(i){switch(i.label){case 0:return[4,n];case 1:r=i.sent(),o=e.next(),i.label=2;case 2:return o.done?[3,4]:[4,o.value(t,r)];case 3:return r=i.sent(),o=e.next(),[3,2];case 4:return[2,r]}}))}))},ec=function(e,t){var n=e._activations;return n.hasKey(t)?n.get(t).values():[].values()},tc=function(e){for(var t=[e],n=e.parent;null!==n;)t.push(n),n=n.parent;return{next:function(){var e=t.pop();return void 0!==e?{done:!1,value:e}:{done:!0,value:void 0}}}};var nc=function(e,t){var n=e.parentRequest;return null!==n&&(!!t(n)||nc(n,t))},rc=function(e){return function(t){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(e)(t)};return n.metaData=new lu(e,t),n}},oc=rc(Hl),ic=function(e){return function(t){var n=null;if(null!==t){if(n=t.bindings[0],"string"===typeof e)return n.serviceIdentifier===e;var r=t.bindings[0].implementationType;return e===r}return!1}},ac=function(){function e(e){this._binding=e}return e.prototype.when=function(e){return this._binding.constraint=e,new sc(this._binding)},e.prototype.whenTargetNamed=function(e){return this._binding.constraint=oc(e),new sc(this._binding)},e.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(e){return null!==e&&(null!==e.target&&!e.target.isNamed()&&!e.target.isTagged())},new sc(this._binding)},e.prototype.whenTargetTagged=function(e,t){return this._binding.constraint=rc(e)(t),new sc(this._binding)},e.prototype.whenInjectedInto=function(e){return this._binding.constraint=function(t){return null!==t&&ic(e)(t.parentRequest)},new sc(this._binding)},e.prototype.whenParentNamed=function(e){return this._binding.constraint=function(t){return null!==t&&oc(e)(t.parentRequest)},new sc(this._binding)},e.prototype.whenParentTagged=function(e,t){return this._binding.constraint=function(n){return null!==n&&rc(e)(t)(n.parentRequest)},new sc(this._binding)},e.prototype.whenAnyAncestorIs=function(e){return this._binding.constraint=function(t){return null!==t&&nc(t,ic(e))},new sc(this._binding)},e.prototype.whenNoAncestorIs=function(e){return this._binding.constraint=function(t){return null!==t&&!nc(t,ic(e))},new sc(this._binding)},e.prototype.whenAnyAncestorNamed=function(e){return this._binding.constraint=function(t){return null!==t&&nc(t,oc(e))},new sc(this._binding)},e.prototype.whenNoAncestorNamed=function(e){return this._binding.constraint=function(t){return null!==t&&!nc(t,oc(e))},new sc(this._binding)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._binding.constraint=function(n){return null!==n&&nc(n,rc(e)(t))},new sc(this._binding)},e.prototype.whenNoAncestorTagged=function(e,t){return this._binding.constraint=function(n){return null!==n&&!nc(n,rc(e)(t))},new sc(this._binding)},e.prototype.whenAnyAncestorMatches=function(e){return this._binding.constraint=function(t){return null!==t&&nc(t,e)},new sc(this._binding)},e.prototype.whenNoAncestorMatches=function(e){return this._binding.constraint=function(t){return null!==t&&!nc(t,e)},new sc(this._binding)},e}(),sc=function(){function e(e){this._binding=e}return e.prototype.onActivation=function(e){return this._binding.onActivation=e,new ac(this._binding)},e.prototype.onDeactivation=function(e){return this._binding.onDeactivation=e,new ac(this._binding)},e}(),lc=function(){function e(e){this._binding=e,this._bindingWhenSyntax=new ac(this._binding),this._bindingOnSyntax=new sc(this._binding)}return e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e.prototype.onDeactivation=function(e){return this._bindingOnSyntax.onDeactivation(e)},e}(),uc=function(){function e(e){this._binding=e}return e.prototype.inRequestScope=function(){return this._binding.scope=xl.Request,new lc(this._binding)},e.prototype.inSingletonScope=function(){return this._binding.scope=xl.Singleton,new lc(this._binding)},e.prototype.inTransientScope=function(){return this._binding.scope=xl.Transient,new lc(this._binding)},e}(),cc=function(){function e(e){this._binding=e,this._bindingWhenSyntax=new ac(this._binding),this._bindingOnSyntax=new sc(this._binding),this._bindingInSyntax=new uc(e)}return e.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},e.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},e.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},e.prototype.when=function(e){return this._bindingWhenSyntax.when(e)},e.prototype.whenTargetNamed=function(e){return this._bindingWhenSyntax.whenTargetNamed(e)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)},e.prototype.whenInjectedInto=function(e){return this._bindingWhenSyntax.whenInjectedInto(e)},e.prototype.whenParentNamed=function(e){return this._bindingWhenSyntax.whenParentNamed(e)},e.prototype.whenParentTagged=function(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)},e.prototype.whenAnyAncestorIs=function(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)},e.prototype.whenNoAncestorIs=function(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)},e.prototype.whenAnyAncestorNamed=function(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)},e.prototype.whenAnyAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)},e.prototype.whenNoAncestorNamed=function(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)},e.prototype.whenNoAncestorTagged=function(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)},e.prototype.whenAnyAncestorMatches=function(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)},e.prototype.whenNoAncestorMatches=function(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)},e.prototype.onActivation=function(e){return this._bindingOnSyntax.onActivation(e)},e.prototype.onDeactivation=function(e){return this._bindingOnSyntax.onDeactivation(e)},e}(),dc=function(){function e(e){this._binding=e}return e.prototype.to=function(e){return this._binding.type=kl.Instance,this._binding.implementationType=e,new cc(this._binding)},e.prototype.toSelf=function(){if("function"!==typeof this._binding.serviceIdentifier)throw new Error("The toSelf function can only be applied when a constructor is used as service identifier");var e=this._binding.serviceIdentifier;return this.to(e)},e.prototype.toConstantValue=function(e){return this._binding.type=kl.ConstantValue,this._binding.cache=e,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=xl.Singleton,new lc(this._binding)},e.prototype.toDynamicValue=function(e){return this._binding.type=kl.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=e,this._binding.implementationType=null,new cc(this._binding)},e.prototype.toConstructor=function(e){return this._binding.type=kl.Constructor,this._binding.implementationType=e,this._binding.scope=xl.Singleton,new lc(this._binding)},e.prototype.toFactory=function(e){return this._binding.type=kl.Factory,this._binding.factory=e,this._binding.scope=xl.Singleton,new lc(this._binding)},e.prototype.toFunction=function(e){if("function"!==typeof e)throw new Error("Value provided to function binding must be a function!");var t=this.toConstantValue(e);return this._binding.type=kl.Function,this._binding.scope=xl.Singleton,t},e.prototype.toAutoFactory=function(e){return this._binding.type=kl.Factory,this._binding.factory=function(t){return function(){return t.container.get(e)}},this._binding.scope=xl.Singleton,new lc(this._binding)},e.prototype.toAutoNamedFactory=function(e){return this._binding.type=kl.Factory,this._binding.factory=function(t){return function(n){return t.container.getNamed(e,n)}},new lc(this._binding)},e.prototype.toProvider=function(e){return this._binding.type=kl.Provider,this._binding.provider=e,this._binding.scope=xl.Singleton,new lc(this._binding)},e.prototype.toService=function(e){this.toDynamicValue((function(t){return t.container.get(e)}))},e}(),fc=function(){function e(){}return e.of=function(t,n,r,o,i){var a=new e;return a.bindings=t,a.middleware=n,a.deactivations=o,a.activations=r,a.moduleActivationStore=i,a},e}();var pc=function(){function e(){this._map=new Map}return e.prototype.getMap=function(){return this._map},e.prototype.add=function(e,t){if(null===e||void 0===e)throw new Error(Fl);if(null===t||void 0===t)throw new Error(Fl);var n=this._map.get(e);void 0!==n?n.push(t):this._map.set(e,[t])},e.prototype.get=function(e){if(null===e||void 0===e)throw new Error(Fl);var t=this._map.get(e);if(void 0!==t)return t;throw new Error(Al)},e.prototype.remove=function(e){if(null===e||void 0===e)throw new Error(Fl);if(!this._map.delete(e))throw new Error(Al)},e.prototype.removeIntersection=function(e){var t=this;this.traverse((function(n,r){var o=e.hasKey(n)?e.get(n):void 0;if(void 0!==o){var i=r.filter((function(e){return!o.some((function(t){return e===t}))}));t._setValue(n,i)}}))},e.prototype.removeByCondition=function(e){var t=this,n=[];return this._map.forEach((function(r,o){for(var i=[],a=0,s=r;a<s.length;a++){var l=s[a];e(l)?n.push(l):i.push(l)}t._setValue(o,i)})),n},e.prototype.hasKey=function(e){if(null===e||void 0===e)throw new Error(Fl);return this._map.has(e)},e.prototype.clone=function(){var t=new e;return this._map.forEach((function(e,n){e.forEach((function(e){return t.add(n,"object"===typeof(r=e)&&null!==r&&"clone"in r&&"function"===typeof r.clone?e.clone():e);var r}))})),t},e.prototype.traverse=function(e){this._map.forEach((function(t,n){e(n,t)}))},e.prototype._setValue=function(e,t){t.length>0?this._map.set(e,t):this._map.delete(e)},e}(),hc=function(){function e(){this._map=new Map}return e.prototype.remove=function(e){if(this._map.has(e)){var t=this._map.get(e);return this._map.delete(e),t}return this._getEmptyHandlersStore()},e.prototype.addDeactivation=function(e,t,n){this._getModuleActivationHandlers(e).onDeactivations.add(t,n)},e.prototype.addActivation=function(e,t,n){this._getModuleActivationHandlers(e).onActivations.add(t,n)},e.prototype.clone=function(){var t=new e;return this._map.forEach((function(e,n){t._map.set(n,{onActivations:e.onActivations.clone(),onDeactivations:e.onDeactivations.clone()})})),t},e.prototype._getModuleActivationHandlers=function(e){var t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t},e.prototype._getEmptyHandlersStore=function(){return{onActivations:new pc,onDeactivations:new pc}},e}(),vc=function(){return vc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vc.apply(this,arguments)},mc=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},gc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},yc=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},bc=function(){function e(e){var t=e||{};if("object"!==typeof t)throw new Error("Invalid Container constructor argument. Container options must be an object.");if(void 0===t.defaultScope)t.defaultScope=xl.Transient;else if(t.defaultScope!==xl.Singleton&&t.defaultScope!==xl.Transient&&t.defaultScope!==xl.Request)throw new Error("Invalid Container option. Default scope must be a string ('singleton' or 'transient').");if(void 0===t.autoBindInjectable)t.autoBindInjectable=!1;else if("boolean"!==typeof t.autoBindInjectable)throw new Error("Invalid Container option. Auto bind injectable must be a boolean");if(void 0===t.skipBaseClassChecks)t.skipBaseClassChecks=!1;else if("boolean"!==typeof t.skipBaseClassChecks)throw new Error("Invalid Container option. Skip base check must be a boolean");this.options={autoBindInjectable:t.autoBindInjectable,defaultScope:t.defaultScope,skipBaseClassChecks:t.skipBaseClassChecks},this.id=Cl(),this._bindingDictionary=new pc,this._snapshots=[],this._middleware=null,this._activations=new pc,this._deactivations=new pc,this.parent=null,this._metadataReader=new Jl,this._moduleActivationStore=new hc}return e.merge=function(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=new e,a=yc([t,n],r,!0).map((function(e){return xu(e)})),s=xu(i);return a.forEach((function(e){!function(e,t){e.traverse((function(e,n){n.forEach((function(e){t.add(e.serviceIdentifier,e.clone())}))}))}(e,s)})),i},e.prototype.load=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this._getContainerModuleHelpersFactory(),r=0,o=e;r<o.length;r++){var i=o[r],a=n(i.id);i.registry(a.bindFunction,a.unbindFunction,a.isboundFunction,a.rebindFunction,a.unbindAsyncFunction,a.onActivationFunction,a.onDeactivationFunction)}},e.prototype.loadAsync=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mc(this,void 0,void 0,(function(){var t,n,r,o,i;return gc(this,(function(a){switch(a.label){case 0:t=this._getContainerModuleHelpersFactory(),n=0,r=e,a.label=1;case 1:return n<r.length?(o=r[n],i=t(o.id),[4,o.registry(i.bindFunction,i.unbindFunction,i.isboundFunction,i.rebindFunction,i.unbindAsyncFunction,i.onActivationFunction,i.onDeactivationFunction)]):[3,4];case 2:a.sent(),a.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))},e.prototype.unload=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];t.forEach((function(t){var n=e._removeModuleBindings(t.id);e._deactivateSingletons(n),e._removeModuleHandlers(t.id)}))},e.prototype.unloadAsync=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mc(this,void 0,void 0,(function(){var t,n,r,o;return gc(this,(function(i){switch(i.label){case 0:t=0,n=e,i.label=1;case 1:return t<n.length?(r=n[t],o=this._removeModuleBindings(r.id),[4,this._deactivateSingletonsAsync(o)]):[3,4];case 2:i.sent(),this._removeModuleHandlers(r.id),i.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}))},e.prototype.bind=function(e){var t=this.options.defaultScope||xl.Transient,n=new El(e,t);return this._bindingDictionary.add(e,n),new dc(n)},e.prototype.rebind=function(e){return this.unbind(e),this.bind(e)},e.prototype.rebindAsync=function(e){return mc(this,void 0,void 0,(function(){return gc(this,(function(t){switch(t.label){case 0:return[4,this.unbindAsync(e)];case 1:return t.sent(),[2,this.bind(e)]}}))}))},e.prototype.unbind=function(e){if(this._bindingDictionary.hasKey(e)){var t=this._bindingDictionary.get(e);this._deactivateSingletons(t)}this._removeServiceFromDictionary(e)},e.prototype.unbindAsync=function(e){return mc(this,void 0,void 0,(function(){var t;return gc(this,(function(n){switch(n.label){case 0:return this._bindingDictionary.hasKey(e)?(t=this._bindingDictionary.get(e),[4,this._deactivateSingletonsAsync(t)]):[3,2];case 1:n.sent(),n.label=2;case 2:return this._removeServiceFromDictionary(e),[2]}}))}))},e.prototype.unbindAll=function(){var e=this;this._bindingDictionary.traverse((function(t,n){e._deactivateSingletons(n)})),this._bindingDictionary=new pc},e.prototype.unbindAllAsync=function(){return mc(this,void 0,void 0,(function(){var e,t=this;return gc(this,(function(n){switch(n.label){case 0:return e=[],this._bindingDictionary.traverse((function(n,r){e.push(t._deactivateSingletonsAsync(r))})),[4,Promise.all(e)];case 1:return n.sent(),this._bindingDictionary=new pc,[2]}}))}))},e.prototype.onActivation=function(e,t){this._activations.add(e,t)},e.prototype.onDeactivation=function(e,t){this._deactivations.add(e,t)},e.prototype.isBound=function(e){var t=this._bindingDictionary.hasKey(e);return!t&&this.parent&&(t=this.parent.isBound(e)),t},e.prototype.isCurrentBound=function(e){return this._bindingDictionary.hasKey(e)},e.prototype.isBoundNamed=function(e,t){return this.isBoundTagged(e,Hl,t)},e.prototype.isBoundTagged=function(e,t,n){var r=!1;if(this._bindingDictionary.hasKey(e)){var o=this._bindingDictionary.get(e),i=function(e,t,n,r){var o=new fu(Sl.Variable,"",t,new lu(n,r)),i=new su(e);return new wu(t,i,null,[],o)}(this,e,t,n);r=o.some((function(e){return e.constraint(i)}))}return!r&&this.parent&&(r=this.parent.isBoundTagged(e,t,n)),r},e.prototype.snapshot=function(){this._snapshots.push(fc.of(this._bindingDictionary.clone(),this._middleware,this._activations.clone(),this._deactivations.clone(),this._moduleActivationStore.clone()))},e.prototype.restore=function(){var e=this._snapshots.pop();if(void 0===e)throw new Error("No snapshot available to restore.");this._bindingDictionary=e.bindings,this._activations=e.activations,this._deactivations=e.deactivations,this._middleware=e.middleware,this._moduleActivationStore=e.moduleActivationStore},e.prototype.createChild=function(t){var n=new e(t||this.options);return n.parent=this,n},e.prototype.applyMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this._middleware?this._middleware:this._planAndResolve();this._middleware=e.reduce((function(e,t){return t(e)}),n)},e.prototype.applyCustomMetadataReader=function(e){this._metadataReader=e},e.prototype.get=function(e){var t=this._getNotAllArgs(e,!1);return this._getButThrowIfAsync(t)},e.prototype.getAsync=function(e){return mc(this,void 0,void 0,(function(){var t;return gc(this,(function(n){return t=this._getNotAllArgs(e,!1),[2,this._get(t)]}))}))},e.prototype.getTagged=function(e,t,n){var r=this._getNotAllArgs(e,!1,t,n);return this._getButThrowIfAsync(r)},e.prototype.getTaggedAsync=function(e,t,n){return mc(this,void 0,void 0,(function(){var r;return gc(this,(function(o){return r=this._getNotAllArgs(e,!1,t,n),[2,this._get(r)]}))}))},e.prototype.getNamed=function(e,t){return this.getTagged(e,Hl,t)},e.prototype.getNamedAsync=function(e,t){return this.getTaggedAsync(e,Hl,t)},e.prototype.getAll=function(e){var t=this._getAllArgs(e);return this._getButThrowIfAsync(t)},e.prototype.getAllAsync=function(e){var t=this._getAllArgs(e);return this._getAll(t)},e.prototype.getAllTagged=function(e,t,n){var r=this._getNotAllArgs(e,!0,t,n);return this._getButThrowIfAsync(r)},e.prototype.getAllTaggedAsync=function(e,t,n){var r=this._getNotAllArgs(e,!0,t,n);return this._getAll(r)},e.prototype.getAllNamed=function(e,t){return this.getAllTagged(e,Hl,t)},e.prototype.getAllNamedAsync=function(e,t){return this.getAllTaggedAsync(e,Hl,t)},e.prototype.resolve=function(e){var t=this.isBound(e);t||this.bind(e).toSelf();var n=this.get(e);return t||this.unbind(e),n},e.prototype._preDestroy=function(e,t){if(Reflect.hasMetadata(Zl,e))return t[Reflect.getMetadata(Zl,e).value]()},e.prototype._removeModuleHandlers=function(e){var t=this._moduleActivationStore.remove(e);this._activations.removeIntersection(t.onActivations),this._deactivations.removeIntersection(t.onDeactivations)},e.prototype._removeModuleBindings=function(e){return this._bindingDictionary.removeByCondition((function(t){return t.moduleId===e}))},e.prototype._deactivate=function(e,t){var n=this,r=Object.getPrototypeOf(t).constructor;try{if(this._deactivations.hasKey(e.serviceIdentifier)){var o=this._deactivateContainer(t,this._deactivations.get(e.serviceIdentifier).values());if(Eu(o))return this._handleDeactivationError(o.then((function(){return n._propagateContainerDeactivationThenBindingAndPreDestroyAsync(e,t,r)})),r)}var i=this._propagateContainerDeactivationThenBindingAndPreDestroy(e,t,r);if(Eu(i))return this._handleDeactivationError(i,r)}catch(a){throw new Error(Bl(r.name,a.message))}},e.prototype._handleDeactivationError=function(e,t){return mc(this,void 0,void 0,(function(){var n;return gc(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e];case 1:return r.sent(),[3,3];case 2:throw n=r.sent(),new Error(Bl(t.name,n.message));case 3:return[2]}}))}))},e.prototype._deactivateContainer=function(e,t){for(var n=this,r=t.next();r.value;){var o=r.value(e);if(Eu(o))return o.then((function(){return n._deactivateContainerAsync(e,t)}));r=t.next()}},e.prototype._deactivateContainerAsync=function(e,t){return mc(this,void 0,void 0,(function(){var n;return gc(this,(function(r){switch(r.label){case 0:n=t.next(),r.label=1;case 1:return n.value?[4,n.value(e)]:[3,3];case 2:return r.sent(),n=t.next(),[3,1];case 3:return[2]}}))}))},e.prototype._getContainerModuleHelpersFactory=function(){var e=this,t=function(e,t){e._binding.moduleId=t},n=function(n){return function(r){var o=e.rebind(r);return t(o,n),o}},r=function(t){return function(n,r){e._moduleActivationStore.addActivation(t,n,r),e.onActivation(n,r)}},o=function(t){return function(n,r){e._moduleActivationStore.addDeactivation(t,n,r),e.onDeactivation(n,r)}};return function(i){return{bindFunction:(a=i,function(n){var r=e.bind(n);return t(r,a),r}),isboundFunction:function(t){return e.isBound(t)},onActivationFunction:r(i),onDeactivationFunction:o(i),rebindFunction:n(i),unbindFunction:function(t){return e.unbind(t)},unbindAsyncFunction:function(t){return e.unbindAsync(t)}};var a}},e.prototype._getAll=function(e){return Promise.all(this._get(e))},e.prototype._get=function(e){var t=vc(vc({},e),{contextInterceptor:function(e){return e},targetType:Sl.Variable});if(this._middleware){var n=this._middleware(t);if(void 0===n||null===n)throw new Error("Invalid return type in middleware. Middleware must return!");return n}return this._planAndResolve()(t)},e.prototype._getButThrowIfAsync=function(e){var t=this._get(e);if(Ou(t))throw new Error("You are attempting to construct '"+e.serviceIdentifier+"' in a synchronous way\n but it has asynchronous dependencies.");return t},e.prototype._getAllArgs=function(e){return{avoidConstraints:!0,isMultiInject:!0,serviceIdentifier:e}},e.prototype._getNotAllArgs=function(e,t,n,r){return{avoidConstraints:!1,isMultiInject:t,serviceIdentifier:e,key:n,value:r}},e.prototype._planAndResolve=function(){var e=this;return function(t){var n=Cu(e._metadataReader,e,t.isMultiInject,t.targetType,t.serviceIdentifier,t.key,t.value,t.avoidConstraints);return function(e){return Wu(e.plan.rootRequest.requestScope)(e.plan.rootRequest)}(n=t.contextInterceptor(n))}},e.prototype._deactivateIfSingleton=function(e){var t=this;if(e.activated)return Eu(e.cache)?e.cache.then((function(n){return t._deactivate(e,n)})):this._deactivate(e,e.cache)},e.prototype._deactivateSingletons=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if(Eu(this._deactivateIfSingleton(r)))throw new Error("Attempting to unbind dependency with asynchronous destruction (@preDestroy or onDeactivation)")}},e.prototype._deactivateSingletonsAsync=function(e){return mc(this,void 0,void 0,(function(){var t=this;return gc(this,(function(n){switch(n.label){case 0:return[4,Promise.all(e.map((function(e){return t._deactivateIfSingleton(e)})))];case 1:return n.sent(),[2]}}))}))},e.prototype._propagateContainerDeactivationThenBindingAndPreDestroy=function(e,t,n){return this.parent?this._deactivate.bind(this.parent)(e,t):this._bindingDeactivationAndPreDestroy(e,t,n)},e.prototype._propagateContainerDeactivationThenBindingAndPreDestroyAsync=function(e,t,n){return mc(this,void 0,void 0,(function(){return gc(this,(function(r){switch(r.label){case 0:return this.parent?[4,this._deactivate.bind(this.parent)(e,t)]:[3,2];case 1:return r.sent(),[3,4];case 2:return[4,this._bindingDeactivationAndPreDestroyAsync(e,t,n)];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))},e.prototype._removeServiceFromDictionary=function(e){try{this._bindingDictionary.remove(e)}catch(t){throw new Error("Could not unbind serviceIdentifier: "+nu(e))}},e.prototype._bindingDeactivationAndPreDestroy=function(e,t,n){var r=this;if("function"===typeof e.onDeactivation){var o=e.onDeactivation(t);if(Eu(o))return o.then((function(){return r._preDestroy(n,t)}))}return this._preDestroy(n,t)},e.prototype._bindingDeactivationAndPreDestroyAsync=function(e,t,n){return mc(this,void 0,void 0,(function(){return gc(this,(function(r){switch(r.label){case 0:return"function"!==typeof e.onDeactivation?[3,2]:[4,e.onDeactivation(t)];case 1:r.sent(),r.label=2;case 2:return[4,this._preDestroy(n,t)];case 3:return r.sent(),[2]}}))}))},e}();function wc(e,t,n,r){!function(e){if(void 0!==e)throw new Error(Il)}(t),kc(Yl,e,n.toString(),r)}function xc(e){var t=[];if(Array.isArray(e)){var n=function(e){for(var t=new Set,n=0,r=e;n<r.length;n++){var o=r[n];if(t.has(o))return o;t.add(o)}}((t=e).map((function(e){return e.key})));if(void 0!==n)throw new Error(Ol+" "+n.toString())}else t=[e];return t}function kc(e,t,n,r){var o=xc(r),i={};Reflect.hasOwnMetadata(e,t)&&(i=Reflect.getMetadata(e,t));var a=i[n];if(void 0===a)a=[];else for(var s=function(e){if(o.some((function(t){return t.key===e.key})))throw new Error(Ol+" "+e.key.toString())},l=0,u=a;l<u.length;l++){s(u[l])}a.push.apply(a,o),i[n]=a,Reflect.defineMetadata(e,i,t)}function Sc(e){return function(t,n,r){"number"===typeof r?wc(t,n,r,e):function(e,t,n){if(void 0!==e.prototype)throw new Error(Il);kc(Gl,e.constructor,t,n)}(t,n,e)}}function _c(e,t){Reflect.decorate(e,t)}function Cc(e,t){return function(n,r){t(n,r,e)}}function Ec(e,t,n){"number"===typeof n?_c([Cc(n,e)],t):"string"===typeof n?Reflect.decorate([e],t,n):_c([e],t)}function Oc(){return function(e){if(Reflect.hasOwnMetadata(Kl,e))throw new Error("Cannot apply @injectable decorator multiple times.");var t=Reflect.getMetadata("design:paramtypes",e)||[];return Reflect.defineMetadata(Kl,t,e),e}}class Fc{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"DC",t=arguments.length>1?arguments[1]:void 0;this.formType=void 0,this.formName=void 0,this.eventFormVersion=void 0,this.currentViewScreen=0,this.totalScreens=0,this.formType=e,this.formName=t,this.eventFormVersion=this.getFormVersion(),this.initGlobalObjects()}initGlobalObjects(){window.dataLayer=window.dataLayer||[],window._mtm=window._mtm||[]}getFormVersion(){const e=this.getCommitHash(),t=this.getCommitDate();let n=e;return t.length&&(n+=`_${t}`),`v:${n}`}pushGApagespeedEvent(){this.push({event:"GApagespeed",eventCategory:"Performance Metrics",eventAction:"formLoad",eventLabel:this.formName,eventValue:Math.round(performance.now())})}getCommitHash(){var e;return null!==(e="eb743d85")?e:"dev"}getCommitDate(){{const e=new Date("2024-10-23T09:04:56+00:00");return`${e.getDate()}.${e.getMonth()+1}.${e.getFullYear()}`}}createEvent(e){return Object.assign({event:"RBRU-DM",eventCategory:"Interaction: Form",eventAction:`Interaction: Step ${this.currentViewScreen} of ${this.totalScreens}`,eventLabel:"",eventSection:"Main",eventSubSection:"",eventPositionSubSection:"",eventPositionElement:"",eventProduct:this.formType.toUpperCase(),eventContent:"Form",eventContext:"",eventContextMessage:"",eventError:"",eventSuccess:"",eventVendor:"Creative people",eventFormVersion:this.eventFormVersion},e)}push(e){window.dataLayer.push(e),window._mtm.push(e)}destroy(){this.unregisterListeners()}}Ec(Oc(),Fc);var Ac,Dc=(Ac=Wl,function(e){return function(t,n,r){if(void 0===e){var o="function"===typeof t?t.name:t.constructor.name;throw new Error("@inject called with undefined this could mean that the class "+o+" has a circular dependency problem. You can use a LazyServiceIdentifer to overcome this limitation.")}return Sc(new lu(Ac,e))(t,n,r)}});function Pc(){return Sc(new lu(ql,!0))}class Tc extends Fc{constructor(){let e=arguments.length>2?arguments[2]:void 0,t=arguments.length>3?arguments[3]:void 0;super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"CC",arguments.length>1?arguments[1]:void 0),this.eventService=void 0,this.sourcebusterService=void 0,this.eventService=e,this.sourcebusterService=t,this.registerListeners(),this.pushGApagespeedEvent()}registerListeners(){this.eventService.on("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.on("button:click",this.handleButtonClick.bind(this)),this.eventService.on("link:click",this.handleLinkClick.bind(this)),this.eventService.on("modal:close",this.handleModalClose.bind(this)),this.eventService.on("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.on("send_answers:response",this.handleSendAnswersResponse.bind(this))}unregisterListeners(){this.eventService.off("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.off("button:click",this.handleButtonClick.bind(this)),this.eventService.off("link:click",this.handleLinkClick.bind(this)),this.eventService.off("modal:close",this.handleModalClose.bind(this)),this.eventService.off("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.off("send_answers:response",this.handleSendAnswersResponse.bind(this))}handleViewScreenChange(e){this.currentViewScreen=e.current,this.totalScreens=e.total,this.push(this.createEvent({eventLabel:"Visibility"}))}handleButtonClick(e){switch(e.name){case"nextScreen":this.push(this.createEvent({eventLabel:"Click button",eventContext:"next",eventError:!1,eventSuccess:!0}));break;case"prevScreen":this.push(this.createEvent({eventLabel:"Click link",eventContext:"back"}));break;case"cancelChangePhoneNumber":this.push(this.createEvent({eventLabel:"Click link",eventContext:"changeMobilePhoneCancel"}));break;case"confirmChangePhoneNumber":this.push(this.createEvent({eventLabel:"Click button",eventContext:"changeMobilePhoneConfirm",eventError:!1,eventSuccess:!0}))}}handleLinkClick(e){switch(e.name){case"registredChangeDelivery":case"changeDelivery":this.push(this.createEvent({eventLabel:"Click link",eventContext:"Esli plany izmenyatsya, perenesite vstrechu"}));break;case"departmentMap":case"departmentList":this.push(this.createEvent({eventLabel:"Click link",eventContext:jc(e.label)}));break;case"showPromocode":this.push(this.createEvent({eventLabel:"Click promocode checkbox"}));break;case"showChangePhoneModal":this.push(this.createEvent({eventLabel:"Click link",eventContext:"changeMobilePhone"}));break;case"codeNotReceived":this.push(this.createEvent({eventLabel:"Click link",eventContext:"sendCodeSMSHelp"}));break;case"resendCode":this.push(this.createEvent({eventLabel:"Click link",eventContext:"sendCodeSMSAgain"}));break;case"privacyPolicy":this.push(this.createEvent({eventLabel:"Click link",eventContext:"processingPDnRead"}))}}handleModalClose(e){switch(e.name){case"changeNumber":this.push(this.createEvent({eventLabel:"Click icon",eventContext:"changeMobilePhoneCancel"}));break;case"privacyPolicy":this.push(this.createEvent({eventLabel:"Click icon",eventContext:"processingPDnClose"}))}}handleGetClientInfoResponse(e){let{response:t}=e;if(t.data.success&&t.data.data){const e=t.data.data;this.push(this.createEvent({eventLabel:"Check visitor",eventContext:"Check NTB tag",eventContextMessage:e.exists&&e.dormant?"dormant":e.exists&&!e.dormant?"exist":"ntb"}))}}handleSendAnswersResponse(e){var t,n,r,o,i,a,s,l;const u=e.request.payload.answer.root,c=null===(t=e.response.data.data)||void 0===t||null===(n=t.payload)||void 0===n?void 0:n.answerId,d=null===(r=e.response.data.data)||void 0===r||null===(o=r.analytics)||void 0===o?void 0:o.formName;if(!c)return;let f="none";if(u.ntb){const e=u.ntb;f=e.exists&&e.dormant?"dormant":e.exists&&!e.dormant?"exist":"ntb"}let p="none";null!==u&&void 0!==u&&null!==(i=u.delivery)&&void 0!==i&&i.type&&(p="branch"===u.delivery.type?"branch":"courier");let h=null!==(a=null===u||void 0===u||null===(s=u.delivery)||void 0===s||null===(l=s.address)||void 0===l?void 0:l.city)&&void 0!==a?a:null;var v,m;h||(h=null!==(v=null===u||void 0===u||null===(m=u.delivery)||void 0===m?void 0:m.city)&&void 0!==v?v:"none");h=jc(h.replace("\u0433\u043e\u0440\u043e\u0434 ",""));const g={clientType:f,deliveryType:p,deliveryCity:h},y={event:"GAevent",eventCategory:"send_ok",eventAction:null!==d&&void 0!==d?d:"CONSUMER_LOAN_FULL_FORM",eventLabel:`${this.sourcebusterService.current.source}_order:${c}`,eventContext:Object.entries(g).reduce(((e,t,n,r)=>{let[o,i]=t;return`${e}${o}: ${i}${n<r.length-1?"|":""}`}),"")};this.push(y)}}Ec(Oc(),Tc),Ec(Dc(si.FormType),Tc,0),Ec(Pc(),Tc,0),Ec(Dc(si.FormName),Tc,1),Ec(Dc(ii.EventService),Tc,2),Ec(Dc(ii.SourcebusterService),Tc,3);const jc=e=>e.trim().replace(/\s+/g," ").replace(/\u0401/g,"YO").replace(/\u0419/g,"I").replace(/\u0426/g,"TS").replace(/\u0423/g,"U").replace(/\u041A/g,"K").replace(/\u0415/g,"E").replace(/\u041D/g,"N").replace(/\u0413/g,"G").replace(/\u0428/g,"SH").replace(/\u0429/g,"SCH").replace(/\u0417/g,"Z").replace(/\u0425/g,"H").replace(/\u042A/g,"").replace(/\u0451/g,"yo").replace(/\u0439/g,"i").replace(/\u0446/g,"ts").replace(/\u0443/g,"u").replace(/\u043A/g,"k").replace(/\u0435/g,"e").replace(/\u043D/g,"n").replace(/\u0433/g,"g").replace(/\u0448/g,"sh").replace(/\u0449/g,"sch").replace(/\u0437/g,"z").replace(/\u0445/g,"h").replace(/\u044A/g,"'").replace(/\u0424/g,"F").replace(/\u042B/g,"I").replace(/\u0412/g,"V").replace(/\u0410/g,"a").replace(/\u041F/g,"P").replace(/\u0420/g,"R").replace(/\u041E/g,"O").replace(/\u041B/g,"L").replace(/\u0414/g,"D").replace(/\u0416/g,"ZH").replace(/\u042D/g,"E").replace(/\u0444/g,"f").replace(/\u044B/g,"i").replace(/\u0432/g,"v").replace(/\u0430/g,"a").replace(/\u043F/g,"p").replace(/\u0440/g,"r").replace(/\u043E/g,"o").replace(/\u043B/g,"l").replace(/\u0434/g,"d").replace(/\u0436/g,"zh").replace(/\u044D/g,"e").replace(/\u042F/g,"Ya").replace(/\u0427/g,"CH").replace(/\u0421/g,"S").replace(/\u041C/g,"M").replace(/\u0418/g,"I").replace(/\u0422/g,"T").replace(/\u042C/g,"'").replace(/\u0411/g,"B").replace(/\u042E/g,"YU").replace(/\u044F/g,"ya").replace(/\u0447/g,"ch").replace(/\u0441/g,"s").replace(/\u043C/g,"m").replace(/\u0438/g,"i").replace(/\u0442/g,"t").replace(/\u044C/g,"'").replace(/\u0431/g,"b").replace(/\u044E/g,"yu"),Mc={phoneNumber:"mobilePhone",promoCode:"promoCode",confirmPhoneNumberCode:"codeSMS",newPhoneNumber:"changeMobilePhoneNew",fullName:"FullName",gender:"gender",birthDate:"birthday",email:"email",isResident:"citizenship",passportNumber:"passportSeriaNumber",passportDepartmentCode:"passportIssueByCode",passportIssueDate:"passportIssueDate",passportBirthCountry:"birthCountry",passportDepartment:"passportIssuePlace",birthPlace:"birthPlace",registrationAddress:"permanentAddress",onlyRfTaxpayer:"taxResidency",deliveryAddress:"deliveryDestinationAddress",deliveryDate:"deliveryDates",deliveryTime:"deliveryHours",cityDepartment:"deliveryCity",department:"deliveryBranch",receivingType:"deliveryType"},Ic={showChangePhoneModal:"changeMobilePhone",codeNotReceived:"sendCodeSMSHelp",resendCode:"sendCodeSMSAgain",privacyPolicy:"processingPDnRead",showPromocode:"showPromocode"},Nc={nextScreen:"next",prevScreen:"back",cancelChangePhoneNumber:"changeMobilePhoneCancel",confirmChangePhoneNumber:"changeMobilePhoneConfirm"},Rc={changeNumber:"changeMobilePhoneCancel",privacyPolicy:"processingPDnClose"};class zc extends Fc{constructor(e,t,n,r){super("DC",e),this.eventService=void 0,this.sourcebusterService=void 0,this.dataLayerConfig=void 0,this.commentIsLeaved=!1,this.latestFieldomNearestResponse=void 0,this.latestFieldomRequestResponse=void 0,this.eventService=t,this.sourcebusterService=n,this.dataLayerConfig=r,this.registerListeners(),this.pushGApagespeedEvent()}registerListeners(){this.eventService.on("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.on("send_answers:response",this.handleSendAnswersResponse.bind(this)),this.eventService.on("field:focus",this.handleFieldFocus.bind(this)),this.eventService.on("field:select",this.handleFieldSelect.bind(this)),this.eventService.on("field:change",this.handleFieldChange.bind(this)),this.eventService.on("field:blur",this.handleFieldBlur.bind(this)),this.eventService.on("button:click",this._handleButtonClick.bind(this)),this.eventService.on("link:click",this.handleLinkClick.bind(this)),this.eventService.on("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.on("modal:close",this.handleModalClose.bind(this)),this.eventService.on("fieldom:error",this.handleFieldomError.bind(this)),this.eventService.on("gender:auto",this.handleGenderAuto.bind(this)),this.eventService.on("onlyRfTaxpayer:auto",this.handleOnlyRfTaxpayerAuto.bind(this)),this.eventService.on("deliveryAddress:auto",this.handleDeliveryAddressAuto.bind(this)),this.eventService.on("receivingType:auto",this.handleReceivingTypeAuto.bind(this)),this.eventService.on("selectDepartmentOnMap:change",this.handleSelectDepartmentOnMapChange.bind(this)),this.eventService.on("promoCode:auto",this.handlePromoCodeAuto.bind(this)),this.eventService.on("promoCode:validation_error",this.handlePromoCodeValidationError.bind(this)),this.eventService.on("mobileApp:click",this.handleMobileAppClick.bind(this)),this.eventService.on("fieldom_get_nearest:response",this.handleFieldomNearestResponse.bind(this)),this.eventService.on("fieldom_create_request:response",this.handleFieldomRequestResponse.bind(this)),this.eventService.on("subscription",this.handleSubscription.bind(this)),this.eventService.on("contactMethod",this.handleContactMethod.bind(this)),this.eventService.on("creditCardBanner:action",this.handleCreditCardBannerAction.bind(this)),this.eventService.on("express_delivery:show",this.handleExpressDeliveryShow.bind(this)),this.eventService.on("express_delivery:submit",this.handleExpressDeliverySubmit.bind(this))}unregisterListeners(){this.eventService.off("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.off("send_answers:response",this.handleSendAnswersResponse.bind(this)),this.eventService.off("field:focus",this.handleFieldFocus.bind(this)),this.eventService.off("field:select",this.handleFieldSelect.bind(this)),this.eventService.off("field:change",this.handleFieldChange.bind(this)),this.eventService.off("field:blur",this.handleFieldBlur.bind(this)),this.eventService.off("button:click",this._handleButtonClick.bind(this)),this.eventService.off("link:click",this.handleLinkClick.bind(this)),this.eventService.off("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.off("modal:close",this.handleModalClose.bind(this)),this.eventService.off("fieldom:error",this.handleFieldomError.bind(this)),this.eventService.off("gender:auto",this.handleGenderAuto.bind(this)),this.eventService.off("onlyRfTaxpayer:auto",this.handleOnlyRfTaxpayerAuto.bind(this)),this.eventService.off("deliveryAddress:auto",this.handleDeliveryAddressAuto.bind(this)),this.eventService.off("receivingType:auto",this.handleReceivingTypeAuto.bind(this)),this.eventService.off("selectDepartmentOnMap:change",this.handleSelectDepartmentOnMapChange.bind(this)),this.eventService.off("promoCode:auto",this.handlePromoCodeAuto.bind(this)),this.eventService.off("promoCode:validation_error",this.handlePromoCodeValidationError.bind(this)),this.eventService.off("mobileApp:click",this.handleMobileAppClick.bind(this)),this.eventService.off("fieldom_get_nearest:response",this.handleFieldomNearestResponse.bind(this)),this.eventService.off("fieldom_create_request:response",this.handleFieldomRequestResponse.bind(this)),this.eventService.off("subscription",this.handleSubscription.bind(this)),this.eventService.off("contactMethod",this.handleContactMethod.bind(this)),this.eventService.off("creditCardBanner:action",this.handleCreditCardBannerAction.bind(this)),this.eventService.off("express_delivery:show",this.handleExpressDeliveryShow.bind(this)),this.eventService.off("express_delivery:submit",this.handleExpressDeliverySubmit.bind(this))}handleViewScreenChange(e){this.currentViewScreen=e.current,this.totalScreens=e.total,this.push(this.createEvent({eventLabel:"Visibility"}))}handleSendAnswersResponse(e){var t,n,r,o,i,a,s,l,u,c,d,f,p;let{request:h,response:v}=e;const m=h.payload.answer.root;this.commentIsLeaved&&(m.delivery?"dsa"===m.delivery.type:m.deliveryExist&&"dsa"===m.deliveryExist.type)&&this.push(this.createEvent({eventLabel:"comment_leave"}));const g=null===(t=v.data.data)||void 0===t||null===(n=t.payload)||void 0===n?void 0:n.answerId,y=null===(r=v.data.data)||void 0===r||null===(o=r.analytics)||void 0===o?void 0:o.formName;if(!g)return;let b="none";if(m.ntb){const e=m.ntb;b=e.exists&&e.dormant?"dormant":e.exists&&!e.dormant?"exist":"ntb"}const w=(null!==(i=null===(a=this.dataLayerConfig)||void 0===a?void 0:a.cardType)&&void 0!==i?i:m.isDigital)?"virtual":"plastic",x=m.paymentSystem||"none",k=m.delivery?"branch"===m.delivery.type?"branch":"courier":"none";let S=null!==(s=m.delivery)&&void 0!==s&&s.address?m.delivery.address.city:null;var _;S||(S=(null===(_=m.delivery)||void 0===_?void 0:_.city)||"none");S=jc(S.replace("\u0433\u043e\u0440\u043e\u0434 ",""));let C=null===(l=m.fieldom)||void 0===l?void 0:l.fieldomDeliveryDate;if(C){const e=C.split(".");C=e[2]?`${e[2]}${e[1]}${e[0]}`:"none"}else C="none";const E="none"!==C&&null!==(u=m.fieldom)&&void 0!==u&&u.fieldomDeliveryTime?jc(null===(c=m.fieldom)||void 0===c?void 0:c.fieldomDeliveryTime):"none",O=m.promocode||"none",F=`${this.sourcebusterService.current.source}_order:${g}`,A={clientType:b,cardType:w,paymentSystem:x,deliveryType:k,deliveryCity:S,deliveryDates:C,deliveryHours:E,promoCode:O},D={event:"GAevent",eventCategory:"send_ok",eventAction:null!==(d=null!==(f=null===(p=this.dataLayerConfig)||void 0===p?void 0:p.sendOkEventAction)&&void 0!==f?f:y)&&void 0!==d?d:"DEBIT_CARD_FULL_FORM",eventLabel:F,eventContext:Object.entries(A).reduce(((e,t,n,r)=>{let[o,i]=t;return`${e}${o}: ${i}${n<r.length-1?"|":""}`}),"")};this.push(D),this._pushFieldomSlots(g)}handleFieldFocus(e){["phoneNumber","fullName","email","registrationAddress","birthDate","birthPlace","passportIssueDate","passportDepartment","passportDepartmentCode","passportNumber","confirmPhoneNumberCode","newPhoneNumber","promoCode"].includes(e.name)&&Mc[e.name]&&this.push(this.createEvent({eventLabel:"Focus field",eventContext:Mc[e.name]}))}handleFieldSelect(e){"department"===e.name&&Mc[e.name]||"cityDepartment"===e.name&&Mc[e.name]||"passportBirthCountry"===e.name&&Mc[e.name]?this.push(this.createEvent({eventLabel:"Choice value selector",eventContext:Mc[e.name],eventContextMessage:jc(e.value)})):"deliveryDate"===e.name&&Mc[e.name]?this.push(this.createEvent({eventLabel:"Choice value selector",eventContext:Mc[e.name],eventContextMessage:e.value})):"deliveryTime"===e.name&&Mc[e.name]?this.push(this.createEvent({eventLabel:"Choice value selector",eventContext:Mc[e.name],eventContextMessage:e.value.replace("\u0441 ","").replace(" \u0434\u043e ","-")})):"deliveryAddress"===e.name&&Mc[e.name]&&this.push(this.createEvent({eventLabel:"Choice value selector",eventContext:Mc[e.name]}))}handleFieldChange(e){if("Radio"===e.type){if("receivingType"===e.name&&Mc[e.name]){const t="Courier"===e.value?"Kur'erom":"V otdelenii";return void this.push(this.createEvent({eventLabel:"Click checkbox",eventContext:Mc[e.name],eventContextMessage:t}))}if("gender"===e.name&&Mc[e.name]){const t="Male"===e.value?"Muzhskoy":"ZHenskiy";return void this.push(this.createEvent({eventLabel:"Click checkbox",eventContext:Mc[e.name],eventContextMessage:t}))}if("onlyRfTaxpayer"===e.name&&Mc[e.name]){const t="Yes"===e.value?"Tolko RF":"Inoy strani ili RF i inoy strani";return void this.push(this.createEvent({eventLabel:"Click checkbox",eventContext:Mc[e.name],eventContextMessage:t}))}}"Checkbox"===e.type&&"isResident"===e.name&&Mc[e.name]&&this.push(this.createEvent({eventLabel:"Click checkbox",eventContext:Mc[e.name],eventContextMessage:`YES(${e.value?"on":"off"})`}))}handleFieldBlur(e){"comments"===e.name&&(this.commentIsLeaved=!!e.value.length)}_handleButtonClick(e){if("nextScreen"===e.name&&Nc[e.name]){const t=void 0===e.fieldsIsValid||e.fieldsIsValid;this.push(this.createEvent({eventLabel:"Click button",eventContext:Nc[e.name],eventError:!t,eventSuccess:t,...e.messengerToggleValue?{eventContextMessage:!0}:{}}))}else"prevScreen"===e.name&&Nc[e.name]||"cancelChangePhoneNumber"===e.name&&Nc[e.name]?this.push(this.createEvent({eventLabel:"Click link",eventContext:Nc[e.name]})):"confirmChangePhoneNumber"===e.name&&Nc[e.name]?this.push(this.createEvent({eventLabel:"Click button",eventContext:Nc[e.name],eventError:!1,eventSuccess:!0})):Nc[e.name]&&this.push(this.createEvent({eventLabel:"Click button",eventContext:Nc[e.name]}))}handleLinkClick(e){"registredChangeDelivery"!==e.name&&"changeDelivery"!==e.name?"departmentMap"!==e.name&&"departmentList"!==e.name?"showPromocode"===e.name&&Ic[e.name]?this.push(this.createEvent({eventLabel:"Click promocode checkbox"})):Ic[e.name]&&this.push(this.createEvent({eventLabel:"Click link",eventContext:Ic[e.name]})):this.push(this.createEvent({eventLabel:"Click link",eventContext:jc(e.label)})):this.push(this.createEvent({eventLabel:"Click link",eventContext:"Esli plany izmenyatsya, perenesite vstrechu"}))}handleGetClientInfoResponse(e){let{response:t}=e;if(t.data.success&&t.data.data){const e=t.data.data;this.push(this.createEvent({eventLabel:"Check visitor",eventContext:"Check NTB tag",eventContextMessage:e.exists&&e.dormant?"dormant":e.exists&&!e.dormant?"exist":"ntb"}))}}handleModalClose(e){Rc[e.name]&&this.push(this.createEvent({eventLabel:"Click icon",eventContext:Rc[e.name]}))}handleFieldomError(e){let{code:t,city:n}=e;"204"!==t&&"207"!==t&&"208"!==t||this.push(this.createEvent({eventLabel:"DeliveryFieldomError",eventContext:jc(n)}))}handleGenderAuto(e){const t="Male"===e.value?"Muzhskoy":"ZHenskiy";this.push(this.createEvent({eventLabel:"Auto checkbox",eventContext:Mc[e.name],eventContextMessage:t}))}handleOnlyRfTaxpayerAuto(e){const t="Yes"===e.value?"Tolko RF":"Inoy strani ili RF i inoy strani";this.push(this.createEvent({eventLabel:"Auto checkbox",eventContext:Mc[e.name],eventContextMessage:t}))}handleDeliveryAddressAuto(e){const t=e.value.split(", \u0434 ");this.push(this.createEvent({eventLabel:"Auto value",eventContext:Mc[e.name],eventContextMessage:jc(t.length>1?t.slice(0,-1).join(""):t.join(""))}))}handleReceivingTypeAuto(e){const t="Courier"===e.value?"Kur'erom":"V otdelenii";this.push(this.createEvent({eventLabel:"Auto value",eventContext:"deliveryType",eventContextMessage:t}))}handleSelectDepartmentOnMapChange(e){let{value:t}=e;t||this.push(this.createEvent({eventLabel:"Click link",eventContext:"Posmotret' spisok otdelenii"}))}handlePromoCodeAuto(e){this.push(this.createEvent({eventLabel:"Auto value",eventContext:"promoCode",eventContextMessage:e.value}))}handlePromoCodeValidationError(e){this.push(this.createEvent({eventLabel:"Promo_validation_error",eventContextError:jc(e.error)}))}handleMobileAppClick(e){this.push(this.createEvent({eventCategory:"app_download_link",eventAction:"click",eventLabel:e.store}))}handleFieldomNearestResponse(e){var t,n,r,o;"Success"===(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.status)&&(this.latestFieldomNearestResponse=null===e||void 0===e||null===(r=e.response)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.response)}handleFieldomRequestResponse(e){var t,n,r,o;"Success"===(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.status)&&(this.latestFieldomRequestResponse=null===e||void 0===e||null===(r=e.response)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.response)}handleSubscription(e){e&&this.push(this.createEvent({eventLabel:"Click checkbox",eventContext:"Subs"}))}handleContactMethod(e){""!==e&&this.push(this.createEvent({eventLabel:"Click checkbox",eventContext:"contactMethod",eventContextMessage:e}))}handleCreditCardBannerAction(e){this.push(this.createEvent({eventCategory:"cc_banner",eventAction:"click button",eventLabel:"confirm"===e?"CC:yes":"CC:no"}))}handleExpressDeliveryShow(){this.push(this.createEvent({eventLabel:"Checkbox show",eventContext:"90min_show"}))}handleExpressDeliverySubmit(){this.push(this.createEvent({eventLabel:"Click button",eventContext:"90min"}))}_pushFieldomSlots(e){try{var t,n;if(!this.latestFieldomNearestResponse)return;if(!this.latestFieldomRequestResponse)return;const r=e=>{const t=e.split("/");return`${t[2]}${t[0]}${t[1]}`},o=e=>{const t=/^\u0441 ([0-9]{1,2}) \u0434\u043e ([0-9]{1,2})$/.exec(e);return t?`${t[1]}-${t[2]}`:""},i=(e,t)=>`date:${e};time:${t.join("|")}`,a=e,s=`allSlots[${(e=>e.map((e=>({formatedDate:r(e.date),formatedTimes:e.timeWindow.map((e=>o(e.name)))}))).map((e=>i(e.formatedDate,e.formatedTimes))).join(","))(this.latestFieldomNearestResponse)}]`,l=r(null===(t=this.latestFieldomRequestResponse[0])||void 0===t?void 0:t.deliveryDate),u=o(null===(n=this.latestFieldomRequestResponse[0])||void 0===n?void 0:n.timeWindowName),c=`pickedSlot[${i(l,[u])}]`;this.push(this.createEvent({eventLabel:"timeSlots",eventContent:a,eventContext:s,eventContextMessage:c}))}catch{}}}Ec(Oc(),zc),Ec(Dc(si.FormName),zc,0),Ec(Dc(ii.EventService),zc,1),Ec(Dc(ii.SourcebusterService),zc,2),Ec(Dc(ai.DataLayerConfig),zc,3),Ec(Pc(),zc,3);class Bc{constructor(){this.formVersion="dev",this.initGlobalObjects(),this.initFormVersion()}initGlobalObjects(){window._mtm=window._mtm||[]}initFormVersion(){const e=this.getCommitHash(),t=this.getCommitDate();let n=e;t.length&&(n+=`_${t}`),this.formVersion=n}getCommitHash(){var e;return null!==(e="eb743d85")?e:"dev"}getCommitDate(){{const e=new Date("2024-10-23T09:04:56+00:00");return`${e.getDate()}.${e.getMonth()+1}.${e.getFullYear()}`}}createEvent(e){var t,n,r,o,i,a;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ATDM";const l=null!==(t=null===e||void 0===e?void 0:e.page)&&void 0!==t?t:window.location.pathname,u=null!==(n=null===e||void 0===e?void 0:e.block)&&void 0!==n?n:"none",c=null!==(r=null===e||void 0===e?void 0:e.element)&&void 0!==r?r:"none",d=null!==(o=null===e||void 0===e?void 0:e.action)&&void 0!==o?o:"none",f=null!==(i=null===e||void 0===e?void 0:e.element_details)&&void 0!==i?i:"none",p=null!==(a=null===e||void 0===e?void 0:e.block_id)&&void 0!==a?a:"none",h=void 0!==(null===e||void 0===e?void 0:e.cd_1)?`${e.cd_1}`:"none",v=void 0!==(null===e||void 0===e?void 0:e.cd_2)?`${e.cd_2}`:"none",m=void 0!==(null===e||void 0===e?void 0:e.cd_3)?`${e.cd_3}`:"none",g=void 0!==(null===e||void 0===e?void 0:e.cd_4)?`${e.cd_4}`:"none",y=this.mapEventCdParams([g,m,v,h]);return{event:s,eventData:JSON.stringify({[l]:{[u]:{[c]:{[d]:{[f]:y?{[p]:y}:p}}}}})}}push(e){window._mtm.push(e)}destroy(){this.unregisterListeners()}mapEventCdParams(e){let t;for(let n=1;n<4;n++)"none"!==e[n-1]&&(t=t?{[e[n]]:t}:{[e[n]]:e[n-1]});return t}}Ec(Oc(),Bc);class Lc extends Bc{constructor(e,t,n){var r,o;super(),this.eventService=void 0,this.screensConfig=void 0,this.dataLayerConfig=void 0,this.analyticsFormCode="DEBIT_CARD_FULL_FORM",this.currentScreen=0,this.totalScreens=0,this.clientType="none",this.eventService=e,this.screensConfig=t,this.dataLayerConfig=n,this.analyticsFormCode=null!==(r=null===(o=this.dataLayerConfig)||void 0===o?void 0:o.sendOkEventAction)&&void 0!==r?r:"DEBIT_CARD_FULL_FORM",this.registerListeners()}registerListeners(){this.eventService.on("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.on("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.on("send_answers:response",this.handleSendAnswersResponse.bind(this))}unregisterListeners(){this.eventService.off("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.off("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.off("send_answers:response",this.handleSendAnswersResponse.bind(this))}handleViewScreenChange(e){this.currentScreen=e.current,this.totalScreens=e.total;const t=this.screensConfig.getScreenData();let n=t[this.currentScreen-1].title;n=n.split(" ").join(" ");const r=`(\u0448\u0430\u0433 ${t[this.currentScreen-1].step+1} \u0438\u0437 ${this.screensConfig.getStepsCount()})`;this.push(this.createEvent({block:"Form",element:"DC",action:"view",element_details:`step_${this.currentScreen}`,block_id:this.formVersion,cd_1:this.clientType,cd_2:[n,r].join(" "),cd_3:this.analyticsFormCode,cd_4:`addParams::${this.totalScreens}`}))}handleGetClientInfoResponse(e){let{response:t}=e;const n=t.data;if(n.success&&n.data){const e=n.data;if(e.dormant)return void(this.clientType="dormant");if(e.exists)return void(this.clientType="exist")}this.clientType="ntb"}handleSendAnswersResponse(e){var t,n,r,o,i,a,s,l;let{request:u,response:c}=e;const d=u.payload.answer.root,f=null===(t=c.data.data)||void 0===t||null===(n=t.payload)||void 0===n?void 0:n.answerId;if(!f)return;const p=null===d||void 0===d?void 0:d.ntb,h=null!==p&&void 0!==p&&p.dormant?"dormant":null!==p&&void 0!==p&&p.exists?"exist":"ntb",v=(null!==(r=null===(o=this.dataLayerConfig)||void 0===o?void 0:o.cardType)&&void 0!==r?r:d.isDigital)?"virtual":"plastic",m=null!==(i=null===d||void 0===d?void 0:d.paymentSystem)&&void 0!==i?i:"none",g=d.delivery?"branch"===d.delivery.type?"branch":"courier":"none";let y=null!==(a=null===(s=d.delivery)||void 0===s||null===(l=s.address)||void 0===l?void 0:l.city)&&void 0!==a?a:"none";var b,w;"none"===y&&(y=null!==(b=null===(w=d.delivery)||void 0===w?void 0:w.city)&&void 0!==b?b:"none");let x,k;y=y.replace("\u0433\u043e\u0440\u043e\u0434 ","");try{var S,_,C;x=gl(null===(S=d.fieldom)||void 0===S?void 0:S.fieldomDeliveryDate),k=null!==(_=null===(C=d.fieldom)||void 0===C?void 0:C.fieldomDeliveryTime)&&void 0!==_?_:"none"}catch{x="none",k="none"}this.push(this.createEvent({block:"Form",element:"DC",action:"send_ok",element_details:this.analyticsFormCode,block_id:this.formVersion,cd_1:h,cd_2:g,cd_3:y,cd_4:`addParams::${[v,m.toLowerCase(),f,"none",x,k].join(",")}`}))}}Ec(Oc(),Lc),Ec(Dc(ii.EventService),Lc,0),Ec(Dc(ai.ScreensConfig),Lc,1),Ec(Dc(ai.DataLayerConfig),Lc,2),Ec(Pc(),Lc,2);Ec(Oc(),class extends Lc{constructor(){super(...arguments),this._selectedProducts={creditCard:!1,brokerService:!1,subscription:!1,accountsInsurance:!1},this._needPushXSellProductsEvent=!1}registerListeners(){super.registerListeners(),this.eventService.on("xsell_products:selected",this.handleSelectedXSellProducts.bind(this))}destroy(){super.destroy(),this.eventService.off("xsell_products:selected",this.handleSelectedXSellProducts.bind(this))}handleSelectedXSellProducts(e){this._selectedProducts=e,this._needPushXSellProductsEvent=!0}handleSendAnswersResponse(e){super.handleSendAnswersResponse(e),this._needPushXSellProductsEvent&&this.pushXSellProductsEvent()}pushXSellProductsEvent(){const e=Object.values(this._selectedProducts).reduce(((e,t)=>t?e+1:e),0),t=[];this._selectedProducts.creditCard&&t.push("CC"),this._selectedProducts.brokerService&&t.push("Broker"),this._selectedProducts.subscription&&t.push("Subs"),this._selectedProducts.accountsInsurance&&t.push("Insurance"),this.push(this.createEvent({block:"Form",element:"DC",action:"xsell",element_details:this.analyticsFormCode,block_id:this.formVersion,cd_1:this.clientType,cd_2:e,cd_3:t.length?`addParams::${t.join(",")}`:void 0}))}});class Hc extends Bc{constructor(e,t,n){var r,o;(super(),this.eventService=void 0,this.screensConfig=void 0,this.dataLayerConfig=void 0,this.shortFormType="PL",this.analyticsFormCode="CONSUMER_LOAN_FULL_FORM",this.currentScreen=0,this.totalScreens=0,this.clientType="none",this.eventService=e,this.screensConfig=t,this.dataLayerConfig=n,null!==(r=this.dataLayerConfig)&&void 0!==r&&r.sendOkEventAction)&&(this.analyticsFormCode=null===(o=this.dataLayerConfig)||void 0===o?void 0:o.sendOkEventAction);this.registerListeners()}registerListeners(){this.eventService.on("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.on("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.on("sumbit_pl_application:response",this.handleSubmitOrderResponse.bind(this))}unregisterListeners(){this.eventService.off("view_screen:change",this.handleViewScreenChange.bind(this)),this.eventService.off("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),this.eventService.off("sumbit_pl_application:response",this.handleSubmitOrderResponse.bind(this))}handleViewScreenChange(e){this.currentScreen=e.current,this.totalScreens=e.total;const t=this.screensConfig.getScreenData();let n=t[this.currentScreen-1].title;n=n.split(" ").join(" ");const r=`(\u0448\u0430\u0433 ${t[this.currentScreen-1].step+1} \u0438\u0437 ${this.screensConfig.getStepsCount()})`;this.push(this.createEvent({block:"Form",element:this.shortFormType,action:"view",element_details:`step_${this.currentScreen}`,block_id:this.formVersion,cd_1:this.clientType,cd_2:[n,r].join(" "),cd_3:this.analyticsFormCode,cd_4:`addParams::${this.totalScreens}`}))}handleGetClientInfoResponse(e){let{response:t}=e;const n=t.data;if(n.success&&n.data){const e=n.data;if(e.dormant)return void(this.clientType="dormant");if(e.exists)return void(this.clientType="exist")}this.clientType="ntb"}handleSubmitOrderResponse(e){var t;let{response:n}=e;const r=null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.loanApplicationId;r&&this.push(this.createEvent({block:"Form",element:this.shortFormType,action:"send_ok",element_details:this.analyticsFormCode,block_id:this.formVersion,cd_1:this.clientType,cd_2:r}))}}function Uc(e,t){return function(){return e.apply(t,arguments)}}Ec(Oc(),Hc),Ec(Dc(ii.EventService),Hc,0),Ec(Dc(ai.ScreensConfig),Hc,1),Ec(Dc(ai.DataLayerConfig),Hc,2),Ec(Pc(),Hc,2);const{toString:Vc}=Object.prototype,{getPrototypeOf:qc}=Object,Wc=($c=Object.create(null),e=>{const t=Vc.call(e);return $c[t]||($c[t]=t.slice(8,-1).toLowerCase())});var $c;const Yc=e=>(e=e.toLowerCase(),t=>Wc(t)===e),Gc=e=>t=>typeof t===e,{isArray:Kc}=Array,Qc=Gc("undefined");const Zc=Yc("ArrayBuffer");const Xc=Gc("string"),Jc=Gc("function"),ed=Gc("number"),td=e=>null!==e&&"object"===typeof e,nd=e=>{if("object"!==Wc(e))return!1;const t=qc(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rd=Yc("Date"),od=Yc("File"),id=Yc("Blob"),ad=Yc("FileList"),sd=Yc("URLSearchParams"),[ld,ud,cd,dd]=["ReadableStream","Request","Response","Headers"].map(Yc);function fd(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Kc(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=o?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let a;for(n=0;n<i;n++)a=r[n],t.call(null,e[a],a,e)}}function pd(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const hd="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,vd=e=>!Qc(e)&&e!==hd;const md=(gd="undefined"!==typeof Uint8Array&&qc(Uint8Array),e=>gd&&e instanceof gd);var gd;const yd=Yc("HTMLFormElement"),bd=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),wd=Yc("RegExp"),xd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};fd(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},kd="abcdefghijklmnopqrstuvwxyz",Sd="0123456789",_d={DIGIT:Sd,ALPHA:kd,ALPHA_DIGIT:kd+kd.toUpperCase()+Sd};const Cd=Yc("AsyncFunction"),Ed=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],hd.addEventListener("message",(e=>{let{source:t,data:o}=e;t===hd&&o===n&&r.length&&r.shift()()}),!1),e=>{r.push(e),hd.postMessage(n,"*")}):e=>setTimeout(e);var n,r})("function"===typeof setImmediate,Jc(hd.postMessage)),Od="undefined"!==typeof queueMicrotask?queueMicrotask.bind(hd):"undefined"!==typeof process&&process.nextTick||Ed,Fd={isArray:Kc,isArrayBuffer:Zc,isBuffer:function(e){return null!==e&&!Qc(e)&&null!==e.constructor&&!Qc(e.constructor)&&Jc(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||Jc(e.append)&&("formdata"===(t=Wc(e))||"object"===t&&Jc(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Zc(e.buffer),t},isString:Xc,isNumber:ed,isBoolean:e=>!0===e||!1===e,isObject:td,isPlainObject:nd,isReadableStream:ld,isRequest:ud,isResponse:cd,isHeaders:dd,isUndefined:Qc,isDate:rd,isFile:od,isBlob:id,isRegExp:wd,isFunction:Jc,isStream:e=>td(e)&&Jc(e.pipe),isURLSearchParams:sd,isTypedArray:md,isFileList:ad,forEach:fd,merge:function e(){const{caseless:t}=vd(this)&&this||{},n={},r=(r,o)=>{const i=t&&pd(n,o)||o;nd(n[i])&&nd(r)?n[i]=e(n[i],r):nd(r)?n[i]=e({},r):Kc(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&fd(arguments[o],r);return n},extend:function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return fd(t,((t,r)=>{n&&Jc(t)?e[r]=Uc(t,n):e[r]=t}),{allOwnKeys:r}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&qc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Wc,kindOfTest:Yc,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Kc(e))return e;let t=e.length;if(!ed(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:yd,hasOwnProperty:bd,hasOwnProp:bd,reduceDescriptors:xd,freezeMethods:e=>{xd(e,((t,n)=>{if(Jc(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Jc(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return Kc(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:pd,global:hd,isContextDefined:vd,ALPHABET:_d,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_d.ALPHA_DIGIT,n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Jc(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(td(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=Kc(e)?[]:{};return fd(e,((e,t)=>{const i=n(e,r+1);!Qc(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Cd,isThenable:e=>e&&(td(e)||Jc(e))&&Jc(e.then)&&Jc(e.catch),setImmediate:Ed,asap:Od};function Ad(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Fd.inherits(Ad,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Fd.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Dd=Ad.prototype,Pd={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Pd[e]={value:e}})),Object.defineProperties(Ad,Pd),Object.defineProperty(Dd,"isAxiosError",{value:!0}),Ad.from=(e,t,n,r,o,i)=>{const a=Object.create(Dd);return Fd.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ad.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Td=Ad;function jd(e){return Fd.isPlainObject(e)||Fd.isArray(e)}function Md(e){return Fd.endsWith(e,"[]")?e.slice(0,-2):e}function Id(e,t,n){return e?e.concat(t).map((function(e,t){return e=Md(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Nd=Fd.toFlatObject(Fd,{},null,(function(e){return/^is[A-Z]/.test(e)}));const Rd=function(e,t,n){if(!Fd.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Fd.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Fd.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&Fd.isSpecCompliantForm(t);if(!Fd.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Fd.isDate(e))return e.toISOString();if(!s&&Fd.isBlob(e))throw new Td("Blob is not supported. Use a Buffer instead.");return Fd.isArrayBuffer(e)||Fd.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let s=e;if(e&&!o&&"object"===typeof e)if(Fd.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Fd.isArray(e)&&function(e){return Fd.isArray(e)&&!e.some(jd)}(e)||(Fd.isFileList(e)||Fd.endsWith(n,"[]"))&&(s=Fd.toArray(e)))return n=Md(n),s.forEach((function(e,r){!Fd.isUndefined(e)&&null!==e&&t.append(!0===a?Id([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!jd(e)||(t.append(Id(o,n,i),l(e)),!1)}const c=[],d=Object.assign(Nd,{defaultVisitor:u,convertValue:l,isVisitable:jd});if(!Fd.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Fd.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),Fd.forEach(n,(function(n,i){!0===(!(Fd.isUndefined(n)||null===n)&&o.call(t,n,Fd.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function zd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Bd(e,t){this._pairs=[],e&&Rd(e,this,t)}const Ld=Bd.prototype;Ld.append=function(e,t){this._pairs.push([e,t])},Ld.toString=function(e){const t=e?function(t){return e.call(this,t,zd)}:zd;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Hd=Bd;function Ud(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Vd(e,t,n){if(!t)return e;const r=n&&n.encode||Ud,o=n&&n.serialize;let i;if(i=o?o(t,n):Fd.isURLSearchParams(t)?t.toString():new Hd(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const qd=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Fd.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Wd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$d={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:Hd,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Yd="undefined"!==typeof window&&"undefined"!==typeof document,Gd=(Kd="undefined"!==typeof navigator&&navigator.product,Yd&&["ReactNative","NativeScript","NS"].indexOf(Kd)<0);var Kd;const Qd="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,Zd=Yd&&window.location.href||"http://localhost",Xd={...e,...$d};const Jd=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Fd.isArray(r)?r.length:i,s)return Fd.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&Fd.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Fd.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(Fd.isFormData(e)&&Fd.isFunction(e.entries)){const n={};return Fd.forEachEntry(e,((e,r)=>{t(function(e){return Fd.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ef={transitional:Wd,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Fd.isObject(e);o&&Fd.isHTMLForm(e)&&(e=new FormData(e));if(Fd.isFormData(e))return r?JSON.stringify(Jd(e)):e;if(Fd.isArrayBuffer(e)||Fd.isBuffer(e)||Fd.isStream(e)||Fd.isFile(e)||Fd.isBlob(e)||Fd.isReadableStream(e))return e;if(Fd.isArrayBufferView(e))return e.buffer;if(Fd.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Rd(e,new Xd.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Xd.isNode&&Fd.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Fd.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Rd(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Fd.isString(e))try{return(t||JSON.parse)(e),Fd.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ef.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Fd.isResponse(e)||Fd.isReadableStream(e))return e;if(e&&Fd.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw Td.from(o,Td.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xd.classes.FormData,Blob:Xd.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Fd.forEach(["delete","get","head","post","put","patch"],(e=>{ef.headers[e]={}}));const tf=ef,nf=Fd.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rf=Symbol("internals");function of(e){return e&&String(e).trim().toLowerCase()}function af(e){return!1===e||null==e?e:Fd.isArray(e)?e.map(af):String(e)}function sf(e,t,n,r,o){return Fd.isFunction(r)?r.call(this,t,n):(o&&(t=n),Fd.isString(t)?Fd.isString(r)?-1!==t.indexOf(r):Fd.isRegExp(r)?r.test(t):void 0:void 0)}class lf{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=of(t);if(!o)throw new Error("header name must be a non-empty string");const i=Fd.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=af(e))}const i=(e,t)=>Fd.forEach(e,((e,n)=>o(e,n,t)));if(Fd.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Fd.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&nf[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Fd.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=of(e)){const n=Fd.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Fd.isFunction(t))return t.call(this,e,n);if(Fd.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=of(e)){const n=Fd.findKey(this,e);return!(!n||void 0===this[n]||t&&!sf(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=of(e)){const o=Fd.findKey(n,e);!o||t&&!sf(0,n[o],o,t)||(delete n[o],r=!0)}}return Fd.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!sf(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Fd.forEach(this,((r,o)=>{const i=Fd.findKey(n,o);if(i)return t[i]=af(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=af(r),n[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return Fd.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Fd.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[rf]=this[rf]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=of(e);t[r]||(!function(e,t){const n=Fd.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Fd.isArray(e)?e.forEach(r):r(e),this}}lf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Fd.reduceDescriptors(lf.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),Fd.freezeMethods(lf);const uf=lf;function cf(e,t){const n=this||tf,r=t||n,o=uf.from(r.headers);let i=r.data;return Fd.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function df(e){return!(!e||!e.__CANCEL__)}function ff(e,t,n){Td.call(this,null==e?"canceled":e,Td.ERR_CANCELED,t,n),this.name="CanceledError"}Fd.inherits(ff,Td,{__CANCEL__:!0});const pf=ff;function hf(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Td("Request failed with status code "+n.status,[Td.ERR_BAD_REQUEST,Td.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const vf=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),u=r[a];o||(o=l),n[i]=s,r[i]=l;let c=a,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const f=u&&l-u;return f?Math.round(1e3*d/f):void 0}};const mf=function(e,t){let n,r,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];t>=i?a(l,e):(n=l,r||(r=setTimeout((()=>{r=null,a(n)}),i-t)))},()=>n&&a(n)]},gf=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=vf(50,250);return mf((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},yf=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},bf=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Fd.asap((()=>e(...n)))},wf=Xd.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Fd.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},xf=Xd.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Fd.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Fd.isString(r)&&a.push("path="+r),Fd.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function kf(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Sf=e=>e instanceof uf?{...e}:e;function _f(e,t){t=t||{};const n={};function r(e,t,n){return Fd.isPlainObject(e)&&Fd.isPlainObject(t)?Fd.merge.call({caseless:n},e,t):Fd.isPlainObject(t)?Fd.merge({},t):Fd.isArray(t)?t.slice():t}function o(e,t,n){return Fd.isUndefined(t)?Fd.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Fd.isUndefined(t))return r(void 0,t)}function a(e,t){return Fd.isUndefined(t)?Fd.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(Sf(e),Sf(t),!0)};return Fd.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);Fd.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Cf=e=>{const t=_f({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=uf.from(s),t.url=Vd(kf(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Fd.isFormData(r))if(Xd.hasStandardBrowserEnv||Xd.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Xd.hasStandardBrowserEnv&&(o&&Fd.isFunction(o)&&(o=o(t)),o||!1!==o&&wf(t.url))){const e=i&&a&&xf.read(a);e&&s.set(i,e)}return t},Ef="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Cf(e);let o=r.data;const i=uf.from(r.headers).normalize();let a,s,l,u,c,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let v=new XMLHttpRequest;function m(){if(!v)return;const r=uf.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders());hf((function(e){t(e),h()}),(function(e){n(e),h()}),{data:d&&"text"!==d&&"json"!==d?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:r,config:e,request:v}),v=null}v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout,"onloadend"in v?v.onloadend=m:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(m)},v.onabort=function(){v&&(n(new Td("Request aborted",Td.ECONNABORTED,e,v)),v=null)},v.onerror=function(){n(new Td("Network Error",Td.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Wd;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Td(t,o.clarifyTimeoutError?Td.ETIMEDOUT:Td.ECONNABORTED,e,v)),v=null},void 0===o&&i.setContentType(null),"setRequestHeader"in v&&Fd.forEach(i.toJSON(),(function(e,t){v.setRequestHeader(t,e)})),Fd.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),d&&"json"!==d&&(v.responseType=r.responseType),p&&([l,c]=gf(p,!0),v.addEventListener("progress",l)),f&&v.upload&&([s,u]=gf(f),v.upload.addEventListener("progress",s),v.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{v&&(n(!t||t.type?new pf(null,e,v):t),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===Xd.protocols.indexOf(g)?n(new Td("Unsupported protocol "+g+":",Td.ERR_BAD_REQUEST,e)):v.send(o||null)}))},Of=(e,t)=>{let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Td?t:new pf(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new Td(`timeout ${t} of ms exceeded`,Td.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]},Ff=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Af=(e,t,n,r,o)=>{const i=async function*(e,t,n){for await(const r of e)yield*Ff(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,o);let a,s=0,l=e=>{a||(a=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return l(),void e.close();let o=r.byteLength;if(n){let e=s+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw l(t),t}},cancel:e=>(l(e),i.return())},{highWaterMark:2})},Df="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,Pf=Df&&"function"===typeof ReadableStream,Tf=Df&&("function"===typeof TextEncoder?(jf=new TextEncoder,e=>jf.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var jf;const Mf=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e(...n)}catch(o){return!1}},If=Pf&&Mf((()=>{let e=!1;const t=new Request(Xd.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Nf=Pf&&Mf((()=>Fd.isReadableStream(new Response("").body))),Rf={stream:Nf&&(e=>e.body)};var zf;Df&&(zf=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Rf[e]&&(Rf[e]=Fd.isFunction(zf[e])?t=>t[e]():(t,n)=>{throw new Td(`Response type '${e}' is not supported`,Td.ERR_NOT_SUPPORT,n)})})));const Bf=async(e,t)=>{const n=Fd.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:Fd.isBlob(e)?e.size:Fd.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:Fd.isArrayBufferView(e)||Fd.isArrayBuffer(e)?e.byteLength:(Fd.isURLSearchParams(e)&&(e+=""),Fd.isString(e)?(await Tf(e)).byteLength:void 0))(t):n},Lf=Df&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:f}=Cf(e);u=u?(u+"").toLowerCase():"text";let p,h,[v,m]=o||i||a?Of([o,i],a):[];const g=()=>{!p&&setTimeout((()=>{v&&v.unsubscribe()})),p=!0};let y;try{if(l&&If&&"get"!==n&&"head"!==n&&0!==(y=await Bf(c,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Fd.isFormData(r)&&(e=n.headers.get("content-type"))&&c.setContentType(e),n.body){const[e,t]=yf(y,gf(bf(l)));r=Af(n.body,65536,e,t,Tf)}}Fd.isString(d)||(d=d?"include":"omit"),h=new Request(t,{...f,signal:v,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:d});let o=await fetch(h);const i=Nf&&("stream"===u||"response"===u);if(Nf&&(s||i)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=Fd.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&yf(t,gf(bf(s),!0))||[];o=new Response(Af(o.body,65536,n,(()=>{r&&r(),i&&g()}),Tf),e)}u=u||"text";let a=await Rf[Fd.findKey(Rf,u)||"text"](o,e);return!i&&g(),m&&m(),await new Promise(((t,n)=>{hf(t,n,{data:a,headers:uf.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:h})}))}catch(b){if(g(),b&&"TypeError"===b.name&&/fetch/i.test(b.message))throw Object.assign(new Td("Network Error",Td.ERR_NETWORK,e,h),{cause:b.cause||b});throw Td.from(b,b&&b.code,e,h)}}),Hf={http:null,xhr:Ef,fetch:Lf};Fd.forEach(Hf,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const Uf=e=>`- ${e}`,Vf=e=>Fd.isFunction(e)||null===e||!1===e,qf=e=>{e=Fd.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!Vf(n)&&(r=Hf[(t=String(n)).toLowerCase()],void 0===r))throw new Td(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(Uf).join("\n"):" "+Uf(e[0]):"as no adapter specified";throw new Td("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Wf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pf(null,e)}function $f(e){Wf(e),e.headers=uf.from(e.headers),e.data=cf.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return qf(e.adapter||tf.adapter)(e).then((function(t){return Wf(e),t.data=cf.call(e,e.transformResponse,t),t.headers=uf.from(t.headers),t}),(function(t){return df(t)||(Wf(e),t&&t.response&&(t.response.data=cf.call(e,e.transformResponse,t.response),t.response.headers=uf.from(t.response.headers))),Promise.reject(t)}))}const Yf="1.7.4",Gf={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Gf[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Kf={};Gf.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.4] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Td(r(o," has been removed"+(t?" in "+t:"")),Td.ERR_DEPRECATED);return t&&!Kf[o]&&(Kf[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const Qf={assertOptions:function(e,t,n){if("object"!==typeof e)throw new Td("options must be an object",Td.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Td("option "+i+" must be "+n,Td.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Td("Unknown option "+i,Td.ERR_BAD_OPTION)}},validators:Gf},Zf=Qf.validators;class Xf{constructor(e){this.defaults=e,this.interceptors={request:new qd,response:new qd}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=_f(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Qf.assertOptions(n,{silentJSONParsing:Zf.transitional(Zf.boolean),forcedJSONParsing:Zf.transitional(Zf.boolean),clarifyTimeoutError:Zf.transitional(Zf.boolean)},!1),null!=r&&(Fd.isFunction(r)?t.paramsSerializer={serialize:r}:Qf.assertOptions(r,{encode:Zf.function,serialize:Zf.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Fd.merge(o.common,o[t.method]);o&&Fd.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=uf.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,d=0;if(!s){const e=[$f.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=a.length;let f=t;for(d=0;d<c;){const e=a[d++],t=a[d++];try{f=e(f)}catch(p){t.call(this,p);break}}try{u=$f.call(this,f)}catch(p){return Promise.reject(p)}for(d=0,c=l.length;d<c;)u=u.then(l[d++],l[d++]);return u}getUri(e){return Vd(kf((e=_f(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Fd.forEach(["delete","get","head","options"],(function(e){Xf.prototype[e]=function(t,n){return this.request(_f(n||{},{method:e,url:t,data:(n||{}).data}))}})),Fd.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(_f(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Xf.prototype[e]=t(),Xf.prototype[e+"Form"]=t(!0)}));const Jf=Xf;class ep{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new pf(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new ep((function(t){e=t}));return{token:t,cancel:e}}}const tp=ep;const np={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(np).forEach((e=>{let[t,n]=e;np[n]=t}));const rp=np;const op=function e(t){const n=new Jf(t),r=Uc(Jf.prototype.request,n);return Fd.extend(r,Jf.prototype,n,{allOwnKeys:!0}),Fd.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(_f(t,n))},r}(tf);op.Axios=Jf,op.CanceledError=pf,op.CancelToken=tp,op.isCancel=df,op.VERSION=Yf,op.toFormData=Rd,op.AxiosError=Td,op.Cancel=op.CanceledError,op.all=function(e){return Promise.all(e)},op.spread=function(e){return function(t){return e.apply(null,t)}},op.isAxiosError=function(e){return Fd.isObject(e)&&!0===e.isAxiosError},op.mergeConfig=_f,op.AxiosHeaders=uf,op.formToJSON=e=>Jd(Fd.isHTMLForm(e)?new FormData(e):e),op.getAdapter=qf,op.HttpStatusCode=rp,op.default=op;const ip=op,{Axios:ap,AxiosError:sp,CanceledError:lp,isCancel:up,CancelToken:cp,VERSION:dp,all:fp,Cancel:pp,isAxiosError:hp,spread:vp,toFormData:mp,AxiosHeaders:gp,HttpStatusCode:yp,formToJSON:bp,getAdapter:wp,mergeConfig:xp}=ip;class kp{constructor(e,t,n,r,o){this.formName=void 0,this.sourcebusterService=void 0,this.metricService=void 0,this.metricRequestTime=void 0,this.trackDadataResultsWithDebounce=void 0,this.foundDadataResults=0,this.notFoundDadataResults=0,this.formName=e,this.sourcebusterService=n,this.metricService=r,this.metricRequestTime=o,this.trackDadataResultsWithDebounce=bl(this.trackDadataResults.bind(this),5e3,!1),t.on("form:open",this.handleFormOpen.bind(this)),t.on("view_screen:change",this.handleViewScreenChange.bind(this)),t.on("load_dictionary:error",this.handleLoadDictionaryError.bind(this)),t.on("check_rate_limits:response",this.handleCheckRateLimitsResponse.bind(this)),t.on("check_rate_limits:error",this.handleCheckRateLimitsError.bind(this)),t.on("debit_check_issue:response",this.handleDebitCheckIssueResponse.bind(this)),t.on("debit_check_issue:error",this.handleDebitCheckIssueError.bind(this)),t.on("sms_auth_send_code:response",this.handleSmsAuthSendCodeResponse.bind(this)),t.on("sms_auth_send_code:error",this.handleSmsAuthSendCodeError.bind(this)),t.on("sms_auth_verify_code:response",this.handleSmsAuthVerifyCodeResponse.bind(this)),t.on("sms_auth_verify_code:error",this.handleSmsAuthVerifyCodeError.bind(this)),t.on("send_sms_code:response",this.handleSendSmsCodeResponse.bind(this)),t.on("send_sms_code:error",this.handleSendSmsCodeError.bind(this)),t.on("verify_sms_code:response",this.handleVerifySmsCodeResponse.bind(this)),t.on("verify_sms_code:error",this.handleVerifySmsCodeError.bind(this)),t.on("get_client_info:response",this.handleGetClientInfoResponse.bind(this)),t.on("get_client_info:error",this.handleGetClientInfoError.bind(this)),t.on("fieldom_get_nearest:response",this.handleFieldomNearestResponse.bind(this)),t.on("fieldom_get_nearest:error",this.handleFieldomNearestError.bind(this)),t.on("fieldom_create_request:response",this.handleFieldomRequestResponse.bind(this)),t.on("fieldom_create_request:error",this.handleFieldomRequestError.bind(this)),t.on("send_answers:response",this.handleFormAnswersResponse.bind(this)),t.on("send_answers:error",this.handleFormAnswersError.bind(this)),t.on("sumbit_pl_application:response",this.handleSubmitPLApplicationResponse.bind(this)),t.on("sumbit_pl_application:error",this.handleSubmitPLApplicationError.bind(this)),t.on("dadata_suggestions_fio:response",this.handleDadataResponse.bind(this)),t.on("dadata_suggestions_email:response",this.handleDadataResponse.bind(this)),t.on("dadata_suggestions_fms_unit:response",this.handleDadataResponse.bind(this)),t.on("dadata_suggestions_address:response",this.handleDadataResponse.bind(this)),t.on("dadata_suggestions_fio:error",this.handleDadataError.bind(this)),t.on("dadata_suggestions_email:error",this.handleDadataError.bind(this)),t.on("dadata_suggestions_fms_unit:error",this.handleDadataError.bind(this)),t.on("dadata_suggestions_address:error",this.handleDadataError.bind(this)),t.on("promocode_verify:response",this.handlePromocodeVerifyResponse.bind(this)),t.on("promocode_verify:error",this.handlePromocodeVerifyError.bind(this)),t.on("subscription",this.handleSubscription.bind(this)),t.on("express_delivery:show",this.handleExpressDeliveryShow.bind(this)),t.on("express_delivery:submit",this.handleExpressDeliverySubmit.bind(this))}handleFormOpen(){var e,t;this.metricService.load({pagePath:window.location.href,googleId:yl(),utm:null===(e=this.sourcebusterService.data)||void 0===e?void 0:e.current,formVersion:null===(t={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,COMMIT_HASH:"eb743d85",COMMIT_TIMESTAMP:"2024-10-23T09:04:56+00:00"})||void 0===t?void 0:t.COMMIT_HASH})}handleViewScreenChange(e){this.metricService.screen({current:e.current})}handleLoadDictionaryError(e){this.metricService.dictionaryError({url:e.url,code:null===e||void 0===e?void 0:e.code,message:null===e||void 0===e?void 0:e.message})}handleCheckRateLimitsResponse(e){var t,n,r,o,i,a,s,l,u;e.response.data.success?this.metricService.rateLimits({phoneNumber:hl(null!==(t=e.request.params.phone)&&void 0!==t?t:"").slice(-5),limitReached:e.response.data.data.limitReached}):this.metricService.rateLimitsError({phoneNumber:hl(null!==(n=e.request.params.phone)&&void 0!==n?n:"").slice(-5),httpCode:null===(r=e.response)||void 0===r?void 0:r.status,responseCode:null===(o=e.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.response)||void 0===s||null===(l=s.data)||void 0===l||null===(u=l.error)||void 0===u?void 0:u.message})}handleCheckRateLimitsError(e){var t,n,r,o,i,a,s,l;this.metricService.rateLimitsError({phoneNumber:hl(null!==(t=e.request.params.phone)&&void 0!==t?t:"").slice(-5),httpCode:null===(n=e.error.response)||void 0===n?void 0:n.status,responseCode:null===(r=e.error.response)||void 0===r||null===(o=r.data)||void 0===o||null===(i=o.error)||void 0===i?void 0:i.code,responseMessage:null===(a=e.error.response)||void 0===a||null===(s=a.data)||void 0===s||null===(l=s.error)||void 0===l?void 0:l.message})}handleDebitCheckIssueResponse(e){var t,n,r,o,i,a,s,l,u,c;e.response.data.success?this.metricService.debitCheckIssue({hasActiveIssues:!(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.data)||void 0===r||!r.hasActiveIssues)}):this.metricService.debitCheckIssueError({httpCode:null===(o=e.response)||void 0===o?void 0:o.status,responseCode:null===(i=e.response)||void 0===i||null===(a=i.data)||void 0===a||null===(s=a.error)||void 0===s?void 0:s.code,responseMessage:null===(l=e.response)||void 0===l||null===(u=l.data)||void 0===u||null===(c=u.error)||void 0===c?void 0:c.message})}handleDebitCheckIssueError(e){var t,n,r,o,i,a,s;this.metricService.debitCheckIssueError({httpCode:null===(t=e.error.response)||void 0===t?void 0:t.status,responseCode:null===(n=e.error.response)||void 0===n||null===(r=n.data)||void 0===r||null===(o=r.error)||void 0===o?void 0:o.code,responseMessage:null===(i=e.error.response)||void 0===i||null===(a=i.data)||void 0===a||null===(s=a.error)||void 0===s?void 0:s.message})}handleSmsAuthSendCodeResponse(e){var t,n;this.metricService.smsAuth({type:"SEND_CODE",phoneNumber:hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.number).slice(-5)})}handleSmsAuthSendCodeError(e){var t,n,r,o,i,a,s,l,u,c,d,f,p;this.metricService.smsAuthError({type:"SEND_CODE",phoneNumber:hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.number).slice(-5),httpCode:null===e||void 0===e||null===(r=e.error)||void 0===r||null===(o=r.originalError)||void 0===o||null===(i=o.response)||void 0===i?void 0:i.status,responseCode:null===e||void 0===e||null===(a=e.error)||void 0===a||null===(s=a.originalError)||void 0===s||null===(l=s.response)||void 0===l||null===(u=l.data)||void 0===u?void 0:u.code,responseMessage:null===e||void 0===e||null===(c=e.error)||void 0===c||null===(d=c.originalError)||void 0===d||null===(f=d.response)||void 0===f||null===(p=f.data)||void 0===p?void 0:p.message})}handleSmsAuthVerifyCodeResponse(e){var t,n;this.metricService.smsAuth({type:"VERIFY_CODE",phoneNumber:hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.number).slice(-5)})}handleSmsAuthVerifyCodeError(e){var t,n,r,o,i,a,s,l,u,c,d,f,p;this.metricService.smsAuthError({type:"VERIFY_CODE",phoneNumber:hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.number).slice(-5),httpCode:null===e||void 0===e||null===(r=e.error)||void 0===r||null===(o=r.originalError)||void 0===o||null===(i=o.response)||void 0===i?void 0:i.status,responseCode:null===e||void 0===e||null===(a=e.error)||void 0===a||null===(s=a.originalError)||void 0===s||null===(l=s.response)||void 0===l||null===(u=l.data)||void 0===u?void 0:u.code,responseMessage:null===e||void 0===e||null===(c=e.error)||void 0===c||null===(d=c.originalError)||void 0===d||null===(f=d.response)||void 0===f||null===(p=f.data)||void 0===p?void 0:p.message})}handleSendSmsCodeResponse(e){var t,n,r,o,i,a,s,l,u;e.response.data.success?this.metricService.phone({type:"SEND_CODE"}):this.metricService.phoneError({type:"SEND_CODE",phoneNumber:Number(hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.number).slice(-5)),httpCode:null===(r=e.response)||void 0===r?void 0:r.status,responseCode:null===(o=e.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.response)||void 0===s||null===(l=s.data)||void 0===l||null===(u=l.error)||void 0===u?void 0:u.message})}handleSendSmsCodeError(e){var t,n,r,o,i,a,s,l,u;e.error instanceof sp&&this.metricService.phoneError({type:"SEND_CODE",phoneNumber:Number(hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.number).slice(-5)),httpCode:null===(r=e.error.response)||void 0===r?void 0:r.status,responseCode:null===(o=e.error.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.error.response)||void 0===s||null===(l=s.data)||void 0===l||null===(u=l.error)||void 0===u?void 0:u.message})}handleVerifySmsCodeResponse(e){var t,n,r,o,i,a,s,l,u;e.response.data.success?this.metricService.phone({type:"VERIFY_CODE"}):this.metricService.phoneError({type:"VERIFY_CODE",phoneNumber:Number(hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.phone).slice(-5)),httpCode:null===(r=e.response)||void 0===r?void 0:r.status,responseCode:null===(o=e.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.response)||void 0===s||null===(l=s.data)||void 0===l||null===(u=l.error)||void 0===u?void 0:u.message})}handleVerifySmsCodeError(e){var t,n,r,o,i,a,s,l,u;e.error instanceof sp&&this.metricService.phoneError({type:"VERIFY_CODE",phoneNumber:Number(hl(null===(t=e.request)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.phone).slice(-5)),httpCode:null===(r=e.error.response)||void 0===r?void 0:r.status,responseCode:null===(o=e.error.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.error.response)||void 0===s||null===(l=s.data)||void 0===l||null===(u=l.error)||void 0===u?void 0:u.message})}handleGetClientInfoResponse(e){var t,n,r,o,i,a,s,l,u,c,d,f,p;e.response.data.success?this.metricService.client({exists:(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.exists)||!1,dormant:(null===e||void 0===e||null===(o=e.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.data)||void 0===a?void 0:a.dormant)||!1}):this.metricService.clientError({httpCode:null===e||void 0===e||null===(s=e.response)||void 0===s?void 0:s.status,responseCode:null===e||void 0===e||null===(l=e.response)||void 0===l||null===(u=l.data)||void 0===u||null===(c=u.error)||void 0===c?void 0:c.code,responseMessage:null===e||void 0===e||null===(d=e.response)||void 0===d||null===(f=d.data)||void 0===f||null===(p=f.error)||void 0===p?void 0:p.message})}handleGetClientInfoError(e){var t,n,r,o,i,a,s,l,u,c;e.error&&e.error instanceof sp&&this.metricService.clientError({httpCode:null===(t=e.error)||void 0===t||null===(n=t.response)||void 0===n?void 0:n.status,responseCode:null===e||void 0===e||null===(r=e.error)||void 0===r||null===(o=r.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.error)||void 0===s||null===(l=s.response)||void 0===l||null===(u=l.data)||void 0===u||null===(c=u.error)||void 0===c?void 0:c.message})}handleFieldomNearestResponse(e){var t,n,r,o,i,a,s,l,u,c;"Success"===e.response.data.status?this.metricService.fieldom({type:"NEAREST",city:null!==(t=null===(n=e.request)||void 0===n?void 0:n.params["Address.City"])&&void 0!==t?t:null}):this.metricService.fieldomError({type:"NEAREST",httpCode:null===(r=e.response)||void 0===r?void 0:r.status,responseCode:Number(null===(o=e.response)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.code),responseMessage:null===(a=e.response)||void 0===a||null===(s=a.data)||void 0===s?void 0:s.message,address:null===(l=e.request)||void 0===l?void 0:l.params["Address.FullAddress"],city:null!==(u=null===(c=e.request)||void 0===c?void 0:c.params["Address.City"])&&void 0!==u?u:null})}handleFieldomNearestError(e){var t,n,r,o,i,a,s,l,u,c;e.error instanceof sp&&this.metricService.fieldomError({type:"NEAREST",httpCode:null===(t=e.error)||void 0===t||null===(n=t.response)||void 0===n?void 0:n.status,responseCode:Number(null===(r=e.error)||void 0===r||null===(o=r.response)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.code),responseMessage:null===(a=e.error)||void 0===a||null===(s=a.response)||void 0===s||null===(l=s.data)||void 0===l?void 0:l.message,address:e.request.params["Address.FullAddress"],city:null!==(u=null===(c=e.request)||void 0===c?void 0:c.params["Address.City"])&&void 0!==u?u:null})}handleFieldomRequestResponse(e){var t,n,r;this.metricService.fieldom({type:"REQUEST",city:null===(t=e.request)||void 0===t||null===(n=t.payload)||void 0===n||null===(r=n.address)||void 0===r?void 0:r.city})}handleFieldomRequestError(e){var t,n,r,o,i,a,s,l,u,c,d,f,p,h;e.error instanceof sp&&this.metricService.fieldomError({type:"REQUEST",httpCode:null===(t=e.error)||void 0===t||null===(n=t.response)||void 0===n?void 0:n.status,responseCode:Number(null===(r=e.error)||void 0===r||null===(o=r.response)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.code),responseMessage:null===(a=e.error)||void 0===a||null===(s=a.response)||void 0===s||null===(l=s.data)||void 0===l?void 0:l.message,address:null===(u=e.request)||void 0===u||null===(c=u.payload)||void 0===c||null===(d=c.address)||void 0===d?void 0:d.fullAddress,city:null===(f=e.request)||void 0===f||null===(p=f.payload)||void 0===p||null===(h=p.address)||void 0===h?void 0:h.city})}handleFormAnswersResponse(e){if(e.response.data.success){var t,n,r,o,i,a,s,l,u,c,d;const f=null===(t=e.request)||void 0===t||null===(n=t.payload)||void 0===n||null===(r=n.answer)||void 0===r?void 0:r.root;this.metricService.answers({deliveryType:"branch"===(null===f||void 0===f||null===(o=f.delivery)||void 0===o?void 0:o.type)||"branch"===(null===f||void 0===f||null===(i=f.deliveryExist)||void 0===i?void 0:i.type)?"BRANCH":"COURIER",productId:null!==(a=null===f||void 0===f?void 0:f.cardType)&&void 0!==a?a:null===f||void 0===f?void 0:f.card,requestId:null===(s=e.response)||void 0===s||null===(l=s.data)||void 0===l||null===(u=l.data)||void 0===u||null===(c=u.payload)||void 0===c?void 0:c.answerId,promocode:null===f||void 0===f?void 0:f.promocode,utm:null===(d=this.sourcebusterService.data)||void 0===d?void 0:d.current})}else{var f,p,h,v,m,g,y,b,w,x;this.metricService.answersError({httpCode:null===(f=e.response)||void 0===f?void 0:f.status,responseCode:null===(p=e.response)||void 0===p||null===(h=p.data)||void 0===h||null===(v=h.error)||void 0===v?void 0:v.code,responseMessage:null===(m=e.response)||void 0===m||null===(g=m.data)||void 0===g||null===(y=g.error)||void 0===y?void 0:y.message,responseErrors:null===(b=e.response)||void 0===b||null===(w=b.data)||void 0===w||null===(x=w.data)||void 0===x?void 0:x.errors})}}handleFormAnswersError(e){var t,n,r,o,i,a,s,l,u,c,d,f,p,h;e.error instanceof sp&&this.metricService.answersError({httpCode:null===(t=e.error)||void 0===t||null===(n=t.response)||void 0===n?void 0:n.status,responseCode:null===(r=e.error)||void 0===r||null===(o=r.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.error)||void 0===s||null===(l=s.response)||void 0===l||null===(u=l.data)||void 0===u||null===(c=u.error)||void 0===c?void 0:c.message,responseErrors:null===(d=e.error)||void 0===d||null===(f=d.response)||void 0===f||null===(p=f.data)||void 0===p||null===(h=p.data)||void 0===h?void 0:h.errors})}handleSubmitPLApplicationResponse(e){var t,n,r,o,i,a,s,l,u,c;this.metricService.applicationSubmit({deliveryType:"COURIER"===(null===(t=e.request)||void 0===t||null===(n=t.payload)||void 0===n||null===(r=n.delivery)||void 0===r?void 0:r.type)?"COURIER":"BRANCH",utm:null===(o=this.sourcebusterService.data)||void 0===o?void 0:o.current,data:{creditPurpose:null!==(i=null===(a=e.request)||void 0===a||null===(s=a.payload)||void 0===s?void 0:s.loanPurpose)&&void 0!==i?i:null,loanApplicationId:null!==(l=null===(u=e.response)||void 0===u||null===(c=u.data)||void 0===c?void 0:c.loanApplicationId)&&void 0!==l?l:null}})}handleSubmitPLApplicationError(e){var t,n,r,o,i,a,s,l,u;let c=null===e||void 0===e||null===(t=e.error)||void 0===t||null===(n=t.originalError)||void 0===n||null===(r=n.response)||void 0===r?void 0:r.data;"object"!==typeof c&&(c={__:c}),this.metricService.applicationSubmitError({deliveryType:"COURIER"===(null===(o=e.request)||void 0===o||null===(i=o.payload)||void 0===i||null===(a=i.delivery)||void 0===a?void 0:a.type)?"COURIER":"BRANCH",httpCode:null===e||void 0===e||null===(s=e.error)||void 0===s||null===(l=s.originalError)||void 0===l||null===(u=l.response)||void 0===u?void 0:u.status,data:c})}handleDadataResponse(e){e.response.data.suggestions.length?this.foundDadataResults++:this.notFoundDadataResults++,this.trackDadataResultsWithDebounce()}handleDadataError(e){var t;this.metricService.dadataError({endpointUrl:e.request.endpointUrl,httpCode:e.error.response.status,value:e.request.params.query,response:null===(t=e.error)||void 0===t?void 0:t.response})}trackDadataResults(){this.metricService.dadata({foundCount:this.foundDadataResults,notFoundCount:this.notFoundDadataResults}),this.foundDadataResults=0,this.notFoundDadataResults=0}handlePromocodeVerifyResponse(e){e.response.data.success?this.metricService.promocode({value:e.promocode,status:"VALID"}):this.metricService.promocode({value:e.promocode,status:"INVALID"})}handlePromocodeVerifyError(e){var t,n,r,o,i,a,s,l,u,c;this.metricService.promocodeError({value:e.promocode,httpCode:null===(t=e.error)||void 0===t||null===(n=t.response)||void 0===n?void 0:n.status,responseCode:null===(r=e.error)||void 0===r||null===(o=r.response)||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.error)||void 0===a?void 0:a.code,responseMessage:null===(s=e.error)||void 0===s||null===(l=s.response)||void 0===l||null===(u=l.data)||void 0===u||null===(c=u.error)||void 0===c?void 0:c.msg})}handleSubscription(e){"dc-mir-cashback_subscription_react"===this.formName&&this.metricService.abTest({key:"card_with_subscription",value:{selected:e}})}handleExpressDeliveryShow(e){var t,n,r,o,i;this.metricService.abTest({key:"express_delivery_show",value:{slot:{date:null!==(t=null===(n=e.nearestResponse[0])||void 0===n?void 0:n.date)&&void 0!==t?t:null,time:null!==(r=null===(o=e.nearestResponse[0])||void 0===o||null===(i=o.timeWindow[0])||void 0===i?void 0:i.name)&&void 0!==r?r:null}}})}handleExpressDeliverySubmit(e){var t,n,r,o,i;const a=e.deliveryAddressAttributes;null!==a&&void 0!==a&&a.address&&(a.address=null),null!==a&&void 0!==a&&a.apartment&&(a.apartment=null),this.metricService.abTest({key:"express_delivery_submit",value:{slot:{date:null!==(t=null===(n=e.nearestResponse[0])||void 0===n?void 0:n.date)&&void 0!==t?t:null,time:null!==(r=null===(o=e.nearestResponse[0])||void 0===o||null===(i=o.timeWindow[0])||void 0===i?void 0:i.name)&&void 0!==r?r:null},deliveryAddress:null!==a&&void 0!==a?a:null}})}}Ec(Oc(),kp),Ec(Dc(si.FormName),kp,0),Ec(Dc(ii.EventService),kp,1),Ec(Dc(ii.SourcebusterService),kp,2),Ec(Dc(ii.MetricService),kp,3),Ec(Dc(oi.MetricRequestTime),kp,4);class Sp{constructor(e){this.metricService=void 0,this.requestTimeMap=void 0,this.requestTimeQueue=void 0,this.sendRequestTimeWithDebounce=void 0,this.requestInterceptor=void 0,this.responseInterceptor=void 0,this.metricService=e,this.requestTimeMap=new Map,this.requestTimeQueue=[],this.sendRequestTimeWithDebounce=bl(this.sendRequestTime.bind(this),3500,!1),this.initAxiosInteceptors()}destroy(){void 0!==this.requestInterceptor&&(ip.interceptors.request.eject(this.requestInterceptor),this.requestInterceptor=void 0),void 0!==this.responseInterceptor&&(ip.interceptors.response.eject(this.responseInterceptor),this.responseInterceptor=void 0)}initAxiosInteceptors(){this.requestInterceptor=ip.interceptors.request.use((e=>(this.interceptRequest(e),e))),this.responseInterceptor=ip.interceptors.response.use((e=>(this.interceptResponse(e.config,!1),e)),(async e=>(this.interceptResponse(e.config,!0),Promise.reject(e))))}interceptRequest(e){if(e.url){const t=new URL(e.url);this.urlIsAllowed(t)&&this.requestTimeMap.set(this.createRequestKey(t,e.method),performance.now())}}interceptResponse(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=performance.now();if(e.url){const o=new URL(e.url),i=this.createRequestKey(o,e.method),a=this.requestTimeMap.get(i);if(a){var r;const s=n-a;this.trackTime(null!==(r=e.method)&&void 0!==r?r:"get",o.origin+o.pathname,s,t),this.sendRequestTimeWithDebounce(),this.requestTimeMap.delete(i)}}}trackTime(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.requestTimeQueue.push({method:e.toUpperCase(),url:t,time:Math.round(n),withError:r})}sendRequestTime(){this.requestTimeQueue.length&&(this.metricService.requestTime(this.requestTimeQueue),this.requestTimeQueue=[])}createRequestKey(e){return`${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"get"}_${e.origin+e.pathname}`}urlIsAllowed(e){return e.host.includes(Sp.ALLOWED_HOST)}}Sp.ALLOWED_HOST="raiffeisen.ru",Ec(Oc(),Sp),Ec(Dc(ii.MetricService),Sp,0);const _p=xt(Ls)` padding: 29px 20px !important; box-shadow: none !important; `,Cp=xt(ws)` padding: 100px 0; text-align: center; `,Ep=()=>(0,Vs.jsx)(_p,{children:(0,Vs.jsx)(Cp,{size:"xxl",children:"\u0417\u0430\u0434\u0430\u043d\u043d\u0430\u044f \u0444\u043e\u0440\u043c\u0430 \u043d\u0435\xa0\u043d\u0430\u0439\u0434\u0435\u043d\u0430"})}),Op=[{step:0,title:"\u0424\u043e\u0440\u043c\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430",component:(0,Vs.jsx)(Ep,{})}];class Fp{constructor(e){this._screenData=void 0,this._changeListeners=void 0,this.getStepIndexes=()=>{const e=[];return this._screenData.forEach((t=>{e.includes(t.step)||e.push(t.step)})),e.sort(((e,t)=>e>t?1:-1))},this._screenData=null!==e&&void 0!==e?e:Op,this._changeListeners=[]}getScreenData(){return this._screenData}getScreensCount(){return this._screenData.length}getStepsCount(){return this.getStepIndexes().length}changeScreenTitle(e,t){if(!this._screenData[e])throw new Error(`Screen with index ${e} not found!`);this._screenData[e].changedTitle=t,this._notifyChangeListeners()}addChangeListener(e){this._changeListeners.push(e)}removeChangeListener(e){if(this._changeListeners){const t=this._changeListeners.indexOf(e);t>-1&&this._changeListeners.splice(t,1)}}_notifyChangeListeners(){for(const e of this._changeListeners)e(this._screenData)}}Ec(Oc(),Fp);const Ap="https://suggestions.dadata.ru",Dp=`${Ap}/suggestions/api/4_1/rs/suggest`,Pp=`${Ap}/suggestions/api/4_1/rs/findById`,Tp={headers:{Authorization:"Token ffa4a15a5cb1e410351aa4b7dcf91288e9ed2d0d"}};class jp{constructor(e){var t=this;this._eventService=void 0,this.getNameSuggestions=async function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=`${Dp}/fio`,o={query:e,count:5};try{t._eventService.emit("dadata_suggestions_fio:request",{request:{method:"POST",endpointUrl:r,params:o}});const e=await ip.post(r,o,Tp);return t._eventService.emit("dadata_suggestions_fio:response",{request:{method:"POST",endpointUrl:r,params:o},response:{status:e.status,data:e.data}}),n?e.data.suggestions.map((e=>e.data)):e.data.suggestions.map((e=>e.value))}catch(i){return t._eventService.emit("dadata_suggestions_fio:error",{error:i,request:{method:"POST",endpointUrl:r,params:o}}),[]}},this.getGenderByFullName=async e=>{const t=`${Dp}/fio`,n={query:e,count:1};try{this._eventService.emit("dadata_suggestions_fio:request",{request:{method:"POST",endpointUrl:t,params:n}});const r=await ip.post(t,n,Tp);this._eventService.emit("dadata_suggestions_fio:response",{request:{method:"POST",endpointUrl:t,params:n},response:{status:r.status,data:r.data}});const o=r.data.suggestions;return o.length&&o[0].data&&o[0].value===e&&o[0].data.gender?"MALE"===o[0].data.gender?"Male":"Female":"None"}catch(r){return this._eventService.emit("dadata_suggestions_fio:error",{error:r,request:{method:"POST",endpointUrl:t,params:n}}),"None"}},this.getEmailSuggestions=async e=>{const t=`${Dp}/email`,n={query:e,count:5};try{this._eventService.emit("dadata_suggestions_email:request",{request:{method:"POST",endpointUrl:t,params:n}});const e=await ip.post(t,n,Tp);return this._eventService.emit("dadata_suggestions_email:response",{request:{method:"POST",endpointUrl:t,params:n},response:{status:e.status,data:e.data}}),e.data.suggestions.map((e=>e.value))}catch(r){return this._eventService.emit("dadata_suggestions_email:error",{error:r,request:{method:"POST",endpointUrl:t,params:n}}),[]}},this.getFmsSuggestions=async e=>{const t=`${Dp}/fms_unit`,n={query:e,count:5};try{this._eventService.emit("dadata_suggestions_fms_unit:request",{request:{method:"POST",endpointUrl:t,params:n}});const e=await ip.post(t,n,Tp);return this._eventService.emit("dadata_suggestions_fms_unit:response",{request:{method:"POST",endpointUrl:t,params:n},response:{status:e.status,data:e.data}}),e.data.suggestions.map((e=>`${e.data.code} ${e.value}`))}catch(r){return this._eventService.emit("dadata_suggestions_fms_unit:error",{error:r,request:{method:"POST",endpointUrl:t,params:n}}),[]}},this.getAddressSuggestions=async e=>{const t=`${Dp}/address`,n={query:e,count:5};try{this._eventService.emit("dadata_suggestions_address:request",{request:{method:"POST",endpointUrl:t,params:n}});const e=await ip.post(t,n,Tp);return this._eventService.emit("dadata_suggestions_address:response",{request:{method:"POST",endpointUrl:t,params:n},response:{status:e.status,data:e.data}}),e.data.suggestions.map((e=>({value:e.value,data:e.data?this.mapAddressAttributes(e.data):null})))}catch(r){return this._eventService.emit("dadata_suggestions_address:error",{error:r,request:{method:"POST",endpointUrl:t,params:n}}),[]}},this.getPartySuggestions=async e=>{const t=`${Dp}/party`,n={query:e,count:10};try{this._eventService.emit("dadata_suggestions_party:request",{request:{method:"POST",endpointUrl:t,params:n}});const e=await ip.post(t,n,Tp);return this._eventService.emit("dadata_suggestions_party:response",{request:{method:"POST",endpointUrl:t,params:n},response:{status:e.status,data:e.data}}),e.data.suggestions.map((e=>{let{value:t,data:n}=e;return{value:t,data:this.mapPartyAttributes(n)}}))}catch(r){return this._eventService.emit("dadata_suggestions_party:error",{error:r,request:{method:"POST",endpointUrl:t,params:n}}),[]}},this.getPartyById=async function(e){const n=`${Pp}/party`,r={query:e,count:arguments.length>1&&void 0!==arguments[1]?arguments[1]:1};try{t._eventService.emit("dadata_find_by_id_party:request",{request:{method:"POST",endpointUrl:n,params:r}});const e=await ip.post(n,r,Tp);return t._eventService.emit("dadata_find_by_id_party:response",{request:{method:"POST",endpointUrl:n,params:r},response:{status:e.status,data:e.data}}),e.data.suggestions}catch(o){return t._eventService.emit("dadata_find_by_id_party:error",{error:o,request:{method:"POST",endpointUrl:n,params:r}}),[]}},this._eventService=e}mapAddressAttributes(e){var t,n,r,o,i,a,s,l,u,c,d,f,p,h,v,m,g,y,b,w,x,k,S,_;return{country:e.country,region:e.region_type_full&&e.region?`${e.region_type_full} ${e.region}`:null,regionName:null!==(t=e.region)&&void 0!==t?t:null,regionType:null!==(n=e.region_type)&&void 0!==n?n:null,city:e.city_type_full&&e.city?`${e.city_type_full} ${e.city}`:null,cityName:null!==(r=e.city)&&void 0!==r?r:null,cityType:null!==(o=e.city_type)&&void 0!==o?o:null,locality:e.settlement_type_full&&e.settlement?`${e.settlement_type_full} ${e.settlement}`:null,settlement:null!==(i=e.settlement)&&void 0!==i?i:null,settlementType:null!==(a=e.settlement_type)&&void 0!==a?a:null,street:null!==(s=e.street_with_type)&&void 0!==s?s:null,streetName:null!==(l=e.street)&&void 0!==l?l:null,streetType:null!==(u=e.street_type)&&void 0!==u?u:null,house:null!==(c=e.house)&&void 0!==c?c:null,houseType:null!==(d=e.house_type)&&void 0!==d?d:null,housing:e.block_type&&e.block?`${e.block_type} ${e.block}`:null,blockType:null!==(f=e.block_type)&&void 0!==f?f:null,building:null!==(p=e.block)&&void 0!==p?p:null,buildingType:null!==(h=e.block_type)&&void 0!==h?h:null,apartment:null!==(v=e.flat)&&void 0!==v?v:null,appartmentType:null!==(m=e.flat_type)&&void 0!==m?m:null,postcode:null!==(g=e.postal_code)&&void 0!==g?g:null,kladr:null!==(y=null!==(b=null!==(w=null!==(x=e.kladr_id)&&void 0!==x?x:e.street_kladr_id)&&void 0!==w?w:e.city_kladr_id)&&void 0!==b?b:e.region_kladr_id)&&void 0!==y?y:null,fiasCode:null!==(k=e.fias_code)&&void 0!==k?k:null,area:null!==(S=e.area)&&void 0!==S?S:null,districtType:null!==(_=e.area_type)&&void 0!==_?_:null}}mapPartyAttributes(e){var t,n,r,o,i,a,s,l,u;return{hid:null!==(t=null===e||void 0===e?void 0:e.hid)&&void 0!==t?t:null,inn:null!==(n=null===e||void 0===e?void 0:e.inn)&&void 0!==n?n:null,type:null!==(r=null===e||void 0===e||null===(o=e.opf)||void 0===o?void 0:o.short)&&void 0!==r?r:null,typeCode:null!==(i=null===e||void 0===e||null===(a=e.opf)||void 0===a?void 0:a.code)&&void 0!==i?i:null,ogrn:null!==(s=null===e||void 0===e?void 0:e.ogrn)&&void 0!==s?s:null,okved:null!==(l=null===e||void 0===e?void 0:e.okved)&&void 0!==l?l:null,okvedType:null!==(u=null===e||void 0===e?void 0:e.okved_type)&&void 0!==u?u:null}}}Ec(Dc(ii.EventService),jp,0),Ec(Oc(),jp);class Mp extends Error{constructor(e,t){super(e),this.details=void 0,this.details=t}}class Ip{constructor(e,t){this._eventService=void 0,this._endpointUrl=void 0,this.hasActiveIssue=async e=>{if("testDebitAcctiveIssueCheckClientAuthToken"===e)return Promise.resolve(!0);if("testCheckClientAuthToken"===e)return Promise.resolve(!1);const t=`${this._endpointUrl}/check-issue`,n={"Check-Client-Auth-Token":e};try{var r,o;this._eventService.emit("debit_check_issue:request",{request:{method:"GET",checkIssueEndpointUrl:t,headers:n}});const e=await ip.get(t,{headers:n,withCredentials:!0});var i,a;if(this._eventService.emit("debit_check_issue:response",{request:{method:"GET",checkIssueEndpointUrl:t,headers:n},response:{status:e.status,data:e.data}}),null!==e&&void 0!==e&&null!==(r=e.data)&&void 0!==r&&r.success)return await Promise.resolve(!(null===e||void 0===e||null===(i=e.data)||void 0===i||null===(a=i.data)||void 0===a||!a.hasActiveIssues));throw new Mp("Failed to check active issue from decor",null===e||void 0===e||null===(o=e.data)||void 0===o?void 0:o.error)}catch(s){return s instanceof sp&&this._eventService.emit("debit_check_issue:error",{error:s,request:{method:"GET",checkIssueEndpointUrl:t,headers:n}}),Promise.reject(s)}},this._eventService=e,this._endpointUrl=null!==t&&void 0!==t?t:"https://oapi.raiffeisen.ru/api/debit/public"}}Ec(Oc(),Ip),Ec(Dc(ii.EventService),Ip,0),Ec(Dc(si.DebitEndpoint),Ip,1),Ec(Pc(),Ip,1);const Np=new class{constructor(){window.__dmFormLog=[]}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.execute("log",t)}info(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.execute("info",t)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.execute("warn",t)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.execute("error",t)}execute(e,t){window.__dmFormLog.push({type:e,data:t})}};class Rp{constructor(e){this._oapiUrl="https://oapi.raiffeisen.ru/api",this._eventService=void 0,this._countries=[],this._depratmentCities=[],this._depratments=[],this._eventService=e,this.initTestOapiUrl(),this.loadDictonaries()}initTestOapiUrl(){const e=window.location.host,t=e.startsWith("ts2.")||e.startsWith("www.ts2."),n=e.startsWith("ts1.")||e.startsWith("www.ts1.");t&&(this._oapiUrl="https://test-oapi.raiffeisen.ru/api"),n&&(this._oapiUrl="https://preview-oapi.raiffeisen.ru/api")}getCountries(){return this._countries}getCityIdByName(e){const t=this._depratmentCities.filter((t=>t.title===e));if(!t.length)throw new Error(`Not found id for city '${e}'`);return t[0].code}getDepratmentCities(){const e=this.getDepartments().map((e=>e.cityCode));return this._depratmentCities.filter((t=>e.includes(t.code)))}getDepartments(){return this._depratments}getDepartmentsByCity(e){return this._depratments.filter((t=>t.cityCode===e))}getDepartmentsByCodes(e){return this._depratments.filter((t=>e.includes(t.code)))}async loadDictonaries(){try{const e=await Promise.all([this._getCountryDictionary(),this._getDepratmentCityDictionary(),this._getDepratmentDictionary(),this._getDepratmentMapDictionary()]);this._countries=e[0],this._depratmentCities=e[1];let t=e[2];const n=t.filter((e=>"559"===e.code));n.length>1&&(t=t.filter((e=>e.address!==n[0].address)));const r={};e[3].forEach((e=>{r[e.departmentCode]=e})),this._depratments=t.map((e=>r[e.code]?(e.title=r[e.code].title,e.addressWithIndex=r[e.code].addressWithIndex,e.workHours=r[e.code].workHours,e.latitude=r[e.code].latitude,e.longitude=r[e.code].longitude,e):e))}catch(e){Np.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u043e\u0432",{code:null===e||void 0===e?void 0:e.code,message:null===e||void 0===e?void 0:e.message,stack:null===e||void 0===e?void 0:e.stack})}}async _getCountryDictionary(){try{const e=(await ip.get(`${this._oapiUrl}/forms/public/v1.0/dictionaries/country_iso_alpha2`,{withCredentials:!0})).data.data.dictionary.records.map((e=>({code:e.key,title:e.label})));return e}catch(t){var e;if(t instanceof sp)this._eventService.emit("load_dictionary:error",{url:null===t||void 0===t||null===(e=t.config)||void 0===e?void 0:e.url,code:null===t||void 0===t?void 0:t.code,message:null===t||void 0===t?void 0:t.message});throw t}}async _getDepratmentCityDictionary(){try{const e=(await ip.get(`${this._oapiUrl}/forms/public/v1.0/dictionaries/city_delivery`,{withCredentials:!0})).data.data.dictionary.records.map((e=>({code:e.key,title:e.label})));return e}catch(t){var e;if(t instanceof sp)this._eventService.emit("load_dictionary:error",{url:null===t||void 0===t||null===(e=t.config)||void 0===e?void 0:e.url,code:null===t||void 0===t?void 0:t.code,message:null===t||void 0===t?void 0:t.message});throw t}}async _getDepratmentDictionary(){try{const e=(await ip.get(`${this._oapiUrl}/forms/public/v1.0/dictionaries/branch_delivery`,{withCredentials:!0})).data.data.dictionary.records.map((e=>{try{return{cityCode:e.relations.default.keys[0][0],address:e.data.address,code:e.data.code,key:e.key}}catch{return null}})).filter(Boolean);return e}catch(t){var e;if(t instanceof sp)this._eventService.emit("load_dictionary:error",{url:null===t||void 0===t||null===(e=t.config)||void 0===e?void 0:e.url,code:null===t||void 0===t?void 0:t.code,message:null===t||void 0===t?void 0:t.message});throw t}}async _getDepratmentMapDictionary(){try{const e=(await ip.get(`${this._oapiUrl}/dictionaries/public/v1.0/branch`,{withCredentials:!0})).data.data[0].filter((e=>!e.is_virtual)).map((e=>({departmentCode:`${e.code}`,title:e.name,addressWithIndex:e.address,workHours:e.work_hours,latitude:e.latitude,longitude:e.longitude})));return e}catch(t){var e;if(t instanceof sp)this._eventService.emit("load_dictionary:error",{url:null===t||void 0===t||null===(e=t.config)||void 0===e?void 0:e.url,code:null===t||void 0===t?void 0:t.code,message:null===t||void 0===t?void 0:t.message});throw t}}}Ec(Oc(),Rp),Ec(Dc(ii.EventService),Rp,0);class zp{constructor(){this._events=[],this._listeners={}}emit(e,t){if(this._events.push([e,t]),this._listeners[e])for(const n of this._listeners[e])n(t)}on(e,t){this._listeners[e]?this._listeners[e].push(t):this._listeners[e]=[t]}off(e,t){if(this._listeners[e]){const n=this._listeners[e].indexOf(t);n>-1&&this._listeners[e].splice(n,1)}}}Ec(Oc(),zp);const Bp="1111",Lp="71111111113",Hp="71111111114",Up="71111111115",Vp="71111111116",qp="71111111117",Wp="71111111122",$p="71111111123",Yp="71111111124",Gp=["71111111111","71111111112",Lp,Hp,Up,Vp,qp,Wp,$p,Yp];class Kp extends Error{}class Qp extends Error{}const Zp=JSON.parse('[{"date":"12/31/2048","courierId":"000050","timeWindow":[{"id":"8","name":"\u0441 23 \u0434\u043e 24"}],"deliveryAreaName":"\u041c\u0430\u0440\u0441 [\u041c\u0430\u0440\u0441 (\u0434\u043e \u0415\u0437\u0435\u0440\u043e)]"},{"date":"01/01/2049","courierId":"000050","timeWindow":[{"id":"5","name":"\u0441 6 \u0434\u043e 7"},{"id":"8","name":"\u0441 7 \u0434\u043e 8"},{"id":"6","name":"\u0441 8 \u0434\u043e 9"},{"id":"16","name":"\u0441 16 \u0434\u043e 18"}],"deliveryAreaName":"\u041c\u0430\u0440\u0441 [\u041c\u0430\u0440\u0441 (\u0434\u043e \u0415\u0437\u0435\u0440\u043e)]"}]');class Xp{constructor(e,t){this._eventService=void 0,this._endpointUrl="",this._eventService=t,this._endpointUrl=e}async getNearest(e){if(Gp.includes(e.phoneNumber))return(async e=>new Promise((t=>setTimeout(t,e))))(500).then((()=>Zp));const t=`${this._endpointUrl}/nearest`,n={externalSystemId:"2",ProductId:e.productId,phoneNumber:e.phoneNumber,token:e.token,"Address.KladrCode":e.kladrCode,"Address.Region":e.region,"Address.Area":e.area,"Address.City":e.city,"Address.Street":e.street,"Address.House":e.house,"Address.Block":e.block,"Address.Flat":e.flat,"Address.FullAddress":e.fullAddress};try{this._eventService.emit("fieldom_get_nearest:request",{request:{method:"GET",endpointUrl:t,params:n}});const r=await ip.get(t,{params:n,withCredentials:!0});if(this._eventService.emit("fieldom_get_nearest:response",{request:{method:"GET",endpointUrl:t,params:n},response:{status:r.status,data:r.data}}),"Success"===r.data.status)return await Promise.resolve(r.data.response);throw this._eventService.emit("fieldom:error",{status:r.data.status,code:r.data.code,message:r.data.message,city:e.city}),new Kp(this._getUserFriendlyNearestError(r.data.code,r.data.message))}catch(r){return this._eventService.emit("fieldom_get_nearest:error",{error:r,request:{method:"GET",endpointUrl:t,params:n}}),r instanceof Kp?Promise.reject(r.message):Promise.reject("\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0434\u0430\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438")}}async createRequest(e){var t;const n=`${this._endpointUrl}/request`,r={externalSystemId:"2",clientType:"Retail",externalSystemDeliveryRequestId:e.externalSystemDeliveryRequestId,lastName:e.lastName,firstName:e.firstName,middleName:e.middleName,phoneNumber:`+${e.phoneNumber}`,token:e.token,productId:e.productId,address:{kladrCode:e.address.kladrCode,region:e.address.region,area:e.address.area,city:e.address.city,street:e.address.street,house:e.address.house,block:e.address.block,flat:e.address.flat,fullAddress:e.address.fullAddress},deliveryDate:e.deliveryDate,timeWindowId:e.timeWindowId,comments:null!==(t=e.comments)&&void 0!==t?t:null};if(e.phoneNumber===Wp||e.phoneNumber===$p||e.phoneNumber===Yp)return Promise.resolve([{deliveryRequestId:"381735a7-dd41-4a9c-b993-23b4b6f90d1c",newDeliveryRequestId:null,deliveryDate:e.deliveryDate,productId:e.productId,courierId:"000021",timeWindowId:e.timeWindowId,timeWindowName:"\u0441 10 \u0434\u043e 21",deliveryAreaName:"\u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f",address:{latitude:null,longitude:null,fiasCode:null,kladrCode:null,country:"\u0420\u043e\u0441\u0441\u0438\u044f",region:null,area:null,city:"\u0433\u043e\u0440\u043e\u0434 \u0422\u0435\u0441\u0442",settlement:null,street:"\u0443\u043b \u0420\u0430\u0439\u0444\u0444\u0430\u0439\u0437\u0435\u043d\u0430",house:"45",block:null,flat:null,fullAddress:"\u0433 \u0422\u0435\u0441\u0442, \u0443\u043b \u0420\u0430\u0439\u0444\u0444\u0430\u0439\u0437\u0435\u043d\u0430, \u0434 45"},comments:e.comments}]);try{this._eventService.emit("fieldom_create_request:request",{request:{method:"POST",endpointUrl:n,payload:r}});const e=await ip.post(n,r,{withCredentials:!0});if(this._eventService.emit("fieldom_create_request:response",{request:{method:"POST",endpointUrl:n,payload:r},response:{status:e.status,data:e.data}}),"Success"===e.data.status)return await Promise.resolve(e.data.response);throw new Qp(e.data.message)}catch(o){return this._eventService.emit("fieldom_create_request:error",{error:o,request:{method:"POST",endpointUrl:n,payload:r}}),o instanceof Qp?Promise.reject(o.message||"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043a\u0443\u0440\u044c\u0435\u0440\u0441\u043a\u043e\u0439 \u0437\u0430\u044f\u0432\u043a\u0438"):Promise.reject("\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043a\u0443\u0440\u044c\u0435\u0440\u0441\u043a\u043e\u0439 \u0437\u0430\u044f\u0432\u043a\u0438")}}_getUserFriendlyNearestError(e,t){switch(e){case"101":case"102":case"103":case"104":case"105":case"108":case"109":case"111":case"112":case"113":case"117":case"200":case"202":case"205":case"300":case"301":case"302":case"303":case"306":case"307":case"308":case"310":case"311":return"\u041c\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u0430\u0442\u044b \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u0437\u0430\u044f\u0432\u043a\u0443, \u043d\u0430\u0436\u0430\u0432 \u043a\u043d\u043e\u043f\u043a\u0443 \xab\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\xbb, \u0438 \u043d\u0430\u0448 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0443\u0442\u043e\u0447\u043d\u0438\u0442 \u0443\u0434\u043e\u0431\u043d\u043e\u0435 \u0434\u043b\u044f \u0432\u0430\u0441 \u0432\u0440\u0435\u043c\u044f";case"201":case"203":return'\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043c\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u0430\u0440\u0442\u044b \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u0430\u0434\u0440\u0435\u0441\u0443. \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0430 "\u0417\u0430\u0431\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e" \u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439 \u043a \u0432\u0430\u043c \u0433\u043e\u0440\u043e\u0434';case"114":case"304":return"\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432 \u044d\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0435 \u043d\u0430\u0448\u0438 \u043a\u0443\u0440\u044c\u0435\u0440\u044b \u0437\u0430\u043d\u044f\u0442\u044b. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0443\u044e \u0434\u0430\u0442\u0443";case"206":return'\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0430 "\u0417\u0430\u0431\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e"';case"204":case"207":case"208":return'\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043c\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u0430\u0440\u0442\u044b \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u0430\u0434\u0440\u0435\u0441\u0443. \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0430 "\u0417\u0430\u0431\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e" \u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0440\u043e\u0434, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0438\u0435\u0445\u0430\u0442\u044c \u0437\u0430 \u043a\u0430\u0440\u0442\u043e\u0439';case"305":return"\u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0432\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0434\u0435\u043d\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0436\u0435 \u043f\u0440\u043e\u0448\u0435\u043b. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044e \u0434\u0430\u0442\u0443";case"106":case"107":case"110":case"115":case"116":case"309":return'\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 (\u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0432\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u044f\u0442\u0441\u044f \u0432 \u0437\u0430\u044f\u0432\u043a\u0443). \u0418\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0430 "\u0417\u0430\u0431\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e"';default:return t}}}Ec(Oc(),Xp),Ec(Dc(si.FieldomEndpoint),Xp,0),Ec(Dc(ii.EventService),Xp,1);class Jp{constructor(e,t,n,r){this._notificationService=void 0,this._sourcebusterService=void 0,this._eventService=void 0,this._endpointUrl=void 0,this._notificationService=t,this._sourcebusterService=n,this._eventService=r,this._endpointUrl=e}async checkPhoneRateLimits(e){const t=hl(e);if(Up===t)return Promise.resolve(!1);if(Gp.includes(t))return Promise.resolve(!0);const n=`${this._endpointUrl}/rate-limits/check?phone=${t}`;try{this._eventService.emit("check_rate_limits:request",{request:{method:"GET",endpointUrl:n,params:{phone:t}}});const e=await ip.get(n,{withCredentials:!0});return this._eventService.emit("check_rate_limits:response",{request:{method:"GET",endpointUrl:n,params:{phone:t}},response:{code:e.data.code,status:e.status,data:e.data}}),e.data.data.limitReached?await Promise.resolve(!1):await Promise.resolve(!0)}catch(r){return this._eventService.emit("check_rate_limits:error",{error:r,request:{method:"GET",endpointUrl:n,params:{phone:t}}}),Promise.resolve(!0)}}async sendAnswers(e,t,n){const r=`${this._endpointUrl}/answers`,o={token:null!==n&&void 0!==n?n:null,answer:{root:Object.assign({utm:this._sourcebusterService.current},e)},auth:t},i=hl(t.phone);if(i===Wp||i===$p||i===Yp)return Np.info("\u0414\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u044f\u0432\u043a\u0438 \u0441\u043e stub-\u043d\u043e\u043c\u0435\u0440\u0430:",o),this._eventService.emit("send_answers:response",{request:{method:"POST",endpointUrl:r,payload:o},response:{code:0,status:201,data:{success:!0,error:{code:0,message:""},meta:[],data:{payload:{answerId:1111111111,reuseToken:"8c1f5c14-ec01-4625-a0a7-8d293f438315"}}}}}),Promise.resolve({payload:{answerId:1111111111}});try{var a,s;this._eventService.emit("send_answers:request",{request:{method:"POST",endpointUrl:r,payload:o}});const e=await ip.post(r,o,{withCredentials:!0});if(this._eventService.emit("send_answers:response",{request:{method:"POST",endpointUrl:r,payload:o},response:{code:e.data.code,status:e.status,data:e.data}}),e.data.success)return await Promise.resolve(e.data);throw null!==(a=e.data.data)&&void 0!==a&&a.errors?Error(`${Object.values(e.data.data.errors).join(" ")}`):null!==(s=e.data.error)&&void 0!==s&&s.message?Error(e.data.error.message):Error("\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430.")}catch(l){return this._eventService.emit("send_answers:error",{error:l,request:{method:"POST",endpointUrl:r,payload:o}}),l instanceof Error?this._notificationService.error({title:"\u041e\u0448\u0438\u0431\u043a\u0430:",message:l.message}):this._notificationService.error({message:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0437\u0430\u044f\u0432\u043a\u0438"}),Promise.resolve(!1)}}}Ec(Oc(),Jp),Ec(Dc(si.FormsEndpoint),Jp,0),Ec(Dc(ii.NotificationService),Jp,1),Ec(Dc(ii.SourcebusterService),Jp,2),Ec(Dc(ii.EventService),Jp,3);class eh{constructor(e){this._formName=void 0,this._sendingInProgress=!1,this._sendingQueue=[],this._baseParams=void 0,this._loadParams=void 0,this._previousScreen=void 0,this._upperVisitScreen=void 0,this._formName=e}async load(e){var t;const n=localStorage.getItem(`${this._formName}_load_id`);this._loadParams=Object.assign({form_name:this._formName},{page_path:e.pagePath,previous_load_id:n,google_id:e.googleId,utm:e.utm,form_version:null!==(t=e.formVersion)&&void 0!==t?t:null}),this._sendMetrics()}async screen(e){var t,n;this._pushMetric("screen",{current:e.current,previous:null!==(t=this._previousScreen)&&void 0!==t?t:null,current_is_first_open:e.current>(null!==(n=this._upperVisitScreen)&&void 0!==n?n:0),ms_after_page_load:Math.round(performance.now())}),this._previousScreen=e.current,(!this._upperVisitScreen||e.current>this._upperVisitScreen)&&(this._upperVisitScreen=e.current),this._sendMetrics()}async dictionaryError(e){var t,n;this._pushMetric("dictionary_error",{url:e.url,code:null!==(t=e.code)&&void 0!==t?t:null,message:null!==(n=e.message)&&void 0!==n?n:null}),this._sendMetrics()}async rateLimits(e){this._pushMetric("rate_limits",{phone_number:e.phoneNumber,limit_reached:e.limitReached}),this._sendMetrics()}async debitCheckIssue(e){this._pushMetric("debit_check_issue",{has_active_issues:e.hasActiveIssues}),this._sendMetrics()}async rateLimitsError(e){this._pushMetric("rate_limits_error",{phone_number:e.phoneNumber,http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage}),this._sendMetrics()}async debitCheckIssueError(e){this._pushMetric("debit_check_issue_error",{http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage}),this._sendMetrics()}async phone(e){this._pushMetric("phone",{type:e.type}),this._sendMetrics()}async phoneError(e){this._pushMetric("phone_error",{type:e.type,phone_number:e.phoneNumber,http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage}),this._sendMetrics()}async smsAuth(e){this._pushMetric("sms_auth",{type:e.type,phone_number:e.phoneNumber}),this._sendMetrics()}async smsAuthError(e){this._pushMetric("sms_auth_error",{type:e.type,phone_number:e.phoneNumber,http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage}),this._sendMetrics()}async client(e){this._pushMetric("client",{exists:e.exists,dormant:e.dormant}),this._sendMetrics()}async clientError(e){this._pushMetric("client_error",{http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage}),this._sendMetrics()}async dadata(e){this._pushMetric("dadata",{found_count:e.foundCount,not_found_count:e.notFoundCount}),this._sendMetrics()}async dadataError(e){let t=e.endpointUrl;try{t=new URL(e.endpointUrl).pathname}catch(oe){}this._pushMetric("dadata_error",{endpoint_path:t,http_code:e.httpCode,value:e.value,response:e.response}),this._sendMetrics()}async fieldom(e){this._pushMetric("fieldom",{type:e.type,city:e.city}),this._sendMetrics()}async fieldomError(e){this._pushMetric("fieldom_error",{type:e.type,http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage,address:e.address,city:e.city}),this._sendMetrics()}async answers(e){this._pushMetric("answers",{delivery_type:e.deliveryType,product_id:e.productId,request_id:e.requestId,promocode:e.promocode,utm:e.utm}),this._sendMetrics()}async answersError(e){this._pushMetric("answers_error",{http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage,response_errors:e.responseErrors}),this._sendMetrics()}async applicationSubmit(e){this._pushMetric("application_submit",{delivery_type:e.deliveryType,utm:e.utm,data:e.data}),this._sendMetrics()}async applicationSubmitError(e){this._pushMetric("application_submit_error",{delivery_type:e.deliveryType,http_code:e.httpCode,data:e.data}),this._sendMetrics()}async promocode(e){this._pushMetric("promocode",{value:e.value,status:e.status}),this._sendMetrics()}async promocodeError(e){this._pushMetric("promocode_error",{value:e.value,http_code:e.httpCode,response_code:e.responseCode,response_message:e.responseMessage}),this._sendMetrics()}async requestTime(e){this._pushMetric("request_time",{requests:e.map((e=>({method:e.method,url:e.url,time_in_ms:e.time,with_error:e.withError})))}),this._sendMetrics()}async abTest(e){var t;this._pushMetric("ab_test",{key:e.key,value:null!==(t=e.value)&&void 0!==t?t:null}),this._sendMetrics()}async _sendLoad(){if(this._loadParams){const e=await this._sendMetric("load",this._loadParams);localStorage.setItem(`${this._formName}_load_id`,e.data.load_id),this._baseParams={form_id:e.data.form_id,load_id:e.data.load_id},this._loadParams=void 0}}_pushMetric(e,t){this._sendingQueue.push([e,t]),this._sendMetrics()}async _sendMetrics(){if(!this._sendingInProgress){this._sendingInProgress=!0;try{await this._sendLoad()}catch(t){return void(this._sendingInProgress=!1)}if(this._sendingQueue.length&&this._baseParams){var e;const[t,r]=null!==(e=this._sendingQueue.shift())&&void 0!==e?e:[null,null];if(t&&r){try{await this._sendMetric(t,Object.assign(r,this._baseParams))}catch(n){Np.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u043c\u0435\u0442\u0440\u0438\u043a",{code:null===n||void 0===n?void 0:n.code,message:null===n||void 0===n?void 0:n.message,stack:null===n||void 0===n?void 0:n.stack})}this._sendingInProgress=!1,this._sendMetrics()}}else this._sendingInProgress=!1}}async _sendMetric(e,t){return ip.post(`https://raiffeisen.cpeople.ru/metrics/${e}`,t,{timeout:2e4,headers:{"content-type":"application/json"}})}}function th(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?th(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):th(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Ec(Oc(),eh),Ec(Dc(si.FormName),eh,0);var rh=function(){function e(){Yt(this,e),this.counter=0,this.subscribers=[],this.notifications=[],this.limit=void 0}return Kt(e,[{key:"init",value:function(e,t){this.subscribers.push(e),this.limit=t}},{key:"get",value:function(){var e,t=null!==(e=this.limit)&&void 0!==e?e:this.notifications.length;return this.notifications.slice(0,t)}},{key:"add",value:function(e){e.id||(e.id="notification_".concat(this.counter),this.counter++),this.notifications.push(e),this.broadcast()}},{key:"plain",value:function(e){this.add(nh({design:"plain"},e))}},{key:"success",value:function(e){this.add(nh({design:"success"},e))}},{key:"warning",value:function(e){this.add(nh({design:"warning"},e))}},{key:"error",value:function(e){this.add(nh({design:"error"},e))}},{key:"accent",value:function(e){this.add(nh({design:"accent"},e))}},{key:"remove",value:function(e){this.notifications=this.notifications.filter((function(t){return t.id!==e})),this.broadcast()}},{key:"clear",value:function(){this.notifications=[],this.subscribers.length=0}},{key:"broadcast",value:function(){this.subscribers.forEach((function(e){e()}))}}]),e}();new rh;class oh{constructor(e,t){this._eventService=void 0,this._endpointUrl="https://oapi.raiffeisen.ru/api/ntb/public/v1.0/client",this._eventService=t,this._endpointUrl=e}async getClientInfo(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e.birthdate))throw new Error("birthdate \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 YYYY-MM-DD");const t={"Check-Client-Auth-Token":e.checkClientAuthToken},n={name:e.name,surname:e.surname,patronymic:e.patronymic,birthDate:e.birthdate,phone:e.phone};if(e.phone===Lp||e.phone===$p)return this._eventService.emit("get_client_info:response",{request:{method:"GET",endpointUrl:this._endpointUrl,headers:t,params:n},response:{status:200,data:{success:!0,error:{code:0,message:""},meta:[],data:{exists:!0}}}}),Promise.resolve({exists:!0});if(e.phone===Hp||e.phone===Yp)return this._eventService.emit("get_client_info:response",{request:{method:"GET",endpointUrl:this._endpointUrl,headers:t,params:n},response:{status:200,data:{success:!0,error:{code:0,message:""},meta:[],data:{exists:!0,dormant:!0}}}}),Promise.resolve({exists:!0,dormant:!0});if(Gp.includes(e.phone))return this._eventService.emit("get_client_info:response",{request:{method:"GET",endpointUrl:this._endpointUrl,headers:t,params:n},response:{status:200,data:{success:!0,error:{code:0,message:""},meta:[],data:{exists:!1}}}}),Promise.resolve({exists:!1});try{this._eventService.emit("get_client_info:request",{request:{method:"GET",endpointUrl:this._endpointUrl,params:n}});const e=await ip.get(this._endpointUrl,{headers:t,params:n,withCredentials:!0,timeout:5e3});if(this._eventService.emit("get_client_info:response",{request:{method:"GET",endpointUrl:this._endpointUrl,headers:t,params:n},response:{status:e.status,data:e.data}}),e.data.success&&e.data.data)return await Promise.resolve(e.data.data);throw Error("NTB success is false")}catch(i){var r,o;return this._eventService.emit("get_client_info:error",{error:i,request:{method:"GET",endpointUrl:this._endpointUrl,headers:t,params:n}}),i instanceof sp?Promise.reject(null===(r=i.response)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.error):Promise.reject(i)}}}Ec(Oc(),oh),Ec(Dc(si.NtbEndpoint),oh,0),Ec(Dc(ii.EventService),oh,1);Symbol.for("PersonalLoanApplicationMapper");const ih={ApplicationSubmitEndpoint:Symbol.for("PersonalLoanApplicationSubmitEndpoint"),ApplicationCheckEndpoint:Symbol.for("ApplicationCheckEndpoint")};Symbol.for("PersonalLoanApplicationService"),Symbol.for("LoanApplicationCheckService");class ah{constructor(e,t){this._eventService=void 0,this._endpointUrl=void 0,this._eventService=t,this._endpointUrl=e}async checkLoanApplication(e,t){const n={Authorization:`Bearer ${t.token}`,"Content-Type":"application/json"};try{this._eventService.emit("check_loan_application:request",{request:{method:"POST",endpointUrl:this._endpointUrl,params:e,headers:n}});const t=await ip.post(this._endpointUrl,e,{headers:n,withCredentials:!0});return this._eventService.emit("check_loan_application:response",{request:{method:"POST",endpointUrl:this._endpointUrl,params:e},response:{status:t.status,data:t.data}}),t.data}catch(i){var r,o;return this._eventService.emit("check_loan_application:error",{error:i,request:{method:"POST",endpointUrl:this._endpointUrl,params:e}}),i instanceof sp?Promise.reject(null===(r=i.response)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.error):Promise.reject(i)}}}Ec(Oc(),ah),Ec(Dc(ih.ApplicationCheckEndpoint),ah,0),Ec(Dc(ii.EventService),ah,1);class sh{constructor(e){var t=this;this._eventService=void 0,this.check=async function(e){const n=`https://promocodes-raiffeisen.kirarock.space/api/promocodes/verify/${e}/${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DC"}`;try{t._eventService.emit("promocode_verify:request",{promocode:e,request:{method:"GET",endpointUrl:n}});const r=await ip.get(n);return t._eventService.emit("promocode_verify:response",{promocode:e,request:{method:"GET",endpointUrl:n},response:{code:r.data.code,status:r.status,data:r.data}}),await Promise.resolve(r.data)}catch(r){return t._eventService.emit("promocode_verify:error",{promocode:e,error:r,request:{method:"GET",endpointUrl:n}}),Promise.reject(r)}},this._eventService=e}}Ec(Oc(),sh),Ec(Dc(ii.EventService),sh,0);class lh{constructor(e,t){this.formsEndpoint=void 0,this.formName=void 0,this._token=void 0,this._isUserReturning=void 0,this.formsEndpoint=e,this.formName=t,this._token="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),this._isUserReturning=!!localStorage.getItem(`${t}:returning`)}get token(){return this._token}async sendSnapshot(e,t,n){return Gp.includes(e)?{data:{}}:ip.post(`${this.formsEndpoint}/snapshots`,{phone:{phone:e,token:t},state:n,token:this._token},{withCredentials:!0})}async getSnapshot(e,t){if(Gp.includes(e))return{data:{}};return await ip.get(`${this.formsEndpoint}/snapshots`,{params:{phone:e,auth_token:t,token:this._token},withCredentials:!0})}isUserReturning(){return this._isUserReturning}setUserReturning(e){e?localStorage.setItem(`${this.formName}:returning`,`${Number(new Date)}`):localStorage.removeItem(`${this.formName}:returning`),this._isUserReturning=e}}Ec(Oc(),lh),Ec(Dc(si.FormsEndpoint),lh,0),Ec(Dc(si.FormName),lh,1);class uh extends Error{}class ch{constructor(e,t,n){this._notificationService=void 0,this._eventService=void 0,this._endpointUrl="https://oapi.raiffeisen.ru/api/sms-auth/public/v1.0/phone",this.sendCode=async(e,t)=>{if(!t)return Np.info("Captcha-token \u043e\u0442\u0441\u0443\u0442\u0441\u0432\u0443\u0435\u0442"),Promise.resolve("NEED_CAPTCHA");const n=hl(e),r=`${this._endpointUrl}/code/sms`,o={number:n,captchaToken:null!==t&&void 0!==t?t:"noactualtoken"},i={"Content-Type":"application/json"};this._eventService.emit("send_sms_code:request",{request:{method:"POST",endpointUrl:r,headers:i,params:o}});try{if(Gp.includes(n)){if(n===Vp)throw Np.info("Mock response for test banned number"),new uh;return Np.info(`Captcha-token \u0434\u043b\u044f stub-\u043d\u043e\u043c\u0435\u0440\u0430 ${n}: ${t}`),await Promise.resolve("SUCCESS")}const e=await ip.post(r,o,{headers:i,withCredentials:!0});if(this._eventService.emit("send_sms_code:response",{request:{method:"POST",endpointUrl:r,headers:i,params:o},response:{status:e.status,data:e.data}}),e.data.success)return await Promise.resolve("SUCCESS");if(e.data.error.message){var a;if(10===(null===(a=e.data.error)||void 0===a?void 0:a.code))throw new uh;throw Error(e.data.error.message)}throw Error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0421\u041c\u0421 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f")}catch(p){var s,l,u,c,d,f;if(this._eventService.emit("send_sms_code:error",{error:p,request:{method:"POST",endpointUrl:r,headers:i,params:o}}),p instanceof uh)return this._notificationService.error({message:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437"}),Promise.resolve("BANNED");if(p instanceof sp&&null!==(s=p.response)&&void 0!==s&&null!==(l=s.data)&&void 0!==l&&null!==(u=l.error)&&void 0!==u&&u.message)this._notificationService.error({message:null===(c=p.response)||void 0===c||null===(d=c.data)||void 0===d||null===(f=d.error)||void 0===f?void 0:f.message});else p instanceof Error?this._notificationService.error({message:p.message}):this._notificationService.error({message:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0421\u041c\u0421 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f"});return Promise.resolve("FAILURE")}},this.verifyCode=async(e,t)=>{const n=hl(e);if(Gp.includes(n)&&t===Bp)return Promise.resolve({token:"testPhoneNumberToken",check_client_auth_token:n===qp?"testDebitAcctiveIssueCheckClientAuthToken":"testCheckClientAuthToken"});const r=`${this._endpointUrl}/verify`,o={phone:n,code:t};try{this._eventService.emit("verify_sms_code:request",{request:{method:"POST",endpointUrl:r,params:o}});const e=await ip.post(r,o,{withCredentials:!0});if(this._eventService.emit("verify_sms_code:response",{request:{method:"POST",endpointUrl:r,params:o},response:{status:e.status,data:e.data}}),e.data.success){if(!e.data.data.token)throw Error("\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u043a\u0435\u043d \u0434\u043b\u044f \u043d\u043e\u043c\u0435\u0440\u0430");return await Promise.resolve(e.data.data)}throw Error("\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u0438\u0437 SMS")}catch(d){var i,a,s,l,u,c;if(this._eventService.emit("verify_sms_code:error",{error:d,request:{method:"POST",endpointUrl:r,params:o}}),d instanceof sp&&null!==d&&void 0!==d&&null!==(i=d.response)&&void 0!==i&&null!==(a=i.data)&&void 0!==a&&null!==(s=a.error)&&void 0!==s&&s.message)this._notificationService.error({message:null===d||void 0===d||null===(l=d.response)||void 0===l||null===(u=l.data)||void 0===u||null===(c=u.error)||void 0===c?void 0:c.message});else d instanceof Error?this._notificationService.error({message:d.message||"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043a\u043e\u0434\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f"}):this._notificationService.error({message:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043a\u043e\u0434\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f"});return Promise.reject(d)}},this._notificationService=t,this._eventService=n,this._endpointUrl=e}}Ec(Oc(),ch),Ec(Dc(si.SmsEndpoint),ch,0),Ec(Dc(ii.NotificationService),ch,1),Ec(Dc(ii.EventService),ch,2);var dh=n(1427),fh=n.n(dh);class ph{constructor(){this._data=void 0,this._data={},fh().init({domain:{host:"raiffeisen.ru",isolate:!1},lifetime:12,callback:e=>{this._data=e}})}get data(){return this._data}get current(){var e,t,n,r,o,i,a;if(null!==(e=!this._data)&&void 0!==e?e:!this._data.current)return{type:"typein",source:"(direct)",medium:"(none)",campaign:"(none)",term:"(none)",content:"(none)"};const s=this._data.current;return{type:null!==(t=s.typ)&&void 0!==t?t:"typein",source:null!==(n=s.src)&&void 0!==n?n:"(direct)",medium:null!==(r=s.mdm)&&void 0!==r?r:"(none)",campaign:null!==(o=s.cmp)&&void 0!==o?o:"(none)",term:null!==(i=s.trm)&&void 0!==i?i:"(none)",content:null!==(a=s.cnt)&&void 0!==a?a:"(none)"}}}Ec(Oc(),ph);var hh=Dn("button",{base:null,loading:null,focus:"design",size:Ln("size","m"),design:"design",hover:"design",disabled:"design",gap:Ln("size","m"),custom:null,customWrapper:null}),vh=xt.button.withConfig({displayName:"Buttonstyles__Box",componentId:"sc-vmym2s-0"})(["display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;white-space:nowrap;user-select:none;appearance:none;cursor:pointer;outline:0;position:relative;"," "," "," &:active{top:1px;}&:hover{","}"," "," "," "," "," "," ",""],hh.base,hh.size,hh.design,(function(e){return e.disabled?"":hh.hover}),(function(e){return e.pressed&&nt(["",""],hh.hover)}),(function(e){var t=e.grid;return t&&nt(["width:",";"],t?"".concat(100/12*t,"%"):"auto")}),(function(e){return e.disabled&&nt(["",""],hh.disabled)}),(function(e){return e.isLoading&&nt(["",""],hh.loading)}),(function(e){return e.isFocusStateVisible&&nt(["&:focus{","}"],hh.focus)}),(function(e){return e.square&&nt(["padding:0;"])}),hh.custom),mh=xt.span.withConfig({displayName:"Buttonstyles__ContentWrapper",componentId:"sc-vmym2s-1"})(["display:inline-block;vertical-align:top;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;&:not(:last-of-type){","}& > svg{display:block;}",""],hh.gap,hh.customWrapper),gh=Dn("spinner",{size:Ln("size","m"),color:"color"}),yh=gh.size,bh=gh.color,wh=wt(["from{transform:rotate(0);}to{transform:rotate(360deg);}"]),xh=wt(["0%{stroke-dasharray:85 195;stroke-dashoffset:0;}10%{stroke-dasharray:100 180;stroke-dashoffset:-60;}30%{stroke-dasharray:260 20;stroke-dashoffset:-290;}50%{stroke-dasharray:85 195;stroke-dashoffset:-580;}60%{stroke-dasharray:85 195;stroke-dashoffset:-615;}63%{stroke-dasharray:85 195;stroke-dashoffset:-620;}70%{stroke-dasharray:85 195;stroke-dashoffset:-635;}80%{stroke-dasharray:85 195;stroke-dashoffset:-560;}84%{stroke-dasharray:85 195;stroke-dashoffset:-545;}98%{stroke-dasharray:85 195;stroke-dashoffset:-530;}100%{stroke-dasharray:85 195;stroke-dashoffset:-530;}"]),kh=xt.div.withConfig({displayName:"Spinnerstyles__Box",componentId:"sc-1ln84wo-0"})(["background-size:cover;background-repeat:no-repeat;vertical-align:top;position:relative;display:inline-flex;",";",";"],yh,(function(e){return"absolute"===e.position&&nt(["position:absolute;top:0;left:0;bottom:0;right:0;z-index:5;margin:auto;"])})),Sh=xt.svg.withConfig({displayName:"Spinnerstyles__Svg",componentId:"sc-1ln84wo-1"})([""," "," display:block;"],yh,(function(e){return e.isIE&&nt(["animation:"," ease 1s infinite;"],wh)})),_h=xt.circle.withConfig({displayName:"Spinnerstyles__Circle",componentId:"sc-1ln84wo-2"})(["stroke-width:12px;stroke-miterlimit:10;fill:none;stroke-dasharray:",";stroke-dashoffset:0;stroke-linecap:round;transform-origin:50%;"," ",""],(function(e){return e.isIE?"195 85":"85 195"}),(function(e){return!e.isIE&&nt(["animation:"," linear 2s infinite;"],xh)}),bh),Ch=["size","position","color"];function Eh(e){var t=e.size,n=void 0===t?"m":t,o=e.position,i=void 0===o?"relative":o,a=e.color,s=void 0===a?"primary":a,l=N(e,Ch),u=(0,r.useMemo)((function(){if("undefined"!==typeof window){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0}return!1}),[]);return r.createElement(kh,Wt({},l,{size:n,position:i}),r.createElement(Sh,{isIE:u,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",size:n},r.createElement(_h,{isIE:u,r:"44",cx:"50",cy:"50",color:s})))}Eh.displayName="Spinner",Eh.defaultProps={size:"m",position:"relative",color:"primary"};function Oh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oh(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ah(e){return function(t){var n=M((0,r.useState)(!1),2),o=n[0],i=n[1],a=!1,s=Fh(Fh({},t),{},{onFocus:function(e){var n;i(!a),null===(n=t.onFocus)||void 0===n||n.call(t,e)},onMouseDown:function(e){var n;a=!0,null===(n=t.onMouseDown)||void 0===n||n.call(t,e)},onMouseUp:function(e){var n;a=!1,null===(n=t.onMouseUp)||void 0===n||n.call(t,e)},isFocusStateVisible:o});return r.createElement(e,s)}}var Dh=["children","size","loading","forwardedRef"],Ph={xxl:"l",xl:"l",l:"m"};var Th=Ah((function(e){var t=e.children,n=e.size,o=void 0===n?"m":n,i=e.loading,a=e.forwardedRef,s=N(e,Dh),l=r.Children.map(t,(function(e){var t=e;return null!==t&&void 0!==t&&t.type&&"string"!==typeof t.type&&["DropList"].includes(t.type.displayName)?e:r.createElement(mh,{size:o},e)})),u=null;return i&&(s.disabled=!0,u=r.createElement(Eh,{key:"spinner",size:"string"===typeof o&&Ph[o]||o,position:"absolute",color:"london120"})),r.createElement(vh,Wt({ref:a},s,{isLoading:i,size:o,as:s.href?"a":"button"}),l,u)}));Th.displayName="Button",Th.defaultProps={design:"primary",size:"m",type:"button"};const jh=xt(Th)` &:focus { box-shadow: none; } ${e=>{let{extendedCss:t}=e;return t}} `,Mh=e=>{let{name:n,size:o,design:i,children:a,disabled:s,extendedCss:l,extendedClickEventData:u,onClick:c}=e;const d=(0,t.useInjection)(ii.EventService),f=(0,r.useCallback)((()=>{c(),d.emit("button:click",{name:n,design:i,children:a,disabled:s,...u})}),[c,d,n,i,a,s,u]);return(0,Vs.jsx)(jh,{design:i,size:o,disabled:s,"data-context":`${n}Button`,extendedCss:l,onClick:f,children:a})},Ih=xt(Nr)` ${e=>{let{limitWidth:t}=e;return t&&"max-width: 100%;\n \n div {\n max-width: 100%;\n }"}}; `;var Nh=V("formField.message",{base:null,design:"color",custom:null,align:"align",size:"size"}),Rh=xt.div.withConfig({displayName:"Messagestyles__Box",componentId:"sc-15r3h39-0"})([""," "," "," "," ",""],Nh.base,Nh.design,Nh.align,Nh.custom,Nh.size),zh=["children"],Bh=function(e){var t=e.children,n=N(e,zh);return r.createElement(Rh,n,t)};Bh.displayName="Message";const Lh=Bh;var Hh=V("formField.star",{base:null,custom:null}),Uh=V("formField.label",{base:null,custom:null,size:"size"}),Vh=xt.label.withConfig({displayName:"Labelstyles__Box",componentId:"sc-1owwrjl-0"})([""," "," "," ",""],Uh.base,Uh.custom,Uh.size,(function(e){return e.required&&nt(["&::after{content:'*';"," ","}"],Hh.base,Hh.custom)})),qh=["children"],Wh=function(e){var t=e.children,n=N(e,qh);return r.createElement(Vh,n,t)};Wh.displayName="Label";const $h=Wh;var Yh=V("formField.content",{base:null,custom:null}),Gh=xt.div.withConfig({displayName:"Contentstyles__Box",componentId:"sc-1ikowsc-0"})([""," ",""],Yh.base,Yh.custom),Kh=["children","fixateMessageHeight","size"],Qh=function(e){var t=e.children,n=e.fixateMessageHeight,o=void 0===n||n,i=e.size,a=N(e,Kh),s=!r.Children.toArray(t).find((function(e){return e.type===Bh}));return r.createElement(Gh,a,t,o&&s&&r.createElement(Bh,{size:i}))};Qh.displayName="Content";const Zh=Qh;var Xh=V("formField.container",{inline:null,custom:null}),Jh=xt.div.withConfig({displayName:"FormFieldstyles__Box",componentId:"sc-sz4pwk-0"})(["",";",""],(function(e){return e.inline&&nt(["",""],Xh.inline)}),Xh.custom),ev=["children","inline","size","fixateMessageHeight"];function tv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tv(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rv=function(e){var t=e.children,n=e.inline,o=e.size,i=void 0===o?"s":o,a=e.fixateMessageHeight,s=void 0===a||a,l=N(e,ev);return r.createElement(Jh,Wt({inline:n},l),function e(t){var n;return null===(n=r.Children.map(t,(function(t){if(!t||!t.type)return t;var n={};return n=String(t.type)===String($h)||String(t.type)===String(Lh)?nv(nv({},t.props),{},{size:i}):String(t.type)===String(Zh)?nv(nv({},t.props),{},{children:e(t.props.children),size:i,fixateMessageHeight:s}):nv({},t.props),r.cloneElement(t,n)})))||void 0===n?void 0:n.filter(Boolean)}(t))};rv.Message=Lh,rv.Label=$h,rv.Content=Zh,rv.displayName="FormField",rv.defaultProps={size:"s",fixateMessageHeight:!0};var ov=V("search",{base:null,custom:null}),iv=xt.div.withConfig({displayName:"Searchstyles__Box",componentId:"sc-72lg8n-0"})(["position:relative;"," ",""],ov.base,ov.custom),av=["prefix","postfix","onBlur","onChange","onFocus","disabled","invalid","name","design","size","style","className"],sv=r.forwardRef((function(e,t){var n,o=e.prefix,i=e.postfix,a=e.onBlur,s=e.onChange,l=e.onFocus,u=e.disabled,c=e.invalid,d=e.name,f=e.design,p=e.size,h=e.style,v=e.className,m=N(e,av),g=M((0,r.useState)(!1),2),y=g[0],b=g[1],w=(0,r.useCallback)((function(e,t){if(!u){var n=e.currentTarget.value;"function"===typeof t&&t(e,{name:d,value:n})}}),[u,d]),x=(0,r.useCallback)((function(e){"function"===typeof s&&w(e,s)}),[s,w]),k=(0,r.useCallback)((function(e){b(!1),"function"===typeof a&&w(e,a)}),[w,a]),S=(0,r.useCallback)((function(e){b(!0),"function"===typeof l&&w(e,l)}),[w,l]);return r.createElement(vo,{design:f,size:p,active:null!==(n=m.active)&&void 0!==n?n:y,disabled:u,style:h,className:v,invalid:c},o,r.createElement(po,Wt({ref:t,design:f,size:p,disabled:u,name:d,"aria-invalid":!!c,onChange:x,onBlur:k,onFocus:S},m)),i)}));sv.displayName="Input",sv.defaultProps={design:"outline",size:"l"};var lv=n(8920),uv=["mask","pipeRef","blocks","showMask","lazy","placeholderChar","radix","thousandsSeparator","mapToRadix","min","max","scale","signed","normalizeZeros","padFractionalZeros","maxLength","from","to","prepare","format","parse","validate","autofix","overwrite","value","name","onChange"],cv=(0,r.forwardRef)((function(e,t){var n=e.mask,o=e.pipeRef,i=e.blocks,a=e.showMask,s=void 0===a||a,l=e.lazy,u=void 0===l||l,c=e.placeholderChar,d=void 0===c?"_":c,f=e.radix,p=e.thousandsSeparator,h=e.mapToRadix,v=e.min,m=e.max,g=e.scale,y=e.signed,b=e.normalizeZeros,w=e.padFractionalZeros,x=e.maxLength,k=e.from,S=e.to,_=e.prepare,C=e.format,E=e.parse,O=e.validate,F=e.autofix,A=e.overwrite,D=e.value,P=void 0===D?"":D,T=e.name,j=e.onChange,I=N(e,uv),z={mask:n,blocks:i,lazy:u,autofix:F,overwrite:A,placeholderChar:d,radix:f,thousandsSeparator:p,mapToRadix:h,min:v,max:m,scale:g,signed:y,normalizeZeros:b,padFractionalZeros:w,maxLength:x,from:k,to:S,validate:O,prepare:_,format:C,parse:E};Object.keys(z).forEach((function(e){void 0===z[e]&&delete z[e]}));var B=(0,r.useRef)(),L=(0,r.useRef)(),H=M((0,r.useState)(P),2),U=H[0],V=H[1],q=M((0,R.useMask)(z),3),W=q[0],$=q[1],Y=q[2];(0,r.useEffect)((function(){return B.current&&("function"===typeof t?t(B.current):t&&"current"in t&&(t.current=B.current)),function(){"function"===typeof t?t(null):t&&"current"in t&&(t.current=null)}}),[t]),"function"===typeof o?o({valueToMask:W,maskToValue:$,placeholder:Y}):o&&"current"in o&&(o.current={valueToMask:W,maskToValue:$,placeholder:Y});var G=(0,r.useCallback)((function(e){"function"===typeof j&&j(e,{name:T,value:L.current.value,originalValue:L.current.unmaskedValue,isComplete:L.current.masked.isComplete})}),[j,T]);(0,r.useEffect)((function(){return B.current&&(L.current=(0,lv.default)(B.current,z)),function(){L.current.destroy()}}),[]),(0,r.useEffect)((function(){var e=B;return B.current&&B.current.addEventListener("input",G),function(){e.current&&e.current.removeEventListener("input",G)}}),[G]),(0,r.useEffect)((function(){L.current&&L.current.updateOptions(z)}),[z]);var K=(0,r.useCallback)((function(){L.current&&L.current.el&&(L.current.el.value=P,L.current.unmaskedValue=P,L.current.value=P,L.current.updateValue(),V(L.current.value))}),[P]);return(0,r.useEffect)(K,[K]),r.createElement(sv,Wt({ref:B,smartPlaceholder:s&&P&&Y(P),value:U,name:T,maxLength:x,onUpdated:K,onChange:G},I))}));cv.displayName="InputMask",cv.defaultProps={size:"l",design:"outline"};const dv=cv,fv=dv;var pv=["id","name","mask","disabled","invalid","value","suggests","onSelect","onChange","children","design","onBlur","onFocus","onKeyDown","size","onScroll","valueToString","maxListHeight","maxListWidth","showInlineSuggest","wrapSuggestions","fitOptions","fixed"];function hv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hv(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mv=function(e){return e.preventDefault()},gv=(0,r.forwardRef)((function(e,t){var n=e.id,o=e.name,i=e.mask,a=e.disabled,s=e.invalid,l=e.value,u=e.suggests,c=void 0===u?[]:u,d=e.onSelect,f=e.onChange,p=e.children,h=e.design,v=e.onBlur,m=e.onFocus,g=e.onKeyDown,y=e.size,b=e.onScroll,w=e.valueToString,x=void 0===w?function(e){return(null===e||void 0===e?void 0:e.toString())||""}:w,k=e.maxListHeight,S=e.maxListWidth,_=e.showInlineSuggest,C=e.wrapSuggestions,E=e.fitOptions,O=void 0===E||E,F=e.fixed,A=N(e,pv),D=(0,r.useRef)(null),P=(0,r.useRef)([]);if(P.current.length!==c.length&&Array.isArray(c)&&(P.current=c.map((function(e,t){return P.current[t]||(0,r.createRef)()}))),p&&"function"!==typeof p)return console.error("\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 children \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f"),r.createElement(r.Fragment,null);var T=(0,r.useCallback)((function(e){e&&("function"===typeof t&&t(e),t&&"object"===Xt(t)&&(t.current=e),e.style.background="transparent",e.style.position="relative")}),[]),j=M((0,r.useState)(0),2),I=j[0],R=j[1],z=M((0,r.useState)(!1),2),B=z[0],L=z[1],H=(0,r.useRef)(null),U=(0,r.useCallback)((function(e,t){L(!1),v&&v(e,t)}),[v]),V=(0,r.useCallback)((function(e,t){e.stopPropagation(),L(!0),m&&m(e,t)}),[m]),q=(0,r.useCallback)((function(e,t){!a&&f&&(L(!0),f(e,vv(vv({},t),{},{index:I})))}),[f,a,I]),W=(0,r.useCallback)((function(e,t){!a&&d&&(f&&f(e,{name:o,value:x(t)||"",index:I}),d(e,{name:o,value:t}),L(!1))}),[d,o,a,I,l]),$=(0,r.useCallback)((function(){L(!1)}),[]),Y=(0,r.useCallback)((function(e,t,n){var r=P.current[t]&&P.current[t].current;if(e&&r){var o=e.getBoundingClientRect(),i=o.bottom,a=o.top,s=r.getBoundingClientRect(),l=s.height,u=s.top;if(s.bottom>i||u<a)if("down"===n){if(0===t)return void(e.scrollTop=0);e.scrollTop+=l}else if("up"===n){if(t+1===P.current.length)return void(e.scrollTop=u+l);e.scrollTop-=l}}}),[]),G=(0,r.useCallback)((function(e){var t=c.length-1;switch(e.key){case"ArrowDown":e.preventDefault();var n=I<t?I+1:0;R(n),Y(D.current,n,"down"),g&&g(e,{name:o,value:l,index:n});break;case"ArrowUp":e.preventDefault();var r=I>0?I-1:t;R(r),Y(null===D||void 0===D?void 0:D.current,r,"up"),g&&g(e,{name:o,value:l,index:r});break;case"Enter":e.preventDefault(),c[I]&&W(e,c[I]),g&&g(e,{name:o,value:l,index:I});break;default:g&&g(e,{name:o,value:l,index:I})}}),[g,o,I,l,c,W]),K=B&&!a&&Boolean(c.length),Q=(0,r.useCallback)((function(){return c.map((function(t,n){return r.createElement(Fo,{key:n,ref:P.current[n],value:t,selected:n===I,wrapLine:C,onMouseDown:mv,onClick:function(e){return W(e,t)}},p?p({props:e,suggest:t,value:l}):x(t)||"")}))}),[W,p,I,e,c,l,x,C]),Z=(0,r.useCallback)((function(){if(B&&_){var e=x(c[I]||"");return e&&l&&(e=e.replace(new RegExp("^.{0,".concat(l.length,"}"),"gmi"),l)),e}return""}),[_,c,B,I,x,l]),X=vv(vv({id:n&&"ds-".concat(n,"-input"),name:o,size:y,design:h,ref:T,value:x(l)||"",disabled:a,invalid:s,onChange:q,onKeyDown:G,onBlur:U,onFocus:V},_&&{smartPlaceholder:Z()}),i&&{mask:i});return r.createElement(iv,{id:n,ref:H,role:"combobox","aria-invalid":!!s,"aria-disabled":!!a,"aria-autocomplete":"list"},i?r.createElement(fv,Wt({},X,A)):r.createElement(sv,Wt({},X,A)),K&&r.createElement(Bo,{ref:D,maxHeight:k,width:S,fitItems:O,fixed:F,followParentWhenScroll:F,onHide:$,onScroll:b},Q()))}));gv.displayName="Search",gv.Item=Fo,gv.defaultProps={design:"outline",size:"l",suggests:[],maxListHeight:300,showInlineSuggest:!0};const yv=xt(rv)` ${e=>{let{inRowOnDesktop:t}=e;return t?"\n width: 410px;\n\n @media (max-width: 1000px) {\n width: 1000px;\n }\n":"width: 100%;"}} `,bv=e=>{let{inRowOnDesktop:n,name:o,label:i,hook:a,hint:s,invalid:l,showInlineSuggest:u,itemLayout:c,suggestToString:d,numericKeyboard:f,onChange:p,onBlur:h,onSelect:v}=e;const m=(0,t.useInjection)(ii.EventService),g=(0,r.useRef)(null);(0,r.useEffect)((()=>{f&&g.current&&g.current.setAttribute("type","tel")}),[g,f]);const y=(0,r.useCallback)((()=>{m.emit("field:focus",{type:"Search",name:o,value:a.search?a.search:a.value})}),[m,o,a]),b=(0,r.useCallback)(((e,t)=>{t&&"string"===typeof t.value&&(p?p(t.value):a.setSearch?a.setSearch(t.value):a.setValue(t.value),m.emit("field:change",{type:"Search",name:o,value:t.value}))}),[a,p,m,o]),w=(0,r.useCallback)(((e,t)=>{h?h(t.value):a.setShowError(!0),m.emit("field:blur",{type:"Search",name:o,error:a.error,value:a.search?a.search:a.value})}),[m,o,a,h]),x=(0,r.useCallback)(((e,t)=>{if(t){if(v)v(t.value);else if(d){const e=d(t.value);a.setValue(e),a.setSearch&&a.setSearch(e)}else a.setValue(t.value),a.setSearch&&a.setSearch(t.value);m.emit("field:select",{type:"Search",name:o,value:t.value})}}),[v,d,m,o,a]),k=(0,r.useCallback)((e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.value)&&void 0!==t?t:e}),[]);return(0,Vs.jsxs)(yv,{inRowOnDesktop:n,"data-context":`${o}Field`,children:[(0,Vs.jsx)(rv.Label,{"data-context":`${o}Label`,children:i}),(0,Vs.jsxs)(rv.Content,{children:[(0,Vs.jsx)(gv,{ref:g,design:"material","data-context":`${o}Search`,value:void 0!==a.search?a.search:a.value,invalid:void 0===l?a.showError&&!!a.error:l,suggests:a.suggestions,wrapSuggestions:!0,showInlineSuggest:!!u,valueToString:k,onFocus:y,onChange:b,onBlur:w,onSelect:x,...f?{pattern:"[0-9]*"}:{},children:c}),s&&(0,Vs.jsx)(rv.Message,{children:s}),(!a.showError||!a.error)&&(0,Vs.jsx)(rv.Message,{}),a.showError&&a.error&&(0,Vs.jsx)(rv.Message,{color:"critical","data-context":`${o}Error`,children:a.error})]})]})};var wv=n(1089),xv=n.n(wv);const kv=xt.span` border-bottom: ${xv().border.width.s}px dashed ${xv().color.primary.seattle.c120}; cursor: pointer; `;var Sv=V("chips",{box:null,base:null,size:"size",focus:null,design:"design",disabled:"design",hover:null,custom:null,boxCustom:null}),_v=V("chips.active",{design:"design",hover:"design",disabled:"design",custom:null}),Cv=xt.div.withConfig({displayName:"Chipsstyles__Box",componentId:"sc-1qc7bgx-0"})(["display:flex;box-sizing:border-box;position:relative;align-items:center;justify-content:",";"," "," ",""],(function(e){return"right"===e.align?"flex-end":"flex-start"}),Sv.box,Sv.boxCustom,Sv.size),Ev=xt.div.withConfig({displayName:"Chipsstyles__Item",componentId:"sc-1qc7bgx-1"})(["display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;"," "," "," &:hover{","}"," "," "," ",""],Sv.base,Sv.design,Sv.size,Sv.hover,(function(e){return e.disabled&&nt(["pointer-events:none;",";"],Sv.disabled)}),(function(e){return e.active&&nt([""," &:hover{","}"," ",""],_v.design,_v.hover,e.disabled&&nt(["",";"],_v.disabled),_v.custom)}),(function(e){return e.isFocusStateVisible&&nt(["&:focus{","}"],Sv.focus)}),Sv.custom),Ov=["onClick"],Fv=["design","align","size","children","active","onPressEnter","onClick"];function Av(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Av(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Av(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pv=Ah((function(e){var t=e.onClick,n=N(e,Ov),o=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=function(e){null===t||void 0===t||t(e)};return o&&o.current&&o.current.addEventListener("click",e,!0),function(){var t;return null===o||void 0===o||null===(t=o.current)||void 0===t?void 0:t.removeEventListener("click",e,!0)}}),[]),r.createElement(Ev,Wt({},n,{ref:o}))})),Tv=function(e){var t=e.design,n=void 0===t?"primary":t,o=e.align,i=void 0===o?"left":o,a=e.size,s=void 0===a?"s":a,l=e.children,u=e.active,c=e.onPressEnter,d=e.onClick,f=N(e,Fv),p=(0,r.useCallback)((function(e){switch(e.key){case" ":case"Enter":e.preventDefault(),null===c||void 0===c||c(e)}return null}),[c]),h=r.Children.map(r.Children.toArray(l),(function(e){if((0,r.isValidElement)(e)){var t=e.props,o=t.onKeyDown||p,i=function(e,t){var n=e.active,r=e.id;return t?Array.isArray(t)&&r?t.includes(r):t===r:n}(t,u),a=t.disabled?"-1":t.tabIndex,s=Dv(Dv({},t),{active:i,design:n,onKeyDown:o,tabIndex:a,onClick:d});return r.createElement(Pv,Wt({role:"option"},s))}return null}));return r.createElement(Cv,Wt({design:n,align:i,size:s},f),h)};Tv.displayName="Chips",(Tv.Item=function(e){return r.createElement("span",e)}).defaultProps={size:"s"};xt(Tv)` padding: 0; `;var jv={"ds.inputDate.placeholder.date":"\u0414\u0414.\u041c\u041c.\u0413\u0413\u0413\u0413","ds.inputDate.placeholder.time":"\u0427\u0427:\u041c\u041c","ds.inputDate.placeholder.datetime":"\u0414\u0414.\u041c\u041c.\u0413\u0413\u0413\u0413 \u0427\u0427:\u041c\u041c"},Mv=["min","max","type","value","lazy"],Iv=function(e){return e.toString().length>=2?e:"0".concat(e)},Nv=(0,r.forwardRef)((function(e,t){var n=e.min,o=e.max,i=e.type,a=void 0===i?"date":i,s=e.value,l=e.lazy,u=void 0===l||l,c=N(e,Mv),d=Lt(e,jv),f=function(e,t,n){var r=t?new Date(t.setHours(0,0,0,0)):new Date(1900,0,1),o=n?new Date(n.setHours(23,59,59,999)):new Date(9999,0,1);switch(e){case"time":return{mask:"HH:MM",blocks:{HH:{mask:lv.MaskedRange,from:0,to:23},MM:{mask:lv.MaskedRange,from:0,to:59}}};case"datetime":return{mask:"DATE HH:MM",blocks:{DATE:{mask:Date,min:r,max:o},HH:{mask:lv.MaskedRange,from:0,to:23},MM:{mask:lv.MaskedRange,from:0,to:59}}};default:return{mask:"DATE",blocks:{DATE:{mask:Date,min:r,max:o}},format:function(e){var t=e.getDate(),n=e.getMonth()+1,r=e.getFullYear();return t<10&&(t="0".concat(t)),n<10&&(n="0".concat(n)),[t,n,r].join(".")},parse:function(e){var t=e.split("."),n=r.getFullYear()===o.getFullYear();return new Date(n?r.getFullYear():t[2],t[1]-1,t[0])}}}}(a,n,o),p=s&&function(e,t){var n;if(e instanceof Date){var r=Iv(e.getDate()),o=Iv(e.getMonth()+1),i=Iv(e.getFullYear()),a=Iv(e.getHours()),s=Iv(e.getMinutes());e="".concat(r,".").concat(o,".").concat(i," ").concat(a,":").concat(s)}var l=null!==(n=e)&&void 0!==n?n:"";switch(t){case"date":return l.split(" ")[0];case"time":return l.split(" ")[1]||l;default:return l}}(s,a)||"",h=d("ds.inputDate.placeholder.".concat(a)),v="".concat(p).concat(h.substring(p.length,h.length+1));return r.createElement(dv,Wt({smartPlaceholder:u?v:"",ref:t,value:p,lazy:u},f,c))}));Nv.displayName="InputDate";const Rv=e=>{let{inRowOnDesktop:n,name:o,label:i,hook:a,hint:s,onChange:l,onBlur:u}=e;const c=(0,t.useInjection)(ii.EventService),d=(0,r.useRef)(null);(0,r.useEffect)((()=>{d.current&&d.current.setAttribute("type","tel")}),[d]);const f=(0,r.useCallback)((e=>{e.target&&"string"===typeof e.target.value&&(l?l(e.target.value):a.setValue(e.target.value),setTimeout((()=>{c.emit("field:change",{type:"InputDate",name:o,value:e.target.value})}),0))}),[c,o,a,l]),p=(0,r.useCallback)((()=>{c.emit("field:focus",{type:"InputDate",name:o,value:a.value})}),[c,o,a]),h=(0,r.useCallback)((()=>{u?u():a.setShowError(!0),c.emit("field:blur",{type:"InputDate",name:o,error:a.error,value:a.value})}),[c,o,a,u]);return(0,Vs.jsxs)(yv,{inRowOnDesktop:n,"data-context":`${o}Field`,children:[(0,Vs.jsx)(rv.Label,{"data-context":`${o}Label`,children:i}),(0,Vs.jsxs)(rv.Content,{children:[(0,Vs.jsx)(Nv,{ref:d,design:"material","data-context":`${o}Input`,pattern:"[0-9]*",value:a.value,invalid:a.showError&&!!a.error,onFocus:p,onChange:f,onBlur:h}),s&&(0,Vs.jsx)(rv.Message,{children:s}),(!a.showError||!a.error)&&(0,Vs.jsx)(rv.Message,{}),a.showError&&a.error&&(0,Vs.jsx)(rv.Message,{color:"critical","data-context":`${o}Error`,children:a.error})]})]})};var zv=(0,r.forwardRef)((function(e,t){return r.createElement(dv,Wt({ref:t,showMask:!1,mask:/^[0-9]{0,}$/},e))}));zv.displayName="InputDigital";const Bv=e=>{let{inRowOnDesktop:n,name:o,label:i,hook:a,additionalError:s,disabled:l,onChange:u}=e;const c=(0,t.useInjection)(ii.EventService),d=(0,r.useCallback)((()=>{c.emit("field:focus",{type:"InputDigital",name:o,error:a.error,value:a.value})}),[c,o,a]),f=(0,r.useCallback)((e=>{const t=e.target.value;u?u(t):a.setValue(t),c.emit("field:change",{type:"InputDigital",name:o,error:a.error,value:t})}),[c,o,a,u]),p=(0,r.useCallback)((()=>{a.setShowError(!0),c.emit("field:blur",{type:"InputDigital",name:o,error:a.error,value:a.value})}),[c,o,a]);return(0,Vs.jsxs)(yv,{inRowOnDesktop:n,children:[(0,Vs.jsx)(rv.Label,{"data-context":`${o}Label`,children:i}),(0,Vs.jsxs)(rv.Content,{children:[(0,Vs.jsx)(zv,{design:"material","data-context":`${o}Input`,type:"tel",inputmode:"numeric",value:a.value,invalid:a.showError&&!!a.error,disabled:l,onFocus:d,onChange:f,onBlur:p}),(a.showError&&a.error||s)&&(0,Vs.jsx)(rv.Message,{color:"critical","data-context":`${o}Error`,children:a.error||s})]})]})},Lv=e=>{let{inRowOnDesktop:n,name:o,label:i,placeholder:a,hook:s,hint:l,encodeValueFn:u,decodeValueFn:c,onChange:d,onBlur:f}=e;const p=(0,t.useInjection)(ii.EventService),h=(0,r.useCallback)((()=>{p.emit("field:focus",{type:"Input",name:o,value:s.value})}),[p,o,s]),v=(0,r.useCallback)(((e,t)=>{const n=c?c(t.value):t.value;d?d(n):s.setValue(n),p.emit("field:change",{type:"Input",name:o,value:n})}),[c,d,p,o,s]),m=(0,r.useCallback)((()=>{f?f():s.setShowError(!0),p.emit("field:blur",{type:"Input",name:o,error:s.error,value:s.value})}),[p,o,s,f]);return(0,Vs.jsxs)(yv,{inRowOnDesktop:n,"data-context":`${o}Field`,children:[(0,Vs.jsx)(rv.Label,{"data-context":`${o}Label`,children:i}),(0,Vs.jsxs)(rv.Content,{children:[(0,Vs.jsx)(sv,{design:"material","data-context":`${o}Input`,value:u?u(s.value):s.value,placeholder:a,invalid:s.showError&&!!s.error,onFocus:h,onChange:v,onBlur:m}),l&&(0,Vs.jsx)(rv.Message,{children:l}),(!s.showError||!s.error)&&(0,Vs.jsx)(rv.Message,{}),s.showError&&s.error&&(0,Vs.jsx)(rv.Message,{color:"critical","data-context":`${o}Error`,children:s.error})]})]})};var Hv=["mask","value","placeholderChar","onChange","onKeyDown","onFocus","onBlur"],Uv=/(8)(\d{10})/,Vv=(0,r.forwardRef)((function(e,t){var n=e.mask,o=void 0===n?"+{7} (000) 000-00-00":n,i=e.value,a=void 0===i?"":i,s=e.placeholderChar,l=void 0===s?"_":s,u=e.onChange,c=e.onKeyDown,d=e.onFocus,f=e.onBlur,p=N(e,Hv),h=M((0,r.useState)(!1),2),v=h[0],m=h[1],g=M((0,R.useMask)({mask:o,placeholderChar:l}),3),y=g[0],b=g[1],w=g[2],x=(0,r.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=w(e),n=t.indexOf(l),r=t.substring(0,n);return e?(Uv.test(e)&&t.startsWith("+7")&&(e=e.replace(Uv,"+7$2")),e):r}),[w,l]),k=(0,r.useCallback)((function(e){return v||x(e).length>x().length?w(x(e)):""}),[x,v,w]),S=(0,r.useCallback)((function(e,t){m(!0),"function"===typeof d&&d(e,t)}),[d]),_=(0,r.useCallback)((function(e,t){m(!1),"function"===typeof f&&f(e,t)}),[f]),C=(0,r.useCallback)((function(e){e.preventDefault();var t=function(e){var t=!e.clipboardData,n=t?"Text":"text/plain",r=t?window.clipboardData:e.clipboardData;return null===r||void 0===r?void 0:r.getData(n)}(e);"function"===typeof u&&t&&(t=t.replace(/\D/g,""),t=Uv.test(t)&&x().startsWith("+7")?t.replace(Uv,"$2"):t,u(e,{value:y(t),originalValue:b(t)}))}),[u,y,x,b]),E=(0,r.useCallback)((function(e){"Backspace"===e.key&&e.target.value===x()&&e.preventDefault(),"function"===typeof c&&c(e)}),[c,x]);return r.createElement(dv,Wt({ref:t,smartPlaceholder:k(a),mask:o,placeholderChar:l,value:x(a),onFocus:S,onBlur:_,onChange:u,onPaste:C,onKeyDown:E},p))}));Vv.displayName="InputPhone";const qv=e=>{let{inRowOnDesktop:n,name:o,label:i,hook:a,hint:s,onChange:l}=e;const u=(0,t.useInjection)(ii.EventService),c=(0,r.useCallback)((()=>{u.emit("field:focus",{type:"InputPhone",name:o,value:a.value})}),[u,o,a]),d=(0,r.useCallback)((e=>{const t=e.target.value;l?l(t):a.setValue(t),u.emit("field:change",{type:"InputPhone",name:o,value:t})}),[u,o,a,l]),f=(0,r.useCallback)((()=>{a.setShowError(!0),u.emit("field:blur",{type:"InputPhone",name:o,error:a.error,value:a.value})}),[u,o,a]);return(0,Vs.jsxs)(yv,{inRowOnDesktop:n,children:[(0,Vs.jsx)(rv.Label,{"data-context":`${o}Label`,children:i}),(0,Vs.jsxs)(rv.Content,{children:[(0,Vs.jsx)(Vv,{design:"material","data-context":`${o}Input`,type:"tel",inputmode:"numeric",value:a.value,invalid:a.showError&&!!a.error,onFocus:c,onChange:d,onBlur:f}),s&&(0,Vs.jsx)(rv.Message,{children:s}),(!a.showError||!a.error)&&(0,Vs.jsx)(rv.Message,{}),a.showError&&a.error&&(0,Vs.jsx)(rv.Message,{color:"critical","data-context":`${o}Error`,children:a.error})]})]})};var Wv=Dn("radio",{base:null,size:Ln("size","m"),hover:null,disabled:null,invalid:null,checked:null}),$v=Dn("radio.label",{base:null,size:Ln("size","m"),disabled:null}),Yv=Dn("radio.checkmark",{base:null,disabled:null}),Gv=xt.span.withConfig({displayName:"Radiostyles__Icon",componentId:"sc-1j02bt5-0"})(["display:block;position:relative;flex:0 0 auto;box-sizing:border-box;transition:all 0.2s;align-self:flex-start;"," "," "," ",""],Wv.base,Wv.size,(function(e){return e.disabled&&nt(["",""],Wv.disabled)}),(function(e){return e.invalid&&nt(["",""],Wv.invalid)})),Kv=xt.span.withConfig({displayName:"Radiostyles__Content",componentId:"sc-1j02bt5-1"})([""," ",""],$v.base,$v.size),Qv=xt.label.withConfig({displayName:"Radiostyles__Box",componentId:"sc-1j02bt5-2"})(["position:relative;padding:2px 0;display:inline-flex;align-items:center;transition:all 0.2s;&:hover ","{"," ","}","{","}"],Gv,Wv.hover,(function(e){return e.disabled&&nt(["",""],Wv.disabled)}),Kv,(function(e){return e.disabled&&nt(["",""],$v.disabled)})),Zv=xt.input.withConfig({displayName:"Radiostyles__Input",componentId:"sc-1j02bt5-3"})(["position:absolute;top:0;left:0;height:100%;width:100%;margin:0;opacity:0;z-index:-1;&:checked ~ ","{"," "," "," &::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:50%;height:50%;border-radius:50%;display:block;"," ",";}}&:focus ~ ","{","}"],Gv,Wv.checked,(function(e){return e.disabled&&nt(["",""],Wv.disabled)}),(function(e){return e.invalid&&nt(["",""],Wv.invalid)}),Yv.base,(function(e){return e.disabled&&nt(["",""],Yv.disabled)}),Gv,Wv.hover),Xv=["children","size","checked","disabled","invalid","name","value","tabIndex","onChange","onBlur","onFocus"],Jv=r.forwardRef((function(e,t){var n=e.children,o=e.size,i=void 0===o?"m":o,a=e.checked,s=void 0!==a&&a,l=e.disabled,u=void 0!==l&&l,c=e.invalid,d=e.name,f=e.value,p=e.tabIndex,h=e.onChange,v=e.onBlur,m=e.onFocus,g=N(e,Xv),y=(0,r.useCallback)((function(e){return function(t){u||"function"!==typeof e||e(t,{name:d,value:f})}}),[u,d,f]);return r.createElement(Qv,Wt({size:i,disabled:u},g),r.createElement(Zv,{ref:t,type:"radio",name:d,value:f,tabIndex:p,disabled:u,invalid:c,"aria-invalid":!!c,checked:s,onChange:y(h),onBlur:y(v),onFocus:y(m)}),r.createElement(Gv,{size:i,disabled:u,invalid:c}),n?r.createElement(Kv,{size:i},n):null)}));Jv.defaultProps={size:"m",checked:!1},Jv.displayName="Radio";function em(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?em(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):em(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var nm=10,rm=function(e,t){var n={},r=t/2,o=(e.width-t)/2,i={arrowShift:{left:r-7}};return e.left+e.width/2>=window.innerWidth/2?(n=tm(tm({},i),{},{right:window.innerWidth-e.right+o})).right<0&&(n={right:8,arrowShift:{right:r+n.right-8-7}}):(n=tm(tm({},i),{},{left:e.left+o})).left<0&&(n={left:8,arrowShift:{left:r+n.left-8-7}}),n},om=function(e,t){var n={},r=t/2,o=(e.height-t)/2,i={arrowShift:{top:r-7}};return e.top+e.height/2>=window.innerHeight/2?(n=tm(tm({},i),{},{bottom:window.innerHeight-e.bottom+o})).bottom<0&&(n={bottom:8,arrowShift:{bottom:r-8-7}}):(n=tm(tm({},i),{},{top:e.top+o})).top<0&&(n={top:8,arrowShift:{top:r-8-7}}),n},im=V("tooltip",{base:null,size:"size",design:"design",custom:null}),am=V("tooltip.arrow",{base:null,width:null,design:"design",position:"arrow"}),sm=V("tooltip.floor",{base:null}),lm=xt.div.withConfig({displayName:"TolltipNativestyles__Box",componentId:"sc-13z0js4-0"})(["position:fixed;"," "," "," display:flex;align-items:center;justify-content:center;"," "," "," "," &:after{content:'';position:absolute;width:0;height:0;"," "," ","}",""],im.base,im.size,im.design,(function(e){return nt(["left:","px;top:","px;bottom:","px;right:","px;"],e.left,e.top,e.bottom,e.right)}),(function(e){return e.show?"opacity: 1;":nt(["left:-9999px;top:-9999px;opacity:0;"])}),(function(e){var t=e.width;return t&&nt(["width:","px;text-align:center;white-space:normal;"],t)}),im.custom,am.design,am.position,(function(e){return e.arrowShift}),(function(e){return e.allowInteraction&&nt(["&:before{content:'';position:absolute;"," background:transparent;}"],sm.base)}));function um(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var cm=function(e){var t=e.allowInteraction,n=e.onClose,i=e.children,a=e.target,s=e.anchor,l=void 0===s?"auto":s,u=e.width,c=e.design,d=void 0===c?"light":c,f=e.size,p=void 0===f?"s":f,h=M((0,r.useState)({}),2),v=h[0],m=h[1],g=(0,r.useRef)(null),y=(0,R.getScrollParent)(a),b=(0,R.usePortal)("tooltip-native");return(0,r.useEffect)((function(){var e=g.current,t=function(){return"function"===typeof n&&n()};return e&&i&&m(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?um(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):um(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},function(e,t,n){var r=e.getBoundingClientRect(),o=t.offsetHeight,i=t.offsetWidth;return"bottom"===n||"auto"===n&&window.innerHeight>r.top+r.height+o+nm?tm(tm({top:r.top+r.height+nm},rm(r,i)),{},{arrow:"top",show:!0}):"top"===n||"auto"===n&&r.top-o-nm>0?tm(tm({top:r.top-o-nm},rm(r,i)),{},{arrow:"bottom",show:!0}):"left"===n||"auto"===n&&r.left-i-nm>0?tm(tm({},om(r,o)),{},{left:r.left-i-nm,arrow:"right",show:!0}):"right"===n||"auto"===n&&window.innerWidth>r.left+r.width+i+nm?tm(tm({},om(r,o)),{},{left:r.left+r.width+nm,arrow:"left",show:!0}):{left:0,top:0,show:!1}}(a,e,l))),y.addEventListener("scroll",t),function(){y.removeEventListener("scroll",t)}}),[g,i,l,y,a,n]),document.body&&o.createPortal(r.createElement(lm,Wt({},v,{allowInteraction:t,width:u,design:d,ref:g,size:p}),i),null!==b&&void 0!==b?b:document.body)},dm=V("tooltip.wrapper",{custom:null}),fm=xt.div.withConfig({displayName:"Tooltipstyles__Box",componentId:"sc-8c0zqz-0"})(["display:inline-block;"," "," ",";> svg{vertical-align:top;}"],(function(e){return!e.inline&&nt(["display:block;"])}),(function(e){return e.truncate&&nt(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"])}),dm.custom),pm=["allowInteraction","content","children","anchor","width","id","design","truncate","size","disabled","inline"];function hm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var vm=(0,r.forwardRef)((function(e,t){var n=e.allowInteraction,o=e.content,i=e.children,a=e.anchor,s=void 0===a?"auto":a,l=e.width,u=e.id,c=e.design,d=e.truncate,f=e.size,p=e.disabled,h=e.inline,v=void 0===h||h,m=N(e,pm),g=(0,r.useRef)(),y=M((0,r.useState)(!1),2),b=y[0],w=y[1],x=(0,r.useCallback)((function(){return w(!0)}),[]),k=(0,r.useCallback)((function(){return w(!1)}),[]),S=(0,r.useCallback)((function(){return g.current&&r.createElement(cm,{id:u,size:f,target:(e=g.current,!e.childNodes||e.childNodes.length>1&&!Array.from(e.childNodes).every((function(e){return 3===e.nodeType}))?(console.warn("\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435: \u0414\u043b\u044f \u043a\u043e\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0432 \u043d\u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c:\n 1 - \u043e\u0434\u0438\u043d \u0432\u043b\u043e\u0436\u0435\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\n 2 - \u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043d\u043e\u0434\n \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0437\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442\u0430 \u043e\u0431\u0435\u0440\u0442\u043a\u0430 tooltip:\n div - \u0434\u043b\u044f \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f\n span - \u0434\u043b\u044f inline.\n "),e):1===e.childNodes.length&&e.firstChild&&1===e.firstChild.nodeType?e.firstChild:e),anchor:s,width:l,design:c,allowInteraction:n,onClose:k},o);var e}),[s,c,f,o,u,l,g,k,n]);return(0,r.useEffect)((function(){var e=x,n=k;"function"!==typeof t?t&&"current"in t&&(t.current={show:e,hide:n}):t({show:e,hide:n})}),[t,x,k]),r.createElement(fm,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hm(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ref:g,truncate:d,inline:v,onMouseLeave:k,onMouseOver:x},m),i,b&&!p&&S())}));vm.displayName="Tooltip",vm.defaultProps={size:"s"};const mm=e=>{let{name:n,label:o,buttons:i,size:a,fixateErrorHeight:s,buttonsDirection:l,hook:u,onChange:c}=e;const d=(0,t.useInjection)(ii.EventService),f=(0,r.useCallback)((e=>{c?c(e.value):u.setValue(e.value),d.emit("field:change",{type:"Radio",name:n,value:e.value})}),[d,n,u,c]);return(0,Vs.jsxs)(rv,{fixateMessageHeight:null===s||void 0===s||s,children:[o&&(0,Vs.jsx)(rv.Label,{children:o}),(0,Vs.jsxs)(rv.Content,{children:[(0,Vs.jsx)(Nr,{"data-context":`${n}Field`,design:"column"===l?"vertical":"horizontal",children:i.map((e=>(0,Vs.jsxs)(r.Fragment,{children:[(0,Vs.jsxs)(Jv,{size:a,"data-context":`${e.name}Radio`,checked:u.value===e.value,name:`${n}Field`,value:e.value,onChange:f.bind(null,e),children:[e.tooltip&&" ",!e.tooltip&&e.label]}),e.tooltip&&(0,Vs.jsx)(vm,{content:e.tooltip.content,anchor:window.innerWidth>426?"right":"auto",design:"dark",children:(0,Vs.jsx)(kv,{children:e.label})})]},e.name)))}),u.showError&&u.error&&(0,Vs.jsx)(rv.Message,{color:"critical","data-context":`${n}Error`,children:u.error})]})]})},gm=(xt(yv)` [class*='DropListstyles'] > div > * { white-space: normal !important; } `,"\u0411\u043e\u043b\u0435\u0435 5 \u043c\u043b\u043d. \u0440\u0443\u0431\u043b\u0435\u0439"),ym=qa({name:"premiumBankingData",initialState:{fullName:"",gender:"None",showGender:!1,birthDate:"",city:"",accountBalance:gm},reducers:{changePremiumBankingData:(e,t)=>{e=Object.assign(e,t.payload)}}}),{changePremiumBankingData:bm}=ym.actions,wm=e=>e.data.premiumBanking,xm=ym.reducer,km=qa({name:"authData",initialState:{phoneNumber:"",phoneNumberIsConfirmed:!1,token:"",checkClientAuthToken:""},reducers:{changeAuthData:(e,t)=>{e=Object.assign(e,t.payload)}}}),{changeAuthData:Sm}=km.actions,_m=e=>e.data.auth,Cm=km.reducer;var Em="data-focus-lock",Om="data-focus-lock-disabled";function Fm(e,t){return function(e,t){var n=(0,r.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}var Am={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Dm=function(e){var t=e.children;return r.createElement(r.Fragment,null,r.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Am}),t,t&&r.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Am}))};Dm.propTypes={},Dm.defaultProps={children:null};var Pm=function(){return Pm=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pm.apply(this,arguments)};Object.create;Object.create;function Tm(e){return e}function jm(e,t){void 0===t&&(t=Tm);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}function Mm(e,t){return void 0===t&&(t=Tm),jm(e,t)}var Im=Mm({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),Nm=Mm(),Rm=Mm(),zm=function(e){void 0===e&&(e={});var t=jm(null);return t.options=Pm({async:!0,ssr:!1},e),t}({async:!0}),Bm=[],Lm=r.forwardRef((function(e,t){var n,o=r.useState(),i=o[0],a=o[1],s=r.useRef(),l=r.useRef(!1),u=r.useRef(null),c=e.children,d=e.disabled,f=e.noFocusGuards,p=e.persistentFocus,h=e.crossFrame,v=e.autoFocus,m=(e.allowTextSelection,e.group),g=e.className,y=e.whiteList,b=e.hasPositiveIndices,w=e.shards,x=void 0===w?Bm:w,k=e.as,S=void 0===k?"div":k,_=e.lockProps,C=void 0===_?{}:_,E=e.sideCar,O=e.returnFocus,F=e.focusOptions,A=e.onActivation,D=e.onDeactivation,P=r.useState({})[0],T=r.useCallback((function(){u.current=u.current||document&&document.activeElement,s.current&&A&&A(s.current),l.current=!0}),[A]),j=r.useCallback((function(){l.current=!1,D&&D(s.current)}),[D]);(0,r.useEffect)((function(){d||(u.current=null)}),[]);var M=r.useCallback((function(e){var t=u.current;if(t&&t.focus){var n="function"===typeof O?O(t):O;if(n){var r="object"===typeof n?n:void 0;u.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[O]),I=r.useCallback((function(e){l.current&&Im.useMedium(e)}),[]),N=Nm.useMedium,R=r.useCallback((function(e){s.current!==e&&(s.current=e,a(e))}),[]);var z=Wt(((n={})[Om]=d&&"disabled",n[Em]=m,n),C),B=!0!==f,L=B&&"tail"!==f,H=Fm([t,R]);return r.createElement(r.Fragment,null,B&&[r.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:Am}),b?r.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:Am}):null],!d&&r.createElement(E,{id:P,sideCar:zm,observed:i,disabled:d,persistentFocus:p,crossFrame:h,autoFocus:v,whiteList:y,shards:x,onActivation:T,onDeactivation:j,returnFocus:M,focusOptions:F}),r.createElement(S,Wt({ref:H},z,{className:g,onBlur:N,onFocus:I}),c),L&&r.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:Am}))}));Lm.propTypes={},Lm.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const Hm=Lm;const Um=function(e,t){return function(n){var o,i=[];function a(){o=e(i.map((function(e){return e.props}))),t(o)}var s=function(e){var t,s;function l(){return e.apply(this,arguments)||this}s=e,(t=l).prototype=Object.create(s.prototype),t.prototype.constructor=t,Qt(t,s),l.peek=function(){return o};var u=l.prototype;return u.componentDidMount=function(){i.push(this),a()},u.componentDidUpdate=function(){a()},u.componentWillUnmount=function(){var e=i.indexOf(this);i.splice(e,1),a()},u.render=function(){return r.createElement(n,this.props)},l}(r.PureComponent);return $t(s,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),s}};var Vm=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},qm=function(e){return Array.isArray(e)?e:[e]},Wm=function(e){return Array.isArray(e)?e[0]:e},$m=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},Ym=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Gm=function(e,t){return!e||Ym(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue)&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))}(e)&&t($m(e))},Km=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=Gm(t,Km.bind(void 0,e));return e.set(t,r),r},Qm=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!(e&&!Ym(e))||!!eg(e)&&t($m(e))}(t,Qm.bind(void 0,e));return e.set(t,r),r},Zm=function(e){return e.dataset},Xm=function(e){return"INPUT"===e.tagName},Jm=function(e){return Xm(e)&&"radio"===e.type},eg=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},tg=function(e){var t;return Boolean(e&&(null===(t=Zm(e))||void 0===t?void 0:t.focusGuard))},ng=function(e){return!tg(e)},rg=function(e){return Boolean(e)},og=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},ig=function(e,t,n){return Vm(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(og)},ag=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),sg="".concat(ag,", [data-focus-guard]"),lg=function(e,t){return Vm((e.shadowRoot||e).children).reduce((function(e,n){return e.concat(n.matches(t?sg:ag)?[n]:[],lg(n))}),[])},ug=function(e,t){return e.reduce((function(e,n){var r,o=lg(n,t),i=(r=[]).concat.apply(r,o.map((function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?ug([e.contentDocument.body],t):[e]}(e,t)})));return e.concat(i,n.parentNode?Vm(n.parentNode.querySelectorAll(ag)).filter((function(e){return e===n})):[])}),[])},cg=function(e,t){return Vm(e).filter((function(e){return Km(t,e)})).filter((function(e){return function(e){return!((Xm(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},dg=function(e,t){return void 0===t&&(t=new Map),Vm(e).filter((function(e){return Qm(t,e)}))},fg=function(e,t,n){return ig(cg(ug(e,n),t),!0,n)},pg=function(e,t){return ig(cg(ug(e),t),!1)},hg=function(e,t){return cg(function(e){var t=e.querySelectorAll("[".concat("data-autofocus-inside","]"));return Vm(t).map((function(e){return ug([e])})).reduce((function(e,t){return e.concat(t)}),[])}(e),t)},vg=function(e,t){return e.shadowRoot?vg(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||Vm(e.children).some((function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&vg(r,t)}return vg(e,t)}))},mg=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?mg(t.shadowRoot):t instanceof HTMLIFrameElement&&function(e){try{return e()}catch(t){return}}((function(){return t.contentWindow.document}))?mg(t.contentWindow.document):t}},gg=function(e){return e.parentNode?gg(e.parentNode):e},yg=function(e){return qm(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(Em);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(Vm(gg(t).querySelectorAll("[".concat(Em,'="').concat(n,'"]:not([').concat(Om,'="disabled"])')))):[t]),e}),[])},bg=function(e,t){return void 0===t&&(t=mg(Wm(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&yg(e).some((function(e){return vg(e,t)||function(e,t){return Boolean(Vm(e.querySelectorAll("iframe")).some((function(e){return function(e,t){return e===t}(e,t)})))}(e,t)}))},wg=function(e,t){return Jm(e)&&e.name?function(e,t){return t.filter(Jm).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},xg=function(e){return e[0]&&e.length>1?wg(e[0],e):e[0]},kg=function(e,t){return e.length>1?e.indexOf(wg(e[t],e)):t},Sg="NEW_FOCUS",_g=function(e,t,n,r){var o=e.length,i=e[0],a=e[o-1],s=tg(n);if(!(n&&e.indexOf(n)>=0)){var l=void 0!==n?t.indexOf(n):-1,u=r?t.indexOf(r):l,c=r?e.indexOf(r):-1,d=l-u,f=t.indexOf(i),p=t.indexOf(a),h=function(e){var t=new Set;return e.forEach((function(n){return t.add(wg(n,e))})),e.filter((function(e){return t.has(e)}))}(t),v=(void 0!==n?h.indexOf(n):-1)-(r?h.indexOf(r):l),m=kg(e,0),g=kg(e,o-1);return-1===l||-1===c?Sg:!d&&c>=0?c:l<=f&&s&&Math.abs(d)>1?g:l>=p&&s&&Math.abs(d)>1?m:d&&Math.abs(v)>1?c:l<=f?g:l>p?m:d?Math.abs(d)>1?c:(o+c+d)%o:void 0}},Cg=function(e,t,n){var r,o=e.map((function(e){return e.node})),i=dg(o.filter((r=n,function(e){var t,n=null===(t=Zm(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return i&&i.length?xg(i):xg(dg(t))},Eg=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&Eg(e.parentNode.host||e.parentNode,t),t},Og=function(e,t){for(var n=Eg(e),r=Eg(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},Fg=function(e,t,n){var r=qm(e),o=qm(t),i=r[0],a=!1;return o.filter(Boolean).forEach((function(e){a=Og(a||e,e)||a,n.filter(Boolean).forEach((function(e){var t=Og(i,e);t&&(a=!a||vg(t,a)?t:Og(t,a))}))})),a},Ag=function(e,t){var n=mg(qm(e).length>0?document:Wm(e).ownerDocument),r=yg(e).filter(ng),o=Fg(n||e,e,r),i=new Map,a=pg(r,i),s=fg(r,i).filter((function(e){var t=e.node;return ng(t)}));if(s[0]||(s=a)[0]){var l=pg([o],i).map((function(e){return e.node})),u=function(e,t){var n=new Map;return t.forEach((function(e){return n.set(e.node,e)})),e.map((function(e){return n.get(e)})).filter(rg)}(l,s),c=u.map((function(e){return e.node})),d=_g(c,l,n,t);if(d===Sg){var f=Cg(a,c,function(e,t){return e.reduce((function(e,n){return e.concat(hg(n,t))}),[])}(r,i));return f?{node:f}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===d?d:u[d]}},Dg=0,Pg=!1;const Tg=function(e,t,n){void 0===n&&(n={});var r,o,i=Ag(e,t);if(!Pg&&i){if(Dg>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Pg=!0,void setTimeout((function(){Pg=!1}),1);Dg++,r=i.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),Dg--}};var jg=function(e){var t=yg(e).filter(ng),n=Fg(e,e,t),r=new Map,o=fg([n],r,!0),i=fg(t,r).filter((function(e){var t=e.node;return ng(t)})).map((function(e){return e.node}));return o.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:tg(t)}}))};function Mg(e){var t=window.setImmediate;"undefined"!==typeof t?t(e):setTimeout(e,1)}var Ig=function(){return document&&document.activeElement===document.body||function(e){void 0===e&&(e=document);var t=mg(e);return!!t&&Vm(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(e){return vg(e,t)}))}()},Ng=null,Rg=null,zg=null,Bg=!1,Lg=function(){return!0};function Hg(e,t,n,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==e)return;o=null}}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var Ug=function(e){return e&&"current"in e?e.current:e},Vg=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},qg=function(){var e,t=!1;if(Ng){var n=Ng,r=n.observed,o=n.persistentFocus,i=n.autoFocus,a=n.shards,s=n.crossFrame,l=n.focusOptions,u=r||zg&&zg.portaledElement,c=document&&document.activeElement;if(u){var d=[u].concat(a.map(Ug).filter(Boolean));if(c&&!function(e){return(Ng.whiteList||Lg)(e)}(c)||(o||(s?Boolean(Bg):"meanwhile"===Bg)||!Ig()||!Rg&&i)&&(u&&!(bg(d)||c&&function(e,t){return t.some((function(t){return Vg(e,t,t)}))}(c,d)||(e=c,zg&&zg.portaledElement===e))&&(document&&!Rg&&c&&!i?(c.blur&&c.blur(),document.body.focus()):(t=Tg(d,Rg,{focusOptions:l}),zg={})),Bg=!1,Rg=document&&document.activeElement),document){var f=document&&document.activeElement,p=jg(d),h=p.map((function(e){return e.node})).indexOf(f);h>-1&&(p.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),Hg(h,p.length,1,p),Hg(h,-1,-1,p))}}}return t},Wg=function(e){qg()&&e&&(e.stopPropagation(),e.preventDefault())},$g=function(){return Mg(qg)},Yg=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(zg={observerNode:n,portaledElement:t})},Gg=function(){Bg="just",setTimeout((function(){Bg="meanwhile"}),0)};Im.assignSyncMedium(Yg),Nm.assignMedium($g),Rm.assignMedium((function(e){return e({moveFocusInside:Tg,focusInside:bg})}));const Kg=Um((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!Ng&&(document.addEventListener("focusin",Wg),document.addEventListener("focusout",$g),window.addEventListener("blur",Gg));var n=Ng,r=n&&t&&t.id===n.id;Ng=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(Rg=null,r&&n.observed===t.observed||t.onActivation(),qg(),Mg(qg)):(document.removeEventListener("focusin",Wg),document.removeEventListener("focusout",$g),window.removeEventListener("blur",Gg),Rg=null)}))((function(){return null}));var Qg=r.forwardRef((function(e,t){return r.createElement(Hm,Wt({sideCar:Kg,ref:t},e))})),Zg=Hm.propTypes||{};Zg.sideCar,I(Zg,["sideCar"]);Qg.propTypes={};const Xg=Qg;var Jg,ey,ty,ny,ry,oy,iy,ay,sy,ly;function uy(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var cy=V("screen.head",{base:null}),dy=V("screen.title",{base:null}),fy=V("screen.subtitle",{base:null}),py=V("screen.body",{base:null}),hy=V("screen.footer",{base:null,shift:null}),vy=V("screen.custom",{main:null,head:null,title:null,subtitle:null,footer:null,gradientTop:null,gradientBottom:null}),my=V("screen.gradientTop",{base:null}),gy=V("screen.gradientBottom",{base:null}),yy=xt.div(Jg||(Jg=uy(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n ","\n"])),vy.main),by=xt.div(ey||(ey=uy(["\n ","\n width: 100%;\n ","\n"])),cy.base,vy.head),wy=xt.div(ty||(ty=uy(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: ",";\n ","\n"])),(function(e){var t=e.align;return null!==t&&void 0!==t?t:"flex-start"}),vy.headContent),xy=xt.div(ny||(ny=uy(["\n ","\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ",";\n\n ","\n"])),dy.base,(function(e){var t=e.align;return null!==t&&void 0!==t?t:"flex-start"}),vy.title),ky=xt.div(ry||(ry=uy(["\n ","\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ",";\n ","\n"])),fy.base,(function(e){var t=e.align;return null!==t&&void 0!==t?t:"flex-start"}),vy.subtitle),Sy=xt.div(oy||(oy=uy(["\n ","\n justify-content: ",";\n flex-grow: 1;\n max-width: 100%;\n ",";\n ","\n"])),py.base,(function(e){var t=e.align;return null!==t&&void 0!==t?t:"flex-start"}),(function(e){var t=e.scroll,n=e.maxHeight;return t&&nt(iy||(iy=uy(["\n overflow-y: auto;\n max-height: ","px;\n "])),n)}),vy.body),_y=xt.div(ay||(ay=uy(["\n ","\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ",";\n ","\n ","\n"])),hy.base,(function(e){var t=e.align;return null!==t&&void 0!==t?t:"flex-end"}),vy.footer,vy.footer),Cy=xt.div(sy||(sy=uy(["\n position: sticky;\n left: 0;\n top: 0;\n width: 100%;\n ","\n ","\n"])),my.base,vy.gradientTop),Ey=xt.div(ly||(ly=uy(["\n position: sticky;\n left: 0;\n bottom: 0;\n width: 100%;\n ","\n ","\n"])),gy.base,vy.gradientBottom),Oy=["children","scroll"];function Fy(){return Fy=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},Fy.apply(this,arguments)}function Ay(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Dy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Py(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ty=["children","align"];function jy(){return jy=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},jy.apply(this,arguments)}function My(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Iy=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.align,i=My(e,Ty);return r.createElement(by,jy({ref:t},i),r.createElement(wy,{align:o},n))})),Ny=["children"];function Ry(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var zy=function(e){var t=e.children,n=Ry(e,Ny);return r.createElement(yy,n,t)};zy.Head=Iy,zy.Title=xy,zy.SubTitle=ky,zy.Body=function(e){var t=e.children,n=e.scroll,o=Py(e,Oy),i=Ay((0,r.useState)(!1),2),a=i[0],s=i[1],l=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=l.current;setTimeout((function(){e&&n&&(e.offsetHeight<e.scrollHeight?s(!0):s(!1))}))})),r.createElement(Sy,Fy({ref:l,scroll:n},o),a&&r.createElement(Cy,null),t,a&&r.createElement(Ey,null))},zy.Footer=_y,zy.displayName="Screen";var By=V("modal.fade",{base:null,hide:null,show:null,custom:null}),Ly=V("modal.window",{base:null,hide:null,show:null,custom:null}),Hy=V("modal.icon",{base:null,hover:null,focus:null,custom:null}),Uy=xt.div.withConfig({displayName:"Modalstyles__Fade",componentId:"sc-c19nqf-0"})(["position:fixed;display:flex;align-items:center;flex-direction:column;overflow-y:auto;top:0;left:0;right:0;bottom:0;"," "," "," visibility:hidden;",""],By.base,By.custom,By.hide,(function(e){return e.show&&nt(["visibility:visible;",""],By.show)})),Vy=xt.div.withConfig({displayName:"Modalstyles__Box",componentId:"sc-c19nqf-1"})([""," -webkit-font-smoothing:antialiased;position:relative;margin:auto;"," "," ",";"],Ly.base,Ly.hide,Ly.custom,(function(e){return e.toggle&&nt(["",""],Ly.show)})),qy=xt.div.withConfig({displayName:"Modalstyles__CloseIcon",componentId:"sc-c19nqf-2"})([""," &:hover{","}"," ",""],Hy.base,Hy.hover,(function(e){return e.isFocusStateVisible&&nt(["&:focus{","}"],Hy.focus)}),Hy.custom),Wy=["id","children","state","onClose","onPreDespose","onPreDispose","isOpen","closeIcon","closeByFade"],$y=(0,r.forwardRef)((function(e,t){var n=e.id,i=e.children,a=e.state,s=e.onClose,l=e.onPreDespose,u=e.onPreDispose,c=e.isOpen,d=e.closeIcon,f=void 0===d?r.createElement(an,{size:"l"}):d,p=e.closeByFade,h=N(e,Wy),v=M((0,r.useState)(!1),2),m=v[0],g=v[1],y=M((0,r.useState)(!1),2),b=y[0],w=y[1],x=M((0,r.useState)(!1),2),k=x[0],S=x[1],_=(0,R.usePortal)("modal");a&&c&&console.warn("\u041d\u0435\u043b\u044c\u0437\u044f \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 state \u0438 isOpen");var C=(0,R.useDebounce)(g,400),E=(0,R.useDebounce)(S,100),O=(0,r.useCallback)((function(){"function"!==typeof u?"function"===typeof l&&(console.warn('"onPreDespose" property is deprecated and will be renamed to "onPreDispose" in the next major version.'),l()):u()}),[l,u]),F=(0,r.useCallback)((function(){E(!1,(function(){w(!1)})),C(!1,O)}),[E,C,O]),A=(0,r.useCallback)((function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]||"function"!==typeof s)F();else{var t=s(e);t instanceof Promise?t.then((function(e){(e||void 0===e)&&F()}),(function(e){return console.error(e)})):!0!==t&&void 0!==t||F()}}),[s,F]);a&&(a.children=i,a.onClose=s,a.open=function(){return g(!0)},a.close=A);var D=(0,r.useRef)(),P=(0,r.useCallback)((function(e){D.current=e.target}),[D]),T=(0,r.useCallback)((function(e){e.target===e.currentTarget&&D.current===e.target&&A(null)}),[A]),j=(0,r.useCallback)((function(){return A(null)}),[A]),I=(0,r.useCallback)((function(e){return e.stopPropagation()}),[]),z=(0,r.useCallback)((function(e){return e.stopPropagation()}),[]);if((0,r.useEffect)((function(){"boolean"===typeof c&&(c?g(!0):m&&A(null,!0))}),[c,A]),(0,r.useEffect)((function(){m&&(w(!0),E(!0))}),[m,E]),(0,r.useEffect)((function(){"function"===typeof t&&t({close:function(e){return A(e)}})}),[t,A]),(0,r.useEffect)((function(){return function(){C.despose(),E.despose()}}),[]),"undefined"===typeof window)return null;var B=Ah((function(e){return r.createElement(qy,Wt({role:"button","aria-label":"Close",tabIndex:0,onClick:j,onKeyPress:function(e){"Enter"===e.key&&j()}},e),f)}));return document&&o.createPortal(m&&r.createElement(Xg,{returnFocus:!0,autoFocus:!1},r.createElement(Uy,Wt({id:n,show:b,onClick:p?T:function(){},onMouseDown:P},h),r.createElement(Vy,{toggle:k,onClick:I,onMouseDown:z},i,f&&r.createElement(B,null)))),null!==_&&void 0!==_?_:document.body)}));$y.displayName="Modal",$y.defaultProps={closeIcon:r.createElement(an,{size:"l"}),closeByFade:!0},$y.Layout=zy,$y.Head=zy.Head,$y.Title=zy.Title,$y.SubTitle=zy.SubTitle,$y.Body=zy.Body,$y.Footer=zy.Footer;var Yy,Gy=["children"],Ky=xt.div.withConfig({displayName:"Whitespace__Box",componentId:"sc-dhryrz-0"})(["",""],(Yy="whitespace",function(e){return As(null!==Yy&&void 0!==Yy?Yy:Fs)(e).concat(function(e){return function(t){return Os(null!==e&&void 0!==e?e:Fs,Es,t)}}(Yy)(e))})),Qy=r.forwardRef((function(e,t){var n=e.children,o=N(e,Gy);return r.createElement(Ky,Wt({ref:t},o),n)}));const Zy=e=>{let{isOpen:n,onClose:o,onSuccess:i}=e;const a=(0,t.useInjection)(ii.EventService),s=(0,r.useMemo)((()=>!0),[]),l=(0,r.useMemo)((()=>!!window.__isCypressEnv),[]),u=(0,r.useCallback)((()=>{o()}),[o]),c=(0,r.useCallback)((()=>{i("mockCaptchaToken")}),[i]),d=(0,r.useCallback)((()=>{if(window.smartCaptcha)return;const e=document.createElement("script");e.src="https://smartcaptcha.yandexcloud.net/captcha.js?render=onload&onload=captchaOnload",e.defer=!0,document.body.appendChild(e),window.captchaOnload=function(){if(window.smartCaptcha)try{const e=document.createElement("div");e.id="dmf-captcha-container",document.body.appendChild(e),window.smartCaptcha.render(e.id,{sitekey:"ysc1_P8WgdU7jUg883eXGHohbiReDFZz6VhEyx0zq0fdJ7df4d812",invisible:!0,callback:e=>{a.emit("captcha:response",e)}})}catch(e){Np.error("Problem with captcha",e)}}}),[a]);return(0,r.useLayoutEffect)((()=>{s&&!l&&d()}),[l,s,d]),(0,r.useEffect)((()=>{n&&window.smartCaptcha&&(window.smartCaptcha.reset(),window.smartCaptcha.execute())}),[n,i]),(0,r.useEffect)((()=>{const e=e=>{i(e)};return a.on("captcha:response",e),()=>{a.off("captcha:response",e)}}),[a,i]),s&&!l?null:(0,Vs.jsx)($y,{isOpen:n,onClose:u,children:(0,Vs.jsxs)($y.Layout,{children:[(0,Vs.jsx)($y.Head,{children:(0,Vs.jsx)($y.Title,{children:(0,Vs.jsx)(Qy,{margin:"s1"})})}),(0,Vs.jsx)($y.Body,{children:(0,Vs.jsx)(Ih,{design:"vertical",children:(0,Vs.jsx)(Mh,{name:"iAmHuman",onClick:c,children:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0441\u044e\u0434\u0430, \u0435\u0441\u043b\u0438 \u0432\u044b \u0447\u0435\u043b\u043e\u0432\u0435\u043a"})})})]})})},Xy=()=>{const e=(0,t.useInjection)(ii.SmsService),n=D(),o=y(_m),i=(e=>{const[t,n]=(0,r.useState)(e),[o,i]=(0,r.useState)(),[a,s]=(0,r.useState)(!!e.length);return{value:t,setValue:n,error:o,setError:i,showError:a,setShowError:s}})(y(wm).accountBalance),[a,s]=(0,r.useState)(!1),[l,u]=(0,r.useState)(!1),c=(0,r.useCallback)((()=>{n(bm({accountBalance:i.value}))}),[i.value,n]),d=(0,r.useCallback)((async t=>{s(!0);const r=await e.sendCode(o.phoneNumber,null!==t&&void 0!==t?t:o.captchaToken);"SUCCESS"===r?(c(),n(rs())):"NEED_CAPTCHA"===r?u(!0):s(!1)}),[o,n,e,c]),f=(0,r.useCallback)((async()=>{c(),n(os())}),[n,c]),p=(0,r.useCallback)((async()=>{d()}),[d]),h=(0,r.useCallback)((()=>u(!1)),[]),v=(0,r.useCallback)((e=>{u(!1),d(e)}),[d]);return(0,Vs.jsxs)(_p,{footer:(0,Vs.jsxs)(Ih,{justifyContent:"space-between",children:[(0,Vs.jsx)(Mh,{name:"prevScreen",design:"ghost",onClick:f,children:"\u041d\u0430\u0437\u0430\u0434"}),(0,Vs.jsx)(Mh,{name:"nextScreen",design:"accent",disabled:a,onClick:p,children:"\u0414\u0430\u043b\u0435\u0435"})]}),children:[(0,Vs.jsxs)(Ih,{design:"vertical",children:[(0,Vs.jsx)(bs,{margin:"m",children:"\u041e\u0441\u0442\u0430\u0442\u043e\u043a \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0441\u0447\u0435\u0442\u0430\u0445 \u0438 \u0438\u043d\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u0445:"}),(0,Vs.jsx)(mm,{name:"accountBalance",buttons:[{label:"\u0411\u043e\u043b\u0435\u0435 5 \u043c\u043b\u043d \u20bd",name:"accountBalanceMore5Million",value:gm},{label:"\u041c\u0435\u043d\u0435\u0435 5 \u043c\u043b\u043d \u20bd",name:"accountBalanceLess5Million",value:"\u041c\u0435\u043d\u0435\u0435 5 \u043c\u043b\u043d. \u0440\u0443\u0431\u043b\u0435\u0439"}],buttonsDirection:"column",hook:i})]}),(0,Vs.jsx)(Zy,{isOpen:l,onClose:h,onSuccess:v})]})},Jy=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(e),[o,i]=(0,r.useState)(),[a,s]=(0,r.useState)(!!e.length);return(0,r.useEffect)((()=>{const e=(e=>{const t=e.split(".");return t[2]=Number(t[2])>1900?t[2]:"",new Date(Number(t[2]),Number(t[1])-1,Number(t[0]))})(t),n=(e=>{const t=new Date,n=new Date(e);let r=t.getFullYear()-n.getFullYear();const o=t.getMonth()-n.getMonth();return(o<0||0===o&&t.getDate()<n.getDate())&&r--,r})(e);10!==t.length||"Invalid Date"===`${e}`?i("\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f"):i(n<18?"\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u0442\u0430\u0440\u0448\u0435 18 \u043b\u0435\u0442":n>110?"\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043c\u043b\u0430\u0434\u0448\u0435 110 \u043b\u0435\u0442":void 0)}),[t]),{value:t,setValue:n,error:o,setError:i,showError:a,setShowError:s}},eb="+7 (",tb=(e,t)=>{const[n,o]=(0,r.useState)(null!==e&&void 0!==e?e:eb),[i,a]=(0,r.useState)(),[s,l]=(0,r.useState)(!!e&&(!e.length||e!==eb));return(0,r.useEffect)((()=>{void 0===(null===t||void 0===t?void 0:t.required)||null!==t&&void 0!==t&&t.required||4!==n.length?18===n.length?a(void 0):a("\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430"):a(void 0)}),[null===t||void 0===t?void 0:t.required,n]),{value:n,setValue:o,error:i,setError:a,showError:s,setShowError:l}},nb=()=>{const[e,t]=(0,r.useState)({width:void 0,height:void 0});return(0,r.useEffect)((()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),e};var rb=sl("GoLeft",r.createElement(r.Fragment,null,r.createElement("path",{d:"M9.69 12.06v-.12C12.69 10.55 15 7.81 15 4h-2c0 2.96-1.59 4.99-5.28 7.03-.45.25-.72.52-.72.97s.27.74.72.99C11.41 15.03 13 17.04 13 20h2c0-3.81-2.31-6.55-5.31-7.94"})));rb.defaultProps={size:"m",color:"currentColor"},rb.displayName="GoLeft";xt.div` max-width: ${Hs}px; width: 100%; margin: auto; pointer-events: ${e=>{let{$opacity:t}=e;return 1===t?"auto":"none"}}; opacity: ${e=>{let{$opacity:t}=e;return t}}; transition: opacity 250ms; `,xt.div` display: flex; justify-content: center; align-items: center; position: relative; padding: 0px 42px; min-height: 88px; border-radius: 12px 12px 0px 0px; background-color: ${xv().color.primary.brand.primary}; @media (max-width: 725px) { flex-direction: column; padding: 0px 136px; } @media (max-width: 683px) { min-height: 120px; padding: 0px 42px; } `,xt.div` font-family: ${xv().typography.b.family}; font-size: ${xv().typography.b.b5.size}px; line-height: ${xv().typography.b.b5.height}px; color: ${xv().color.primary.brand.white}; text-align: center; @media (max-width: 683px) { margin-top: 8px; } `,xt.div` display: inline; margin-right: 8px; `,xt.span` ${e=>{let{$show:t}=e;return!t&&"display: none;"}} font-family: ${xv().typography.b.family}; font-size: ${xv().typography.b.b5.size}px; line-height: ${xv().typography.b.b5.height}px; color: ${xv().color.primary.seattle.c30}; white-space: nowrap; `,xt.div` display: ${e=>{let{$show:t}=e;return t?"flex":"none"}}; @media (min-width: 684px) { align-items: center; position: absolute; top: 50%; right: 16px; height: 100%; margin-bottom: -8px; padding-top: 8px; transform: translateY(-50%); } @media (max-width: 683px) { justify-content: center; flex-wrap: wrap; position: static; height: auto; margin-top: 12px; } `,xt.div` margin-right: 8px; margin-bottom: 8px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid transparent; ${e=>{let{$type:t}=e;return"elapsed"===t?`background-color: ${xv().color.primary.seattle.c60};`:"active"===t?`background-color: ${xv().color.primary.brand.accent};`:`border: 1px solid ${xv().color.primary.seattle.c60};`}} `,xt.span` position: absolute; left: 16px; color: ${xv().color.primary.brand.white}; `,xt(rb)` cursor: pointer; `,xt.div` ${e=>{let{$disable:t}=e;return!t&&nt` border: 1px solid #e1e1e3; border-top-style: none; `}} `,xt.div` background-color: ${xv().color.primary.brand.white}; padding: 0px 24px 24px; transition: opacity 250ms; opacity: ${e=>{let{$contentOpacity:t}=e;return t}}; pointer-events: ${e=>{let{$contentOpacity:t}=e;return 1===t?"auto":"none"}}; ${e=>{let{$enableBottomBorderRadius:t}=e;return t&&nt` border-radius: 0 0 ${xv().border.radius.l}px ${xv().border.radius.l}px; `}} `;const ob="prev_screen:change_request";var ib=Dn("link",{base:null,size:Ln("size","m"),gap:Ln("size","m"),design:"design",hover:"design",disabled:null,loading:null,custom:null}),ab=Dn("link.wrapper",{base:null,design:"design",hover:"design",disabled:"design",loading:null,custom:null}),sb=xt.span.withConfig({displayName:"Linkstyles__Wrapper",componentId:"sc-1c9c2bd-0"})([""," "," vertical-align:baseline !important;"," ",""],ab.base,ab.design,(function(e){return e.disabled&&nt(["",""],ab.disabled)}),(function(e){return e.loading&&nt(["",""],ab.loading)})),lb=xt.a.withConfig({displayName:"Linkstyles__Box",componentId:"sc-1c9c2bd-1"})(["position:relative;cursor:pointer;outline:0;text-decoration:none;"," "," "," &:hover,&:focus{"," ","{","}}"," "," & > *{vertical-align:middle;}& > *:not(:last-child){","}",""],ib.base,ib.size,ib.design,ib.hover,sb,ab.hover,(function(e){return e.disabled&&nt(["pointer-events:none;",""],ib.disabled)}),(function(e){return e.loading&&nt(["",""],ib.loading)}),ib.gap,ib.custom),ub=["children","loading","disabled","design","tabIndex"];function cb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function db(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cb(Object(n),!0).forEach((function(t){$t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fb=r.forwardRef((function(e,t){var n,o=e.children,i=e.loading,a=e.disabled,s=e.design,l=e.tabIndex,u=N(e,ub),c=a?"-1":l,d={design:s,disabled:a,loading:i},f=null!==(n=r.Children.map(o,(function(e){return"string"===typeof e||e&&"span"===e.type?r.createElement(sb,d,e):e})))&&void 0!==n?n:[];return i&&(d.disabled=!0,f.push(r.createElement(Eh,{key:"spinner",size:e.size,position:"absolute"}))),r.createElement(lb,db(db(db({ref:t},u),d),{},{tabIndex:c}),f)}));fb.defaultProps={design:"primary",size:"m"},fb.displayName="Link";const pb=e=>{let{name:n,disabled:o,href:i,target:a,size:s,design:l,children:u,onClick:c}=e;const d=(0,t.useInjection)(ii.EventService),f=(0,r.useCallback)((()=>{c&&c(),d.emit("link:click",{name:n,design:l,label:u,disabled:o})}),[d,n,l,u,o,c]);return(0,Vs.jsx)(fb,{design:l,href:i,size:s,target:a,"data-context":`${n}Link`,disabled:o,onClick:f,children:u})},hb=xt(xs)` width: 100%; `,vb="&:disabled{background-color: #FEF280;}",mb=e=>{let{contentInsteadOfPrevButton:n,fields:o,fieldsIsValid:i,fetchIsPending:a,nextScreenExtendedClickEventData:s={},disableNextButton:l,prevScreenHandler:u,nextScreenHandler:c,disabledNextScreenHandler:d,nextScreenButtonText:f}=e;const p=(()=>{const e=nb();return(0,r.useMemo)((()=>e.width&&e.width<Hs?"MOBILE":"DESKTOP"),[e.width])})(),h=(0,t.useOptionalInjection)(ai.NavigationConfig),v=(0,r.useMemo)((()=>!!l||(!!a||(h?(void 0===n||!h.nextEnabledOnContentInsteadOfPrev)&&(!h.nextEnabledOnAll&&!i):!i))),[n,l,a,i,h]),m=(0,r.useCallback)((()=>{o&&o.forEach((e=>{e.setShowError(!0)}))}),[o]),g=(0,r.useCallback)((()=>{if(d){if(!v)return;d()}else{if(i)return;null!==h&&void 0!==h&&h.showValidationErrorWhenClickOnDisabled&&m()}}),[d,i,v,null===h||void 0===h?void 0:h.showValidationErrorWhenClickOnDisabled,m]),y=(0,r.useCallback)((()=>{c&&i&&c()}),[i,c]);if("CONCEAL_BACK"===(null===h||void 0===h?void 0:h.type)){if("DESKTOP"===p)return(0,Vs.jsxs)(Ih,{justifyContent:"space-between",children:[!u&&n,u&&(0,Vs.jsx)(Mh,{name:"prevScreen",design:"ghost",extendedCss:"min-width: auto !important;",onClick:u,children:(0,Vs.jsx)(rb,{})}),c&&(0,Vs.jsx)(xs,{onClick:g,children:(0,Vs.jsx)(Mh,{name:"nextScreen",design:"accent",disabled:v,extendedCss:`width: 133px;${vb}`,extendedClickEventData:{fieldsIsValid:i,...s},onClick:y,children:null!==f&&void 0!==f?f:"\u0414\u0430\u043b\u0435\u0435"})})]});if("MOBILE"===p)return c?(0,Vs.jsxs)(Ih,{design:"vertical",children:[!u&&n,(0,Vs.jsx)(hb,{onClick:g,children:(0,Vs.jsx)(Mh,{name:"nextScreen",design:"accent",disabled:v,extendedCss:`width: 100%;height: 48px;${vb}`,extendedClickEventData:{fieldsIsValid:i,...s},onClick:y,children:null!==f&&void 0!==f?f:"\u0414\u0430\u043b\u0435\u0435"})})]}):(0,Vs.jsx)(Vs.Fragment,{})}return(0,Vs.jsxs)(Ih,{justifyContent:"space-between",children:[!u&&n,u&&(0,Vs.jsx)(Mh,{name:"prevScreen",design:"ghost",onClick:u,children:"\u041d\u0430\u0437\u0430\u0434"}),c&&(0,Vs.jsx)(xs,{onClick:g,children:(0,Vs.jsx)(Mh,{name:"nextScreen",design:"accent",disabled:v,extendedClickEventData:s,onClick:y,children:null!==f&&void 0!==f?f:"\u0414\u0430\u043b\u0435\u0435"})})]})},gb=e=>{let{isOpen:n,onClose:o}=e;const i=(0,t.useInjection)(ii.EventService),a=(0,t.useInjection)(ii.NotificationService),s=(0,t.useInjection)(ii.SmsService),l=D(),u=tb(""),c=y(_m);(0,r.useEffect)((()=>{n&&(u.setValue(""),u.setShowError(!1))}),[i,n,u.setValue,u.setShowError]);const d=(0,r.useCallback)((()=>{c.phoneNumber!==u.value?s.sendCode(u.value,c.captchaToken).then((e=>{"FAILURE"!==e&&("BANNED"!==e?(l(Sm({...c,phoneNumber:u.value})),a.success({message:"\u041d\u043e\u043c\u0435\u0440 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d"}),o()):a.error({message:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u043e\u043c\u0435\u0440. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438 \u0432\u0432\u0435\u0441\u0442\u0438 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e"}))})).catch((()=>{})):o()}),[c,u.value,s,o,l,a]),f=(0,r.useCallback)((()=>{i.emit("modal:close",{name:"changeNumber"}),o()}),[i,o]),p=(0,r.useCallback)((e=>{u.setValue(e),l(Sm({...c,phoneNumberIsConfirmed:!1}))}),[u,l,c]);return(0,Vs.jsxs)($y,{isOpen:n,onClose:f,children:[(0,Vs.jsx)($y.Head,{children:(0,Vs.jsx)($y.Title,{children:(0,Vs.jsx)(xs,{size:"xxl","data-context":"enterNewPhoneNumberTitle",children:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430"})})}),(0,Vs.jsx)($y.Body,{children:(0,Vs.jsx)(Nr,{design:"vertical",children:(0,Vs.jsx)(qv,{name:"newPhoneNumber",label:"\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",hook:u,onChange:p})})}),(0,Vs.jsx)($y.Footer,{children:(0,Vs.jsxs)(Nr,{justifyContent:"space-between",children:[(0,Vs.jsx)(Mh,{name:"cancelChangePhoneNumber",design:"ghost",onClick:o,children:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c"}),(0,Vs.jsx)(Mh,{name:"confirmChangePhoneNumber",design:"accent",disabled:!!u.error,onClick:d,children:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})]})})]})};let yb;!function(e){e[e.NeedCaptcha=-4e3]="NeedCaptcha",e[e.MissingTokenInResponse=-3e3]="MissingTokenInResponse",e[e.InvalidPhoneNumberFormat=-2e3]="InvalidPhoneNumberFormat",e[e.InvalidVerifyCodeFormat=-2010]="InvalidVerifyCodeFormat",e[e.NetworkIssue=-1e3]="NetworkIssue",e[e.UnknownIssue=-1]="UnknownIssue",e[e.AttemptsTimeoutNotEnd=1]="AttemptsTimeoutNotEnd",e[e.GateResponseIssue=2]="GateResponseIssue",e[e.UserBannedOrInBlackList=3]="UserBannedOrInBlackList",e[e.InvalidCode=4]="InvalidCode",e[e.ExceededAttempts=5]="ExceededAttempts",e[e.CodeIsExpired=6]="CodeIsExpired",e[e.InvalidToken=7]="InvalidToken"}(yb||(yb={}));class bb{constructor(e,t){this.authEndpointUrl=void 0,this.sendSmsEndpointUrl=void 0,this.verifyCodeEndpointUrl=void 0,this.eventService=void 0,this.sendCode=async e=>{let{phoneNumber:t,captchaToken:n}=e;if(!n)return Np.info("Captcha-token \u043e\u0442\u0441\u0443\u0442\u0441\u0432\u0443\u0435\u0442"),{error:{code:yb.NeedCaptcha,message:"\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440",originalError:null}};const r=this.sendSmsEndpointUrl,o={number:t,captchaToken:null!==n&&void 0!==n?n:"noactualtoken"},i={"Content-Type":"application/json"},a={request:{method:"POST",endpointUrl:r,headers:i,params:o}};if(Gp.includes(t))return t===Vp?(Np.info("Mock response for test banned number"),{error:{code:yb.UserBannedOrInBlackList,message:"\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0421\u041c\u0421 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440",originalError:null}}):(Np.info(`Captcha-token \u0434\u043b\u044f stub-\u043d\u043e\u043c\u0435\u0440\u0430 ${t}: ${n}`),{error:null});if(!/^7[3489]\d{9}$/.test(t))return{error:{code:yb.InvalidPhoneNumberFormat,message:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",originalError:null}};try{this.eventService.emit("sms_auth_send_code:request",{...a});const e=await ip.post(r,o,{headers:i,withCredentials:!0,timeout:1e4});return this.eventService.emit("sms_auth_send_code:response",{...a,response:{status:e.status,data:e.data}}),{error:null}}catch(l){var s;let e={code:yb.UnknownIssue,message:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0421\u041c\u0421",originalError:l};if(ip.isAxiosError(l)&&!l.response&&(e={code:yb.NetworkIssue,message:"\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443",originalError:l}),ip.isAxiosError(l)&&null!==(s=l.response)&&void 0!==s&&s.data){const{code:t,message:n}=l.response.data;t&&n&&(e={code:t,message:n,originalError:l})}return this.eventService.emit("sms_auth_send_code:error",{...a,error:e}),{error:e}}},this.verifyCode=async e=>{let{phoneNumber:t,code:n}=e;const r=this.verifyCodeEndpointUrl,o={number:t,code:n},i={"Content-Type":"application/json"},a={request:{method:"POST",endpointUrl:r,headers:i,params:o}};if(Gp.includes(t)&&n===Bp)return{error:null,token:"testPhoneNumberToken"};if(!/^7[3489]\d{9}$/.test(t))return{error:{code:yb.InvalidPhoneNumberFormat,message:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",originalError:null}};if(!/^[0-9]{4,4}$/.test(n))return{error:{code:yb.InvalidVerifyCodeFormat,message:"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043a\u043e\u0434\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f",originalError:null}};try{var s;this.eventService.emit("sms_auth_verify_code:request",{...a});const e=await ip.post(r,o,{withCredentials:!0,headers:i,timeout:1e4});return this.eventService.emit("sms_auth_verify_code:response",{...a,response:{status:e.status,data:e.data}}),null!==e&&void 0!==e&&null!==(s=e.data)&&void 0!==s&&s.token?{error:null,token:e.data.token}:{error:{code:yb.MissingTokenInResponse,message:"\u0412 \u043e\u0442\u0432\u0435\u0442\u0435 \u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043a\u0435\u043d",originalError:null}}}catch(u){var l;let e={code:yb.UnknownIssue,message:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043a\u043e\u0434\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f",originalError:u};if(ip.isAxiosError(u)&&!u.response&&(e={code:yb.NetworkIssue,message:"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043a\u043e\u0434\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443",originalError:u}),ip.isAxiosError(u)&&null!==(l=u.response)&&void 0!==l&&l.data){const{code:t,message:n}=u.response.data;t&&n&&(e={code:t,message:n,originalError:u})}return this.eventService.emit("sms_auth_verify_code:error",{...a,error:e}),{error:e}}},this.authEndpointUrl=e,this.sendSmsEndpointUrl=`${this.authEndpointUrl}/send-sms`,this.verifyCodeEndpointUrl=`${this.authEndpointUrl}/verify`,this.eventService=t}}Ec(Oc(),bb),Ec(Dc(si.SmsEndpoint),bb,0),Ec(Dc(ii.EventService),bb,1);var wb=sl("InfoRing",r.createElement(r.Fragment,null,r.createElement("path",{d:"M12.41 12.01H9v-2h3c.6 0 1 .4 1 1v5h2v2H9v-2h2v-2.13c0-1.06.53-1.62 1.41-1.75zM12 20c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8m0 2C6.48 22 2 17.52 2 12S6.48 2 12 2s10 4.48 10 10-4.48 10-10 10m1.5-14.49c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5"})));wb.defaultProps={size:"m",color:"currentColor"},wb.displayName="InfoRing";const xb=e=>{let{isOpen:n,onClose:o}=e;const i=(0,t.useInjection)(ii.EventService),a=(0,r.useCallback)((()=>{i.emit("modal:close",{name:"confirmCodeNotReceived"}),o()}),[i,o]);return(0,Vs.jsx)($y,{isOpen:n,onClose:a,children:(0,Vs.jsxs)($y.Layout,{children:[(0,Vs.jsx)($y.Head,{children:(0,Vs.jsx)($y.Title,{children:(0,Vs.jsxs)(Nr,{children:[(0,Vs.jsx)(wb,{color:"gray"}),(0,Vs.jsx)(xs,{size:"xxl",children:"\u041d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043a\u043e\u0434?"})]})})}),(0,Vs.jsx)($y.Body,{children:(0,Vs.jsxs)(Nr,{design:"vertical","data-context":"confirmCodeNotRecivedModalContent",children:[(0,Vs.jsxs)(xs,{size:"m",children:[(0,Vs.jsxs)(xs,{weight:"bold",size:"m",children:["1."," "]}),"\u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u043d\u043e\u043c\u0435\u0440 \u0437\u0430\u0442\u0435\u0441\u0430\u043b\u0430\u0441\u044c \u043e\u0448\u0438\u0431\u043a\u0430? \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0435\u0433\u043e \u0435\u0449\u0435 \u0440\u0430\u0437."]}),(0,Vs.jsxs)(xs,{size:"m",children:[(0,Vs.jsxs)(xs,{weight:"bold",size:"m",children:["2."," "]}),"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u0432 \u0438\u0445 \u0441\u043b\u0443\u0436\u0431\u0443 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438."]}),(0,Vs.jsxs)(xs,{size:"l",children:["\u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u0441\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0438, \u043d\u043e \u043a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u2014 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u0435 \u043d\u0430\u043c \u043f\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u043c\u0443 \u043d\u043e\u043c\u0435\u0440\u0443 \xa0",(0,Vs.jsx)(xs,{weight:"bold",children:(0,Vs.jsx)(fb,{design:"accent",href:"tel:88007005626","data-position":5,children:"8 800 700-56-26"})}),"\xa0 \u0438 \u043c\u044b \u0432\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u043c."]})]})})]})})},kb=xt(gs)` ${e=>{let{centred:t}=e;return t&&"width: 100%;\n text-align: center;"}} `,Sb=xt(ws)` ${e=>{let{centred:t}=e;return t&&"width: 100%;\n text-align: center;"}} `,_b=xt(ms)` ${e=>{let{centred:t}=e;return t&&"width: 100%;\n text-align: center;"}} `,Cb=xt.div` min-width: 220px; // fix link jumps on iPhone XR `,Eb=e=>{let{authData:n,handlePrevScreen:o,handleNextScreen:i}=e;const a=(0,t.useInjection)(ii.NotificationService),s=(0,t.useInjection)(ii.SmsService),[l,u]=(0,r.useState)(!1),c=(e=>{const[t,n]=(0,r.useState)(e);(0,r.useEffect)((()=>{let e;return t>0&&(e=setTimeout((()=>{n(t-1)}),1e3)),()=>{e&&clearTimeout(e)}}),[t]);const o=(0,r.useCallback)((()=>{n(e)}),[e]);return{value:t,reset:o}})(120),d=(()=>{const[e,t]=(0,r.useState)(""),[n,o]=(0,r.useState)(),[i,a]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const t=4===e.length;o(""===e?"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f":t?void 0:"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u0438\u0437 SMS")}),[e]),{value:e,setValue:t,error:n,setError:o,showError:i,setShowError:a}})(),[f,p]=(0,r.useState)(),[h,v]=(0,r.useState)(!1),[m,g]=(0,r.useState)(!1),y=(0,r.useCallback)((()=>{s.sendCode(n.phoneNumber,n.captchaToken).then((e=>{"SUCCESS"===e?(a.success({message:"\u041a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e"}),c.reset(),d.setValue(""),d.setShowError(!1)):c.reset()})).catch((()=>{}))}),[s,n.phoneNumber,n.captchaToken,a,c,d]),b=(0,r.useCallback)((async()=>{m||o(n)}),[n,o,m]);(e=>{let{prevScreenHandler:n}=e;const o=(0,t.useInjection)(ii.EventService),i=(0,r.useCallback)((()=>{n()}),[n]);(0,r.useEffect)((()=>(o.on(ob,i),()=>{o.off(ob,i)})),[o,i])})({prevScreenHandler:b});const w=(0,r.useCallback)((e=>{e.length<=4&&d.setValue(e),4===e.length&&(g(!0),p(void 0),s.verifyCode(n.phoneNumber,e).then((e=>{if(null!==e&&void 0!==e&&e.token){const t={phoneNumber:n.phoneNumber,phoneNumberIsConfirmed:!0,token:e.token,checkClientAuthToken:e.check_client_auth_token};i(t).catch((()=>{g(!1)}))}})).catch((()=>{p("\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u0438\u0437 SMS"),g(!1)})))}),[n,d,i,s]),x=(0,r.useCallback)((()=>{u(!0)}),[]),k=(0,r.useCallback)((()=>{v(!1),d.setShowError(!1),d.setValue("")}),[d]),S=(0,r.useCallback)((()=>{u(!1)}),[]),_=(0,r.useCallback)((()=>{v(!0)}),[]);return(0,Vs.jsxs)(_p,{footer:(0,Vs.jsx)(mb,{fieldsIsValid:!0,fetchIsPending:m,prevScreenHandler:b}),children:[(0,Vs.jsxs)(Ih,{design:"vertical",children:[(0,Vs.jsxs)(Ih,{design:"vertical",children:[(0,Vs.jsxs)(Sb,{centred:!0,size:"xxl","data-context":"codeSendedToPhoneNumberTitle",children:["\u041a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0432\u0430\u043c \u043d\u0430\xa0\u043d\u043e\u043c\u0435\u0440:"," "]}),(0,Vs.jsxs)(Ih,{justifyContent:"center",children:[(0,Vs.jsx)(_b,{size:"xxl",weight:"bold","data-context":"phoneNumberTitle",children:n.phoneNumber}),(0,Vs.jsx)(pb,{name:"showChangePhoneModal",design:"accent",onClick:_,children:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})]})]}),(0,Vs.jsxs)(Ih,{design:"vertical",children:[(0,Vs.jsx)(Ih,{design:"vertical",children:(0,Vs.jsx)(Bv,{name:"confirmPhoneNumberCode",label:"\u041a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f",hook:d,additionalError:f,disabled:m,onChange:w})}),(0,Vs.jsxs)(Ih,{justifyContent:"space-between",children:[(0,Vs.jsx)(Cb,{children:(0,Vs.jsx)(pb,{name:"resendCode",design:"accent",disabled:0!==c.value,onClick:y,children:0!==c.value?`\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e (${c.value})`:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e"})}),(0,Vs.jsx)(pb,{name:"codeNotReceived",design:"accent",onClick:x,children:"\u041d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043a\u043e\u0434?"})]})]})]}),(0,Vs.jsx)(gb,{isOpen:h,onClose:k}),(0,Vs.jsx)(xb,{isOpen:l,onClose:S})]})},Ob=e=>{let{handleNextScreen:n}=e;const o=(0,t.useInjection)(ii.NtbService),i=(0,t.useInjection)(ii.FormsService),a=(0,t.useInjection)(ii.NotificationService),s=y(wm),l=y(_m),u=D(),c=(0,r.useCallback)((async e=>{u(Sm({...l,...e})),u(os())}),[l,u]),d=(0,r.useCallback)((async e=>{const t=gl(s.birthDate),r=ml(s.fullName),l=hl(e.phoneNumber);try{let a={exists:!1,dormant:!1};try{const n=await o.getClientInfo({...r,phone:l,birthdate:t,checkClientAuthToken:e.checkClientAuthToken});a={exists:n.exists||!1,dormant:n.dormant||!1},n.clientId&&(a.clientId=n.clientId)}catch(c){Np.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 NTB",{code:null===c||void 0===c?void 0:c.code,message:null===c||void 0===c?void 0:c.message,stack:null===c||void 0===c?void 0:c.stack})}const d=yl();await i.sendAnswers({googleId:null!==d&&void 0!==d?d:null,fio:ml(s.fullName),phone:{phone:l,token:e.token},birthDate:t,agree:!0,ntb:a,city:s.city,accountBalance:s.accountBalance},{token:e.token,phone:l})&&(n?n():u(rs()))}catch(d){d instanceof Error&&d.message?a.warning({message:d.message}):a.warning({message:"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0437\u0430\u044f\u0432\u043a\u0438"})}}),[s,i,o,u,n,a]);return(0,Vs.jsx)(Eb,{authData:l,handlePrevScreen:c,handleNextScreen:d})},Fb=e=>{let{isOpen:n,onClose:o,content:i}=e;const a=(0,t.useInjection)(ii.EventService),s=(0,r.useCallback)((()=>{a.emit("modal:close",{name:"error"}),o()}),[a,o]);return(0,Vs.jsx)($y,{isOpen:n,onClose:s,children:(0,Vs.jsxs)($y.Layout,{children:[(0,Vs.jsx)($y.Head,{children:(0,Vs.jsx)($y.Title,{children:(0,Vs.jsxs)(Nr,{children:[(0,Vs.jsx)(wb,{color:"red"}),(0,Vs.jsx)(xs,{size:"xxl",children:"\u041e\u0448\u0438\u0431\u043a\u0430"})]})})}),(0,Vs.jsx)($y.Body,{children:i})]})})},Ab=()=>(0,Vs.jsxs)(Vs.Fragment,{children:[(0,Vs.jsxs)(Sb,{margin:"m",children:["\u0421 \u044d\u0442\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0437\u0430\u044f\u0432\u043a\u0430 \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0443, \u043d\u043e \u043f\u043b\u0430\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435"," ",(0,Vs.jsx)(pb,{name:"registredChangeDelivery",href:"https://www.raiffeisen.ru/promo/delivery/",target:"_blank",children:"\u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0438\u043b\u0438 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0442\u0440\u0435\u0447\u0443"}),"."]}),(0,Vs.jsxs)(Sb,{margin:"m",children:["\u041f\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0441\u0432\u044f\u0436\u0438\u0442\u0435\u0441\u044c \u0441\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u043e\u043c \u0431\u0430\u043d\u043a\u0430:"," ",(0,Vs.jsx)(pb,{name:"callToPhoneNumber",href:"tel:88007001717",size:"l",children:"8 800 700 17 17"}),"."]})]}),Db=e=>{let{isOpen:n,onClose:o,content:i}=e;const a=(0,t.useInjection)(ii.EventService),s=(0,r.useCallback)((()=>{a.emit("modal:close",{name:"privacyPolicy"}),o()}),[a,o]);return(0,Vs.jsx)($y,{isOpen:n,onClose:s,children:(0,Vs.jsxs)($y.Layout,{children:[(0,Vs.jsx)($y.Head,{children:(0,Vs.jsx)($y.Title,{children:(0,Vs.jsx)(ds,{children:"\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u0434\u0430\u0447\u0438 \u043e\u043d\u043b\u0430\u0439\u043d-\u0437\u0430\u044f\u0432\u043a\u0438"})})}),(0,Vs.jsx)($y.Body,{children:i})]})})},Pb=xt(xs)` max-width: ${e=>{let{maxWidth:t}=e;return null!==t&&void 0!==t?t:285}}px; `,Tb=(Vs.Fragment,(0,Vs.jsxs)(Vs.Fragment,{children:[(0,Vs.jsx)(bs,{margin:"l",children:"\u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430\xa0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445"}),(0,Vs.jsx)(ws,{margin:"m",children:"\u042f\xa0\u0434\u0430\u044e \u0441\u0432\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430\xa0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0410\u041e\xa0\xab\u0420\u0430\u0439\u0444\u0444\u0430\u0439\u0437\u0435\u043d\u0431\u0430\u043d\u043a\xbb (\u0434\u0430\u043b\u0435\u0435 \u0411\u0430\u043d\u043a), 119002, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u043f\u043b. \u0421\u043c\u043e\u043b\u0435\u043d\u0441\u043a\u0430\u044f-\u0421\u0435\u043d\u043d\u0430\u044f, \u0434.\xa028\xa0(\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\xa0\u043c\u0435\u043d\u044f \u0438/\u0438\u043b\u0438 \u043e\u0442\xa0\u043b\u044e\u0431\u044b\u0445 \u0442\u0440\u0435\u0442\u044c\u0438\u0445 \u043b\u0438\u0446) \u043c\u043e\u0438\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438/\u0438\u043b\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043c\u043e\u0438\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e, \u0447\u0442\u043e, \u0434\u0430\u0432\u0430\u044f \u0442\u0430\u043a\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435, \u044f\xa0\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e \u0434\u043e\u0431\u0440\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0438\xa0\u0432\xa0\u0441\u0432\u043e\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u0434\u0430\u0435\u0442\u0441\u044f \u043c\u043d\u043e\u0439 \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0439 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\xa0\u0411\u0430\u043d\u043a\u043e\u043c \u043b\u044e\u0431\u044b\u0445 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u043e\u0432 \u0438\xa0\u0438\u0445\xa0\u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0411\u0430\u043d\u043a\u043e\u043c \u0443\u0441\u043b\u0443\u0433, \u0443\u0447\u0430\u0441\u0442\u0438\u044f \u0432\xa0\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u0411\u0430\u043d\u043a\u043e\u043c \u0430\u043a\u0446\u0438\u044f\u0445, \u043e\u043f\u0440\u043e\u0441\u0430\u0445, \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f\u0445 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f, \u043d\u043e\xa0\u043d\u0435\xa0\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044f\u0441\u044c \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u043c \u043e\u043f\u0440\u043e\u0441\u043e\u0432, \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439, \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0439 \u0438\xa0\u0441\u043e\u0442\u043e\u0432\u043e\u0439 \u0441\u0432\u044f\u0437\u0438), \u043f\u0440\u0438\u043d\u044f\u0442\u0438\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0438\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044e\u0449\u0438\u0445 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f \u0432\xa0\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u043c\u0435\u043d\u044f \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043b\u0438\u0446, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u043d\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431\xa0\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0445 \u0411\u0430\u043d\u043a\u043e\u043c \u0443\u0441\u043b\u0443\u0433\u0430\u0445, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0411\u0430\u043d\u043a\u043e\u043c \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0443\u0441\u043b\u0443\u0433, \u0432\xa0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0432\xa0\u0446\u0435\u043b\u044f\u0445 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0439 \u0432\xa0\u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u043e\u0432/\u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439 \u0441\xa0\u0438\u043d\u044b\u043c\u0438 \u043b\u0438\u0446\u0430\u043c\u0438, \u0438\xa0\u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430\xa0\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e: \u0444\u0430\u043c\u0438\u043b\u0438\u044f, \u0438\u043c\u044f, \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e, \u0433\u043e\u0434, \u043c\u0435\u0441\u044f\u0446, \u0434\u0430\u0442\u0430 \u0438\xa0\u043c\u0435\u0441\u0442\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f, \u0430\u0434\u0440\u0435\u0441, \u0440\u0435\u043a\u0432\u0438\u0437\u0438\u0442\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430, \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0435\u0433\u043e \u043b\u0438\u0447\u043d\u043e\u0441\u0442\u044c, \u0441\u0435\u043c\u0435\u0439\u043d\u043e\u0435, \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435, \u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u044f, \u0434\u043e\u0445\u043e\u0434\u044b, \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0431\xa0\u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u0432\xa0\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u043c\u0435\u043d\u044f \u0438\xa0\u043b\u044e\u0431\u0443\u044e \u0438\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0443\u044e\u0441\u044f \u043a\xa0\u043c\u043e\u0435\u0439 \u043b\u0438\u0447\u043d\u043e\u0441\u0442\u0438 \u0438\xa0\u0438\u043c\u0435\u044e\u0449\u0443\u044e\u0441\u044f \u0432\xa0\u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0438 \u0442\u0440\u0435\u0442\u044c\u0438\u0445 \u043b\u0438\u0446 (\u0434\u0430\u043b\u0435\u0435\xa0\u2014 \xab\u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435\xbb)."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043c\u043e\u0438\u0445 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0411\u0430\u043d\u043a\u043e\u043c \u0432\xa0\u043e\u0431\u044a\u0435\u043c\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437\xa0\u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439. \u042f\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\xa0\u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u0440\u043e\u043a\u043e\u0432 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\xa0\u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0437\u0430\u043a\u043e\u043d\u043e\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e\u043c\xa0\u0420\u0424 \u0438\xa0\u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430\u043c\u0438, \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u0441\u043e\xa0\u043c\u043d\u043e\u0439."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u042f\xa0\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d \u043e\xa0\u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u043f\u0440\u0430\u0432\u0435 \u043e\u0442\u043e\u0437\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043f\u0443\u0442\u0435\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0438\u0441\u044c\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0411\u0430\u043d\u043a\u0443 \u043d\u0435\xa0\u043c\u0435\u043d\u0435\u0435 \u0447\u0435\u043c \u0437\u0430\xa03 (\u0442\u0440\u0438) \u043c\u0435\u0441\u044f\u0446\u0430 \u0434\u043e\xa0\u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043e\u0442\u0437\u044b\u0432\u0430 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f. \u0412\xa0\u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0442\u0437\u044b\u0432\u0430 \u043c\u043d\u043e\u0439 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f \u043d\u0430\xa0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0411\u0430\u043d\u043a \u0432\u043f\u0440\u0430\u0432\u0435 \u043d\u0435\xa0\u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0438\u0445 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\xa0\u043d\u0435\xa0\u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0438\u0442\u044c \u0438\u0445\xa0\u0432\xa0\u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043a\u043e\u043d\u043e\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e\u043c\xa0\u0420\u0424, \u0432\xa0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u0435\u0441\u043b\u0438 \u0441\u0440\u043e\u043a\u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435\xa0\u0438\u0441\u0442\u0435\u043a\u043b\u0438."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u041d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\xa0\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u044e\u0431\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438\u043b\u0438 \u0441\u043e\u0432\u043e\u043a\u0443\u043f\u043d\u043e\u0441\u0442\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0441\xa0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u0438\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0432\xa0\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0438\u043b\u0438 \u0436\u0435\u043b\u0430\u0435\u043c\u044b \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437\xa0\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u0446\u0435\u043b\u0435\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f, \u0431\u0435\u0437 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f: \u0441\u0431\u043e\u0440, \u0437\u0430\u043f\u0438\u0441\u044c, \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e, \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435, \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435, \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435 (\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435), \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 (\u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u0435, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u0434\u043e\u0441\u0442\u0443\u043f), \u043e\u0431\u0435\u0437\u043b\u0438\u0447\u0438\u0432\u0430\u043d\u0438\u0435, \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435, \u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0435\u043d\u0438\u0435, \u0442\u0440\u0430\u043d\u0441\u0433\u0440\u0430\u043d\u0438\u0447\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0435\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u0443\u0442\u0435\u043c \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u044e\u0431\u044b\u0445 \u0438\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0441\xa0\u043c\u043e\u0438\u043c\u0438 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0441\xa0\u0443\u0447\u0435\u0442\u043e\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0411\u0430\u043d\u043a\u043e\u043c \u0441\xa0\u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 (\u043d\u043e, \u043d\u0435\xa0\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044f\u0441\u044c \u0438\u043c\u0438): \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435, \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u0430\xa0\u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0435 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0438 \u0438\xa0\u0438\u0445\xa0\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0447\u043d\u0435\u0439, \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u043a\u0430. \u042f\xa0\u043f\u0440\u0438\u0437\u043d\u0430\u044e \u0438\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e, \u0447\u0442\u043e \u0432\xa0\u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0411\u0430\u043d\u043a \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u0430\u0432\u043e \u043f\u043e\u0440\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043c\u043e\u0438 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u0446\u0435\u043b\u0435\u0439, \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0439 \u0430\u0440\u0445\u0438\u0432\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f, \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0439 \u0432\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u044f \u0437\u0430\u0434\u043e\u043b\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0442\u0440\u0435\u0442\u044c\u0435\u043c\u0443 \u043b\u0438\u0446\u0443 (\u0432\xa0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0410\u041e \xab\u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u041c\u0435\u0442\u041b\u0430\u0439\u0444\xbb, 127015, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0411\u0443\u0442\u044b\u0440\u0441\u043a\u0430\u044f, \u0434.76, \u0441\u0442\u0440.1, \u041e\u041e\u041e \xab\u0422\u0435\u043b\u0435\u043a\u043e\u043d\u0442\u0430\u043a\u0442\xbb, 142191, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u041e\u0440\u043b\u0438\u043a\u043e\u0432 \u043f\u0435\u0440., \u0434\u043e\u043c 3 \u043a\u043e\u0440\u043f\u0443\u0441 \xab\u0412\xbb, \u041e\u041e\u041e \xab\u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \xab\u0420\u0435\u043d\u0435\u0441\u0441\u0430\u043d\u0441 \u0416\u0438\u0437\u043d\u044c\xbb, 115114, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0414\u0435\u0440\u0431\u0435\u043d\u0435\u0432\u0441\u043a\u0430\u044f \u043d\u0430\u0431\u0435\u0440\u0435\u0436\u043d\u0430\u044f, \u0434. 7 \u0441\u0442\u0440. 22 \u044d\u0442\u0430\u0436 4 \u043f\u043e\u043c. XIII \u043a\u043e\u043c. 11, \u0410\u041e \xab\u041b\u0438\u0431\u0435\u0440\u0442\u0438 \u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u0435\xbb, 196084, \u0433. \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433, \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0440. \u0434. 79\u0410, \u043b\u0438\u0442. \u0410, \u0421\u041f\u0410\u041e \xab\u0420\u0415\u0421\u041e-\u0413\u0430\u0440\u0430\u043d\u0442\u0438\u044f\xbb, 117105, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u041d\u0430\u0433\u043e\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u0437\u0434, \u0434. 6, \u041e\u041e\u041e \xab\u041e\u0421\u0413 \u0420\u0435\u043a\u043e\u0440\u0434\u0437 \u041c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442\xbb, 127083, \u0420\u043e\u0441\u0441\u0438\u044f, \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. 8 \u041c\u0430\u0440\u0442\u0430, \u0434.14, \u0441\u0442\u0440. 1, \u0410\u041e \xab\u0418\u043d\u0442\u0430\u0447 \u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u0435\xbb, 127018, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0421\u0443\u0449\u0435\u0432\u0441\u043a\u0438\u0439 \u0412\u0430\u043b, \u0434. 18, \u041e\u0410\u041e \xab\u0410\u043b\u044c\u0444\u0430\u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u0435\xbb, 115162, \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0428\u0430\u0431\u043e\u043b\u043e\u0432\u043a\u0430, \u0434. 31, \u0441\u0442\u0440. \u0411, \u041e\u041e\u041e \xab\u0413\u0440\u0443\u043f\u043f\u0430 \u0420\u0435\u043d\u0435\u0441\u0441\u0430\u043d\u0441 \u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u0435\xbb, 115114, \u041c\u043e\u0441\u043a\u0432\u0430, \u0414\u0435\u0440\u0431\u0435\u043d\u0435\u0432\u0441\u043a\u0430\u044f \u043d\u0430\u0431., 7 \u0441\u0442\u0440. 22, \u041e\u041e\u041e \u0421\u041a \xab\u0412\u0422\u0411 \u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u0435\xbb 101000, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0427\u0438\u0441\u0442\u043e\u043f\u0440\u0443\u0434\u043d\u044b\u0439 \u0431\u0443\u043b\u044c\u0432\u0430\u0440, \u0434. 8, \u0441\u0442\u0440. 1, \u0410\u041e \xab\u0415\u0420\u0412 \u0422\u0443\u0440\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u0435\xbb 119049, \u041c\u043e\u0441\u043a\u0432\u0430, 4-\u0439 \u0414\u043e\u0431\u0440\u044b\u043d\u0438\u043d\u0441\u043a\u0438\u0439 \u043f\u0435\u0440, \u0434. 8 \u043e\u0444\u0438\u0441 \u0421 14-01, \u041e\u041e\u041e \xab\u041c\u0435\u0434\u043b\u044d\u0439\u0431\u043b\xbb (AP Companies) 117152, \u0433 \u041c\u043e\u0441\u043a\u0432\u0430, \u0417\u0430\u0433\u043e\u0440\u043e\u0434\u043d\u043e\u0435 \u0448\u043e\u0441\u0441\u0435, \u0434.1, \u043a\u043e\u0440\u043f. 1, \u041e\u041e\u041e \xab\u0424\u0438\u043b\u0431\u0435\u0440\u0442\xbb, 198095 \u0433. \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433, \u0443\u043b. \u041c\u0430\u0440\u0448\u0430\u043b\u0430 \u0413\u043e\u0432\u043e\u0440\u043e\u0432\u0430, \u0434. 35 \u043a. 5 \u043b\u0438\u0442. \u0416, \u041e\u041e\u041e \xab\u042d\u0432\u0435\u0440\u0435\u0441\u0442\xbb, 109147, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041c\u0430\u0440\u043a\u0441\u0438\u0441\u0442\u0441\u043a\u0430\u044f, \u0434. 34 \u043a. 8 \u043f\u043e\u043c. 2, \u0410\u041e \xab\u0424\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0435 \u0430\u0433\u0435\u043d\u0442\u0441\u0442\u0432\u043e \u043f\u043e \u0441\u0431\u043e\u0440\u0443 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439\xbb, 109044, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041a\u0440\u0443\u0442\u0438\u0446\u043a\u0438\u0439 \u0412\u0430\u043b, \u0434. 14, \u041e\u041e\u041e \xab\u0411\u044e\u0440\u043e \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \xab\u0420\u0443\u0441\u0441\u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440\xbb, 129515, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0410\u043a\u0430\u0434\u0435\u043c\u0438\u043a\u0430 \u041a\u043e\u0440\u043e\u043b\u0435\u0432\u0430, \u0434. 13, \u0441\u0442\u0440. 1, \u0410\u041e \xab\u0421\u0435\u043a\u0432\u043e\u0439\u044f \u043a\u0440\u0435\u0434\u0438\u0442 \u043a\u043e\u043d\u0441\u043e\u043b\u0438\u0434\u0435\u0439\u0448\u043d\xbb, 127473, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041a\u0440\u0430\u0441\u043d\u043e\u043f\u0440\u043e\u043b\u0435\u0442\u0430\u0440\u0441\u043a\u0430\u044f, \u0434. 16, \u0441\u0442\u0440. 2, \u041e\u041e\u041e \xab\u0421\u0442\u043e\u043b\u0438\u0447\u043d\u043e\u0435 \u0410\u0412\u0414\xbb, 107564, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041a\u0440\u0430\u0441\u043d\u043e\u0431\u043e\u0433\u0430\u0442\u044b\u0440\u0441\u043a\u0430\u044f, \u0434. 2 \u0441\u0442\u0440.2 \u043f\u043e\u043c. 5, \u041e\u041e\u041e \xab\u041a\u0440\u0435\u0434\u0438\u0442\u044d\u043a\u0441\u043f\u0440\u0435\u0441\u0441 \u0444\u0438\u043d\u0430\u043d\u0441\xbb, 127055, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0411\u0443\u0442\u044b\u0440\u0441\u043a\u0438\u0439 \u0432\u0430\u043b, \u0434. 68/70 \u0441\u0442\u0440.1, \u041e\u041e\u041e \xab\u041c.\u0411.\u0410. \u0424\u0438\u043d\u0430\u043d\u0441\u044b\xbb, 115191 , \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u043f\u0435\u0440. \u0411. \u0421\u0442\u0430\u0440\u043e\u0434\u0430\u043d\u0438\u043b\u043e\u0432\u0441\u043a\u0438\u0439, \u0434. 2 \u0441\u0442\u0440.7 \u044d\u0442\u0430\u0436 3, \u041e\u041e\u041e \xab\u0410\u0433\u0435\u043d\u0442\u0441\u0442\u0432\u043e \u0441\u0443\u0434\u0435\u0431\u043d\u043e\u0433\u043e \u0432\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u044f\xbb, 194100, \u0433. \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433, \u043f\u0440\u043e\u0441\u043f. \u041b\u0435\u0441\u043d\u043e\u0439, \u0434. 63 \u043b\u0438\u0442\u0435\u0440 \u0410, \u041e\u041e\u041e \xab\u0422\u0440\u0435\u0439\u0434 \u044d\u043d\u0434 \u0428\u043e\u043f\u043f\u0435\u0440 \u041c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\xbb, 119334, \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0412\u0430\u0432\u0438\u043b\u043e\u0432\u0430, \u0434.3, \u0417\u0410\u041e \xab\u041f\u0440\u0430\u0439\u043c \u043a\u043b\u0443\u0431\xbb \u0433\u043e\u0440\u043e\u0434 \u041c\u043e\u0441\u043a\u0432\u0430, \u0420\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f 2-\u044f \u0443\u043b\u0438\u0446\u0430, 4, Raiffeisen Bank International AG, 1030, Austria, Vienna, Am Stadtpark 9, \u041e\u041e\u041e \xab\u0410\u0431\u0438\xbb, 127273, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041e\u0442\u0440\u0430\u0434\u043d\u0430\u044f, \u0434\u043e\u043c 2\u0411, \u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 6, \u043e\u0444\u0438\u0441 12, Kofax Schweiz AG, 6343, Switzerland, Rotkreuz, Grundstrasse 14, \u041e\u041e\u041e \xab\u0424\u0420\u0415\u0419\u0422 \u041a\u041e\u0420\u041f\u041e\u0420\u0415\u0419\u0422\xbb 123060, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0411\u0435\u0440\u0437\u0430\u0440\u0438\u043d\u0430, \u0434. 36, \u0441\u0442\u0440. 1, \u041e\u041e\u041e \xab\u0412\u0421-\u042d\u043a\u0441\u043f\u0440\u0435\u0441\u0441\xbb 125080, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0412\u043e\u043b\u043e\u043a\u043e\u043b\u0430\u043c\u0441\u043a\u043e\u0435 \u0448., \u0434. 2, \u043a\u043e\u043c\u043d\u0430\u0442\u0430 \u2116 1, 1\u0432, 1\u0433 \u0432 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0438 I \u043d\u0430 23-\u043c \u044d\u0442\u0430\u0436\u0435, \u0410\u041e \xab\u0424\u0420\u0415\u0419\u0422 \u041b\u0418\u041d\u041a\xbb 123995, \u041c\u043e\u0441\u043a\u0432\u0430, \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442 \u041c\u0430\u0440\u0448\u0430\u043b\u0430 \u0416\u0443\u043a\u043e\u0432\u0430 \u0434. 4, \u041e\u041e\u041e \xab\u0411\u0438\u044d\u0421\u041f\u043e\u0441\u0442\xbb 109428, \u041c\u043e\u0441\u043a\u0432\u0430, \u0420\u044f\u0437\u0430\u043d\u0441\u043a\u0438\u0439 \u043f\u0440-\u0442, \u0434.8\u0410, \u0441\u0442\u0440. 20, \u041e\u041e\u041e \xab\u041f\u0440\u0438\u043c\u043e\u043a\u043e\u043b\u043b\u0435\u043a\u0442\xbb, 117420, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041f\u0440\u043e\u0444\u0441\u043e\u044e\u0437\u043d\u0430\u044f, 57, \u041e\u041e\u041e \xab\u0410\u043a\u0442\u0438\u0432\u0411\u0438\u0437\u043d\u0435\u0441\u0441\u041a\u043e\u043b\u043b\u0435\u043a\u0448\u043d\xbb, 117036, \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0414\u043c\u0438\u0442\u0440\u0438\u044f \u0423\u043b\u044c\u044f\u043d\u043e\u0432\u0430, \u0434. 7\u0410, \u041e\u041e\u041e \xab\u041d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043b\u0443\u0436\u0431\u0430 \u0432\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u044f\xbb 108811, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u041a\u0438\u0435\u0432\u0441\u043a\u043e\u0435 \u0448\u043e\u0441\u0441\u0435, 22-\u0439 \u043a\u043c (\u043f. \u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439), \u0434\u043e\u043c\u043e\u0432\u043b\u0430\u0434\u0435\u043d\u0438\u0435 6, \u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 1, \u041e\u041e\u041e \xab\u041c\u0411\u041a\u0418\xbb 125130, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041f\u0440\u0438\u043e\u0440\u043e\u0432\u0430, \u0434.30, \u041e\u041e\u041e \xab\u041c\u044d\u0439\u043b.\u0420\u0443\xbb 125167, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u041b\u0435\u043d\u0438\u043d\u0433\u0440\u0430\u0434\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u043f\u0435\u043a\u0442, \u0434. 39, \u0441\u0442\u0440. 79, \u041f\u0410\u041e \xab\u041c\u0435\u0433\u0430\u0424\u043e\u043d\xbb \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u041a\u0430\u0434\u0430\u0448\u0435\u0432\u0441\u043a\u0430\u044f \u043d\u0430\u0431\u0435\u0440\u0435\u0436\u043d\u0430\u044f, \u0434.30, \u041e\u041e\u041e \xab\u0426\u0420\u0422\xbb, 196084, \u0421.- \u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433, \u0443\u043b. \u041a\u0440\u0430\u0441\u0443\u0446\u043a\u043e\u0433\u043e, \u0434. 4, \u043b\u0438\u0442\u0435\u0440\u0430 \xab\u0410\xbb, \u041e\u041e\u041e \xab\u0424\u0438\u043d\u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430\xbb, 109028, \u041c\u0430\u043b\u044b\u0439 \u0418\u0432\u0430\u043d\u043e\u0432\u0441\u043a\u0438\u0439 \u043f\u0435\u0440\u0435\u0443\u043b\u043e\u043a, \u0434. 6/2, 3 \u044d\u0442\u0430\u0436, \u041e\u041e\u041e \xab\u0418\u043c\u043f\u0430\u043a\u0442\u043e \u041c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433 \u0421\u0435\u0440\u0432\u0438\u0441\u0435\u0437\xbb, 107113, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u0421\u043e\u043a\u043e\u043b\u044c\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0412\u0430\u043b, \u0434. 2\u0410, \u044d\u0442\u0430\u0436 1 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u2116 116, \u041f\u0410\u041e \xab\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0422\u0435\u043b\u0435\u0421\u0438\u0441\u0442\u0435\u043c\u044b\xbb, 109147, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. \u041c\u0430\u0440\u043a\u0441\u0438\u0441\u0442\u0441\u043a\u0430\u044f, \u0434.4., \u041f\u0410\u041e \xab\u0412\u044b\u043c\u043f\u0435\u043b\u041a\u043e\u043c\xbb, 127083, \u0433. \u041c\u043e\u0441\u043a\u0432\u0430, \u0443\u043b. 8 \u041c\u0430\u0440\u0442\u0430, \u0434. 10, \u0441\u0442\u0440. 14, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u0438\u043d\u044b\u043c \u043d\u0435\u043a\u0440\u0435\u0434\u0438\u0442\u043d\u044b\u043c \u0438\xa0\u043d\u0435\u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u0438\u043c \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f\u043c), \u0430\xa0\u0440\u0430\u0432\u043d\u043e \u043a\u0430\u043a \u043f\u0440\u0438 \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0438 \u0442\u0440\u0435\u0442\u044c\u0438\u0445 \u043b\u0438\u0446 \u043a\xa0\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044e \u0443\u0441\u043b\u0443\u0433, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0411\u0430\u043d\u043a\u043e\u043c \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0445 \u0435\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438\xa0\u043f\u043e\u043b\u043d\u043e\u043c\u043e\u0447\u0438\u0439 \u0438\u043d\u043e\u043c\u0443 \u043b\u0438\u0446\u0443 (\u0443\u0441\u0442\u0443\u043f\u043a\u0435, \u0432\xa0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0434\u043b\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0443\u0441\u0442\u0443\u043f\u043a\u0438 \u0438\xa0\u043f\u0440\u0438\u043d\u044f\u0442\u0438\u044e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u0431\xa0\u0443\u0441\u0442\u0443\u043f\u043a\u0435, \u0437\u0430\u043b\u043e\u0433\u0443, \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0445 \u0411\u0430\u043d\u043a\u0443 \u043f\u0440\u0430\u0432 \u0438\xa0\u0434\u0440.). \u0411\u0430\u043d\u043a \u0432\u043f\u0440\u0430\u0432\u0435 \u0432\xa0\u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u043c \u043e\u0431\u044a\u0435\u043c\u0435 \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431\u043e \u043c\u043d\u0435 \u043b\u0438\u0447\u043d\u043e (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435) \u0442\u0430\u043a\u0438\u043c \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043b\u0438\u0446\u0430\u043c, \u0438\u0445\xa0\u0430\u0433\u0435\u043d\u0442\u0430\u043c \u0438\xa0\u0438\u043d\u044b\u043c \u0443\u043f\u043e\u043b\u043d\u043e\u043c\u043e\u0447\u0435\u043d\u043d\u044b\u043c \u0438\u043c\u0438 \u043b\u0438\u0446\u0430\u043c, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0430\u043a\u0438\u043c \u043b\u0438\u0446\u0430\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u0442\u0430\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441\xa0\u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435\u043c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u0437\u0430\u043a\u043e\u043d\u043e\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430. \u0422\u0430\u043a\u0436\u0435 \u044f\xa0\u043f\u0440\u0438\u0437\u043d\u0430\u044e \u0438\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e, \u0447\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c \u043c\u043d\u043e\u0439 \u043b\u044e\u0431\u044b\u043c \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043b\u0438\u0446\u0430\u043c, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0432\u044b\u0448\u0435, \u0441\xa0\u0443\u0447\u0435\u0442\u043e\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439, \u0438\xa0\u043b\u044e\u0431\u044b\u0435 \u0442\u0430\u043a\u0438\u0435 \u0442\u0440\u0435\u0442\u044c\u0438 \u043b\u0438\u0446\u0430 \u0438\u043c\u0435\u044e\u0442 \u043f\u0440\u0430\u0432\u043e \u043d\u0430\xa0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043c\u043e\u0438\u0445 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 (\u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0445 \u0411\u0430\u043d\u043a\u043e\u043c, \u0442\u0430\u043a \u0438\xa0\u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0432\xa0\u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0442\u0440\u0435\u0442\u044c\u0438\u0445 \u043b\u0438\u0446), \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u043d\u0430\xa0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0411\u0430\u043d\u043a\u043e\u043c \u043e\u0442\xa0\u0442\u0440\u0435\u0442\u044c\u0438\u0445 \u043b\u0438\u0446 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0442\u0430\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430\xa0\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u0412\xa0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0442\u043a\u0430\u0437\u0430 \u043e\u0442\xa0\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u043d\u0430\xa0\u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u0442\u0430\u0439\u043d\u044b, \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u044e\u0441\u044c \u043d\u0430\xa0\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0411\u0430\u043d\u043a\u043e\u043c \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439, \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445 \u0432\xa0\u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0438 \u043d\u0430\xa0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043b\u0438\u0446\u0430\u043c, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0432\xa0\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0438 \u043d\u0430\xa0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412\xa0\u0441\u043b\u0443\u0447\u0430\u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u043c\u043d\u043e\u0439 \u0438\xa0\u041e\u041e\u041e \xab\u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \xab\u0420\u0435\u043d\u0435\u0441\u0441\u0430\u043d\u0441 \u0416\u0438\u0437\u043d\u044c\xbb \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430 \u0441\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043c\u043e\u0438\u0445 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u044e \u0441\u0432\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u0411\u0430\u043d\u043a\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u041e\u041e\u041e \xab\u0421\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \xab\u0420\u0435\u043d\u0435\u0441\u0441\u0430\u043d\u0441 \u0416\u0438\u0437\u043d\u044c\xbb."}),(0,Vs.jsx)(ws,{children:"\u0422\u0430\u043a\u0436\u0435 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u043c \u044f\xa0\u0432\u044b\u0440\u0430\u0436\u0430\u044e \u0441\u0432\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u0411\u0430\u043d\u043a\u0443, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u043b\u0438\u0446\u0443, \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c\u0443 \u043e\u0442\xa0\u0435\u0433\u043e \u0438\u043c\u0435\u043d\u0438\xa0\u0438 (\u0438\u043b\u0438) \u0432\xa0\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0430\u0445, \u043f\u0440\u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0435\u043d\u0438\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\xa0\u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u043f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u043e\u043b\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438:"}),(0,Vs.jsx)(ws,{children:"\u2014\xa0\u043d\u0430\xa0\u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441\xa0\u043b\u044e\u0431\u044b\u043c\u0438 \u0442\u0440\u0435\u0442\u044c\u0438\u043c\u0438 \u043b\u0438\u0446\u0430\u043c\u0438, \u043a\u0430\u043a \u0442\u043e\xa0\u0447\u043b\u0435\u043d\u044b \u043c\u043e\u0435\u0439 \u0441\u0435\u043c\u044c\u0438, \u043c\u043e\u0438 \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0438, \u0438\u043d\u044b\u0435 \u043f\u0440\u043e\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u0441\u043e\xa0\u043c\u043d\u043e\u0439 \u043b\u0438\u0446\u0430, \u043c\u043e\u0438 \u0441\u043e\u0441\u0435\u0434\u0438 \u0438\xa0\u043b\u044e\u0431\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043b\u0438\u0446\u0430;"}),(0,Vs.jsx)(ws,{margin:"m",children:"\u2014\xa0\u043d\u0430\xa0\u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 (\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435) \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043b\u0438\u0446\u0430\u043c (\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c\u0438 \u0434\u043b\u044f \u0442\u0440\u0435\u0442\u044c\u0438\u0445 \u043b\u0438\u0446) \u043c\u043e\u0438\u0445 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u043e\u0431\u043e \u043c\u043d\u0435, \u043c\u043e\u0435\u0439 \u043f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u043e\u043b\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0438\xa0\u0435\u0435\xa0\u0432\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u0438."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u042f\xa0\u0434\u0430\u044e \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430\xa0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0411\u0430\u043d\u043a\u043e\u043c \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u043e\u0433\u043e \u043e\u0442\u0447\u0435\u0442\u0430 \u043e\u0431\u043e \u043c\u043d\u0435 \u0438\u0437\xa0\u0431\u044e\u0440\u043e \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439 (\u0434\u0430\u043b\u0435\u0435\xa0\u2014 \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435) \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043c\u043d\u0435 \u0443\u0441\u043b\u0443\u0433 \u0411\u0430\u043d\u043a\u0430. \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\xa0\u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u0440\u043e\u043a\u0430, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e\xa0\u0424\u0417 \u043e\u0442\xa030.12.2004 \u2116\xa0218-\u0424\u0417 \xab\u041e\xa0\u043a\u0440\u0435\u0434\u0438\u0442\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u044f\u0445\xbb. \u041f\u043e\xa0\u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0441\u0440\u043e\u043a\u0430 \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c \u043d\u0430\xa0\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u0441\u0440\u043e\u043a \u043d\u0430\xa0\u043f\u0440\u0435\u0436\u043d\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445. \u0422\u0430\u043a\u043e\u0439\xa0\u0436\u0435 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432\xa0\u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0434\u043e\xa0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0411\u0430\u043d\u043a\u043e\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e\xa0\u043c\u043e\u0435\u043c \u043e\u0442\u043a\u0430\u0437\u0435 \u043e\u0442\xa0\u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u044f \u043d\u0430\xa0\u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0441\u0440\u043e\u043a."}),(0,Vs.jsx)(ws,{margin:"m",children:"\u0421\u043e\u0433\u043b\u0430\u0441\u0435\u043d \u043d\u0430\xa0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\xa0\u0411\u0430\u043d\u043a\u0430 \u0441\u043c\u0441-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u043f\u0443\u0448-\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439, \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u043d\u0430\xa0\u043b\u044e\u0431\u043e\u0439 \u043d\u043e\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u043d\u043e\u0439 \u0411\u0430\u043d\u043a\u0443, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u043f\u0438\u0441\u0435\u043c \u043d\u0430\xa0\u043b\u044e\u0431\u043e\u0439 \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u043d\u043e\u0439 \u0432\xa0\u0411\u0430\u043d\u043a, \u043e\xa0\u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u0445 \u0438\xa0\u0438\u043d\u044b\u0445 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u0445 \u0411\u0430\u043d\u043a\u0430, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u043e\u0433\u043e \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0430, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 (\u0432\xa0\u0441\u043b\u0443\u0447\u0430\u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u044e \u0441\xa0\u0411\u0430\u043d\u043a\u043e\u043c \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430) \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0438\u043b\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0432\xa0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0435 \u0411\u0430\u043d\u043a\u043e\u043c \u0432\xa0\u0440\u0430\u043c\u043a\u0430\u0445 \u043c\u043e\u0435\u0433\u043e \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0438\xa0\u0432\xa0\u0446\u0435\u043b\u044f\u0445 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043e\xa0\u043c\u043d\u043e\u0439 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430. \u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d, \u0447\u0442\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430\xa0\u0440\u0435\u043a\u043b\u0430\u043c\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0434\u043e\xa0\u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0435\u0433\u043e \u043e\u0442\u0437\u044b\u0432\u0430, \u0432\xa0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043c\u043e\u0435\u0433\u043e \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0432\xa0\u0411\u0430\u043d\u043a\u0435."}),(0,Vs.jsx)(ws,{margin:"l",children:"\u041f\u0440\u043e\u0438\u043d\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d, \u0447\u0442\u043e \u0432\u043f\u0440\u0430\u0432\u0435 \u0432\xa0\u043b\u044e\u0431\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043e\u0437\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430\xa0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u043a\u043b\u0430\u043c\u044b \u0432\xa0\u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u043e\u043c \u0432\xa0\u041e\u0431\u0449\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\xa0\u0441\u0430\u0439\u0442\u0435 https://www.raiffeisen.ru/tariffs/ \u0438\xa0\u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u043d\u0435\u043e\u0442\u044a\u0435\u043c\u043b\u0435\u043c\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f."}),(0,Vs.jsx)(bs,{margin:"m",children:"\u041e\u0444\u0435\u0440\u0442\u0430 \u043e\xa0\u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f \u043e\u0431\xa0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0438"}),(0,Vs.jsx)(ws,{margin:"s",children:"\u0422\u0415\u0420\u041c\u0418\u041d\u042b \u0418\xa0\u041e\u041f\u0420\u0415\u0414\u0415\u041b\u0415\u041d\u0418\u042f"}),(0,Vs.jsxs)(ws,{margin:"s",children:[(0,Vs.jsx)("b",{children:"\u0411\u0430\u043d\u043a"})," \u2014 \u0410\u041e \xab\u0420\u0430\u0439\u0444\u0444\u0430\u0439\u0437\u0435\u043d\u0431\u0430\u043d\u043a\xbb."]}),(0,Vs.jsxs)(ws,{margin:"s",children:[(0,Vs.jsx)("b",{children:"\u0417\u0430\u044f\u0432\u043a\u0430"}),"\xa0\u2014 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442, \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u043f\u043e\xa0\u0444\u043e\u0440\u043c\u0435 \u0411\u0430\u043d\u043a\u0430, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u041a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438\xa0\u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0439 \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0432\xa0\u0411\u0430\u043d\u043a \u0447\u0435\u0440\u0435\u0437 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0441\u0430\u0439\u0442 \u0432\xa0\u0446\u0435\u043b\u044f\u0445 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 (\u0443\u0441\u043b\u0443\u0433\u0438), \u0438\xa0\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0432\xa0\u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u0421\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435\u043c."]}),(0,Vs.jsxs)(ws,{margin:"s",children:[(0,Vs.jsx)("b",{children:"\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0441\u0430\u0439\u0442"}),"\xa0\u2014 \u0441\u0430\u0439\u0442 \u0411\u0430\u043d\u043a\u0430 \u0432\xa0\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u043e-\u0442\u0435\u043b\u0435\u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \xab\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\xbb https://www.raiffeisen.ru/."]}),(0,Vs.jsxs)(ws,{margin:"s",children:[(0,Vs.jsx)("b",{children:"\u041a\u043b\u0438\u0435\u043d\u0442"}),"\xa0\u2014 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043b\u0438\u0446\u043e, \u0443\u043a\u0430\u0437\u0430\u0432\u0448\u0435\u0435 \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\xa0\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\xa0\u2014 \u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u0437\u0430\xa0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\u043c \u0443\u0441\u043b\u0443\u0433\u0438 \u0411\u0430\u043d\u043a\u0430."]}),(0,Vs.jsxs)(ws,{margin:"s",children:[(0,Vs.jsx)("b",{children:"\u0421\u041c\u0421-\u043a\u043e\u0434"}),"\xa0\u2014 \u0447\u0435\u0442\u044b\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u044b\u0439 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043a\u043e\u0434, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0439 \u0411\u0430\u043d\u043a\u043e\u043c \u0432\xa0\u0421\u041c\u0421\u2014\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0438 \u043d\u0430\xa0\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u043d\u0430\xa0\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\xa0\u2014 \u0441\u0430\u0439\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0438\xa0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0432\xa0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043b\u044e\u0447\u0430 \u041f\u042d\u041f."]}),(0,Vs.jsxs)(ws,{margin:"s",children:[(0,Vs.jsx)("b",{children:"\u041f\u042d\u041f"}),"\xa0\u2014 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u044c \u041a\u043b\u0438\u0435\u043d\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0421\u041c\u0421-\u043a\u043e\u0434\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442 \u0444\u0430\u043a\u0442 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u041f\u042d\u041f \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c."]}),(0,Vs.jsxs)(ws,{margin:"s",children:[(0,Vs.jsx)("b",{children:"\u0421\u043e\u0433\u043b\u0430\u0441\u0438\u044f"}),"\xa0\u2014 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430\xa0\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430\xa0\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u0438\u043d\u044b\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u044f, \u0434\u0430\u043d\u043d\u044b\u0435 \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c."]}),(0,Vs.jsxs)(ws,{margin:"m",children:[(0,Vs.jsx)("b",{children:"\u0421\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435"}),"\xa0\u2014 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043e\u0431\xa0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0438."]}),(0,Vs.jsx)(ws,{margin:"s",children:"\u041e\u0421\u041d\u041e\u0412\u041d\u042b\u0415 \u041f\u041e\u041b\u041e\u0416\u0415\u041d\u0418\u042f"}),(0,Vs.jsx)(ws,{margin:"s",children:"1. \u041d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u043e\u0444\u0435\u0440\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0411\u0430\u043d\u043a\u0430 \u041a\u043b\u0438\u0435\u043d\u0442\u0443 \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0421\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0417\u0430\u044f\u0432\u043a\u0438, \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0439 \u041f\u042d\u041f \u0432\xa0\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441\xa0\u043f.\xa03\xa0\u043e\u0444\u0435\u0440\u0442\u044b."}),(0,Vs.jsx)(ws,{margin:"s",children:"2. \u0421\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u0441\xa0\u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0430\u043a\u0446\u0435\u043f\u0442\u0430 \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u043e\u0444\u0435\u0440\u0442\u044b \u0411\u0430\u043d\u043a\u0430 \u043f\u0443\u0442\u0435\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \xab\u0414\u0430\u043b\u0435\u0435\xbb \u0432\xa0\u043f\u0435\u0440\u0432\u043e\u043c \u0448\u0430\u0433\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0417\u0430\u044f\u0432\u043a\u0438."}),(0,Vs.jsx)(ws,{margin:"s",children:"3. \u041a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0417\u0430\u044f\u0432\u043a\u0443, \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u044f \u043f\u0443\u0442\u0435\u043c \u0432\u0432\u043e\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430\xa0\u043d\u043e\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0421\u041c\u0421-\u043a\u043e\u0434\u0430. \u0417\u0430\u044f\u0432\u043a\u0430, \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u044f \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u041f\u042d\u041f \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u0421\u041c\u0421-\u043a\u043e\u0434\u0430, \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c, \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431\xa0\u0421\u041c\u0421-\u043a\u043e\u0434\u0435, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0439\u0441\u044f \u0432\xa0\u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0411\u0430\u043d\u043a\u0430."}),(0,Vs.jsx)(ws,{margin:"s",children:"4. \u041a\u043b\u0438\u0435\u043d\u0442 \u0438\xa0\u0411\u0430\u043d\u043a \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u041f\u042d\u041f."}),(0,Vs.jsx)(ws,{margin:"s",children:"5. \u0417\u0430\u044f\u0432\u043a\u0430, \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u044f, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u041f\u042d\u041f \u041a\u043b\u0438\u0435\u043d\u0442\u0430, \u043f\u0440\u0438\u0437\u043d\u0430\u044e\u0442\u0441\u044f \u0411\u0430\u043d\u043a\u043e\u043c \u0438\xa0\u041a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u043c\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438, \u0440\u0430\u0432\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u044b\u043c\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c \u043d\u0430\xa0\u0431\u0443\u043c\u0430\u0436\u043d\u043e\u043c \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0435, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0440\u0443\u0447\u043d\u043e\u0439 \u043f\u043e\u0434\u043f\u0438\u0441\u044c\u044e \u041a\u043b\u0438\u0435\u043d\u0442\u0430."}),(0,Vs.jsx)(ws,{margin:"s",children:"6. \u0421\u0442\u043e\u0440\u043e\u043d\u044b \u043f\u0440\u0438\u0437\u043d\u0430\u044e\u0442, \u0447\u0442\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435\u0441\u044f \u0432\xa0\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e-\u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u0435 \u0411\u0430\u043d\u043a\u0430 \u0417\u0430\u044f\u0432\u043a\u0430, \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u044f, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u041f\u042d\u041f \u0432\xa0\u0432\u0438\u0434\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0411\u0430\u043d\u043a\u043e\u043c \u0432\xa0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0438\u0441\u044c\u043c\u0435\u043d\u043d\u044b\u0445 \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432 \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0441\u043f\u043e\u0440\u043e\u0432, \u0432\xa0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0441\u0443\u0434\u0435\u0431\u043d\u044b\u0445, \u0430\xa0\u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432\xa0\u043b\u044e\u0431\u044b\u0435 \u043a\u043e\u043c\u043f\u0435\u0442\u0435\u043d\u0442\u043d\u044b\u0435 \u043e\u0440\u0433\u0430\u043d\u044b."})]})),jb=(Vs.Fragment,()=>{const e=(0,t.useInjection)(ii.FormsService),n=(0,t.useInjection)(ii.NotificationService),o=D(),i=y(_m),a=y(wm),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const n=(0,t.useInjection)(ii.DadataService),[o,i]=(0,r.useState)(e),[a,s]=(0,r.useState)(),[l,u]=(0,r.useState)(!!e.length),[c,d]=(0,r.useState)([]),[f,p]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{/^[\u0410-\u042f\u0401][\u0430-\u044f\u0451]*([-][\u0410-\u042f\u0401][\u0430-\u044f\u0451]*)*\s[\u0410-\u042f\u0401][\u0430-\u044f\u0451]*([-][\u0410-\u042f\u0401][\u0430-\u044f\u0451]*)*(\s[\u0410-\u042f\u0401][\u0430-\u044f\u0451]*([-][\u0410-\u042f\u0401][\u0430-\u044f\u0451]*)*(\s[\u0410-\u042f\u0401][\u0430-\u044f\u0451]*)?)?$/.test(o)?s(void 0):f?(s("\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044f\u0437\u044b\u043a \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b"),u(!0)):s("\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0444\u0430\u043c\u0438\u043b\u0438\u044e, \u0438\u043c\u044f \u0438 \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0443\u0441\u0441\u043a\u0438\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b")}),[f,o]),(0,r.useEffect)((()=>{o.length?n.getNameSuggestions(o,!0).then((e=>{d(e.map((e=>[e.surname,e.name,e.patronymic].filter(Boolean).join(" "))))})):d([])}),[n,o]),{value:o,setValue:e=>{let t=e;t=t.replace(/[^\u0430-\u044f\u0451\u0410-\u042f\u0401-\s]/g,""),p(e!==t),t=t.trimStart(),t=t.replace(/\s+/g," "),t=t.replace(/-+/g,"-"),t=t.split(" ").map((e=>e.match(/[a-\u044f\u0451]-[a-\u044f\u0451]/g)?e.split("-").map((e=>vl(e))).join("-"):vl(e))).slice(0,4).join(" "),i(t)},error:a,setError:s,showError:l,setShowError:u,suggestions:c,setSuggestions:d}}(a.fullName),l=tb(i.phoneNumber),u=Jy(a.birthDate),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const[t,n]=(0,r.useState)(e),[o,i]=(0,r.useState)(),[a,s]=(0,r.useState)(!!e.length);return(0,r.useEffect)((()=>{i(""===t?"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u043e\u0440\u043e\u0434\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438":void 0)}),[t]),{value:t,setValue:n,error:o,setError:i,showError:a,setShowError:s}}(a.city),[d,f]=(0,r.useState)(!1),[p,h]=(0,r.useState)(!1),[v,m]=(0,r.useState)(!1),g=(0,r.useCallback)((async()=>{m(!0);await e.checkPhoneRateLimits(l.value)?(o(Sm({...i,phoneNumber:l.value})),o(bm({...a,fullName:s.value,birthDate:u.value,city:c.value})),o(rs())):h(!0),m(!1)}),[e,l.value,o,i,a,s.value,u.value,c.value]),b=(0,r.useCallback)((async()=>g()),[g]),w=(0,r.useCallback)((e=>{if(s.setValue(e),/^[a-zA-Z]$/.test(e.slice(-1))){if(n.get().length)return;n.plain({message:"\u0424\u0418\u041e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435"})}}),[n,s]),x=(0,r.useCallback)((e=>{if(!e||/^[\u0430-\u044f\u0451\u0410-\u042f\u0401\s-]+$/.test(e))c.setValue((t=e)?t[0].toUpperCase()+t.slice(1):"");else{if(n.get().length)return;n.plain({message:"\u0413\u043e\u0440\u043e\u0434 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435"})}var t}),[n,c]),k=(0,r.useCallback)((e=>{l.setValue(e),o(Sm({...i,phoneNumberIsConfirmed:!1}))}),[l,o,i]),S=(0,r.useCallback)((()=>f(!0)),[]),_=(0,r.useCallback)((()=>f(!1)),[]),C=(0,r.useCallback)((()=>h(!1)),[]);return(0,Vs.jsxs)(_p,{footer:(0,Vs.jsxs)(Ih,{justifyContent:"space-between",children:[(0,Vs.jsxs)(Pb,{children:[(0,Vs.jsx)(xs,{children:"\u041d\u0430\u0436\u0438\u043c\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0443 \xab\u0414\u0430\u043b\u0435\u0435\xbb, \u044f\xa0\u0441\u043e\u0433\u043b\u0430\u0448\u0430\u044e\u0441\u044c"})," ",(0,Vs.jsx)(pb,{name:"privacyPolicy",design:"accent",onClick:S,children:"\u0441\xa0\u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u0438 \u043f\u043e\u0434\u0430\u0447\u0438 \u043e\u043d\u043b\u0430\u0439\u043d-\u0437\u0430\u044f\u0432\u043a\u0438"})]}),(0,Vs.jsx)(Mh,{name:"nextScreen",design:"accent",disabled:v||!!l.error||!!u.error||!!s.error||!!c.error,onClick:b,children:"\u0414\u0430\u043b\u0435\u0435"})]}),children:[(0,Vs.jsxs)(Ih,{design:"vertical",children:[(0,Vs.jsx)(bv,{name:"fullName",label:"\u0424\u0430\u043c\u0438\u043b\u0438\u044f, \u0438\u043c\u044f \u0438 \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e",hook:s,onChange:w}),(0,Vs.jsxs)(Ih,{justifyContent:"space-between",alignItems:"flex-start",limitWidth:!0,children:[(0,Vs.jsx)(qv,{inRowOnDesktop:!0,name:"phoneNumber",label:"\u0422\u0435\u043b\u0435\u0444\u043e\u043d",hook:l,onChange:k}),(0,Vs.jsx)(Rv,{inRowOnDesktop:!0,name:"birthDate",label:"\u0414\u0430\u0442\u0430 \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f",hook:u})]}),(0,Vs.jsx)(Lv,{name:"city",label:"\u0413\u043e\u0440\u043e\u0434",hook:c,onChange:x})]}),(0,Vs.jsx)(Db,{content:Tb,isOpen:d,onClose:_}),(0,Vs.jsx)(Fb,{isOpen:p,content:(0,Vs.jsx)(Ab,{}),onClose:C})]})}),Mb=(xt.svg` width: 72px; margin: 0 auto; `,xt.svg` width: 70px; margin: 0 auto; `),Ib=()=>(0,Vs.jsxs)(Mb,{viewBox:"0 0 70 70",children:[(0,Vs.jsx)("path",{d:"M46.6667 0H23.3333C10.4467 0 0 10.4467 0 23.3333V46.6667C0 59.5533 10.4467 70 23.3333 70H46.6667C59.5533 70 70 59.5533 70 46.6667V23.3333C70 10.4467 59.5533 0 46.6667 0Z",fill:"#FEE600"})," ",(0,Vs.jsx)("path",{d:"M34.9999 42.966L58.3333 19.6326V16.3333H55.0339L34.9999 36.3673L26.6326 28H23.3333V31.2993L34.9999 42.966Z",fill:"#2B2D33"})," ",(0,Vs.jsx)("path",{d:"M53.0599 29.5283C53.6144 31.2997 53.9022 33.1438 53.9139 35C53.9272 39.2883 52.4873 43.4547 49.8289 46.8197C47.1705 50.1847 43.4505 52.5499 39.2755 53.5294C35.1005 54.509 30.7167 54.0453 26.8391 52.2138C22.9615 50.3823 19.8187 47.2912 17.9232 43.4444C16.0277 39.5977 15.4914 35.2222 16.4017 31.0316C17.312 26.8409 19.6151 23.0822 22.9356 20.3684C26.2561 17.6547 30.3981 16.1459 34.6861 16.0881C38.9741 16.0303 43.1552 17.427 46.5476 20.0503L49.6859 16.912C45.2545 13.3116 39.6599 11.455 33.9551 11.6916C28.2503 11.9283 22.8287 14.2419 18.7107 18.197C14.5927 22.1521 12.0623 27.476 11.5957 33.1666C11.1291 38.8572 12.7585 44.5222 16.1772 49.0952C19.5959 53.6683 24.5682 56.8342 30.1583 57.997C35.7483 59.1598 41.5706 58.2393 46.5294 55.4088C51.4882 52.5784 55.2414 48.0331 57.0827 42.6284C58.9241 37.2238 58.7265 31.3325 56.5273 26.0633L53.0599 29.5283Z",fill:"#2B2D33"})]}),Nb=()=>(0,Vs.jsx)(_p,{children:(0,Vs.jsxs)(Nr,{design:"vertical","data-context":"thanxContent",children:[(0,Vs.jsx)(Ib,{}),(0,Vs.jsx)(kb,{centred:!0,margin:"m",children:"\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u043d\u0430\u0441!"}),(0,Vs.jsx)(_b,{centred:!0,size:"xl",margin:"xl",align:!0,children:"\u041c\u044b\xa0\u0441\u0432\u044f\u0436\u0435\u043c\u0441\u044f \u0441\xa0\u0432\u0430\u043c\u0438 \u0432\xa0\u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f."})]})}),Rb=[{step:0,title:"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e",component:(0,Vs.jsx)(jb,{})},{step:1,title:"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e",component:(0,Vs.jsx)(Xy,{})},{step:2,title:"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",component:(0,Vs.jsx)(Ob,{})},{step:2,title:"",component:(0,Vs.jsx)(Nb,{})}],zb=new class{constructor(e){this._id="CS0000-A000",this._paymentSystem="MIR",this._currency="RUB",this.init(e)}init(e){let{id:t,paymentSystem:n,currency:r}=e;t&&(this.id=t),n&&(this.paymentSystem=n),r&&(this.currency=r)}get id(){return this._id}set id(e){if(11!==e.length||"-"!==e[6])throw new Error("cardId \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 GPC-LPC");this._id=e}get paymentSystem(){return this._paymentSystem}set paymentSystem(e){if(!["MIR","MASTERCARD","VISA","NONE"].includes(e))throw new Error('paymentSystem \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c "MIR" | "MASTERCARD" | "VISA" | "NONE"');this._paymentSystem=e}get currency(){return this._currency}set currency(e){this._currency=e}}({id:"CS0200-AD01",paymentSystem:"MIR",currency:"RUB"}),Bb=new bc({defaultScope:"Singleton"});Bb.bind(si.FormName).toConstantValue("premium-banking_react"),Bb.bind(si.SmsEndpoint).toConstantValue("https://oapi.raiffeisen.ru/api/sms-auth/public/v1.0/phone"),Bb.bind(si.NtbEndpoint).toConstantValue("https://oapi.raiffeisen.ru/api/ntb/public/v1.0/client"),Bb.bind(si.FieldomEndpoint).toConstantValue("https://oapi.raiffeisen.ru/api/fieldom/gateway"),Bb.bind(si.FormsEndpoint).toConstantValue("https://oapi.raiffeisen.ru/api/forms/public/v1.0/forms/premium-banking-extended/3"),Bb.bind(ai.CardConfig).toConstantValue(zb),Bb.bind(ii.MetricService).to(eh),Bb.bind(ii.NotificationService).toConstantValue(new class extends rh{}),Bb.bind(ii.DadataService).to(jp),Bb.bind(ii.EventService).to(zp),Bb.bind(ii.FieldomService).to(Xp),Bb.bind(ii.FormsService).to(Jp),Bb.bind(ii.NtbService).to(oh),Bb.bind(ii.PromocodeService).to(sh),Bb.bind(ii.SmsService).to(ch),Bb.bind(ii.SourcebusterService).to(ph),Bb.bind(oi.DataLayerAnalytics).to(zc),Bb.bind(oi.MetricAnalytics).to(kp),Bb.bind(oi.MetricRequestTime).to(Sp),Bb.bind(ai.ScreensConfig).toConstantValue(new Fp(Rb));const Lb=new function(e){this.id=Cl(),this.registry=e}((async(e,t,n,r)=>{r(si.SmsEndpoint).toConstantValue("https://test-oapi.raiffeisen.ru/api/sms-auth/public/v1.0/phone"),r(si.NtbEndpoint).toConstantValue("https://test-oapi.raiffeisen.ru/api/ntb/public/v1.0/client"),r(si.FormsEndpoint).toConstantValue("https://test-oapi.raiffeisen.ru/api/forms/public/v1.0/forms/premium-banking-extended/3")})),Hb=function(e){var t,n=Ha(),r=e||{},o=r.reducer,i=void 0===o?void 0:o,a=r.middleware,s=void 0===a?n():a,l=r.devTools,u=void 0===l||l,c=r.preloadedState,d=void 0===c?void 0:c,f=r.enhancers,p=void 0===f?void 0:f;if("function"===typeof i)t=i;else{if(!Ra(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=ga(i)}var h=s;"function"===typeof h&&(h=h(n));var v=ba.apply(void 0,h),m=ya;u&&(m=Na(ja({trace:!1},"object"===typeof u&&u)));var g=new Ba(v),y=g;return Array.isArray(p)?y=Ca([v],p):"function"===typeof p&&(y=p(g)),ma(t,d,m.apply(void 0,y))}({reducer:{screen:as,data:ga({auth:Cm,premiumBanking:xm})}});window.initForm=e=>{var n;"test"===(null===e||void 0===e||null===(n=e.oapi)||void 0===n?void 0:n.env)&&Bb.load(Lb),Bb.get(oi.DataLayerAnalytics),Bb.get(oi.MetricAnalytics),(0,o.render)((0,Vs.jsx)(r.StrictMode,{children:(0,Vs.jsx)(E,{store:Hb,children:(0,Vs.jsx)(t.Provider,{container:Bb,children:(0,Vs.jsx)(wl,{})})})}),e.element)}})()})();