cdn.surveyserv.com
Open in
urlscan Pro
13.32.121.83
Public Scan
Submitted URL: http://cdn.surveyserv.com/widget.min.js
Effective URL: https://cdn.surveyserv.com/widget.min.js
Submission: On September 06 via manual from IN — Scanned from DE
Effective URL: https://cdn.surveyserv.com/widget.min.js
Submission: On September 06 via manual from IN — Scanned from DE
Form analysis
0 forms found in the DOMText Content
/*! For license information please see widget.min.js.LICENSE.txt */ (()=>{"use strict";var e={813:e=>{var n=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var i,l,s=o(e),u=1;u<arguments.length;u++){for(var c in i=Object(arguments[u]))t.call(i,c)&&(s[c]=i[c]);if(n){l=n(i);for(var d=0;d<l.length;d++)r.call(i,l[d])&&(s[l[d]]=i[l[d]])}}return s}},799:(e,n,t)=>{var r=t(526),o=t(813),a=t(851);function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var l=new Set,s={};function u(e,n){c(e,n),c(e+"Capture",n)}function c(e,n){for(s[e]=n,e=0;e<n.length;e++)l.add(n[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,m={},v={};function h(e,n,t,r,o,a,i){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=i}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){y[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];y[n]=new h(n,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){y[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){y[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){y[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){y[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){y[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){y[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){y[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function x(e,n,t,r){var o=y.hasOwnProperty(n)?y[n]:null;(null!==o?0===o.type:!r&&2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))||(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,o,r)&&(t=null),r||null===o?function(e){return!!p.call(v,e)||!p.call(m,e)&&(f.test(e)?v[e]=!0:(m[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):o.mustUseProperty?e[o.propertyName]=null===t?3!==o.type&&"":t:(n=o.attributeName,r=o.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(o=o.type)||4===o&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var n=e.replace(g,b);y[n]=new h(n,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace(g,b);y[n]=new h(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace(g,b);y[n]=new h(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){y[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),y.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){y[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=60103,E=60106,S=60107,_=60108,C=60114,N=60109,O=60110,z=60112,T=60113,P=60120,L=60115,q=60116,R=60121,M=60128,B=60129,I=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var D=Symbol.for;k=D("react.element"),E=D("react.portal"),S=D("react.fragment"),_=D("react.strict_mode"),C=D("react.profiler"),N=D("react.provider"),O=D("react.context"),z=D("react.forward_ref"),T=D("react.suspense"),P=D("react.suspense_list"),L=D("react.memo"),q=D("react.lazy"),R=D("react.block"),D("react.scope"),M=D("react.opaque.id"),B=D("react.debug_trace_mode"),I=D("react.offscreen"),F=D("react.legacy_hidden")}var V,W="function"==typeof Symbol&&Symbol.iterator;function j(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=W&&e[W]||e["@@iterator"])?e:null}function Q(e){if(void 0===V)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);V=n&&n[1]||""}return"\n"+V+e}var U=!1;function A(e,n){if(!e||U)return"";U=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{U=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Q(e):""}function Z(e){switch(e.tag){case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return A(e.type,!1);case 11:return A(e.type.render,!1);case 22:return A(e.type._render,!1);case 1:return A(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case E:return"Portal";case C:return"Profiler";case _:return"StrictMode";case T:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case z:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(""!==n?"ForwardRef("+n+")":"ForwardRef");case L:return $(e.type);case R:return $(e._render);case q:n=e._payload,e=e._init;try{return $(e(n))}catch(e){}}return null}function H(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function X(e){e._valueTracker||(e._valueTracker=function(e){var n=Y(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var o=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function K(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function J(e,n){var t=n.checked;return o({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function ee(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=H(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function ne(e,n){null!=(n=n.checked)&&x(e,"checked",n,!1)}function te(e,n){ne(e,n);var t=H(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?oe(e,n.type,t):n.hasOwnProperty("defaultValue")&&oe(e,n.type,H(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function re(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function oe(e,n,t){"number"===n&&G(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function ae(e,n){return e=o({children:void 0},n),(n=function(e){var n="";return r.Children.forEach(e,(function(e){null!=e&&(n+=e)})),n}(n.children))&&(e.children=n),e}function ie(e,n,t,r){if(e=e.options,n){n={};for(var o=0;o<t.length;o++)n["$"+t[o]]=!0;for(t=0;t<e.length;t++)o=n.hasOwnProperty("$"+e[t].value),e[t].selected!==o&&(e[t].selected=o),o&&r&&(e[t].defaultSelected=!0)}else{for(t=""+H(t),n=null,o=0;o<e.length;o++){if(e[o].value===t)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==n||e[o].disabled||(n=e[o])}null!==n&&(n.selected=!0)}}function le(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(i(91));return o({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(i(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(i(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:H(t)}}function ue(e,n){var t=H(n.value),r=H(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function ce(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}var de="http://www.w3.org/1999/xhtml";function fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pe(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?fe(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var me,ve,he=(ve=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction((function(){return ve(e,n)}))}:ve);function ye(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n}var ge={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];function xe(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||ge.hasOwnProperty(e)&&ge[e]?(""+n).trim():n+"px"}function we(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),o=xe(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,o):e[t]=o}}Object.keys(ge).forEach((function(e){be.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),ge[n]=ge[e]}))}));var ke=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,n){if(n){if(ke[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(i(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(i(62))}}function Se(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,Ne=null,Oe=null;function ze(e){if(e=Jr(e)){if("function"!=typeof Ce)throw Error(i(280));var n=e.stateNode;n&&(n=no(n),Ce(e.stateNode,e.type,n))}}function Te(e){Ne?Oe?Oe.push(e):Oe=[e]:Ne=e}function Pe(){if(Ne){var e=Ne,n=Oe;if(Oe=Ne=null,ze(e),n)for(e=0;e<n.length;e++)ze(n[e])}}function Le(e,n){return e(n)}function qe(e,n,t,r,o){return e(n,t,r,o)}function Re(){}var Me=Le,Be=!1,Ie=!1;function Fe(){null===Ne&&null===Oe||(Re(),Pe())}function De(e,n){var t=e.stateNode;if(null===t)return null;var r=no(t);if(null===r)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(i(231,n,typeof t));return t}var Ve=!1;if(d)try{var We={};Object.defineProperty(We,"passive",{get:function(){Ve=!0}}),window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch(ve){Ve=!1}function je(e,n,t,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{n.apply(t,u)}catch(e){this.onError(e)}}var Qe=!1,Ue=null,Ae=!1,Ze=null,$e={onError:function(e){Qe=!0,Ue=e}};function He(e,n,t,r,o,a,i,l,s){Qe=!1,Ue=null,je.apply($e,arguments)}function Ye(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{0!=(1026&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function Xe(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&null!==(e=e.alternate)&&(n=e.memoizedState),null!==n)return n.dehydrated}return null}function Ke(e){if(Ye(e)!==e)throw Error(i(188))}function Ge(e){if(e=function(e){var n=e.alternate;if(!n){if(null===(n=Ye(e)))throw Error(i(188));return n!==e?null:e}for(var t=e,r=n;;){var o=t.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){t=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===t)return Ke(o),e;if(a===r)return Ke(o),n;a=a.sibling}throw Error(i(188))}if(t.return!==r.return)t=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===t){l=!0,t=o,r=a;break}if(s===r){l=!0,r=o,t=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===t){l=!0,t=a,r=o;break}if(s===r){l=!0,r=a,t=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(t.alternate!==r)throw Error(i(190))}if(3!==t.tag)throw Error(i(188));return t.stateNode.current===t?e:n}(e),!e)return null;for(var n=e;;){if(5===n.tag||6===n.tag)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===e)break;for(;!n.sibling;){if(!n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function Je(e,n){for(var t=e.alternate;null!==n;){if(n===e||n===t)return!0;n=n.return}return!1}var en,nn,tn,rn,on=!1,an=[],ln=null,sn=null,un=null,cn=new Map,dn=new Map,fn=[],pn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function mn(e,n,t,r,o){return{blockedOn:e,domEventName:n,eventSystemFlags:16|t,nativeEvent:o,targetContainers:[r]}}function vn(e,n){switch(e){case"focusin":case"focusout":ln=null;break;case"dragenter":case"dragleave":sn=null;break;case"mouseover":case"mouseout":un=null;break;case"pointerover":case"pointerout":cn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":dn.delete(n.pointerId)}}function hn(e,n,t,r,o,a){return null===e||e.nativeEvent!==a?(e=mn(n,t,r,o,a),null!==n&&null!==(n=Jr(n))&&nn(n),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==o&&-1===n.indexOf(o)&&n.push(o),e)}function yn(e){var n=Gr(e.target);if(null!==n){var t=Ye(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=Xe(t)))return e.blockedOn=n,void rn(e.lanePriority,(function(){a.unstable_runWithPriority(e.priority,(function(){tn(t)}))}))}else if(3===n&&t.stateNode.hydrate)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function gn(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=Jn(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=Jr(t))&&nn(n),e.blockedOn=t,!1;n.shift()}return!0}function bn(e,n,t){gn(e)&&t.delete(n)}function xn(){for(on=!1;0<an.length;){var e=an[0];if(null!==e.blockedOn){null!==(e=Jr(e.blockedOn))&&en(e);break}for(var n=e.targetContainers;0<n.length;){var t=Jn(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t){e.blockedOn=t;break}n.shift()}null===e.blockedOn&&an.shift()}null!==ln&&gn(ln)&&(ln=null),null!==sn&&gn(sn)&&(sn=null),null!==un&&gn(un)&&(un=null),cn.forEach(bn),dn.forEach(bn)}function wn(e,n){e.blockedOn===n&&(e.blockedOn=null,on||(on=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,xn)))}function kn(e){function n(n){return wn(n,e)}if(0<an.length){wn(an[0],e);for(var t=1;t<an.length;t++){var r=an[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ln&&wn(ln,e),null!==sn&&wn(sn,e),null!==un&&wn(un,e),cn.forEach(n),dn.forEach(n),t=0;t<fn.length;t++)(r=fn[t]).blockedOn===e&&(r.blockedOn=null);for(;0<fn.length&&null===(t=fn[0]).blockedOn;)yn(t),null===t.blockedOn&&fn.shift()}function En(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Sn={animationend:En("Animation","AnimationEnd"),animationiteration:En("Animation","AnimationIteration"),animationstart:En("Animation","AnimationStart"),transitionend:En("Transition","TransitionEnd")},_n={},Cn={};function Nn(e){if(_n[e])return _n[e];if(!Sn[e])return e;var n,t=Sn[e];for(n in t)if(t.hasOwnProperty(n)&&n in Cn)return _n[e]=t[n];return e}d&&(Cn=document.createElement("div").style,"AnimationEvent"in window||(delete Sn.animationend.animation,delete Sn.animationiteration.animation,delete Sn.animationstart.animation),"TransitionEvent"in window||delete Sn.transitionend.transition);var On=Nn("animationend"),zn=Nn("animationiteration"),Tn=Nn("animationstart"),Pn=Nn("transitionend"),Ln=new Map,qn=new Map,Rn=["abort","abort",On,"animationEnd",zn,"animationIteration",Tn,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Pn,"transitionEnd","waiting","waiting"];function Mn(e,n){for(var t=0;t<e.length;t+=2){var r=e[t],o=e[t+1];o="on"+(o[0].toUpperCase()+o.slice(1)),qn.set(r,n),Ln.set(r,o),u(o,[r])}}(0,a.unstable_now)();var Bn=8;function In(e){if(0!=(1&e))return Bn=15,1;if(0!=(2&e))return Bn=14,2;if(0!=(4&e))return Bn=13,4;var n=24&e;return 0!==n?(Bn=12,n):0!=(32&e)?(Bn=11,32):0!=(n=192&e)?(Bn=10,n):0!=(256&e)?(Bn=9,256):0!=(n=3584&e)?(Bn=8,n):0!=(4096&e)?(Bn=7,4096):0!=(n=4186112&e)?(Bn=6,n):0!=(n=62914560&e)?(Bn=5,n):67108864&e?(Bn=4,67108864):0!=(134217728&e)?(Bn=3,134217728):0!=(n=805306368&e)?(Bn=2,n):0!=(1073741824&e)?(Bn=1,1073741824):(Bn=8,e)}function Fn(e,n){var t=e.pendingLanes;if(0===t)return Bn=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Bn=15;else if(0!=(a=134217727&t)){var s=a&~i;0!==s?(r=In(s),o=Bn):0!=(l&=a)&&(r=In(l),o=Bn)}else 0!=(a=t&~i)?(r=In(a),o=Bn):0!==l&&(r=In(l),o=Bn);if(0===r)return 0;if(r=t&((0>(r=31-Un(r))?0:1<<r)<<1)-1,0!==n&&n!==r&&0==(n&i)){if(In(n),o<=Bn)return n;Bn=o}if(0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)o=1<<(t=31-Un(n)),r|=e[t],n&=~o;return r}function Dn(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Vn(e,n){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Wn(24&~n))?Vn(10,n):e;case 10:return 0===(e=Wn(192&~n))?Vn(8,n):e;case 8:return 0===(e=Wn(3584&~n))&&0===(e=Wn(4186112&~n))&&(e=512),e;case 2:return 0===(n=Wn(805306368&~n))&&(n=268435456),n}throw Error(i(358,e))}function Wn(e){return e&-e}function jn(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Qn(e,n,t){e.pendingLanes|=n;var r=n-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[n=31-Un(n)]=t}var Un=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(An(e)/Zn|0)|0},An=Math.log,Zn=Math.LN2,$n=a.unstable_UserBlockingPriority,Hn=a.unstable_runWithPriority,Yn=!0;function Xn(e,n,t,r){Be||Re();var o=Gn,a=Be;Be=!0;try{qe(o,e,n,t,r)}finally{(Be=a)||Fe()}}function Kn(e,n,t,r){Hn($n,Gn.bind(null,e,n,t,r))}function Gn(e,n,t,r){var o;if(Yn)if((o=0==(4&n))&&0<an.length&&-1<pn.indexOf(e))e=mn(null,e,n,t,r),an.push(e);else{var a=Jn(e,n,t,r);if(null===a)o&&vn(e,r);else{if(o){if(-1<pn.indexOf(e))return e=mn(a,e,n,t,r),void an.push(e);if(function(e,n,t,r,o){switch(n){case"focusin":return ln=hn(ln,e,n,t,r,o),!0;case"dragenter":return sn=hn(sn,e,n,t,r,o),!0;case"mouseover":return un=hn(un,e,n,t,r,o),!0;case"pointerover":var a=o.pointerId;return cn.set(a,hn(cn.get(a)||null,e,n,t,r,o)),!0;case"gotpointercapture":return a=o.pointerId,dn.set(a,hn(dn.get(a)||null,e,n,t,r,o)),!0}return!1}(a,e,n,t,r))return;vn(e,r)}Pr(e,n,r,null,t)}}}function Jn(e,n,t,r){var o=_e(r);if(null!==(o=Gr(o))){var a=Ye(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Xe(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Pr(e,n,r,o,t),null}var et=null,nt=null,tt=null;function rt(){if(tt)return tt;var e,n,t=nt,r=t.length,o="value"in et?et.value:et.textContent,a=o.length;for(e=0;e<r&&t[e]===o[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===o[a-n];n++);return tt=o.slice(e,1<n?1-n:void 0)}function ot(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function at(){return!0}function it(){return!1}function lt(e){function n(n,t,r,o,a){for(var i in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?at:it,this.isPropagationStopped=it,this}return o(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=at)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=at)},persist:function(){},isPersistent:at}),n}var st,ut,ct,dt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ft=lt(dt),pt=o({},dt,{view:0,detail:0}),mt=lt(pt),vt=o({},pt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ct,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ct&&(ct&&"mousemove"===e.type?(st=e.screenX-ct.screenX,ut=e.screenY-ct.screenY):ut=st=0,ct=e),st)},movementY:function(e){return"movementY"in e?e.movementY:ut}}),ht=lt(vt),yt=lt(o({},vt,{dataTransfer:0})),gt=lt(o({},pt,{relatedTarget:0})),bt=lt(o({},dt,{animationName:0,elapsedTime:0,pseudoElement:0})),xt=lt(o({},dt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),wt=lt(o({},dt,{data:0})),kt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Et={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},St={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _t(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=St[e])&&!!n[e]}function Ct(){return _t}var Nt=lt(o({},pt,{key:function(e){if(e.key){var n=kt[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=ot(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Et[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ct,charCode:function(e){return"keypress"===e.type?ot(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ot(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ot=lt(o({},vt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),zt=lt(o({},pt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ct})),Tt=lt(o({},dt,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pt=lt(o({},vt,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Lt=[9,13,27,32],qt=d&&"CompositionEvent"in window,Rt=null;d&&"documentMode"in document&&(Rt=document.documentMode);var Mt=d&&"TextEvent"in window&&!Rt,Bt=d&&(!qt||Rt&&8<Rt&&11>=Rt),It=String.fromCharCode(32),Ft=!1;function Dt(e,n){switch(e){case"keyup":return-1!==Lt.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Wt=!1,jt={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Qt(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!jt[e.type]:"textarea"===n}function Ut(e,n,t,r){Te(r),0<(n=qr(n,"onChange")).length&&(t=new ft("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var At=null,Zt=null;function $t(e){_r(e,0)}function Ht(e){if(K(eo(e)))return e}function Yt(e,n){if("change"===e)return n}var Xt=!1;if(d){var Kt;if(d){var Gt="oninput"in document;if(!Gt){var Jt=document.createElement("div");Jt.setAttribute("oninput","return;"),Gt="function"==typeof Jt.oninput}Kt=Gt}else Kt=!1;Xt=Kt&&(!document.documentMode||9<document.documentMode)}function er(){At&&(At.detachEvent("onpropertychange",nr),Zt=At=null)}function nr(e){if("value"===e.propertyName&&Ht(Zt)){var n=[];if(Ut(n,Zt,e,_e(e)),e=$t,Be)e(n);else{Be=!0;try{Le(e,n)}finally{Be=!1,Fe()}}}}function tr(e,n,t){"focusin"===e?(er(),Zt=t,(At=n).attachEvent("onpropertychange",nr)):"focusout"===e&&er()}function rr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ht(Zt)}function or(e,n){if("click"===e)return Ht(n)}function ar(e,n){if("input"===e||"change"===e)return Ht(n)}var ir="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},lr=Object.prototype.hasOwnProperty;function sr(e,n){if(ir(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++)if(!lr.call(n,t[r])||!ir(e[t[r]],n[t[r]]))return!1;return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,n){var t,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?dr(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function fr(){for(var e=window,n=G();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(!t)break;n=G((e=n.contentWindow).document)}return n}function pr(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var mr=d&&"documentMode"in document&&11>=document.documentMode,vr=null,hr=null,yr=null,gr=!1;function br(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;gr||null==vr||vr!==G(r)||(r="selectionStart"in(r=vr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=qr(hr,"onSelect")).length&&(n=new ft("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=vr)))}Mn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mn(Rn,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),wr=0;wr<xr.length;wr++)qn.set(xr[wr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Er=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function Sr(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,o,a,l,s,u){if(He.apply(this,arguments),Qe){if(!Qe)throw Error(i(198));var c=Ue;Qe=!1,Ue=null,Ae||(Ae=!0,Ze=c)}}(r,n,void 0,e),e.currentTarget=null}function _r(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],o=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Sr(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Sr(o,l,u),a=s}}}if(Ae)throw e=Ze,Ae=!1,Ze=null,e}function Cr(e,n){var t=to(n),r=e+"__bubble";t.has(r)||(Tr(n,e,2,!1),t.add(r))}var Nr="_reactListening"+Math.random().toString(36).slice(2);function Or(e){e[Nr]||(e[Nr]=!0,l.forEach((function(n){Er.has(n)||zr(n,!1,e,null),zr(n,!0,e,null)})))}function zr(e,n,t,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=t;if("selectionchange"===e&&9!==t.nodeType&&(a=t.ownerDocument),null!==r&&!n&&Er.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=to(a),l=e+"__"+(n?"capture":"bubble");i.has(l)||(n&&(o|=4),Tr(a,e,o,n),i.add(l))}function Tr(e,n,t,r){var o=qn.get(n);switch(void 0===o?2:o){case 0:o=Xn;break;case 1:o=Kn;break;default:o=Gn}t=o.bind(null,n,t,e),o=void 0,!Ve||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(o=!0),r?void 0!==o?e.addEventListener(n,t,{capture:!0,passive:o}):e.addEventListener(n,t,!0):void 0!==o?e.addEventListener(n,t,{passive:o}):e.addEventListener(n,t,!1)}function Pr(e,n,t,r,o){var a=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=Gr(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,n,t){if(Ie)return e();Ie=!0;try{Me(e,n,t)}finally{Ie=!1,Fe()}}((function(){var r=a,o=_e(t),i=[];e:{var l=Ln.get(e);if(void 0!==l){var s=ft,u=e;switch(e){case"keypress":if(0===ot(t))break e;case"keydown":case"keyup":s=Nt;break;case"focusin":u="focus",s=gt;break;case"focusout":u="blur",s=gt;break;case"beforeblur":case"afterblur":s=gt;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=ht;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=yt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=zt;break;case On:case zn:case Tn:s=bt;break;case Pn:s=Tt;break;case"scroll":s=mt;break;case"wheel":s=Pt;break;case"copy":case"cut":case"paste":s=xt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Ot}var c=0!=(4&n),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var v=(p=m).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==f&&null!=(v=De(m,f))&&c.push(Lr(m,v,p))),d)break;m=m.return}0<c.length&&(l=new s(l,u,null,t,o),i.push({event:l,listeners:c}))}}if(0==(7&n)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&n)||!(u=t.relatedTarget||t.fromElement)||!Gr(u)&&!u[Xr])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=t.relatedTarget||t.toElement)?Gr(u):null)&&(u!==(d=Ye(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=ht,v="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ot,v="onPointerLeave",f="onPointerEnter",m="pointer"),d=null==s?l:eo(s),p=null==u?l:eo(u),(l=new c(v,m+"leave",s,t,o)).target=d,l.relatedTarget=p,v=null,Gr(o)===r&&((c=new c(f,m+"enter",u,t,o)).target=p,c.relatedTarget=d,v=c),d=v,s&&u)e:{for(f=u,m=0,p=c=s;p;p=Rr(p))m++;for(p=0,v=f;v;v=Rr(v))p++;for(;0<m-p;)c=Rr(c),m--;for(;0<p-m;)f=Rr(f),p--;for(;m--;){if(c===f||null!==f&&c===f.alternate)break e;c=Rr(c),f=Rr(f)}c=null}else c=null;null!==s&&Mr(i,l,s,c,!1),null!==u&&null!==d&&Mr(i,d,u,c,!0)}if("select"===(s=(l=r?eo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var h=Yt;else if(Qt(l))if(Xt)h=ar;else{h=rr;var y=tr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(h=or);switch(h&&(h=h(e,r))?Ut(i,h,t,o):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&oe(l,"number",l.value)),y=r?eo(r):window,e){case"focusin":(Qt(y)||"true"===y.contentEditable)&&(vr=y,hr=r,yr=null);break;case"focusout":yr=hr=vr=null;break;case"mousedown":gr=!0;break;case"contextmenu":case"mouseup":case"dragend":gr=!1,br(i,t,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":br(i,t,o)}var g;if(qt)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wt?Dt(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(Bt&&"ko"!==t.locale&&(Wt||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wt&&(g=rt()):(nt="value"in(et=o)?et.value:et.textContent,Wt=!0)),0<(y=qr(r,b)).length&&(b=new wt(b,e,null,t,o),i.push({event:b,listeners:y}),(g||null!==(g=Vt(t)))&&(b.data=g))),(g=Mt?function(e,n){switch(e){case"compositionend":return Vt(n);case"keypress":return 32!==n.which?null:(Ft=!0,It);case"textInput":return(e=n.data)===It&&Ft?null:e;default:return null}}(e,t):function(e,n){if(Wt)return"compositionend"===e||!qt&&Dt(e,n)?(e=rt(),tt=nt=et=null,Wt=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Bt&&"ko"!==n.locale?null:n.data}}(e,t))&&0<(r=qr(r,"onBeforeInput")).length&&(o=new wt("onBeforeInput","beforeinput",null,t,o),i.push({event:o,listeners:r}),o.data=g)}_r(i,n)}))}function Lr(e,n,t){return{instance:e,listener:n,currentTarget:t}}function qr(e,n){for(var t=n+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=De(e,t))&&r.unshift(Lr(e,a,o)),null!=(a=De(e,n))&&r.push(Lr(e,a,o))),e=e.return}return r}function Rr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Mr(e,n,t,r,o){for(var a=n._reactName,i=[];null!==t&&t!==r;){var l=t,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=De(t,a))&&i.unshift(Lr(t,s,l)):o||null!=(s=De(t,a))&&i.push(Lr(t,s,l))),t=t.return}0!==i.length&&e.push({event:n,listeners:i})}function Br(){}var Ir=null,Fr=null;function Dr(e,n){switch(e){case"button":case"input":case"select":case"textarea":return!!n.autoFocus}return!1}function Vr(e,n){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var Wr="function"==typeof setTimeout?setTimeout:void 0,jr="function"==typeof clearTimeout?clearTimeout:void 0;function Qr(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Ur(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break}return e}function Ar(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var Zr=0,$r=Math.random().toString(36).slice(2),Hr="__reactFiber$"+$r,Yr="__reactProps$"+$r,Xr="__reactContainer$"+$r,Kr="__reactEvents$"+$r;function Gr(e){var n=e[Hr];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Xr]||t[Hr]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=Ar(e);null!==e;){if(t=e[Hr])return t;e=Ar(e)}return n}t=(e=t).parentNode}return null}function Jr(e){return!(e=e[Hr]||e[Xr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function eo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function no(e){return e[Yr]||null}function to(e){var n=e[Kr];return void 0===n&&(n=e[Kr]=new Set),n}var ro=[],oo=-1;function ao(e){return{current:e}}function io(e){0>oo||(e.current=ro[oo],ro[oo]=null,oo--)}function lo(e,n){oo++,ro[oo]=e.current,e.current=n}var so={},uo=ao(so),co=ao(!1),fo=so;function po(e,n){var t=e.type.contextTypes;if(!t)return so;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in t)a[o]=n[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function mo(e){return null!=e.childContextTypes}function vo(){io(co),io(uo)}function ho(e,n,t){if(uo.current!==so)throw Error(i(168));lo(uo,n),lo(co,t)}function yo(e,n,t){var r=e.stateNode;if(e=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var a in r=r.getChildContext())if(!(a in e))throw Error(i(108,$(n)||"Unknown",a));return o({},t,r)}function go(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||so,fo=uo.current,lo(uo,e),lo(co,co.current),!0}function bo(e,n,t){var r=e.stateNode;if(!r)throw Error(i(169));t?(e=yo(e,n,fo),r.__reactInternalMemoizedMergedChildContext=e,io(co),io(uo),lo(uo,e)):io(co),lo(co,t)}var xo=null,wo=null,ko=a.unstable_runWithPriority,Eo=a.unstable_scheduleCallback,So=a.unstable_cancelCallback,_o=a.unstable_shouldYield,Co=a.unstable_requestPaint,No=a.unstable_now,Oo=a.unstable_getCurrentPriorityLevel,zo=a.unstable_ImmediatePriority,To=a.unstable_UserBlockingPriority,Po=a.unstable_NormalPriority,Lo=a.unstable_LowPriority,qo=a.unstable_IdlePriority,Ro={},Mo=void 0!==Co?Co:function(){},Bo=null,Io=null,Fo=!1,Do=No(),Vo=1e4>Do?No:function(){return No()-Do};function Wo(){switch(Oo()){case zo:return 99;case To:return 98;case Po:return 97;case Lo:return 96;case qo:return 95;default:throw Error(i(332))}}function jo(e){switch(e){case 99:return zo;case 98:return To;case 97:return Po;case 96:return Lo;case 95:return qo;default:throw Error(i(332))}}function Qo(e,n){return e=jo(e),ko(e,n)}function Uo(e,n,t){return e=jo(e),Eo(e,n,t)}function Ao(){if(null!==Io){var e=Io;Io=null,So(e)}Zo()}function Zo(){if(!Fo&&null!==Bo){Fo=!0;var e=0;try{var n=Bo;Qo(99,(function(){for(;e<n.length;e++){var t=n[e];do{t=t(!0)}while(null!==t)}})),Bo=null}catch(n){throw null!==Bo&&(Bo=Bo.slice(e+1)),Eo(zo,Ao),n}finally{Fo=!1}}}var $o=w.ReactCurrentBatchConfig;function Ho(e,n){if(e&&e.defaultProps){for(var t in n=o({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}var Yo=ao(null),Xo=null,Ko=null,Go=null;function Jo(){Go=Ko=Xo=null}function ea(e){var n=Yo.current;io(Yo),e.type._context._currentValue=n}function na(e,n){for(;null!==e;){var t=e.alternate;if((e.childLanes&n)===n){if(null===t||(t.childLanes&n)===n)break;t.childLanes|=n}else e.childLanes|=n,null!==t&&(t.childLanes|=n);e=e.return}}function ta(e,n){Xo=e,Go=Ko=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(qi=!0),e.firstContext=null)}function ra(e,n){if(Go!==e&&!1!==n&&0!==n)if("number"==typeof n&&1073741823!==n||(Go=e,n=1073741823),n={context:e,observedBits:n,next:null},null===Ko){if(null===Xo)throw Error(i(308));Ko=n,Xo.dependencies={lanes:0,firstContext:n,responders:null}}else Ko=Ko.next=n;return e._currentValue}var oa=!1;function aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ia(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function la(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function sa(e,n){if(null!==(e=e.updateQueue)){var t=(e=e.shared).pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}}function ua(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var o=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?o=a=i:a=a.next=i,t=t.next}while(null!==t);null===a?o=a=n:a=a.next=n}else o=a=n;return t={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function ca(e,n,t,r){var a=e.updateQueue;oa=!1;var i=a.firstBaseUpdate,l=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var u=s,c=u.next;u.next=null,null===l?i=c:l.next=c,l=u;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==l&&(null===f?d.firstBaseUpdate=c:f.next=c,d.lastBaseUpdate=u)}}if(null!==i){for(f=a.baseState,l=0,d=c=u=null;;){s=i.lane;var p=i.eventTime;if((r&s)===s){null!==d&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,v=i;switch(s=n,p=t,v.tag){case 1:if("function"==typeof(m=v.payload)){f=m.call(p,f,s);break e}f=m;break e;case 3:m.flags=-4097&m.flags|64;case 0:if(null==(s="function"==typeof(m=v.payload)?m.call(p,f,s):m))break e;f=o({},f,s);break e;case 2:oa=!0}}null!==i.callback&&(e.flags|=32,null===(s=a.effects)?a.effects=[i]:s.push(i))}else p={eventTime:p,lane:s,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===d?(c=d=p,u=f):d=d.next=p,l|=s;if(null===(i=i.next)){if(null===(s=a.shared.pending))break;i=s.next,s.next=null,a.lastBaseUpdate=s,a.shared.pending=null}}null===d&&(u=f),a.baseState=u,a.firstBaseUpdate=c,a.lastBaseUpdate=d,Ml|=l,e.lanes=l,e.memoizedState=f}}function da(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],o=r.callback;if(null!==o){if(r.callback=null,r=t,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var fa=(new r.Component).refs;function pa(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:o({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var ma={isMounted:function(e){return!!(e=e._reactInternals)&&Ye(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=is(),o=ls(e),a=la(r,o);a.payload=n,null!=t&&(a.callback=t),sa(e,a),ss(e,o,r)},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=is(),o=ls(e),a=la(r,o);a.tag=1,a.payload=n,null!=t&&(a.callback=t),sa(e,a),ss(e,o,r)},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=is(),r=ls(e),o=la(t,r);o.tag=2,null!=n&&(o.callback=n),sa(e,o),ss(e,r,t)}};function va(e,n,t,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(n.prototype&&n.prototype.isPureReactComponent&&sr(t,r)&&sr(o,a))}function ha(e,n,t){var r=!1,o=so,a=n.contextType;return"object"==typeof a&&null!==a?a=ra(a):(o=mo(n)?fo:uo.current,a=(r=null!=(r=n.contextTypes))?po(e,o):so),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=ma,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),n}function ya(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&ma.enqueueReplaceState(n,n.state,null)}function ga(e,n,t,r){var o=e.stateNode;o.props=t,o.state=e.memoizedState,o.refs=fa,aa(e);var a=n.contextType;"object"==typeof a&&null!==a?o.context=ra(a):(a=mo(n)?fo:uo.current,o.context=po(e,a)),ca(e,t,o,r),o.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(pa(e,n,a,t),o.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(n=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),n!==o.state&&ma.enqueueReplaceState(o,o.state,null),ca(e,t,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var ba=Array.isArray;function xa(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(i(309));var r=t.stateNode}if(!r)throw Error(i(147,e));var o=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===o?n.ref:(n=function(e){var n=r.refs;n===fa&&(n=r.refs={}),null===e?delete n[o]:n[o]=e},n._stringRef=o,n)}if("string"!=typeof e)throw Error(i(284));if(!t._owner)throw Error(i(290,e))}return e}function wa(e,n){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(n)?"object with keys {"+Object.keys(n).join(", ")+"}":n))}function ka(e){function n(n,t){if(e){var r=n.lastEffect;null!==r?(r.nextEffect=t,n.lastEffect=t):n.firstEffect=n.lastEffect=t,t.nextEffect=null,t.flags=8}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function o(e,n){return(e=Vs(e,n)).index=0,e.sibling=null,e}function a(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags=2,t):r:(n.flags=2,t):t}function l(n){return e&&null===n.alternate&&(n.flags=2),n}function s(e,n,t,r){return null===n||6!==n.tag?((n=Us(t,e.mode,r)).return=e,n):((n=o(n,t)).return=e,n)}function u(e,n,t,r){return null!==n&&n.elementType===t.type?((r=o(n,t.props)).ref=xa(e,n,t),r.return=e,r):((r=Ws(t.type,t.key,t.props,null,e.mode,r)).ref=xa(e,n,t),r.return=e,r)}function c(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=As(t,e.mode,r)).return=e,n):((n=o(n,t.children||[])).return=e,n)}function d(e,n,t,r,a){return null===n||7!==n.tag?((n=js(t,e.mode,r,a)).return=e,n):((n=o(n,t)).return=e,n)}function f(e,n,t){if("string"==typeof n||"number"==typeof n)return(n=Us(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return(t=Ws(n.type,n.key,n.props,null,e.mode,t)).ref=xa(e,null,n),t.return=e,t;case E:return(n=As(n,e.mode,t)).return=e,n}if(ba(n)||j(n))return(n=js(n,e.mode,t,null)).return=e,n;wa(e,n)}return null}function p(e,n,t,r){var o=null!==n?n.key:null;if("string"==typeof t||"number"==typeof t)return null!==o?null:s(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return t.key===o?t.type===S?d(e,n,t.props.children,r,o):u(e,n,t,r):null;case E:return t.key===o?c(e,n,t,r):null}if(ba(t)||j(t))return null!==o?null:d(e,n,t,r,null);wa(e,t)}return null}function m(e,n,t,r,o){if("string"==typeof r||"number"==typeof r)return s(n,e=e.get(t)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return e=e.get(null===r.key?t:r.key)||null,r.type===S?d(n,e,r.props.children,o,r.key):u(n,e,r,o);case E:return c(n,e=e.get(null===r.key?t:r.key)||null,r,o)}if(ba(r)||j(r))return d(n,e=e.get(t)||null,r,o,null);wa(n,r)}return null}function v(o,i,l,s){for(var u=null,c=null,d=i,v=i=0,h=null;null!==d&&v<l.length;v++){d.index>v?(h=d,d=null):h=d.sibling;var y=p(o,d,l[v],s);if(null===y){null===d&&(d=h);break}e&&d&&null===y.alternate&&n(o,d),i=a(y,i,v),null===c?u=y:c.sibling=y,c=y,d=h}if(v===l.length)return t(o,d),u;if(null===d){for(;v<l.length;v++)null!==(d=f(o,l[v],s))&&(i=a(d,i,v),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(o,d);v<l.length;v++)null!==(h=m(d,o,v,l[v],s))&&(e&&null!==h.alternate&&d.delete(null===h.key?v:h.key),i=a(h,i,v),null===c?u=h:c.sibling=h,c=h);return e&&d.forEach((function(e){return n(o,e)})),u}function h(o,l,s,u){var c=j(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,v=l,h=l=0,y=null,g=s.next();null!==v&&!g.done;h++,g=s.next()){v.index>h?(y=v,v=null):y=v.sibling;var b=p(o,v,g.value,u);if(null===b){null===v&&(v=y);break}e&&v&&null===b.alternate&&n(o,v),l=a(b,l,h),null===d?c=b:d.sibling=b,d=b,v=y}if(g.done)return t(o,v),c;if(null===v){for(;!g.done;h++,g=s.next())null!==(g=f(o,g.value,u))&&(l=a(g,l,h),null===d?c=g:d.sibling=g,d=g);return c}for(v=r(o,v);!g.done;h++,g=s.next())null!==(g=m(v,o,h,g.value,u))&&(e&&null!==g.alternate&&v.delete(null===g.key?h:g.key),l=a(g,l,h),null===d?c=g:d.sibling=g,d=g);return e&&v.forEach((function(e){return n(o,e)})),c}return function(e,r,a,s){var u="object"==typeof a&&null!==a&&a.type===S&&null===a.key;u&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case k:e:{for(c=a.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(a.type===S){t(e,u.sibling),(r=o(u,a.props.children)).return=e,e=r;break e}}else if(u.elementType===a.type){t(e,u.sibling),(r=o(u,a.props)).ref=xa(e,u,a),r.return=e,e=r;break e}t(e,u);break}n(e,u),u=u.sibling}a.type===S?((r=js(a.props.children,e.mode,s,a.key)).return=e,e=r):((s=Ws(a.type,a.key,a.props,null,e.mode,s)).ref=xa(e,r,a),s.return=e,e=s)}return l(e);case E:e:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){t(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}t(e,r);break}n(e,r),r=r.sibling}(r=As(a,e.mode,s)).return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(t(e,r.sibling),(r=o(r,a)).return=e,e=r):(t(e,r),(r=Us(a,e.mode,s)).return=e,e=r),l(e);if(ba(a))return v(e,r,a,s);if(j(a))return h(e,r,a,s);if(c&&wa(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,$(e.type)||"Component"))}return t(e,r)}}var Ea=ka(!0),Sa=ka(!1),_a={},Ca=ao(_a),Na=ao(_a),Oa=ao(_a);function za(e){if(e===_a)throw Error(i(174));return e}function Ta(e,n){switch(lo(Oa,n),lo(Na,e),lo(Ca,_a),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:pe(null,"");break;default:n=pe(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}io(Ca),lo(Ca,n)}function Pa(){io(Ca),io(Na),io(Oa)}function La(e){za(Oa.current);var n=za(Ca.current),t=pe(n,e.type);n!==t&&(lo(Na,e),lo(Ca,t))}function qa(e){Na.current===e&&(io(Ca),io(Na))}var Ra=ao(0);function Ma(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(64&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Ba=null,Ia=null,Fa=!1;function Da(e,n){var t=Fs(5,null,null,0);t.elementType="DELETED",t.type="DELETED",t.stateNode=n,t.return=e,t.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t}function Va(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,!0);default:return!1}}function Wa(e){if(Fa){var n=Ia;if(n){var t=n;if(!Va(e,n)){if(!(n=Ur(t.nextSibling))||!Va(e,n))return e.flags=-1025&e.flags|2,Fa=!1,void(Ba=e);Da(Ba,t)}Ba=e,Ia=Ur(n.firstChild)}else e.flags=-1025&e.flags|2,Fa=!1,Ba=e}}function ja(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ba=e}function Qa(e){if(e!==Ba)return!1;if(!Fa)return ja(e),Fa=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!Vr(n,e.memoizedProps))for(n=Ia;n;)Da(e,n),n=Ur(n.nextSibling);if(ja(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){Ia=Ur(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}Ia=null}}else Ia=Ba?Ur(e.stateNode.nextSibling):null;return!0}function Ua(){Ia=Ba=null,Fa=!1}var Aa=[];function Za(){for(var e=0;e<Aa.length;e++)Aa[e]._workInProgressVersionPrimary=null;Aa.length=0}var $a=w.ReactCurrentDispatcher,Ha=w.ReactCurrentBatchConfig,Ya=0,Xa=null,Ka=null,Ga=null,Ja=!1,ei=!1;function ni(){throw Error(i(321))}function ti(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!ir(e[t],n[t]))return!1;return!0}function ri(e,n,t,r,o,a){if(Ya=a,Xa=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,$a.current=null===e||null===e.memoizedState?zi:Ti,e=t(r,o),ei){a=0;do{if(ei=!1,!(25>a))throw Error(i(301));a+=1,Ga=Ka=null,n.updateQueue=null,$a.current=Pi,e=t(r,o)}while(ei)}if($a.current=Oi,n=null!==Ka&&null!==Ka.next,Ya=0,Ga=Ka=Xa=null,Ja=!1,n)throw Error(i(300));return e}function oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ga?Xa.memoizedState=Ga=e:Ga=Ga.next=e,Ga}function ai(){if(null===Ka){var e=Xa.alternate;e=null!==e?e.memoizedState:null}else e=Ka.next;var n=null===Ga?Xa.memoizedState:Ga.next;if(null!==n)Ga=n,Ka=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Ka=e).memoizedState,baseState:Ka.baseState,baseQueue:Ka.baseQueue,queue:Ka.queue,next:null},null===Ga?Xa.memoizedState=Ga=e:Ga=Ga.next=e}return Ga}function ii(e,n){return"function"==typeof n?n(e):n}function li(e){var n=ai(),t=n.queue;if(null===t)throw Error(i(311));t.lastRenderedReducer=e;var r=Ka,o=r.baseQueue,a=t.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,t.pending=null}if(null!==o){o=o.next,r=r.baseState;var s=l=a=null,u=o;do{var c=u.lane;if((Ya&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(l=s=d,a=r):s=s.next=d,Xa.lanes|=c,Ml|=c}u=u.next}while(null!==u&&u!==o);null===s?a=r:s.next=l,ir(r,n.memoizedState)||(qi=!0),n.memoizedState=r,n.baseState=a,n.baseQueue=s,t.lastRenderedState=r}return[n.memoizedState,t.dispatch]}function si(e){var n=ai(),t=n.queue;if(null===t)throw Error(i(311));t.lastRenderedReducer=e;var r=t.dispatch,o=t.pending,a=n.memoizedState;if(null!==o){t.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);ir(a,n.memoizedState)||(qi=!0),n.memoizedState=a,null===n.baseQueue&&(n.baseState=a),t.lastRenderedState=a}return[a,r]}function ui(e,n,t){var r=n._getVersion;r=r(n._source);var o=n._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ya&e)===e)&&(n._workInProgressVersionPrimary=r,Aa.push(n))),e)return t(n._source);throw Aa.push(n),Error(i(350))}function ci(e,n,t,r){var o=Nl;if(null===o)throw Error(i(349));var a=n._getVersion,l=a(n._source),s=$a.current,u=s.useState((function(){return ui(o,n,t)})),c=u[1],d=u[0];u=Ga;var f=e.memoizedState,p=f.refs,m=p.getSnapshot,v=f.source;f=f.subscribe;var h=Xa;return e.memoizedState={refs:p,source:n,subscribe:r},s.useEffect((function(){p.getSnapshot=t,p.setSnapshot=c;var e=a(n._source);if(!ir(l,e)){e=t(n._source),ir(d,e)||(c(e),e=ls(h),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,i=e;0<i;){var s=31-Un(i),u=1<<s;r[s]|=e,i&=~u}}}),[t,n,r]),s.useEffect((function(){return r(n._source,(function(){var e=p.getSnapshot,t=p.setSnapshot;try{t(e(n._source));var r=ls(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){t((function(){throw e}))}}))}),[n,r]),ir(m,t)&&ir(v,n)&&ir(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ii,lastRenderedState:d}).dispatch=c=Ni.bind(null,Xa,e),u.queue=e,u.baseQueue=null,d=ui(o,n,t),u.memoizedState=u.baseState=d),d}function di(e,n,t){return ci(ai(),e,n,t)}function fi(e){var n=oi();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:ii,lastRenderedState:e}).dispatch=Ni.bind(null,Xa,e),[n.memoizedState,e]}function pi(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=Xa.updateQueue)?(n={lastEffect:null},Xa.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function mi(e){return e={current:e},oi().memoizedState=e}function vi(){return ai().memoizedState}function hi(e,n,t,r){var o=oi();Xa.flags|=e,o.memoizedState=pi(1|n,t,void 0,void 0===r?null:r)}function yi(e,n,t,r){var o=ai();r=void 0===r?null:r;var a=void 0;if(null!==Ka){var i=Ka.memoizedState;if(a=i.destroy,null!==r&&ti(r,i.deps))return void pi(n,t,a,r)}Xa.flags|=e,o.memoizedState=pi(1|n,t,a,r)}function gi(e,n){return hi(516,4,e,n)}function bi(e,n){return yi(516,4,e,n)}function xi(e,n){return yi(4,2,e,n)}function wi(e,n){return"function"==typeof n?(e=e(),n(e),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function ki(e,n,t){return t=null!=t?t.concat([e]):null,yi(4,2,wi.bind(null,n,e),t)}function Ei(){}function Si(e,n){var t=ai();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&ti(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function _i(e,n){var t=ai();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&ti(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ci(e,n){var t=Wo();Qo(98>t?98:t,(function(){e(!0)})),Qo(97<t?97:t,(function(){var t=Ha.transition;Ha.transition=1;try{e(!1),n()}finally{Ha.transition=t}}))}function Ni(e,n,t){var r=is(),o=ls(e),a={lane:o,action:t,eagerReducer:null,eagerState:null,next:null},i=n.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),n.pending=a,i=e.alternate,e===Xa||null!==i&&i===Xa)ei=Ja=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=n.lastRenderedReducer))try{var l=n.lastRenderedState,s=i(l,t);if(a.eagerReducer=i,a.eagerState=s,ir(s,l))return}catch(e){}ss(e,o,r)}}var Oi={readContext:ra,useCallback:ni,useContext:ni,useEffect:ni,useImperativeHandle:ni,useLayoutEffect:ni,useMemo:ni,useReducer:ni,useRef:ni,useState:ni,useDebugValue:ni,useDeferredValue:ni,useTransition:ni,useMutableSource:ni,useOpaqueIdentifier:ni,unstable_isNewReconciler:!1},zi={readContext:ra,useCallback:function(e,n){return oi().memoizedState=[e,void 0===n?null:n],e},useContext:ra,useEffect:gi,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,hi(4,2,wi.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hi(4,2,e,n)},useMemo:function(e,n){var t=oi();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=oi();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:n}).dispatch=Ni.bind(null,Xa,e),[r.memoizedState,e]},useRef:mi,useState:fi,useDebugValue:Ei,useDeferredValue:function(e){var n=fi(e),t=n[0],r=n[1];return gi((function(){var n=Ha.transition;Ha.transition=1;try{r(e)}finally{Ha.transition=n}}),[e]),t},useTransition:function(){var e=fi(!1),n=e[0];return mi(e=Ci.bind(null,e[1])),[e,n]},useMutableSource:function(e,n,t){var r=oi();return r.memoizedState={refs:{getSnapshot:n,setSnapshot:null},source:e,subscribe:t},ci(r,e,n,t)},useOpaqueIdentifier:function(){if(Fa){var e=!1,n=function(e){return{$$typeof:M,toString:e,valueOf:e}}((function(){throw e||(e=!0,t("r:"+(Zr++).toString(36))),Error(i(355))})),t=fi(n)[1];return 0==(2&Xa.mode)&&(Xa.flags|=516,pi(5,(function(){t("r:"+(Zr++).toString(36))}),void 0,null)),n}return fi(n="r:"+(Zr++).toString(36)),n},unstable_isNewReconciler:!1},Ti={readContext:ra,useCallback:Si,useContext:ra,useEffect:bi,useImperativeHandle:ki,useLayoutEffect:xi,useMemo:_i,useReducer:li,useRef:vi,useState:function(){return li(ii)},useDebugValue:Ei,useDeferredValue:function(e){var n=li(ii),t=n[0],r=n[1];return bi((function(){var n=Ha.transition;Ha.transition=1;try{r(e)}finally{Ha.transition=n}}),[e]),t},useTransition:function(){var e=li(ii)[0];return[vi().current,e]},useMutableSource:di,useOpaqueIdentifier:function(){return li(ii)[0]},unstable_isNewReconciler:!1},Pi={readContext:ra,useCallback:Si,useContext:ra,useEffect:bi,useImperativeHandle:ki,useLayoutEffect:xi,useMemo:_i,useReducer:si,useRef:vi,useState:function(){return si(ii)},useDebugValue:Ei,useDeferredValue:function(e){var n=si(ii),t=n[0],r=n[1];return bi((function(){var n=Ha.transition;Ha.transition=1;try{r(e)}finally{Ha.transition=n}}),[e]),t},useTransition:function(){var e=si(ii)[0];return[vi().current,e]},useMutableSource:di,useOpaqueIdentifier:function(){return si(ii)[0]},unstable_isNewReconciler:!1},Li=w.ReactCurrentOwner,qi=!1;function Ri(e,n,t,r){n.child=null===e?Sa(n,null,t,r):Ea(n,e.child,t,r)}function Mi(e,n,t,r,o){t=t.render;var a=n.ref;return ta(n,o),r=ri(e,n,t,r,a,o),null===e||qi?(n.flags|=1,Ri(e,n,r,o),n.child):(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~o,Ji(e,n,o))}function Bi(e,n,t,r,o,a){if(null===e){var i=t.type;return"function"!=typeof i||Ds(i)||void 0!==i.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Ws(t.type,null,r,n,n.mode,a)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=i,Ii(e,n,i,r,o,a))}return i=e.child,0==(o&a)&&(o=i.memoizedProps,(t=null!==(t=t.compare)?t:sr)(o,r)&&e.ref===n.ref)?Ji(e,n,a):(n.flags|=1,(e=Vs(i,r)).ref=n.ref,e.return=n,n.child=e)}function Ii(e,n,t,r,o,a){if(null!==e&&sr(e.memoizedProps,r)&&e.ref===n.ref){if(qi=!1,0==(a&o))return n.lanes=e.lanes,Ji(e,n,a);0!=(16384&e.flags)&&(qi=!0)}return Vi(e,n,t,r,a)}function Fi(e,n,t){var r=n.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&n.mode))n.memoizedState={baseLanes:0},hs(0,t);else{if(0==(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e},hs(0,e),null;n.memoizedState={baseLanes:0},hs(0,null!==a?a.baseLanes:t)}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,hs(0,r);return Ri(e,n,o,t),n.child}function Di(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=128)}function Vi(e,n,t,r,o){var a=mo(t)?fo:uo.current;return a=po(n,a),ta(n,o),t=ri(e,n,t,r,a,o),null===e||qi?(n.flags|=1,Ri(e,n,t,o),n.child):(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~o,Ji(e,n,o))}function Wi(e,n,t,r,o){if(mo(t)){var a=!0;go(n)}else a=!1;if(ta(n,o),null===n.stateNode)null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),ha(n,t,r),ga(n,t,r,o),r=!0;else if(null===e){var i=n.stateNode,l=n.memoizedProps;i.props=l;var s=i.context,u=t.contextType;u="object"==typeof u&&null!==u?ra(u):po(n,u=mo(t)?fo:uo.current);var c=t.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&ya(n,i,r,u),oa=!1;var f=n.memoizedState;i.state=f,ca(n,r,i,o),s=n.memoizedState,l!==r||f!==s||co.current||oa?("function"==typeof c&&(pa(n,t,c,r),s=n.memoizedState),(l=oa||va(n,t,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(n.flags|=4)):("function"==typeof i.componentDidMount&&(n.flags|=4),n.memoizedProps=r,n.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(n.flags|=4),r=!1)}else{i=n.stateNode,ia(e,n),l=n.memoizedProps,u=n.type===n.elementType?l:Ho(n.type,l),i.props=u,d=n.pendingProps,f=i.context,s="object"==typeof(s=t.contextType)&&null!==s?ra(s):po(n,s=mo(t)?fo:uo.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&ya(n,i,r,s),oa=!1,f=n.memoizedState,i.state=f,ca(n,r,i,o);var m=n.memoizedState;l!==d||f!==m||co.current||oa?("function"==typeof p&&(pa(n,t,p,r),m=n.memoizedState),(u=oa||va(n,t,u,r,f,m,s))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(n.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(n.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(n.flags|=256),n.memoizedProps=r,n.memoizedState=m),i.props=r,i.state=m,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(n.flags|=256),r=!1)}return ji(e,n,t,r,a,o)}function ji(e,n,t,r,o,a){Di(e,n);var i=0!=(64&n.flags);if(!r&&!i)return o&&bo(n,t,!1),Ji(e,n,a);r=n.stateNode,Li.current=n;var l=i&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&i?(n.child=Ea(n,e.child,null,a),n.child=Ea(n,null,l,a)):Ri(e,n,l,a),n.memoizedState=r.state,o&&bo(n,t,!0),n.child}function Qi(e){var n=e.stateNode;n.pendingContext?ho(0,n.pendingContext,n.pendingContext!==n.context):n.context&&ho(0,n.context,!1),Ta(e,n.containerInfo)}var Ui,Ai,Zi,$i={dehydrated:null,retryLane:0};function Hi(e,n,t){var r,o=n.pendingProps,a=Ra.current,i=!1;return(r=0!=(64&n.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,n.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),lo(Ra,1&a),null===e?(void 0!==o.fallback&&Wa(n),e=o.children,a=o.fallback,i?(e=Yi(n,e,a,t),n.child.memoizedState={baseLanes:t},n.memoizedState=$i,e):"number"==typeof o.unstable_expectedLoadTime?(e=Yi(n,e,a,t),n.child.memoizedState={baseLanes:t},n.memoizedState=$i,n.lanes=33554432,e):((t=Qs({mode:"visible",children:e},n.mode,t,null)).return=n,n.child=t)):(e.memoizedState,i?(o=function(e,n,t,r,o){var a=n.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:t};return 0==(2&a)&&n.child!==i?((t=n.child).childLanes=0,t.pendingProps=l,null!==(i=t.lastEffect)?(n.firstEffect=t.firstEffect,n.lastEffect=i,i.nextEffect=null):n.firstEffect=n.lastEffect=null):t=Vs(i,l),null!==e?r=Vs(e,r):(r=js(r,a,o,null)).flags|=2,r.return=n,t.return=n,t.sibling=r,n.child=t,r}(e,n,o.children,o.fallback,t),i=n.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:t}:{baseLanes:a.baseLanes|t},i.childLanes=e.childLanes&~t,n.memoizedState=$i,o):(t=function(e,n,t,r){var o=e.child;return e=o.sibling,t=Vs(o,{mode:"visible",children:t}),0==(2&n.mode)&&(t.lanes=r),t.return=n,t.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,n.firstEffect=n.lastEffect=e),n.child=t}(e,n,o.children,t),n.memoizedState=null,t))}function Yi(e,n,t,r){var o=e.mode,a=e.child;return n={mode:"hidden",children:n},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=n):a=Qs(n,o,0,null),t=js(t,o,r,null),a.return=e,t.return=e,a.sibling=t,e.child=a,t}function Xi(e,n){e.lanes|=n;var t=e.alternate;null!==t&&(t.lanes|=n),na(e.return,n)}function Ki(e,n,t,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:o,lastEffect:a}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=o,i.lastEffect=a)}function Gi(e,n,t){var r=n.pendingProps,o=r.revealOrder,a=r.tail;if(Ri(e,n,r.children,t),0!=(2&(r=Ra.current)))r=1&r|2,n.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xi(e,t);else if(19===e.tag)Xi(e,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(lo(Ra,r),0==(2&n.mode))n.memoizedState=null;else switch(o){case"forwards":for(t=n.child,o=null;null!==t;)null!==(e=t.alternate)&&null===Ma(e)&&(o=t),t=t.sibling;null===(t=o)?(o=n.child,n.child=null):(o=t.sibling,t.sibling=null),Ki(n,!1,o,t,a,n.lastEffect);break;case"backwards":for(t=null,o=n.child,n.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ma(e)){n.child=o;break}e=o.sibling,o.sibling=t,t=o,o=e}Ki(n,!0,t,null,a,n.lastEffect);break;case"together":Ki(n,!1,null,null,void 0,n.lastEffect);break;default:n.memoizedState=null}return n.child}function Ji(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),Ml|=n.lanes,0!=(t&n.childLanes)){if(null!==e&&n.child!==e.child)throw Error(i(153));if(null!==n.child){for(t=Vs(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=Vs(e,e.pendingProps)).return=n;t.sibling=null}return n.child}return null}function el(e,n){if(!Fa)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function nl(e,n,t){var r=n.pendingProps;switch(n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return mo(n.type)&&vo(),null;case 3:return Pa(),io(co),io(uo),Za(),(r=n.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Qa(n)?n.flags|=4:r.hydrate||(n.flags|=256)),null;case 5:qa(n);var a=za(Oa.current);if(t=n.type,null!==e&&null!=n.stateNode)Ai(e,n,t,r),e.ref!==n.ref&&(n.flags|=128);else{if(!r){if(null===n.stateNode)throw Error(i(166));return null}if(e=za(Ca.current),Qa(n)){r=n.stateNode,t=n.type;var l=n.memoizedProps;switch(r[Hr]=n,r[Yr]=l,t){case"dialog":Cr("cancel",r),Cr("close",r);break;case"iframe":case"object":case"embed":Cr("load",r);break;case"video":case"audio":for(e=0;e<kr.length;e++)Cr(kr[e],r);break;case"source":Cr("error",r);break;case"img":case"image":case"link":Cr("error",r),Cr("load",r);break;case"details":Cr("toggle",r);break;case"input":ee(r,l),Cr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Cr("invalid",r);break;case"textarea":se(r,l),Cr("invalid",r)}for(var u in Ee(t,l),e=null,l)l.hasOwnProperty(u)&&(a=l[u],"children"===u?"string"==typeof a?r.textContent!==a&&(e=["children",a]):"number"==typeof a&&r.textContent!==""+a&&(e=["children",""+a]):s.hasOwnProperty(u)&&null!=a&&"onScroll"===u&&Cr("scroll",r));switch(t){case"input":X(r),re(r,l,!0);break;case"textarea":X(r),ce(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=Br)}r=e,n.updateQueue=r,null!==r&&(n.flags|=4)}else{switch(u=9===a.nodeType?a:a.ownerDocument,e===de&&(e=fe(t)),e===de?"script"===t?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),"select"===t&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Hr]=n,e[Yr]=r,Ui(e,n),n.stateNode=e,u=Se(t,r),t){case"dialog":Cr("cancel",e),Cr("close",e),a=r;break;case"iframe":case"object":case"embed":Cr("load",e),a=r;break;case"video":case"audio":for(a=0;a<kr.length;a++)Cr(kr[a],e);a=r;break;case"source":Cr("error",e),a=r;break;case"img":case"image":case"link":Cr("error",e),Cr("load",e),a=r;break;case"details":Cr("toggle",e),a=r;break;case"input":ee(e,r),a=J(e,r),Cr("invalid",e);break;case"option":a=ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=o({},r,{value:void 0}),Cr("invalid",e);break;case"textarea":se(e,r),a=le(e,r),Cr("invalid",e);break;default:a=r}Ee(t,a);var c=a;for(l in c)if(c.hasOwnProperty(l)){var d=c[l];"style"===l?we(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&he(e,d):"children"===l?"string"==typeof d?("textarea"!==t||""!==d)&&ye(e,d):"number"==typeof d&&ye(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?null!=d&&"onScroll"===l&&Cr("scroll",e):null!=d&&x(e,l,d,u))}switch(t){case"input":X(e),re(e,r,!1);break;case"textarea":X(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ie(e,!!r.multiple,l,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Br)}Dr(t,r)&&(n.flags|=4)}null!==n.ref&&(n.flags|=128)}return null;case 6:if(e&&null!=n.stateNode)Zi(0,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(i(166));t=za(Oa.current),za(Ca.current),Qa(n)?(r=n.stateNode,t=n.memoizedProps,r[Hr]=n,r.nodeValue!==t&&(n.flags|=4)):((r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[Hr]=n,n.stateNode=r)}return null;case 13:return io(Ra),r=n.memoizedState,0!=(64&n.flags)?(n.lanes=t,n):(r=null!==r,t=!1,null===e?void 0!==n.memoizedProps.fallback&&Qa(n):t=null!==e.memoizedState,r&&!t&&0!=(2&n.mode)&&(null===e&&!0!==n.memoizedProps.unstable_avoidThisFallback||0!=(1&Ra.current)?0===Ll&&(Ll=3):(0!==Ll&&3!==Ll||(Ll=4),null===Nl||0==(134217727&Ml)&&0==(134217727&Bl)||fs(Nl,zl))),(r||t)&&(n.flags|=4),null);case 4:return Pa(),null===e&&Or(n.stateNode.containerInfo),null;case 10:return ea(n),null;case 19:if(io(Ra),null===(r=n.memoizedState))return null;if(l=0!=(64&n.flags),null===(u=r.rendering))if(l)el(r,!1);else{if(0!==Ll||null!==e&&0!=(64&e.flags))for(e=n.child;null!==e;){if(null!==(u=Ma(e))){for(n.flags|=64,el(r,!1),null!==(l=u.updateQueue)&&(n.updateQueue=l,n.flags|=4),null===r.lastEffect&&(n.firstEffect=null),n.lastEffect=r.lastEffect,r=t,t=n.child;null!==t;)e=r,(l=t).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return lo(Ra,1&Ra.current|2),n.child}e=e.sibling}null!==r.tail&&Vo()>Vl&&(n.flags|=64,l=!0,el(r,!1),n.lanes=33554432)}else{if(!l)if(null!==(e=Ma(u))){if(n.flags|=64,l=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),el(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!Fa)return null!==(n=n.lastEffect=r.lastEffect)&&(n.nextEffect=null),null}else 2*Vo()-r.renderingStartTime>Vl&&1073741824!==t&&(n.flags|=64,l=!0,el(r,!1),n.lanes=33554432);r.isBackwards?(u.sibling=n.child,n.child=u):(null!==(t=r.last)?t.sibling=u:n.child=u,r.last=u)}return null!==r.tail?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.lastEffect=n.lastEffect,r.renderingStartTime=Vo(),t.sibling=null,n=Ra.current,lo(Ra,l?1&n|2:1&n),t):null;case 23:case 24:return ys(),null!==e&&null!==e.memoizedState!=(null!==n.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(n.flags|=4),null}throw Error(i(156,n.tag))}function tl(e){switch(e.tag){case 1:mo(e.type)&&vo();var n=e.flags;return 4096&n?(e.flags=-4097&n|64,e):null;case 3:if(Pa(),io(co),io(uo),Za(),0!=(64&(n=e.flags)))throw Error(i(285));return e.flags=-4097&n|64,e;case 5:return qa(e),null;case 13:return io(Ra),4096&(n=e.flags)?(e.flags=-4097&n|64,e):null;case 19:return io(Ra),null;case 4:return Pa(),null;case 10:return ea(e),null;case 23:case 24:return ys(),null;default:return null}}function rl(e,n){try{var t="",r=n;do{t+=Z(r),r=r.return}while(r);var o=t}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:n,stack:o}}function ol(e,n){try{console.error(n.value)}catch(e){setTimeout((function(){throw e}))}}Ui=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},Ai=function(e,n,t,r){var a=e.memoizedProps;if(a!==r){e=n.stateNode,za(Ca.current);var i,l=null;switch(t){case"input":a=J(e,a),r=J(e,r),l=[];break;case"option":a=ae(e,a),r=ae(e,r),l=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),l=[];break;case"textarea":a=le(e,a),r=le(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Br)}for(d in Ee(t,r),t=null,a)if(!r.hasOwnProperty(d)&&a.hasOwnProperty(d)&&null!=a[d])if("style"===d){var u=a[d];for(i in u)u.hasOwnProperty(i)&&(t||(t={}),t[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?l||(l=[]):(l=l||[]).push(d,null));for(d in r){var c=r[d];if(u=null!=a?a[d]:void 0,r.hasOwnProperty(d)&&c!==u&&(null!=c||null!=u))if("style"===d)if(u){for(i in u)!u.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(t||(t={}),t[i]="");for(i in c)c.hasOwnProperty(i)&&u[i]!==c[i]&&(t||(t={}),t[i]=c[i])}else t||(l||(l=[]),l.push(d,t)),t=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(l=l||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Cr("scroll",e),l||u===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===M?c.toString():(l=l||[]).push(d,c))}t&&(l=l||[]).push("style",t);var d=l;(n.updateQueue=d)&&(n.flags|=4)}},Zi=function(e,n,t,r){t!==r&&(n.flags|=4)};var al="function"==typeof WeakMap?WeakMap:Map;function il(e,n,t){(t=la(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Ul||(Ul=!0,Al=r),ol(0,n)},t}function ll(e,n,t){(t=la(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=n.value;t.payload=function(){return ol(0,n),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){"function"!=typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this),ol(0,n));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}var sl="function"==typeof WeakSet?WeakSet:Set;function ul(e){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Rs(e,n)}else n.current=null}function cl(e,n){switch(n.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&n.flags&&null!==e){var t=e.memoizedProps,r=e.memoizedState;n=(e=n.stateNode).getSnapshotBeforeUpdate(n.elementType===n.type?t:Ho(n.type,t),r),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:return void(256&n.flags&&Qr(n.stateNode.containerInfo))}throw Error(i(163))}function dl(e,n,t){switch(t.tag){case 0:case 11:case 15:case 22:if(null!==(n=null!==(n=t.updateQueue)?n.lastEffect:null)){e=n=n.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==n)}if(null!==(n=null!==(n=t.updateQueue)?n.lastEffect:null)){e=n=n.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Ps(t,e),Ts(t,e)),e=r}while(e!==n)}return;case 1:return e=t.stateNode,4&t.flags&&(null===n?e.componentDidMount():(r=t.elementType===t.type?n.memoizedProps:Ho(t.type,n.memoizedProps),e.componentDidUpdate(r,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(n=t.updateQueue)&&da(t,n,e));case 3:if(null!==(n=t.updateQueue)){if(e=null,null!==t.child)switch(t.child.tag){case 5:case 1:e=t.child.stateNode}da(t,n,e)}return;case 5:return e=t.stateNode,void(null===n&&4&t.flags&&Dr(t.type,t.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===t.memoizedState&&(t=t.alternate,null!==t&&(t=t.memoizedState,null!==t&&(t=t.dehydrated,null!==t&&kn(t)))))}throw Error(i(163))}function fl(e,n){for(var t=e;;){if(5===t.tag){var r=t.stateNode;if(n)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=t.stateNode;var o=t.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=xe("display",o)}}else if(6===t.tag)t.stateNode.nodeValue=n?"":t.memoizedProps;else if((23!==t.tag&&24!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}}function pl(e,n){if(wo&&"function"==typeof wo.onCommitFiberUnmount)try{wo.onCommitFiberUnmount(xo,n)}catch(e){}switch(n.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=n.updateQueue)&&null!==(e=e.lastEffect)){var t=e=e.next;do{var r=t,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Ps(n,t);else{r=n;try{o()}catch(e){Rs(r,e)}}t=t.next}while(t!==e)}break;case 1:if(ul(n),"function"==typeof(e=n.stateNode).componentWillUnmount)try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(e){Rs(n,e)}break;case 5:ul(n);break;case 4:bl(e,n)}}function ml(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vl(e){return 5===e.tag||3===e.tag||4===e.tag}function hl(e){e:{for(var n=e.return;null!==n;){if(vl(n))break e;n=n.return}throw Error(i(160))}var t=n;switch(n=t.stateNode,t.tag){case 5:var r=!1;break;case 3:case 4:n=n.containerInfo,r=!0;break;default:throw Error(i(161))}16&t.flags&&(ye(n,""),t.flags&=-17);e:n:for(t=e;;){for(;null===t.sibling;){if(null===t.return||vl(t.return)){t=null;break e}t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags)continue n;if(null===t.child||4===t.tag)continue n;t.child.return=t,t=t.child}if(!(2&t.flags)){t=t.stateNode;break e}}r?yl(e,t,n):gl(e,t,n)}function yl(e,n,t){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=Br));else if(4!==r&&null!==(e=e.child))for(yl(e,n,t),e=e.sibling;null!==e;)yl(e,n,t),e=e.sibling}function gl(e,n,t){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(gl(e,n,t),e=e.sibling;null!==e;)gl(e,n,t),e=e.sibling}function bl(e,n){for(var t,r,o=n,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(i(160));switch(t=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:t=t.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var l=e,s=o,u=s;;)if(pl(l,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===s)break e;for(;null===u.sibling;){if(null===u.return||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=t,s=o.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):t.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){t=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(pl(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===n)break;for(;null===o.sibling;){if(null===o.return||o.return===n)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function xl(e,n){switch(n.tag){case 0:case 11:case 14:case 15:case 22:var t=n.updateQueue;if(null!==(t=null!==t?t.lastEffect:null)){var r=t=t.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==t)}return;case 1:case 12:case 17:return;case 5:if(null!=(t=n.stateNode)){r=n.memoizedProps;var o=null!==e?e.memoizedProps:r;e=n.type;var a=n.updateQueue;if(n.updateQueue=null,null!==a){for(t[Yr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ne(t,r),Se(e,o),n=Se(e,r),o=0;o<a.length;o+=2){var l=a[o],s=a[o+1];"style"===l?we(t,s):"dangerouslySetInnerHTML"===l?he(t,s):"children"===l?ye(t,s):x(t,l,s,n)}switch(e){case"input":te(t,r);break;case"textarea":ue(t,r);break;case"select":e=t._wrapperState.wasMultiple,t._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ie(t,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(t,!!r.multiple,r.defaultValue,!0):ie(t,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===n.stateNode)throw Error(i(162));return void(n.stateNode.nodeValue=n.memoizedProps);case 3:return void((t=n.stateNode).hydrate&&(t.hydrate=!1,kn(t.containerInfo)));case 13:return null!==n.memoizedState&&(Dl=Vo(),fl(n.child,!0)),void wl(n);case 19:return void wl(n);case 23:case 24:return void fl(n,null!==n.memoizedState)}throw Error(i(163))}function wl(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new sl),n.forEach((function(n){var r=Bs.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))}))}}function kl(e,n){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(n=n.memoizedState)&&null===n.dehydrated}var El=Math.ceil,Sl=w.ReactCurrentDispatcher,_l=w.ReactCurrentOwner,Cl=0,Nl=null,Ol=null,zl=0,Tl=0,Pl=ao(0),Ll=0,ql=null,Rl=0,Ml=0,Bl=0,Il=0,Fl=null,Dl=0,Vl=1/0;function Wl(){Vl=Vo()+500}var jl,Ql=null,Ul=!1,Al=null,Zl=null,$l=!1,Hl=null,Yl=90,Xl=[],Kl=[],Gl=null,Jl=0,es=null,ns=-1,ts=0,rs=0,os=null,as=!1;function is(){return 0!=(48&Cl)?Vo():-1!==ns?ns:ns=Vo()}function ls(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Wo()?1:2;if(0===ts&&(ts=Rl),0!==$o.transition){0!==rs&&(rs=null!==Fl?Fl.pendingLanes:0),e=ts;var n=4186112&~rs;return 0==(n&=-n)&&0==(n=(e=4186112&~e)&-e)&&(n=8192),n}return e=Wo(),e=Vn(0!=(4&Cl)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ts)}function ss(e,n,t){if(50<Jl)throw Jl=0,es=null,Error(i(185));if(null===(e=us(e,n)))return null;Qn(e,n,t),e===Nl&&(Bl|=n,4===Ll&&fs(e,zl));var r=Wo();1===n?0!=(8&Cl)&&0==(48&Cl)?ps(e):(cs(e,t),0===Cl&&(Wl(),Ao())):(0==(4&Cl)||98!==r&&99!==r||(null===Gl?Gl=new Set([e]):Gl.add(e)),cs(e,t)),Fl=e}function us(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}function cs(e,n){for(var t=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var s=31-Un(l),u=1<<s,c=a[s];if(-1===c){if(0==(u&r)||0!=(u&o)){c=n,In(u);var d=Bn;a[s]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=n&&(e.expiredLanes|=u);l&=~u}if(r=Fn(e,e===Nl?zl:0),n=Bn,0===r)null!==t&&(t!==Ro&&So(t),e.callbackNode=null,e.callbackPriority=0);else{if(null!==t){if(e.callbackPriority===n)return;t!==Ro&&So(t)}15===n?(t=ps.bind(null,e),null===Bo?(Bo=[t],Io=Eo(zo,Zo)):Bo.push(t),t=Ro):14===n?t=Uo(99,ps.bind(null,e)):(t=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(n),t=Uo(t,ds.bind(null,e))),e.callbackPriority=n,e.callbackNode=t}}function ds(e){if(ns=-1,rs=ts=0,0!=(48&Cl))throw Error(i(327));var n=e.callbackNode;if(zs()&&e.callbackNode!==n)return null;var t=Fn(e,e===Nl?zl:0);if(0===t)return null;var r=t,o=Cl;Cl|=16;var a=xs();for(Nl===e&&zl===r||(Wl(),gs(e,r));;)try{Es();break}catch(n){bs(e,n)}if(Jo(),Sl.current=a,Cl=o,null!==Ol?r=0:(Nl=null,zl=0,r=Ll),0!=(Rl&Bl))gs(e,0);else if(0!==r){if(2===r&&(Cl|=64,e.hydrate&&(e.hydrate=!1,Qr(e.containerInfo)),0!==(t=Dn(e))&&(r=ws(e,t))),1===r)throw n=ql,gs(e,0),fs(e,t),cs(e,Vo()),n;switch(e.finishedWork=e.current.alternate,e.finishedLanes=t,r){case 0:case 1:throw Error(i(345));case 2:case 5:Cs(e);break;case 3:if(fs(e,t),(62914560&t)===t&&10<(r=Dl+500-Vo())){if(0!==Fn(e,0))break;if(((o=e.suspendedLanes)&t)!==t){is(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Wr(Cs.bind(null,e),r);break}Cs(e);break;case 4:if(fs(e,t),(4186112&t)===t)break;for(r=e.eventTimes,o=-1;0<t;){var l=31-Un(t);a=1<<l,(l=r[l])>o&&(o=l),t&=~a}if(t=o,10<(t=(120>(t=Vo()-t)?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*El(t/1960))-t)){e.timeoutHandle=Wr(Cs.bind(null,e),t);break}Cs(e);break;default:throw Error(i(329))}}return cs(e,Vo()),e.callbackNode===n?ds.bind(null,e):null}function fs(e,n){for(n&=~Il,n&=~Bl,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-Un(n),r=1<<t;e[t]=-1,n&=~r}}function ps(e){if(0!=(48&Cl))throw Error(i(327));if(zs(),e===Nl&&0!=(e.expiredLanes&zl)){var n=zl,t=ws(e,n);0!=(Rl&Bl)&&(t=ws(e,n=Fn(e,n)))}else t=ws(e,n=Fn(e,0));if(0!==e.tag&&2===t&&(Cl|=64,e.hydrate&&(e.hydrate=!1,Qr(e.containerInfo)),0!==(n=Dn(e))&&(t=ws(e,n))),1===t)throw t=ql,gs(e,0),fs(e,n),cs(e,Vo()),t;return e.finishedWork=e.current.alternate,e.finishedLanes=n,Cs(e),cs(e,Vo()),null}function ms(e,n){var t=Cl;Cl|=1;try{return e(n)}finally{0===(Cl=t)&&(Wl(),Ao())}}function vs(e,n){var t=Cl;Cl&=-2,Cl|=8;try{return e(n)}finally{0===(Cl=t)&&(Wl(),Ao())}}function hs(e,n){lo(Pl,Tl),Tl|=n,Rl|=n}function ys(){Tl=Pl.current,io(Pl)}function gs(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,jr(t)),null!==Ol)for(t=Ol.return;null!==t;){var r=t;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&vo();break;case 3:Pa(),io(co),io(uo),Za();break;case 5:qa(r);break;case 4:Pa();break;case 13:case 19:io(Ra);break;case 10:ea(r);break;case 23:case 24:ys()}t=t.return}Nl=e,Ol=Vs(e.current,null),zl=Tl=Rl=n,Ll=0,ql=null,Il=Bl=Ml=0}function bs(e,n){for(;;){var t=Ol;try{if(Jo(),$a.current=Oi,Ja){for(var r=Xa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Ja=!1}if(Ya=0,Ga=Ka=Xa=null,ei=!1,_l.current=null,null===t||null===t.return){Ll=1,ql=n,Ol=null;break}e:{var a=e,i=t.return,l=t,s=n;if(n=zl,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Ra.current),f=i;do{var p;if(p=13===f.tag){var m=f.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var v=f.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!d)}}if(p){var h=f.updateQueue;if(null===h){var y=new Set;y.add(u),f.updateQueue=y}else h.add(u);if(0==(2&f.mode)){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var g=la(-1,1);g.tag=2,sa(l,g)}l.lanes|=1;break e}s=void 0,l=n;var b=a.pingCache;if(null===b?(b=a.pingCache=new al,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=Ms.bind(null,a,u,l);u.then(x,x)}f.flags|=4096,f.lanes=n;break e}f=f.return}while(null!==f);s=Error(($(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ll&&(Ll=2),s=rl(s,l),f=i;do{switch(f.tag){case 3:a=s,f.flags|=4096,n&=-n,f.lanes|=n,ua(f,il(0,a,n));break e;case 1:a=s;var w=f.type,k=f.stateNode;if(0==(64&f.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===Zl||!Zl.has(k)))){f.flags|=4096,n&=-n,f.lanes|=n,ua(f,ll(f,a,n));break e}}f=f.return}while(null!==f)}_s(t)}catch(e){n=e,Ol===t&&null!==t&&(Ol=t=t.return);continue}break}}function xs(){var e=Sl.current;return Sl.current=Oi,null===e?Oi:e}function ws(e,n){var t=Cl;Cl|=16;var r=xs();for(Nl===e&&zl===n||gs(e,n);;)try{ks();break}catch(n){bs(e,n)}if(Jo(),Cl=t,Sl.current=r,null!==Ol)throw Error(i(261));return Nl=null,zl=0,Ll}function ks(){for(;null!==Ol;)Ss(Ol)}function Es(){for(;null!==Ol&&!_o();)Ss(Ol)}function Ss(e){var n=jl(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===n?_s(e):Ol=n,_l.current=null}function _s(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(2048&n.flags)){if(null!==(t=nl(t,n,Tl)))return void(Ol=t);if(24!==(t=n).tag&&23!==t.tag||null===t.memoizedState||0!=(1073741824&Tl)||0==(4&t.mode)){for(var r=0,o=t.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;t.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=n.firstEffect),null!==n.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=n.firstEffect),e.lastEffect=n.lastEffect),1<n.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=n:e.firstEffect=n,e.lastEffect=n))}else{if(null!==(t=tl(n)))return t.flags&=2047,void(Ol=t);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(n=n.sibling))return void(Ol=n);Ol=n=e}while(null!==n);0===Ll&&(Ll=5)}function Cs(e){var n=Wo();return Qo(99,Ns.bind(null,e,n)),null}function Ns(e,n){do{zs()}while(null!==Hl);if(0!=(48&Cl))throw Error(i(327));var t=e.finishedWork;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(i(177));e.callbackNode=null;var r=t.lanes|t.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,s=e.expirationTimes;0<a;){var u=31-Un(a),c=1<<u;o[u]=0,l[u]=-1,s[u]=-1,a&=~c}if(null!==Gl&&0==(24&r)&&Gl.has(e)&&Gl.delete(e),e===Nl&&(Ol=Nl=null,zl=0),1<t.flags?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,null!==r){if(o=Cl,Cl|=32,_l.current=null,Ir=Yn,pr(l=fr())){if("selectionStart"in l)s={start:l.selectionStart,end:l.selectionEnd};else e:if(s=(s=l.ownerDocument)&&s.defaultView||window,(c=s.getSelection&&s.getSelection())&&0!==c.rangeCount){s=c.anchorNode,a=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{s.nodeType,u.nodeType}catch(e){s=null;break e}var d=0,f=-1,p=-1,m=0,v=0,h=l,y=null;n:for(;;){for(var g;h!==s||0!==a&&3!==h.nodeType||(f=d+a),h!==u||0!==c&&3!==h.nodeType||(p=d+c),3===h.nodeType&&(d+=h.nodeValue.length),null!==(g=h.firstChild);)y=h,h=g;for(;;){if(h===l)break n;if(y===s&&++m===a&&(f=d),y===u&&++v===c&&(p=d),null!==(g=h.nextSibling))break;y=(h=y).parentNode}h=g}s=-1===f||-1===p?null:{start:f,end:p}}else s=null;s=s||{start:0,end:0}}else s=null;Fr={focusedElem:l,selectionRange:s},Yn=!1,os=null,as=!1,Ql=r;do{try{Os()}catch(e){if(null===Ql)throw Error(i(330));Rs(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);os=null,Ql=r;do{try{for(l=e;null!==Ql;){var b=Ql.flags;if(16&b&&ye(Ql.stateNode,""),128&b){var x=Ql.alternate;if(null!==x){var w=x.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&b){case 2:hl(Ql),Ql.flags&=-3;break;case 6:hl(Ql),Ql.flags&=-3,xl(Ql.alternate,Ql);break;case 1024:Ql.flags&=-1025;break;case 1028:Ql.flags&=-1025,xl(Ql.alternate,Ql);break;case 4:xl(Ql.alternate,Ql);break;case 8:bl(l,s=Ql);var k=s.alternate;ml(s),null!==k&&ml(k)}Ql=Ql.nextEffect}}catch(e){if(null===Ql)throw Error(i(330));Rs(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);if(w=Fr,x=fr(),b=w.focusedElem,l=w.selectionRange,x!==b&&b&&b.ownerDocument&&dr(b.ownerDocument.documentElement,b)){null!==l&&pr(b)&&(x=l.start,void 0===(w=l.end)&&(w=x),"selectionStart"in b?(b.selectionStart=x,b.selectionEnd=Math.min(w,b.value.length)):(w=(x=b.ownerDocument||document)&&x.defaultView||window).getSelection&&(w=w.getSelection(),s=b.textContent.length,k=Math.min(l.start,s),l=void 0===l.end?k:Math.min(l.end,s),!w.extend&&k>l&&(s=l,l=k,k=s),s=cr(b,k),a=cr(b,l),s&&a&&(1!==w.rangeCount||w.anchorNode!==s.node||w.anchorOffset!==s.offset||w.focusNode!==a.node||w.focusOffset!==a.offset)&&((x=x.createRange()).setStart(s.node,s.offset),w.removeAllRanges(),k>l?(w.addRange(x),w.extend(a.node,a.offset)):(x.setEnd(a.node,a.offset),w.addRange(x))))),x=[];for(w=b;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<x.length;b++)(w=x[b]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Yn=!!Ir,Fr=Ir=null,e.current=t,Ql=r;do{try{for(b=e;null!==Ql;){var E=Ql.flags;if(36&E&&dl(b,Ql.alternate,Ql),128&E){x=void 0;var S=Ql.ref;if(null!==S){var _=Ql.stateNode;Ql.tag,x=_,"function"==typeof S?S(x):S.current=x}}Ql=Ql.nextEffect}}catch(e){if(null===Ql)throw Error(i(330));Rs(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);Ql=null,Mo(),Cl=o}else e.current=t;if($l)$l=!1,Hl=e,Yl=n;else for(Ql=r;null!==Ql;)n=Ql.nextEffect,Ql.nextEffect=null,8&Ql.flags&&((E=Ql).sibling=null,E.stateNode=null),Ql=n;if(0===(r=e.pendingLanes)&&(Zl=null),1===r?e===es?Jl++:(Jl=0,es=e):Jl=0,t=t.stateNode,wo&&"function"==typeof wo.onCommitFiberRoot)try{wo.onCommitFiberRoot(xo,t,void 0,64==(64&t.current.flags))}catch(e){}if(cs(e,Vo()),Ul)throw Ul=!1,e=Al,Al=null,e;return 0!=(8&Cl)||Ao(),null}function Os(){for(;null!==Ql;){var e=Ql.alternate;as||null===os||(0!=(8&Ql.flags)?Je(Ql,os)&&(as=!0):13===Ql.tag&&kl(e,Ql)&&Je(Ql,os)&&(as=!0));var n=Ql.flags;0!=(256&n)&&cl(e,Ql),0==(512&n)||$l||($l=!0,Uo(97,(function(){return zs(),null}))),Ql=Ql.nextEffect}}function zs(){if(90!==Yl){var e=97<Yl?97:Yl;return Yl=90,Qo(e,Ls)}return!1}function Ts(e,n){Xl.push(n,e),$l||($l=!0,Uo(97,(function(){return zs(),null})))}function Ps(e,n){Kl.push(n,e),$l||($l=!0,Uo(97,(function(){return zs(),null})))}function Ls(){if(null===Hl)return!1;var e=Hl;if(Hl=null,0!=(48&Cl))throw Error(i(331));var n=Cl;Cl|=32;var t=Kl;Kl=[];for(var r=0;r<t.length;r+=2){var o=t[r],a=t[r+1],l=o.destroy;if(o.destroy=void 0,"function"==typeof l)try{l()}catch(e){if(null===a)throw Error(i(330));Rs(a,e)}}for(t=Xl,Xl=[],r=0;r<t.length;r+=2){o=t[r],a=t[r+1];try{var s=o.create;o.destroy=s()}catch(e){if(null===a)throw Error(i(330));Rs(a,e)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Cl=n,Ao(),!0}function qs(e,n,t){sa(e,n=il(0,n=rl(t,n),1)),n=is(),null!==(e=us(e,1))&&(Qn(e,1,n),cs(e,n))}function Rs(e,n){if(3===e.tag)qs(e,e,n);else for(var t=e.return;null!==t;){if(3===t.tag){qs(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){var o=ll(t,e=rl(n,e),1);if(sa(t,o),o=is(),null!==(t=us(t,1)))Qn(t,1,o),cs(t,o);else if("function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r)))try{r.componentDidCatch(n,e)}catch(e){}break}}t=t.return}}function Ms(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=is(),e.pingedLanes|=e.suspendedLanes&t,Nl===e&&(zl&t)===t&&(4===Ll||3===Ll&&(62914560&zl)===zl&&500>Vo()-Dl?gs(e,0):Il|=t),cs(e,n)}function Bs(e,n){var t=e.stateNode;null!==t&&t.delete(n),0==(n=0)&&(0==(2&(n=e.mode))?n=1:0==(4&n)?n=99===Wo()?1:2:(0===ts&&(ts=Rl),0===(n=Wn(62914560&~ts))&&(n=4194304))),t=is(),null!==(e=us(e,n))&&(Qn(e,n,t),cs(e,t))}function Is(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Fs(e,n,t,r){return new Is(e,n,t,r)}function Ds(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vs(e,n){var t=e.alternate;return null===t?((t=Fs(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.nextEffect=null,t.firstEffect=null,t.lastEffect=null),t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Ws(e,n,t,r,o,a){var l=2;if(r=e,"function"==typeof e)Ds(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return js(t.children,o,a,n);case B:l=8,o|=16;break;case _:l=8,o|=1;break;case C:return(e=Fs(12,t,n,8|o)).elementType=C,e.type=C,e.lanes=a,e;case T:return(e=Fs(13,t,n,o)).type=T,e.elementType=T,e.lanes=a,e;case P:return(e=Fs(19,t,n,o)).elementType=P,e.lanes=a,e;case I:return Qs(t,o,a,n);case F:return(e=Fs(24,t,n,o)).elementType=F,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case N:l=10;break e;case O:l=9;break e;case z:l=11;break e;case L:l=14;break e;case q:l=16,r=null;break e;case R:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(n=Fs(l,t,n,o)).elementType=e,n.type=r,n.lanes=a,n}function js(e,n,t,r){return(e=Fs(7,e,r,n)).lanes=t,e}function Qs(e,n,t,r){return(e=Fs(23,e,r,n)).elementType=I,e.lanes=t,e}function Us(e,n,t){return(e=Fs(6,e,null,n)).lanes=t,e}function As(e,n,t){return(n=Fs(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Zs(e,n,t){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=t,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=jn(0),this.expirationTimes=jn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jn(0),this.mutableSourceEagerHydrationData=null}function $s(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}function Hs(e,n,t,r){var o=n.current,a=is(),l=ls(o);e:if(t){n:{if(Ye(t=t._reactInternals)!==t||1!==t.tag)throw Error(i(170));var s=t;do{switch(s.tag){case 3:s=s.stateNode.context;break n;case 1:if(mo(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break n}}s=s.return}while(null!==s);throw Error(i(171))}if(1===t.tag){var u=t.type;if(mo(u)){t=yo(t,u,s);break e}}t=s}else t=so;return null===n.context?n.context=t:n.pendingContext=t,(n=la(a,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),sa(o,n),ss(o,l,a),l}function Ys(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Xs(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function Ks(e,n){Xs(e,n),(e=e.alternate)&&Xs(e,n)}function Gs(e,n,t){var r=null!=t&&null!=t.hydrationOptions&&t.hydrationOptions.mutableSources||null;if(t=new Zs(e,n,null!=t&&!0===t.hydrate),n=Fs(3,null,null,2===n?7:1===n?3:0),t.current=n,n.stateNode=t,aa(n),e[Xr]=t.current,Or(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(n=r[e])._getVersion;o=o(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o)}this._internalRoot=t}function Js(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function eu(e,n,t,r,o){var a=t._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Ys(i);l.call(e)}}Hs(n,i,e,o)}else{if(a=t._reactRootContainer=function(e,n){if(n||(n=!(!(n=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==n.nodeType||!n.hasAttribute("data-reactroot"))),!n)for(var t;t=e.lastChild;)e.removeChild(t);return new Gs(e,0,n?{hydrate:!0}:void 0)}(t,r),i=a._internalRoot,"function"==typeof o){var s=o;o=function(){var e=Ys(i);s.call(e)}}vs((function(){Hs(n,i,e,o)}))}return Ys(i)}function nu(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Js(n))throw Error(i(200));return $s(e,n,null,t)}jl=function(e,n,t){var r=n.lanes;if(null!==e)if(e.memoizedProps!==n.pendingProps||co.current)qi=!0;else{if(0==(t&r)){switch(qi=!1,n.tag){case 3:Qi(n),Ua();break;case 5:La(n);break;case 1:mo(n.type)&&go(n);break;case 4:Ta(n,n.stateNode.containerInfo);break;case 10:r=n.memoizedProps.value;var o=n.type._context;lo(Yo,o._currentValue),o._currentValue=r;break;case 13:if(null!==n.memoizedState)return 0!=(t&n.child.childLanes)?Hi(e,n,t):(lo(Ra,1&Ra.current),null!==(n=Ji(e,n,t))?n.sibling:null);lo(Ra,1&Ra.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(64&e.flags)){if(r)return Gi(e,n,t);n.flags|=64}if(null!==(o=n.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),lo(Ra,Ra.current),r)break;return null;case 23:case 24:return n.lanes=0,Fi(e,n,t)}return Ji(e,n,t)}qi=0!=(16384&e.flags)}else qi=!1;switch(n.lanes=0,n.tag){case 2:if(r=n.type,null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,o=po(n,uo.current),ta(n,t),o=ri(null,n,r,e,o,t),n.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,mo(r)){var a=!0;go(n)}else a=!1;n.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,aa(n);var l=r.getDerivedStateFromProps;"function"==typeof l&&pa(n,r,l,e),o.updater=ma,n.stateNode=o,o._reactInternals=n,ga(n,r,e,t),n=ji(null,n,r,!0,a,t)}else n.tag=0,Ri(null,n,o,t),n=n.child;return n;case 16:o=n.elementType;e:{switch(null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,o=(a=o._init)(o._payload),n.type=o,a=n.tag=function(e){if("function"==typeof e)return Ds(e)?1:0;if(null!=e){if((e=e.$$typeof)===z)return 11;if(e===L)return 14}return 2}(o),e=Ho(o,e),a){case 0:n=Vi(null,n,o,e,t);break e;case 1:n=Wi(null,n,o,e,t);break e;case 11:n=Mi(null,n,o,e,t);break e;case 14:n=Bi(null,n,o,Ho(o.type,e),r,t);break e}throw Error(i(306,o,""))}return n;case 0:return r=n.type,o=n.pendingProps,Vi(e,n,r,o=n.elementType===r?o:Ho(r,o),t);case 1:return r=n.type,o=n.pendingProps,Wi(e,n,r,o=n.elementType===r?o:Ho(r,o),t);case 3:if(Qi(n),r=n.updateQueue,null===e||null===r)throw Error(i(282));if(r=n.pendingProps,o=null!==(o=n.memoizedState)?o.element:null,ia(e,n),ca(n,r,null,t),(r=n.memoizedState.element)===o)Ua(),n=Ji(e,n,t);else{if((a=(o=n.stateNode).hydrate)&&(Ia=Ur(n.stateNode.containerInfo.firstChild),Ba=n,a=Fa=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Aa.push(a);for(t=Sa(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|1024,t=t.sibling}else Ri(e,n,r,t),Ua();n=n.child}return n;case 5:return La(n),null===e&&Wa(n),r=n.type,o=n.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,Vr(r,o)?l=null:null!==a&&Vr(r,a)&&(n.flags|=16),Di(e,n),Ri(e,n,l,t),n.child;case 6:return null===e&&Wa(n),null;case 13:return Hi(e,n,t);case 4:return Ta(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=Ea(n,null,r,t):Ri(e,n,r,t),n.child;case 11:return r=n.type,o=n.pendingProps,Mi(e,n,r,o=n.elementType===r?o:Ho(r,o),t);case 7:return Ri(e,n,n.pendingProps,t),n.child;case 8:case 12:return Ri(e,n,n.pendingProps.children,t),n.child;case 10:e:{r=n.type._context,o=n.pendingProps,l=n.memoizedProps,a=o.value;var s=n.type._context;if(lo(Yo,s._currentValue),s._currentValue=a,null!==l)if(s=l.value,0==(a=ir(s,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,a):1073741823))){if(l.children===o.children&&!co.current){n=Ji(e,n,t);break e}}else for(null!==(s=n.child)&&(s.return=n);null!==s;){var u=s.dependencies;if(null!==u){l=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===s.tag&&((c=la(-1,t&-t)).tag=2,sa(s,c)),s.lanes|=t,null!==(c=s.alternate)&&(c.lanes|=t),na(s.return,t),u.lanes|=t;break}c=c.next}}else l=10===s.tag&&s.type===n.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===n){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}Ri(e,n,o.children,t),n=n.child}return n;case 9:return o=n.type,r=(a=n.pendingProps).children,ta(n,t),r=r(o=ra(o,a.unstable_observedBits)),n.flags|=1,Ri(e,n,r,t),n.child;case 14:return a=Ho(o=n.type,n.pendingProps),Bi(e,n,o,a=Ho(o.type,a),r,t);case 15:return Ii(e,n,n.type,n.pendingProps,r,t);case 17:return r=n.type,o=n.pendingProps,o=n.elementType===r?o:Ho(r,o),null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),n.tag=1,mo(r)?(e=!0,go(n)):e=!1,ta(n,t),ha(n,r,o),ga(n,r,o,t),ji(null,n,r,!0,e,t);case 19:return Gi(e,n,t);case 23:case 24:return Fi(e,n,t)}throw Error(i(156,n.tag))},Gs.prototype.render=function(e){Hs(e,this._internalRoot,null,null)},Gs.prototype.unmount=function(){var e=this._internalRoot,n=e.containerInfo;Hs(null,e,null,(function(){n[Xr]=null}))},en=function(e){13===e.tag&&(ss(e,4,is()),Ks(e,4))},nn=function(e){13===e.tag&&(ss(e,67108864,is()),Ks(e,67108864))},tn=function(e){if(13===e.tag){var n=is(),t=ls(e);ss(e,t,n),Ks(e,t)}},rn=function(e,n){return n()},Ce=function(e,n,t){switch(n){case"input":if(te(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var o=no(r);if(!o)throw Error(i(90));K(r),te(r,o)}}}break;case"textarea":ue(e,t);break;case"select":null!=(n=t.value)&&ie(e,!!t.multiple,n,!1)}},Le=ms,qe=function(e,n,t,r,o){var a=Cl;Cl|=4;try{return Qo(98,e.bind(null,n,t,r,o))}finally{0===(Cl=a)&&(Wl(),Ao())}},Re=function(){0==(49&Cl)&&(function(){if(null!==Gl){var e=Gl;Gl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,cs(e,Vo())}))}Ao()}(),zs())},Me=function(e,n){var t=Cl;Cl|=2;try{return e(n)}finally{0===(Cl=t)&&(Wl(),Ao())}};var tu={Events:[Jr,eo,no,Te,Pe,zs,{current:!1}]},ru={findFiberByHostInstance:Gr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ou={bundleType:ru.bundleType,version:ru.version,rendererPackageName:ru.rendererPackageName,rendererConfig:ru.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:ru.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{xo=au.inject(ou),wo=au}catch(ve){}}n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,n.createPortal=nu,n.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return null===(e=Ge(n))?null:e.stateNode},n.flushSync=function(e,n){var t=Cl;if(0!=(48&t))return e(n);Cl|=1;try{if(e)return Qo(99,e.bind(null,n))}finally{Cl=t,Ao()}},n.hydrate=function(e,n,t){if(!Js(n))throw Error(i(200));return eu(null,e,n,!0,t)},n.render=function(e,n,t){if(!Js(n))throw Error(i(200));return eu(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!Js(e))throw Error(i(40));return!!e._reactRootContainer&&(vs((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[Xr]=null}))})),!0)},n.unstable_batchedUpdates=ms,n.unstable_createPortal=function(e,n){return nu(e,n,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},n.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!Js(t))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,n,t,!1,r)},n.version="17.0.2"},961:(e,n,t)=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(799)},218:(e,n,t)=>{var r=t(813),o=60103,a=60106;n.Fragment=60107,n.StrictMode=60108,n.Profiler=60114;var i=60109,l=60110,s=60112;n.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),a=d("react.portal"),n.Fragment=d("react.fragment"),n.StrictMode=d("react.strict_mode"),n.Profiler=d("react.profiler"),i=d("react.provider"),l=d("react.context"),s=d("react.forward_ref"),n.Suspense=d("react.suspense"),u=d("react.memo"),c=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function h(e,n,t){this.props=e,this.context=n,this.refs=v,this.updater=t||m}function y(){}function g(e,n,t){this.props=e,this.context=n,this.refs=v,this.updater=t||m}h.prototype.isReactComponent={},h.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,n,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=h.prototype;var b=g.prototype=new y;b.constructor=g,r(b,h.prototype),b.isPureReactComponent=!0;var x={current:null},w=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,t){var r,a={},i=null,l=null;if(null!=n)for(r in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)w.call(n,r)&&!k.hasOwnProperty(r)&&(a[r]=n[r]);var s=arguments.length-2;if(1===s)a.children=t;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===a[r]&&(a[r]=s[r]);return{$$typeof:o,type:e,key:i,ref:l,props:a,_owner:x.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var _=/\/+/g;function C(e,n){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return n[e]}))}(""+e.key):n.toString(36)}function N(e,n,t,r,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return i=i(s=e),e=""===r?"."+C(s,0):r,Array.isArray(i)?(t="",null!=e&&(t=e.replace(_,"$&/")+"/"),N(i,n,t,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(e,n){return{$$typeof:o,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,t+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(_,"$&/")+"/")+e)),n.push(i)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+C(l=e[u],u);s+=N(l,n,t,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=N(l=l.value,n,t,c=r+C(l,u++),i);else if("object"===l)throw n=""+e,Error(p(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n));return s}function O(e,n,t){if(null==e)return e;var r=[],o=0;return N(e,r,"","",(function(e){return n.call(t,e,o++)})),r}function z(e){if(-1===e._status){var n=e._result;n=n(),e._status=0,e._result=n,n.then((function(n){0===e._status&&(n=n.default,e._status=1,e._result=n)}),(function(n){0===e._status&&(e._status=2,e._result=n)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function P(){var e=T.current;if(null===e)throw Error(p(321));return e}var L={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};n.Children={map:O,forEach:function(e,n,t){O(e,(function(){n.apply(this,arguments)}),t)},count:function(e){var n=0;return O(e,(function(){n++})),n},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(p(143));return e}},n.Component=h,n.PureComponent=g,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,n.cloneElement=function(e,n,t){if(null==e)throw Error(p(267,e));var a=r({},e.props),i=e.key,l=e.ref,s=e._owner;if(null!=n){if(void 0!==n.ref&&(l=n.ref,s=x.current),void 0!==n.key&&(i=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in n)w.call(n,c)&&!k.hasOwnProperty(c)&&(a[c]=void 0===n[c]&&void 0!==u?u[c]:n[c])}var c=arguments.length-2;if(1===c)a.children=t;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:o,type:e.type,key:i,ref:l,props:a,_owner:s}},n.createContext=function(e,n){return void 0===n&&(n=null),(e={$$typeof:l,_calculateChangedBits:n,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},n.createElement=E,n.createFactory=function(e){var n=E.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:s,render:e}},n.isValidElement=S,n.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:z}},n.memo=function(e,n){return{$$typeof:u,type:e,compare:void 0===n?null:n}},n.useCallback=function(e,n){return P().useCallback(e,n)},n.useContext=function(e,n){return P().useContext(e,n)},n.useDebugValue=function(){},n.useEffect=function(e,n){return P().useEffect(e,n)},n.useImperativeHandle=function(e,n,t){return P().useImperativeHandle(e,n,t)},n.useLayoutEffect=function(e,n){return P().useLayoutEffect(e,n)},n.useMemo=function(e,n){return P().useMemo(e,n)},n.useReducer=function(e,n,t){return P().useReducer(e,n,t)},n.useRef=function(e){return P().useRef(e)},n.useState=function(e){return P().useState(e)},n.version="17.0.2"},526:(e,n,t)=>{e.exports=t(218)},196:(e,n)=>{var t,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;n.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();n.unstable_now=function(){return l.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,d=function(){if(null!==u)try{var e=n.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(d,0),e}};t=function(e){null!==u?setTimeout(t,0,e):(u=e,setTimeout(d,0))},r=function(e,n){c=setTimeout(e,n)},o=function(){clearTimeout(c)},n.unstable_shouldYield=function(){return!1},a=n.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,h=null,y=-1,g=5,b=0;n.unstable_shouldYield=function(){return n.unstable_now()>=b},a=function(){},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,w=x.port2;x.port1.onmessage=function(){if(null!==h){var e=n.unstable_now();b=e+g;try{h(!0,e)?w.postMessage(null):(v=!1,h=null)}catch(e){throw w.postMessage(null),e}}else v=!1},t=function(e){h=e,v||(v=!0,w.postMessage(null))},r=function(e,t){y=f((function(){e(n.unstable_now())}),t)},o=function(){p(y),y=-1}}function k(e,n){var t=e.length;e.push(n);e:for(;;){var r=t-1>>>1,o=e[r];if(!(void 0!==o&&0<_(o,n)))break e;e[r]=n,e[t]=o,t=r}}function E(e){return void 0===(e=e[0])?null:e}function S(e){var n=e[0];if(void 0!==n){var t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,s=e[l];if(void 0!==i&&0>_(i,t))void 0!==s&&0>_(s,i)?(e[r]=s,e[l]=t,r=l):(e[r]=i,e[a]=t,r=a);else{if(!(void 0!==s&&0>_(s,t)))break e;e[r]=s,e[l]=t,r=l}}}return n}return null}function _(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}var C=[],N=[],O=1,z=null,T=3,P=!1,L=!1,q=!1;function R(e){for(var n=E(N);null!==n;){if(null===n.callback)S(N);else{if(!(n.startTime<=e))break;S(N),n.sortIndex=n.expirationTime,k(C,n)}n=E(N)}}function M(e){if(q=!1,R(e),!L)if(null!==E(C))L=!0,t(B);else{var n=E(N);null!==n&&r(M,n.startTime-e)}}function B(e,t){L=!1,q&&(q=!1,o()),P=!0;var a=T;try{for(R(t),z=E(C);null!==z&&(!(z.expirationTime>t)||e&&!n.unstable_shouldYield());){var i=z.callback;if("function"==typeof i){z.callback=null,T=z.priorityLevel;var l=i(z.expirationTime<=t);t=n.unstable_now(),"function"==typeof l?z.callback=l:z===E(C)&&S(C),R(t)}else S(C);z=E(C)}if(null!==z)var s=!0;else{var u=E(N);null!==u&&r(M,u.startTime-t),s=!1}return s}finally{z=null,T=a,P=!1}}var I=a;n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){L||P||(L=!0,t(B))},n.unstable_getCurrentPriorityLevel=function(){return T},n.unstable_getFirstCallbackNode=function(){return E(C)},n.unstable_next=function(e){switch(T){case 1:case 2:case 3:var n=3;break;default:n=T}var t=T;T=n;try{return e()}finally{T=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=I,n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=T;T=e;try{return n()}finally{T=t}},n.unstable_scheduleCallback=function(e,a,i){var l=n.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:O++,callback:a,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>l?(e.sortIndex=i,k(N,e),null===E(C)&&e===E(N)&&(q?o():q=!0,r(M,i-l))):(e.sortIndex=s,k(C,e),L||P||(L=!0,t(B))),e},n.unstable_wrapCallback=function(e){var n=T;return function(){var t=T;T=n;try{return e.apply(this,arguments)}finally{T=t}}}},851:(e,n,t)=>{e.exports=t(196)}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var a=n[r]={exports:{}};return e[r](a,a.exports,t),a.exports}t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var r={};(()=>{t.d(r,{default:()=>ke});var e=t(526),n=t(961);function o(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a.apply(this,arguments)}function i(e,n){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},i(e,n)}function l(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,i(e,n)}const s=e.createContext(null);function u(n,t){var r=Object.create(null);return n&&e.Children.map(n,(function(e){return e})).forEach((function(n){r[n.key]=function(n){return t&&(0,e.isValidElement)(n)?t(n):n}(n)})),r}function c(e,n,t){return null!=t[n]?t[n]:e.props[n]}function d(n,t,r){var o=u(n.children),a=function(e,n){function t(t){return t in n?n[t]:e[t]}e=e||{},n=n||{};var r,o=Object.create(null),a=[];for(var i in e)i in n?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var s in n){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=t(u)}l[s]=t(s)}for(r=0;r<a.length;r++)l[a[r]]=t(a[r]);return l}(t,o);return Object.keys(a).forEach((function(i){var l=a[i];if((0,e.isValidElement)(l)){var s=i in t,u=i in o,d=t[i],f=(0,e.isValidElement)(d)&&!d.props.in;!u||s&&!f?u||!s||f?u&&s&&(0,e.isValidElement)(d)&&(a[i]=(0,e.cloneElement)(l,{onExited:r.bind(null,l),in:d.props.in,exit:c(l,"exit",n),enter:c(l,"enter",n)})):a[i]=(0,e.cloneElement)(l,{in:!1}):a[i]=(0,e.cloneElement)(l,{onExited:r.bind(null,l),in:!0,exit:c(l,"exit",n),enter:c(l,"enter",n)})}})),a}var f=Object.values||function(e){return Object.keys(e).map((function(n){return e[n]}))},p=function(n){function t(e,t){var r,o=(r=n.call(this,e,t)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}l(t,n);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(n,t){var r,o,a=t.children,i=t.handleExited;return{children:t.firstRender?(r=n,o=i,u(r.children,(function(n){return(0,e.cloneElement)(n,{onExited:o.bind(null,n),in:!0,appear:c(n,"appear",r),enter:c(n,"enter",r),exit:c(n,"exit",r)})}))):d(n,a,i),firstRender:!1}},r.handleExited=function(e,n){var t=u(this.props.children);e.key in t||(e.props.onExited&&e.props.onExited(n),this.mounted&&this.setState((function(n){var t=a({},n.children);return delete t[e.key],{children:t}})))},r.render=function(){var n=this.props,t=n.component,r=n.childFactory,a=o(n,["component","childFactory"]),i=this.state.contextValue,l=f(this.state.children).map(r);return delete a.appear,delete a.enter,delete a.exit,null===t?e.createElement(s.Provider,{value:i},l):e.createElement(s.Provider,{value:i},e.createElement(t,a,l))},t}(e.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};const m=p;function v(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var h=function(e){return e.scrollTop},y="unmounted",g="exited",b="entering",x="entered",w="exiting",k=function(t){function r(e,n){var r;r=t.call(this,e,n)||this;var o,a=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?a?(o=g,r.appearStatus=b):o=x:o=e.unmountOnExit||e.mountOnEnter?y:g,r.state={status:o},r.nextCallback=null,r}l(r,t),r.getDerivedStateFromProps=function(e,n){return e.in&&n.status===y?{status:g}:null};var a=r.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var n=null;if(e!==this.props){var t=this.state.status;this.props.in?t!==b&&t!==x&&(n=b):t!==b&&t!==x||(n=w)}this.updateStatus(!1,n)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,n,t,r=this.props.timeout;return e=n=t=r,null!=r&&"number"!=typeof r&&(e=r.exit,n=r.enter,t=void 0!==r.appear?r.appear:n),{exit:e,enter:n,appear:t}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===b){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this);r&&h(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:y})},a.performEnter=function(e){var t=this,r=this.props.enter,o=this.context?this.context.isMounting:e,a=this.props.nodeRef?[o]:[n.findDOMNode(this),o],i=a[0],l=a[1],s=this.getTimeouts(),u=o?s.appear:s.enter;e||r?(this.props.onEnter(i,l),this.safeSetState({status:b},(function(){t.props.onEntering(i,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:x},(function(){t.props.onEntered(i,l)}))}))}))):this.safeSetState({status:x},(function(){t.props.onEntered(i)}))},a.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),o=this.props.nodeRef?void 0:n.findDOMNode(this);t?(this.props.onExit(o),this.safeSetState({status:w},(function(){e.props.onExiting(o),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:g},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:g},(function(){e.props.onExited(o)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,n){n=this.setNextCallback(n),this.setState(e,n)},a.setNextCallback=function(e){var n=this,t=!0;return this.nextCallback=function(r){t&&(t=!1,n.nextCallback=null,e(r))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:n.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(r&&!o){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=a[0],l=a[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var n=this.state.status;if(n===y)return null;var t=this.props,r=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,o(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e.createElement(s.Provider,{value:null},"function"==typeof r?r(n,a):e.cloneElement(e.Children.only(r),a))},r}(e.Component);function E(){}k.contextType=s,k.propTypes={},k.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},k.UNMOUNTED=y,k.EXITED=g,k.ENTERING=b,k.ENTERED=x,k.EXITING=w;const S=k;var _=function(e,n){return e&&n&&n.split(" ").forEach((function(n){return r=n,void((t=e).classList?t.classList.remove(r):"string"==typeof t.className?t.className=v(t.className,r):t.setAttribute("class",v(t.className&&t.className.baseVal||"",r)));var t,r}))},C=function(n){function t(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(n,t){var r=e.resolveArguments(n,t),o=r[0],a=r[1];e.removeClasses(o,"exit"),e.addClass(o,a?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(n,t)},e.onEntering=function(n,t){var r=e.resolveArguments(n,t),o=r[0],a=r[1]?"appear":"enter";e.addClass(o,a,"active"),e.props.onEntering&&e.props.onEntering(n,t)},e.onEntered=function(n,t){var r=e.resolveArguments(n,t),o=r[0],a=r[1]?"appear":"enter";e.removeClasses(o,a),e.addClass(o,a,"done"),e.props.onEntered&&e.props.onEntered(n,t)},e.onExit=function(n){var t=e.resolveArguments(n)[0];e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),e.addClass(t,"exit","base"),e.props.onExit&&e.props.onExit(n)},e.onExiting=function(n){var t=e.resolveArguments(n)[0];e.addClass(t,"exit","active"),e.props.onExiting&&e.props.onExiting(n)},e.onExited=function(n){var t=e.resolveArguments(n)[0];e.removeClasses(t,"exit"),e.addClass(t,"exit","done"),e.props.onExited&&e.props.onExited(n)},e.resolveArguments=function(n,t){return e.props.nodeRef?[e.props.nodeRef.current,n]:[n,t]},e.getClassNames=function(n){var t=e.props.classNames,r="string"==typeof t,o=r?(r&&t?t+"-":"")+n:t[n];return{baseClassName:o,activeClassName:r?o+"-active":t[n+"Active"],doneClassName:r?o+"-done":t[n+"Done"]}},e}l(t,n);var r=t.prototype;return r.addClass=function(e,n,t){var r=this.getClassNames(n)[t+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===n&&"done"===t&&o&&(r+=" "+o),"active"===t&&e&&h(e),r&&(this.appliedClasses[n][t]=r,function(e,n){e&&n&&n.split(" ").forEach((function(n){return r=n,void((t=e).classList?t.classList.add(r):function(e,n){return e.classList?!!n&&e.classList.contains(n):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")}(t,r)||("string"==typeof t.className?t.className=t.className+" "+r:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+r)));var t,r}))}(e,r))},r.removeClasses=function(e,n){var t=this.appliedClasses[n],r=t.base,o=t.active,a=t.done;this.appliedClasses[n]={},r&&_(e,r),o&&_(e,o),a&&_(e,a)},r.render=function(){var n=this.props,t=(n.classNames,o(n,["classNames"]));return e.createElement(S,a({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(e.Component);C.defaultProps={classNames:""},C.propTypes={};const N=C;function O(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}O(".freemium-survey-components .nps-container {\n margin: 0 auto;\n width: 100%;\n display: flex;\n flex-direction: column;\n grid-gap: 28px;\n gap: 28px;\n}\n.freemium-survey-components .nps-container .footer {\n border-top: 1px solid #ebeff3;\n padding-top: 20px;\n display: flex;\n justify-content: center;\n font-size: 0.875rem;\n line-height: 1.5;\n color: #12344d;\n}\n.freemium-survey-components .nps-container .footer:empty {\n display: none;\n}\n.freemium-survey-components .nps-container .nps-scale {\n position: relative;\n}\n.freemium-survey-components .nps-container .nps-scale .button-container {\n flex-direction: column;\n display: flex;\n grid-gap: 20px;\n gap: 20px;\n}\n.freemium-survey-components .nps-container .nps-scale .help-text-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.freemium-survey-components .nps-container .nps-scale .positive-text {\n color: #12344d;\n bottom: -40px;\n font-size: 12px;\n right: 0px;\n text-align: right;\n}\n.freemium-survey-components .nps-container .nps-scale .negative-text {\n color: #12344d;\n bottom: -40px;\n font-size: 12px;\n left: 0;\n text-align: left;\n}\n.freemium-survey-components .nps-container .nps-scale .choices {\n width: 100%;\n display: flex;\n justify-content: space-between;\n font-weight: 500;\n border-radius: 4px;\n}\n.freemium-survey-components .nps-container .nps-scale .choice {\n background: #ebeff3;\n}\n.freemium-survey-components .nps-container .nps-scale span {\n color: #aaa;\n font-size: 0.75rem;\n}\n.freemium-survey-components .nps-container .nps-scale button {\n display: inline-block;\n font-size: 1rem;\n white-space: nowrap;\n vertical-align: middle;\n background: none;\n border: none;\n box-shadow: none;\n cursor: pointer;\n text-align: center;\n font-weight: 400;\n border-radius: 4px;\n margin: 0;\n outline: none;\n margin-left: -1px;\n width: 40px;\n height: 40px;\n transform: scale(1);\n}\n.freemium-survey-components .nps-container .nps-scale button:hover {\n transition: background 0.2s ease-in, border-color 0.2s ease-in, transform 0.2s cubic-bezier(0.5, 2, 0.5, 0.75);\n}\n.freemium-survey-components .nps-container .nps-scale button:hover, .freemium-survey-components .nps-container .nps-scale button:focus {\n color: white;\n transform: scale(1.2);\n z-index: 2;\n position: relative;\n}\n.freemium-survey-components .nps-container .nps-scale button.active {\n color: white;\n transform: scale(1.2);\n z-index: 2;\n position: relative;\n}\n.freemium-survey-components .nps-container .nps-scale.rounded button {\n border-radius: 50%;\n}\n.freemium-survey-components .nps-container .nps-scale.square button {\n border-radius: 0;\n}\n.freemium-survey-components .nps-container .nps-scale.curved button {\n border-radius: 3px;\n}\n.freemium-survey-components .nps-container .nps-scale.highlighted button:hover, .freemium-survey-components .nps-container .nps-scale.highlighted button:focus, .freemium-survey-components .nps-container .nps-scale.highlighted button.active {\n background: var(--default-brand-color) !important;\n background: var(--brand-color, var(--default-brand-color)) !important;\n}\n.freemium-survey-components .nps-container .nps-scale.standard .choice {\n background: rgba(228, 62, 61, 0.3);\n}\n.freemium-survey-components .nps-container .nps-scale.standard .choice:nth-last-child(1), .freemium-survey-components .nps-container .nps-scale.standard .choice:nth-last-child(2) {\n background: rgba(0, 175, 80, 0.3);\n}\n.freemium-survey-components .nps-container .nps-scale.standard .choice:nth-last-child(3), .freemium-survey-components .nps-container .nps-scale.standard .choice:nth-last-child(4) {\n background: rgba(248, 196, 62, 0.3);\n}\n.freemium-survey-components .nps-container .nps-scale.standard .choice:focus, .freemium-survey-components .nps-container .nps-scale.standard .choice:hover, .freemium-survey-components .nps-container .nps-scale.standard .choice.active {\n background: rgb(228, 62, 61);\n color: #fff;\n}\n.freemium-survey-components .nps-container .nps-scale.standard .choice:focus:nth-last-child(1), .freemium-survey-components .nps-container .nps-scale.standard .choice:focus:nth-last-child(2), .freemium-survey-components .nps-container .nps-scale.standard .choice:hover:nth-last-child(1), .freemium-survey-components .nps-container .nps-scale.standard .choice:hover:nth-last-child(2), .freemium-survey-components .nps-container .nps-scale.standard .choice.active:nth-last-child(1), .freemium-survey-components .nps-container .nps-scale.standard .choice.active:nth-last-child(2) {\n background: rgb(0, 175, 80);\n}\n.freemium-survey-components .nps-container .nps-scale.standard .choice:focus:nth-last-child(3), .freemium-survey-components .nps-container .nps-scale.standard .choice:focus:nth-last-child(4), .freemium-survey-components .nps-container .nps-scale.standard .choice:hover:nth-last-child(3), .freemium-survey-components .nps-container .nps-scale.standard .choice:hover:nth-last-child(4), .freemium-survey-components .nps-container .nps-scale.standard .choice.active:nth-last-child(3), .freemium-survey-components .nps-container .nps-scale.standard .choice.active:nth-last-child(4) {\n background: rgb(248, 196, 62);\n}\n\n.freemium-survey-components.mobile-preview .nps-container .nps-scale .choices {\n background: transparent;\n}\n.freemium-survey-components.mobile-preview .nps-container .nps-scale .choices {\n flex-wrap: wrap;\n justify-content: center;\n grid-row-gap: 6px;\n row-gap: 6px;\n grid-column-gap: 6px;\n -moz-column-gap: 6px;\n column-gap: 6px;\n background: transparent;\n}\n.freemium-survey-components.mobile-preview .nps-container .nps-scale button {\n border-radius: 50%;\n background: #ebeff3;\n}\n\n@media (max-width: 550px) {\n .freemium-survey-components .nps-container .nps-scale .choices,\n.card-survey-style .nps-container .nps-scale .choices {\n background: transparent;\n }\n .freemium-survey-components .nps-container .nps-scale .choices,\n.card-survey-style .nps-container .nps-scale .choices {\n flex-wrap: wrap;\n justify-content: center;\n grid-row-gap: 6px;\n row-gap: 6px;\n grid-column-gap: 6px;\n -moz-column-gap: 6px;\n column-gap: 6px;\n background: transparent;\n }\n .freemium-survey-components .nps-container .nps-scale button,\n.card-survey-style .nps-container .nps-scale button {\n border-radius: 50%;\n background: #ebeff3;\n }\n}\n.widget-survey-components .nps-container .nps-scale .choices {\n background: transparent;\n}\n.widget-survey-components .nps-container .nps-scale .choices {\n flex-wrap: wrap;\n justify-content: center;\n grid-gap: 16px;\n gap: 16px;\n background: transparent;\n}\n.widget-survey-components .nps-container .nps-scale button {\n border-radius: 50%;\n background: #ebeff3;\n}");const z=n=>{const{type_info:{linear_scale:{button_style:t="highlighted",button_shape:r="rounded"}={},rating_presets:{start:o="Very unlikely",end:a="Very likely"}={},validation:{min:i},footer_text:l}}=n,s=e=>{switch(e){case e<=6:return"detractor";case e<=8:return"passive";default:return"promoter"}},u=(0,e.useRef)(Array.from({length:10+(0===i?1:0)},((e,n)=>n+i)));return e.createElement("div",{className:"nps-container","data-test-input":"nps"},e.createElement("div",{className:`nps-scale ${r} ${t}`},e.createElement("div",{className:"button-container"},e.createElement("div",{className:"choices",role:"radiogroup","aria-required":!0},u.current.map((t=>e.createElement("button",{role:"radio","aria-checked":n.npsValue===t,key:t,"data-test-nps-choice":t,onClick:e=>{n.onChangeHandler(t)},className:`choice ${s(t)} ${n.npsValue===t&&"active"}`},t)))),e.createElement("div",{className:"help-text-container"},e.createElement("span",{className:"negative-text",role:"note"},`${i} - ${o}`),e.createElement("span",{className:"positive-text",role:"note"},`${u.current[u.current.length-1]} - ${a}`)))),e.createElement("div",{className:"footer",role:"note"},l))},T=(e,n)=>(e.defaultProps=n,e);O('.freemium-survey-components .input-container,\n.freemium-survey-components .textarea-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n border-radius: 4px;\n position: relative;\n}\n.freemium-survey-components label.input-label {\n display: inline-block;\n padding-bottom: 8px;\n padding-left: 2px;\n font-size: 0.75rem;\n font-weight: 400;\n}\n.freemium-survey-components label.required::after {\n content: "*";\n position: relative;\n top: 2px;\n font-weight: 500;\n font-size: 0.85rem;\n padding-left: 3px;\n color: #d72d30;\n}\n.freemium-survey-components .input-basic {\n width: 100%;\n display: flex;\n align-items: center;\n border-radius: 4px;\n border: 1px solid var(--default-brand-color);\n border: 1px solid var(--brand-color, var(--default-brand-color));\n transition: border-color 0.2s linear;\n background: #fff;\n}\n.freemium-survey-components .textarea-container .input-basic {\n flex-direction: column;\n align-items: unset;\n}\n.freemium-survey-components .input-basic.error {\n border: 1px solid #d72d30;\n}\n.freemium-survey-components .input-basic.error:hover {\n border: 1px solid #d72d30;\n}\n.freemium-survey-components .input-basic.error[focus-within] {\n box-shadow: none;\n}\n.freemium-survey-components .input-basic.error:focus-within {\n box-shadow: none;\n}\n.freemium-survey-components .input-basic:hover {\n border-color: var(--default-brand-color);\n border-color: var(--brand-color, var(--default-brand-color));\n transition: 0.2s linear;\n}\n.freemium-survey-components .input-basic[focus-within] {\n border: 1px solid transparent;\n box-shadow: 0 0 0 2px var(--default-brand-color);\n box-shadow: 0 0 0 2px var(--brand-color, var(--default-brand-color));\n}\n.freemium-survey-components .input-basic:focus-within {\n border: 1px solid transparent;\n box-shadow: 0 0 0 2px var(--default-brand-color);\n box-shadow: 0 0 0 2px var(--brand-color, var(--default-brand-color));\n}\n.freemium-survey-components .input-basic[focus-within] .end-max-length {\n opacity: 1;\n}\n.freemium-survey-components .input-basic:focus-within .end-max-length {\n opacity: 1;\n}\n.freemium-survey-components .end-max-length {\n transition: opacity ease 0.2s;\n opacity: 0;\n padding: 0 8px;\n font-size: 0.75rem;\n color: #264966;\n}\n.freemium-survey-components .textarea-container .end-max-length {\n padding: 8px;\n align-self: flex-end;\n}\n.freemium-survey-components span.input-error {\n display: block;\n padding-left: 2px;\n padding-top: 4px;\n font-size: 0.9rem;\n color: #d72d30;\n}\n.freemium-survey-components input[type=text] {\n padding: 6px 12px;\n flex: 1;\n border: unset;\n height: 32px;\n font-size: 1rem;\n min-width: 0;\n /* line-height: ${typography.input.text.lineHeight}; */\n border-radius: 4px;\n}\n.freemium-survey-components input[type=text],\n.freemium-survey-components textarea {\n outline: none;\n border: none;\n}\n.freemium-survey-components input[type=text]::-moz-placeholder {\n color: #92a2b2;\n font-weight: 400;\n font-size: 0.85rem;\n}\n.freemium-survey-components input[type=text]::placeholder {\n color: #92a2b2;\n font-weight: 400;\n font-size: 0.85rem;\n}\n.freemium-survey-components textarea {\n min-height: 116px;\n padding: 12px;\n flex: 1;\n border: unset;\n resize: none;\n font-size: 1rem;\n min-width: 0;\n /* line-height: ${typography.input.text.lineHeight}; */\n border-radius: 4px;\n}\n.freemium-survey-components textarea::-moz-placeholder {\n color: #92a2b2;\n font-weight: 400;\n font-size: 0.85rem;\n}\n.freemium-survey-components textarea::placeholder {\n color: #92a2b2;\n font-weight: 400;\n font-size: 0.85rem;\n}');const P=["RANGE","NPS","RADIO","DROPDOWN"],L={default:500,compact:500,cozy:400},q={default:"600px",compact:"350px",cozy:"96%"},R={isRequired:!1,showCount:!0,isErrored:!1,inline:!1,spellCheck:!1,autoFocusInput:!0},M=(0,e.forwardRef)(((n,t)=>{const r=(0,e.useRef)(null);(0,e.useEffect)((()=>{n.autoFocusInput&&setTimeout((()=>{r.current?.focus()}),300+(n.autoFocusDelay??0))}),[n.autoFocusInput]);const{inputStyle:o,style:a,className:i,showCount:l,isErrored:s,startLabel:u,isRequired:c,errorText:d,endLabel:f,maxLength:p=256,onChange:m,autoFocusInput:v,...h}=n;return e.createElement("div",{className:"input-container",style:a},n.label&&e.createElement("label",{className:"input-label "+(c?"required":"")},n.label),e.createElement(e.Fragment,null,u&&e.createElement("div",{className:"start-label"},u),e.createElement("div",{className:`input-basic ${s?"error":""}${i||""}`},e.createElement("input",Object.assign({},h,{type:"text",autoComplete:"off",ref:r,style:o,onChange:e=>{e.target.value?.length>p||m?.(e)}})),l&&p>0&&e.createElement("div",{className:"end-max-length"},`${n.value&&n.value.length||0}/${p}`)),f&&e.createElement("div",{className:"end-label"},f)),s&&d&&e.createElement("span",{className:"input-error"},n.errorText))})),B=(0,e.forwardRef)(((n,t)=>{const r=(0,e.useRef)(null);(0,e.useEffect)((()=>{n.autoFocusInput&&setTimeout((()=>{r.current?.focus()}),300+(n.autoFocusDelay??0))}),[n.autoFocusInput]);const{inputStyle:o,style:a,className:i,showCount:l,maxLength:s=1500,startLabel:u,isRequired:c,autoFocusInput:d,onChange:f,...p}=n;return e.createElement(e.Fragment,null,e.createElement("div",{className:"textarea-container",style:a},n.label&&e.createElement("label",{className:"input-label "+(c?"required":"")},n.label),u&&e.createElement("div",{className:"start-label"},u),e.createElement("div",{className:`input-basic ${i||""}`},e.createElement("textarea",Object.assign({},p,{autoComplete:"off",ref:r,style:o,onChange:e=>{e.target.value?.length>s||f?.(e)}})),l&&s&&s>0&&e.createElement("div",{className:"end-max-length"},`${n.value&&n.value.length||0}/${s}`)),n.endLabel&&e.createElement("div",{className:"end-label"},n.endLabel)))})),I=T(M,R),F=T(B,R);O('.freemium-survey-components .checkbox-group {\n width: 100%;\n display: flex;\n grid-gap: 12px;\n gap: 12px;\n flex-direction: column;\n white-space: nowrap;\n flex-wrap: wrap;\n}\n.freemium-survey-components .icon-container {\n display: inline-block;\n flex: 0 0 12px;\n width: 12px;\n height: 12px;\n min-width: 12px;\n min-height: 12px;\n color: inherit;\n position: absolute;\n left: 1px;\n top: 2px;\n}\n.freemium-survey-components .tick-icon {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n height: 100%;\n width: 100%;\n color: inherit;\n fill: currentColor;\n}\n.freemium-survey-components input[type=checkbox] {\n position: absolute;\n clip: rect(0px 0px 0px 0px);\n width: 0px;\n height: 0px;\n}\n.freemium-survey-components input[type=checkbox]:focus ~ .checkbox {\n /* box-shadow: ${pseudo.focus} 0px 0px 0px 2px; */\n box-shadow: var(--default-brand-color) 0px 0px 0px 2px;\n box-shadow: var(--brand-color, var(--default-brand-color)) 0px 0px 0px 2px;\n border-color: transparent;\n}\n.freemium-survey-components .checkbox-label {\n display: flex;\n align-items: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: left;\n opacity: 1;\n line-height: 1.2;\n cursor: pointer;\n font-size: 1rem;\n padding: 16px 24px;\n min-width: 200px;\n border: 1px solid #ebeff3;\n border-radius: 4px;\n white-space: pre-wrap;\n}\n.freemium-survey-components .checkbox-label:hover {\n border-color: #92a2b1;\n}\n.freemium-survey-components .checkbox-label.disabled {\n opacity: 0.5;\n cursor: "not-allowed";\n}\n.freemium-survey-components .checkbox {\n transition: background-color ease-in 0.2s;\n min-width: 14px;\n min-height: 14px;\n min-height: 14px;\n max-height: 14px;\n border-radius: 2px;\n position: relative;\n margin-right: 16px;\n background-color: #fff;\n border: 1px solid;\n text-align: left;\n border-color: var(--default-brand-color);\n border-color: var(--brand-color, var(--default-brand-color));\n}\n.freemium-survey-components .checkbox:hover {\n border-color: var(--default-brand-color);\n border-color: var(--brand-color, var(--default-brand-color));\n box-shadow: var(--default-background-color) 0px 0px 0px 5px;\n box-shadow: var(--background-color, var(--default-background-color)) 0px 0px 0px 5px;\n}\n.freemium-survey-components input[type=checkbox]:checked ~ .checkbox {\n background-color: var(--default-brand-color);\n background-color: var(--brand-color, var(--default-brand-color));\n border-color: var(--default-brand-color);\n border-color: var(--brand-color, var(--default-brand-color));\n}\n.freemium-survey-components input[type=checkbox]:checked ~ .checkbox:hover {\n border-color: var(--default-brand-color);\n border-color: var(--brand-color, var(--default-brand-color));\n}\n.freemium-survey-components input[type=checkbox]:disabled ~ .checkbox:hover {\n box-shadow: unset;\n border-color: unset;\n}');const D=()=>e.createElement("svg",{id:"tick",className:"tick-icon",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":"title",viewBox:"0 0 10 10"},e.createElement("path",{d:"M3 5.87c-.18666814.00267463-.36667109-.06932655-.5-.2L.21 3.41c-.1786328-.17863279-.24839684-.43899577-.1830127-.6830127.06538414-.24401694.25598306-.43461586.5-.5C.77100423 2.16160316 1.0313672 2.23136721 1.21 2.41L3 4.18 6.8.33c.27679776-.27455556.72320224-.27455556 1 0 .13696438.13025306.21450026.31098915.21450026.5S7.93696438 1.19974694 7.8 1.33L3.45 5.67c-.12082534.11896945-.28072735.19003701-.45.2Z",fill:"#fff",fillRule:"evenodd"})),V=({values:n=[],othersValue:t="",options:r,name:o,autoFocusGroup:a,autoFocusDelay:i,onChangeHandler:l,saveOthersValue:s})=>{const u=n.includes("Others"),c=(0,e.useRef)(null);return(0,e.useEffect)((()=>{a&&setTimeout((()=>{c.current?.focus()}),300+i)}),[a]),e.createElement("div",{className:"checkbox-group"},e.createElement("button",{ref:c,className:"autofocus-button","aria-hidden":!0}),r?.filter((e=>"Others"!==e.value)).map(((t,r)=>e.createElement(W,{key:t.id,checked:n?.includes(t.value),name:t.value,id:t.id,onChange:(e,r)=>{if(r)l([...n||[],t.value]);else{const e=n.indexOf(t.value);e>-1&&n.splice(e,1),l([...n])}}},t.value))),r?.find((e=>"Others"===e.value))&&e.createElement(W,{key:"others",checked:u,name:"Others",id:"Others",onChange:(e,t)=>{if(t)l([...n,"Others"]);else{const e=n.findIndex((e=>"Others"===e));n.splice(e,1),l(n)}}},"Others"),u&&e.createElement(e.Fragment,null,e.createElement(I,{placeholder:"Enter your comment",value:t,onChange:e=>{s(o,e.target.value)},autoFocusDelay:10,label:""})))},W=T((n=>{const t=(0,e.useRef)(null);return(0,e.useEffect)((()=>{n.autoFocus&&setTimeout((()=>{t.current?.focus()}),320)}),[]),e.createElement("label",{className:`checkbox-label ${n.disabled&&"disabled"}`},e.createElement("input",{ref:t,id:n.id,type:"checkbox",name:n.name,readOnly:n.readOnly,disabled:n.disabled,"aria-disabled":n.disabled,checked:n.checked,onChange:n.readOnly?()=>{}:e=>n.onChange(e,e.target.checked)}),e.createElement("div",{className:"checkbox"},n.checked&&e.createElement("div",{className:"icon-container"},e.createElement(D,null)," ")),e.createElement("div",null,n.children))}),{checked:!1});O('.freemium-survey-components .radio-group {\n display: flex;\n grid-gap: 12px;\n gap: 12px;\n white-space: nowrap;\n flex-direction: column;\n width: 100%;\n}\n.freemium-survey-components .radio {\n background-color: #fff;\n border: 1px solid;\n border-color: var(--default-brand-color);\n border-color: var(--brand-color, var(--default-brand-color));\n transition: background-color ease-in 0.2s;\n min-width: 18px;\n max-width: 18px;\n min-height: 18px;\n max-height: 18px;\n border-radius: 50%;\n position: relative;\n margin-right: 16px;\n text-align: left;\n}\n.freemium-survey-components .radio:before {\n left: 3px;\n top: 3px;\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n transition: all ease-in 0.2s;\n background-color: #fff;\n}\n.freemium-survey-components .radio-label {\n display: flex;\n align-items: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: left;\n cursor: pointer;\n line-height: 1.2;\n font-size: 1rem;\n font-weight: 400;\n padding: 16px 24px;\n min-width: 200px;\n border: 1px solid #ebeff3;\n border-radius: 4px;\n white-space: pre-wrap;\n color: #3a4b67;\n}\n.freemium-survey-components input[type=radio] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n width: 0px;\n height: 0px;\n}\n.freemium-survey-components input[type=radio]:focus ~ .radio {\n /* box-shadow: ${pseudo.focus} 0px 0px 0px 3px; */\n box-shadow: var(--default-brand-color) 0px 0px 0px 3px;\n box-shadow: var(--brand-color, var(--default-brand-color)) 0px 0px 0px 3px;\n border-color: transparent;\n}\n.freemium-survey-components input[type=radio]:checked ~ .radio:before {\n background-color: var(--default-brand-color);\n background-color: var(--brand-color, var(--default-brand-color));\n}\n.freemium-survey-components .radio-label:hover {\n border-color: #92a2b1;\n}');const j=({name:n,options:t,value:r,autoFocusGroup:o,autoFocusDelay:a,onChangeHandler:i,saveOthersValue:l,othersOption:s,othersRequired:u,othersValue:c,isFinalQn:d})=>{const f=(0,e.useRef)(null);return(0,e.useEffect)((()=>{o&&setTimeout((()=>{f.current?.focus()}),300+a)}),[o]),e.createElement("div",{className:"radio-group",role:"radiogroup"},e.createElement("button",{ref:f,className:"autofocus-button","aria-hidden":!0,tabIndex:-1}),t?.sort(((e,n)=>"Others"===e.value?1:"Others"===n.value?-1:0))?.map(((t,o)=>e.createElement(Q,{key:t.value,value:t.value,name:n,onChange:e=>{"Others"!==e.currentTarget.value&&l(n,null),i(e.currentTarget.value)},checked:r===t.value},"Others"===t.value?"Others":t.value))),"Others"===r&&e.createElement(e.Fragment,null,e.createElement(I,{value:c??"",onChange:e=>{"Others"!==r&&d&&i("Others"),l(n,e.target.value)},placeholder:"Enter your comment",label:"",autoFocusDelay:10})))},Q=T((n=>{const t=(0,e.useRef)(null);return(0,e.useEffect)((()=>{n.autoFocus&&setTimeout((()=>{t.current?.focus()}),320)}),[]),e.createElement("label",{className:"radio-label"},e.createElement("input",{ref:t,type:"radio",name:n.name,value:n.value,checked:n.checked,onChange:n.onChange}),e.createElement("div",{className:"radio"}),e.createElement("div",null,n.children))}),{checked:!1,autoFocus:!1});O(".progressbar-container {\n width: 100%;\n height: 4px;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1;\n text-align: left;\n overflow: hidden;\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n}\n\n.progressbar-container.widget {\n position: absolute;\n top: 0;\n height: 2px;\n}\n\n.progressbar {\n transition: transform 0.2s linear 200ms;\n transform-origin: left;\n height: 100%;\n background-color: var(--default-brand-color);\n background-color: var(--brand-color, var(--default-brand-color));\n}");const U=n=>{const{totalSteps:t,completedSteps:r,widget:o}=n;return e.createElement("div",{className:"progressbar-container "+(o?"widget":"")},e.createElement("div",{className:"progressbar",style:{width:(r>0?100/t:0)+"%",transform:`scaleX(${r})`}}))};O(".freemium-survey-components .action-button {\n width: auto;\n display: block;\n padding: 8px 16px;\n cursor: pointer;\n line-height: 1.5;\n text-align: center;\n font-weight: 600;\n letter-spacing: 0.3px;\n border-radius: 4px;\n white-space: nowrap;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n color: --default-button-text-color;\n color: var(--button-text-color, --default-button-text-color);\n background: var(--default-brand-color);\n background: var(--brand-color, var(--default-brand-color));\n border: 1px solid var(--default-brand-color);\n border: 1px solid var(--brand-color, var(--default-brand-color));\n border-radius: 4px;\n min-width: 200px;\n max-width: -webkit-fit-content;\n max-width: -moz-fit-content;\n max-width: fit-content;\n transform: translateY(0px);\n transition: transform ease 0.2s;\n}\n.freemium-survey-components .action-button:not([disabled]):hover {\n transform: translateY(-4px);\n}\n.freemium-survey-components .action-button[disabled] {\n cursor: not-allowed;\n opacity: 0.6;\n}\n.freemium-survey-components button:focus:not(:active) {\n /* box-shadow: 0 0 0 2px ${pseudo.focus}; */\n}\n\n@media (max-width: 550px) {\n .freemium-survey-components .action-button {\n min-width: 120px;\n }\n}\n.widget-survey-components .action-button {\n min-width: 120px;\n}\n\n.freemium-survey-components.mobile-preview .action-button {\n min-width: 120px;\n}");const A=()=>e.createElement(e.Fragment,null,"..."),Z=n=>{const{inline:t=!1,children:r,disabled:o,className:a="",htmlType:i,type:l="primary",onClick:s,size:u,overrideStyleClassName:c="",loading:d=!1,...f}=n;return e.createElement("button",Object.assign({style:t?{display:"inline-block"}:{},disabled:o,className:`action-button ${a} ${c}`,type:i,onClick:s},f),d?e.createElement(A,null):r)},$=()=>e.createElement("svg",{width:"9",height:"14",viewBox:"0 0 10 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M7.82585 6.15754C7.98999 6.32147 8.08232 6.54389 8.08252 6.77587L8.08252 7.2192C8.07983 7.45069 7.98788 7.6722 7.82585 7.83754L1.82919 13.8225C1.77496 13.8772 1.71044 13.9206 1.63936 13.9502C1.56827 13.9798 1.49203 13.9951 1.41502 13.9951C1.33801 13.9951 1.26177 13.9798 1.19068 13.9502C1.1196 13.9206 1.05508 13.8772 1.00085 13.8225L0.172521 12.9942C0.118197 12.941 0.0750381 12.8774 0.0455752 12.8073C0.0161124 12.7372 0.000937578 12.6619 0.000937585 12.5859C0.000937592 12.5098 0.0161125 12.4345 0.0455753 12.3644C0.0750381 12.2943 0.118197 12.2308 0.172521 12.1775L5.36419 6.99754L0.172522 1.81754C0.117847 1.76331 0.0744506 1.69879 0.0448352 1.62771C0.0152208 1.55662 -2.75162e-05 1.48038 -2.75094e-05 1.40337C-2.75027e-05 1.32636 0.0152208 1.25012 0.0448353 1.17904C0.0744507 1.10795 0.117847 1.04343 0.172522 0.989205L1.00086 0.172537C1.05508 0.117862 1.1196 0.0744661 1.19069 0.0448507C1.26177 0.0152353 1.33801 -1.20337e-05 1.41502 -1.2027e-05C1.49203 -1.20203e-05 1.56827 0.0152353 1.63936 0.0448507C1.71044 0.0744661 1.77496 0.117862 1.82919 0.172537L7.82585 6.15754Z",fill:"#6B6B6B"})),H=()=>e.createElement("svg",{width:"9",height:"14",viewBox:"0 0 10 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M0.256667 7.83755C0.0925257 7.67361 0.000204227 7.4512 0 7.21921V6.77588C0.00268801 6.5444 0.0946357 6.32289 0.256667 6.15755L6.25333 0.172549C6.30756 0.117874 6.37208 0.0744776 6.44316 0.0448625C6.51425 0.0152474 6.59049 0 6.6675 0C6.74451 0 6.82075 0.0152474 6.89184 0.0448625C6.96292 0.0744776 7.02744 0.117874 7.08167 0.172549L7.91 1.00088C7.96432 1.05411 8.00748 1.11764 8.03694 1.18776C8.06641 1.25787 8.08158 1.33316 8.08158 1.40922C8.08158 1.48527 8.06641 1.56056 8.03694 1.63067C8.00748 1.70079 7.96432 1.76432 7.91 1.81755L2.71833 6.99755L7.91 12.1775C7.96467 12.2318 8.00807 12.2963 8.03769 12.3674C8.0673 12.4385 8.08255 12.5147 8.08255 12.5917C8.08255 12.6687 8.0673 12.745 8.03769 12.8161C8.00807 12.8871 7.96467 12.9517 7.91 13.0059L7.08167 13.8225C7.02744 13.8772 6.96292 13.9206 6.89184 13.9502C6.82075 13.9799 6.74451 13.9951 6.6675 13.9951C6.59049 13.9951 6.51425 13.9799 6.44316 13.9502C6.37208 13.9206 6.30756 13.8772 6.25333 13.8225L0.256667 7.83755Z",fill:"#6B6B6B"})),Y=()=>e.createElement("svg",{width:"11",height:"10",viewBox:"0 0 11 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{opacity:"0.01",x:"0.16748",width:"10",height:"10",fill:"white",fillOpacity:"0.01"}),e.createElement("path",{d:"M1.85129 1.68479L8.48395 8.31744",stroke:"#264966",strokeWidth:"1.5",strokeLinecap:"round"}),e.createElement("path",{d:"M8.48395 1.68479L1.85129 8.31744",stroke:"#264966",strokeWidth:"1.5",strokeLinecap:"round"})),X=()=>e.createElement("svg",{width:"8",height:"8",viewBox:"0 0 7 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.08333 1.32682H0.583333C0.261167 1.32682 0 1.06565 0 0.743489C0 0.421323 0.261167 0.160156 0.583333 0.160156H6.08333C6.4055 0.160156 6.66667 0.421323 6.66667 0.743489C6.66667 1.06565 6.4055 1.32682 6.08333 1.32682Z",fill:"#264966"})),K=()=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"11",viewBox:"0 0 11 11",fill:"none"},e.createElement("mask",{id:"a",maskUnits:"userSpaceOnUse",x:"-.400146",y:"-.400024",width:"11",height:"11",fill:"#000"},e.createElement("path",{fill:"#fff",d:"M-.400146-.400024h11v11h-11z"}),e.createElement("path",{d:"m4.70226 6.76428-2.6856 2.6856 2.60775-.00293c.02738-.00011.05452.0052.07983.01562.02532.01043.04833.02577.06769.04513.01936.01936.0347.04237.04512.06769.01043.02531.01574.05245.01563.07983l-.00293.41358c.00011.0274-.0052.0545-.01563.0799-.01043.0253-.02576.0483-.04512.0676-.01937.0194-.04237.0347-.06769.0452-.02532.0104-.05245.0157-.07983.0156l-3.59922.0029c-.082493.0001-.161625-.0326-.220005-.0909l-.111467-.1115c-.057526-.0589-.090102-.13767-.090934-.21998L.602787 6.2584c-.000112-.02738.005198-.05452.015625-.07984.010427-.02532.025763-.04832.045125-.06768.019362-.01936.042366-.0347.067685-.04513.025319-.01042.052451-.01573.079833-.01562h.416535c.02704-.00028.05387.00485.0789.01507.02504.01022.04779.02533.06691.04445.01912.01913.03424.04187.04446.06691s.01534.05186.01507.0789l-.00294 2.60775 4.74323-4.74323.0044-.00427 2.6856-2.6856-2.60775.00294c-.02738.00011-.05452-.0052-.07983-.01563-.02532-.01042-.04833-.02576-.06769-.04512-.01936-.01936-.0347-.04237-.04512-.06769-.01043-.02532-.01574-.05245-.01563-.07983l.00293-.413603c-.00011-.027382.0052-.054514.01563-.079833.01043-.025319.02576-.048323.04512-.067685.01937-.019362.04237-.034698.06769-.045125.02532-.010427.05245-.015737.07983-.015625L9.85762.599976c.08249-.000052.16158.032657.21998.090934l.1115.111467c.0575.058878.0901.13769.0909.220003l-.0029 3.59922c.0001.02738-.0052.05452-.0156.07983-.0105.02532-.0258.04833-.0452.06769-.0193.01936-.0423.0347-.0676.04512-.0254.01043-.0525.01574-.0799.01563h-.41651c-.02704.00027-.05387-.00485-.0789-.01507-.02504-.01022-.04779-.02533-.06691-.04446-.01912-.01912-.03424-.04187-.04446-.0669-.01022-.02504-.01534-.05186-.01506-.07891l.00293-2.60775-4.74323 4.74323-.0044.00427Z"})),e.createElement("path",{d:"m4.70226 6.76428-2.6856 2.6856 2.60775-.00293c.02738-.00011.05452.0052.07983.01562.02532.01043.04833.02577.06769.04513.01936.01936.0347.04237.04512.06769.01043.02531.01574.05245.01563.07983l-.00293.41358c.00011.0274-.0052.0545-.01563.0799-.01043.0253-.02576.0483-.04512.0676-.01937.0194-.04237.0347-.06769.0452-.02532.0104-.05245.0157-.07983.0156l-3.59922.0029c-.082493.0001-.161625-.0326-.220005-.0909l-.111467-.1115c-.057526-.0589-.090102-.13767-.090934-.21998L.602787 6.2584c-.000112-.02738.005198-.05452.015625-.07984.010427-.02532.025763-.04832.045125-.06768.019362-.01936.042366-.0347.067685-.04513.025319-.01042.052451-.01573.079833-.01562h.416535c.02704-.00028.05387.00485.0789.01507.02504.01022.04779.02533.06691.04445.01912.01913.03424.04187.04446.06691s.01534.05186.01507.0789l-.00294 2.60775 4.74323-4.74323.0044-.00427 2.6856-2.6856-2.60775.00294c-.02738.00011-.05452-.0052-.07983-.01563-.02532-.01042-.04833-.02576-.06769-.04512-.01936-.01936-.0347-.04237-.04512-.06769-.01043-.02532-.01574-.05245-.01563-.07983l.00293-.413603c-.00011-.027382.0052-.054514.01563-.079833.01043-.025319.02576-.048323.04512-.067685.01937-.019362.04237-.034698.06769-.045125.02532-.010427.05245-.015737.07983-.015625L9.85762.599976c.08249-.000052.16158.032657.21998.090934l.1115.111467c.0575.058878.0901.13769.0909.220003l-.0029 3.59922c.0001.02738-.0052.05452-.0156.07983-.0105.02532-.0258.04833-.0452.06769-.0193.01936-.0423.0347-.0676.04512-.0254.01043-.0525.01574-.0799.01563h-.41651c-.02704.00027-.05387-.00485-.0789-.01507-.02504-.01022-.04779-.02533-.06691-.04446-.01912-.01912-.03424-.04187-.04446-.0669-.01022-.02504-.01534-.05186-.01506-.07891l.00293-2.60775-4.74323 4.74323-.0044.00427Z",fill:"#264966"}),e.createElement("path",{d:"m4.70226 6.76428-.19158-.19732-.00287.00287.19445.19445Zm-2.6856 2.6856-.19445-.19445-.4702.4702.66496-.00075-.00031-.275Zm2.60775-.00293.00031.275h.00082l-.00113-.275Zm.14752.06075.19446-.19445-.00001-.00001-.19445.19446Zm.06075.14752.27499.00195.00001-.00082-.275-.00113Zm-.00293.41358-.27501-.0019.00001.003.275-.0011Zm-.06075.1475.19445.1945-.19445-.1945Zm-.06769.0452-.10471-.2543.10471.2543Zm-.07983.0156.00113-.275h-.00136l.00023.275Zm-3.59922.0029.00017.275h.00005l-.00022-.275Zm-.220005-.0909-.194454.1944.00017.0002.194284-.1946Zm-.111467-.1115-.196712.1922.002257.0023.194455-.1945Zm-.090934-.21998L.324837 9.8574l.000031.003.274986-.00278ZM.602787 6.2584l.275003.00022-.000005-.00135-.274998.00113Zm.015625-.07984L.36413 6.07385H.364129l.254283.10471Zm.045125-.06768.194453.19445h.000003l-.194456-.19445Zm.067685-.04513.104714.25429.000005-.00001-.104719-.25428Zm.079833-.01562-.001128.275h.001127l.000001-.275Zm.416535 0v.27501l.00281-.00002-.00281-.27499Zm.0789.01507-.10394.2546h.00001l.10393-.2546Zm.06691.04445.19445-.19445-.19445.19445Zm.04446.06691.2546-.10394-.2546.10394Zm.01507.0789-.275-.0028v.00249l.275.00031Zm-.00294 2.60775-.275-.00031-.00075.66497.47021-.4702-.19446-.19446Zm4.74323-4.74323-.19158-.19732-.00287.00287.19445.19445Zm.0044-.00427.19158.19733.00287-.00287-.19445-.19446Zm2.6856-2.6856.19445.19446.4702-.4702-.66496.00074.00031.275Zm-2.60775.00294-.00031-.275h-.00082l.00113.275Zm-.07983-.01563-.10472.25429.10472-.25429Zm-.06769-.04512.19446-.19446H6.3024l-.19445.19446Zm-.04512-.06769.25428-.10471v-.00001l-.25428.10472Zm-.01563-.07983-.27499-.00195-.00001.00082.275.00113Zm.00293-.413603.27502.001951L6.32513.81005l-.275.001127Zm.01563-.079833L5.81148.626625v.000004l.25428.104715Zm.04512-.067685L5.91643.469203v.000003l.19445.194453Zm.06769-.045125L6.07385.364252l.10472.254282ZM6.2584.602909 6.25728.87791l.00135-.000001-.00023-.275ZM9.85762.599976l-.00017-.275H9.8574l.00022.275Zm.21998.090934.1945-.194455-.0002-.000172-.1943.194627Zm.1115.111467.1967-.192197-.0023-.002257-.1944.194454Zm.0909.220003.275.00022v-.003l-.275.00278Zm-.0029 3.59922-.275-.00022v.00135l.275-.00113Zm-.0156.07983-.2543-.10472v.00001l.2543.10471Zm-.0452.06769-.1944-.19446.1944.19446Zm-.1475.06075.0012-.275h-.0012v.275Zm-.41651 0v-.27502l-.00281.00003.00281.27499Zm-.0789-.01507.10394-.2546-.10394.2546Zm-.06691-.04446.19446-.19445-.00001-.00001-.19445.19446Zm-.04446-.0669.25461-.10394-.00001-.00001-.2546.10395Zm-.01506-.07891.27499.00282.00001-.00251-.275-.00031Zm.00293-2.60775.275.00031.00075-.66496-.47021.4702.19446.19445ZM4.70666 6.76001l.19159.19733.00286-.00287-.19445-.19446Zm-.19885-.19018-2.6856 2.6856.38891.38891 2.6856-2.6856-.38891-.38891ZM2.01697 9.72488l2.60775-.00293-.00062-.55-2.60775.00293.00062.55Zm2.60857-.00293c-.00893.00003-.01777-.0017-.02601-.00509l.20943-.50857c-.05888-.02425-.12198-.0366-.18568-.03634l.00226.55Zm-.02601-.00509c-.00825-.0034-.01575-.0084-.02205-.0147l.3889-.38892c-.04503-.04503-.09853-.0807-.15742-.10495l-.20943.50857Zm-.02206-.01471c-.00631-.00631-.0113-.0138-.0147-.02205l.50857-.20943c-.02425-.05889-.05992-.11239-.10495-.15742l-.38892.3889Zm-.0147-.02205c-.0034-.00825-.00512-.01709-.00509-.02601l.55.00226c.00026-.06369-.01209-.12679-.03634-.18568l-.50857.20943Zm-.00508-.02683-.00294.41363.54999.0039.00293-.41363-.54998-.0039Zm-.00294.41663c-.00004-.0089.00169-.0177.00509-.026l.50856.2095c.02425-.0589.0366-.122.03634-.1857l-.54999.0022Zm.00509-.026c.0034-.0082.00839-.0157.0147-.022l.38891.3889c.04503-.045.0807-.0985.10495-.1574l-.50856-.2095Zm.01471-.022c.0063-.0063.01379-.0113.02205-.0147l.20943.5085c.05889-.0242.11239-.0599.15742-.1049l-.3889-.3889Zm.02205-.0147c.00824-.0034.01708-.0051.02601-.0051l-.00226.55c.06369.0002.1268-.0121.18568-.0364l-.20943-.5085Zm.02465-.0051-3.59922.0029.00045.55 3.59922-.0029-.00045-.55Zm-3.59917.0029c-.00957 0-.01876-.0038-.025541-.01054l-.388568.38924c.109981.1098.259058.1714.414459.1713l-.00035-.55Zm-.025371-.01037-.111467-.11146-.388909.38893.111468.1114.388908-.38887Zm-.109222-.10919c-.008001-.00819-.012532-.01915-.012648-.0306l-.549971.00556c.001548.1532.062169.2998.169221.4094l.393398-.38436Zm-.012634-.0276.002934-3.59922-.55-.00045L.324854 9.8574l.549999.00044Zm.002932-3.60057a.0675974.0675974 0 0 1-.005091.02601l-.508565-.20943c-.024249.05888-.036601.12199-.03634.18567l.549996-.00225Zm-.005092.02601c-.003395.00825-.008392.01574-.014703.02205l-.388906-.38891c-.045036.04504-.080705.09854-.104954.15743l.508563.20943Zm-.0147.02205c-.006311.00631-.013807.01131-.022057.01471l-.209429-.50857c-.058887.02425-.112392.05992-.157426.10496l.388912.3889Zm-.022052.0147c-.008251.0034-.017093.00513-.026013.0051l.002254-.55c-.063684-.00026-.12679.01209-.185679.03634l.209438.50856Zm-.024887.0051h.416536v-.55H.811055l-.000001.55Zm.419346-.00001c-.00954.00009-.01901-.00171-.02785-.00532l.20788-.5092c-.05891-.02405-.12202-.03611-.18564-.03546l.00561.54998Zm-.02784-.00532c-.00884-.00361-.01687-.00894-.02361-.01569l.3889-.38891c-.04499-.04499-.09851-.08055-.15742-.1046l-.20787.5092Zm-.02362-.01569c-.00674-.00675-.01208-.01477-.01568-.02361l.5092-.20788c-.02405-.05891-.05962-.11243-.10461-.15742l-.38891.38891Zm-.01568-.02361c-.00361-.00884-.00542-.0183-.00532-.02784l.54997.00561c.00065-.06362-.0114-.12674-.03545-.18565l-.5092.20788Zm-.00533-.02535L1.15499 8.8629l.55.00062.00294-2.60775-.55-.00062Zm.46652 2.80252 4.74323-4.74323-.38891-.38891-4.74323 4.74323.38891.38891Zm4.74033-4.74038.0044-.00427-.38312-.39461-.0044.00427.38312.39461Zm.00729-.00712 2.6856-2.6856-.38891-.38891-2.6856 2.6856.38891.38891Zm2.49084-3.15506-2.60775.00294.00062.55 2.60775-.00294-.00062-.55Zm-2.60857.00294c.00892-.00004.01776.00169.02601.00509l-.20943.50857c.05889.02424.12199.0366.18568.03634l-.00226-.55Zm.02601.00509c.00825.0034.01575.00839.02206.0147l-.38891.38891c.04503.04503.09853.0807.15742.10496l.20943-.50857Zm.02205.0147c.00631.00631.01131.01381.01471.02206l-.50857.20943c.02425.05888.05992.11239.10496.15742l.3889-.38891Zm.01471.02205c.0034.00826.00513.0171.00509.02602l-.55-.00226c-.00026.06369.01209.12679.03635.18568l.50856-.20944Zm.00508.02684.00294-.413602-.54999-.003901-.00293.413603.54998.0039Zm.00294-.41668c.00004.00892-.00169.01776-.00509.026009l-.50856-.20943c-.02425.058887-.0366.121992-.03634.185675L6.32513.81005Zm-.00509.026013c-.0034.008247-.00839.015741-.0147.022049L5.91643.469206c-.04503.045032-.0807.098534-.10495.157419l.50856.209438Zm-.0147.022052c-.00631.006307-.0138.011304-.02205.014701L6.07385.364252c-.05889.024251-.11239.059921-.15742.104951l.38891.388912Zm-.02205.014701a.0675974.0675974 0 0 1-.02601.005091l.00225-.549996c-.06369-.000261-.12679.012091-.18568.036341l.20944.508564Zm-.02466.005093L9.85785.874976l-.00045-.55-3.59922.002933.00045.55ZM9.8578.874976c.00957-.000006.01876.003791.02554.01056l.38856-.389253c-.11-.109784-.259-.171404-.41445-.171307l.00035.55Zm.02537.010388.11147.111467.38886-.388908-.1114-.111467-.38893.388908Zm.10922.109197c.00801.008189.01251.019149.01261.030599l.55-.00556c-.0015-.153176-.0622-.29984-.1692-.409407l-.39341.384368Zm.01261.027589-.0029 3.59923.55.00044.0029-3.59922-.55-.00045Zm-.0029 3.60058c0-.00892.0017-.01777.0051-.02602l.5085.20945c.0243-.05889.0367-.122.0364-.18569l-.55.00226Zm.0051-.02601c.0034-.00825.0084-.01574.0147-.02206l.3889.38892c.045-.04504.0807-.09855.105-.15743l-.5086-.20943Zm.0147-.02206c.0063-.00631.0138-.0113.022-.0147l.2095.50857c.0589-.02425.1124-.05992.1574-.10496l-.3889-.38891Zm.022-.0147c.0083-.0034.0171-.00513.0261-.00509l-.0023.55c.0637.00026.1268-.01209.1857-.03634l-.2095-.50857Zm.0249-.00509h-.41651v.55h.41651v-.55Zm-.41932.00001c.00954-.00009.01901.00171.02785.00532l-.20789.5092c.05892.02405.12203.0361.18566.03545l-.00562-.54997Zm.02785.00532c.00883.00361.01686.00894.02361.01569l-.38892.3889c.045.045.09852.08056.15743.10461l.20788-.5092Zm.0236.01568c.00675.00675.01209.01478.0157.02362l-.50921.20787c.02405.05892.05961.11244.10461.15743l.3889-.38892Zm.01569.02361c.00361.00884.00542.01831.00532.02786l-.54997-.00563c-.00065.06363.0114.12675.03546.18566l.50919-.20789Zm.00534.02535.00293-2.60775-.55-.00061-.00293 2.60774.55.00062Zm-.46653-2.80251L4.51221 6.56556l.3889.38891 4.74323-4.74323-.38891-.38891ZM4.51509 6.56271l-.00439.00427.38313.3946.0044-.00427-.38314-.3946Z",fill:"#264966",mask:"url(#a)"})),G=()=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"76",height:"16",viewBox:"0 0 200 40"},e.createElement("g",{fill:"none",fillRule:"nonzero"},e.createElement("path",{fill:"#4D4D4D",d:"M48.6 1c-5 0-6.8 3.5-6.8 6.8v2h-1c-.8 0-1.4.6-1.4 1.4 0 .8.6 1.4 1.4 1.4h1v13.8c0 .8.6 1.5 1.5 1.5s1.5-.6 1.5-1.5V12.5H48c.8 0 1.4-.6 1.4-1.4 0-.8-.6-1.4-1.4-1.4h-3.2v-2c0-1.8.7-4 3.9-4 .8 0 1.4-.6 1.4-1.3-.1-.8-.7-1.4-1.5-1.4zM60 9.3c-2-.1-3.8.8-5 2.4v-.8c0-.8-.6-1.5-1.5-1.5s-1.5.7-1.5 1.5v15.4c0 .8.6 1.5 1.5 1.5s1.5-.6 1.5-1.5v-8.5c0-3.6 1.9-5.7 5-5.7.8 0 1.4-.6 1.4-1.4 0-.8-.7-1.4-1.4-1.4zM77.7 16.9c0-1.7-.5-3.4-1.4-4.8-1.4-1.9-3.7-3-6.1-2.8-5.1 0-8 3.4-8 9.3 0 6.1 2.9 9.4 8.4 9.4 2.2.1 4.4-.7 6.1-2.2.3-.2.5-.6.5-1 0-.7-.6-1.3-1.3-1.3-.3 0-.6.1-.8.3-1.2 1-2.8 1.6-4.4 1.6-3.3 0-5.4-2.2-5.5-5.7H76c1.7-.2 1.7-1.8 1.7-2.8zm-7.4-5c3 0 4.5 1.7 4.6 5h-9.7c.3-3.2 2.1-5 5.1-5zM87.5 17.1c-2.2-.8-4-1.4-4-3 0-1.8 2-2 3.1-2 1.5-.1 3 .5 4 1.5.5.5 1.4.5 1.9 0 .3-.3.4-.6.4-1 0-.3-.1-.6-.3-.9-1.5-1.7-3.7-2.7-5.9-2.5-3.7 0-6 1.9-6 4.8 0 3.6 3.2 4.7 6 5.7 2.1.7 4 1.3 4 2.9 0 2.1-2.4 2.5-3.8 2.5-1.7.1-3.4-.6-4.6-1.8-.3-.3-.6-.4-1-.5-.7 0-1.3.6-1.3 1.3 0 .3.1.6.3.9 1.7 2 4.1 3 6.6 3 4.2 0 6.7-2 6.7-5.2-.2-3.7-3.3-4.7-6.1-5.7zM104.8 9.2c-1.8-.1-3.6.7-4.8 2.1V1.5c0-.8-.6-1.5-1.5-1.5-.8 0-1.4.6-1.4 1.5v24.8c0 .8.6 1.5 1.4 1.5.8 0 1.5-.6 1.5-1.5V17c0-3.4 1.6-5.1 4.8-5.1 3.2 0 4.3 1.4 4.3 4.8v9.6c0 .8.6 1.5 1.5 1.5.8 0 1.4-.6 1.4-1.5V16.2c0-4.6-2.4-7-7.2-7zM136.2 9.5c-.6 0-1.2.4-1.4 1l-4.2 11.8-3.4-11.8c-.3-.8-1.1-1.1-1.9-.9-.4.1-.7.5-.9.9L121 22.3l-4-11.9c-.2-.6-.7-1-1.4-.9-.8 0-1.4.6-1.4 1.4 0 .2 0 .4.1.6l5.6 15.3c.2.6.7 1 1.4 1 .6 0 1.2-.4 1.4-1l3.3-11.2 3.3 11.2c.2.6.8 1 1.4 1 .6 0 1.2-.4 1.4-1l5.6-15.3c.1-.2.1-.4.1-.6-.2-.8-.8-1.4-1.6-1.4zM146.8 9.2c-5.3 0-8.2 3.3-8.2 9.3 0 6 2.9 9.4 8.2 9.4 5.3 0 8.2-3.3 8.2-9.4 0-6.1-2.9-9.3-8.2-9.3zm0 16c-3.5 0-5.3-2.2-5.3-6.7s1.8-6.7 5.3-6.7 5.2 2.3 5.2 6.7-1.7 6.8-5.2 6.7zM166.2 9.3c-2-.1-3.8.8-5 2.4v-.8c0-.8-.6-1.5-1.4-1.5-.8 0-1.5.6-1.5 1.4v15.4c0 .8.6 1.5 1.4 1.5.8 0 1.5-.6 1.5-1.4v-8.5c0-3.6 1.9-5.7 5-5.7.8 0 1.4-.6 1.4-1.4 0-.8-.6-1.4-1.4-1.4zM177.3 16.9l6-4.8c.4-.3.6-.7.6-1.2 0-.8-.6-1.4-1.4-1.4-.4 0-.7.1-1 .4l-8.6 7V1.5c0-.8-.6-1.5-1.4-1.5-.8 0-1.5.6-1.5 1.4v24.8c0 .8.6 1.5 1.4 1.5.8 0 1.5-.6 1.5-1.4v-6l2-1.6 6.6 8.4c.3.4.8.7 1.2.7.8 0 1.4-.6 1.4-1.4 0-.3-.1-.7-.3-.9l-6.5-8.6zM193.7 17.1c-2.2-.8-4-1.4-4-3 0-1.8 2-2 3.1-2 1.5-.1 3 .5 4 1.5.3.3.6.4 1 .4.7-.1 1.2-.7 1.2-1.4 0-.3-.1-.6-.3-.9-1.5-1.7-3.7-2.7-5.9-2.5-3.7 0-6 1.9-6 4.8 0 3.6 3.2 4.7 6 5.7 2.1.7 4 1.3 4 2.9 0 2.1-2.4 2.5-3.8 2.5-1.7.1-3.4-.6-4.6-1.8-.3-.3-.6-.4-1-.5-.7 0-1.3.6-1.3 1.3 0 .3.1.6.3.9 1.7 1.9 4.1 2.9 6.7 2.8 4.2 0 6.7-2 6.7-5.2-.2-3.5-3.3-4.5-6.1-5.5z"}),e.createElement("path",{fill:"#9B65C3",d:"M.2 25.5C.7 29.1 2.4 32.4 5 35l5.8-5.8c0-6.1 3.2-11.7 8.5-14.8L.2 25.5z"}),e.createElement("path",{fill:"#9B65C3",d:"M10.8 29.2c-3 0-5.9-.8-8.5-2.3-.7-.4-1.4-.9-2.1-1.4.5 3.6 2.2 6.9 4.8 9.5l5.8-5.8z"}),e.createElement("path",{fill:"#BE63C5",d:"M10.8 29.2L5 35c2.6 2.6 5.9 4.3 9.5 4.8l11-19.1c-3 5.2-8.6 8.5-14.7 8.5z"}),e.createElement("path",{fill:"#BF63C6",d:"M13.1 37.7c-1.5-2.6-2.3-5.5-2.3-8.5L5 35c2.6 2.6 5.9 4.3 9.5 4.8-.5-.7-1-1.4-1.4-2.1z"}),e.createElement("path",{fill:"#3278B1",d:"M32.5 6.8l-13.2 7.6c-5.3 3-11.7 3-17 0C.8 17 0 20 0 23c0 .8.1 1.7.2 2.5.7.5 1.4 1 2.1 1.4 2.6 1.5 5.5 2.3 8.5 2.3l22-22c-.1-.1-.2-.2-.3-.4z"}),e.createElement("path",{fill:"#3278B2",d:"M2.3 26.9c2.6 1.5 5.5 2.3 8.5 2.3 0-6.1 3.2-11.7 8.5-14.8L.2 25.4c.7.6 1.4 1.1 2.1 1.5z"}),e.createElement("path",{fill:"#45A4EC",d:"M2.3 14.4C.8 17 0 20 0 23c0 .8.1 1.7.2 2.5l19.1-11.1c-5.2 3.1-11.7 3.1-17 0z"}),e.createElement("path",{fill:"#19BB7D",d:"M32.8 7.2c-.3-.3-.5-.5-.8-.7-.6-.4-1.4-.6-2.1-.6H17c-6.1 0-11.7 3.3-14.7 8.5 5.3 3 11.7 3 17 0-5.3 3-8.5 8.7-8.5 14.8 6.1 0 11.7-3.2 14.8-8.5l7.6-13.2c-.2-.1-.3-.2-.4-.3z"}),e.createElement("path",{fill:"#08C7FB",d:"M19.3 14.4l13.2-7.6c-.2-.1-.3-.3-.5-.4l-29.7 8c5.3 3.1 11.8 3.1 17 0z"}),e.createElement("path",{fill:"#59F2F6",d:"M29.8 5.9H17c-6.1 0-11.7 3.3-14.7 8.5l29.7-8c-.7-.3-1.4-.5-2.2-.5z"}),e.createElement("path",{fill:"#DA3757",d:"M25.6 20.7l7.6-13.2c-.1-.1-.2-.2-.3-.4l-22 22c0 3 .8 5.9 2.3 8.5.4.7.9 1.4 1.4 2.1.8.1 1.6.2 2.4.2 3 0 5.9-.8 8.5-2.3-3-5.2-3-11.7.1-16.9z"}),e.createElement("path",{fill:"#D33C4E",d:"M10.8 29.2c0 3 .8 5.9 2.3 8.5.4.7.9 1.4 1.4 2.1l11-19.1c-3 5.2-8.6 8.5-14.7 8.5z"}),e.createElement("path",{fill:"#EE5A24",d:"M25.6 20.7l-11 19.1c.8.1 1.6.2 2.5.2 3 0 5.9-.8 8.5-2.3-3.1-5.3-3.1-11.8 0-17z"}),e.createElement("path",{fill:"#8BDF55",d:"M33.5 8c-.3-.5-.6-.9-1-1.2l-13.2 7.6c-5.3 3-8.5 8.7-8.5 14.8 6.1 0 11.7-3.2 14.8-8.5-3 5.3-3 11.7 0 17 5.2-3 8.5-8.6 8.5-14.6V10.2c0-.8-.2-1.5-.6-2.2z"}),e.createElement("path",{fill:"#25C16F",d:"M32.5 6.8l-13.2 7.6c-5.3 3-8.5 8.7-8.5 14.8l22-22c-.1-.1-.2-.3-.3-.4z"}),e.createElement("path",{fill:"#8BDF55",d:"M10.8 29.2c6.1 0 11.7-3.2 14.8-8.5l7.6-13.2c-.1-.1-.2-.2-.3-.4L10.8 29.2z"}),e.createElement("path",{fill:"#FB0",d:"M33.2 7.5l-7.6 13.2c-3 5.3-3 11.7 0 17l8-29.7c-.2-.2-.3-.3-.4-.5z"}),e.createElement("path",{fill:"#FFA800",d:"M25.6 37.7c5.3-3 8.5-8.6 8.5-14.7V10.2c0-.8-.2-1.5-.6-2.2l-7.9 29.7z"}))),J=({question:n,formValues:t,othersMeta:r,onChangeHandler:o,saveOthersValue:a,autoFocus:i,autoFocusDelay:l,isFinalQn:s})=>{switch(n.type_info.question_type){case"RANGE":return e.createElement(z,{type_info:n.type_info,onChangeHandler:o,npsValue:t[n.name]});case"CHECKBOX":case"MULTI_SELECT":return e.createElement(V,{name:n.name,autoFocusGroup:i,values:t[n.name],othersValue:r[n.name],options:n.type_info.choices,onChangeHandler:o,saveOthersValue:a,othersOption:n.type_info.meta?.othersOption,othersRequired:n.type_info.meta?.othersRequired,autoFocusDelay:l});case"RADIO":case"DROPDOWN":return e.createElement(j,{autoFocusGroup:i,autoFocusDelay:l,name:n.name,onChangeHandler:o,saveOthersValue:a,options:n.type_info.choices,value:t[n.name],othersValue:r[n.name],othersOption:n.type_info.meta?.othersOption,othersRequired:n.type_info.meta?.othersRequired,isFinalQn:s});case"INPUT":case"TEXT":return n.type_info?.meta?.readOnly?e.createElement("div",{className:"message-container"},n.type_info?.meta?.value):e.createElement("div",{className:"responsive-text-field"},e.createElement(I,{autoFocusInput:i,autoFocusDelay:l,label:"",isRequired:n.is_required,value:t[n.name]||"",placeholder:n.type_info?.meta?.placeholder??"",onChange:e=>o(e.target.value)}),e.createElement(F,{autoFocusInput:i,autoFocusDelay:l,label:"",maxLength:256,isRequired:n.is_required,placeholder:n.type_info?.meta?.placeholder??"",value:t[n.name]||"",onChange:e=>o(e.target.value)}));case"PARAGRAPH":return e.createElement(F,{autoFocusInput:i,autoFocusDelay:l,label:"",isRequired:n.is_required,placeholder:n.type_info?.meta?.placeholder??"",value:t[n.name]||"",onChange:e=>o(e.target.value)});default:return console.error(`Question type ${n.type_info.question_type} not found`),null}},ee=(e={})=>0==Object.values(e).length,ne=e=>!e||"string"==typeof e&&""===e.trim()||Array.isArray(e)&&0===e.length,te=(e,n,t)=>{if(e){let r;if(t&&(r={"{{nps.rating}}":t}),n&&"object"==typeof n&&Object.keys(n).length>0&&(r={...n,...r??{}}),r){const n=new RegExp(Object.keys(r).join("|"),"gi");e=e.replace(n,(function(e){return r[e.toLowerCase()]}))}}return e??""};O(":root {\n --default-brand-color: #264966;\n --default-question-text-color: #3a4b67;\n --default-question-background-color: #fff;\n --default-background-color: #f8f8f8;\n --default-button-text-color: #fff;\n --default-secondary-button-text-color: #000;\n --default-input-placeholder-color: #92a2b1;\n --compact-widget-max-height: 560px;\n --default-widget-max-height: 400px;\n --cozy-widget-max-height: 380px;\n}\n\n.freemium-survey-components.card-survey-style {\n padding: 20px 0;\n}\n.freemium-survey-components.card-survey-style .freemium-survey-step-navigation {\n white-space: nowrap;\n border-radius: 3px;\n border: 1px solid #efefef;\n}\n.freemium-survey-components.card-survey-style .freemium-survey-step-navigation .navigation-button {\n width: 38px;\n text-align: -webkit-center;\n height: 38px;\n background-color: #fff;\n border: none;\n cursor: pointer;\n border-radius: 0 3px 3px 0;\n}\n.freemium-survey-components.card-survey-style .freemium-survey-step-navigation .navigation-button svg {\n transform: rotate(90deg);\n}\n.freemium-survey-components.card-survey-style .freemium-survey-step-navigation .navigation-button:first-of-type {\n border-right: 1px solid #efefef;\n border-radius: 3px 0 0 3px;\n}\n.freemium-survey-components.card-survey-style .freemium-survey-step-navigation .navigation-button:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.freemium-survey-components.card-survey-style .freemium-survey-step-navigation .navigation-button:focus {\n position: relative;\n z-index: 1;\n}\n.freemium-survey-components.card-survey-style .question-container {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n text-align: center;\n max-width: 700px;\n margin: 0 auto;\n background: var(--default-question-background-color);\n background: var(--question-background-color, var(--default-question-background-color));\n border-radius: 4px;\n transition: transform 500ms ease 0ms, opacity 200ms ease 0ms;\n box-shadow: 0px 12px 15px rgba(18, 52, 77, 0.03);\n padding: 28px;\n grid-gap: 28px;\n gap: 28px;\n position: relative;\n height: -webkit-fit-content;\n height: -moz-fit-content;\n height: fit-content;\n transition: opacity 50ms ease-out;\n overflow: auto;\n}\n.freemium-survey-components.card-survey-style .hide-question-container {\n opacity: 0;\n}\n.freemium-survey-components.card-survey-style .question-text {\n font-size: 1rem;\n font-weight: 600;\n line-height: 1.8;\n width: 100%;\n text-align: left;\n color: var(--default-question-text-color);\n color: var(--question-text-color, var(--default-question-text-color));\n}\n.freemium-survey-components.card-survey-style .autofocus-button {\n border: none;\n width: 0;\n height: 0;\n opacity: 0;\n margin-top: -12px;\n margin-left: -12px;\n position: absolute;\n}\n.freemium-survey-components.card-survey-style .fade-enter .question-container {\n opacity: 0;\n transform: translateY(15px);\n}\n.freemium-survey-components.card-survey-style .fade-enter-active .question-container {\n opacity: 1;\n transform: translateY(0);\n}\n.freemium-survey-components.card-survey-style .fade-exit .question-container {\n opacity: 1;\n transform: translateY(0);\n}\n.freemium-survey-components.card-survey-style .fade-exit-active .question-container {\n opacity: 0.05;\n transform: translateY(-15px);\n}\n.freemium-survey-components.card-survey-style .fade-reverse-enter .question-container {\n opacity: 0;\n transform: translateY(-15px);\n}\n.freemium-survey-components.card-survey-style .fade-reverse-enter-active .question-container {\n opacity: 1;\n transform: translateY(0);\n}\n.freemium-survey-components.card-survey-style .fade-reverse-exit .question-container {\n opacity: 1;\n transform: translateY(0);\n}\n.freemium-survey-components.card-survey-style .fade-reverse-exit-active .question-container {\n opacity: 0.05;\n transform: translateY(15px);\n}\n.freemium-survey-components.card-survey-style .fade-enter-active .question-container,\n.freemium-survey-components.card-survey-style .fade-exit-active .question-container,\n.freemium-survey-components.card-survey-style .fade-reverse-enter-active .question-container,\n.freemium-survey-components.card-survey-style .fade-reverse-exit-active .question-container {\n transition: opacity 200ms, transform 200ms;\n}\n.freemium-survey-components.card-survey-style .question-footer {\n display: flex;\n grid-gap: 40px;\n gap: 40px;\n width: 100%;\n align-items: center;\n}\n.freemium-survey-components.card-survey-style .question-footer:empty {\n display: none;\n}\n.freemium-survey-components.card-survey-style .question-footer:only-child {\n margin-left: auto;\n}\n.freemium-survey-components.card-survey-style .action-buttons {\n display: flex;\n grid-gap: 20px;\n gap: 20px;\n flex-direction: row-reverse;\n width: 100%;\n}\n.freemium-survey-components.card-survey-style .action-buttons:empty {\n display: none;\n}\n.freemium-survey-components.card-survey-style .skip-button {\n font-weight: 500;\n color: #3a4b67;\n cursor: pointer;\n background: transparent;\n border: none;\n min-width: 40px;\n padding: 8px 16px;\n border-radius: 4px;\n color: var(--default-secondary-button-text-color);\n color: var(--secondary-button-text-color, var(--default-secondary-button-text-color));\n letter-spacing: 0.05rem;\n line-height: 1.5;\n border: 1px solid transparent;\n transform: translateY(0px);\n transition: transform ease 0.2s;\n}\n.freemium-survey-components.card-survey-style .skip-button:hover {\n background-color: #f3f3f3;\n transform: translateY(-4px);\n}\n.freemium-survey-components.card-survey-style .next-button {\n color: var(--default-button-text-color);\n color: var(--button-text-color, var(--default-button-text-color));\n}\n.freemium-survey-components.card-survey-style .submit {\n max-width: 700px;\n text-align: left;\n background: transparent;\n box-shadow: none;\n color: var(--default-button-text-color);\n color: var(--button-text-color, var(--default-button-text-color));\n}\n.freemium-survey-components.card-survey-style .thankyou {\n display: flex;\n align-items: center;\n justify-content: center;\n grid-gap: 20px;\n gap: 20px;\n min-height: 180px;\n}\n.freemium-survey-components.card-survey-style .thankyou .heading {\n font-weight: 500;\n font-size: 22px;\n}\n.freemium-survey-components.card-survey-style .thankyou .text {\n white-space: pre-wrap;\n font-weight: 500;\n font-size: 0.875rem;\n line-height: 1.6;\n color: #475867;\n width: 75%;\n}\n.freemium-survey-components.card-survey-style .thankyou .redirection-text {\n color: #929292;\n margin-bottom: 12px;\n font-weight: 300;\n}\n.freemium-survey-components.card-survey-style .thankyou .link {\n width: 100%;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: #666;\n font-weight: 500;\n text-decoration: underline;\n}\n.freemium-survey-components.card-survey-style .responsive-text-field {\n width: 100%;\n}\n.freemium-survey-components.card-survey-style .responsive-text-field .textarea-container {\n display: none;\n}\n.freemium-survey-components.card-survey-style .message-container:empty {\n display: none;\n}\n\n@media (max-width: 550px) {\n div.freemium-survey-components.card-survey-style .responsive-text-field .input-container {\n display: none;\n }\n div.freemium-survey-components.card-survey-style .responsive-text-field .textarea-container {\n display: flex;\n }\n div.freemium-survey-components.card-survey-style .responsive-text-field .textarea-container textarea {\n min-height: 80px;\n height: 80px;\n }\n div.freemium-survey-components.card-survey-style .question-footer {\n flex-direction: column-reverse;\n grid-gap: 0;\n gap: 0;\n }\n div.freemium-survey-components.card-survey-style .question-footer > *:first-child {\n margin-bottom: 0px;\n }\n div.freemium-survey-components.card-survey-style .question-footer > * {\n margin-bottom: 20px;\n }\n div.freemium-survey-components.card-survey-style .freemium-survey-step-navigation {\n width: 100%;\n }\n div.freemium-survey-components.card-survey-style .freemium-survey-step-navigation .navigation-button {\n width: 50%;\n }\n div.freemium-survey-components.card-survey-style .action-buttons {\n flex-direction: column;\n width: 100%;\n }\n div.freemium-survey-components.card-survey-style .action-buttons button {\n max-width: unset;\n }\n div.freemium-survey-components.card-survey-style .action-button {\n max-width: unset;\n width: 100%;\n }\n div.freemium-survey-components.card-survey-style .thankyou .text {\n width: auto;\n }\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .responsive-text-field .input-container {\n display: none;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .responsive-text-field .textarea-container {\n display: flex;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .responsive-text-field .textarea-container textarea {\n min-height: 80px;\n height: 80px;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .question-footer {\n flex-direction: column-reverse;\n grid-gap: 0;\n gap: 0;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .question-footer > *:first-child {\n margin-bottom: 0px;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .question-footer > * {\n margin-bottom: 20px;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .freemium-survey-step-navigation {\n width: 100%;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .freemium-survey-step-navigation .navigation-button {\n width: 50%;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .action-buttons {\n flex-direction: column;\n width: 100%;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .action-buttons button {\n max-width: unset;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .action-button {\n max-width: unset;\n width: 100%;\n}\ndiv.freemium-survey-components.card-survey-style.mobile-preview .thankyou .text {\n width: auto;\n}\n\n.freemium-survey-components.mobile-preview .thankyou .text {\n width: unset;\n}");const re=({questions:e})=>e.find((e=>e.type_info?.pivot_question))??e.find((e=>"RANGE"===e.type_info?.question_type))??e[0],oe=({blocks:e,activeBlockIndexOfBlocks:n,blocksWithQns:t,activeBlockIndexOfBlocksWithQns:r})=>{const o=e[n];return(n===e.length-1||"end"===o.branchOption)&&r===t.length-1},ae=({pivotQn:e,pivotQnAnswer:n,block:t,questions:r})=>{if(t?.is_based_on_rating){const o=e?.type_info?.choices?.[n-(e?.type_info?.validation?.min??0)??0]?.dependent_question_names,a=t?.question_names?.find((e=>o?.includes(e)));return r.find((e=>e.name===a))}return r.find((e=>e.name===t?.question_names?.[0]))},ie=({question:e,answers:n})=>P.includes(e?.type_info?.question_type||"")&&!("DROPDOWN"===e.type_info?.question_type&&"Others"===n.formValues[e.name])||n.commitDirtyValue,le=(e,{answers:n,blocks:t,activeBlockIndexOfBlocks:r,blocksWithQns:o,activeBlockIndexOfBlocksWithQns:a,surveyStyle:i,widget:l})=>{const s=oe({blocks:t,activeBlockIndexOfBlocks:r,blocksWithQns:o,activeBlockIndexOfBlocksWithQns:a}),u=o[a],c=u.question;switch(e){case"next":return(!P.includes(c.type_info?.question_type??"")||"DROPDOWN"===c.type_info?.question_type&&"Others"===n.formValues[c.name])&&!s;case"skip":return"RANGE"!==c.type_info?.question_type&&!u.required&&!s;case"submit":return s&&(l||"standard"!==i);case"navigation":return(l||"card"===i)&&!(0===a&&1===o.length)}},se=(e,n)=>("MULTI_SELECT"===e.question.type_info.question_type&&n.formValues[e.question.name]?.includes("Others")||"DROPDOWN"===e.question.type_info.question_type&&"Others"===n.formValues[e.question.name])&&ne(n.others[e.question.name]),ue=(e,{answers:n,blocks:t,activeBlockIndexOfBlocks:r,blocksWithQns:o,activeBlockIndexOfBlocksWithQns:a,isSubmitting:i})=>{const l=o[a];switch(e){case"next":return l.required&&ne(n?.formValues[l.question.name])||l.question.type_info?.meta?.othersRequired&&se(l,n);case"submit":return(l.required||l.question.type_info?.pivot_question)&&ne(n?.formValues[l.question.name])||l.question?.type_info?.meta?.othersRequired&&se(l,n)||i;case"navigation-prev":return 0==a;case"navigation-next":return a>=o.length-1;default:return!1}},ce=({blocksWithQns:e,activeBlockIndexOfBlocksWithQns:n,answers:t})=>{const r=de({blocksWithQns:e,activeBlockIndexOfBlocksWithQns:n}).reduce(((e,n)=>(void 0!==t.formValues[n.question.name]&&(e[n.question.name]=t.formValues[n.question.name]),e)),{});return{...t,formValues:r}},de=({blocksWithQns:e,activeBlockIndexOfBlocksWithQns:n})=>e.slice(0,n+1);O(":root {\n --default-brand-color: #264966;\n --default-question-text-color: #3a4b67;\n --default-question-background-color: #fff;\n --default-background-color: #f8f8f8;\n --default-button-text-color: #fff;\n --default-secondary-button-text-color: #000;\n --default-input-placeholder-color: #92a2b1;\n --compact-widget-max-height: 480px;\n --default-widget-max-height: 460px;\n --cozy-widget-max-height: 380px;\n}\n\n.freemium-survey-step-navigation {\n border-radius: 3px;\n border: 1px solid #efefef;\n white-space: nowrap;\n}\n.freemium-survey-step-navigation .navigation-button {\n width: 38px;\n text-align: -webkit-center;\n height: 38px;\n background-color: #fff;\n border: none;\n cursor: pointer;\n border-radius: 0 3px 3px 0;\n}\n.freemium-survey-step-navigation .navigation-button:first-of-type {\n border-right: 1px solid #efefef;\n border-radius: 3px 0 0 3px;\n}\n.freemium-survey-step-navigation .navigation-button:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.freemium-survey-step-navigation .navigation-button:focus {\n position: relative;\n z-index: 1;\n}\n\n.freemium-survey-components.standard-survey-style .question-container {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n text-align: center;\n max-width: 700px;\n margin: 0 auto;\n background: var(--default-question-background-color);\n background: var(--question-background-color, var(--default-question-background-color));\n border-radius: 4px;\n transition: transform 500ms ease 0ms, opacity 800ms ease 0ms;\n box-shadow: 0px 12px 15px rgba(18, 52, 77, 0.03);\n margin-bottom: 28px;\n padding: 28px;\n grid-gap: 28px;\n gap: 28px;\n position: relative;\n height: -webkit-fit-content;\n height: -moz-fit-content;\n height: fit-content;\n overflow: auto;\n opacity: 1;\n}\n.freemium-survey-components.standard-survey-style .hide-question-container {\n pointer-events: none;\n opacity: 0;\n}\n.freemium-survey-components.standard-survey-style .question-text {\n font-size: 1rem;\n font-weight: 600;\n line-height: 1.8;\n width: 100%;\n text-align: left;\n color: var(--default-question-text-color);\n color: var(--question-text-color, var(--default-question-text-color));\n}\n.freemium-survey-components.standard-survey-style .autofocus-button {\n border: none;\n width: 0;\n height: 0;\n opacity: 0;\n margin-top: -12px;\n margin-left: -12px;\n position: absolute;\n}\n.freemium-survey-components.standard-survey-style .question-footer {\n display: flex;\n justify-content: flex-start;\n grid-gap: 40px;\n gap: 40px;\n width: 100%;\n align-items: center;\n}\n.freemium-survey-components.standard-survey-style .question-footer:empty {\n display: none;\n}\n.freemium-survey-components.standard-survey-style .action-buttons {\n display: flex;\n grid-gap: 20px;\n gap: 20px;\n flex-direction: row-reverse;\n}\n.freemium-survey-components.standard-survey-style .action-buttons:empty {\n display: none;\n}\n.freemium-survey-components.standard-survey-style .skip-button {\n font-weight: 500;\n color: #3a4b67;\n cursor: pointer;\n background: transparent;\n border: none;\n min-width: 40px;\n padding: 8px 16px;\n border-radius: 4px;\n color: var(--default-secondary-button-text-color);\n color: var(--secondary-button-text-color, var(--default-secondary-button-text-color));\n letter-spacing: 0.05rem;\n line-height: 1.5;\n border: 1px solid transparent;\n transform: translateY(0px);\n transition: transform ease 0.2s;\n}\n.freemium-survey-components.standard-survey-style .skip-button:hover {\n background-color: #f3f3f3;\n transform: translateY(-4px);\n}\n.freemium-survey-components.standard-survey-style .next-button {\n color: var(--default-button-text-color);\n color: var(--button-text-color, var(--default-button-text-color));\n}\n.freemium-survey-components.standard-survey-style .submit {\n max-width: 700px;\n margin: 0 auto;\n text-align: left;\n background: transparent;\n box-shadow: none;\n padding-bottom: 40px;\n color: var(--default-button-text-color);\n color: var(--button-text-color, var(--default-button-text-color));\n}\n.freemium-survey-components.standard-survey-style .fade-enter {\n transition: all ease 400ms;\n opacity: 0;\n transform: translateY(40px);\n}\n.freemium-survey-components.standard-survey-style .fade-enter-active {\n transition: all ease 400ms;\n opacity: 1;\n transform: translateY(0);\n}\n.freemium-survey-components.standard-survey-style .fade-exit {\n transition: all ease 400ms;\n opacity: 1;\n transform: translateY(0);\n}\n.freemium-survey-components.standard-survey-style .fade-exit-active {\n transition: all ease 400ms;\n opacity: 0;\n transform: translateY(-40px);\n}\n.freemium-survey-components.standard-survey-style .thankyou {\n display: flex;\n align-items: center;\n justify-content: center;\n grid-gap: 20px;\n gap: 20px;\n min-height: 180px;\n}\n.freemium-survey-components.standard-survey-style .thankyou .heading {\n font-weight: 500;\n font-size: 22px;\n}\n.freemium-survey-components.standard-survey-style .thankyou .text {\n white-space: pre-wrap;\n font-weight: 500;\n font-size: 0.875rem;\n line-height: 1.6;\n color: #475867;\n width: 75%;\n}\n.freemium-survey-components.standard-survey-style .thankyou .redirection-text {\n color: #929292;\n margin-bottom: 12px;\n font-weight: 300;\n}\n.freemium-survey-components.standard-survey-style .thankyou .link {\n width: 100%;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: #666;\n font-weight: 500;\n text-decoration: underline;\n}\n.freemium-survey-components.standard-survey-style .responsive-text-field {\n width: 100%;\n}\n.freemium-survey-components.standard-survey-style .responsive-text-field .textarea-container {\n display: none;\n}\n.freemium-survey-components.standard-survey-style .message-container:empty {\n display: none;\n}\n@media (max-width: 550px) {\n .freemium-survey-components.standard-survey-style .action-buttons {\n flex-direction: column;\n width: 100%;\n }\n .freemium-survey-components.standard-survey-style .action-buttons button {\n max-width: unset;\n }\n .freemium-survey-components.standard-survey-style .action-button {\n max-width: unset;\n width: 100%;\n }\n .freemium-survey-components.standard-survey-style .thankyou .text {\n width: auto;\n }\n}\n\n@media (max-width: 550px) {\n .freemium-survey-component .responsive-text-field .input-container {\n display: none;\n }\n .freemium-survey-component .responsive-text-field .textarea-container {\n display: flex;\n }\n .freemium-survey-component .responsive-text-field .textarea-container textarea {\n min-height: 80px;\n height: 80px;\n }\n}\n.freemium-survey-components.mobile-preview .thankyou .text {\n width: unset;\n}"),O(":root {\n --default-brand-color: #264966;\n --default-question-text-color: #3a4b67;\n --default-question-background-color: #fff;\n --default-background-color: #f8f8f8;\n --default-button-text-color: #fff;\n --default-secondary-button-text-color: #000;\n --default-input-placeholder-color: #92a2b1;\n}\n\n.freemium-survey-components.widget-survey-components {\n overflow: hidden;\n}\n.freemium-survey-components.widget-survey-components * {\n scrollbar-color: rgba(216, 216, 216, 0.5) transparent !important;\n}\n.freemium-survey-components.widget-survey-components * ::-webkit-scrollbar {\n height: auto;\n height: initial;\n width: 6px;\n}\n.freemium-survey-components.widget-survey-components * ::-webkit-scrollbar-track {\n background: transparent !important;\n}\n.freemium-survey-components.widget-survey-components * ::-webkit-scrollbar-thumb {\n border-radius: 5px;\n background: rgba(216, 216, 216, 0.5) !important;\n}\n.freemium-survey-components.widget-survey-components p {\n margin: 0;\n}\n.freemium-survey-components.widget-survey-components .questions {\n min-width: 100%;\n max-width: 100%;\n background: var(--default-question-background-color);\n background: var(--question-background-color, var(--default-question-background-color));\n position: relative;\n display: flex;\n justify-content: row;\n align-items: flex-end;\n height: 100%;\n transition: height 200ms ease;\n}\n.freemium-survey-components.widget-survey-components .question-container {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n text-align: center;\n max-height: 100%;\n min-width: 100%;\n max-width: 700px;\n margin: 0 auto;\n box-shadow: 0px 12px 15px rgba(18, 52, 77, 0.03);\n padding: 28px 0;\n padding-top: 0;\n grid-gap: 28px;\n gap: 28px;\n overflow: auto;\n}\n.freemium-survey-components.widget-survey-components .question-wrapper {\n width: 100%;\n flex-grow: 1;\n padding: 4px 28px;\n overflow: auto;\n}\n.freemium-survey-components.widget-survey-components .hide-question-container {\n opacity: 0;\n}\n.freemium-survey-components.widget-survey-components .question-text {\n font-size: 1rem;\n font-weight: 600;\n line-height: 1.8;\n width: 100%;\n text-align: left;\n padding: 0 28px;\n color: var(--default-question-text-color);\n color: var(--question-text-color, var(--default-question-text-color));\n}\n.freemium-survey-components.widget-survey-components .question-text p {\n all: inherit;\n padding: 0;\n}\n.freemium-survey-components.widget-survey-components .nps-container .footer {\n display: none;\n}\n.freemium-survey-components.widget-survey-components .autofocus-button {\n border: none;\n width: 0;\n height: 0;\n opacity: 0;\n margin-top: -12px;\n margin-left: -12px;\n position: absolute;\n}\n.freemium-survey-components.widget-survey-components .fade-enter {\n opacity: 1;\n transform: translateX(80px);\n position: absolute;\n}\n.freemium-survey-components.widget-survey-components .fade-enter-active {\n position: absolute;\n opacity: 1;\n transform: translateX(0);\n}\n.freemium-survey-components.widget-survey-components .fade-enter-done {\n position: absolute;\n}\n.freemium-survey-components.widget-survey-components .fade-exit {\n opacity: 0.05;\n pointer-events: none;\n transform: translateX(0);\n}\n.freemium-survey-components.widget-survey-components .fade-exit-active {\n pointer-events: none;\n opacity: 0;\n transform: translateX(-80px);\n}\n.freemium-survey-components.widget-survey-components .fade-reverse-enter {\n opacity: 0;\n position: absolute;\n transform: translateX(-80px);\n}\n.freemium-survey-components.widget-survey-components .fade-reverse-enter-active {\n opacity: 1;\n position: absolute;\n transform: translateX(0);\n}\n.freemium-survey-components.widget-survey-components .fade-reverse-exit {\n opacity: 0.05;\n transform: translateX(0);\n}\n.freemium-survey-components.widget-survey-components .fade-reverse-exit-active {\n opacity: 0;\n transform: translateX(80px);\n}\n.freemium-survey-components.widget-survey-components .fade-enter-active,\n.freemium-survey-components.widget-survey-components .fade-reverse-enter-active,\n.freemium-survey-components.widget-survey-components .fade-reverse-exit-active,\n.freemium-survey-components.widget-survey-components .fade-exit-active {\n transition: opacity 200ms, transform 200ms;\n}\n.freemium-survey-components.widget-survey-components .question-footer {\n margin: 0px auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: -webkit-sticky;\n position: sticky;\n padding: 0 28px;\n bottom: -28px;\n background: var(--default-question-background-color);\n background: var(--question-background-color, var(--default-question-background-color));\n grid-gap: 40px;\n gap: 40px;\n width: 100%;\n}\n.freemium-survey-components.widget-survey-components .question-footer:empty {\n display: none;\n}\n.freemium-survey-components.widget-survey-components .question-footer:only-child {\n margin-left: auto;\n}\n.freemium-survey-components.widget-survey-components .freemium-survey-step-navigation {\n white-space: nowrap;\n border-radius: 3px;\n border: 1px solid #efefef;\n}\n.freemium-survey-components.widget-survey-components .freemium-survey-step-navigation .navigation-button {\n width: 38px;\n text-align: -webkit-center;\n height: 40px;\n background-color: #fff;\n border: none;\n cursor: pointer;\n border-radius: 0 3px 3px 0;\n}\n.freemium-survey-components.widget-survey-components .freemium-survey-step-navigation .navigation-button:first-of-type {\n border-right: 1px solid #efefef;\n border-radius: 3px 0 0 3px;\n}\n.freemium-survey-components.widget-survey-components .freemium-survey-step-navigation .navigation-button:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.freemium-survey-components.widget-survey-components .freemium-survey-step-navigation .navigation-button:focus {\n position: relative;\n z-index: 1;\n}\n.freemium-survey-components.widget-survey-components .action-buttons {\n display: flex;\n grid-gap: 20px;\n gap: 20px;\n width: 100%;\n}\n.freemium-survey-components.widget-survey-components .action-buttons:empty {\n display: none;\n}\n.freemium-survey-components.widget-survey-components .skip-button {\n font-weight: 500;\n cursor: pointer;\n color: #3a4b67;\n background: transparent;\n border: none;\n min-width: 40px;\n padding: 8px 16px;\n border-radius: 4px;\n color: var(--default-secondary-button-text-color);\n color: var(--secondary-button-text-color, var(--default-secondary-button-text-color));\n letter-spacing: 0.05rem;\n line-height: 1.5;\n border: 1px solid transparent;\n transform: translateY(0px);\n transition: transform ease 0.2s;\n}\n.freemium-survey-components.widget-survey-components .skip-button:hover {\n background-color: #f3f3f3;\n transform: translateY(-4px);\n}\n.freemium-survey-components.widget-survey-components .next-button,\n.freemium-survey-components.widget-survey-components .submit {\n color: var(--default-button-text-color);\n color: var(--button-text-color, var(--default-button-text-color));\n}\n.freemium-survey-components.widget-survey-components .thankyou {\n display: flex;\n align-items: center;\n justify-content: center;\n grid-gap: 20px;\n gap: 20px;\n min-height: 180px;\n}\n.freemium-survey-components.widget-survey-components .thankyou .heading {\n font-weight: 500;\n font-size: 22px;\n}\n.freemium-survey-components.widget-survey-components .thankyou .text {\n white-space: pre-wrap;\n font-weight: 500;\n font-size: 0.875rem;\n line-height: 1.6;\n color: #475867;\n width: 75%;\n}\n.freemium-survey-components.widget-survey-components .thankyou .redirection-text {\n color: #929292;\n margin-bottom: 12px;\n font-weight: 300;\n}\n.freemium-survey-components.widget-survey-components .thankyou .link {\n width: 100%;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: #666;\n font-weight: 500;\n text-decoration: underline;\n}\n.freemium-survey-components.widget-survey-components .responsive-text-field .input-container {\n display: none;\n}\n.freemium-survey-components.widget-survey-components .responsive-text-field .textarea-container {\n display: flex;\n}\n.freemium-survey-components.widget-survey-components .responsive-text-field .textarea-container textarea {\n min-height: 80px;\n height: 80px;\n}\n.freemium-survey-components.widget-survey-components .message-container:empty {\n display: none;\n}\n\n.freemium-survey-components.widget-survey-components.compact-style .nps-question-text {\n text-align: center;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-container {\n grid-gap: 20px;\n gap: 20px;\n max-width: 100%;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-footer {\n flex-direction: column-reverse;\n grid-gap: 0;\n gap: 0;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-footer > *:first-child {\n margin-bottom: 0px;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-footer > * {\n margin-bottom: 20px;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-footer .compact-footer-layout {\n display: flex;\n justify-content: space-between;\n width: 100%;\n align-items: center;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-footer .compact-footer-layout:empty {\n display: none;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-footer .action-buttons {\n grid-gap: 32px;\n gap: 32px;\n}\n.freemium-survey-components.widget-survey-components.compact-style .question-footer .submit,\n.freemium-survey-components.widget-survey-components.compact-style .question-footer .action-button {\n max-width: unset;\n width: 100%;\n}\n.freemium-survey-components.widget-survey-components.compact-style .nps-container .footer {\n padding-top: 12px;\n}\n.freemium-survey-components.widget-survey-components.compact-style .nps-container .choices {\n grid-gap: 10px;\n gap: 10px;\n}\n.freemium-survey-components.widget-survey-components.compact-style .thankyou .text {\n width: 86%;\n}\n\n.freemium-survey-components.widget-survey-components.default-style .question-footer {\n justify-content: space-between;\n}\n.freemium-survey-components.widget-survey-components.default-style .nps-container .footer {\n padding-top: 12px;\n}\n.freemium-survey-components.widget-survey-components.default-style .nps-container .choices {\n flex-wrap: unset;\n grid-gap: 12px;\n gap: 12px;\n}\n.freemium-survey-components.widget-survey-components.default-style .radio-group {\n flex-direction: column;\n flex-wrap: nowrap;\n}\n.freemium-survey-components.widget-survey-components.default-style .radio-group .radio-label {\n padding: 12px 16px;\n min-width: 160px;\n font-size: 0.9rem;\n color: #3a4b67;\n}\n.freemium-survey-components.widget-survey-components.default-style .checkbox-group .checkbox-label {\n padding: 12px 16px;\n min-width: 160px;\n font-size: 0.9rem;\n}\n.freemium-survey-components.widget-survey-components.default-style textarea {\n min-height: 84px;\n}\n.freemium-survey-components.widget-survey-components.default-style .end-max-length {\n font-size: 0.8rem;\n font-weight: 300;\n padding: 4px;\n}\n\n.freemium-survey-components.widget-survey-components.cozy-style {\n max-width: 1000px;\n min-width: 600px;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .question-text {\n font-size: 1rem;\n text-align: left;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .nps-question-text {\n text-align: center;\n width: 70%;\n margin: 0 auto;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .question-footer {\n justify-content: space-between;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .nps-container .widget {\n display: flex;\n justify-content: center;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .nps-container .button-container {\n width: 60%;\n min-width: 600px;\n margin: 0 auto;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .nps-container .button-container .choices {\n justify-content: space-around;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .nps-container .footer {\n padding-top: 8px;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .action-button {\n line-height: 1.2;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .radio-group {\n flex-direction: row;\n flex-wrap: wrap;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .radio-group .radio-label {\n padding: 12px 16px;\n min-width: 160px;\n font-size: 0.9rem;\n color: #3a4b67;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .checkbox-group {\n flex-direction: row;\n flex-wrap: wrap;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .checkbox-group .checkbox-label {\n padding: 12px 16px;\n min-width: 160px;\n font-size: 0.9rem;\n}\n.freemium-survey-components.widget-survey-components.cozy-style textarea {\n min-height: 60px;\n}\n.freemium-survey-components.widget-survey-components.cozy-style .end-max-length {\n font-size: 0.8rem;\n font-weight: 300;\n padding: 4px;\n}\n\n.freemium-survey-components.mobile-preview .thankyou .text {\n width: unset;\n}");const fe=({thankYouQuestion:n,placeholders:t,npsValue:r},o)=>e.createElement(e.Fragment,null,e.createElement("div",{className:"heading"},"Thank you!"),e.createElement("div",{className:"text",dangerouslySetInnerHTML:{__html:te(n.text,t,r)}})),pe=({activeBlockIndexOfBlocks:n,activeBlockIndexOfBlocksWithQns:t,blocksWithQns:r,blocks:o,navigateToPreviousBlock:a,navigateToNextBlock:i})=>e.createElement("div",{className:"freemium-survey-step-navigation","data-navigation-element":"1"},e.createElement("button",{disabled:ue("navigation-prev",{blocks:o,blocksWithQns:r,activeBlockIndexOfBlocks:n,activeBlockIndexOfBlocksWithQns:t}),className:"navigation-button",onClick:a},e.createElement(H,null)),e.createElement("button",{className:"navigation-button",disabled:ue("navigation-next",{blocks:o,blocksWithQns:r,activeBlockIndexOfBlocks:n,activeBlockIndexOfBlocksWithQns:t}),onClick:i},e.createElement($,null))),me=n=>{const{widget:t,widgetStyle:r,answers:o,blocksWithQns:a,blocks:i,activeBlockIndexOfBlocks:l,activeBlockIndexOfBlocksWithQns:s,saveFormValues:u,onSubmit:c,skipBlock:d,navigateToNextBlock:f,navigateToPreviousBlock:p}=n,[m,v]=(0,e.useState)(!1),h={answers:o,blocks:i,activeBlockIndexOfBlocks:l,activeBlockIndexOfBlocksWithQns:s,blocksWithQns:a,widget:t},y={answers:o,blocks:i,activeBlockIndexOfBlocks:l,activeBlockIndexOfBlocksWithQns:s,blocksWithQns:a,isSubmitting:m},g="compact"===r&&le("navigation",h)&&le("skip",h);return 1===a.length&&1!==i.length?null:e.createElement("div",{className:"question-footer"},g?e.createElement("div",{className:"compact-footer-layout"},e.createElement(pe,{activeBlockIndexOfBlocks:l,activeBlockIndexOfBlocksWithQns:s,blocksWithQns:a,blocks:i,navigateToNextBlock:f,navigateToPreviousBlock:p}),e.createElement("button",{className:"skip-button",onClick:d},"Skip")):null,e.createElement("div",{className:"action-buttons"},!g&&le("navigation",h)&&e.createElement("div",{style:{marginRight:"auto"}},e.createElement(pe,{activeBlockIndexOfBlocks:l,activeBlockIndexOfBlocksWithQns:s,blocksWithQns:a,blocks:i,navigateToNextBlock:f,navigateToPreviousBlock:p})),"compact"!==r&&le("skip",h)&&e.createElement("button",{className:"skip-button",onClick:d},"Skip"),le("next",h)&&e.createElement(Z,{onClick:()=>{u(a[s],null,!0)},disabled:ue("next",y),className:"next-button"},"Next"),le("submit",h)&&e.createElement("div",{className:"submit"},e.createElement(Z,{disabled:ue("submit",y),onClick:()=>{v(!0),c()}},m?"Submitting":"Submit survey"))))},ve=t=>{const{blocks:r,blocksWithQns:o,activeBlock:a,activeBlockIndexOfBlocks:i,activeBlockIndexOfBlocksWithQns:l,isSurveyCompleted:s,isReverseAnimation:u,saveFormValues:c,saveOthersValue:d,skipBlock:f,onSubmitHandler:p,navigateToNextBlock:v,navigateToPreviousBlock:h,answers:y,questions:g,pivot:b}=(n=>{const t=n.survey.question_details?.questions||[],[r,o]=(0,e.useState)([]),[a,i]=(0,e.useState)({formValues:{},others:{},commitDirtyValue:!1}),[l,s]=(0,e.useState)([]),[u,c]=(0,e.useState)(0),[d,f]=(0,e.useState)(!1),p=(0,e.useRef)(),[m,v]=(0,e.useState)(!1),h=(0,e.useRef)(!1),y=(0,e.useRef)(),g=l[u],b=e.useMemo((()=>l.length>0?r?.findIndex((e=>e.name===l[u].name)):0),[u]);(0,e.useEffect)((()=>{n.survey.meta?.blocks&&o(n.survey.meta?.blocks.filter((e=>"TY"!==e.name)))}),[n.survey.meta?.blocks]),(0,e.useEffect)((()=>{if(!r||!r.length)return;var e,o;p.current={...p.current,question:re({questions:t})},null!=n.npsValue&&(p.current={...p.current,answer:(e=p.current.question,o=n.npsValue,Math.min(e.type_info.validation.max,Math.max(e.type_info.validation.min,o)))},i({...a,formValues:{[p.current.question.name]:p.current.answer}}));const l=ae({pivotQn:p.current.question,pivotQnAnswer:p.current.answer,block:r[0],questions:t});s([{...r[0],question:l}])}),[r,n.npsValue]),(0,e.useEffect)((()=>{l.length&&c(l.length-1)}),[l]),(0,e.useEffect)((()=>{if(!ee(a.formValues)&&r&&(({blocks:e,activeBlockIndexOfBlocks:n,blocksWithQns:t,activeBlockIndexOfBlocksWithQns:r,answers:o})=>{const{question:a}=t[r];return!!a&&!oe({blocks:e,activeBlockIndexOfBlocks:n,blocksWithQns:t,activeBlockIndexOfBlocksWithQns:r})&&ie({question:a,answers:o})})({blocks:r,activeBlockIndexOfBlocks:b,blocksWithQns:l,activeBlockIndexOfBlocksWithQns:u,answers:a})){const e=()=>{f(!1);const e=(({activeBlock:e,blocks:n,activeBlockIndexOfBlocks:t,answers:r})=>{if("specific"===e.branchOption&&e.nextBlock)return n.findIndex((n=>n.name===e.nextBlock));if(e.question.type_info?.meta?.branches){const o=e.question.type_info?.meta?.branches,a=r.formValues[e.question.name];let i;return i="RANGE"===e.question.type_info.question_type?o.find((e=>a>=e.min&&a<=e.max)):o.find((e=>a===e.value)),i?.nextBlock?"TY"===i.nextBlock?Number.MAX_SAFE_INTEGER:n.findIndex((e=>e.name===i.nextBlock)):t+1}return t+1})({activeBlock:g,blocks:r,activeBlockIndexOfBlocks:b,answers:a}),n=ae({pivotQn:p.current?.question,pivotQnAnswer:p.current?.answer,block:r?.[e],questions:t}),o=de({blocksWithQns:l,activeBlockIndexOfBlocksWithQns:u});s([...o,{...r?.[e],question:n}])};null!=n.npsValue&&1==l.length?y.current?(clearTimeout(y.current),y.current=null,e()):y.current=setTimeout((()=>{e()}),1500):e()}}),[a,r]),(0,e.useEffect)((()=>{!ee(a.formValues)&&h.current&&(d?w():x(),h.current=!1)}),[d]);const x=()=>{d?(h.current=!0,f(!1)):c(u+1)},w=()=>{d?c(u-1):(h.current=!0,f(!0))};return{blocks:r,questions:t,blocksWithQns:l,activeBlock:g,activeBlockIndexOfBlocks:b,activeBlockIndexOfBlocksWithQns:u,isSurveyCompleted:m,isReverseAnimation:d,isNavigating:h.current,pivot:p.current,answers:a,navigateToNextBlock:x,navigateToPreviousBlock:w,saveFormValues:(e,n,t=!1)=>{e.question.name===p.current?.question.name&&(p.current={...p.current,answer:n});let r=a;(t||ie({question:e.question,answers:a}))&&(r=ce({blocksWithQns:l,activeBlockIndexOfBlocksWithQns:u,answers:a})),i({...r,formValues:{...r.formValues,...null!=n&&{[e.question.name]:n}},commitDirtyValue:t})},saveOthersValue:(e,n)=>{if(null===n){const n={...a.others};delete n[e],i({...a,others:n})}else i({...a,others:{...a.others,[e]:n}})},skipBlock:()=>{f(!1);const e=g.question;if(delete a.formValues[e.name],delete a.others[e.name],u!==l.length-1){const e=ce({blocksWithQns:l,activeBlockIndexOfBlocksWithQns:u,answers:a}),n=de({blocksWithQns:l,activeBlockIndexOfBlocksWithQns:u});s(n),i({...e,commitDirtyValue:!0})}else i({...a,commitDirtyValue:!0})},onSubmitHandler:()=>{n.onSubmit({...a.formValues,others_meta:a.others},(()=>{v(!0)}))}}})(t),[x,w]=(0,e.useState)(null),k=(0,e.useRef)(0);return(0,e.useMemo)((()=>{(()=>{if(x){x.style.minHeight="unset",x.style.maxHeight="unset",x.style.height="min-content",x.style.position="static";const e=Math.min(x?.scrollHeight+2,L[t.widgetStyle]);x.style.height=e+"px",x.style.minHeight=e+"px",k.current=e}})()}),[x]),(0,e.useEffect)((()=>{t.setCurrentSurveyState?.({question:o?.[l]?.question,npsScore:b?.answer})}),[l,b?.answer]),a&&a.question?e.createElement("div",{className:`freemium-survey-components widget-survey-components\n ${t.widgetStyle}-style `,id:"freemium-survey"},t.widgetHeaderQuerySelector&&!s&&document.querySelector(t.widgetHeaderQuerySelector)?n.createPortal(e.createElement(U,{totalSteps:r.length,completedSteps:i+(s?1:0),widget:!0}),document.querySelector(t.widgetHeaderQuerySelector)):null,e.createElement("div",{className:"questions",style:{height:k.current,...1===o.length?{transition:"none"}:{}}},e.createElement(m,{component:null},e.createElement(N,{key:l+String(s),unmountOnExit:!0,addEndListener:(e,n)=>{e.addEventListener("transitionend",n,!1)},classNames:u?"fade-reverse":"fade"},e.createElement("div",{ref:e=>e?w(e):null,id:`${a.question.name}`,className:"question-container "+(s?"thankyou":""),"data-test-question-name":a.question.name},s?e.createElement(fe,{thankYouQuestion:ae({pivotQn:b?.question,pivotQnAnswer:b?.answer,block:t.survey.meta?.blocks?.find((e=>"TY"===e.name)),questions:g}),placeholders:t.placeholders,npsValue:b?.answer}):e.createElement(e.Fragment,null,e.createElement("div",{className:"question-text "+("RANGE"===a?.question?.type_info?.question_type?"nps-question-text":""),dangerouslySetInnerHTML:{__html:te(a?.question.text,t.placeholders,b?.answer)},"aria-label":`question-${l}`,role:"heading","aria-level":1}),e.createElement("div",{className:"question-wrapper",onTransitionEndCapture:e=>e.stopPropagation()},e.createElement(J,{question:a.question,isFinalQn:oe({blocks:r,activeBlockIndexOfBlocks:i,blocksWithQns:o,activeBlockIndexOfBlocksWithQns:l}),formValues:y.formValues,othersMeta:y.others,autoFocus:!0,autoFocusDelay:0,saveOthersValue:d,onChangeHandler:e=>{c(a,e)}})),e.createElement(me,{widget:!0,widgetStyle:t.widgetStyle,surveyStyle:"standard",answers:y,blocksWithQns:o,blocks:r,activeBlockIndexOfBlocksWithQns:l,activeBlockIndexOfBlocks:i,saveFormValues:c,skipBlock:f,onSubmit:p,navigateToPreviousBlock:h,navigateToNextBlock:v}))))))):null};O('#freshworks-survey-widget {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;\n --container-width: 350px;\n --widget-header-height: 36px;\n --widget-footer-height: 32px;\n}\n#freshworks-survey-widget * {\n box-sizing: border-box;\n}\n#freshworks-survey-widget input,\n#freshworks-survey-widget select,\n#freshworks-survey-widget textarea,\n#freshworks-survey-widget button {\n font-family: inherit;\n}\n@-webkit-keyframes mountWidget {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes mountWidget {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n#freshworks-survey-widget div.widget-survey-components {\n border: none;\n}\n#freshworks-survey-widget .freemium-survey-components {\n width: 100%;\n height: 100%;\n min-height: inherit;\n}\n#freshworks-survey-widget .default-container-style {\n right: calc(50% - var(--container-width) / 2);\n}\n#freshworks-survey-widget .compact-container-style {\n right: 40px;\n}\n#freshworks-survey-widget .compact-container-style .widget-footer {\n padding: 8px 16px;\n}\n#freshworks-survey-widget .compact-container-style .header-content.minimized {\n padding-left: 16px;\n}\n#freshworks-survey-widget .cozy-container-style {\n max-width: 1000px;\n min-width: 800px;\n left: 50%;\n transform: translate(-50%, 0);\n}\n#freshworks-survey-widget .container {\n position: fixed;\n bottom: 0;\n border-radius: 4px 4px 0 0;\n z-index: 2147483647;\n display: flex;\n flex-direction: column;\n background-color: #fff;\n background-color: var(--question-background-color, #fff);\n width: var(--container-width);\n box-shadow: 0px 7px 13px rgba(18, 52, 77, 0.19);\n transition: opacity 0.25s ease, height var(--height-transition-duration) ease;\n -webkit-animation: mountWidget 0.5s ease;\n animation: mountWidget 0.5s ease;\n height: auto;\n}\n#freshworks-survey-widget .widget-header {\n height: var(--widget-header-height);\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-direction: row-reverse;\n grid-gap: 8px;\n gap: 8px;\n background-color: #fff;\n background-color: var(--question-background-color, #fff);\n border-radius: inherit;\n position: relative;\n}\n#freshworks-survey-widget .widget-header .icons {\n height: 100%;\n display: flex;\n}\n#freshworks-survey-widget .widget-header .icon {\n cursor: pointer;\n height: 100%;\n width: 48px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n background-color: transparent;\n border: none;\n}\n#freshworks-survey-widget .widget-header .icon:hover .icon-tooltip {\n display: block;\n -webkit-animation: mountWidget 0.4s ease;\n animation: mountWidget 0.4s ease;\n opacity: 1;\n}\n#freshworks-survey-widget .widget-header .icon:hover .icon-tooltip:hover {\n display: none;\n}\n#freshworks-survey-widget .widget-header .icon-tooltip {\n background: rgba(18, 52, 77, 0.8901960784);\n color: #fff;\n letter-spacing: 0.5px;\n padding: 4px 8px;\n border-radius: 4px;\n font-weight: 500;\n font-size: 0.9rem;\n position: absolute;\n right: 48px;\n top: 12px;\n white-space: nowrap;\n z-index: 1;\n transition: opacity ease 0.2s;\n display: none;\n opacity: 0;\n}\n#freshworks-survey-widget .widget-header.minimized {\n min-height: var(--widget-header-height);\n width: 100%;\n flex-direction: row;\n}\n#freshworks-survey-widget .header-content.minimized {\n opacity: 0;\n text-overflow: ellipsis;\n width: calc(100% - 72px);\n padding-left: 28px;\n overflow: hidden;\n white-space: nowrap;\n -webkit-animation: mountWidget 0.8s ease forwards;\n animation: mountWidget 0.8s ease forwards;\n -webkit-animation-delay: 0.3s;\n animation-delay: 0.3s;\n font-weight: 500;\n line-height: 1.8;\n text-align: left;\n color: var(--default-question-text-color);\n color: var(--question-text-color, var(--default-question-text-color));\n}\n#freshworks-survey-widget .header-content.minimized p {\n all: inherit;\n width: 100%;\n padding: 0;\n margin: 0;\n}\n#freshworks-survey-widget .widget-main {\n opacity: 1;\n flex-grow: 1;\n transition: opacity 0.25s ease, height var(--height-transition-duration) ease;\n}\n#freshworks-survey-widget .widget-main.minimized {\n opacity: 0;\n height: 0;\n border-radius: 3px 3px 0 0;\n}\n#freshworks-survey-widget .widget-footer {\n height: var(--widget-footer-height);\n font-size: 12px;\n display: flex;\n padding: 8px 28px;\n justify-content: space-between;\n align-items: center;\n color: rgba(18, 52, 77, 0.831372549);\n background-color: rgba(187, 187, 187, 0.1);\n letter-spacing: 0.2px;\n}\n#freshworks-survey-widget .widget-footer .fw-link {\n display: flex;\n align-items: center;\n grid-gap: 6px;\n gap: 6px;\n}\n#freshworks-survey-widget .widget-footer .emoji {\n position: relative;\n top: -1px;\n left: -2px;\n}\n#freshworks-survey-widget .widget-footer a {\n color: inherit;\n text-decoration: none;\n box-sizing: border-box;\n border-bottom: 1px solid transparent;\n}\n#freshworks-survey-widget .widget-footer a:hover {\n border-bottom: 1px solid;\n}\n#freshworks-survey-widget .title,\n#freshworks-survey-widget .description {\n text-align: center;\n}\n#freshworks-survey-widget .description {\n color: #666;\n line-height: 1.2;\n}\n#freshworks-survey-widget .close-widget {\n position: absolute;\n z-index: 10;\n background-color: #fff;\n flex-direction: column;\n display: flex;\n top: 40px;\n right: 12px;\n box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);\n border-radius: 2px;\n padding: 4px;\n}\n#freshworks-survey-widget .close-widget button {\n cursor: pointer;\n border: none;\n background-color: transparent;\n padding: 8px 12px;\n border-radius: 2px;\n font-size: 14px;\n}\n#freshworks-survey-widget .close-widget button:hover {\n background-color: #f3f3f3;\n}\n#freshworks-survey-widget .close-widget.top {\n top: -72px;\n}');const he=({onDismiss:n,remindLater:t,closeMenu:r,closeIconRef:o,position:a="bottom"})=>((0,e.useEffect)((()=>{const e=e=>{o.current===e.target||o.current.contains(e.target)||r()};return window.addEventListener("click",e),()=>window.removeEventListener("click",e)}),[]),e.createElement("div",{className:"close-widget "+("top"===a?"top":"")},e.createElement("button",{onClick:async()=>{await t()},autoFocus:!0},"Remind me later"),e.createElement("button",{onClick:async()=>{await n()}},"Dismiss"))),ye=({survey:n,preview:t,placeholders:r,onSubmit:o,remindLater:a,onDismiss:i,onClose:l,surveyType:s,unsubscribeUrl:u,isSurveyCompleted:c,children:d=null})=>{const[f,p]=(0,e.useState)(!1),[m,v]=(0,e.useState)(!1),[h,y]=(0,e.useState)(0),{ui_theme:g}=n,[b,x]=(0,e.useState)(null),[w,k]=(0,e.useState)(!1),[E,S]=(0,e.useState)(null),_=n.question_details.questions.find((e=>e.pivot_question))??n.question_details.questions.find((e=>"RANGE"===e.type_info.question_type))??n.question_details.questions[0],C=()=>{p(!0),setTimeout((()=>{window.SurveyWidget?.unmount()}),300)},N=(0,e.useRef)(null);return e.createElement("div",{className:`container ${s}-container-style ${m?"minimized":""}`,style:{opacity:f?0:1,"--container-width":`${q[s]}`,"--height-transition-duration":"600ms",...(O=g,{...O.brand_color&&{"--brand-color":O.brand_color},...O.body_background_color&&{"--background-color":O.body_background_color},...O.secondary_button_color&&{"--secondary-button-color":O.secondary_button_color},...O.question_background_color&&{"--question-background-color":O.question_background_color},...O.primary_button_text_color&&{"--button-text-color":O.primary_button_text_color},...O.secondary_button_text_color&&{"--secondary-button-text-color":O.secondary_button_text_color},...O.question_text_color&&{"--question-text-color":O.question_text_color}})}},d,e.createElement("header",{id:"surveyserv-widget-header",className:"widget-header "+(m?"minimized":"")},m&&e.createElement("span",{className:"header-content minimized",dangerouslySetInnerHTML:{__html:te(E?.question?.text??_?.text,{...r,"{{nps.rating}}":E?.npsScore})}}),e.createElement("div",{className:"icons"},!c&&e.createElement("button",{onClick:()=>{m?(v(!m),setTimeout((()=>{y(0)}),700)):(y(b?.clientHeight??0),setTimeout((()=>{v(!m)}),0))},className:"icon"},m?e.createElement(K,null):e.createElement(X,null)),e.createElement("button",{ref:N,onClick:()=>{c?(C(),l?.()):k(!w)},className:"icon"},e.createElement(Y,null))),w&&e.createElement(he,{position:m?"top":"bottom",closeIconRef:N,onDismiss:async()=>{await i(),C()},remindLater:async()=>{await a(),C()},closeMenu:()=>k(!w)})),e.createElement("main",{ref:e=>x(e),className:"widget-main "+(m?"minimized":""),style:{height:m?0:h||"auto"}},e.createElement(ve,{widgetStyle:s,survey:n,placeholders:r,onSubmit:o,setCurrentSurveyState:S,widgetHeaderQuerySelector:m?void 0:"#surveyserv-widget-header"})),e.createElement("footer",{className:"widget-footer"},e.createElement("a",{className:"fw-link",href:"https://www.freshworks.com/?utm_source=survey&utm_medium=survey_public_page",target:"_blank",rel:"noopener noreferrer"},"Powered by",e.createElement(G,null)),u&&!m&&e.createElement("a",{href:u,target:"_blank",rel:"noopener noreferrer",onClick:e=>{t&&(e.preventDefault(),l?.()),e.stopPropagation(),C()}},"Unsubscribe")));var O},ge=n=>{const t=(r=n.survey,(0,e.useMemo)((()=>{const e=JSON.parse(JSON.stringify(r)),n=[],t=(e.question_details?.questions||[]).filter((e=>!e.type_info?.meta?.is_deleted));return t.forEach((e=>{const t=e.type_info?.meta?.block;t&&(t.question_names||(t.question_names=[e.name]),n.push(t))})),{...e,question_details:{questions:t},meta:{...e.meta,blocks:n}}}),[r]));var r;return e.createElement(ye,Object.assign({},n,{survey:t}))};const be=(e,n={})=>function(e,n,t,r){return new(t||(t=Promise))((function(o,a){function i(e){try{s(r.next(e))}catch(e){a(e)}}function l(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))}(void 0,void 0,void 0,(function*(){const t=Object.assign(Object.assign(Object.assign({method:n.body?"POST":"GET"},n),{headers:{"Content-Type":"application/json"}}),n.body?{body:JSON.stringify(n.body)}:{}),r=yield fetch(`https://surveyserv-public.freshworksapi.com/${e}`,t);if(r.ok)return yield r.json();{const e=yield r.text();throw new Error(e)}}));var xe=function(e,n,t,r){return new(t||(t=Promise))((function(o,a){function i(e){try{s(r.next(e))}catch(e){a(e)}}function l(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))};const we=({config:n})=>{var t;const[r,o]=(0,e.useState)(),[a,i]=(0,e.useState)(),[l,s]=(0,e.useState)(),[u,c]=(0,e.useState)(!1),d=(0,e.useRef)(),f=(0,e.useRef)(),p=(0,e.useRef)(),m=(0,e.useRef)();if((0,e.useEffect)((()=>{var e;Number(null!==(e=sessionStorage.getItem("fw-survey-inapp-reminder"))&&void 0!==e?e:0)>=3||xe(void 0,void 0,void 0,(function*(){const e=yield be("public-api/v1/surveys/trigger/",{body:{contact:n.contact,survey_collector_id:n.survey_collector_id,survey_id:n.survey_id}});(null==e?void 0:e.error_msg)||(d.current=e.trigger_id,f.current=e.external_contact_id,p.current=e.unsubscribe_url,i(e.placeholders),o(e.survey),s(e.survey_collector))}))}),[]),!r)return null;const v=null!==(t=n.type)&&void 0!==t?t:"default",h=n.include_unsubscribe?`${p.current}/?contact_id=${f.current}&sid=${n.survey_id}&cid=${n.survey_collector_id}`:"";return r&&a?e.createElement(ge,{surveyType:v,survey:r,placeholders:a,onSubmit:(e,t,r=!1)=>xe(void 0,void 0,void 0,(function*(){try{r||c(!0);const o=yield be(`public-api/v1/survey-responses/${n.survey_id}/${m.current?`responses/${m.current}`:`collector/${n.survey_collector_id}/trigger/${d.current}`}`,{method:m.current?"PUT":"POST",body:{question_answers:e}});r||null==t||t(),m.current=o.id}catch(e){console.error(e),window.SurveyWidget.unmount()}})),onDismiss:()=>xe(void 0,void 0,void 0,(function*(){yield be(`public-api/v1/surveys/${n.survey_id}/collectors/${n.survey_collector_id}/triggers/${d.current}/dismiss`,{method:"PUT"})})),remindLater:()=>xe(void 0,void 0,void 0,(function*(){var e,t,r;const o=Number(null!==(e=sessionStorage.getItem("fw-survey-inapp-reminder"))&&void 0!==e?e:0);(null===(t=null==l?void 0:l.schedule_info)||void 0===t?void 0:t.remind_in)&&null!==(null===(r=null==l?void 0:l.schedule_info)||void 0===r?void 0:r.remind_in[o])?(yield be(`public-api/v1/surveys/${n.survey_id}/collectors/${n.survey_collector_id}/triggers/${d.current}/remind-later`,{method:"PUT"}),sessionStorage.setItem("fw-survey-inapp-reminder",String((null!=o?o:0)+1))):sessionStorage.setItem("fw-survey-inapp-reminder",String((null!=o?o:0)+3))})),unsubscribeUrl:h,isSurveyCompleted:u,children:null}):null};class ke{static init(t){var r;function o(){return function(e,n,t,r){return new(t||(t=Promise))((function(o,a){function i(e){try{s(r.next(e))}catch(e){a(e)}}function l(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}s((r=r.apply(e,n||[])).next())}))}(this,void 0,void 0,(function*(){let r;if(ke.el&&(n.unmountComponentAtNode(ke.el),ke.el.parentNode.removeChild(ke.el),ke.el=null),!document.body)throw new Error("Unable to query the body element");{const o=document.body;r=document.createElement("div"),r.setAttribute("id","freshworks-survey-widget"),o.appendChild(r),n.render(e.createElement(we,{config:t}),r),ke.el=r}}))}ke.isInitialised||(ke.isInitialised=!0,"complete"===document.readyState?setTimeout((()=>{o()}),null!==(r=1e3*t.delay)&&void 0!==r?r:0):window.addEventListener("load",(()=>{var e;setTimeout((()=>{o()}),null!==(e=1e3*t.delay)&&void 0!==e?e:0)})))}static unmount(){if(!ke.el)throw new Error("SurveyWidget is not mounted, mount first");n.unmountComponentAtNode(ke.el),ke.el.parentNode.removeChild(ke.el),ke.el=null}}ke.isInitialised=!1,ke.count=0})(),window.SurveyWidget=r.default})();