/*! For license information please see captcha_smart.f077a5de5fff8bc90b0f.js.LICENSE.txt */
!function(){var e={19465:function(e,t){"use strict";function r(e){function t(t,i,o,a){var s=i?r+t+e.e+i:r+t,u=s;if(o){var c=" "+u+e.m;for(var l in o)if(o.hasOwnProperty(l)){var f=o[l];!0===f?u+=c+l:f&&(u+=c+l+n+f)}}if(void 0!==a)for(var d=0,p=a.length;d
0&&(r+=" "),r+=a)}return r}},47939:function(e,t,r){"use strict";e.exports=r(68013)},9759:function(e,t,r){"use strict";function n(e,t,r){var n,i,o,c=function(c){var l,f;return n=n||s.cn(e),i=i||n(),a.forwardRef((function(e,s){var d=(o=o||Object.keys(t)).every((function(r){var n=t[r],i=e[r];return n===i||"*"===n&&Boolean(i)})),p=Object.assign({},e,{ref:s});if(d){var h=o.reduce((function(e,r){return"*"!==t[r]&&(e[r]=t[r]),e}),{});return f=f||n(h),p.className=u.classnames(f,e.className).replace(i+" ",""),"function"==typeof r?void 0===l&&(l=r(c)):l=c,a.createElement(l,p)}return a.createElement(c,p)}))},l=r||{},f=l.__passToProps,d=void 0===f||f,p=l.__simple,h=void 0!==p&&p,v=Object.keys(t),m=v[0],g=t[v[0]];return(c.__isSimple=!r&&1===v.length||h)&&(c.__blockName=e,c.__mod=m,c.__value=g,c.__passToProps=d),c}function i(e){for(var t={},r={},n=s.cn(e[0].__blockName),i=0,o=e;is.right||s.left>a.right)&&!(a.top>s.bottom||s.top>a.bottom)}function l(e){var t=e.getAttribute("type");return"INPUT"===e.tagName&&("checkbox"===t||"radio"===t)}function f(e){var t=e.key,r=e.target,n=r.getAttribute("role"),i="A"===r.tagName&&r.hasAttribute("href"),o=r.getAttribute("contenteditable");return!((l(r)||"Enter"!==t)&&" "!==t&&"Spacebar"!==t||"true"===o||i&&("button"!==n||"Enter"===t)||"link"===n&&"Enter"!==t)}var d="idle",p="";function h(){return document.documentElement.style.userSelect||document.documentElement.style.webkitUserSelect}function v(e){document.documentElement.style.userSelect=e,document.documentElement.style.webkitUserSelect=e}function m(){"disabled"===d&&(d="restoring",setTimeout((function(){requestAnimationFrame((function(){"restoring"===d&&("none"===h()&&v(p),p="",d="idle")}))}),300))}function g(e,t){for(var r=e.changedTouches,n=0;n0?t[0]:null}(r.nativeEvent);!s||e.isPressed||i||(t||a(r.currentTarget),E(r.currentTarget,s.identifier),n(u(r,r.currentTarget,"touch")),o(document,"touchmove",O,!1),o(document,"touchend",P,!1),o(document,"touchcancel",A,!1))}}return r}),[o,t,s]);return(0,n.useEffect)((function(){return m}),[]),{isPressed:b,pressProps:E}}function b(){for(var e=[],t=0;t=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resolveI18nLang=t.getI18nLang=t.setI18nLang=t.i18nRaw=void 0;var o=i(r(76102)),a=i(r(98053)),s=i(r(78111)),u=i(r(64207)),c=i(r(19552)),l=i(r(22503)),f=i(r(63037)),d=i(r(10452)),p=i(r(10965)),h=i(r(51459)),v=i(r(32164)),m=i(r(99709)),g=i(r(45764)),y=i(r(90995)),b=i(r(61650)),_=i(r(54752)),w=i(r(48926)),S=i(r(63142)),E=i(r(4880)),x=i(r(43254)),C=i(r(56863)),k=i(r(15545)),T=i(r(66282)),O=i(r(78510)),P=i(r(8062)),A=i(r(68092)),M=i(r(10978)),j={be:o.default,en:a.default,id:s.default,kk:u.default,ru:c.default,tr:l.default,tt:f.default,uk:d.default,uz:p.default,de:h.default,es:v.default,hy:m.default,ka:g.default,ky:y.default,sr:b.default,fr:_.default,lv:w.default,lt:S.default,ro:E.default,fi:x.default,az:C.default,zh:k.default,he:T.default,et:O.default,no:P.default,sv:A.default,pt:M.default},R=["ru"];function L(e){return-1===["tr","id","fi","lt","pl","et","lv"].indexOf(e)?"ru":"en"}function I(e,t){for(var r=[],n=e.length,i=0;i1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},90995:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},63142:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},48926:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},8062:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(78111));t.default=i.default},10978:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(98053));t.default=i.default},4880:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},19552:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>=2&&r<=4&&12!==n&&13!==n&&14!==n?t.some:t.many||"":t.none||""}},61650:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},68092:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(78111));t.default=i.default},22503:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},63037:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},10452:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(19552));t.default=i.default},10965:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e%10,n=e%100;return e?1===r&&11!==n?t.one:r>1&&r<5&&(n<10||n>20)?t.some:t.many||"":t.none||""}},15545:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(98053));t.default=i.default},64691:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},u=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},c=this&&this.__spread||function(){for(var e=[],t=0;tV&&(V=Y,H=q,e.emit({metricName:"cls-debug",value:V,params:{clsEntries:H,target:te(H)}}))}function te(e){var t;if(!e)return null;var r=null;if((t=e.reduce((function(e,t){return e&&e.value>t.value?e:t})))&&t.sources&&t.sources.length){for(var n=0;n":t.replace(/\?.*$/,""):t}function ye(t,r,n){if(me()){var i=e.getTime(),o="undefined"!=typeof PerformanceLongAnimationFrameTiming&&e.getSetting("sendLongAnimationFrames");be((function(a){var u,c={2796.2797:_e(he(),r),689.2322:s(i)};if(o){var l=function(e){var t=ve();if(t)return e?t.filter((function(t){return t.startTime+t.duration>=e})):t}(r);l&&(c["loaf.2797"]=_e(l,void 0,{useName:!1}),1===e.getSetting("longAnimationFramesMode")&&(c["-additional"]=encodeURIComponent(JSON.stringify({loaf:(u=l,u.map(we))}))))}n&&Object.keys(n).forEach((function(e){c[e]=n[e]})),C(t||"2795",a,!0,c,{force:Boolean(o)}),e._tti.fired=!0}),r)}}function be(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.mode,a=void 0===o?1:o;function s(){var n,o=r,u=e.getTime(),c=1===a?he():ve()||[],l=c.length;0!==l&&(n=c[l-1],o=Math.max(o,Math.floor(n.startTime+n.duration))),u-o>=3e3?t(o):i(s,1e3)}me()&&(r||(r=e.getTime()),s())}function _e(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.useName,i=void 0===n||n;return t=t||0,(e=e||[]).filter((function(e){return t-e.startTime<=50})).map((function(e){var t=Math.floor(e.startTime),r=Math.floor(t+e.duration);return i?(e.name?e.name.split("-").map((function(e){return e[0]})).join(""):"u")+"-"+t+"-"+r:t+"-"+r})).join(".")}function we(e){var t=e.blockingDuration,r=e.duration,n=e.firstUIEventTimestamp,i=e.renderStart,o=e.scripts,a=e.startTime,s=e.styleAndLayoutStart;return[Math.round(a),Math.round(r),o.map(Se),Math.round(t),Math.round(n),Math.round(i),Math.round(s)]}function Se(e){var t=e.invoker,r=e.sourceURL,n=e.sourceFunctionName,i=e.sourceCharPosition,o=e.startTime,a=e.duration,s=e.windowAttribution,u=e.executionStart,c=e.forcedStyleAndLayoutDuration,l=e.pauseDuration;return[ge(t),ge(r),n,i,Math.round(o),Math.round(a),s,Math.round(u),Math.round(c),Math.round(l)]}var Ee=document.createElement("a"),xe=0,Ce={};function ke(){if(window.PerformanceObserver){Ce={},xe=0;var e=function(e){!function(e){if(!e||!e.length)return;for(var t=Ce,r=0;r=t)return!1;for(var r=Object.keys(Ce),n="",i=0;i1)){var m=this.getLineHeight();"number"==typeof m&&(p.maxHeight=f*m+"px")}return i.default.createElement(a,n.__assign({ref:this.setTextElement.bind(this),style:p,className:t.cnText({color:h,align:u,overflow:c},[s])},v))},r.displayName=t.cnText(),r}(i.PureComponent);t.Text=s},90267:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(70655).__exportStar(r(6296),t)},66790:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTypographyControlL=void 0,r(96823);var n=r(87756),i=r(6296);t.withTypographyControlL=n.withBemMod(i.cnText(),{typography:"control-l"})},92174:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTypographyControlS=void 0,r(16582);var n=r(87756),i=r(6296);t.withTypographyControlS=n.withBemMod(i.cnText(),{typography:"control-s"})},53717:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTypographyControlXXL=void 0,r(73102);var n=r(87756),i=r(6296);t.withTypographyControlXXL=n.withBemMod(i.cnText(),{typography:"control-xxl"})},44807:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withWeightRegular=void 0;var n=r(70655);r(79383);var i=r(87756),o=n.__importDefault(r(63804)),a=r(6296);t.withWeightRegular=i.withBemMod(a.cnText(),{weight:"regular"},(function(e){return function(t){t.weight;var r=n.__rest(t,["weight"]);return o.default.createElement(e,n.__assign({},r))}}))},41325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputBox=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(60860);r(33287);t.TextinputBox=function(e){var t=e.className,r=n.__rest(e,["className"]);return i.default.createElement("span",n.__assign({},r,{className:o.cnTextinput("Box",null,[t])}))}},18269:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputClear=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(12818),a=r(87756),s=r(63671),u=r(21556),c=r(86976),l=r(7645),f=r(60860);r(69561);var d=a.compose(l.withGlyphXSign,a.composeU(u.withTypeCross,c.withTypeCrossWebsearch))(s.Icon);t.TextinputClear=function(e){var t=e.visible,r=e.className,a=e.theme,s=e.view,u=e.icon,c=n.__rest(e,["visible","className","theme","view","icon"]),l=o.useComponentRegistry(f.cnTextinput()).Icon,p={className:f.cnTextinput("Clear",{visible:t},[r])},h=u?i.default.cloneElement(u,p):i.default.createElement(d,n.__assign({},function(e,t){return"default"===t?{glyph:"x-sign"}:"websearch"===e?{type:"cross-websearch"}:{type:"cross"}}(a,s),p));return i.default.createElement(l,n.__assign({},c,{component:h}))}},62909:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputControl=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(60860);r(98692);t.TextinputControl=function(e){var t=e.autoComplete,r=void 0===t?"off":t,a=e.autoFocus,s=e.className,u=e.controlRef,c=e.defaultValue,l=e.disabled,f=e.id,d=e.inputMode,p=e.max,h=e.maxLength,v=e.min,m=e.name,g=e.onBlur,y=e.onChange,b=e.onFocus,_=e.onKeyDown,w=e.onKeyPress,S=e.onKeyUp,E=e.pattern,x=e.placeholder,C=e.readOnly,k=e.required,T=e.tabIndex,O=e.type,P=e.value,A=n.__rest(e,["autoComplete","autoFocus","className","controlRef","defaultValue","disabled","id","inputMode","max","maxLength","min","name","onBlur","onChange","onFocus","onKeyDown","onKeyPress","onKeyUp","pattern","placeholder","readOnly","required","tabIndex","type","value"]);return i.default.createElement("input",n.__assign({},A,{autoComplete:r,autoFocus:a,className:o.cnTextinput("Control",null,[s]),defaultValue:c,disabled:l,id:f,inputMode:d,max:p,maxLength:h,min:v,name:m,onBlur:g,onChange:y,onFocus:b,onKeyDown:_,onKeyPress:w,onKeyUp:S,pattern:E,placeholder:x,readOnly:C,ref:u,required:k,tabIndex:T,type:O,value:P}))}},88278:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputHint=void 0;var n=r(70655).__importDefault(r(63804)),i=r(60860);r(16351);t.TextinputHint=function(e){var t=e.leave,r=e.onAnimationEnd,o=e.children,a=e.id;return n.default.createElement("span",{className:i.cnTextinput("Hint",{leave:t}),onAnimationEnd:r,id:a},o)}},76760:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextinputIcon=void 0;var n=r(70655),i=r(63804),o=r(60860);r(15216),r(8821),r(74475);t.TextinputIcon=function(e){var t=e.component,r=e.side,a=n.__rest(e,["component","side"]);return i.cloneElement(t,n.__assign(n.__assign({},a),{className:o.cnTextinput("Icon",{side:r},[t.props.className])}))}},60860:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Textinput=t.cnTextinput=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(12818),a=r(81504),s=r(81677),u=r(85982),c=r(25937),l=r(64308);r(82676),t.cnTextinput=a.cn("Textinput");var f=function(e){var r=e.addonAfter,a=e.addonBefore,l=e.className,f=e.disabled,d=e.focused,p=e.iconLeft,h=e.iconRight,v=e.innerRef,m=e.onMouseEnter,g=e.onMouseLeave,y=e.style,b=(e.pressed,e.view,e.pin,e.size,e.theme,e.hint),_=e.state,w=e.title,S=e.renderControl,E=n.__rest(e,["addonAfter","addonBefore","className","disabled","focused","iconLeft","iconRight","innerRef","onMouseEnter","onMouseLeave","style","pressed","view","pin","size","theme","hint","state","title","renderControl"]),x=o.useComponentRegistry(t.cnTextinput()),C=x.Control,k=x.Box,T=x.Icon,O=x.Hint,P=s.useRenderOverride(C,S),A=u.useUniqId("hint"),M=c.useTextFieldHint({hint:b}),j=M.hint,R=M.hintProps;return i.default.createElement("span",{className:t.cnTextinput({disabled:f,focused:d,iconRight:void 0!==h,iconLeft:void 0!==p,state:_},[l]),onMouseEnter:m,onMouseLeave:g,ref:v,style:y,title:w},a,p&&i.default.createElement(T,{side:"left",component:p}),h&&i.default.createElement(T,{side:"right",component:h}),i.default.createElement(P,n.__assign({},E,{"aria-invalid":"error"===_,disabled:f,"aria-describedby":j?A:void 0})),i.default.createElement(k,null),r,j&&i.default.createElement(O,n.__assign({},R,{id:A}),j))};f.displayName=t.cnTextinput(),t.Textinput=l.withControl(f)},50326:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textinputRegistry=void 0;var n=r(12818),i=r(60860),o=r(62909),a=r(41325),s=r(76760),u=r(88278);t.textinputRegistry=new n.Registry({id:i.cnTextinput()}),t.textinputRegistry.set("Control",o.TextinputControl).set("Box",a.TextinputBox).set("Icon",s.TextinputIcon).set("Hint",u.TextinputHint)},44860:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Textinput=void 0;var n=r(70655),i=n.__importDefault(r(63804)),o=r(87756),a=r(12818),s=r(69063),u=r(95833),c=r(60860),l=r(50326);n.__exportStar(r(60860),t),t.Textinput=o.compose(a.withRegistry(l.textinputRegistry),s.withControl,u.withAutoFocus)((function(e){var t=e.className,r=e.hovered,o=n.__rest(e,["className","hovered"]);return i.default.createElement(c.Textinput,n.__assign({},o,{className:c.cnTextinput({hovered:r},[t])}))}))},67376:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withHasClear=void 0;var n=r(70655),i=n.__importStar(r(63804)),o=r(87756),a=r(12818),s=r(83934),u=r(60860);t.withHasClear=o.withBemMod(u.cnTextinput(),{hasClear:!0},(function(e){return function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.controlRef=i.createRef(),e.onMouseDown=function(e){e.preventDefault()},e.onClick=function(t){if(null!==e.controlRef.current&&!t.isDefaultPrevented()&&(e.controlRef.current.focus(),void 0!==e.props.onChange)){var r=e.controlRef.current.value,n=Object.create(t);n.target=e.controlRef.current,n.currentTarget=e.controlRef.current,e.controlRef.current.value="",e.props.onChange(n),e.controlRef.current.value=r}void 0!==e.props.onClearClick&&e.props.onClearClick(t)},e}return n.__extends(r,t),r.prototype.render=function(){var t=this,r=this.props,o=r.addonBefore,c=(r.onClearClick,r.hasClear,r.controlRef),l=(r.clearIcon,n.__rest(r,["addonBefore","onClearClick","hasClear","controlRef","clearIcon"]));return i.default.createElement(a.ComponentRegistryConsumer,{id:u.cnTextinput()},(function(r){var a=r.Clear;return i.default.createElement(e,n.__assign({},l,{controlRef:s.mergeAllRefs(t.controlRef,c),addonBefore:i.default.createElement(i.default.Fragment,null,i.default.createElement(a,{onClick:t.onClick,onMouseDown:t.onMouseDown,size:t.props.size,theme:t.props.theme,view:t.props.view,icon:t.props.clearIcon,visible:Boolean(t.props.value)}),o)}))}))},r}(i.PureComponent)}))},67979:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textinputRegistry=void 0;var n=r(18269),i=r(50326);t.textinputRegistry=i.textinputRegistry.set("Clear",n.TextinputClear)},97464:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withHasClear=void 0;var n=r(70655),i=r(87756),o=r(12818),a=r(67979),s=r(67376);n.__exportStar(r(67376),t),t.withHasClear=i.compose(o.withRegistry(a.textinputRegistry),s.withHasClear)},94292:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withSizeM=void 0;var n=r(87756),i=r(60860);r(66956),t.withSizeM=n.withBemMod(i.cnTextinput(),{size:"m"})},93260:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.theme=void 0,r(62781),r(7181),t.theme={color:"yandex-default",root:"default"}},70490:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipBackdrop=void 0;var n=r(70655).__importDefault(r(63804)),i=r(8668);r(13275);t.TooltipBackdrop=function(e){var t=e.children;return n.default.createElement("div",{className:i.cnTooltip("Backdrop")},t)}},8668:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=t.cnTooltip=void 0;var n=r(70655).__importDefault(r(63804)),i=r(81504),o=r(12818),a=r(70490);r(88251),t.cnTooltip=i.cn("Tooltip");t.Tooltip=function(e){var r=e.anchor,i=e.boundary,s=e.children,u=e.className,c=e.direction,l=e.hasTail,f=e.id,d=e.innerRef,p=e.keepMounted,h=e.mainOffset,v=e.modifiers,m=e.disableOverlay,g=e.onClick,y=e.onClose,b=e.scope,_=e.secondaryOffset,w=e.state,S=e.tailOffset,E=e.viewportOffset,x=e.visible,C=e.zIndex,k=l?0:4,T=o.useComponentRegistry(t.cnTooltip()).Popup;return n.default.createElement(T,{anchor:r,boundary:i,className:t.cnTooltip({visible:x,state:w},[u]),direction:c,disableOverlay:m,hasTail:l,innerRef:d,keepMounted:p,mainOffset:h||k,modifiers:v,onClick:g,onClose:y,scope:b,secondaryOffset:_,tailOffset:S,target:"anchor",unstable_onRenderTail:function(e){return n.default.createElement(a.TooltipBackdrop,null,l&&e)},view:"default",viewportOffset:E,visible:x,zIndex:C},n.default.createElement("div",{role:"tooltip",id:f,className:t.cnTooltip("Content")},s))},t.Tooltip.displayName="Tooltip"},81239:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withSizeS=void 0;var n=r(87756),i=r(8668);r(21965),t.withSizeS=n.withBemMod(i.cnTooltip(),{size:"s"})},87956:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withViewDefault=void 0;var n=r(87756),i=r(8668);r(45735),t.withViewDefault=n.withBemMod(i.cnTooltip(),{view:"default"})},11668:function(e,t,r){"use strict";r.r(t),r.d(t,{Drawer:function(){return $},withViewDefault:function(){return X}});var n,i=r(12818),o=r(70655),a=r(63804),s=r.n(a),u=r(23413),c=r(50394);function l(){return"undefined"!=typeof window&&window.navigator&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)}function f(e,t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=e.style[n]);for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);return r}function d(e){var t=getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function p(e){return e===document.body||e===document.documentElement}var h="__scrollLockState$"+Math.random().toString(36).slice(2);function v(e){return e[h]}function m(e){var t=p(e)&&window.innerWidth-document.documentElement.clientWidth>0,r=e.scrollHeight>e.clientHeight;return t||r||function(e){var t=getComputedStyle(e).overflowY;return/scroll/.test(t)}(e)?function(){if("undefined"==typeof document)return 0;if(void 0===n){var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.pointerEvents="none",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var i=e.offsetWidth;r===i&&(i=t.clientWidth),document.body.removeChild(t),n=r-i}return n}():0}function g(e){var t=v(e);if(t)t.count++;else{var r=m(e);!function(e,t){e[h]=t}(e,{initialStyle:f(e,{paddingRight:parseInt(getComputedStyle(e).getPropertyValue("padding-right"),10)+r+"px",overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}),count:1})}}function y(e){var t=v(e);t&&(t.count--,0===t.count&&(f(e,t.initialStyle),delete e[h]))}var b=function(){var e=!1;if(!(0,c.N)())return!1;try{var t=function(){return null},r={get passive(){e=!0}};window.addEventListener("testPassive",t,r),window.removeEventListener("testPassive",t)}catch(e){}return e}()?{passive:!1}:void 0,_={count:0,lastX:0,lastY:0,scrollable:null,scrollX:0,scrollY:0};function w(e){if(1===e.changedTouches.length){if(_.scrollable=function(e){for(;e&&!d(e);)e=e.parentElement;return e||document.documentElement}(e.target),p(_.scrollable))return;_.lastX=e.changedTouches[0].pageX,_.lastY=e.changedTouches[0].pageY}}function S(e){var t=_.scrollable,r=_.lastX,n=_.lastY;if(!(e.changedTouches.length>1))if(t&&!p(t)){var i=e.changedTouches[0].pageX,o=e.changedTouches[0].pageY,a=Math.abs(n-o)>Math.abs(r-i),s=t.scrollTop,u=t.scrollHeight-t.clientHeight,c=t.scrollLeft,l=t.scrollWidth-t.clientWidth;(a&&(s<=0&&o>n||s>=u&&or||c>=l&&i=.1?v>0?V():g(1):h/p>=.3?V():g(1);if(h>0){m(!0);var y=Math.max(0,1-h/p);return 0===y?V():g(y)}}}},B=(0,a.useRef)(),U=(0,a.useRef)(),F=(0,a.useRef)(),z=(0,a.useCallback)((function(e){if(e.currentTarget.contains(e.target)){var t=F.current||T,r=U.current,n=Array.from(e.changedTouches).find((function(e){return e.identifier===B.current}));r||"touchstart"!==e.type||1!==e.changedTouches.length||(n=e.changedTouches[0],B.current=n.identifier,U.current=r={first:!0,last:!1,startTime:e.timeStamp,initialPosition:{x:n.clientX,y:n.clientY},data:{}}),r&&n&&(r.event=e,"touchmove"===e.type&&(r.first=!1,r.previousPosition=r.currentPosition),"touchstart"!==e.type&&"touchmove"!==e.type||(r.currentPosition={x:n.clientX,y:n.clientY},r.movement={x:r.currentPosition.x-r.initialPosition.x,y:r.currentPosition.y-r.initialPosition.y},r.delta={x:r.currentPosition.x-(r.previousPosition||r.initialPosition).x,y:r.currentPosition.y-(r.previousPosition||r.initialPosition).y},r.velocity={x:r.delta.x/(e.timeStamp-r.startTime-r.elapsedTime)||0,y:r.delta.y/(e.timeStamp-r.startTime-r.elapsedTime)||0},r.elapsedTime=e.timeStamp-r.startTime),"touchend"!==e.type&&"touchcancel"!==e.type||(r.first=!1,r.last=!0,U.current=void 0,B.current=void 0),t(r))}}),[]),F.current=M,{dragProps:{onTouchStart:z,onTouchMove:z,onTouchEnd:z,onTouchCancel:z}}).dragProps;return s().createElement("div",(0,o.__assign)({className:N},H),s().createElement("div",{className:j,style:{opacity:k},onClick:function(){return V()}}),s().createElement("div",{className:D,style:A,ref:P,tabIndex:-1,role:"dialog","aria-modal":1===l},s().createElement("div",{className:I,style:{opacity:k}}),h&&s().createElement("div",{className:L},h),s().createElement("div",{className:R,ref:_},v)))},U={dragImmediate:!1,disabled:!1,tension:230,friction:24},F=function(e){var t=(0,i.useComponentRegistry)(M()).Popup,r=e.onOpenEnd,n=void 0===r?T:r,l=e.className,f=e.visible,d=e.nested,p=e.direction,h=void 0===p?"bottom":p,v=e.innerRef,m=e.preventScrollDisabled,g=e.preventScrollOnClose,y=e.animation,b=void 0===y?U:y,_=e.ariaHidden,w=(0,o.__read)((0,a.useState)(0),2),S=w[0],E=w[1],x=(0,o.__read)((0,a.useState)(!1),2),A=x[0],j=x[1],R=b.dragImmediate&&A||b.disabled,L=function(e,t,r,n){var i=(0,o.__read)((0,a.useState)(null),2),s=i[0],u=i[1],c=(0,o.__read)((0,a.useState)(e),2),l=c[0],f=c[1],d=(0,a.useMemo)((function(){return{onSpringUpdate:function(e){var t=e.getCurrentValue();f(t)}}}),[]),p=(0,a.useCallback)((function(){s&&(s.removeListener(d),u(null))}),[s,d]);return(0,a.useEffect)((function(){if(n)p();else if(!s){var i=(new O.SpringSystem).createSpring(t,r);i.setCurrentValue(e),u(i),f(e),i.addListener(d)}return p}),[t,r,n,s,d,p]),(0,a.useEffect)((function(){s&&s.setEndValue(e)}),[s,e]),n?e:l}(S,b.tension,b.friction,R),I=L>0;(0,a.useEffect)((function(){1===L&&n()}),[L]);var D,N,F,z,V,H=function(){var e=(0,o.__read)((0,a.useState)((0,c.N)()?P():void 0),2),t=e[0],r=e[1],n=(0,a.useCallback)((function(){return r(P())}),[]);return(0,u.L)((function(){return window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}}),[n]),t}(),q=(0,a.useMemo)((function(){return{height:H&&H+"px"}}),[H]),Y=s().useMemo((function(){return!m&&(g?I:f)}),[m,g,I,f]);return N=(D={enabled:Y}).enabled,F=D.containerRef,z=(0,a.useRef)(null),V=(0,a.useRef)(!1),(0,u.L)((function(){var e=F?F.current:null;z.current!==e&&(N&&V.current&&(k(z.current),C(e)),z.current=e)})),(0,u.L)((function(){if(N)return V.current=!0,C(z.current),function(){V.current=!1,k(z.current)}}),[N]),(0,a.useEffect)((function(){j(!1),E(f?1:0)}),[f,b]),s().createElement(t,{className:M({visible:I,direction:h,nested:d},[l]),visible:I,innerRef:v,style:q,keepMounted:e.keepMounted,zIndex:e.zIndex,scope:e.scope,"aria-hidden":_},s().createElement(B,(0,o.__assign)({},e,{springValue:L,setProgress:E,setSpringDisabled:j})))};F.displayName=M();var z=r(87973),V=r(22893),H=r(59368),q=(0,A.cn)("Popup2"),Y=function(e){var t=e.addonAfter,r=e.addonBefore,n=e.children,u=e.className,c=e.direction,l=e.hasTail,f=e.innerRef,d=e.keepMounted,p=e.scope,h=e.style,v=e.tailRef,m=e.tailSize,g=e.visible,y=e.zIndex,b=e.disableOverlay,_=e.unstable_onRenderTail,w=e.onClose,S=e.unstable_essentialRefs,E=void 0===S?[]:S,x=e.onClick,C=(e.theme,e.view,e.nonvisual,(0,o.__rest)(e,["addonAfter","addonBefore","children","className","direction","hasTail","innerRef","keepMounted","scope","style","tailRef","tailSize","visible","zIndex","disableOverlay","unstable_onRenderTail","onClose","unstable_essentialRefs","onClick","theme","view","nonvisual"])),k=(0,a.useRef)(null),T=(0,i.useComponentRegistry)(q()).Tail;return(0,H.I)({onClose:w,visible:!b&&g,essentialRefs:(0,o.__spread)([k],E)}),s().createElement(V.h,{scope:p,visible:g,keepMounted:d},s().createElement("div",(0,o.__assign)({},C,{className:q({visible:g},[u]),"data-popper-placement":c,onClick:x,ref:(0,z.c)(k,f),style:(0,o.__assign)((0,o.__assign)({},h),{zIndex:y})}),r,"function"==typeof n?n({tailRef:v}):n,t,_&&_(s().createElement(T,{ref:v,style:{height:m,width:m}})),!_&&l&&s().createElement(T,{ref:v,style:{height:m,width:m}})))};Y.displayName=q();var K=(0,a.forwardRef)((function(e,t){var r=e.className,n=(0,o.__rest)(e,["className"]);return s().createElement("div",(0,o.__assign)({},n,{ref:t,className:q("Tail",null,[r])}),s().createElement("svg",{viewBox:"0 0 24 24",className:q("TailSvg")},s().createElement("path",{className:q("TailFill"),d:"M12 16C15 16 18 24 24 24H0C6 24 9 16 12 16Z",fill:"none"}),s().createElement("path",{className:q("TailBorder"),d:"M8.05888 18.9807C6.77697 20.3966 5.32977 21.9951 3.57172 23H0C2.53449 23 4.52121 21.3153 6.39546 19.3161C6.68742 19.0046 6.98315 18.6782 7.27806 18.3526L7.27807 18.3526C7.87384 17.6949 8.46631 17.0408 9.01776 16.5218C9.82327 15.7637 10.827 15 12 15C13.173 15 14.1767 15.7637 14.9822 16.5218C15.5337 17.0408 16.1262 17.6949 16.7219 18.3526L16.7219 18.3526L16.7222 18.3529C17.017 18.6783 17.3127 19.0047 17.6045 19.3161C19.4788 21.3153 21.4655 23 24 23H20.4283C18.6702 21.9951 17.223 20.3966 15.9411 18.9807C14.4853 17.3726 13.2426 16 12 16C10.7574 16 9.51472 17.3726 8.05888 18.9807Z",fill:"none"})))})),G=new i.Registry({id:q()});G.set("Tail",K);var J=(0,i.withRegistry)(G)(Y),W=new i.Registry({id:M()});W.set("Popup",J);var $=(0,i.withRegistry)(W)(F),X=(0,r(87756).withBemMod)(M(),{view:"default"})},22893:function(e,t,r){"use strict";r.d(t,{h:function(){return u}});var n=r(70655),i=r(63804),o=r(27196),a=(0,r(50394).N)(),s=a?document.body:null,u=function(e){var t=e.visible,r=e.keepMounted,u=void 0===r||r,c=e.children,l=e.scope,f=(0,n.__read)((0,i.useState)(s),2),d=f[0],p=f[1],h="inplace"===l,v=(0,i.useRef)(!1);return(0,i.useEffect)((function(){"object"==typeof l&&p(l.current)}),[l]),t&&(v.current=!0),a&&(t||u&&v.current)||!a&&t?h?c:d?(0,o.createPortal)(c,d):null:null}},49925:function(e,t,r){"use strict";r.r(t),r.d(t,{Portal:function(){return n.h}});var n=r(22893)},235:function(e,t,r){"use strict";r.r(t),r.d(t,{cnTheme:function(){return o},configureRootTheme:function(){return s}});var n=r(81504),i=r(50394),o=(0,n.cn)("Theme"),a="",s=function(e){var t=e.theme,r=e.root,n=void 0===r?(0,i.N)()?document.body:null:r;if((0,i.N)()){if(!n)throw new Error("Значение в root не является DOM-элементом, невозможно установить глобальную тему.");var s=n.className.replace(a,"");a=o(t),n.className=s+" "+a}}},50394:function(e,t,r){"use strict";r.d(t,{N:function(){return n}});var n=function(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}},81677:function(e,t,r){"use strict";r.r(t),r.d(t,{MultiRenderOverrideProvider:function(){return u},RenderOverrideProvider:function(){return s},useRenderOverride:function(){return a}});var n=r(70655),i=r(63804),o=r(23413);function a(e,t){var r,a,s=(0,i.useRef)((r=[e,t],a={state:r,setState:function(e){a.state=e,a.setters.forEach((function(e){return e(a.state)}))},setters:[]},function(){var e=(0,n.__read)((0,i.useState)(a.state),2),t=e[0],r=e[1];return(0,i.useEffect)((function(){return function(){a.setters=a.setters.filter((function(e){return e!==r}))}}),[]),(0,o.L)((function(){-1===a.setters.indexOf(r)&&a.setters.push(r)})),[t,a.setState]})).current,u=(0,n.__read)(s(),2)[1],c=(0,i.useRef)((function(e){var t=(0,n.__read)(s(),1)[0],r=(0,n.__read)(t||[],2),o=r[0],a=r[1];return void 0===t||void 0===a?(0,i.createElement)(o,e):a(e,o)})).current;return(0,i.useEffect)((function(){u([e,t])}),[u,e,t]),c}var s=function(e){return(0,e.children)(a(e.component,e.render))};s.displayName="RenderOverrideProvider";var u=function(e){var t=e.children,r=e.components.map((function(e){var t=(0,n.__read)(e,2);return a(t[0],t[1])}));return t.apply(void 0,(0,n.__spread)(r))};u.displayName="MultiRenderOverrideProvider"},21797:function(e,t,r){"use strict";r.r(t);var n=r(50394),i=function(){function e(){var e=this;this.onKeyDown=function(){window.clearTimeout(e.timeoutId),e.isPointer=!1},this.onPointerCall=function(){e.isPointer=!0,window.clearTimeout(e.timeoutId),e.timeoutId=window.setTimeout((function(){e.isPointer=!1}),600)},this.onFocus=function(){var t=window.document.body.classList;e.isPointer?(t.add("pointerfocus"),t.remove("utilityfocus")):(t.add("utilityfocus"),t.remove("pointerfocus"))},this.onBlur=function(){window.addEventListener("focus",e.setIsPointerOnTabFocus,!0)},this.setIsPointerOnTabFocus=function(){window.removeEventListener("focus",e.setIsPointerOnTabFocus,!0),window.document.body&&window.document.body.classList.contains("pointerfocus")&&(e.isPointer=!0,window.setTimeout((function(){e.isPointer=!1})))},this.timeoutId=0,this.isPointer=!1,window.addEventListener("blur",this.onBlur,!1);var t=window.document;t.addEventListener("keydown",this.onKeyDown,!0),t.addEventListener("mousedown",this.onPointerCall,!0),t.addEventListener("mouseup",this.onPointerCall,!0),t.addEventListener("focusin",this.onFocus,!0),t.addEventListener("pointerdown",this.onPointerCall,!0),t.addEventListener("pointerup",this.onPointerCall,!0),t.body.classList.contains("pointerfocus")||t.documentElement.classList.contains("pointerfocus")||t.body.classList.add("utilityfocus")}return e.create=function(){return new e},e.prototype.dispose=function(){window.removeEventListener("blur",this.onBlur,!1);var e=window.document;e.removeEventListener("keydown",this.onKeyDown,!0),e.removeEventListener("mousedown",this.onPointerCall,!0),e.removeEventListener("mouseup",this.onPointerCall,!0),e.removeEventListener("focusin",this.onFocus,!0),e.removeEventListener("pointerdown",this.onPointerCall,!0),e.removeEventListener("pointerup",this.onPointerCall,!0),e.body.classList.remove("pointerfocus","utilityfocus")},e}(),o=null,a=!1;function s(){a||o||(o=i.create())}(0,n.N)()&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",s):window.setTimeout(s))},24989:function(e,t,r){"use strict";r.r(t),r.d(t,{useForkRef:function(){return n.c}});var n=r(87973)},87973:function(e,t,r){"use strict";r.d(t,{c:function(){return i}});var n=r(63804);function i(e,t){return(0,n.useMemo)((function(){return e||t?function(r){e&&o(e,r),t&&o(t,r)}:null}),[e,t])}function o(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},23413:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r(63804),i=r(50394);function o(e,t){return(0,i.N)()?(0,n.useLayoutEffect)(e,t):(0,n.useEffect)(e,t)}},30542:function(e,t,r){"use strict";r.d(t,{a:function(){return n}});var n=function(){function e(){this.overlays=[],this.eventTarget=null,this.onDocumentKeyUp=this.onDocumentKeyUp.bind(this),this.onDocumentMouseDown=this.onDocumentMouseDown.bind(this),this.onDocumentClick=this.onDocumentClick.bind(this)}return e.getInstance=function(){return this.instance||(this.instance=new e),this.instance},e.prototype.count=function(){return this.overlays.length},e.prototype.addOverlay=function(e){0===this.overlays.length&&this.attachEvents(),this.overlays.push(e)},e.prototype.removeOverlay=function(e){this.overlays.splice(this.overlays.indexOf(e),1),0===this.overlays.length&&this.detachEvents()},e.prototype.getTopOverlayOptions=function(){return this.overlays[this.overlays.length-1]},e.prototype.isEssentionalClick=function(e,t){return e.some((function(e){return e.current instanceof HTMLElement&&e.current.contains(t)}))},e.prototype.handleClose=function(e,t,r){var n=this.getTopOverlayOptions();!n||!n.onClose||r&&r!==n.closeStrategy||"click"===t&&this.isEssentionalClick(n.refs,e.target)||n.onClose(e,t)},e.prototype.onDocumentKeyUp=function(e){var t=e.key;"Escape"!==t&&"Esc"!==t||this.handleClose(e,"esc")},e.prototype.onDocumentMouseDown=function(e){this.eventTarget=e.target,this.activeOverlay=this.getTopOverlayOptions(),this.handleClose(e,"click","pressdown")},e.prototype.onDocumentClick=function(e){var t=this.eventTarget;this.eventTarget=null;var r=this.activeOverlay;this.activeOverlay=null,e.button>0||r===this.getTopOverlayOptions()&&t===e.target&&this.handleClose(e,"click","pressup")},e.prototype.attachEvents=function(){document.addEventListener("keyup",this.onDocumentKeyUp),document.addEventListener("mousedown",this.onDocumentMouseDown,!0),document.addEventListener("click",this.onDocumentClick,!0)},e.prototype.detachEvents=function(){document.removeEventListener("keyup",this.onDocumentKeyUp),document.removeEventListener("mousedown",this.onDocumentMouseDown,!0),document.removeEventListener("click",this.onDocumentClick,!0)},e}()},84971:function(e,t,r){"use strict";r.r(t),r.d(t,{useOverlay:function(){return n.I},OverlayManager:function(){return i.a}});var n=r(59368),i=r(30542)},59368:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(63804),i=r(30542);function o(e){var t=e.visible,r=e.onClose,o=e.essentialRefs,a=e.unsafe_strategy,s=void 0===a?"pressdown":a,u=(0,n.useRef)({onClose:r,refs:o,closeStrategy:s});(0,n.useEffect)((function(){u.current.onClose!==r&&(u.current.onClose=r),u.current.refs!==o&&(u.current.refs=o)}),[r,o]),(0,n.useEffect)((function(){if(t){var e=u.current,r=i.a.getInstance();return r.addOverlay(e),function(){r.removeOverlay(e)}}}),[t])}},46380:function(e,t,r){"use strict";r.r(t),r.d(t,{applyMaxHeight:function(){return Ee},applyMinWidth:function(){return Se},directions:function(){return ce},usePopper:function(){return be},useVirtualElementRef:function(){return we}});var n=r(70655),i=r(63804);function o(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var r,n,i=void 0;if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(i=r;0!=i--;)if(!o(e[i],t[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((r=(n=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;if("undefined"!=typeof Element&&e instanceof Element)return!1;for(i=r;0!=i--;)if(("_owner"!==n[i]&&"__v"!==n[i]&&"__o"!==n[i]||!e.$$typeof)&&!o(e[n[i]],t[n[i]]))return!1;return!0}return e!=e&&t!=t}var a=r(23413);function s(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function u(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function c(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function l(e){return e instanceof u(e).Element||e instanceof Element}function f(e){return e instanceof u(e).HTMLElement||e instanceof HTMLElement}function d(e){return e?(e.nodeName||"").toLowerCase():null}function p(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return s(p(e)).left+c(e).scrollLeft}function v(e){return u(e).getComputedStyle(e)}function m(e){var t=v(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function g(e,t,r){void 0===r&&(r=!1);var n,i,o=p(t),a=s(e),l=f(t),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(l||!l&&!r)&&(("body"!==d(t)||m(o))&&(v=(n=t)!==u(n)&&f(n)?{scrollLeft:(i=n).scrollLeft,scrollTop:i.scrollTop}:c(n)),f(t)?((g=s(t)).x+=t.clientLeft,g.y+=t.clientTop):o&&(g.x=h(o))),{x:a.left+v.scrollLeft-g.x,y:a.top+v.scrollTop-g.y,width:a.width,height:a.height}}function y(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function b(e){return"html"===d(e)?e:e.assignedSlot||e.parentNode||e.host||p(e)}function _(e){return["html","body","#document"].indexOf(d(e))>=0?e.ownerDocument.body:f(e)&&m(e)?e:_(b(e))}function w(e,t){void 0===t&&(t=[]);var r=_(e),n="body"===d(r),i=u(r),o=n?[i].concat(i.visualViewport||[],m(r)?r:[]):r,a=t.concat(o);return n?a:a.concat(w(b(o)))}function S(e){return["table","td","th"].indexOf(d(e))>=0}function E(e){if(!f(e)||"fixed"===v(e).position)return null;var t=e.offsetParent;if(t){var r=p(t);if("body"===d(t)&&"static"===v(t).position&&"static"!==v(r).position)return r}return t}function x(e){for(var t=u(e),r=E(e);r&&S(r)&&"static"===v(r).position;)r=E(r);return r&&"body"===d(r)&&"static"===v(r).position?t:r||function(e){for(var t=b(e);f(t)&&["html","body"].indexOf(d(t))<0;){var r=v(t);if("none"!==r.transform||"none"!==r.perspective||r.willChange&&"auto"!==r.willChange)return t;t=t.parentNode}return null}(e)||t}var C="top",k="bottom",T="right",O="left",P="auto",A=[C,k,T,O],M="start",j="end",R="viewport",L="popper",I=A.reduce((function(e,t){return e.concat([t+"-"+M,t+"-"+j])}),[]),D=[].concat(A,[P]).reduce((function(e,t){return e.concat([t,t+"-"+M,t+"-"+j])}),[]),N=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(e){var t=new Map,r=new Set,n=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&i(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||i(e)})),n}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function F(){for(var e=arguments.length,t=new Array(e),r=0;r=0?"x":"y"}function Y(e,t,r){return Math.max(e,Math.min(t,r))}function K(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function G(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}var J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,i=r.elements.arrow,o=r.modifiersData.popperOffsets,a=V(r.placement),s=q(a),u=[O,T].indexOf(a)>=0?"height":"width";if(i&&o){var c=r.modifiersData[n+"#persistent"].padding,l=y(i),f="y"===s?C:O,d="y"===s?k:T,p=r.rects.reference[u]+r.rects.reference[s]-o[s]-r.rects.popper[u],h=o[s]-r.rects.reference[s],v=x(i),m=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=p/2-h/2,b=c[f],_=m-l[u]-c[d],w=m/2-l[u]/2+g,S=Y(b,w,_),E=s;r.modifiersData[n]=((t={})[E]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,r=e.options,n=e.name,i=r.element,o=void 0===i?"[data-popper-arrow]":i,a=r.padding,s=void 0===a?0:a;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&H(t.elements.popper,o)&&(t.elements.arrow=o,t.modifiersData[n+"#persistent"]={padding:K("number"!=typeof s?s:G(s,A))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.offsets,a=e.position,s=e.gpuAcceleration,c=e.adaptive,l=function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:Math.round(t*n)/n||0,y:Math.round(r*n)/n||0}}(o),f=l.x,d=l.y,h=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),m=O,g=C,y=window;if(c){var b=x(r);b===u(r)&&(b=p(r)),i===C&&(g=k,d-=b.clientHeight-n.height,d*=s?1:-1),i===O&&(m=T,f-=b.clientWidth-n.width,f*=s?1:-1)}var _,w=Object.assign({position:a},c&&W);return s?Object.assign(Object.assign({},w),{},((_={})[g]=v?"0":"",_[m]=h?"0":"",_.transform=(y.devicePixelRatio||1)<2?"translate("+f+"px, "+d+"px)":"translate3d("+f+"px, "+d+"px, 0)",_)):Object.assign(Object.assign({},w),{},((t={})[g]=v?d+"px":"",t[m]=h?f+"px":"",t.transform="",t))}var X={passive:!0};var Z={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return Z[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function re(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ne(e,t){return t===R?re(function(e){var t=u(e),r=p(e),n=t.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,s=0;return n&&(i=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,s=n.offsetTop)),{width:i,height:o,x:a+h(e),y:s}}(e)):f(t)?function(e){var t=s(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):re(function(e){var t=p(e),r=c(e),n=e.ownerDocument.body,i=Math.max(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),o=Math.max(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-r.scrollLeft+h(e),s=-r.scrollTop;return"rtl"===v(n||t).direction&&(a+=Math.max(t.clientWidth,n?n.clientWidth:0)-i),{width:i,height:o,x:a,y:s}}(p(e)))}function ie(e,t,r){var n="clippingParents"===t?function(e){var t=w(b(e)),r=["absolute","fixed"].indexOf(v(e).position)>=0&&f(e)?x(e):e;return l(r)?t.filter((function(e){return l(e)&&H(e,r)&&"body"!==d(e)})):[]}(e):[].concat(t),i=[].concat(n,[r]),o=i[0],a=i.reduce((function(t,r){var n=ne(e,r);return t.top=Math.max(n.top,t.top),t.right=Math.min(n.right,t.right),t.bottom=Math.min(n.bottom,t.bottom),t.left=Math.max(n.left,t.left),t}),ne(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function oe(e){return e.split("-")[1]}function ae(e){var t,r=e.reference,n=e.element,i=e.placement,o=i?V(i):null,a=i?oe(i):null,s=r.x+r.width/2-n.width/2,u=r.y+r.height/2-n.height/2;switch(o){case C:t={x:s,y:r.y-n.height};break;case k:t={x:s,y:r.y+r.height};break;case T:t={x:r.x+r.width,y:u};break;case O:t={x:r.x-n.width,y:u};break;default:t={x:r.x,y:r.y}}var c=o?q(o):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case M:t[c]=Math.floor(t[c])-Math.floor(r[l]/2-n[l]/2);break;case j:t[c]=Math.floor(t[c])+Math.ceil(r[l]/2-n[l]/2)}}return t}function se(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=void 0===n?e.placement:n,o=r.boundary,a=void 0===o?"clippingParents":o,u=r.rootBoundary,c=void 0===u?R:u,f=r.elementContext,d=void 0===f?L:f,h=r.altBoundary,v=void 0!==h&&h,m=r.padding,g=void 0===m?0:m,y=K("number"!=typeof g?g:G(g,A)),b=d===L?"reference":L,_=e.elements.reference,w=e.rects.popper,S=e.elements[v?b:d],E=ie(l(S)?S:S.contextElement||p(e.elements.popper),a,c),x=s(_),O=ae({reference:x,element:w,strategy:"absolute",placement:i}),P=re(Object.assign(Object.assign({},w),O)),M=d===L?P:x,j={top:E.top-M.top+y.top,bottom:M.bottom-E.bottom+y.bottom,left:E.left-M.left+y.left,right:M.right-E.right+y.right},I=e.modifiersData.offset;if(d===L&&I){var D=I[i];Object.keys(j).forEach((function(e){var t=[T,k].indexOf(e)>=0?1:-1,r=[C,k].indexOf(e)>=0?"y":"x";j[e]+=D[r]*t}))}return j}var ue={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0!==a&&a,u=r.boundary,c=r.rootBoundary,l=r.altBoundary,f=r.padding,d=r.tether,p=void 0===d||d,h=r.tetherOffset,v=void 0===h?0:h,m=se(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:l}),g=V(t.placement),b=oe(t.placement),_=!b,w=q(g),S="x"===w?"y":"x",E=t.modifiersData.popperOffsets,P=t.rects.reference,A=t.rects.popper,j="function"==typeof v?v(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):v,R={x:0,y:0};if(E){if(o){var L="y"===w?C:O,I="y"===w?k:T,D="y"===w?"height":"width",N=E[w],B=E[w]+m[L],U=E[w]-m[I],F=p?-A[D]/2:0,z=b===M?P[D]:A[D],H=b===M?-A[D]:-P[D],K=t.elements.arrow,G=p&&K?y(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=J[L],$=J[I],X=Y(0,P[D],G[D]),Z=_?P[D]/2-F-X-W-j:z-X-W-j,Q=_?-P[D]/2+F+X+$+j:H+X+$+j,ee=t.elements.arrow&&x(t.elements.arrow),te=ee?"y"===w?ee.clientTop||0:ee.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,ne=E[w]+Z-re-te,ie=E[w]+Q-re,ae=Y(p?Math.min(B,ne):B,N,p?Math.max(U,ie):U);E[w]=ae,R[w]=ae-N}if(s){var ue="x"===w?C:O,ce="x"===w?k:T,le=E[S],fe=Y(le+m[ue],le,le-m[ce]);E[S]=fe,R[S]=fe-le}t.modifiersData[n]=R}},requiresIfExists:["offset"]};var ce=["top-start","top","top-end","bottom-start","bottom","bottom-end","right-start","right","right-end","left-start","left","left-end"],le="top",fe="left",de="right",pe="bottom";function he(e,t){var r=function(e){return e.split("-")[0]}(e),n=[fe,le].indexOf(r)>=0?-1:1,i=t[0]||0,o=(t[1]||0)*n;return[fe,de].indexOf(r)>=0?{x:o,y:i}:{x:i,y:o}}var ve={name:"patchScaleFactor",enabled:!0,fn:function(e){var t,r=e.state,i=e.instance;i.__patchCounter=null!==(t=i.__patchCounter)&&void 0!==t?t:0;var o=r.elements.reference,a=i.__patchCounter;if(a>2)return;if(!(o instanceof HTMLElement))return;var s=(0,n.__read)(function(e){var t=window.getComputedStyle(e),r=t.transform||t.webkitTransform,n=r.indexOf("3d")>=0?"3d":"2d",i=r.match(/matrix.*\((.+)\)/);if("2d"===n&&null!==i){var o=i[1].split(", ");return[Number(o[0]),Number(o[3])]}return[1,1]}(o),2),u=s[0],c=s[1];if(1===a&&(1!==u||1!==c)){var l=r.rects.reference,f=l.width,d=l.height,p=Number((f/u).toFixed(2)),h=Number((d/c).toFixed(2)),v=(p-f)/2,m=(h-d)/2;r.rects.reference={x:Math.round(r.rects.reference.x-v),y:Math.round(r.rects.reference.y-m),width:p,height:h}}i.__patchCounter++},phase:"beforeRead",requires:["popperOffsets"]};function me(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ge(e){return[le,de,pe,fe].some((function(t){return e[t]>=0}))}var ye=z({defaultModifiers:[{name:"applyStyles",enabled:!0,fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e];i instanceof HTMLElement&&(Object.assign(i.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={position:t.options.strategy,left:0,top:0,right:"auto",bottom:"auto",margin:0};Object.assign(t.elements.popper.style,r)},phase:"write",requires:["computeStyles"]},J,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=void 0===n||n,o=r.adaptive,a=void 0===o||o,s={placement:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),$(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),$(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=void 0===i||i,a=n.resize,s=void 0===a||a,c=u(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach((function(e){e.addEventListener("scroll",r.update,X)})),s&&c.addEventListener("resize",r.update,X),function(){o&&l.forEach((function(e){e.removeEventListener("scroll",r.update,X)})),s&&c.removeEventListener("resize",r.update,X)}},data:{}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0===a||a,u=r.fallbackPlacements,c=r.padding,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,p=r.flipVariations,h=void 0===p||p,v=r.allowedAutoPlacements,m=t.options.placement,g=V(m),y=u||(g===m||!h?[Q(m)]:function(e){if(V(e)===P)return[];var t=Q(e);return[te(e),t,te(t)]}(m)),b=[m].concat(y).reduce((function(e,r){return e.concat(V(r)===P?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=void 0===u?D:u,l=oe(n),f=l?s?I:I.filter((function(e){return oe(e)===l})):A,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,r){return t[r]=se(e,{placement:r,boundary:i,rootBoundary:o,padding:a})[V(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:r,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):r)}),[]),_=t.rects.reference,w=t.rects.popper,S=new Map,E=!0,x=b[0],j=0;j=0,U=B?"width":"height",F=se(t,{placement:R,boundary:l,rootBoundary:f,altBoundary:d,padding:c}),z=B?N?T:O:N?k:C;_[U]>w[U]&&(z=Q(z));var H=Q(z),q=[];if(o&&q.push(F[L]<=0),s&&q.push(F[z]<=0,F[H]<=0),q.every((function(e){return e}))){x=R,E=!1;break}S.set(R,q)}if(E)for(var Y=function(e){var t=b.find((function(t){var r=S.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return x=t,"break"},K=h?3:1;K>0;K--){if("break"===Y(K))break}t.placement!==x&&(t.modifiersData[n]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,i=e.options.boundary,o=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,u=se(t,{elementContext:"reference",boundary:i}),c=se(t,{altBoundary:!0,boundary:i}),l=me(u,o),f=me(c,a,s),d=ge(l),p=ge(f);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=(0,n.__assign)((0,n.__assign)({},t.attributes.popper),{"data-popper-reference-hidden":d,"data-popper-escaped":p})}},{name:"offset",enabled:!0,fn:function(e){var t=e.state,r=e.options,n=r.offset,i=void 0===n?[0,0]:n,o=r.tailOffset;t.modifiersData.arrow&&o&&(t.modifiersData.arrow.x&&(t.modifiersData.arrow.x+=o),t.modifiersData.arrow.y&&(t.modifiersData.arrow.y+=o));if(t.modifiersData.popperOffsets&&t.elements.arrow){var a=(l=t.elements.arrow,{x:l.offsetLeft,y:l.offsetTop,width:l.offsetWidth,height:l.offsetHeight}).width,s=he(t.placement,[0,a/2]),u=s.x,c=s.y;t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c}var l;var f=ce.reduce((function(e,t){return e[t]=he(t,i),e}),{}),d=f[t.placement],p=d.x,h=d.y;t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x=Math.round(t.modifiersData.popperOffsets.x+p),t.modifiersData.popperOffsets.y=Math.round(t.modifiersData.popperOffsets.y+h));t.modifiersData.offset=f},phase:"main",requires:["popperOffsets"]},ve,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=ae({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ue]});function be(e){var t=e.anchorRef,r=e.arrowMarginThreshold,s=void 0===r?4:r,u=e.placement,c=void 0===u?"bottom":u,l=e.enabled,f=void 0===l||l,d=e.marginThreshold,p=void 0===d?16:d,h=e.modifiers,v=void 0===h?[]:h,m=e.motionless,g=e.offset,y=e.unsafe_tailOffset,b=e.children,_=e.boundary,w=Array.isArray(c)?c:[c],S=(0,i.useRef)(null),E=(0,i.useRef)(null),x=(0,n.__read)((0,i.useState)(null),2),C=x[0],k=x[1],T=(0,n.__read)((0,i.useState)(null),2),O=T[0],P=T[1],A=(0,i.useMemo)((function(){var e=(0,n.__read)(w),t=e[0],r=e.slice(1),i=function(e){var t=(Array.isArray(e)?e:[e]).reduce((function(e,t){return t&&t.current&&e.push(t.current),e}),[]);return t.length?t:void 0}(_),a={children:b,placement:t,modifiers:(0,n.__spread)([{name:"eventListeners",enabled:!m},{name:"offset",options:{offset:g,tailOffset:y}},{name:"computeStyles",options:{gpuAcceleration:!1}},{name:"preventOverflow",options:{altBoundary:!0,boundary:i}},{name:"arrow",enabled:Boolean(O),options:{element:O,padding:s}},{name:"flip",options:{padding:p,fallbackPlacements:r,altBoundary:!0,boundary:i}},{name:"hide",options:{boundary:i}}],v)};return o(E.current,a)?E.current||a:E.current=a}),[w,g,O,s,m,p,y,v,b,_]);return(0,a.L)((function(){null!==S.current&&S.current.setOptions(A)}),[A]),(0,a.L)((function(){return t.current&&C&&f&&(S.current=ye(t.current,C,A),S.current.forceUpdate()),function(){null!==S.current&&(S.current.destroy(),S.current=null)}}),[t,C,f]),{popper:S.current,setArrowRef:P,setPopupRef:k}}var _e={top:0,right:0,bottom:0,left:0};function we(e){void 0===e&&(e={});var t=e.rect,r=e.contextElement,n=(0,i.useRef)(_e),o=(0,i.useRef)({contextElement:r,getBoundingClientRect:function(){var e=n.current,t=e.top,r=e.right,i=e.bottom,o=e.left;return{top:t,right:r,bottom:i,left:o,width:r-o,height:i-t}}});if(o.current.contextElement=r,t){var a=t.top,s=void 0===a?0:a,u=t.left,c=void 0===u?0:u,l=t.right,f=void 0===l?c:l,d=t.bottom,p=void 0===d?s:d;n.current={top:s,right:f,bottom:p,left:c}}else n.current=_e;return o}var Se={name:"applyMinWidth",enabled:!0,fn:function(e){var t=e.state;t.styles.popper.minWidth=t.rects.reference.width+"px"},effect:function(e){var t=e.state;t.elements.reference instanceof HTMLElement&&(t.elements.popper.style.minWidth=t.elements.reference.offsetWidth+"px")},phase:"beforeWrite",requires:["computeStyles"]};var Ee={name:"applyMaxHeight",enabled:!0,fn:function(e){var t=e.state,r=e.options,i=r.maxHeight,o=r.padding,a=se(t,{padding:void 0===o?16:o}),s=(t.modifiersData.preventOverflow||{y:0}).y,u=t.rects.popper.height,c=(0,n.__read)(t.placement.split("-"),1)[0],l=u-a["top"===c?"top":"bottom"]-s,f=i?Math.min(l-s,i):l;t.styles.popper=(0,n.__assign)((0,n.__assign)({},t.styles.popper),{maxHeight:f+"px"})},phase:"main",requires:["computeStyles"]}},25937:function(e,t,r){"use strict";r.r(t),r.d(t,{useTextFieldHint:function(){return o}});var n=r(70655),i=r(63804);function o(e){var t,r,o,a,s=e.hint,u=(0,n.__read)((0,i.useState)(s),2),c=u[0],l=u[1],f=(0,n.__read)((0,i.useState)(!1),2),d=f[0],p=f[1],h=(0,i.useRef)(s);return t=function(){s&&l(s),p(Boolean(h.current&&!s)),h.current=s},r=[s],o=(0,i.useRef)(!0),(a=(0,i.useRef)(t)).current=t,(0,i.useEffect)((function(){if(!o.current)return a.current();o.current=!1}),r),{hint:c,hintProps:{leave:d,onAnimationEnd:(0,i.useCallback)((function(){s||(l(""),p(!1))}),[s])}}}},85982:function(e,t,r){"use strict";r.r(t),r.d(t,{useUniqId:function(){return s}});var n=r(70655),i=r(63804),o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,a=r(1271);function s(e){var t=function(e){var t=(0,i.useContext)(a.qh),r=(0,n.__read)((0,i.useState)((function(){return"xuniq-"+t.id+"-"+ ++t.value})),1)[0];return console.assert(o||t!==a.HZ,"When using ssr in a project, you must wrap the application in for id synchronization between the server and the client."),e||r}();return(0,n.__read)((0,i.useState)((function(){return e?e+t.replace("xuniq",""):t})),1)[0]}},71797:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;t.canUseDOM=function(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}},29067:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDisplayName=void 0,t.getDisplayName=function(e){return e.displayName||e.name||"Component"}},83934:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAllRefs=t.mergeRefs=void 0;var n=r(71797);t.mergeRefs=function(e){for(var t=[],r=1;r0?f-4:f;for(e=0;e>16&255,h[a++]=r>>8&255,h[a++]=255&r;2===u&&(r=n[t.charCodeAt(e)]<<2|n[t.charCodeAt(e+1)]>>4,h[a++]=255&r);1===u&&(r=n[t.charCodeAt(e)]<<10|n[t.charCodeAt(e+1)]<<4|n[t.charCodeAt(e+2)]>>2,h[a++]=r>>8&255,h[a++]=255&r);return h},r.fromByteArray=function(t){for(var r,n=t.length,o=n%3,i=[],f=16383,u=0,s=n-o;us?s:u+f));1===o?(r=t[n-1],i.push(e[r>>2]+e[r<<4&63]+"==")):2===o&&(r=(t[n-2]<<8)+t[n-1],i.push(e[r>>10]+e[r>>4&63]+e[r<<2&63]+"="));return i.join("")};for(var e=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,u=i.length;f0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");return-1===e&&(e=r),[e,e===r?0:4-e%4]}function h(t,r,n){for(var o,i,f=[],u=r;u>18&63]+e[i>>12&63]+e[i>>6&63]+e[63&i]);return f.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},423:function(t,r,e){"use strict";function n(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function o(t,r){for(var e=0;eg)throw new RangeError(\'The value "\'+t+\'" is invalid for option "size"\');var r=new Uint8Array(t);return Object.setPrototypeOf(r,d.prototype),r}function d(t,r,e){if("number"==typeof t){if("string"==typeof r)throw new TypeError(\'The "string" argument must be of type string. Received type number\');return b(t)}return v(t,r,e)}function v(t,r,e){if("string"==typeof t)return function(t,r){"string"==typeof r&&""!==r||(r="utf8");if(!d.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=0|A(t,r),n=y(e),o=n.write(t,r);o!==e&&(n=n.slice(0,o));return n}(t,r);if(ArrayBuffer.isView(t))return function(t){if(nt(t,Uint8Array)){var r=new Uint8Array(t);return B(r.buffer,r.byteOffset,r.byteLength)}return m(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+a(t));if(nt(t,ArrayBuffer)||t&&nt(t.buffer,ArrayBuffer))return B(t,r,e);if("undefined"!=typeof SharedArrayBuffer&&(nt(t,SharedArrayBuffer)||t&&nt(t.buffer,SharedArrayBuffer)))return B(t,r,e);if("number"==typeof t)throw new TypeError(\'The "value" argument must not be of type number. Received type number\');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return d.from(n,r,e);var o=function(t){if(d.isBuffer(t)){var r=0|E(t.length),e=y(r);return 0===e.length||t.copy(e,0,0,r),e}if(void 0!==t.length)return"number"!=typeof t.length||ot(t.length)?y(0):m(t);if("Buffer"===t.type&&Array.isArray(t.data))return m(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return d.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+a(t))}function w(t){if("number"!=typeof t)throw new TypeError(\'"size" argument must be of type number\');if(t<0)throw new RangeError(\'The value "\'+t+\'" is invalid for option "size"\')}function b(t){return w(t),y(t<0?0:0|E(t))}function m(t){for(var r=t.length<0?0:0|E(t.length),e=y(r),n=0;n=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|t}function A(t,r){if(d.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||nt(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError(\'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type \'+a(t));var e=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===e)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return tt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return rt(t).length;default:if(o)return n?-1:tt(t).length;r=(""+r).toLowerCase(),o=!0}}function _(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(r>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,r,e);case"utf8":case"utf-8":return C(this,r,e);case"ascii":return P(this,r,e);case"latin1":case"binary":return j(this,r,e);case"base64":return L(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function I(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function U(t,r,e,n,o){if(0===t.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),ot(e=+e)&&(e=o?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(o)return-1;e=t.length-1}else if(e<0){if(!o)return-1;e=0}if("string"==typeof r&&(r=d.from(r,n)),d.isBuffer(r))return 0===r.length?-1:R(t,r,e,n,o);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):R(t,[r],e,n,o);throw new TypeError("val must be string, number or Buffer")}function R(t,r,e,n,o){var i,f=1,u=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;f=2,u/=2,s/=2,e/=2}function h(t,r){return 1===f?t[r]:t.readUInt16BE(r*f)}if(o){var a=-1;for(i=e;iu&&(e=u-s),i=e;i>=0;i--){for(var c=!0,p=0;po&&(n=o):n=o;var i,f=r.length;for(n>f/2&&(n=f/2),i=0;i>8,o=e%256,i.push(o),i.push(n);return i}(r,t.length-e),t,e,n)}function L(t,r,e){return 0===r&&e===t.length?c.fromByteArray(t):c.fromByteArray(t.slice(r,e))}function C(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;o239?4:i>223?3:i>191?2:1;if(o+u<=e){var s=void 0,h=void 0,a=void 0,c=void 0;switch(u){case 1:i<128&&(f=i);break;case 2:128==(192&(s=t[o+1]))&&(c=(31&i)<<6|63&s)>127&&(f=c);break;case 3:s=t[o+1],h=t[o+2],128==(192&s)&&128==(192&h)&&(c=(15&i)<<12|(63&s)<<6|63&h)>2047&&(c<55296||c>57343)&&(f=c);break;case 4:s=t[o+1],h=t[o+2],a=t[o+3],128==(192&s)&&128==(192&h)&&128==(192&a)&&(c=(15&i)<<18|(63&s)<<12|(63&h)<<6|63&a)>65535&&c<1114112&&(f=c)}}null===f?(f=65533,u=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=u}return function(t){var r=t.length;if(r<=k)return String.fromCharCode.apply(String,t);var e="",n=0;for(;nn.length?(d.isBuffer(i)||(i=d.from(i)),i.copy(n,o)):Uint8Array.prototype.set.call(n,i,o);else{if(!d.isBuffer(i))throw new TypeError(\'"list" argument must be an Array of Buffers\');i.copy(n,o)}o+=i.length}return n},d.byteLength=A,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;re&&(t+=" ... "),""},l&&(d.prototype[l]=d.prototype.inspect),d.prototype.compare=function(t,r,e,n,o){if(nt(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(t))throw new TypeError(\'The "target" argument must be one of type Buffer or Uint8Array. Received type \'+a(t));if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||e>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return-1;if(r>=e)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),f=(e>>>=0)-(r>>>=0),u=Math.min(i,f),s=this.slice(n,o),h=t.slice(r,e),c=0;c>>=0,isFinite(e)?(e>>>=0,void 0===n&&(n="utf8")):(n=e,e=void 0)}var o=this.length-r;if((void 0===e||e>o)&&(e=o),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return O(this,t,r,e);case"utf8":case"utf-8":return x(this,t,r,e);case"ascii":case"latin1":case"binary":return M(this,t,r,e);case"base64":return T(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,r,e);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function P(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;on)&&(e=n);for(var o="",i=r;ie)throw new RangeError("Trying to access beyond buffer length")}function D(t,r,e,n,o,i){if(!d.isBuffer(t))throw new TypeError(\'"buffer" argument must be a Buffer instance\');if(r>o||rt.length)throw new RangeError("Index out of range")}function Y(t,r,e,n,o){K(r,n,o,t,e,7);var i=Number(r&BigInt(4294967295));t[e++]=i,i>>=8,t[e++]=i,i>>=8,t[e++]=i,i>>=8,t[e++]=i;var f=Number(r>>BigInt(32)&BigInt(4294967295));return t[e++]=f,f>>=8,t[e++]=f,f>>=8,t[e++]=f,f>>=8,t[e++]=f,e}function W(t,r,e,n,o){K(r,n,o,t,e,7);var i=Number(r&BigInt(4294967295));t[e+7]=i,i>>=8,t[e+6]=i,i>>=8,t[e+5]=i,i>>=8,t[e+4]=i;var f=Number(r>>BigInt(32)&BigInt(4294967295));return t[e+3]=f,f>>=8,t[e+2]=f,f>>=8,t[e+1]=f,f>>=8,t[e]=f,e+8}function G(t,r,e,n,o,i){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function H(t,r,e,n,o){return r=+r,e>>>=0,o||G(t,0,e,4),p.write(t,r,e,n,23,4),e+4}function V(t,r,e,n,o){return r=+r,e>>>=0,o||G(t,0,e,8),p.write(t,r,e,n,52,8),e+8}d.prototype.slice=function(t,r){var e=this.length;(t=~~t)<0?(t+=e)<0&&(t=0):t>e&&(t=e),(r=void 0===r?e:~~r)<0?(r+=e)<0&&(r=0):r>e&&(r=e),r>>=0,r>>>=0,e||F(t,r,this.length);for(var n=this[t],o=1,i=0;++i>>=0,r>>>=0,e||F(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},d.prototype.readUint8=d.prototype.readUInt8=function(t,r){return t>>>=0,r||F(t,1,this.length),this[t]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(t,r){return t>>>=0,r||F(t,2,this.length),this[t]|this[t+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(t,r){return t>>>=0,r||F(t,2,this.length),this[t]<<8|this[t+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(t,r){return t>>>=0,r||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(t,r){return t>>>=0,r||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},d.prototype.readBigUInt64LE=ft((function(t){Q(t>>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=r+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),o=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+e*Math.pow(2,24);return BigInt(n)+(BigInt(o)<>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=r*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],o=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+e;return(BigInt(n)<>>=0,r>>>=0,e||F(t,r,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*r)),n},d.prototype.readIntBE=function(t,r,e){t>>>=0,r>>>=0,e||F(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*r)),i},d.prototype.readInt8=function(t,r){return t>>>=0,r||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},d.prototype.readInt16LE=function(t,r){t>>>=0,r||F(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},d.prototype.readInt16BE=function(t,r){t>>>=0,r||F(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},d.prototype.readInt32LE=function(t,r){return t>>>=0,r||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},d.prototype.readInt32BE=function(t,r){return t>>>=0,r||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},d.prototype.readBigInt64LE=ft((function(t){Q(t>>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(e<<24);return(BigInt(n)<>>=0,"offset");var r=this[t],e=this[t+7];void 0!==r&&void 0!==e||X(t,this.length-8);var n=(r<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(n)<>>=0,r||F(t,4,this.length),p.read(this,t,!0,23,4)},d.prototype.readFloatBE=function(t,r){return t>>>=0,r||F(t,4,this.length),p.read(this,t,!1,23,4)},d.prototype.readDoubleLE=function(t,r){return t>>>=0,r||F(t,8,this.length),p.read(this,t,!0,52,8)},d.prototype.readDoubleBE=function(t,r){return t>>>=0,r||F(t,8,this.length),p.read(this,t,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(t,r,e,n){(t=+t,r>>>=0,e>>>=0,n)||D(this,t,r,e,Math.pow(2,8*e)-1,0);var o=1,i=0;for(this[r]=255&t;++i>>=0,e>>>=0,n)||D(this,t,r,e,Math.pow(2,8*e)-1,0);var o=e-1,i=1;for(this[r+o]=255&t;--o>=0&&(i*=256);)this[r+o]=t/i&255;return r+e},d.prototype.writeUint8=d.prototype.writeUInt8=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,1,255,0),this[r]=255&t,r+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},d.prototype.writeBigUInt64LE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Y(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))})),d.prototype.writeBigUInt64BE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return W(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))})),d.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r>>>=0,!n){var o=Math.pow(2,8*e-1);D(this,t,r,e,o-1,-o)}var i=0,f=1,u=0;for(this[r]=255&t;++i>0)-u&255;return r+e},d.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r>>>=0,!n){var o=Math.pow(2,8*e-1);D(this,t,r,e,o-1,-o)}var i=e-1,f=1,u=0;for(this[r+i]=255&t;--i>=0&&(f*=256);)t<0&&0===u&&0!==this[r+i+1]&&(u=1),this[r+i]=(t/f>>0)-u&255;return r+e},d.prototype.writeInt8=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},d.prototype.writeInt16LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},d.prototype.writeInt16BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},d.prototype.writeInt32LE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},d.prototype.writeInt32BE=function(t,r,e){return t=+t,r>>>=0,e||D(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},d.prototype.writeBigInt64LE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Y(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),d.prototype.writeBigInt64BE=ft((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return W(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),d.prototype.writeFloatLE=function(t,r,e){return H(this,t,r,!0,e)},d.prototype.writeFloatBE=function(t,r,e){return H(this,t,r,!1,e)},d.prototype.writeDoubleLE=function(t,r,e){return V(this,t,r,!0,e)},d.prototype.writeDoubleBE=function(t,r,e){return V(this,t,r,!1,e)},d.prototype.copy=function(t,r,e,n){if(!d.isBuffer(t))throw new TypeError("argument should be a Buffer");if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),"number"==typeof t)for(i=r;i=n+4;e-=3)r="_".concat(t.slice(e-3,e)).concat(r);return"".concat(t.slice(0,e)).concat(r)}function K(t,r,e,n,o,i){if(t>e||t3?0===r||r===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(i+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(i+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(i+1)-1).concat(u):">= ".concat(r).concat(u," and <= ").concat(e).concat(u),new q.ERR_OUT_OF_RANGE("value",f,t)}!function(t,r,e){Q(r,"offset"),void 0!==t[r]&&void 0!==t[r+e]||X(r,t.length-(e+1))}(n,o,i)}function Q(t,r){if("number"!=typeof t)throw new q.ERR_INVALID_ARG_TYPE(r,"number",t)}function X(t,r,e){if(Math.floor(t)!==t)throw Q(t,e),new q.ERR_OUT_OF_RANGE(e||"offset","an integer",t);if(r<0)throw new q.ERR_BUFFER_OUT_OF_BOUNDS;throw new q.ERR_OUT_OF_RANGE(e||"offset",">= ".concat(e?1:0," and <= ").concat(r),t)}J("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?"".concat(t," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),J("ERR_INVALID_ARG_TYPE",(function(t,r){return\'The "\'.concat(t,\'" argument must be of type number. Received type \').concat(a(r))}),TypeError),J("ERR_OUT_OF_RANGE",(function(t,r,e){var n=\'The value of "\'.concat(t,\'" is out of range.\'),o=e;return Number.isInteger(e)&&Math.abs(e)>Math.pow(2,32)?o=Z(String(e)):"bigint"==typeof e&&(o=String(e),(e>Math.pow(BigInt(2),BigInt(32))||e<-Math.pow(BigInt(2),BigInt(32)))&&(o=Z(o)),o+="n"),n+=" It must be ".concat(r,". Received ").concat(o)}),RangeError);var $=/[^+/0-9A-Za-z-_]/g;function tt(t,r){var e;r=r||1/0;for(var n=t.length,o=null,i=[],f=0;f55295&&e<57344){if(!o){if(e>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(f+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(e<56320){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=65536+(o-55296<<10|e-56320)}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,e<128){if((r-=1)<0)break;i.push(e)}else if(e<2048){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return i}function rt(t){return c.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace($,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function et(t,r,e,n){var o;for(o=0;o=r.length||o>=t.length);++o)r[o+e]=t[o];return o}function nt(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}function ot(t){return t!=t}var it=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=16*e,o=0;o<16;++o)r[n+o]=t[e]+t[o];return r}();function ft(t){return"undefined"==typeof BigInt?ut:t}function ut(){throw new Error("BigInt not supported")}},429:function(t,r){r.read=function(t,r,e,n,o){var i,f,u=8*o-n-1,s=(1<>1,a=-7,c=e?o-1:0,p=e?-1:1,l=t[r+c];for(c+=p,i=l&(1<<-a)-1,l>>=-a,a+=u;a>0;i=256*i+t[r+c],c+=p,a-=8);for(f=i&(1<<-a)-1,i>>=-a,a+=n;a>0;f=256*f+t[r+c],c+=p,a-=8);if(0===i)i=1-h;else{if(i===s)return f?NaN:1/0*(l?-1:1);f+=Math.pow(2,n),i-=h}return(l?-1:1)*f*Math.pow(2,i-n)},r.write=function(t,r,e,n,o,i){var f,u,s,h=8*i-o-1,a=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,l=n?0:i-1,g=n?1:-1,y=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,f=a):(f=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-f))<1&&(f--,s*=2),(r+=f+c>=1?p/s:p*Math.pow(2,1-c))*s>=2&&(f++,s/=2),f+c>=a?(u=0,f=a):f+c>=1?(u=(r*s-1)*Math.pow(2,o),f+=c):(u=r*Math.pow(2,c-1)*Math.pow(2,o),f=0));o>=8;t[e+l]=255&u,l+=g,u/=256,o-=8);for(f=f<0;t[e+l]=255&f,l+=g,f/=256,h-=8);t[e+l-g]|=128*y}},474:function(t,r,e){"use strict";var n=e(957),o=e(158);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=i,i.prototype.update=function(t,r){if(t=n.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var e=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-e,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-e,this.endian);for(var o=0;o>>24&255,n[o++]=t>>>16&255,n[o++]=t>>>8&255,n[o++]=255&t}else for(n[o++]=255&t,n[o++]=t>>>8&255,n[o++]=t>>>16&255,n[o++]=t>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i>>3},r.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},957:function(t,r,e){"use strict";var n=e(158),o=e(842);function i(t,r){return 55296==(64512&t.charCodeAt(r))&&(!(r<0||r+1>=t.length)&&56320==(64512&t.charCodeAt(r+1)))}function f(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function u(t){return 1===t.length?"0"+t:t}function s(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}r.inherits=o,r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var e=[];if("string"==typeof t)if(r){if("hex"===r)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),o=0;o>6|192,e[n++]=63&f|128):i(t,o)?(f=65536+((1023&f)<<10)+(1023&t.charCodeAt(++o)),e[n++]=f>>18|240,e[n++]=f>>12&63|128,e[n++]=f>>6&63|128,e[n++]=63&f|128):(e[n++]=f>>12|224,e[n++]=f>>6&63|128,e[n++]=63&f|128)}else for(o=0;o>>0}return f},r.split32=function(t,r){for(var e=new Array(4*t.length),n=0,o=0;n>>24,e[o+1]=i>>>16&255,e[o+2]=i>>>8&255,e[o+3]=255&i):(e[o+3]=i>>>24,e[o+2]=i>>>16&255,e[o+1]=i>>>8&255,e[o]=255&i)}return e},r.rotr32=function(t,r){return t>>>r|t<<32-r},r.rotl32=function(t,r){return t<>>32-r},r.sum32=function(t,r){return t+r>>>0},r.sum32_3=function(t,r,e){return t+r+e>>>0},r.sum32_4=function(t,r,e,n){return t+r+e+n>>>0},r.sum32_5=function(t,r,e,n,o){return t+r+e+n+o>>>0},r.sum64=function(t,r,e,n){var o=t[r],i=n+t[r+1]>>>0,f=(i>>0,t[r+1]=i},r.sum64_hi=function(t,r,e,n){return(r+n>>>0>>0},r.sum64_lo=function(t,r,e,n){return r+n>>>0},r.sum64_4_hi=function(t,r,e,n,o,i,f,u){var s=0,h=r;return s+=(h=h+n>>>0)>>0)>>0)>>0},r.sum64_4_lo=function(t,r,e,n,o,i,f,u){return r+n+i+u>>>0},r.sum64_5_hi=function(t,r,e,n,o,i,f,u,s,h){var a=0,c=r;return a+=(c=c+n>>>0)>>0)>>0)>>0)>>0},r.sum64_5_lo=function(t,r,e,n,o,i,f,u,s,h){return r+n+i+u+h>>>0},r.rotr64_hi=function(t,r,e){return(r<<32-e|t>>>e)>>>0},r.rotr64_lo=function(t,r,e){return(t<<32-e|r>>>e)>>>0},r.shr64_hi=function(t,r,e){return t>>>e},r.shr64_lo=function(t,r,e){return(t<<32-e|r>>>e)>>>0}},842:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var e=function(){};e.prototype=r.prototype,t.prototype=new e,t.prototype.constructor=t}}},158:function(t){function r(t,r){if(!t)throw new Error(r||"Assertion failed")}t.exports=r,r.equal=function(t,r,e){if(t!=r)throw new Error(e||"Assertion failed: "+t+" != "+r)}},1:function(t,r,e){"use strict";r.utils=e(897),r.Bloom=e(492),r.Solver=e(634),r.Verifier=e(865)},492:function(t){"use strict";function r(t,r,e){this.filter=new Uint32Array(Math.ceil(t/32)),this.size=t,this.n=r,this.tweak=e}function e(t,r){var e,n,o,i=65535&t,f=65535&r;return o=(t>>>16)*f+(r>>>16)*i&65535,(e=(o+=(n=i*f)>>>16)<<16|(n&=65535))<0&&(e+=4294967296),e}function n(t,r){var e=t+r&4294967295;return e<0&&(e+=4294967296),e}function o(t,r){return t<>>32-r}t.exports=r,r.prototype.hash=function(t,r){return function(t,r){var i,f,u,s,h=3432918353,a=461845907,c=15,p=13,l=5,g=3864292196,y=r;for(i=0;i+4<=t.length;i+=4)f=e(f=t[i]|t[i+1]<<8|t[i+2]<<16|t[i+3]<<24,h),f=e(f=o(f,c),a),y=n(y=e(y=o(y^=f,p),l),g);if(i!==t.length){for(u=0,s=t.length-1;s>=i;s--)u=u<<8|t[s];(u=o(u=e(u,h),c))<0&&(u+=4294967296),y^=u=e(u,a)}y^=t.length,y=e(y^=y>>>16,2246822507),y=e(y^=y>>>13,3266489909),(y^=y>>>16)<0&&(y+=4294967296);return y}(t,n(e(r,4221880213),this.tweak))%this.size},r.prototype.reset=function(){this.filter.fill(0)},r.prototype.add=function(t){for(var r=0;r>5;this.filter[o]|=n}},r.prototype.test=function(t){for(var r=0;r>5;if(0==(this.filter[o]&n))return!1}return!0}},634:function(t,r,e){"use strict";var n=e(897);function o(){}t.exports=o,o.prototype._genNonce=function(t){for(var r=Date.now(),e=n.writeTimestamp(t,r,0),o=e+4*((t.length-e)/4|0);e>>0,e);for(;e>>0},o.prototype.solve=function(t,r){for(var e=n.allocBuffer(16);;){this._genNonce(e);var o=n.hash(e,r);if(n.checkComplexity(o,t))return e}}},897:function(t,r,e){"use strict";var n=e(670);function o(t,r){return(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3])>>>0}function i(t,r,e){return t[e]=r>>>24&255,t[e+1]=r>>>16&255,t[e+2]=r>>>8&255,t[e+3]=255&r,e+4}r.EMPTY_BUFFER=[],r.allocBuffer=function(t){for(var r=new Array(t),e=0;e>>0;return e=i(t,r/4294967296>>>0,e),i(t,n,e)},r.readTimestamp=function(t,r){return 4294967296*o(t,r)+o(t,r+4)},r.hash=function(t,r){var e=n();return r&&e.update(r),e.update(t),e.digest()},r.checkComplexity=e(591).checkComplexity},591:function(t,r,e){"use strict";var n=e(158);r.checkComplexity=function(t,r){n(r<8*t.length,"Complexity is too high");var e,o=0;for(e=0;e<=r-8;e+=8,o++)if(0!==t[o])return!1;var i=255<<8+e-r;return 0==(t[o]&i)}},865:function(t,r,e){"use strict";var n=e(1),o=n.utils,i=n.Bloom;function f(t){var r=function(){return new i(t.size,t.n,4294967296*Math.random()>>>0)};this.blooms=[r(),r()],this.complexity=t.complexity,this.validity=t.validity||6e4,this.prefix=t.prefix||o.EMPTY_BUFFER}t.exports=f,f.prototype.check=function(t,r){var e=this.prefix;if(t.length<8)return!1;if(t.length>32)return!1;var n=o.readTimestamp(t,0),i=Date.now();if(Math.abs(n-i)>this.validity)return!1;for(var f=0;f=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;x(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function a(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}var s,u=(s=null,{getWorker:function(){return null===s&&(s=t()()),s},stopWorker:function(){null==s||s.terminate(),s=null}}),c=u.getWorker,l=u.stopWorker,f=function(){var e,t=(e=o().mark((function e(t){var r,n,i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.prefix,n=t.complexity,l(),i={id:"".concat(Date.now(),"-").concat(r),prefix:r,complexity:n},a=c(),e.abrupt("return",new Promise((function(e,t){var r=!1,n=void 0,o=void 0;o=function(s){s.id===i.id&&(r=!0,"error"===s.status?t(s.error):e({nonce:s.nonce,calctime:s.calctime}),"function"==typeof n&&a.removeEventListener("error",n),"function"==typeof o&&a.removeEventListener("message",o))},n=function(e){"function"==typeof n&&a.removeEventListener("error",n),"function"==typeof o&&a.removeEventListener("message",o),r=!0,t(e)},a.addEventListener("message",o),a.addEventListener("error",n),a.solve(i).then(o),setTimeout((function(){r||(l(),t("Worker timeout"))}),6e4)})));case 5:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}()}(),e.exports=i}()},10723:function(e,t,r){"use strict";function n(e){o.length||(i(),!0),o[o.length]=e}e.exports=n;var i,o=[],a=0;function s(){for(;a1024){for(var t=0,r=o.length-a;t0,b=m("privacy-link").trim().length>0,_=m("support").trim().length>0,w=y?g.service:void 0,S=b?g.legal:void 0,E=_?g.support:void 0,x=(0,i.useCallback)((function(){return null==r?void 0:r("".concat(f,".service-link"))}),[f,r]),C=(0,i.useCallback)((function(){return null==r?void 0:r("".concat(f,".privacy-link"))}),[f,r]),k=(0,i.useCallback)((function(){return null==r?void 0:r("".concat(f,".support-link"))}),[f,r]),T=(0,i.useCallback)((function(){null==r||r("".concat(f,".change-links-type.to-").concat(h)),v((function(e){return"primary"===e?"secondary":"primary"}))}),[f,r,h]);return i.default.createElement(o.Text,{as:"div",typography:"control-s",weight:"regular",color:"ghost",className:"CaptchaLinks ".concat(d||"")},i.default.createElement(s.Button,{view:"clear",size:"m",onPress:T,className:"CaptchaLinks-ToggleButton CaptchaLinks-ToggleButton_".concat(f),"aria-label":m("links-toggler"),"aria-pressed":"secondary"===h},"primary"===h?i.default.createElement(l.QuestionIcon,null):i.default.createElement(l.ArrowLeftIcon,null)),i.default.createElement("div",{className:"CaptchaLinks-Links"},"primary"===h?i.default.createElement(a.Link,{color:"secondary",target:"_blank",href:w,onClick:x,className:"CaptchaLinks-ServiceLink"},i.default.createElement(u.DeferredRender,null,m("service"))):i.default.createElement(i.default.Fragment,null,i.default.createElement(a.Link,{as:"a",color:"secondary",target:"_blank",href:S,onClick:C,className:"CaptchaLinks-PrivacyLink"},i.default.createElement(u.DeferredRender,null,m("privacy-link"))),i.default.createElement("span",{className:"Links-Dot"},"•"),i.default.createElement(a.Link,{as:"a",target:"_blank",color:"secondary",href:E,onClick:k,className:"CaptchaLinks-SupportLink"},i.default.createElement(u.DeferredRender,null,m("support"))))))}},50685:function(e,t,r){"use strict";r(92222),r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.SliderCaptcha=void 0;var n=r(70655),i=n.__importStar(r(63804));r(16270);var o=r(861),a=r(11323),s=r(99033),u=r(31837),c=r(20840);r(32595);t.SliderCaptcha=function(e){var t=e.status,r=e.submitForm,l=e.anchorRef,f=e.containerRef,d=e.error,p=e.uniqueKey,h=e.alert,v=e.disabled,m=e.metrika,g=e.pending,y=e.firstStageDisabled,b=e.linksVisible,_=void 0===b||b,w=(0,o.useTranslation)(),S="status-".concat(t||"invalid"),E=n.__read((0,i.useState)(0),2),x=E[0],C=E[1],k=(0,i.useMemo)((function(){return"connection-error"===d?w("connection-error"):"success"===t?w("ready"):x===a.SLIDER_DEFAULT_MIN_VALUE?w("pull-right"):x===a.SLIDER_DEFAULT_MAX_VALUE?w("verification"):w("keep-pulling")}),[d,t,x,w]),T=(0,i.useMemo)((function(){return x===a.SLIDER_DEFAULT_MIN_VALUE?w("slider-aria-description"):x===a.SLIDER_DEFAULT_MAX_VALUE?void 0:w("keep-moving-right")}),[x,w]),O=(0,i.useMemo)((function(){var e=v?"SliderCaptcha_disabled":"";return"SliderCaptcha ".concat(d?"SliderCaptcha_error":""," ").concat(e)}),[d,v]),P=(0,i.useCallback)((function(e){null==r||r(void 0,{from:"slider",answer:e})}),[r]),A=(0,i.useCallback)((function(e){C(e),e===a.SLIDER_DEFAULT_MAX_VALUE&&P(e)}),[P]);return i.default.createElement("div",{className:O,"data-testid":"silhouette-captcha",ref:f},i.default.createElement("div",{className:"SliderCaptcha-Inner"},i.default.createElement(a.Slider,{status:t,anchorRef:l,onChange:A,onChangeEnd:P,isDisabled:y,pending:g,label:k,sliderProps:{"aria-labelledby":"slider-description"},step:10}),i.default.createElement(c.VisuallyHidden,null,i.default.createElement("div",{id:"slider-description"},T))),i.default.createElement("div",{className:"SliderCaptcha-Label"},_&&i.default.createElement(u.Links,{uniqueKey:p,className:"SliderCaptcha-Links",from:"checkbox",metrika:m})),d&&i.default.createElement("div",{className:"SliderCaptcha-Icon"},i.default.createElement(s.ErrorIcon,null)),h&&i.default.createElement("div",{className:"SliderCaptcha-Alert"},w(h)),i.default.createElement("div",{id:"smartcaptcha-status",className:"SliderCaptcha-Status visuallyhidden"},w(S)))}},1034:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.StatusNotifier=void 0;var n=r(70655).__importDefault(r(63804)),i=r(861),o=r(20840);t.StatusNotifier=function(e){var t=e.status,r=(0,i.useTranslation)();return n.default.createElement(n.default.Fragment,null,t&&n.default.createElement(o.VisuallyHidden,{"aria-live":"assertive"},r("status-".concat(t))))}},68182:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),r(70655).__exportStar(r(1034),t)},91768:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0});var n=r(70655);n.__exportStar(r(36643),t),n.__exportStar(r(48086),t),n.__exportStar(r(50685),t),n.__exportStar(r(41509),t),n.__exportStar(r(44371),t)},44371:function(e,t,r){"use strict";r(83710),r(69070),r(41539),r(39714),r(32564),Object.defineProperty(t,"__esModule",{value:!0}),t.useCaptchaState=void 0;var n=r(70655),i=r(63804),o=r(49752),a=r(11920),s=r(46546),u=r(56585),c=r(16287),l=r(32885),f=[Math.floor(1e3*Math.random()),Math.floor(1e3*Math.random())];function d(e,t){switch(t.type){case"start":return n.__assign(n.__assign({},e),{status:"pending",pending:!0});case"done":return n.__assign(n.__assign({},e),{status:"success",pending:!1,visible:!1});case"fail-checkbox":return{status:void 0,pending:!0,visible:!0,data:t.payload};case"fail-advanced":return{status:"invalid",pending:!0,visible:!0,data:t.payload};case"fail-slider":return n.__assign(n.__assign({},e),{status:"invalid",pending:!1});case"challenge-loaded":return n.__assign(n.__assign({},e),{status:void 0,pending:!1});case"close":return n.__assign(n.__assign({},e),{visible:!1});case"refresh":return n.__assign(n.__assign({},e),{status:void 0,data:t.payload});case"connection-error":return n.__assign(n.__assign({},e),{status:"connection-error",visible:!1});case"reset":return{}}}t.useCaptchaState=function(e){var t,r,p,h,v=this;void 0===e&&(e={});var m=e.onValidate,g=e.sitekey,y=(0,l.useI18nLang)(),b=(0,c.useLinks)(),_=n.__read((0,i.useReducer)(d,{}),2),w=_[0],S=w.visible,E=w.data,x=w.status,C=w.pending,k=_[1],T="pending"===x||"success"===x||S,O=(0,a.useBackend)({sitekey:g||"antirobot-sitekey",lang:y,test:"false",webview:"false",validationUrl:b.captchaEndpoint,greedUrl:b.greedjs,captchaKey:s.canUseDOM?null===(t=null===window||void 0===window?void 0:window.__SSR_DATA__)||void 0===t?void 0:t.captchaKey:void 0,captchaKeyComputed:s.canUseDOM&&void 0!==(null===(r=null===window||void 0===window?void 0:window.__SSR_DATA__)||void 0===r?void 0:r.captchaKey),pow:{prefix:s.canUseDOM?null===(p=null===window||void 0===window?void 0:window.__SSR_DATA__)||void 0===p?void 0:p.powPrefix:void 0,complexity:s.canUseDOM?null===(h=null===window||void 0===window?void 0:window.__SSR_DATA__)||void 0===h?void 0:h.powComplexity:void 0},pic:f}),P=O.refresh,A=O.reset,M=O.validate,j=n.__rest(O,["refresh","reset","validate"]),R=(0,o.useTracker)(e.trackerProps).tracker,L=(0,u.useOnline)(),I=(0,i.useCallback)((function(){return n.__awaiter(v,void 0,void 0,(function(){var e;return n.__generator(this,(function(t){switch(t.label){case 0:return[4,P({trackData:R.getResult("base64")})];case 1:switch((e=t.sent()).status){case"success":k({type:"refresh",payload:e.data});break;case"success-token":k({type:"done"}),null==m||m(e.token);break;case"error":k({type:"connection-error"})}return[2]}}))}))}),[P,R,m]),D=(0,i.useCallback)((function(){k({type:"close"})}),[]),N=(0,i.useCallback)((function(){k({type:"reset"}),A()}),[A]),B=(0,i.useCallback)((function(){k({type:"challenge-loaded"})}),[]),U=(0,i.useCallback)((function(e,t){return n.__awaiter(v,void 0,void 0,(function(){var r,i,o,a,s,u,c,l,f,d,p;return n.__generator(this,(function(n){switch(n.label){case 0:return null===(p=null==e?void 0:e.preventDefault)||void 0===p||p.call(e),r="slider"===(null==t?void 0:t.from),i="image"===(null==t?void 0:t.from),o="audio"===(null==t?void 0:t.from),a="silhouette"===(null==t?void 0:t.from),s="kaleidoscope"===(null==t?void 0:t.from),c="success"===x,l=!(u=o||i||a||s)&&S,f=r&&0===t.answer,c||l||f?[2]:(k({type:"start"}),r&&100!==t.answer?(setTimeout((function(){return k({type:"fail-slider"})}),500),[2]):[4,M({answer:u?t.answer.toString():void 0,trackData:R.getResult("base64")})]);case 1:switch((d=n.sent()).status){case"success":k({type:"done"}),null==m||m(d.token);break;case"resources":k({type:u?"fail-advanced":"fail-checkbox",payload:d.data}),null==m||m();break;case"error":k({type:"connection-error"})}return[2]}}))}))}),[x,S,M,R,m]);return(0,i.useEffect)((function(){k(L?{type:"reset"}:{type:"connection-error"})}),[L]),{dispatch:k,reset:N,captchaProps:n.__assign(n.__assign({challengeLoaded:B,refreshResources:I,submitForm:U,status:x,tracker:R,pending:C,firstStageDisabled:T},j),E),popoverProps:{visible:S,onClose:D}}}},39157:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowIcon=void 0;var n=r(70655),i=n.__importDefault(r(63804));t.ArrowIcon=function(e){var t=e.className,r=e.direction,o=n.__rest(e,["className","direction"]);return i.default.createElement("svg",n.__assign({className:"SvgIcon ArrowIcon ".concat(t||""),width:"21",height:"21",viewBox:"0 0 21 21",style:{transform:"rotate(".concat("left"===r?-180:0,"deg)")}},o),i.default.createElement("g",null,i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.33709 16.7879C6.97097 16.4218 6.97097 15.8282 7.33709 15.4621L12.2992 10.5L7.33709 5.53791C6.97097 5.1718 6.97097 4.57821 7.33709 4.21209C7.7032 3.84597 8.2968 3.84597 8.66291 4.21209L14.2879 9.83709C14.654 10.2032 14.654 10.7968 14.2879 11.1629L8.66291 16.7879C8.2968 17.154 7.7032 17.154 7.33709 16.7879Z",fill:"currentColor"})))}},16464:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowLeftIcon=void 0;var n=r(70655).__importDefault(r(63804));t.ArrowLeftIcon=function(){return n.default.createElement("svg",{className:"SvgIcon ArrowLeftIcon",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},n.default.createElement("g",null,n.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.3958 6.48954C3.2024 6.68294 3.09376 6.94524 3.09376 7.21875C3.09376 7.49225 3.2024 7.75455 3.3958 7.94795L7.5208 12.0729C7.92353 12.4757 8.57648 12.4757 8.97921 12.0729C9.38194 11.6702 9.38194 11.0173 8.97921 10.6145L6.61466 8.25H12.375C14.843 8.25 16.8438 10.2507 16.8438 12.7187C16.8438 15.1868 14.843 17.1875 12.375 17.1875H11C10.4305 17.1875 9.96875 17.6492 9.96875 18.2187C9.96875 18.7883 10.4305 19.25 11 19.25H12.375C15.9821 19.25 18.9062 16.3259 18.9062 12.7187C18.9062 9.11164 15.9821 6.1875 12.375 6.1875H6.61466L8.97921 3.82295C9.38194 3.42022 9.38194 2.76727 8.97921 2.36455C8.57648 1.96182 7.92353 1.96182 7.5208 2.36455L3.3958 6.48954Z",fill:"currentColor"})))}},47231:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.AudioIcon=void 0;var n=r(70655).__importDefault(r(63804));t.AudioIcon=function(){return n.default.createElement("svg",{className:"SvgIcon",width:"24",height:"24",viewBox:"0 0 24 25"},n.default.createElement("path",{d:"M12 5.50049C10.1435 5.50049 8.36301 6.23799 7.05025 7.55074C5.7375 8.86349 5 10.644 5 12.5005V13.5005H7.08C7.75 13.5005 8.08 13.5005 8.34 13.6305C8.57 13.7505 8.75 13.9305 8.87 14.1605C9 14.4105 9 14.7505 9 15.4205V19.5805C9 20.2505 9 20.5805 8.87 20.8405C8.75 21.0705 8.57 21.2505 8.34 21.3705C8.09 21.5005 7.75 21.5005 7.08 21.5005H6.2C5.08 21.5005 4.52 21.5005 4.1 21.2805C3.72207 21.0908 3.41399 20.7862 3.22 20.4105C3.02 20.0005 3 19.4905 3 18.5005V12.5005C3 10.1135 3.94821 7.82435 5.63604 6.13653C7.32387 4.4487 9.61305 3.50049 12 3.50049C14.3869 3.50049 16.6761 4.4487 18.364 6.13653C20.0518 7.82435 21 10.1135 21 12.5005V18.5005C21 19.4905 20.99 20.0005 20.78 20.4005C20.5903 20.7784 20.2857 21.0865 19.91 21.2805C19.48 21.5005 18.92 21.5005 17.8 21.5005H16.92C16.25 21.5005 15.92 21.5005 15.66 21.3705C15.4313 21.2549 15.2455 21.0692 15.13 20.8405C15 20.5905 15 20.2505 15 19.5805V15.4205C15 14.7505 15 14.4205 15.13 14.1605C15.25 13.9305 15.43 13.7505 15.66 13.6305C15.91 13.5005 16.25 13.5005 16.92 13.5005H19V12.5005C19 10.644 18.2625 8.86349 16.9497 7.55074C15.637 6.23799 13.8565 5.50049 12 5.50049Z",fill:"currentColor"}))}},17311:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.CheckIcon=void 0;var n=r(70655),i=n.__importDefault(r(63804));t.CheckIcon=function(e){return i.default.createElement("svg",n.__assign({className:"SvgIcon CheckIcon",width:"24",height:"24",viewBox:"0 0 24 25",fill:"none"},e),i.default.createElement("path",{d:"M4 12.5L9.5 18.5L20 6.5",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}))}},41729:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.CloudIcon=void 0;var n=r(70655),i=n.__importDefault(r(63804));r(97344);t.CloudIcon=function(e){return i.default.createElement("svg",n.__assign({width:"34",height:"16",viewBox:"0 0 41 20",fill:"none",className:"CloudIcon"},e),i.default.createElement("path",{d:"M10.251 11.0479C10.7785 12.2034 10.9542 12.6053 10.9542 13.9932V15.8333H9.07031V12.7309L5.51562 5H7.48142L10.251 11.0479ZM12.5746 5L10.2698 10.2376H12.1852L14.4963 5H12.5746Z",fill:"#000"}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18.2292C14.5448 18.2292 18.2292 14.5448 18.2292 10C18.2292 5.45516 14.5448 1.77083 10 1.77083C5.45516 1.77083 1.77083 5.45516 1.77083 10C1.77083 14.5448 5.45516 18.2292 10 18.2292ZM10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z",fill:"#000"}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2333 10C39.2333 14.55 35.55 18.2333 31 18.2333C29.8094 18.2333 28.9202 17.7864 28.4755 17.2443C28.0308 16.7022 27.9057 15.8152 28.0588 14.5339L30.7088 14.0082C33.13 13.5647 34.4641 12.2176 34.9417 9.80288C35.0001 9.46485 35.0669 9.12682 35.1301 8.8064C35.156 8.67525 35.1813 8.54705 35.2052 8.42301C35.2774 8.03104 35.3471 7.65855 35.411 7.31691C35.4783 6.95699 35.5392 6.63132 35.5899 6.3532C35.861 4.78329 35.6407 3.62423 35.0309 2.81788C37.5398 4.22801 39.2333 6.91477 39.2333 10ZM31 1.76667C26.45 1.76667 22.7667 5.45 22.7667 10C22.7667 13.0852 24.4602 15.772 26.9691 17.1821C26.3593 16.3758 26.139 15.2167 26.4101 13.6468C26.4684 13.3273 26.538 12.9507 26.6158 12.5305C26.67 12.2378 26.7281 11.9239 26.7889 11.5934C26.8128 11.4694 26.8381 11.3412 26.864 11.21C26.9273 10.8896 26.994 10.5516 27.0524 10.2136C27.5136 7.78235 28.8477 6.43534 31.2688 5.99181L33.9412 5.46614C34.0943 4.18484 33.9692 3.29778 33.5245 2.75569C33.0798 2.2136 32.1906 1.76667 31 1.76667ZM41 10C41 15.5167 36.5167 20 31 20C25.4833 20 21 15.5167 21 10C21 4.48333 25.4833 0 31 0C36.5167 0 41 4.48333 41 10ZM33.6241 7.30597L31.6147 7.70022C29.9018 8.02876 29.1112 8.81726 28.7818 10.5257C28.7052 10.9076 28.6385 11.2698 28.5741 11.6199C28.5554 11.7215 28.5368 11.8222 28.5183 11.922C28.4689 12.1848 28.4195 12.4476 28.3701 12.694L30.363 12.2998C32.0759 11.9712 32.883 11.1827 33.2124 9.47434C33.2848 9.11359 33.3515 8.75192 33.4182 8.39024C33.485 8.02852 33.5517 7.6668 33.6241 7.30597Z",fill:"#000"}))}},70155:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.CrossIcon=void 0;var n=r(70655).__importDefault(r(63804));t.CrossIcon=function(){return n.default.createElement("svg",{className:"SvgIcon",width:"12.5",height:"12.5",viewBox:"0 0 14 14",fill:"none"},n.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9449 11.4718C13.3517 11.8786 13.3517 12.5381 12.9449 12.9449C12.5381 13.3517 11.8786 13.3517 11.4718 12.9449L7 8.47314L2.52824 12.9449C2.12144 13.3517 1.46189 13.3517 1.0551 12.9449C0.648301 12.5381 0.648301 11.8786 1.0551 11.4718L5.52686 7L1.0551 2.52824C0.648301 2.12144 0.648301 1.46189 1.0551 1.0551C1.46189 0.648301 2.12144 0.648301 2.52824 1.0551L7 5.52686L11.4718 1.0551C11.8786 0.648301 12.5381 0.648301 12.9449 1.0551C13.3517 1.46189 13.3517 2.12144 12.9449 2.52824L8.47314 7L12.9449 11.4718Z",fill:"#FF0400",fillOpacity:"0.8"}))}},81512:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorIcon=void 0;var n=r(70655).__importDefault(r(63804));r(70278);t.ErrorIcon=function(){return n.default.createElement("svg",{className:"SvgIcon ErrorIcon",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},n.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10ZM18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM8.75 14.2428C8.75 13.5202 9.2991 13 9.9928 13C10.7009 13 11.25 13.5202 11.25 14.2428C11.25 14.9653 10.7009 15.5 9.9928 15.5C9.2991 15.5 8.75 14.9653 8.75 14.2428ZM9.3223 4C9.0376 4 8.8103 4.23741 8.8228 4.52185L9.129 11.5219C9.1407 11.7892 9.3609 12 9.6285 12H10.3713C10.639 12 10.8591 11.7892 10.8708 11.5219L11.1771 4.52185C11.1895 4.23741 10.9623 4 10.6776 4H9.3223Z",fill:"#FF3333"}))}},9387:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.ImageIcon=void 0;var n=r(70655).__importDefault(r(63804));t.ImageIcon=function(){return n.default.createElement("svg",{className:"SvgIcon",width:"24",height:"24",viewBox:"0 0 24 25"},n.default.createElement("path",{fillRule:"evenodd",d:"M17.7951 21.5005H6.20486C5.09046 21.5005 4.68635 21.3845 4.27894 21.1666C3.87154 20.9487 3.5518 20.629 3.33392 20.2216C3.11603 19.8142 3 19.41 3 18.2956V6.70535C3 5.59095 3.11603 5.18684 3.33392 4.77943C3.5518 4.37202 3.87154 4.05229 4.27894 3.83441C4.68635 3.61652 5.09046 3.50049 6.20486 3.50049H17.7951C18.9095 3.50049 19.3137 3.61652 19.7211 3.83441C20.1285 4.05229 20.4482 4.37202 20.6661 4.77943C20.884 5.18684 21 5.59095 21 6.70535V18.2956C21 19.41 20.884 19.8142 20.6661 20.2216C20.4482 20.629 20.1285 20.9487 19.7211 21.1666C19.3137 21.3845 18.9095 21.5005 17.7951 21.5005ZM9 19.5005H5.3769L8.24848 15.6036L10.5456 17.0804C11.2343 17.5231 12.1507 17.3318 12.6048 16.6506L15.6946 12.016L19 14.9542V17.0005V19.5005H15H9ZM5 16.5005C5 16.718 4.98768 16.9898 4.96806 17.2836C5.34041 16.5068 5.89857 15.4436 6.45729 14.663L6.91666 14.0396C7.38609 13.4025 8.2697 13.2397 8.93538 13.6676L11.2135 15.1321L14.3492 10.4285C14.8087 9.7392 15.74 9.55294 16.4293 10.0125C16.487 10.0509 16.542 10.0934 16.5938 10.1394L19 12.2783V6.70535C19 6.27893 18.981 6.01175 18.951 5.85648C18.9393 5.79566 18.9343 5.78222 18.9025 5.72263C18.871 5.66376 18.8367 5.62952 18.7779 5.59803C18.7183 5.56616 18.7048 5.56121 18.644 5.54946C18.4887 5.51948 18.2216 5.50049 17.7951 5.50049H6.20486C5.77844 5.50049 5.51125 5.51948 5.35599 5.54946C5.29517 5.56121 5.28173 5.56616 5.22214 5.59803C5.16327 5.62952 5.12903 5.66376 5.09754 5.72263C5.06567 5.78222 5.06072 5.79566 5.04897 5.85648C5.01899 6.01175 5 6.27893 5 6.70535V16.5005ZM8.73988 7.50049C7.76879 7.50049 7 8.22881 7 9.24037C7 10.2519 7.76879 11.0005 8.73988 11.0005C9.73121 11.0005 10.5 10.2519 10.5 9.24037C10.5 8.22881 9.73121 7.50049 8.73988 7.50049Z",fill:"currentColor"}))}},85671:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.InfoIcon=void 0;var n=r(70655).__importDefault(r(63804));t.InfoIcon=function(){return n.default.createElement("svg",{className:"SvgIcon",width:"24",height:"24",viewBox:"0 0 24 25"},n.default.createElement("path",{fillRule:"evenodd",d:"M22 12.5005C22 18.0233 17.5228 22.5005 12 22.5005C6.47715 22.5005 2 18.0233 2 12.5005C2 6.97764 6.47715 2.50049 12 2.50049C17.5228 2.50049 22 6.97764 22 12.5005ZM20 12.5005C20 16.9188 16.4183 20.5005 12 20.5005C7.58172 20.5005 4 16.9188 4 12.5005C4 8.08221 7.58172 4.50049 12 4.50049C16.4183 4.50049 20 8.08221 20 12.5005ZM11.4618 18.0041C10.4367 18.0041 10.1001 17.3768 10.1001 16.7954C10.1001 16.5506 10.1766 16.1834 10.2378 15.9692L11.3088 11.3573H10.0552C9.89415 11.3573 9.77512 11.2073 9.81172 11.0505L9.88758 10.7255C9.91944 10.589 10.0296 10.4847 10.1676 10.4604L13.0055 9.9598C13.3602 9.89724 13.6627 10.2188 13.5786 10.569L12.1411 16.5507C12.1198 16.6393 12.1648 16.7305 12.2481 16.7675C12.3259 16.802 12.4172 16.7803 12.471 16.7144L13.6358 15.2895C13.7395 15.1625 13.9221 15.1339 14.0598 15.2229C14.2122 15.3216 14.2529 15.5266 14.1498 15.676L13.4508 16.6883C12.7164 17.7593 12.0432 18.0041 11.4618 18.0041ZM11.8 8.14219C11.8 8.64709 12.1978 9.07549 12.9016 9.07549C13.5901 9.07549 14.095 8.69299 14.248 8.08099C14.2786 7.95859 14.2939 7.82089 14.2939 7.71379C14.2939 7.20889 13.8961 6.78049 13.1923 6.78049C12.5191 6.78049 11.9989 7.16299 11.8459 7.77499C11.8153 7.89739 11.8 8.03509 11.8 8.14219Z",fill:"currentColor"}))}},44084:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.PlayIcon=void 0;var n=r(70655).__importDefault(r(63804));t.PlayIcon=function(){return n.default.createElement("svg",{className:"SvgIcon",width:"24",height:"24",viewBox:"0 0 24 25"},n.default.createElement("path",{d:"M6.2225 4.39866C6.07702 4.63507 6 4.90721 6 5.18479V19.8161C6 20.6445 6.67157 21.3161 7.5 21.3161C7.7776 21.3161 8.04975 21.2391 8.28617 21.0936L20.1741 13.7776C20.8796 13.3434 21.0996 12.4195 20.6654 11.714C20.5423 11.514 20.374 11.3457 20.1741 11.2226L8.28612 3.90728C7.58058 3.47312 6.65666 3.69312 6.2225 4.39866ZM18.4339 12.5001L8 18.9213V6.07955L18.4339 12.5001Z",fill:"currentColor"}))}},47969:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.QuestionIcon=void 0;var n=r(70655),i=n.__importDefault(r(63804));t.QuestionIcon=function(e){var t=e.innerRef,r=n.__rest(e,["innerRef"]);return i.default.createElement("svg",n.__assign({className:"SvgIcon",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",ref:t},r),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 18.5625C15.1766 18.5625 18.5625 15.1766 18.5625 11C18.5625 6.82334 15.1766 3.4375 11 3.4375C6.82334 3.4375 3.4375 6.82334 3.4375 11C3.4375 15.1766 6.82334 18.5625 11 18.5625ZM11 20.625C16.3157 20.625 20.625 16.3157 20.625 11C20.625 5.68426 16.3157 1.375 11 1.375C5.68426 1.375 1.375 5.68426 1.375 11C1.375 16.3157 5.68426 20.625 11 20.625ZM8.85528 6.24171C9.44645 5.75611 10.2222 5.46546 11 5.46546C12.6736 5.46546 14.2167 6.59336 14.2167 8.409C14.2167 8.92624 14.1095 9.43266 13.8078 9.92185C13.5213 10.3865 13.1023 10.7646 12.6048 11.1132C12.3057 11.3227 12.1569 11.4663 12.0839 11.5642C12.0312 11.6348 12.0312 11.661 12.0313 11.686L12.0313 11.6872C12.0313 12.2567 11.5695 12.7185 11 12.7185C10.4305 12.7185 9.96876 12.2567 9.96876 11.6872C9.96876 10.5945 10.7163 9.9179 11.4214 9.42397C11.806 9.15451 11.9732 8.9675 12.0523 8.83924C12.1163 8.73548 12.1542 8.62111 12.1542 8.409C12.1542 7.9976 11.8192 7.52796 11 7.52796C10.718 7.52796 10.401 7.6411 10.1644 7.83546C9.9342 8.02457 9.84579 8.22978 9.84579 8.409C9.84579 8.97854 9.38408 9.44025 8.81454 9.44025C8.24499 9.44025 7.78329 8.97854 7.78329 8.409C7.78329 7.48351 8.25771 6.73257 8.85528 6.24171ZM11 16.5C11.7594 16.5 12.375 15.8844 12.375 15.125C12.375 14.3656 11.7594 13.75 11 13.75C10.2406 13.75 9.625 14.3656 9.625 15.125C9.625 15.8844 10.2406 16.5 11 16.5Z",fill:"currentColor"}))}},85326:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.RefreshIcon=void 0;var n=r(70655).__importDefault(r(63804));t.RefreshIcon=function(){return n.default.createElement("svg",{className:"SvgIcon",width:"24",height:"24",viewBox:"0 0 24 25"},n.default.createElement("path",{d:"M12 2.68196C12 2.07696 12.6795 1.72094 13.1769 2.06531L17.6093 5.13389C18.0401 5.43213 18.0401 6.06893 17.6093 6.36717L13.1769 9.43575C12.6795 9.78012 12 9.4241 12 8.8191V6.50053C8.13401 6.50053 5 9.63455 5 13.5005C5 17.3665 8.13401 20.5005 12 20.5005C15.866 20.5005 19 17.3665 19 13.5005C19 12.9482 19.4477 12.5005 20 12.5005C20.5523 12.5005 21 12.9482 21 13.5005C21 18.4711 16.9706 22.5005 12 22.5005C7.02944 22.5005 3 18.4711 3 13.5005C3 8.52997 7.02944 4.50053 12 4.50053V2.68196Z",fill:"currentColor"}))}},17610:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.SoundIcon=void 0;var n=r(70655).__importDefault(r(63804));t.SoundIcon=function(){return n.default.createElement("svg",{className:"SvgIcon",width:"24",height:"24",viewBox:"0 0 24 25"},n.default.createElement("path",{d:"M11.8426 4.48742L7.09256 9.50056H4.5C3.67157 9.50056 3 10.1721 3 11.0006V14.0006C3 14.829 3.67157 15.5006 4.5 15.5006H7.09257L11.8426 20.5137C12.0787 20.7629 12.4068 20.904 12.75 20.904C13.4404 20.904 14 20.3443 14 19.654V5.34717C14 5.00396 13.8589 4.67586 13.6098 4.4398C13.1086 3.96497 12.3175 3.98629 11.8426 4.48742ZM5 13.5006V11.5006H7.95273L12 7.22914V17.772L7.95274 13.5006H5ZM20.0714 19.5713C19.6809 19.9619 19.0478 19.9619 18.6572 19.5714C18.2667 19.1809 18.2666 18.5477 18.6571 18.1572C20.1482 16.6659 21 14.652 21 12.5006C21 10.3493 20.1483 8.33536 18.6573 6.84413C18.2668 6.45358 18.2668 5.82042 18.6574 5.42992C19.0479 5.03943 19.6811 5.03947 20.0716 5.43003C21.9339 7.29259 23 9.81343 23 12.5006C23 15.1878 21.9338 17.7087 20.0714 19.5713ZM16.3978 16.3019C16.8392 16.6339 17.4661 16.5451 17.7981 16.1037C18.5734 15.0725 19 13.8175 19 12.5006C19 11.1867 18.5754 9.93436 17.8033 8.90445C17.472 8.46256 16.8452 8.37288 16.4033 8.70416C15.9614 9.03544 15.8718 9.66223 16.203 10.1041C16.7178 10.7908 17 11.623 17 12.5006C17 13.3802 16.7165 14.2142 16.1995 14.9017C15.8676 15.3431 15.9564 15.97 16.3978 16.3019Z",fill:"currentColor"}))}},99033:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0});var n=r(70655);n.__exportStar(r(16464),t),n.__exportStar(r(39157),t),n.__exportStar(r(47231),t),n.__exportStar(r(17311),t),n.__exportStar(r(41729),t),n.__exportStar(r(70155),t),n.__exportStar(r(81512),t),n.__exportStar(r(9387),t),n.__exportStar(r(85671),t),n.__exportStar(r(44084),t),n.__exportStar(r(47969),t),n.__exportStar(r(85326),t),n.__exportStar(r(17610),t)},20840:function(e,t,r){"use strict";r(69600),r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.VisuallyHidden=void 0;var n=r(70655),i=n.__importDefault(r(63804));r(87342);t.VisuallyHidden=function(e){var t=e.children,r=e.className,o=n.__rest(e,["children","className"]),a=["visuallyhidden",r].join(" ");return i.default.createElement("div",n.__assign({className:a},o),t)}},12277:function(e,t,r){"use strict";r(69070),r(32564),Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var n=r(70655),i=n.__importStar(r(63804)),o=r(99033),a=r(20840),s=r(4333),u=r(55999),c=r(11427),l=r(63387),f=r(52918),d=r(26022),p=r(62233),h=r(27735),v=r(861);r(84688);t.Slider=function(e){var t=e.status,r=e.anchorRef,m=void 0===r?null:r,g=e.controlRef,y=void 0===g?null:g,b=e.pending,_=e.isDisabled,w=e.label,S=e.step,E=void 0===S?d.SLIDER_DEFAULT_STEP_VALUE:S,x=e.min,C=void 0===x?d.SLIDER_DEFAULT_MIN_VALUE:x,k=e.max,T=void 0===k?d.SLIDER_DEFAULT_MAX_VALUE:k,O=e.onChange,P=e.onChangeEnd,A=e.sliderProps,M=e.thumbProps,j=e.autoFocus,R=(0,i.useRef)(null),L=(0,i.useRef)(null),I=(0,i.useRef)(null),D=(0,i.useRef)(null),N=n.__read((0,i.useState)(!1),2),B=N[0],U=N[1],F=(0,v.useTranslation)(),z=(0,l.useSlider)({onChange:O,onChangeEnd:P,isDisabled:_,min:C,max:T,step:E,trackRef:L,thumbRef:D}),V=z.isDragging,H=z.isKeyboard,q=z.value,Y=z.setValue,K=z.thumbProps;(0,f.useSkeleton)({containerRef:I,show:!_}),(0,i.useEffect)((function(){"success"===t&&Y(T)}),[T,Y,t]),(0,c.useDidMountEffect)((function(){if("invalid"===t){U(!0),Y(C);var e=setTimeout((function(){return U(!1)}),1e3);return function(){clearTimeout(e)}}}),[t,U,Y]),(0,c.useDidMountEffect)((function(){void 0===t&&Y(C)}),[t,C,Y]),(0,i.useEffect)((function(){var e;j&&(null===(e=D.current)||void 0===e||e.focus())}),[j]);var G=(0,i.useCallback)((function(){_||Y((0,h.clamp)(q+E,C,T))}),[_,T,C,Y,E,q]),J=(0,i.useCallback)((function(){_||Y((0,h.clamp)(q-E,C,T))}),[_,T,C,Y,E,q]);return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",n.__assign({},A,{className:"CaptchaSlider",ref:(0,u.mergeRefs)([I,m]),"data-keyboard":H,"data-dragging":V,"data-disabled":_,"data-shake":B,"data-testid":"slider"}),i.default.createElement("div",{ref:L,className:"Track"},i.default.createElement("div",{className:"Background",style:K.style}),i.default.createElement("label",{className:"Label","data-testid":"slider-label"},i.default.createElement(s.Text,{typography:"control-s"},w)),i.default.createElement("div",n.__assign({},K,M,{id:"captcha-slider",role:"slider","aria-label":F("thumb"),"aria-live":"assertive","aria-valuenow":q,"aria-valuemin":C,"aria-valuemax":T,"aria-valuetext":"".concat(Math.ceil((0,p.remap)(q,C,T,0,100)),"%"),"aria-busy":b,"data-testid":"thumb",className:"Thumb",ref:(0,u.mergeRefs)([D,y]),tabIndex:0}),function(e,t){if(t)return i.default.createElement(s.Spin,null);switch(e){case"pending":return i.default.createElement(s.Spin,null);case"success":return i.default.createElement(o.CheckIcon,{width:20,height:20});default:return i.default.createElement(o.ArrowIcon,{direction:"right"})}}(t,b),i.default.createElement(a.VisuallyHidden,null,i.default.createElement("input",{name:"rep",ref:R,value:q,tabIndex:-1,readOnly:!0})))),i.default.createElement("div",{className:"ControlButtons-Container"},i.default.createElement(s.Button,{className:"ControlButton",view:"clear",size:"s",onPress:G,"aria-label":F("slider-button-right"),"aria-controls":"captcha-slider"},i.default.createElement(o.ArrowIcon,{direction:"right",width:"16",height:"16"})),i.default.createElement(s.Button,{className:"ControlButton",view:"clear",size:"s",onPress:J,"aria-label":F("slider-button-left"),"aria-controls":"captcha-slider"},i.default.createElement(o.ArrowIcon,{direction:"left",width:"16",height:"16"})))))}},27735:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=void 0,t.clamp=function(e,t,r){return Math.min(Math.max(e,t),r)}},26022:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.SLIDER_DEFAULT_STEP_VALUE=t.SLIDER_DEFAULT_MAX_VALUE=t.SLIDER_DEFAULT_MIN_VALUE=void 0,t.SLIDER_DEFAULT_MIN_VALUE=0,t.SLIDER_DEFAULT_MAX_VALUE=100,t.SLIDER_DEFAULT_STEP_VALUE=1},11323:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0});var n=r(70655);n.__exportStar(r(12277),t),n.__exportStar(r(26022),t)},52918:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.useSkeleton=void 0;var n=r(63804);t.useSkeleton=function(e){var t=e.containerRef,r=e.show;(0,n.useEffect)((function(){var e=null==t?void 0:t.current;if(e){if(!r){var n=function(){e&&(e.dataset.skeleton="false")};return e.addEventListener("animationiteration",n),function(){return e.removeEventListener("animationiteration",n)}}e.dataset.skeleton="true"}}),[t,r])}},63387:function(e,t,r){"use strict";r(34553),r(91038),r(9653),r(56977),r(69070),r(78783),Object.defineProperty(t,"__esModule",{value:!0}),t.useSlider=void 0;var n=r(70655),i=r(63804),o=r(14753),a=r(27735);t.useSlider=function(e){var t=e.min,r=e.max,s=e.step,u=e.trackRef,c=e.thumbRef,l=e.isDisabled,f=e.onChange,d=e.onChangeEnd,p=(0,i.useRef)(t),h=(0,i.useRef)(!1),v=(0,i.useRef)(0),m=(0,i.useRef)(-1),g=n.__read((0,i.useState)(t),2),y=g[0],b=g[1],_=n.__read((0,i.useState)(!1),2),w=_[0],S=_[1],E=n.__read((0,i.useState)(!1),2),x=E[0],C=E[1],k=(0,i.useMemo)((function(){var e=(y-t)/(r-t)*100,n=isNaN(e)?0:e;return{left:"".concat(n,"% "),transform:"translate(-50%)",touchAction:"none"}}),[y,t,r]),T=(0,i.useCallback)((function(e,t){void 0===t&&(t="mouse");var r=Math.floor(e);b(r),p.current=r,null==f||f(r,t)}),[f]),O=(0,i.useCallback)((function(e){if(h.current&&u.current&&c.current&&!l){var n=u.current.offsetWidth-c.current.offsetWidth,i=n/(r-t),o=e.clientX-v.current-u.current.getBoundingClientRect().left,s=(0,a.clamp)(o,0,n),f=Number((s/i).toFixed(2));T(f)}}),[l,r,t,T,c,u]),P=(0,i.useCallback)((function(){(0,o.restoreTextSelection)(),!l&&h.current&&(h.current=!1,null==d||d(p.current,"mouse"),S(!1))}),[l,d]),A=(0,i.useCallback)((function(e){(0,o.disableTextSelection)(),l||(h.current=!0,c.current&&(v.current=e.clientX-c.current.getBoundingClientRect().left),window.document.addEventListener("mousemove",O,{passive:!1}),window.document.addEventListener("mouseup",P,{passive:!1}),S(!0))}),[l,O,P,c]);(0,i.useEffect)((function(){return function(){window.document.removeEventListener("mousemove",O),window.document.removeEventListener("mouseup",P)}}),[O,P]);var M=(0,i.useCallback)((function(e){if(h.current&&u.current&&c.current&&!l){var n=Array.from(e.changedTouches).findIndex((function(e){return e.identifier===m.current}));if(-1!==n){var i=u.current.offsetWidth-c.current.offsetWidth,o=i/(r-t),s=e.changedTouches[n].clientX-v.current-u.current.getBoundingClientRect().left,f=(0,a.clamp)(s,0,i),d=Math.floor(f/o);T(d,"mouse")}}}),[l,r,t,T,c,u]),j=(0,i.useCallback)((function(e){if((0,o.restoreTextSelection)(),!l&&h.current){var t=Array.from(e.changedTouches).findIndex((function(e){return e.identifier===m.current}));-1!==t&&(h.current=!1,m.current=-1,null==d||d(p.current,"mouse"),S(!1))}}),[l,d]),R=(0,i.useCallback)((function(e){if((0,o.disableTextSelection)(),!l&&0!==e.changedTouches.length){var t=e.changedTouches[0],r=t.clientX,n=t.identifier;m.current=n,h.current=!0,c.current&&(v.current=r-c.current.getBoundingClientRect().left),window.document.addEventListener("touchmove",M,!1),window.document.addEventListener("touchend",j,!1),window.document.addEventListener("touchcancel",j,!1),S(!0)}}),[l,j,M,c]);(0,i.useEffect)((function(){return function(){window.document.removeEventListener("touchmove",M,!1),window.document.removeEventListener("touchend",j,!1),window.document.removeEventListener("touchcancel",j,!1)}}),[j,M]);var L=(0,i.useCallback)((function(e){if(!l){if("ArrowRight"===e.key||"ArrowUp"===e.key){var n=Math.min(p.current+s,r);T(n,"keyboard")}else if("ArrowLeft"===e.key||"ArrowDown"===e.key){var i=Math.max(p.current-s,t);T(i,"keyboard")}else if("PageUp"===e.key){var o=Math.min(p.current+10*s,r);T(o,"keyboard")}else if("PageDown"===e.key){var a=Math.max(p.current-10*s,t);T(a,"keyboard")}else"Home"===e.key?T(t,"keyboard"):"End"===e.key?T(r,"keyboard"):"Enter"===e.key&&(requestAnimationFrame((function(){var e;null===(e=c.current)||void 0===e||e.focus()})),null==d||d(p.current,"keyboard"));C(!0)}}),[l,r,t,d,T,s,c]),I=(0,i.useCallback)((function(){C(!1)}),[]),D=(0,i.useCallback)((function(e){e.preventDefault()}),[]),N=(0,i.useCallback)((function(){return window.document.addEventListener("dragover",D),!1}),[D]),B=(0,i.useCallback)((function(){window.document.removeEventListener("dragover",D)}),[D]);return(0,i.useEffect)((function(){h.current&&l&&(h.current=!1)}),[l]),{isDragging:w,isKeyboard:x,setValue:T,value:y,thumbProps:{style:k,onDragStart:N,onDragEnd:B,onMouseDown:A,onMouseUp:P,onTouchStart:R,onTouchEnd:j,onKeyDown:L,onKeyUp:I}}}},51251:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.isShallowEqual=void 0,t.isShallowEqual=function(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var r=0;r1}r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.isIOS=t.isIPad=t.isIPhone=t.isMac=void 0,t.isMac=i,t.isIPhone=o,t.isIPad=a,t.isIOS=function(){return o()||a()}},62233:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.remap=void 0,t.remap=function(e,t,r,n,i){return(e-t)/(r-t)*(i-n)+n}},14753:function(e,t,r){"use strict";r(66992),r(69070),r(41539),r(78783),r(4129),r(33948),r(32564),Object.defineProperty(t,"__esModule",{value:!0}),t.restoreTextSelection=t.disableTextSelection=void 0;var n=r(55222),i="default",o="",a=new WeakMap;t.disableTextSelection=function(e){(0,n.isIOS)()||(0,n.isMac)()?("default"===i&&(o=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),i="disabled"):(e instanceof HTMLElement||e instanceof SVGElement)&&(a.set(e,e.style.userSelect),e.style.userSelect="none")},t.restoreTextSelection=function(e){if((0,n.isIOS)()||(0,n.isMac)()){if("disabled"!==i)return;i="restoring",setTimeout((function(){"restoring"===i&&("none"===document.documentElement.style.webkitUserSelect&&(document.documentElement.style.webkitUserSelect=o||""),o="",i="default")}),300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&a.has(e)){var t=a.get(e);"none"===e.style.userSelect&&t&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),a.delete(e)}}},39839:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredRender=void 0;var n=r(70655).__importStar(r(63804)),i=r(8367);t.DeferredRender=function(e){var t=e.children,r=(0,n.useContext)(i.TranslationsContext).render;return n.default.createElement(n.default.Fragment,null,r?t:"")}},861:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0});var n=r(70655);n.__exportStar(r(39839),t),n.__exportStar(r(74271),t),n.__exportStar(r(8367),t),n.__exportStar(r(70477),t),n.__exportStar(r(93504),t),n.__exportStar(r(62772),t),n.__exportStar(r(30421),t),n.__exportStar(r(84453),t),n.__exportStar(r(73403),t)},30421:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.isLanguageSupported=void 0;var n=r(84453);t.isLanguageSupported=function(e){var t=e;return n.SUPPORTED_LANGUAGES.has(t)}},62772:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.isTranslationExist=void 0;var n=r(19232);t.isTranslationExist=function(e){var t=e;return"string"==typeof n.ru[t]}},74271:function(e,t,r){"use strict";r(85827),r(69070),r(69720),Object.defineProperty(t,"__esModule",{value:!0}),t.overrideTranslations=void 0;var n=r(70655);t.overrideTranslations=function(e,t){return Object.entries(e).reduce((function(e,r){var i=n.__read(r,2),o=i[0],a=i[1],s=o;return e[s]=n.__assign(n.__assign({},a),t[s]),e}),{})}},84453:function(e,t,r){"use strict";r(66992),r(69070),r(47941),r(41539),r(70189),r(78783),r(33948),Object.defineProperty(t,"__esModule",{value:!0}),t.SUPPORTED_LANGUAGES=void 0;var n=r(70655).__importStar(r(57959));t.SUPPORTED_LANGUAGES=new Set(Object.keys(n))},8367:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationsContext=void 0;var n=r(70655),i=r(63804),o=n.__importStar(r(57959));t.TranslationsContext=(0,i.createContext)({translations:o,render:!0})},70477:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationsProvider=void 0;var n=r(70655),i=n.__importStar(r(63804)),o=n.__importStar(r(57959)),a=r(74271),s=r(8367);t.TranslationsProvider=function(e){var t=e.overrides,r=e.children,u=e.deferredRender,c=void 0!==u&&u,l=(0,i.useMemo)((function(){return t?(0,a.overrideTranslations)(o,t):o}),[t]),f=n.__read((0,i.useState)(!c),2),d=f[0],p=f[1];return(0,i.useEffect)((function(){d||p(!0)}),[d]),i.default.createElement(s.TranslationsContext.Provider,{value:{translations:l,render:d}},r)}},73403:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0})},93504:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.useTranslation=void 0;var n=r(63804),i=r(64691),o=r(8367);t.useTranslation=function(){var e=(0,n.useContext)(o.TranslationsContext).translations;return(0,i.useI18N)(e)}},96830:function(e,t,r){"use strict";r(57327),r(21249),r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.useAudioSequence=void 0;var n=r(70655),i=r(63804),o=r(51251),a=r(19543),s=r(31801);t.useAudioSequence=function(e){var t=e.sources,r=e.shouldLoad,u=e.onLoad,c=e.onAudioError,l=(0,i.useRef)(null),f=n.__read((0,i.useState)(0),2),d=f[0],p=f[1],h=n.__read((0,i.useState)(!1),2),v=h[0],m=h[1],g=n.__read((0,i.useState)([]),2),y=g[0],b=g[1];(0,i.useEffect)((function(){var e=d>=y.length;(0,o.isShallowEqual)(l.current,t)&&v&&!e||(y[d]&&(y[d].pause(),isNaN(y[d].duration)||(y[d].currentTime=0),y[d].onended=null),p(0),m(!1))}),[y,v,d,t]),(0,i.useEffect)((function(){!(0,o.isShallowEqual)(l.current,t)&&r&&(l.current=t,b(t.filter(s.isValidURL).map((function(e){return new Audio(e)}))),null==u||u())}),[t,r,y,d,u]),(0,a.useIsomorphicLayoutEffect)((function(){!v||d>=y.length||(y[d].play().catch(c),y[d].onended=function(){p((function(e){return e+1}))})}),[d,v,y]);var _=(0,i.useCallback)((function(){!v&&y.length>0&&m(!0)}),[y.length,v]),w=(0,i.useCallback)((function(){m(!1)}),[]),S=(0,i.useCallback)((function(){w(),requestAnimationFrame((function(){return _()}))}),[_,w]);return(0,i.useMemo)((function(){return{isPlaying:v,playAudio:_,stopAudio:w,replayAudio:S}}),[v,_,S,w])}},11427:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.useDidMountEffect=void 0;var n=r(63804);t.useDidMountEffect=function(e,t){var r=(0,n.useRef)(!1);(0,n.useEffect)((function(){r.current?e():r.current=!0}),t)}},32885:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.useI18nLang=void 0;var n=r(63804),i=r(64691);t.useI18nLang=function(){return(0,n.useContext)(i.Lang).lang}},66292:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.useIsMobileScreen=t.MOBILE_SCREEN_WIDTH=void 0;var n=r(46546);t.MOBILE_SCREEN_WIDTH=700,t.useIsMobileScreen=function(){return!!n.canUseDOM&&window.screen.width<=t.MOBILE_SCREEN_WIDTH}},19543:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.useIsomorphicLayoutEffect=void 0;var n=r(63804),i=r(46546);t.useIsomorphicLayoutEffect=i.canUseDOM?n.useLayoutEffect:n.useEffect},94220:function(e,t,r){"use strict";r(91038),r(47042),r(69070),r(78783),Object.defineProperty(t,"__esModule",{value:!0}),t.useKaleidoscope=void 0;var n=r(70655),i=r(63804),o=r(861),a=r(19543),s=r(31801);function u(e,t){if(e<0)throw new Error("position should be more or equal to 0");return{x:e%t,y:Math.floor(e/t)}}function c(e,t,r,n,i,o){e.beginPath(),e.moveTo(t+o,r),e.lineTo(t+n-o,r),e.quadraticCurveTo(t+n,r,t+n,r+o),e.lineTo(t+n,r+i-o),e.quadraticCurveTo(t+n,r+i,t+n-o,r+i),e.lineTo(t+o,r+i),e.quadraticCurveTo(t,r+i,t,r+i-o),e.lineTo(t,r+o),e.quadraticCurveTo(t,r,t+o,r),e.closePath()}t.useKaleidoscope=function(e){var t=e.canvasRef,r=e.imageSrc,l=e.task,f=e.enabled,d=e.shouldLoadImage,p=e.onChangeEnd,h=e.onChallengeLoaded,v=(0,o.useTranslation)(),m=n.__read((0,i.useState)(0),2),g=m[0],y=m[1],b=n.__read((0,i.useState)(),2),_=b[0],w=b[1],S=n.__read((0,i.useState)(),2),E=S[0],x=S[1],C=(0,i.useMemo)((function(){return v(0===g?"pull-right":"keyboard"===_?"press-enter":f?"release":"verification")}),[f,_,v,g]);(0,i.useEffect)((function(){if(d&&t.current&&(0,s.isValidURL)(r)){var e=new Image;e.onload=function(){x(e),y(0),h()},e.onerror=function(){throw new Error("Could not load kaleidoscope image")},e.src=r}}),[d,t,r,h]),(0,a.useIsomorphicLayoutEffect)((function(){var e;if(t.current&&E&&l){var r=null===(e=t.current)||void 0===e?void 0:e.getContext("2d");if(!r)throw new Error("Could not create context 2d. Kaleidoscope");var i=Math.sqrt(Math.max.apply(Math,n.__spreadArray([],n.__read(l),!1))+1),o=requestAnimationFrame((function(){f&&function(e){var t=e.value,r=e.ctx,i=e.size,o=e.task,a=e.image;if(r.fillStyle="white",r.fillRect(0,0,r.canvas.width,r.canvas.height),t<0)throw new Error("drawImage value parameter should be more or equal to 0");for(var s=r.canvas.width/i,l=r.canvas.height/i,f=a.width/i,d=a.height/i,p=function(e,t){for(var r,i=n.__spreadArray([],n.__read(e),!1),o=0;o10)){var r=e.x,i=e.y,o=e.source,c="".concat(r,"-").concat(i,"-").concat(Math.random());s((function(e){return n.__spreadArray(n.__spreadArray([],n.__read(e),!1),[{key:c,x:r,y:i,source:o,timestamp:Date.now(),value:e.length+1,remove:function(){u(c)}}],!1)}))}}),[t,u,a.length]),l=(0,i.useCallback)((function(){s([])}),[]),f=(0,o.useSilhouetteContainerPress)({onPress:c});return(0,i.useMemo)((function(){var e=a.reduce((function(e,t){var r=t.x,i=t.y;return n.__spreadArray(n.__spreadArray([],n.__read(e),!1),[r,i],!1)}),[]),t=a.reduce((function(e,t){var r=t.timestamp;return n.__spreadArray(n.__spreadArray([],n.__read(e),!1),[r],!1)}),[]),r=0===e.length?"":btoa(e.join(",")),i=0===e.length?"":btoa(t.join(","));return{selections:a,silhouetteResult:r,silhouetteTimestamps:i,captureSilhouette:c,resetSilhouette:l,silhouetteContainerProps:f}}),[c,l,a,f])}},4426:function(e,t,r){"use strict";r(19601),r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(63804));t.default=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 1.5a6.5 6.5 0 1 0 6.445 7.348.75.75 0 1 0-1.487-.194A5.001 5.001 0 1 1 11.57 4.5h-1.32a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 .75-.75v-3a.75.75 0 0 0-1.5 0v1.06A6.48 6.48 0 0 0 8 1.5Z",clipRule:"evenodd"}))}},14541:function(e,t,r){"use strict";r(19601),r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(63804));t.default=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11ZM8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0V8.5Z",clipRule:"evenodd"}))}},76085:function(e,t,r){"use strict";r(19601),r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(63804));t.default=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 0 1 8v4h.01a3.25 3.25 0 0 0 3.24 3h.083C5.253 15 6 14.254 6 13.333v-3.166C6 9.247 5.254 8.5 4.333 8.5H4.25c-.644 0-1.245.188-1.75.51V8a5.5 5.5 0 1 1 11 0v1.01a3.235 3.235 0 0 0-1.75-.51h-.083c-.92 0-1.667.746-1.667 1.667v3.166c0 .92.746 1.667 1.667 1.667h.083a3.25 3.25 0 0 0 3.24-3H15V8Zm-1.5 3.75A1.75 1.75 0 0 0 11.75 10h-.083a.167.167 0 0 0-.167.167v3.166c0 .092.075.167.167.167h.083a1.75 1.75 0 0 0 1.75-1.75ZM4.25 13.5a1.75 1.75 0 1 1 0-3.5h.083c.092 0 .167.075.167.167v3.166a.167.167 0 0 1-.167.167H4.25Z",clipRule:"evenodd"}))}},27355:function(e,t,r){"use strict";r(19601),r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(63804));t.default=function(e){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 3h-7A1.5 1.5 0 0 0 3 4.5v5.027l.962-.7a1.75 1.75 0 0 1 2.079.016l.928.696 2.368-2.03a1.75 1.75 0 0 1 2.325.043L13 8.787V4.5A1.5 1.5 0 0 0 11.5 3Zm3 7.498V4.5a3 3 0 0 0-3-3h-7a3 3 0 0 0-3 3v6.492a.66.66 0 0 0 0 .017v.491a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-1.002Zm-1.5.33-2.355-2.174a.25.25 0 0 0-.332-.006L7.488 11.07l-.457.392-.481-.361-1.41-1.057a.25.25 0 0 0-.296-.002L3 11.381v.119A1.5 1.5 0 0 0 4.5 13h7a1.5 1.5 0 0 0 1.5-1.5v-.672ZM7.5 6a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z",clipRule:"evenodd"}))}},80916:function(e,t,r){"use strict";r(82526),r(41817),r(32165),r(92222),r(66992),r(69600),r(21249),r(78011),r(69070),r(69720),r(38880),r(41539),r(88674),r(78783),r(33948);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};function u(e){return Object.entries(e).map((function(e){var t=s(e,2),r=t[0],n=t[1];return"".concat(r,"=").concat(encodeURIComponent(n))})).join("&")}function c(e){var t=e.captcha,r=e.pow;return{type:t.type,captchaKey:t.key,voiceSrc:t.voice,introSrc:t.voiceintro,imageSrc:t.image,taskImageSrc:"silhouette"===t.type?t.taskImage:void 0,task:"kaleidoscope"===t.type?JSON.parse(t.task):void 0,pow:r}}function l(e,t){return fetch(e,{method:"POST",mode:"cors",credentials:"include",body:u(t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.refreshCaptcha=t.initialize=t.getKeys=t.validateCaptcha=t.mapCaptchaResponse=t.generateQueryString=void 0,i(r(72341),t),t.generateQueryString=u,t.mapCaptchaResponse=c,t.validateCaptcha=function(e,t){return o(this,void 0,void 0,(function(){var r,n;return a(this,(function(i){switch(i.label){case 0:return[4,l(t,e)];case 1:if(!(r=i.sent()).ok)throw new Error("Server error. ".concat(JSON.stringify(r)));return[4,r.json()];case 2:if("failed"===(n=i.sent()).status)throw c(n);return[2,n.spravka]}}))}))},t.getKeys=function(e,t){return o(this,void 0,void 0,(function(){var r,n,i,o;return a(this,(function(a){switch(a.label){case 0:return[4,l(e,{sitekey:t})];case 1:if(!(r=a.sent()).ok)throw new Error("Server error. ".concat(JSON.stringify(r)));return[4,r.json()];case 2:if(n=a.sent(),i=n.status,o=n.captcha,"failed"!==i)throw new Error("Server error. Wrong status: ".concat(i," (should be `failed`)"));return[2,{aesKey:o.d,aesSign:o.k,captchaKey:o.key}]}}))}))},t.initialize=function(e,t){return o(this,void 0,void 0,(function(){var r,n,i,o,s;return a(this,(function(a){switch(a.label){case 0:return[4,l(e,{sitekey:t})];case 1:if(!(r=a.sent()).ok)throw new Error("Server error. ".concat(JSON.stringify(r)));return[4,r.json()];case 2:if(n=a.sent(),i=n.status,o=n.captcha,s=n.pow,"failed"!==i)throw new Error("Server error. Wrong status: ".concat(i," (should be `failed`)"));return[2,{captchaKey:o.key,pow:s}]}}))}))},t.refreshCaptcha=function(e,t){return o(this,void 0,void 0,(function(){var r,n;return a(this,(function(i){switch(i.label){case 0:return[4,l(t,e)];case 1:if(!(r=i.sent()).ok)throw new Error("Server error. ".concat(JSON.stringify(r)));return[4,r.json()];case 2:if("ok"===(n=i.sent()).status)throw n.spravka;if("failed"!==n.status)throw new Error("Server error. Wrong status: ".concat(n.status," (should be `failed` or `ok`)"));return[2,c(n)]}}))}))}},72341:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0})},67221:function(e,t,r){"use strict";r(82526),r(41817),r(32165),r(89554),r(66992),r(21249),r(5212),r(40561),r(83710),r(19601),r(69070),r(47941),r(41539),r(88674),r(39714),r(78783),r(54747),r(33948),r(32564);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.Backend=void 0;var s=r(37082),u=r(80916),c=r(14276),l=r(46546),f=r(59195),d=r(5730),p=function(){function e(e){if(this.captchaKey=f.EMPTY_CAPTCHA_KEY,this.captchaKeyComputed=!1,this.fingerprint=f.EMPTY_FINGERPRINT,this.fingerprintComputed=!1,this.pdata=f.EMPTY_PDATA,this.powComputed=!1,this.picasso=f.EMPTY_PICASSO,this.picassoComputed=!1,this.tsdata=f.EMPTY_TSDATA,this._stack=[],!e.sitekey)throw new Error("sitekey should be defined");this._validationUrl=e.validationUrl,this._greedUrl=e.greedUrl,this._logError=e.logError,this._onUpdate=e.onUpdate,this._setParams(e),this._loadGreed()}return e.prototype._callOnUpdate=function(){var e,t=this;if(this._onUpdate){var r={captchaKey:this.captchaKey,captchaKeyComputed:this.captchaKeyComputed,fingerprint:this.fingerprint,fingerprintComputed:this.fingerprintComputed,pdata:this.pdata,powComputed:this.powComputed,picasso:this.picasso,picassoComputed:this.picassoComputed,tsdata:this.tsdata},n=Object.keys(r).some((function(e){var n;return(null===(n=t._onUpdateMemo)||void 0===n?void 0:n[e])!==r[e]}));n&&(null===(e=this._onUpdate)||void 0===e||e.call(this,r),this._onUpdateMemo=r)}},e.prototype._setParams=function(e){var t,r;e.captchaKey&&(this.captchaKey=e.captchaKey),e.captchaKeyComputed&&(this.captchaKeyComputed=e.captchaKeyComputed),e.fingerprint&&(this.fingerprint=e.fingerprint),e.fingerprintComputed&&(this.fingerprintComputed=e.fingerprintComputed),e.picasso&&(this.picasso=e.picasso),e.picassoComputed&&(this.picassoComputed=e.picassoComputed),e.lang&&(this.lang=e.lang),e.sitekey&&(this.sitekey=e.sitekey),e.test&&(this.test=e.test),e.webview&&(this.webview=e.webview),e.tsdata&&(this.tsdata=e.tsdata),e.pow&&("string"==typeof e.pow.prefix&&"number"==typeof e.pow.complexity||null===(t=this._logError)||void 0===t||t.call(this,{message:"prefix or complexity of wrong type, ".concat(JSON.stringify(e.pow)),block:"backend",method:"_setParams"}),this._calculateNonce(e.pow.prefix,e.pow.complexity)),e.pic&&(2===e.pic.length&&"number"==typeof e.pic[0]&&"number"==typeof e.pic[1]||null===(r=this._logError)||void 0===r||r.call(this,{message:"pic parameters should be two numbers, ".concat(JSON.stringify(e.pic)),block:"backend",method:"_setParams"}),this._calculatePicasso(e.pic)),e.pdata&&(this.pdata=e.pdata),e.powComputed&&(this.powComputed=e.powComputed),this._callOnUpdate()},e.prototype._calculateNonce=function(e,t){var r=this;this._setParams({powComputed:!1}),this._powPromise=(0,s.calculateNonce)({prefix:e,complexity:t}).then((function(t){return r._setParams({powComputed:!0,pdata:btoa(JSON.stringify({powNonce:t.nonce,powCalcTime:t.calctime,powPrefix:e}))}),r.pdata})).catch((function(e){var t;return null===(t=r._logError)||void 0===t||t.call(r,{message:"failed calculating pdata",block:"backend",method:"_calculateNonce"},e),r._setParams({powComputed:!0}),r.pdata}))},e.prototype._loadGreed=function(){var e=this;if(l.canUseDOM&&window.PGreed)this._calculateFingerprint();else{(0,c.loadScript)(this._greedUrl,(function(){return i(e,void 0,void 0,(function(){var e,t;return o(this,(function(r){switch(r.label){case 0:return window.PGreed?[4,this._calculateFingerprint()]:(null===(t=this._logError)||void 0===t||t.call(this,{message:"greed.js is loaded, but PGreed is not present in window.PGreed",block:"backend",method:"_loadGreed"}),this._setParams({fingerprintComputed:!0}),[2]);case 1:return e=r.sent(),this._stack.forEach((function(t){return t(e)})),this._stack.splice(0,this._stack.length),[2]}}))}))}),(function(t){var r;null===(r=e._logError)||void 0===r||r.call(e,{message:"falied loading greed.js",block:"backend",method:"_loadGreed"},t),e._setParams({fingerprintComputed:!0})}))}},e.prototype._calculatePicasso=function(e){return i(this,void 0,void 0,(function(){var t,r;return o(this,(function(i){switch(i.label){case 0:return this._setParams({picassoComputed:!1}),t=[{seed:e[0],rounds:5,width:300,height:300,fontSizeFactor:1.5,maxShadowBlur:50},{seed:e[1],rounds:10,width:300,height:300,fontSizeFactor:2,maxShadowBlur:70}],[4,Promise.all(t.map(d.calculatePicasso))];case 1:return r=i.sent(),this._setParams({picasso:btoa(JSON.stringify(t.map((function(e,t){return n(n({},e),r[t])})))),picassoComputed:!0}),[2,this.picasso]}}))}))},e.prototype._calculateFingerprint=function(){var e;return i(this,void 0,void 0,(function(){var t,r,n,i,a,s;return o(this,(function(o){switch(o.label){case 0:if(this.fingerprintComputed||void 0===window.PGreed)return[2,this.fingerprint];this._setParams({fingerprintComputed:!1}),o.label=1;case 1:return o.trys.push([1,3,,4]),t=this._setParams,s={},r=btoa,i=(n=JSON).stringify,[4,window.PGreed.safeGet()];case 2:return t.apply(this,[(s.fingerprint=r.apply(void 0,[i.apply(n,[o.sent()])]),s.fingerprintComputed=!0,s)]),[3,4];case 3:return a=o.sent(),null===(e=this._logError)||void 0===e||e.call(this,{message:"failed calculating fingerprint",block:"backend",method:"_loadGreed"},a),[3,4];case 4:return this._setParams({fingerprintComputed:!0}),[2,this.fingerprint]}}))}))},e.prototype._getFingerprint=function(){return i(this,void 0,void 0,(function(){var e=this;return o(this,(function(t){return this.fingerprintComputed?[2,this.fingerprint]:[2,new Promise((function(t){var r=setTimeout((function(){e._setParams({fingerprint:f.EMPTY_FINGERPRINT,fingerprintComputed:!0}),t(e.fingerprint)}),5e3);window.PGreed?e._calculateFingerprint().then(t):e._stack.push((function(e){clearTimeout(r),t(e)}))}))]}))}))},e.prototype._getCaptchaKey=function(){var e;return i(this,void 0,void 0,(function(){var t,r;return o(this,(function(i){switch(i.label){case 0:if(this.captchaKeyComputed)return[2,this.captchaKey];this._setParams({captchaKeyComputed:!1}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,u.initialize)(this._validationUrl,this.sitekey)];case 2:return t=i.sent(),this._setParams(n(n({},t),{captchaKeyComputed:!0})),[2,this.captchaKey];case 3:throw r=i.sent(),null===(e=this._logError)||void 0===e||e.call(this,{message:"failed retrieving captcha key",block:"backend",method:"_getCaptchaKey"},r),r;case 4:return[2]}}))}))},e.prototype._getPdata=function(){var e;return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return this.powComputed?[2,this.pdata]:this._powPromise?[3,1]:(null===(e=this._logError)||void 0===e||e.call(this,{message:"_getPdata called before _powPromise resolution of pdata",block:"backend",method:"_getPdata"}),[3,3]);case 1:return[4,this._powPromise];case 2:t.sent(),t.label=3;case 3:return[2,this.pdata]}}))}))},e.prototype._getPicasso=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,this.picasso]}))}))},e.prototype._getRequestData=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,s,u;return o(this,(function(o){switch(o.label){case 0:return[4,Promise.all([this._getCaptchaKey(),this._getFingerprint(),this._getPicasso()])];case 1:return t=a.apply(void 0,[o.sent(),3]),r=t[0],n=t[1],i=t[2],[4,this._getPdata()];case 2:return s=o.sent(),u={rdata:n,key:r,pdata:s,picasso:i,sitekey:this.sitekey,lang:this.lang,test:this.test,webview:this.webview,tdata:e.trackData},e.answer&&(u.rep=e.answer.toString()),e.timestamps&&(u.tsdata=e.timestamps),[2,u]}}))}))},e.prototype.refresh=function(e){var t;return i(this,void 0,void 0,(function(){var r,n,i;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,this._getRequestData(e)];case 1:return r=o.sent(),[4,(0,u.refreshCaptcha)(r,this._validationUrl)];case 2:return n=o.sent(),this._setParams(n),[2,{status:"success",data:n}];case 3:return"string"==typeof(i=o.sent())?[2,{token:i,status:"success-token"}]:(null===(t=this._logError)||void 0===t||t.call(this,{block:"backend",method:"refresh"},i),[2,{status:"error"}]);case 4:return[2]}}))}))},e.prototype.validate=function(e){var t;return i(this,void 0,void 0,(function(){var r,n,i,a;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,this._getRequestData(e)];case 1:return r=o.sent(),[4,(0,u.validateCaptcha)(r,this._validationUrl)];case 2:return[2,{token:o.sent(),status:"success"}];case 3:return(n=o.sent()).captchaKey?(i=n,a="string"==typeof e.answer,this._setParams(i),[2,{status:"resources",hasAnswer:a,data:i}]):(null===(t=this._logError)||void 0===t||t.call(this,{block:"backend",method:"validate"},n),[2,{status:"error"}]);case 4:return[2]}}))}))},e}();t.Backend=p},59195:function(e,t,r){"use strict";r(83710),r(69070),r(41539),r(39714),Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_PDATA=t.EMPTY_TSDATA=t.EMPTY_PICASSO=t.EMPTY_CAPTCHA_KEY=t.EMPTY_FINGERPRINT=void 0,t.EMPTY_FINGERPRINT="",t.EMPTY_CAPTCHA_KEY="",t.EMPTY_PICASSO="",t.EMPTY_TSDATA="";var n=JSON.stringify({powCalcTime:-1,powNonce:"",powPrefix:""});t.EMPTY_PDATA="function"==typeof btoa?btoa(n):Buffer.from(n).toString("base64")},11920:function(e,t,r){"use strict";r(82526),r(41817),r(32165),r(66992),r(19601),r(69070),r(41539),r(78783),r(33948);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useBackend=void 0;var a,s=r(63804),u=o(r(8257)),c=r(67221),l=r(59195);t.useBackend=function(e){var t=i((0,s.useState)({captchaKey:"",captchaKeyComputed:!1,fingerprint:"",fingerprintComputed:!1,pdata:l.EMPTY_PDATA,powComputed:!1,picasso:"",picassoComputed:!1,tsdata:""}),2),r=t[0],o=t[1],f=(0,s.useRef)(null),d=(0,s.useRef)(null),p=(0,s.useCallback)((function(e){return a.refresh(e)}),[]),h=(0,s.useCallback)((function(e){return a.validate(e)}),[]),v=function(e){(0,u.default)(d.current,e)||(o(e),d.current=e)},m=(0,s.useCallback)((function(){a=new c.Backend(n(n({},e),{onUpdate:v}))}),[e]);return(0,s.useEffect)((function(){(0,u.default)(f.current,e)||(a=new c.Backend(n(n({},e),{onUpdate:v})),f.current=e)}),[e]),n({refresh:p,validate:h,reset:m},r)}},46546:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0,t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},14276:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.loadScript=void 0;var n=r(46546);t.loadScript=function(e,t,r,i){if(void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=!0),n.canUseDOM){var o=document.createElement("script");o.src=e,o.onload=t,o.onerror=r,o.type="text/javascript";var a=function(){return document.body.appendChild(o)};i?a():window.addEventListener("load",a)}}},5702:function(e,t,r){"use strict";r(82526),r(41817),r(32165),r(92222),r(89554),r(82772),r(66992),r(69600),r(94986),r(85827),r(47042),r(69070),r(41539),r(74916),r(78783),r(4723),r(64765),r(23123),r(54747),r(33948),r(60285);var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.updateQuery=t.getQueryParams=t.buildQueryString=t.buildUrl=t.getPreviousPath=t.getOrigin=t.getParams=void 0,r(63176);var i=r(46546);function o(e){var t={};if(-1===e.indexOf("?"))return t;var r=e.split("?")[1];return new URLSearchParams(r).forEach((function(e,r){t[r]=e})),t}function a(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&void 0!==e[r]&&t.push("".concat(r,"=").concat(e[r]));return t.join("&")}t.getParams=o,t.getOrigin=function(e){var t=e.match(/^(https?:\/\/[^?\/]*)/g);return null===t?"":t[0]},t.getPreviousPath=function(e){return e.slice(0,e.lastIndexOf("/"))},t.buildUrl=function(e,t){var r=a(t);return r?"".concat(e,"?").concat(r):e},t.buildQueryString=a,t.getQueryParams=function(){return i.canUseDOM?o(window.location.search):{}},t.updateQuery=function(e,t){if(i.canUseDOM){var r=(window.location.search.length>1?window.location.search.split("?")[1]:"").split("&").reduce((function(e,t){if(0===t.length)return e;var r=n(t.split("="),2),i=r[0],o=r[1];return e[i]=o,e}),{});r[e]=t;var o=window.location.origin+window.location.pathname+"?"+a(r);history.pushState({},"",o)}}},37232:function(e,t,r){"use strict";r(82526),r(41817),r(32165),r(66992),r(21249),r(2707),r(69070),r(41539),r(78783),r(33948);var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function i(e){for(var t=Math.random()*e[e.length-1],r=0,n=e.length-1;r=t&&(e.apply(n,a),o=Date.now())}),Math.max(t-(Date.now()-o),0))):(e.apply(n,a),o=Date.now(),r=!0)}}},36834:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.drawGradient=void 0,t.drawGradient=function(e,t,r){var n=t.createRadialGradient(e.randomInt(r.width),e.randomInt(r.height),e.randomInt(r.width),e.randomInt(r.width),e.randomInt(r.height),e.randomInt(r.width));n.addColorStop(0,e.randomColor()),n.addColorStop(1,e.randomColor()),t.fillStyle=n}},22840:function(e,t,r){"use strict";r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(36834),t),i(r(321),t),i(r(58786),t)},321:function(e,t,r){"use strict";r(43290),r(69600),r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.drawPrimitive=t.primitives=void 0,t.primitives=[function(e,t,r){t.beginPath(),t.arc(e.randomInt(r.width),e.randomInt(r.height),e.randomInt(Math.min(r.width,r.height)),e.randomFloat(2*Math.PI),e.randomFloat(2*Math.PI)),t.stroke(),t.fill()},function(e,t,r){var n=Math.max(1,e.randomInt(5)),i=function(e,t){for(var r=65,n=126,i=[],o=0;o>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function i(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function o(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])}function a(e,t){return 0===(t%=64)?e:t<32?[e[0]<>>32-t,e[1]<>>1]),e=s(e=i(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=s(e=i(e,[3301882366,444984403]),[0,e[0]>>>1])}r(47042),r(83710),r(69070),r(41539),r(39714),Object.defineProperty(t,"__esModule",{value:!0}),t.x64hash128=void 0,t.x64hash128=function(e,t){t=t||0;for(var r=(e=e||"").length%16,c=e.length-r,l=[0,t],f=[0,t],d=[0,0],p=[0,0],h=[2277735313,289559509],v=[1291169091,658871167],m=0;m>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)+("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)}},5730:function(e,t,r){"use strict";r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(50197),t)},50197:function(e,t,r){"use strict";r(82526),r(41817),r(32165),r(66992),r(3843),r(83710),r(69070),r(41539),r(88674),r(78783),r(33948);var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=t)throw new Error("a should be less than b");return(0,n.random)()*(t-e)+e}},78217:function(e,t,r){"use strict";r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(94664),t),i(r(88544),t),i(r(11343),t),i(r(96462),t),i(r(95046),t),i(r(49530),t),i(r(31509),t),i(r(56095),t)},96462:function(e,t,r){"use strict";r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.int=void 0;var n=r(11343);t.int=function(e,t){return Math.floor((0,n.float)(e,t))}},95046:function(e,t,r){"use strict";r(92222),r(69070),r(74916),r(23123),Object.defineProperty(t,"__esModule",{value:!0}),t.jsVariableName=void 0;var n=r(88544),i=r(96462),o="abcdefghijklmnopqrstuvwxyz_$".split(""),a=o.concat("0123456789".split(""));t.jsVariableName=function(){for(var e=(0,i.int)(10,20),t=(0,n.choice)(o),r=1;r=0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}},56095:function(e,t,r){"use strict";r(91038),r(69600),r(69070),r(78783),Object.defineProperty(t,"__esModule",{value:!0}),t.string=void 0;var n=r(88544);t.string=function(e,t){return Array.from({length:t},(function(){return(0,n.choice)(e)})).join("")}},49752:function(e,t,r){"use strict";r(78011),r(69070),r(38880);var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(98587),t),i(r(67375),t)},31392:function(e,t,r){"use strict";r(3843),r(83710),r(9653),r(35192),r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.isValidTimestamp=t.createTimestampValidator=void 0;var n={maxFutureBuffer:100},i={getPerfNow:function(){return performance.now()},getDateNow:function(){return Date.now()},getTimeOrigin:function(){return performance.timeOrigin||Date.now()-performance.now()}};t.createTimestampValidator=function(e,t){void 0===e&&(e=n),void 0===t&&(t=i);var r=e.maxFutureBuffer;if(r<0)throw new Error("Buffer must be non-negative");var o=null;return function(e){if("number"!=typeof e||!Number.isFinite(e))return!1;null===o&&(o=t.getTimeOrigin());var n=e>1e12,i=n?e-o:e,a=n?t.getDateNow()-o:t.getPerfNow();return i>=0&&i<=a+r}},t.isValidTimestamp=(0,t.createTimestampValidator)()},98587:function(e,t,r){"use strict";r(82526),r(41817),r(32165),r(92222),r(66992),r(47042),r(24812),r(69070),r(69720),r(41539),r(78783),r(33948),r(32564);var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Tracker=t.DEFAULT_SAMPLING_AMOUNT=t.DEFAULT_SAMPLING_FREQUENCY=t.DEFAULT_TIMEOUT=void 0;var a=r(46546),s=r(60217),u=r(37232),c=r(31392);t.DEFAULT_TIMEOUT=15e3,t.DEFAULT_SAMPLING_FREQUENCY=25,t.DEFAULT_SAMPLING_AMOUNT=300;var l={timeout:t.DEFAULT_TIMEOUT},f=function(){function e(e){void 0===e&&(e=l);var r=this;this._mouseMoveHandler=(0,s.throttle)((function(e){var t=Math.floor(e.timeStamp);(0,c.isValidTimestamp)(t)&&r.result.pointerPositions.push(i([t],n(r._mapToRelative(e)),!1))}),t.DEFAULT_SAMPLING_FREQUENCY),this._mouseClickHandler=function(e){var t=Math.floor(e.timeStamp);(0,c.isValidTimestamp)(t)&&r.result.clickPositions.push(i([t],n(r._mapToRelative(e)),!1))},this._keyboardHandler=function(){r.result.keyboard.total++},this._pasteHandler=function(){r.result.keyboard.paste++},this._copyHandler=function(){r.result.keyboard.copy++},this._getEmptyResult=function(){return{pointerPositions:[],clickPositions:[],keyboard:{total:0,copy:0,paste:0}}},this._sample=function(e){var n=r._calculateWeights(e);return(0,u.sample)(e,n,t.DEFAULT_SAMPLING_AMOUNT)},this._calculateWeights=function(e){for(var t=[],r=0;r0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useTracker=void 0;var o=r(63804),a=new(r(98587).Tracker);t.useTracker=function(e){void 0===e&&(e={});var t=i((0,o.useState)(),2),r=t[0],s=t[1],u=(0,o.useCallback)((function(){a.stop(),a.start()}),[]);return(0,o.useEffect)((function(){return a.start(),s(a.getResult()),function(){a.stop()}}),[]),(0,o.useEffect)((function(){var t,r,i,o,s,u;a.set(n(n({},e),{relativeTo:null!==(r=null===(t=e.relativeToRef)||void 0===t?void 0:t.current)&&void 0!==r?r:void 0,imageContainer:null!==(o=null===(i=e.imageContainerRef)||void 0===i?void 0:i.current)&&void 0!==o?o:void 0,sliderContainer:null!==(u=null===(s=e.sliderContainerRef)||void 0===s?void 0:s.current)&&void 0!==u?u:void 0}))}),[e.document,e.timeout]),(0,o.useMemo)((function(){return{restart:u,result:r,tracker:a}}),[u,r])}},52460:function(e,t,r){"use strict";var n=r(70404);e.exports=n},23902:function(e,t,r){"use strict";var n=r(25914);r(54537),r(609),r(21568),r(95090),e.exports=n},4370:function(e,t,r){"use strict";r(78783),r(91038);var n=r(40857);e.exports=n.Array.from},85302:function(e,t,r){"use strict";r(69720);var n=r(40857);e.exports=n.Object.entries},44533:function(e,t,r){"use strict";r(32023);var n=r(2649);e.exports=n("String","includes")},19266:function(e,t,r){"use strict";r(92222),r(41539),r(82526),r(72443),r(41817),r(92401),r(8722),r(32165),r(69007),r(16066),r(83510),r(41840),r(6982),r(32159),r(96649),r(39341),r(60543),r(73706),r(10408),r(81299);var n=r(40857);e.exports=n.Symbol},68230:function(e,t,r){"use strict";e.exports=r(61615)},5489:function(e,t,r){"use strict";e.exports=r(39181)},61615:function(e,t,r){"use strict";var n=r(52460);e.exports=n},39181:function(e,t,r){"use strict";var n=r(23902);r(44177),r(53431),r(54534),r(48824),r(96431),r(40050),r(34744),r(44130),r(35954),e.exports=n},19662:function(e,t,r){"use strict";var n=r(60614),i=r(66330),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a function")}},39483:function(e,t,r){"use strict";var n=r(4411),i=r(66330),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a constructor")}},96077:function(e,t,r){"use strict";var n=r(60614),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},51223:function(e,t,r){"use strict";var n=r(5112),i=r(70030),o=r(3070).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},31530:function(e,t,r){"use strict";var n=r(28710).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},25787:function(e,t,r){"use strict";var n=r(47976),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw i("Incorrect invocation")}},19670:function(e,t,r){"use strict";var n=r(70111),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not an object")}},23013:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:function(e,t,r){"use strict";var n=r(47293);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},90260:function(e,t,r){"use strict";var n,i,o,a=r(23013),s=r(19781),u=r(17854),c=r(60614),l=r(70111),f=r(92597),d=r(70648),p=r(66330),h=r(68880),v=r(98052),m=r(47045),g=r(47976),y=r(79518),b=r(27674),_=r(5112),w=r(69711),S=r(29909),E=S.enforce,x=S.get,C=u.Int8Array,k=C&&C.prototype,T=u.Uint8ClampedArray,O=T&&T.prototype,P=C&&y(C),A=k&&y(k),M=Object.prototype,j=u.TypeError,R=_("toStringTag"),L=w("TYPED_ARRAY_TAG"),I="TypedArrayConstructor",D=a&&!!b&&"Opera"!==d(u.opera),N=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=y(e);if(l(t)){var r=x(t);return r&&f(r,I)?r.TypedArrayConstructor:F(t)}},z=function(e){if(!l(e))return!1;var t=d(e);return f(B,t)||f(U,t)};for(n in B)(o=(i=u[n])&&i.prototype)?E(o).TypedArrayConstructor=i:D=!1;for(n in U)(o=(i=u[n])&&i.prototype)&&(E(o).TypedArrayConstructor=i);if((!D||!c(P)||P===Function.prototype)&&(P=function(){throw j("Incorrect invocation")},D))for(n in B)u[n]&&b(u[n],P);if((!D||!A||A===M)&&(A=P.prototype,D))for(n in B)u[n]&&b(u[n].prototype,A);if(D&&y(O)!==A&&b(O,A),s&&!f(A,R))for(n in N=!0,m(A,R,{configurable:!0,get:function(){return l(this)?this[L]:void 0}}),B)u[n]&&h(u[n],L,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:N&&L,aTypedArray:function(e){if(z(e))return e;throw j("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!b||g(P,e)))return e;throw j(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in B){var o=u[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(r){try{o.prototype[e]=t}catch(e){}}}A[e]&&!r||v(A,e,r?t:D&&k[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(b){if(r)for(n in B)if((i=u[n])&&f(i,e))try{delete i[e]}catch(e){}if(P[e]&&!r)return;try{return v(P,e,r?t:D&&P[e]||t)}catch(e){}}for(n in B)!(i=u[n])||i[e]&&!r||v(i,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!l(e))return!1;var t=d(e);return"DataView"===t||f(B,t)||f(U,t)},isTypedArray:z,TypedArray:P,TypedArrayPrototype:A}},13331:function(e,t,r){"use strict";var n=r(17854),i=r(1702),o=r(19781),a=r(23013),s=r(76530),u=r(68880),c=r(47045),l=r(89190),f=r(47293),d=r(25787),p=r(19303),h=r(17466),v=r(57067),m=r(11179),g=r(79518),y=r(27674),b=r(8006).f,_=r(21285),w=r(41589),S=r(58003),E=r(29909),x=s.PROPER,C=s.CONFIGURABLE,k="ArrayBuffer",T="DataView",O="Wrong index",P=E.getterFor(k),A=E.getterFor(T),M=E.set,j=n.ArrayBuffer,R=j,L=R&&R.prototype,I=n.DataView,D=I&&I.prototype,N=Object.prototype,B=n.Array,U=n.RangeError,F=i(_),z=i([].reverse),V=m.pack,H=m.unpack,q=function(e){return[255&e]},Y=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},G=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return V(e,23,4)},W=function(e){return V(e,52,8)},$=function(e,t,r){c(e.prototype,t,{configurable:!0,get:function(){return r(this)[t]}})},X=function(e,t,r,n){var i=A(e),o=v(r),a=!!n;if(o+t>i.byteLength)throw U(O);var s=i.bytes,u=o+i.byteOffset,c=w(s,u,u+t);return a?c:z(c)},Z=function(e,t,r,n,i,o){var a=A(e),s=v(r),u=n(+i),c=!!o;if(s+t>a.byteLength)throw U(O);for(var l=a.bytes,f=s+a.byteOffset,d=0;dre;)(ee=te[re++])in R||u(R,ee,j[ee]);L.constructor=R}y&&g(D)!==N&&y(D,N);var ne=new I(new R(2)),ie=i(D.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(D,{setInt8:function(e,t){ie(this,e,t<<24>>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else L=(R=function(e){d(this,L);var t=v(e);M(this,{type:k,bytes:F(B(t),0),byteLength:t}),o||(this.byteLength=t,this.detached=!1)}).prototype,D=(I=function(e,t,r){d(this,D),d(e,L);var n=P(e),i=n.byteLength,a=p(t);if(a<0||a>i)throw U("Wrong offset");if(a+(r=void 0===r?i-a:h(r))>i)throw U("Wrong length");M(this,{type:T,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=a)}).prototype,o&&($(R,"byteLength",P),$(I,"buffer",A),$(I,"byteLength",A),$(I,"byteOffset",A)),l(D,{getInt8:function(e){return X(this,1,e)[0]<<24>>24},getUint8:function(e){return X(this,1,e)[0]},getInt16:function(e){var t=X(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=X(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return G(X(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return G(X(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return H(X(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return H(X(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){Z(this,1,e,q,t)},setUint8:function(e,t){Z(this,1,e,q,t)},setInt16:function(e,t){Z(this,2,e,Y,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){Z(this,2,e,Y,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){Z(this,4,e,K,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){Z(this,4,e,K,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){Z(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){Z(this,8,e,W,t,arguments.length>2&&arguments[2])}});S(R,k),S(I,T),e.exports={ArrayBuffer:R,DataView:I}},1048:function(e,t,r){"use strict";var n=r(47908),i=r(51400),o=r(26244),a=r(85117),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),u=o(r),c=i(e,u),l=i(t,u),f=arguments.length>2?arguments[2]:void 0,d=s((void 0===f?u:i(f,u))-l,u-c),p=1;for(l0;)l in r?r[c]=r[l]:a(r,c),c+=p,l+=p;return r}},21285:function(e,t,r){"use strict";var n=r(47908),i=r(51400),o=r(26244);e.exports=function(e){for(var t=n(this),r=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);c>s;)t[s++]=e;return t}},18533:function(e,t,r){"use strict";var n=r(42092).forEach,i=r(9341)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},97745:function(e,t,r){"use strict";var n=r(26244);e.exports=function(e,t){for(var r=0,i=n(t),o=new e(i);i>r;)o[r]=t[r++];return o}},48457:function(e,t,r){"use strict";var n=r(49974),i=r(46916),o=r(47908),a=r(53411),s=r(97659),u=r(4411),c=r(26244),l=r(86135),f=r(18554),d=r(71246),p=Array;e.exports=function(e){var t=o(e),r=u(this),h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v;m&&(v=n(v,h>2?arguments[2]:void 0));var g,y,b,_,w,S,E=d(t),x=0;if(!E||this===p&&s(E))for(g=c(t),y=r?new this(g):p(g);g>x;x++)S=m?v(t[x],x):t[x],l(y,x,S);else for(w=(_=f(t,E)).next,y=r?new this:[];!(b=i(w,_)).done;x++)S=m?a(_,v,[b.value,x],!0):b.value,l(y,x,S);return y.length=x,y}},41318:function(e,t,r){"use strict";var n=r(45656),i=r(51400),o=r(26244),a=function(e){return function(t,r,a){var s,u=n(t),c=o(u),l=i(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:function(e,t,r){"use strict";var n=r(49974),i=r(1702),o=r(68361),a=r(47908),s=r(26244),u=r(65417),c=i([].push),l=function(e){var t=1===e,r=2===e,i=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,m,g){for(var y,b,_=a(h),w=o(_),S=n(v,m),E=s(w),x=0,C=g||u,k=t?C(h,E):r||d?C(h,0):void 0;E>x;x++)if((p||x in w)&&(b=S(y=w[x],x,_),e))if(t)k[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c(k,y)}else switch(e){case 4:return!1;case 7:c(k,y)}return f?-1:i||l?l:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},86583:function(e,t,r){"use strict";var n=r(22104),i=r(45656),o=r(19303),a=r(26244),s=r(9341),u=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),d=l||!f;e.exports=d?function(e){if(l)return n(c,this,arguments)||0;var t=i(this),r=a(t),s=r-1;for(arguments.length>1&&(s=u(s,o(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},81194:function(e,t,r){"use strict";var n=r(47293),i=r(5112),o=r(7392),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,r){"use strict";var n=r(47293);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},53671:function(e,t,r){"use strict";var n=r(19662),i=r(47908),o=r(68361),a=r(26244),s=TypeError,u=function(e){return function(t,r,u,c){n(r);var l=i(t),f=o(l),d=a(l),p=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw s("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=h)p in f&&(c=r(c,f[p],p,l));return c}};e.exports={left:u(!1),right:u(!0)}},83658:function(e,t,r){"use strict";var n=r(19781),i=r(43157),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},41589:function(e,t,r){"use strict";var n=r(51400),i=r(26244),o=r(86135),a=Array,s=Math.max;e.exports=function(e,t,r){for(var u=i(e),c=n(t,u),l=n(void 0===r?u:r,u),f=a(s(l-c,0)),d=0;c0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},s=function(e,t,r,n){for(var i=t.length,o=r.length,a=0,s=0;a1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),o(d,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),p&&i(d,"size",{configurable:!0,get:function(){return v(this).size}}),f},setStrong:function(e,t,r){var n=t+" Iterator",i=g(t),o=g(n);l(e,t,(function(e,t){m(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?f("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),d(t)}}},29320:function(e,t,r){"use strict";var n=r(1702),i=r(89190),o=r(62423).getWeakData,a=r(25787),s=r(19670),u=r(68554),c=r(70111),l=r(20408),f=r(42092),d=r(92597),p=r(29909),h=p.set,v=p.getterFor,m=f.find,g=f.findIndex,y=n([].splice),b=0,_=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},S=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=S(this,e);if(t)return t[1]},has:function(e){return!!S(this,e)},set:function(e,t){var r=S(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var f=e((function(e,i){a(e,p),h(e,{type:t,id:b++,frozen:void 0}),u(i)||l(i,e[n],{that:e,AS_ENTRIES:r})})),p=f.prototype,m=v(t),g=function(e,t,r){var n=m(e),i=o(s(t),!0);return!0===i?_(n).set(t,r):i[n.id]=r,e};return i(p,{delete:function(e){var t=m(this);if(!c(e))return!1;var r=o(e);return!0===r?_(t).delete(e):r&&d(r,t.id)&&delete r[t.id]},has:function(e){var t=m(this);if(!c(e))return!1;var r=o(e);return!0===r?_(t).has(e):r&&d(r,t.id)}}),i(p,r?{get:function(e){var t=m(this);if(c(e)){var r=o(e);return!0===r?_(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),f}}},77710:function(e,t,r){"use strict";var n=r(82109),i=r(17854),o=r(1702),a=r(54705),s=r(98052),u=r(62423),c=r(20408),l=r(25787),f=r(60614),d=r(68554),p=r(70111),h=r(47293),v=r(17072),m=r(58003),g=r(79587);e.exports=function(e,t,r){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),_=y?"set":"add",w=i[e],S=w&&w.prototype,E=w,x={},C=function(e){var t=o(S[e]);s(S,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(b&&!p(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return b&&!p(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(b&&!p(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!f(w)||!(b||S.forEach&&!h((function(){(new w).entries().next()})))))E=r.getConstructor(t,e,y,_),u.enable();else if(a(e,!0)){var k=new E,T=k[_](b?{}:-0,1)!==k,O=h((function(){k.has(1)})),P=v((function(e){new w(e)})),A=!b&&h((function(){for(var e=new w,t=5;t--;)e[_](t,t);return!e.has(-0)}));P||((E=t((function(e,t){l(e,S);var r=g(new w,e,E);return d(t)||c(t,r[_],{that:r,AS_ENTRIES:y}),r}))).prototype=S,S.constructor=E),(O||A)&&(C("delete"),C("has"),y&&C("get")),(A||T)&&C(_),b&&S.clear&&delete S.clear}return x[e]=E,n({global:!0,constructor:!0,forced:E!==w},x),m(E,e),b||r.setStrong(E,e,y),E}},99920:function(e,t,r){"use strict";var n=r(92597),i=r(53887),o=r(31236),a=r(3070);e.exports=function(e,t,r){for(var s=i(t),u=a.f,c=o.f,l=0;l"+u+""+t+">"}},76178:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},68880:function(e,t,r){"use strict";var n=r(19781),i=r(3070),o=r(79114);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},79114:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:function(e,t,r){"use strict";var n=r(34948),i=r(3070),o=r(79114);e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},47045:function(e,t,r){"use strict";var n=r(56339),i=r(3070);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},98052:function(e,t,r){"use strict";var n=r(60614),i=r(3070),o=r(56339),a=r(13072);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(n(r)&&o(r,c,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},89190:function(e,t,r){"use strict";var n=r(98052);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},13072:function(e,t,r){"use strict";var n=r(17854),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},85117:function(e,t,r){"use strict";var n=r(66330),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+n(t)+" of "+n(e))}},19781:function(e,t,r){"use strict";var n=r(47293);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(e){"use strict";var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},80317:function(e,t,r){"use strict";var n=r(17854),i=r(70111),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},7207:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},48324:function(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:function(e,t,r){"use strict";var n=r(80317)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},68886:function(e,t,r){"use strict";var n=r(88113).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},7871:function(e,t,r){"use strict";var n=r(83823),i=r(35268);e.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},89363:function(e){"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},83823:function(e){"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:function(e,t,r){"use strict";var n=r(88113);e.exports=/MSIE|Trident/.test(n)},71528:function(e,t,r){"use strict";var n=r(88113);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},6833:function(e,t,r){"use strict";var n=r(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},35268:function(e,t,r){"use strict";var n=r(17854),i=r(84326);e.exports="process"===i(n.process)},71036:function(e,t,r){"use strict";var n=r(88113);e.exports=/web0s(?!.*chrome)/i.test(n)},88113:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(e,t,r){"use strict";var n,i,o=r(17854),a=r(88113),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},98008:function(e,t,r){"use strict";var n=r(88113).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},2649:function(e,t,r){"use strict";var n=r(17854),i=r(1702);e.exports=function(e,t){return i(n[e].prototype[t])}},80748:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(e,t,r){"use strict";var n=r(17854),i=r(31236).f,o=r(68880),a=r(98052),s=r(13072),u=r(99920),c=r(54705);e.exports=function(e,t){var r,l,f,d,p,h=e.target,v=e.global,m=e.stat;if(r=v?n:m?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in t){if(d=t[l],f=e.dontCallGetSet?(p=i(r,l))&&p.value:r[l],!c(v?l:h+(m?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(r,l,d,e)}}},47293:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:function(e,t,r){"use strict";r(74916);var n=r(21470),i=r(98052),o=r(22261),a=r(47293),s=r(5112),u=r(68880),c=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var d=s(e),p=!a((function(){var t={};return t[d]=function(){return 7},7!==""[e](t)})),h=p&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](""),!t}));if(!p||!h||r){var v=n(/./[d]),m=t(d,""[e],(function(e,t,r,i,a){var s=n(e),u=t.exec;return u===o||u===l.exec?p&&!a?{done:!0,value:v(t,r,i)}:{done:!0,value:s(r,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(l,d,m[1])}f&&u(l[d],"sham",!0)}},76677:function(e,t,r){"use strict";var n=r(47293);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:function(e,t,r){"use strict";var n=r(34374),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},49974:function(e,t,r){"use strict";var n=r(21470),i=r(19662),o=r(34374),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},34374:function(e,t,r){"use strict";var n=r(47293);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},27065:function(e,t,r){"use strict";var n=r(1702),i=r(19662),o=r(70111),a=r(92597),s=r(50206),u=r(34374),c=Function,l=n([].concat),f=n([].join),d={},p=function(e,t,r){if(!a(d,t)){for(var n=[],i=0;i]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,d){var p=r+e.length,h=n.length,v=l;return void 0!==f&&(f=i(f),v=c),s(d,v,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,p);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>h){var d=o(l/10);return 0===d?i:d<=h?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}c=n[l-1]}return void 0===c?"":c}))}},17854:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},92597:function(e,t,r){"use strict";var n=r(1702),i=r(47908),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3501:function(e){"use strict";e.exports={}},842:function(e){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},60490:function(e,t,r){"use strict";var n=r(35005);e.exports=n("document","documentElement")},64664:function(e,t,r){"use strict";var n=r(19781),i=r(47293),o=r(80317);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},11179:function(e,t,r){"use strict";var n=r(64310),i=r(74758),o=Array,a=Math.abs,s=Math.pow,u=Math.floor,c=Math.log,l=Math.LN2,f=function(e){var t=i(e),r=a(e-t);return r>.5||.5===r&&t%2!=0?t+n(e):t};e.exports={pack:function(e,t,r){var n,i,d,p=o(r),h=8*r-t-1,v=(1<>1,g=23===t?s(2,-24)-s(2,-77):0,y=e<0||0===e&&1/e<0?1:0,b=0;for((e=a(e))!=e||e===1/0?(i=e!=e?1:0,n=v):(n=u(c(e)/l),e*(d=s(2,-n))<1&&(n--,d*=2),(e+=n+m>=1?g/d:g*s(2,1-m))*d>=2&&(n++,d/=2),n+m>=v?(i=0,n=v):n+m>=1?(i=f((e*d-1)*s(2,t)),n+=m):(i=f(e*s(2,m-1)*s(2,t)),n=0));t>=8;)p[b++]=255&i,i/=256,t-=8;for(n=n<0;)p[b++]=255&n,n/=256,h-=8;return p[--b]|=128*y,p},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,o=(1<>1,u=i-7,c=n-1,l=e[c--],f=127&l;for(l>>=7;u>0;)f=256*f+e[c--],u-=8;for(r=f&(1<<-u)-1,f>>=-u,u+=t;u>0;)r=256*r+e[c--],u-=8;if(0===f)f=1-a;else{if(f===o)return r?NaN:l?-1/0:1/0;r+=s(2,t),f-=a}return(l?-1:1)*r*s(2,f-t)}}},68361:function(e,t,r){"use strict";var n=r(1702),i=r(47293),o=r(84326),a=Object,s=n("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):a(e)}:a},79587:function(e,t,r){"use strict";var n=r(60614),i=r(70111),o=r(27674);e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},42788:function(e,t,r){"use strict";var n=r(1702),i=r(60614),o=r(5465),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},62423:function(e,t,r){"use strict";var n=r(82109),i=r(1702),o=r(3501),a=r(70111),s=r(92597),u=r(3070).f,c=r(8006),l=r(1156),f=r(52050),d=r(69711),p=r(76677),h=!1,v=d("meta"),m=0,g=function(e){u(e,v,{value:{objectID:"O"+m++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=c.f,t=i([].splice),r={};r[v]=1,e(r).length&&(c.f=function(r){for(var n=e(r),i=0,o=n.length;iy;y++)if((_=A(e[y]))&&c(v,_))return _;return new h(!1)}m=l(e,g)}for(w=C?e.next:m.next;!(S=i(w,m)).done;){try{_=A(S.value)}catch(e){d(m,"throw",e)}if("object"==typeof _&&_&&c(v,_))return _}return new h(!1)}},99212:function(e,t,r){"use strict";var n=r(46916),i=r(19670),o=r(58173);e.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},63061:function(e,t,r){"use strict";var n=r(13383).IteratorPrototype,i=r(70030),o=r(79114),a=r(58003),s=r(97497),u=function(){return this};e.exports=function(e,t,r,c){var l=t+" Iterator";return e.prototype=i(n,{next:o(+!c,r)}),a(e,l,!1,!0),s[l]=u,e}},51656:function(e,t,r){"use strict";var n=r(82109),i=r(46916),o=r(31913),a=r(76530),s=r(60614),u=r(63061),c=r(79518),l=r(27674),f=r(58003),d=r(68880),p=r(98052),h=r(5112),v=r(97497),m=r(13383),g=a.PROPER,y=a.CONFIGURABLE,b=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S="keys",E="values",x="entries",C=function(){return this};e.exports=function(e,t,r,a,h,m,k){u(r,t,a);var T,O,P,A=function(e){if(e===h&&I)return I;if(!_&&e in R)return R[e];switch(e){case S:case E:case x:return function(){return new r(this,e)}}return function(){return new r(this)}},M=t+" Iterator",j=!1,R=e.prototype,L=R[w]||R["@@iterator"]||h&&R[h],I=!_&&L||A(h),D="Array"===t&&R.entries||L;if(D&&(T=c(D.call(new e)))!==Object.prototype&&T.next&&(o||c(T)===b||(l?l(T,b):s(T[w])||p(T,w,C)),f(T,M,!0,!0),o&&(v[M]=C)),g&&h===E&&L&&L.name!==E&&(!o&&y?d(R,"name",E):(j=!0,I=function(){return i(L,this)})),h)if(O={values:A(E),keys:m?I:A(S),entries:A(x)},k)for(P in O)(_||j||!(P in R))&&p(R,P,O[P]);else n({target:t,proto:!0,forced:_||j},O);return o&&!k||R[w]===I||p(R,w,I,{name:h}),v[t]=I,O}},13383:function(e,t,r){"use strict";var n,i,o,a=r(47293),s=r(60614),u=r(70111),c=r(70030),l=r(79518),f=r(98052),d=r(5112),p=r(31913),h=d("iterator"),v=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(n=i):v=!0),!u(n)||a((function(){var e={};return n[h].call(e)!==e}))?n={}:p&&(n=c(n)),s(n[h])||f(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},97497:function(e){"use strict";e.exports={}},26244:function(e,t,r){"use strict";var n=r(17466);e.exports=function(e){return n(e.length)}},56339:function(e,t,r){"use strict";var n=r(1702),i=r(47293),o=r(60614),a=r(92597),s=r(19781),u=r(76530).CONFIGURABLE,c=r(42788),l=r(29909),f=l.enforce,d=l.get,p=String,h=Object.defineProperty,v=n("".slice),m=n("".replace),g=n([].join),y=s&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===v(p(t),0,7)&&(t="["+m(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&a(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return o(this)&&d(this).source||c(this)}),"toString")},64310:function(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},74758:function(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},95948:function(e,t,r){"use strict";var n,i,o,a,s,u=r(17854),c=r(49974),l=r(31236).f,f=r(20261).set,d=r(18572),p=r(6833),h=r(71528),v=r(71036),m=r(35268),g=u.MutationObserver||u.WebKitMutationObserver,y=u.document,b=u.process,_=u.Promise,w=l(u,"queueMicrotask"),S=w&&w.value;if(!S){var E=new d,x=function(){var e,t;for(m&&(e=b.domain)&&e.exit();t=E.get();)try{t()}catch(e){throw E.head&&n(),e}e&&e.enter()};p||m||v||!g||!y?!h&&_&&_.resolve?((a=_.resolve(void 0)).constructor=_,s=c(a.then,a),n=function(){s(x)}):m?n=function(){b.nextTick(x)}:(f=c(f,u),n=function(){f(x)}):(i=!0,o=y.createTextNode(""),new g(x).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),S=function(e){E.head||n(),E.add(e)}}e.exports=S},78523:function(e,t,r){"use strict";var n=r(19662),i=TypeError,o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw i("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},3929:function(e,t,r){"use strict";var n=r(47850),i=TypeError;e.exports=function(e){if(n(e))throw i("The method doesn't accept regular expressions");return e}},77023:function(e,t,r){"use strict";var n=r(17854).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&n(e)}},21574:function(e,t,r){"use strict";var n=r(19781),i=r(1702),o=r(46916),a=r(47293),s=r(81956),u=r(25181),c=r(55296),l=r(47908),f=r(68361),d=Object.assign,p=Object.defineProperty,h=i([].concat);e.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!==d({},e)[r]||s(d({},t)).join("")!==i}))?function(e,t){for(var r=l(e),i=arguments.length,a=1,d=u.f,p=c.f;i>a;)for(var v,m=f(arguments[a++]),g=d?h(s(m),d(m)):s(m),y=g.length,b=0;y>b;)v=g[b++],n&&!o(p,m,v)||(r[v]=m[v]);return r}:d},70030:function(e,t,r){"use strict";var n,i=r(19670),o=r(36048),a=r(80748),s=r(3501),u=r(60490),c=r(80317),l=r(6200),f=l("IE_PROTO"),d=function(){},p=function(e){return"