(()=>{var e={3902:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;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 t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,i){for(var o,a,l=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var u in o=Object(arguments[s]))n.call(o,u)&&(l[u]=o[u]);if(t){a=t(o);for(var c=0;c<a.length;c++)r.call(o,a[c])&&(l[a[c]]=o[a[c]])}}return l}},2401:(e,t,n)=>{"use strict";var r=n(6998),i=n(3588);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(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){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),x=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),P=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=D&&e[D]||e["@@iterator"])?e:null}var M,$=Object.assign;function R(e){if(void 0===M)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var F=!1;function A(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var i=u.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(1!==a||1!==l)do{if(a--,0>--l||i[a]!==o[l]){var s="\n"+i[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?R(e):""}function H(e){switch(e.tag){case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return e=A(e.type,!1);case 11:return e=A(e.type.render,!1);case 1:return e=A(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case x:return"Portal";case S:return"Profiler";case C:return"StrictMode";case z:return"Suspense";case j:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case L:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function B(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===C?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function G(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return $({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function oe(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(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 se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,ke=null,Ce=null;function Se(e){if(e=bi(e)){if("function"!==typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=_i(t),xe(e.stateNode,e.type,t))}}function Ee(e){ke?Ce?Ce.push(e):Ce=[e]:ke=e}function Pe(){if(ke){var e=ke,t=Ce;if(Ce=ke=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Ne(e,t){return e(t)}function ze(){}var je=!1;function Te(e,t,n){if(je)return e(t,n);je=!0;try{return Ne(e,t,n)}finally{je=!1,(null!==ke||null!==Ce)&&(ze(),Pe())}}function Le(e,t){var n=e.stateNode;if(null===n)return null;var r=_i(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Oe=!1;if(c)try{var De={};Object.defineProperty(De,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ce){Oe=!1}function Ie(e,t,n,r,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Me=!1,$e=null,Re=!1,Fe=null,Ae={onError:function(e){Me=!0,$e=e}};function He(e,t,n,r,i,o,a,l,s){Me=!1,$e=null,Ie.apply(Ae,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Be(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(Ue(e)!==e)throw Error(o(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Ve(i),e;if(a===r)return Ve(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var l=!1,s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Qe(e);if(null!==t)return t;e=e.sibling}return null}var qe=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Ke=i.unstable_shouldYield,Ge=i.unstable_requestPaint,Ze=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~i;0!==l?r=dt(l):0!==(o&=a)&&(r=dt(o))}else 0!==(a=n&~i)?r=dt(a):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var _t,xt,kt,Ct,St,Et=!1,Pt=[],Nt=null,zt=null,jt=null,Tt=new Map,Lt=new Map,Ot=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Nt=null;break;case"dragenter":case"dragleave":zt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lt.delete(t.pointerId)}}function Mt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function $t(e){var t=yi(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void St(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ft(e,t,n){Rt(e)&&n.delete(t)}function At(){Et=!1,null!==Nt&&Rt(Nt)&&(Nt=null),null!==zt&&Rt(zt)&&(zt=null),null!==jt&&Rt(jt)&&(jt=null),Tt.forEach(Ft),Lt.forEach(Ft)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,At)))}function Ut(e){function t(t){return Ht(t,e)}if(0<Pt.length){Ht(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Nt&&Ht(Nt,e),null!==zt&&Ht(zt,e),null!==jt&&Ht(jt,e),Tt.forEach(t),Lt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)$t(n),null===n.blockedOn&&Ot.shift()}var Bt=w.ReactCurrentBatchConfig,Vt=!0;function Wt(e,t,n,r){var i=bt,o=Bt.transition;Bt.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=i,Bt.transition=o}}function Qt(e,t,n,r){var i=bt,o=Bt.transition;Bt.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=i,Bt.transition=o}}function qt(e,t,n,r){if(Vt){var i=Kt(e,t,n,r);if(null===i)Vr(e,t,r,Yt,n),It(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Nt=Mt(Nt,e,t,n,r,i),!0;case"dragenter":return zt=Mt(zt,e,t,n,r,i),!0;case"mouseover":return jt=Mt(jt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Tt.set(o,Mt(Tt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Lt.set(o,Mt(Lt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Dt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&_t(o),null===(o=Kt(e,t,n,r))&&Vr(e,t,r,Yt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Yt=null;function Kt(e,t,n,r){if(Yt=null,null!==(e=yi(e=_e(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Gt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,i="value"in Zt?Zt.value:Zt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return $(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=$({},un,{view:0,detail:0}),fn=on(dn),pn=$({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,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!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on($({},pn,{dataTransfer:0})),gn=on($({},dn,{relatedTarget:0})),vn=on($({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=$({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on($({},un,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function Sn(){return Cn}var En=$({},dn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=on(En),Nn=on($({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),zn=on($({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),jn=on($({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=$({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=on(Tn),On=[9,13,27,32],Dn=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Mn=c&&"TextEvent"in window&&!In,$n=c&&(!Dn||In&&8<In&&11>=In),Rn=String.fromCharCode(32),Fn=!1;function An(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Bn={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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ee(r),0<(t=Qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,qn=null;function Yn(e){Rr(e,0)}function Kn(e){if(q(wi(e)))return e}function Gn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Qn&&(Qn.detachEvent("onpropertychange",nr),qn=Qn=null)}function nr(e){if("value"===e.propertyName&&Kn(qn)){var t=[];Wn(t,qn,e,_e(e)),Te(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(qn)}function or(e,t){if("click"===e)return Kn(t)}function ar(e,t){if("input"===e||"change"===e)return Kn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!d.call(t,i)||!lr(e[i],t[i]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=cr(n,o);var a=cr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Y(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Qr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},kr={},Cr={};function Sr(e){if(kr[e])return kr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return kr[e]=n[t];return e}c&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Er=Sr("animationend"),Pr=Sr("animationiteration"),Nr=Sr("animationstart"),zr=Sr("transitionend"),jr=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){jr.set(e,t),s(t,[e])}for(var Or=0;Or<Tr.length;Or++){var Dr=Tr[Or];Lr(Dr.toLowerCase(),"on"+(Dr[0].toUpperCase()+Dr.slice(1)))}Lr(Er,"onAnimationEnd"),Lr(Pr,"onAnimationIteration"),Lr(Nr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(zr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function $r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,l,s,u){if(He.apply(this,arguments),Me){if(!Me)throw Error(o(198));var c=$e;Me=!1,$e=null,Re||(Re=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Rr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;$r(i,l,u),o=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;$r(i,l,u),o=s}}}if(Re)throw e=Fe,Re=!1,Fe=null,e}function Fr(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(Br(t,e,2,!1),n.add(r))}function Ar(e,t,n){var r=0;t&&(r|=4),Br(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Hr]){e[Hr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Ar(t,!1,e),Ar(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Ar("selectionchange",!1,t))}}function Br(e,t,n,r){switch(Gt(t)){case 1:var i=Wt;break;case 4:i=Qt;break;default:i=qt}n=i.bind(null,t,n,e),i=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,i){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===i||8===l.nodeType&&l.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===i||8===s.nodeType&&s.parentNode===i))return;a=a.return}for(;null!==l;){if(null===(a=yi(l)))return;if(5===(s=a.tag)||6===s){r=o=a;continue e}l=l.parentNode}}r=r.return}Te((function(){var r=o,i=_e(n),a=[];e:{var l=jr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Pn;break;case"focusin":u="focus",s=gn;break;case"focusout":u="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=zn;break;case Er:case Pr:case Nr:s=vn;break;case zr:s=jn;break;case"scroll":s=fn;break;case"wheel":s=Ln;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Le(h,f))&&c.push(Wr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,i),a.push({event:l,listeners:c}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!yi(u)&&!u[hi])&&(s||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yi(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wi(s),p=null==u?l:wi(u),(l=new c(m,h+"leave",s,n,i)).target=d,l.relatedTarget=p,m=null,yi(i)===r&&((c=new c(f,h+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=qr(p))h++;for(p=0,m=f;m;m=qr(m))p++;for(;0<h-p;)c=qr(c),h--;for(;0<p-h;)f=qr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=qr(c),f=qr(f)}c=null}else c=null;null!==s&&Yr(a,l,s,c,!1),null!==u&&null!==d&&Yr(a,d,u,c,!0)}if("select"===(s=(l=r?wi(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Gn;else if(Vn(l))if(Zn)g=ar;else{g=ir;var v=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=or);switch(g&&(g=g(e,r))?Wn(a,g,n,i):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ee(l,"number",l.value)),v=r?wi(r):window,e){case"focusin":(Vn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(a,n,i)}var y;if(Dn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Un?An(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&($n&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(y=en()):(Xt="value"in(Zt=i)?Zt.value:Zt.textContent,Un=!0)),0<(v=Qr(r,b)).length&&(b=new wn(b,e,null,n,i),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=Hn(n))&&(b.data=y))),(y=Mn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Rn);case"textInput":return(e=t.data)===Rn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Dn&&An(e,t)?(e=en(),Jt=Xt=Zt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return $n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Qr(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y))}Rr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Le(e,n))&&r.unshift(Wr(e,o,i)),null!=(o=Le(e,t))&&r.push(Wr(e,o,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,i?null!=(s=Le(n,o))&&a.unshift(Wr(n,s,l)):i||null!=(s=Le(n,o))&&a.push(Wr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function Zr(e){return("string"===typeof e?e:""+e).replace(Kr,"\n").replace(Gr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,oi="function"===typeof Promise?Promise:void 0,ai="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oi?function(e){return oi.resolve(null).then(e).catch(li)}:ri;function li(e){setTimeout((function(){throw e}))}function si(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ut(t)}function ui(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),fi="__reactFiber$"+di,pi="__reactProps$"+di,hi="__reactContainer$"+di,mi="__reactEvents$"+di,gi="__reactListeners$"+di,vi="__reactHandles$"+di;function yi(e){var t=e[fi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hi]||n[fi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[fi])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[fi]||e[hi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function _i(e){return e[pi]||null}var xi=[],ki=-1;function Ci(e){return{current:e}}function Si(e){0>ki||(e.current=xi[ki],xi[ki]=null,ki--)}function Ei(e,t){ki++,xi[ki]=e.current,e.current=t}var Pi={},Ni=Ci(Pi),zi=Ci(!1),ji=Pi;function Ti(e,t){var n=e.type.contextTypes;if(!n)return Pi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Li(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Oi(){Si(zi),Si(Ni)}function Di(e,t,n){if(Ni.current!==Pi)throw Error(o(168));Ei(Ni,t),Ei(zi,n)}function Ii(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,B(e)||"Unknown",i));return $({},n,r)}function Mi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pi,ji=Ni.current,Ei(Ni,e),Ei(zi,zi.current),!0}function $i(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ii(e,t,ji),r.__reactInternalMemoizedMergedChildContext=e,Si(zi),Si(Ni),Ei(Ni,e)):Si(zi),Ei(zi,n)}var Ri=null,Fi=!1,Ai=!1;function Hi(e){null===Ri?Ri=[e]:Ri.push(e)}function Ui(){if(!Ai&&null!==Ri){Ai=!0;var e=0,t=bt;try{var n=Ri;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ri=null,Fi=!1}catch(i){throw null!==Ri&&(Ri=Ri.slice(e+1)),qe(Je,Ui),i}finally{bt=t,Ai=!1}}return null}var Bi=[],Vi=0,Wi=null,Qi=0,qi=[],Yi=0,Ki=null,Gi=1,Zi="";function Xi(e,t){Bi[Vi++]=Qi,Bi[Vi++]=Wi,Wi=e,Qi=t}function Ji(e,t,n){qi[Yi++]=Gi,qi[Yi++]=Zi,qi[Yi++]=Ki,Ki=e;var r=Gi;e=Zi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Gi=1<<32-at(t)+i|n<<i|r,Zi=o+e}else Gi=1<<o|n<<i|r,Zi=e}function eo(e){null!==e.return&&(Xi(e,1),Ji(e,1,0))}function to(e){for(;e===Wi;)Wi=Bi[--Vi],Bi[Vi]=null,Qi=Bi[--Vi],Bi[Vi]=null;for(;e===Ki;)Ki=qi[--Yi],qi[Yi]=null,Zi=qi[--Yi],qi[Yi]=null,Gi=qi[--Yi],qi[Yi]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ui(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ki?{id:Gi,overflow:Zi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function so(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function uo(e){if(io){var t=ro;if(t){var n=t;if(!lo(e,t)){if(so(e))throw Error(o(418));t=ui(n.nextSibling);var r=no;t&&lo(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(so(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return co(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(so(e))throw po(),Error(o(418));for(;t;)ao(e,t),t=ui(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ui(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ui(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ui(e.nextSibling)}function ho(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=w.ReactCurrentBatchConfig;function vo(e,t){if(e&&e.defaultProps){for(var n in t=$({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yo=Ci(null),bo=null,wo=null,_o=null;function xo(){_o=wo=bo=null}function ko(e){var t=yo.current;Si(yo),e._currentValue=t}function Co(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function So(e,t){bo=e,_o=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Eo(e){var t=e._currentValue;if(_o!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===bo)throw Error(o(308));wo=e,bo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var Po=null;function No(e){null===Po?Po=[e]:Po.push(e)}function zo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,No(t)):(n.next=i.next,i.next=n),t.interleaved=n,jo(e,r)}function jo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var To=!1;function Lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Do(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&zs)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,jo(e,n)}return null===(i=r.interleaved)?(t.next=t,No(r)):(t.next=i.next,i.next=t),r.interleaved=t,jo(e,n)}function Mo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function $o(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ro(e,t,n,r){var i=e.updateQueue;To=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?o=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==o){var d=i.baseState;for(a=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=$({},d,f);break e;case 2:To=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=i.effects)?i.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=i.shared.pending))break;l=(f=l).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===c&&(s=d),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);$s|=a,e.lanes=a,e.memoizedState=d}}function Fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var Ao=(new r.Component).refs;function Ho(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:$({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Uo={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Do(r,i);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Io(e,o,i))&&(ru(t,e,i,r),Mo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Do(r,i);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Io(e,o,i))&&(ru(t,e,i,r),Mo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),i=Do(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Io(e,i,r))&&(ru(t,e,r,n),Mo(t,e,r))}};function Bo(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(i,o))}function Vo(e,t,n){var r=!1,i=Pi,o=t.contextType;return"object"===typeof o&&null!==o?o=Eo(o):(i=Li(t)?ji:Ni.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ti(e,i):Pi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Uo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Wo(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Uo.enqueueReplaceState(t,t.state,null)}function Qo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ao,Lo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=Eo(o):(o=Li(t)?ji:Ni.current,i.context=Ti(e,o)),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(Ho(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Uo.enqueueReplaceState(i,i.state,null),Ro(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function qo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;t===Ao&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ko(e){return(0,e._init)(e._payload)}function Go(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Du(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ru(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===L&&Ko(o)===t.type)?((r=i(t,n.props)).ref=qo(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=qo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fu(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Mu(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Ru(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=qo(e,null,t),n.return=e,n;case x:return(t=Fu(t,e.mode,n)).return=e,t;case L:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Mu(t,e.mode,n,null)).return=e,t;Yo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?u(e,t,n,r):null;case x:return n.key===i?c(e,t,n,r):null;case L:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||I(n))return null!==i?null:d(e,t,n,r,null);Yo(e,n)}return null}function h(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case L:return h(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,i,null);Yo(t,r)}return null}function m(i,o,l,s){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(i,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(i,d),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===l.length)return n(i,d),io&&Xi(i,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(i,l[m],s))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return io&&Xi(i,m),u}for(d=r(i,d);m<l.length;m++)null!==(g=h(d,i,m,l[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(i,e)})),io&&Xi(i,m),u}function g(i,l,s,u){var c=I(s);if("function"!==typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var d=c=null,m=l,g=l=0,v=null,y=s.next();null!==m&&!y.done;g++,y=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(i,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),l=a(b,l,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(i,m),io&&Xi(i,g),c;if(null===m){for(;!y.done;g++,y=s.next())null!==(y=f(i,y.value,u))&&(l=a(y,l,g),null===d?c=y:d.sibling=y,d=y);return io&&Xi(i,g),c}for(m=r(i,m);!y.done;g++,y=s.next())null!==(y=h(m,i,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),l=a(y,l,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),io&&Xi(i,g),c}return function e(r,o,a,s){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case _:e:{for(var u=a.key,c=o;null!==c;){if(c.key===u){if((u=a.type)===k){if(7===c.tag){n(r,c.sibling),(o=i(c,a.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===L&&Ko(u)===c.type){n(r,c.sibling),(o=i(c,a.props)).ref=qo(r,c,a),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===k?((o=Mu(a.props.children,r.mode,s,a.key)).return=r,r=o):((s=Iu(a.type,a.key,a.props,null,r.mode,s)).ref=qo(r,o,a),s.return=r,r=s)}return l(r);case x:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Fu(a,r.mode,s)).return=r,r=o}return l(r);case L:return e(r,o,(c=a._init)(a._payload),s)}if(te(a))return m(r,o,a,s);if(I(a))return g(r,o,a,s);Yo(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Ru(a,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var Zo=Go(!0),Xo=Go(!1),Jo={},ea=Ci(Jo),ta=Ci(Jo),na=Ci(Jo);function ra(e){if(e===Jo)throw Error(o(174));return e}function ia(e,t){switch(Ei(na,t),Ei(ta,e),Ei(ea,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Si(ea),Ei(ea,t)}function oa(){Si(ea),Si(ta),Si(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=se(t,e.type);t!==n&&(Ei(ta,e),Ei(ea,n))}function la(e){ta.current===e&&(Si(ea),Si(ta))}var sa=Ci(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function da(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var fa=w.ReactCurrentDispatcher,pa=w.ReactCurrentBatchConfig,ha=0,ma=null,ga=null,va=null,ya=!1,ba=!1,wa=0,_a=0;function xa(){throw Error(o(321))}function ka(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ca(e,t,n,r,i,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ll:sl,e=n(r,i),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(o(301));a+=1,va=ga=null,t.updateQueue=null,fa.current=ul,e=n(r,i)}while(ba)}if(fa.current=al,t=null!==ga&&null!==ga.next,ha=0,va=ga=ma=null,ya=!1,t)throw Error(o(300));return e}function Sa(){var e=0!==wa;return wa=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===va?ma.memoizedState=va=e:va=va.next=e,va}function Pa(){if(null===ga){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=ga.next;var t=null===va?ma.memoizedState:va.next;if(null!==t)va=t,ga=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ga=e).memoizedState,baseState:ga.baseState,baseQueue:ga.baseQueue,queue:ga.queue,next:null},null===va?ma.memoizedState=va=e:va=va.next=e}return va}function Na(e,t){return"function"===typeof t?t(e):t}function za(e){var t=Pa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ga,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var l=i.next;i.next=a.next,a.next=l}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((ha&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,ma.lanes|=d,$s|=d}c=c.next}while(null!==c&&c!==a);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,ma.lanes|=a,$s|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ja(e){var t=Pa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var l=i=i.next;do{a=e(a,l.action),l=l.next}while(l!==i);lr(a,t.memoizedState)||(wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ta(){}function La(e,t){var n=ma,r=Pa(),i=t(),a=!lr(r.memoizedState,i);if(a&&(r.memoizedState=i,wl=!0),r=r.queue,Va(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==va&&1&va.memoizedState.tag){if(n.flags|=2048,Fa(9,Da.bind(null,n,r,i,t),void 0,null),null===js)throw Error(o(349));0!==(30&ha)||Oa(n,t,i)}return i}function Oa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Da(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&$a(e)}function Ia(e,t,n){return n((function(){Ma(t)&&$a(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function $a(e){var t=jo(e,1);null!==t&&ru(t,e,1,-1)}function Ra(e){var t=Ea();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,ma,e),[t.memoizedState,e]}function Fa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Aa(){return Pa().memoizedState}function Ha(e,t,n,r){var i=Ea();ma.flags|=e,i.memoizedState=Fa(1|t,n,void 0,void 0===r?null:r)}function Ua(e,t,n,r){var i=Pa();r=void 0===r?null:r;var o=void 0;if(null!==ga){var a=ga.memoizedState;if(o=a.destroy,null!==r&&ka(r,a.deps))return void(i.memoizedState=Fa(t,n,o,r))}ma.flags|=e,i.memoizedState=Fa(1|t,n,o,r)}function Ba(e,t){return Ha(8390656,8,e,t)}function Va(e,t){return Ua(2048,8,e,t)}function Wa(e,t){return Ua(4,2,e,t)}function Qa(e,t){return Ua(4,4,e,t)}function qa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ya(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ua(4,4,qa.bind(null,t,e),n)}function Ka(){}function Ga(e,t){var n=Pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Za(e,t){var n=Pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xa(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),ma.lanes|=n,$s|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function el(){return Pa().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))il(t,n);else if(null!==(n=zo(e,t,n,r))){ru(n,e,r,tu()),ol(n,t,r)}}function nl(e,t,n){var r=nu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))il(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(i.next=i,No(t)):(i.next=s.next,s.next=i),void(t.interleaved=i)}}catch(u){}null!==(n=zo(e,t,i,r))&&(ru(n,e,r,i=tu()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function il(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var al={readContext:Eo,useCallback:xa,useContext:xa,useEffect:xa,useImperativeHandle:xa,useInsertionEffect:xa,useLayoutEffect:xa,useMemo:xa,useReducer:xa,useRef:xa,useState:xa,useDebugValue:xa,useDeferredValue:xa,useTransition:xa,useMutableSource:xa,useSyncExternalStore:xa,useId:xa,unstable_isNewReconciler:!1},ll={readContext:Eo,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Eo,useEffect:Ba,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ha(4194308,4,qa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ha(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ha(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Ra,useDebugValue:Ka,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=Ra(!1),t=e[0];return e=Ja.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,i=Ea();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===js)throw Error(o(349));0!==(30&ha)||Oa(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Ba(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Fa(9,Da.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=js.identifierPrefix;if(io){var n=Zi;t=":"+t+"R"+(n=(Gi&~(1<<32-at(Gi)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=_a++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Eo,useCallback:Ga,useContext:Eo,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:Wa,useLayoutEffect:Qa,useMemo:Za,useReducer:za,useRef:Aa,useState:function(){return za(Na)},useDebugValue:Ka,useDeferredValue:function(e){return Xa(Pa(),ga.memoizedState,e)},useTransition:function(){return[za(Na)[0],Pa().memoizedState]},useMutableSource:Ta,useSyncExternalStore:La,useId:el,unstable_isNewReconciler:!1},ul={readContext:Eo,useCallback:Ga,useContext:Eo,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:Wa,useLayoutEffect:Qa,useMemo:Za,useReducer:ja,useRef:Aa,useState:function(){return ja(Na)},useDebugValue:Ka,useDeferredValue:function(e){var t=Pa();return null===ga?t.memoizedState=e:Xa(t,ga.memoizedState,e)},useTransition:function(){return[ja(Na)[0],Pa().memoizedState]},useMutableSource:Ta,useSyncExternalStore:La,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Do(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ws||(Ws=!0,Qs=r),fl(0,t)},n}function ml(e,t,n){(n=Do(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===qs?qs=new Set([this]):qs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function vl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Do(-1,1)).tag=2,Io(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bl=w.ReactCurrentOwner,wl=!1;function _l(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Zo(t,e.child,n,r)}function xl(e,t,n,r,i){n=n.render;var o=t.ref;return So(t,i),r=Ca(e,t,n,r,o,i),n=Sa(),null===e||wl?(io&&n&&eo(t),t.flags|=1,_l(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Wl(e,t,i))}function kl(e,t,n,r,i){if(null===e){var o=n.type;return"function"!==typeof o||Ou(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Cl(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Wl(e,t,i)}return t.flags|=1,(e=Du(o,r)).ref=t.ref,e.return=t,t.child=e}function Cl(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Wl(e,t,i);0!==(131072&e.flags)&&(wl=!0)}}return Pl(e,t,n,r,i)}function Sl(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ei(Ds,Os),Os|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ei(Ds,Os),Os|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ei(Ds,Os),Os|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ei(Ds,Os),Os|=r;return _l(e,t,i,n),t.child}function El(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,i){var o=Li(n)?ji:Ni.current;return o=Ti(t,o),So(t,i),n=Ca(e,t,n,r,o,i),r=Sa(),null===e||wl?(io&&r&&eo(t),t.flags|=1,_l(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Wl(e,t,i))}function Nl(e,t,n,r,i){if(Li(n)){var o=!0;Mi(t)}else o=!1;if(So(t,i),null===t.stateNode)Vl(e,t),Vo(t,n,r),Qo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Eo(u):u=Ti(t,u=Li(n)?ji:Ni.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Wo(t,a,r,u),To=!1;var f=t.memoizedState;a.state=f,Ro(t,r,a,i),s=t.memoizedState,l!==r||f!==s||zi.current||To?("function"===typeof c&&(Ho(t,n,c,r),s=t.memoizedState),(l=To||Bo(t,n,l,r,f,s,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Oo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:vo(t.type,l),a.props=u,d=t.pendingProps,f=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Eo(s):s=Ti(t,s=Li(n)?ji:Ni.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Wo(t,a,r,s),To=!1,f=t.memoizedState,a.state=f,Ro(t,r,a,i);var h=t.memoizedState;l!==d||f!==h||zi.current||To?("function"===typeof p&&(Ho(t,n,p,r),h=t.memoizedState),(u=To||Bo(t,n,u,r,f,h,s)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return zl(e,t,n,r,o,i)}function zl(e,t,n,r,i,o){El(e,t);var a=0!==(128&t.flags);if(!r&&!a)return i&&$i(t,n,!1),Wl(e,t,o);r=t.stateNode,bl.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Zo(t,e.child,null,o),t.child=Zo(t,null,l,o)):_l(e,t,l,o),t.memoizedState=r.state,i&&$i(t,n,!0),t.child}function jl(e){var t=e.stateNode;t.pendingContext?Di(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Di(0,t.context,!1),ia(e,t.containerInfo)}function Tl(e,t,n,r,i){return ho(),mo(i),t.flags|=256,_l(e,t,n,r),t.child}var Ll,Ol,Dl,Il,Ml={dehydrated:null,treeContext:null,retryLane:0};function $l(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rl(e,t,n){var r,i=t.pendingProps,a=sa.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ei(sa,1&a),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=i.children,e=i.fallback,l?(i=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&i)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=$u(s,i,0,null),e=Mu(e,i,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=$l(n),t.memoizedState=Ml,e):Fl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,l){if(n)return 256&t.flags?(t.flags&=-257,Al(e,t,l,r=dl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=$u({mode:"visible",children:r.children},i,0,null),(a=Mu(a,i,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Zo(t,e.child,null,l),t.child.memoizedState=$l(l),t.memoizedState=Ml,a);if(0===(1&t.mode))return Al(e,t,l,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var s=r.dgst;return r=s,Al(e,t,l,r=dl(a=Error(o(419)),r,void 0))}if(s=0!==(l&e.childLanes),wl||s){if(null!==(r=js)){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|l))?0:i)&&i!==a.retryLane&&(a.retryLane=i,jo(e,i),ru(r,e,i,-1))}return gu(),Al(e,t,l,r=dl(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Nu.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ui(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(qi[Yi++]=Gi,qi[Yi++]=Zi,qi[Yi++]=Ki,Gi=e.id,Zi=e.overflow,Ki=t),t=Fl(t,r.children),t.flags|=4096,t)}(e,t,s,i,r,a,n);if(l){l=i.fallback,s=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:i.children};return 0===(1&s)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null):(i=Du(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Du(r,l):(l=Mu(l,s,n,null)).flags|=2,l.return=t,i.return=t,i.sibling=l,t.child=i,i=l,l=t.child,s=null===(s=e.child.memoizedState)?$l(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Ml,i}return e=(l=e.child).sibling,i=Du(l,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Fl(e,t){return(t=$u({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Al(e,t,n,r){return null!==r&&mo(r),Zo(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Co(e.return,t,n)}function Ul(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Bl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_l(e,t,r.children,n),0!==(2&(r=sa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hl(e,n,t);else if(19===e.tag)Hl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ei(sa,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ul(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ua(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vl(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),$s|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Du(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Du(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ql(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ql(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yl(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ql(t),null;case 1:case 17:return Li(t.type)&&Oi(),ql(t),null;case 3:return r=t.stateNode,oa(),Si(zi),Si(Ni),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(lu(oo),oo=null))),Ol(e,t),ql(t),null;case 5:la(t);var i=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Dl(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return ql(t),null}if(e=ra(ea.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fi]=t,r[pi]=a,e=0!==(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(i=0;i<Ir.length;i++)Fr(Ir[i],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":G(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":ie(r,a),Fr("invalid",r)}for(var s in ye(n,a),i=null,a)if(a.hasOwnProperty(s)){var u=a[s];"children"===s?"string"===typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,u,e),i=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,u,e),i=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",r)}switch(n){case"input":Q(r),J(r,a,!0);break;case"textarea":Q(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fi]=t,e[pi]=r,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),i=r;break;case"iframe":case"object":case"embed":Fr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ir.length;i++)Fr(Ir[i],e);i=r;break;case"source":Fr("error",e),i=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=r;break;case"details":Fr("toggle",e),i=r;break;case"input":G(e,r),i=K(e,r),Fr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=$({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Fr("invalid",e)}for(a in ye(n,i),u=i)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Fr("scroll",e):null!=c&&b(e,a,c,s))}switch(n){case"input":Q(e),J(e,r,!1);break;case"textarea":Q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return ql(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=ra(na.current),ra(ea.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fi]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fi]=t,t.stateNode=r}return ql(t),null;case 13:if(Si(sa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))po(),ho(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[fi]=t}else ho(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ql(t),a=!1}else null!==oo&&(lu(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&sa.current)?0===Is&&(Is=3):gu())),null!==t.updateQueue&&(t.flags|=4),ql(t),null);case 4:return oa(),Ol(e,t),null===e&&Ur(t.stateNode.containerInfo),ql(t),null;case 10:return ko(t.type._context),ql(t),null;case 19:if(Si(sa),null===(a=t.memoizedState))return ql(t),null;if(r=0!==(128&t.flags),null===(s=a.rendering))if(r)Ql(a,!1);else{if(0!==Is||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ua(e))){for(t.flags|=128,Ql(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ei(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Bs&&(t.flags|=128,r=!0,Ql(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ql(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!io)return ql(t),null}else 2*Ze()-a.renderingStartTime>Bs&&1073741824!==n&&(t.flags|=128,r=!0,Ql(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=sa.current,Ei(sa,r?1&n|2:1&n),t):(ql(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Os)&&(ql(t),6&t.subtreeFlags&&(t.flags|=8192)):ql(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Kl(e,t){switch(to(t),t.tag){case 1:return Li(t.type)&&Oi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),Si(zi),Si(Ni),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(Si(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Si(sa),null;case 4:return oa(),null;case 10:return ko(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ol=function(){},Dl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ra(ea.current);var o,a=null;switch(n){case"input":i=K(e,i),r=K(e,r),a=[];break;case"select":i=$({},i,{value:void 0}),r=$({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var s=i[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gl=!1,Zl=!1,Xl="function"===typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Su(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Su(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&ts(t,n,o)}i=i.next}while(i!==r)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fi],delete t[pi],delete t[mi],delete t[gi],delete t[vi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(l){}switch(n.tag){case 5:Zl||es(n,t);case 6:var r=ds,i=fs;ds=null,ps(e,t,n),fs=i,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?si(e.parentNode,n):1===e.nodeType&&si(e,n),Ut(e)):si(ds,n.stateNode));break;case 4:r=ds,i=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=i;break;case 0:case 11:case 14:case 15:if(!Zl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!==(2&o)||0!==(4&o))&&ts(n,t,a),i=i.next}while(i!==r)}ps(e,t,n);break;case 1:if(!Zl&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Su(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Zl=(r=Zl)||null!==n.memoizedState,ps(e,t,n),Zl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=zu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(o(160));hs(a,l,i),ds=null,fs=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(c){Su(i,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vs(t,e),t=t.sibling}function vs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gs(t,e),ys(e),4&r){try{rs(3,e,e.return),is(3,e)}catch(g){Su(e,e.return,g)}try{rs(5,e,e.return)}catch(g){Su(e,e.return,g)}}break;case 1:gs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(gs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var i=e.stateNode;try{fe(i,"")}catch(g){Su(e,e.return,g)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&Z(i,a),be(s,l);var c=be(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ge(i,f):"dangerouslySetInnerHTML"===d?de(i,f):"children"===d?fe(i,f):b(i,d,f,c)}switch(s){case"input":X(i,a);break;case"textarea":oe(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(i,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[pi]=a}catch(g){Su(e,e.return,g)}}break;case 6:if(gs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(g){Su(e,e.return,g)}}break;case 3:if(gs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(g){Su(e,e.return,g)}break;case 4:default:gs(t,e),ys(e);break;case 13:gs(t,e),ys(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Us=Ze())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zl=(c=Zl)||d,gs(t,e),Zl=c):gs(t,e),ys(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Su(r,n,g)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==h?(h.return=p,Jl=h):xs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{i=f.stateNode,c?"function"===typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(g){Su(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){Su(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(fe(i,""),r.flags&=-33),cs(e,ss(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;us(e,ss(e),a);break;default:throw Error(o(161))}}catch(l){Su(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,ws(e,t,n)}function ws(e,t,n){for(var r=0!==(1&e.mode);null!==Jl;){var i=Jl,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Gl;if(!a){var l=i.alternate,s=null!==l&&null!==l.memoizedState||Zl;l=Gl;var u=Zl;if(Gl=a,(Zl=s)&&!u)for(Jl=i;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?ks(i):null!==s?(s.return=a,Jl=s):ks(i);for(;null!==o;)Jl=o,ws(o,t,n),o=o.sibling;Jl=i,Gl=l,Zl=u}_s(e)}else 0!==(8772&i.subtreeFlags)&&null!==o?(o.return=i,Jl=o):_s(e)}}function _s(e){for(;null!==Jl;){var t=Jl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zl||is(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zl)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:vo(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Fo(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fo(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(o(163))}Zl||512&t.flags&&os(t)}catch(p){Su(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function xs(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{is(4,t)}catch(s){Su(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(s){Su(t,i,s)}}var o=t.return;try{os(t)}catch(s){Su(t,o,s)}break;case 5:var a=t.return;try{os(t)}catch(s){Su(t,a,s)}}}catch(s){Su(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Cs,Ss=Math.ceil,Es=w.ReactCurrentDispatcher,Ps=w.ReactCurrentOwner,Ns=w.ReactCurrentBatchConfig,zs=0,js=null,Ts=null,Ls=0,Os=0,Ds=Ci(0),Is=0,Ms=null,$s=0,Rs=0,Fs=0,As=null,Hs=null,Us=0,Bs=1/0,Vs=null,Ws=!1,Qs=null,qs=null,Ys=!1,Ks=null,Gs=0,Zs=0,Xs=null,Js=-1,eu=0;function tu(){return 0!==(6&zs)?Ze():-1!==Js?Js:Js=Ze()}function nu(e){return 0===(1&e.mode)?1:0!==(2&zs)&&0!==Ls?Ls&-Ls:null!==go.transition?(0===eu&&(eu=mt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Gt(e.type)}function ru(e,t,n,r){if(50<Zs)throw Zs=0,Xs=null,Error(o(185));vt(e,n,r),0!==(2&zs)&&e===js||(e===js&&(0===(2&zs)&&(Rs|=n),4===Is&&su(e,Ls)),iu(e,r),1===n&&0===zs&&0===(1&t.mode)&&(Bs=Ze()+500,Fi&&Ui()))}function iu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),l=1<<a,s=i[a];-1===s?0!==(l&n)&&0===(l&r)||(i[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ft(e,e===js?Ls:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Fi=!0,Hi(e)}(uu.bind(null,e)):Hi(uu.bind(null,e)),ai((function(){0===(6&zs)&&Ui()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=ju(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Js=-1,eu=0,0!==(6&zs))throw Error(o(327));var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var r=ft(e,e===js?Ls:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vu(e,r);else{t=r;var i=zs;zs|=2;var a=mu();for(js===e&&Ls===t||(Vs=null,Bs=Ze()+500,pu(e,t));;)try{bu();break}catch(s){hu(e,s)}xo(),Es.current=a,zs=i,null!==Ts?t=0:(js=null,Ls=0,t=Is)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(r=i,t=au(e,i))),1===t)throw n=Ms,pu(e,0),su(e,r),iu(e,Ze()),n;if(6===t)su(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!lr(o(),i))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=vu(e,r))&&(0!==(a=ht(e))&&(r=a,t=au(e,a))),1===t))throw n=Ms,pu(e,0),su(e,r),iu(e,Ze()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:xu(e,Hs,Vs);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Us+500-Ze())){if(0!==ft(e,0))break;if(((i=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(xu.bind(null,e,Hs,Vs),t);break}xu(e,Hs,Vs);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>i&&(i=l),r&=~a}if(r=i,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ss(r/1960))-r)){e.timeoutHandle=ri(xu.bind(null,e,Hs,Vs),r);break}xu(e,Hs,Vs);break;default:throw Error(o(329))}}}return iu(e,Ze()),e.callbackNode===n?ou.bind(null,e):null}function au(e,t){var n=As;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=vu(e,t))&&(t=Hs,Hs=n,null!==t&&lu(t)),e}function lu(e){null===Hs?Hs=e:Hs.push.apply(Hs,e)}function su(e,t){for(t&=~Fs,t&=~Rs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!==(6&zs))throw Error(o(327));ku();var t=ft(e,0);if(0===(1&t))return iu(e,Ze()),null;var n=vu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Ms,pu(e,0),su(e,t),iu(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Hs,Vs),iu(e,Ze()),null}function cu(e,t){var n=zs;zs|=1;try{return e(t)}finally{0===(zs=n)&&(Bs=Ze()+500,Fi&&Ui())}}function du(e){null!==Ks&&0===Ks.tag&&0===(6&zs)&&ku();var t=zs;zs|=1;var n=Ns.transition,r=bt;try{if(Ns.transition=null,bt=1,e)return e()}finally{bt=r,Ns.transition=n,0===(6&(zs=t))&&Ui()}}function fu(){Os=Ds.current,Si(Ds)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Ts)for(n=Ts.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Oi();break;case 3:oa(),Si(zi),Si(Ni),da();break;case 5:la(r);break;case 4:oa();break;case 13:case 19:Si(sa);break;case 10:ko(r.type._context);break;case 22:case 23:fu()}n=n.return}if(js=e,Ts=e=Du(e.current,null),Ls=Os=t,Is=0,Ms=null,Fs=Rs=$s=0,Hs=As=null,null!==Po){for(t=0;t<Po.length;t++)if(null!==(r=(n=Po[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Po=null}return e}function hu(e,t){for(;;){var n=Ts;try{if(xo(),fa.current=al,ya){for(var r=ma.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ya=!1}if(ha=0,va=ga=ma=null,ba=!1,wa=0,Ps.current=null,null===n||null===n.return){Is=1,Ms=t,Ts=null;break}e:{var a=e,l=n.return,s=n,u=t;if(t=Ls,s.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=vl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&gl(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0===(1&t)){gl(a,c,t),gu();break e}u=Error(o(426))}else if(io&&1&s.mode){var v=vl(l);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),yl(v,l,s,0,t),mo(cl(u,s));break e}}a=u=cl(u,s),4!==Is&&(Is=2),null===As?As=[a]:As.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,$o(a,hl(0,u,t));break e;case 1:s=u;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===qs||!qs.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,$o(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}_u(n)}catch(w){t=w,Ts===n&&null!==n&&(Ts=n=n.return);continue}break}}function mu(){var e=Es.current;return Es.current=al,null===e?al:e}function gu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===js||0===(268435455&$s)&&0===(268435455&Rs)||su(js,Ls)}function vu(e,t){var n=zs;zs|=2;var r=mu();for(js===e&&Ls===t||(Vs=null,pu(e,t));;)try{yu();break}catch(i){hu(e,i)}if(xo(),zs=n,Es.current=r,null!==Ts)throw Error(o(261));return js=null,Ls=0,Is}function yu(){for(;null!==Ts;)wu(Ts)}function bu(){for(;null!==Ts&&!Ke();)wu(Ts)}function wu(e){var t=Cs(e.alternate,e,Os);e.memoizedProps=e.pendingProps,null===t?_u(e):Ts=t,Ps.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Yl(n,t,Os)))return void(Ts=n)}else{if(null!==(n=Kl(n,t)))return n.flags&=32767,void(Ts=n);if(null===e)return Is=6,void(Ts=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ts=t);Ts=t=e}while(null!==t);0===Is&&(Is=5)}function xu(e,t,n){var r=bt,i=Ns.transition;try{Ns.transition=null,bt=1,function(e,t,n,r){do{ku()}while(null!==Ks);if(0!==(6&zs))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===js&&(Ts=js=null,Ls=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Ys||(Ys=!0,ju(tt,(function(){return ku(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Ns.transition,Ns.transition=null;var l=bt;bt=1;var s=zs;zs|=4,Ps.current=null,function(e,t){if(ei=Vt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(_){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==i&&3!==f.nodeType||(s=l+i),f!==a||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===i&&(s=l),p===a&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Vt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:vo(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(_){Su(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),vs(n,e),hr(ti),Vt=!!ei,ti=ei=null,e.current=n,bs(n,e,i),Ge(),zs=s,bt=l,Ns.transition=a}else e.current=n;if(Ys&&(Ys=!1,Ks=e,Gs=i),a=e.pendingLanes,0===a&&(qs=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),iu(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ws)throw Ws=!1,e=Qs,Qs=null,e;0!==(1&Gs)&&0!==e.tag&&ku(),a=e.pendingLanes,0!==(1&a)?e===Xs?Zs++:(Zs=0,Xs=e):Zs=0,Ui()}(e,t,n,r)}finally{Ns.transition=i,bt=r}return null}function ku(){if(null!==Ks){var e=wt(Gs),t=Ns.transition,n=bt;try{if(Ns.transition=null,bt=16>e?16:e,null===Ks)var r=!1;else{if(e=Ks,Ks=null,Gs=0,0!==(6&zs))throw Error(o(331));var i=zs;for(zs|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(0!==(16&Jl.flags)){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(as(d),d===c){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Jl=a}}if(0!==(2064&a.subtreeFlags)&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(0!==(2048&(a=Jl).flags))switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Jl=y;break e}Jl=a.return}}var b=e.current;for(Jl=b;null!==Jl;){var w=(l=Jl).child;if(0!==(2064&l.subtreeFlags)&&null!==w)w.return=l,Jl=w;else e:for(l=b;null!==Jl;){if(0!==(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:is(9,s)}}catch(x){Su(s,s.return,x)}if(s===l){Jl=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Jl=_;break e}Jl=s.return}}if(zs=i,Ui(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(x){}r=!0}return r}finally{bt=n,Ns.transition=t}}return!1}function Cu(e,t,n){e=Io(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(vt(e,1,t),iu(e,t))}function Su(e,t,n){if(3===e.tag)Cu(e,e,n);else for(;null!==t;){if(3===t.tag){Cu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===qs||!qs.has(r))){t=Io(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(vt(t,1,e),iu(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,js===e&&(Ls&n)===n&&(4===Is||3===Is&&(130023424&Ls)===Ls&&500>Ze()-Us?pu(e,0):Fs|=n),iu(e,t)}function Pu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=jo(e,t))&&(vt(e,t,n),iu(e,n))}function Nu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pu(e,n)}function zu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Pu(e,n)}function ju(e,t){return qe(e,t)}function Tu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lu(e,t,n,r){return new Tu(e,t,n,r)}function Ou(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Du(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,i,a){var l=2;if(r=e,"function"===typeof e)Ou(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case k:return Mu(n.children,i,a,t);case C:l=8,i|=8;break;case S:return(e=Lu(12,n,t,2|i)).elementType=S,e.lanes=a,e;case z:return(e=Lu(13,n,t,i)).elementType=z,e.lanes=a,e;case j:return(e=Lu(19,n,t,i)).elementType=j,e.lanes=a,e;case O:return $u(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:l=10;break e;case P:l=9;break e;case N:l=11;break e;case T:l=14;break e;case L:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Lu(l,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Mu(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function $u(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=O,e.lanes=n,e.stateNode={isHidden:!1},e}function Ru(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function Fu(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Au(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Hu(e,t,n,r,i,o,a,l,s){return e=new Au(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Lu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lo(o),e}function Uu(e){if(!e)return Pi;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Li(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Li(n))return Ii(e,n,t)}return t}function Bu(e,t,n,r,i,o,a,l,s){return(e=Hu(n,r,!0,e,0,o,0,l,s)).context=Uu(null),n=e.current,(o=Do(r=tu(),i=nu(n))).callback=void 0!==t&&null!==t?t:null,Io(n,o,i),e.current.lanes=i,vt(e,i,r),iu(e,r),e}function Vu(e,t,n,r){var i=t.current,o=tu(),a=nu(i);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Do(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Io(i,t,a))&&(ru(e,i,a,o),Mo(e,i,a)),a}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qu(e,t){Qu(e,t),(e=e.alternate)&&Qu(e,t)}Cs=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||zi.current)wl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:jl(t),ho();break;case 5:aa(t);break;case 1:Li(t.type)&&Mi(t);break;case 4:ia(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ei(yo,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ei(sa,1&sa.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Rl(e,t,n):(Ei(sa,1&sa.current),null!==(e=Wl(e,t,n))?e.sibling:null);Ei(sa,1&sa.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Bl(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ei(sa,sa.current),r)break;return null;case 22:case 23:return t.lanes=0,Sl(e,t,n)}return Wl(e,t,n)}(e,t,n);wl=0!==(131072&e.flags)}else wl=!1,io&&0!==(1048576&t.flags)&&Ji(t,Qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vl(e,t),e=t.pendingProps;var i=Ti(t,Ni.current);So(t,n),i=Ca(null,t,r,e,i,n);var a=Sa();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Li(r)?(a=!0,Mi(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Lo(t),i.updater=Uo,t.stateNode=i,i._reactInternals=t,Qo(t,r,e,n),t=zl(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),_l(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Ou(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===N)return 11;if(e===T)return 14}return 2}(r),e=vo(r,e),i){case 0:t=Pl(null,t,r,e,n);break e;case 1:t=Nl(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,vo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Pl(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 1:return r=t.type,i=t.pendingProps,Nl(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 3:e:{if(jl(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Oo(e,t),Ro(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Tl(e,t,r,n,i=cl(Error(o(423)),t));break e}if(r!==i){t=Tl(e,t,r,n,i=cl(Error(o(424)),t));break e}for(ro=ui(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===i){t=Wl(e,t,n);break e}_l(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&uo(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,l=i.children,ni(r,i)?l=null:null!==a&&ni(r,a)&&(t.flags|=32),El(e,t),_l(e,t,l,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Rl(e,t,n);case 4:return ia(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zo(t,null,r,n):_l(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,xl(e,t,r,i=t.elementType===r?i:vo(r,i),n);case 7:return _l(e,t,t.pendingProps,n),t.child;case 8:case 12:return _l(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,l=i.value,Ei(yo,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===i.children&&!zi.current){t=Wl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Do(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Co(a.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(o(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Co(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}_l(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,So(t,n),r=r(i=Eo(i)),t.flags|=1,_l(e,t,r,n),t.child;case 14:return i=vo(r=t.type,t.pendingProps),kl(e,t,r,i=vo(r.type,i),n);case 15:return Cl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:vo(r,i),Vl(e,t),t.tag=1,Li(r)?(e=!0,Mi(t)):e=!1,So(t,n),Vo(t,r,i),Qo(t,r,i,n),zl(null,t,r,!0,e,n);case 19:return Bl(e,t,n);case 22:return Sl(e,t,n)}throw Error(o(156,t.tag))};var Yu="function"===typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Gu(e){this._internalRoot=e}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"===typeof i){var l=i;i=function(){var e=Wu(a);l.call(e)}}Vu(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"===typeof r){var o=r;r=function(){var e=Wu(a);o.call(e)}}var a=Bu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=a,e[hi]=a.current,Ur(8===e.nodeType?e.parentNode:e),du(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var l=r;r=function(){var e=Wu(s);l.call(e)}}var s=Hu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[hi]=s.current,Ur(8===e.nodeType?e.parentNode:e),du((function(){Vu(t,s,n,r)})),s}(n,t,e,i,r);return Wu(a)}Gu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Vu(e,t,null,null)},Gu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Vu(null,e,null,null)})),t[hi]=null}},Gu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&0!==t&&t<Ot[n].priority;n++);Ot.splice(n,0,e),0===n&&$t(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),iu(t,Ze()),0===(6&zs)&&(Bs=Ze()+500,Ui()))}break;case 13:du((function(){var t=jo(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),qu(e,1)}},xt=function(e){if(13===e.tag){var t=jo(e,134217728);if(null!==t)ru(t,e,134217728,tu());qu(e,134217728)}},kt=function(e){if(13===e.tag){var t=nu(e),n=jo(e,t);if(null!==n)ru(n,e,t,tu());qu(e,t)}},Ct=function(){return bt},St=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=_i(r);if(!i)throw Error(o(90));q(r),X(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ne=cu,ze=du;var tc={usingClientEntryPoint:!1,Events:[bi,wi,_i,Ee,Pe,cu]},nc={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{it=ic.inject(rc),ot=ic}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zu(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zu(e))throw Error(o(299));var n=!1,r="",i=Yu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Hu(e,1,!1,null,0,n,0,r,i),e[hi]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Ku(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zu(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",l=Yu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Bu(t,null,e,1,null!=n?n:null,i,0,a,l),e[hi]=t.current,Ur(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Gu(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(o(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[hi]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},6896:(e,t,n)=>{"use strict";var r=n(2407);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},2407:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2401)},7452:(e,t,n)=>{"use strict";var r=n(3902),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,l=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,g="function"===typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function _(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=w.prototype;var k=x.prototype=new _;k.constructor=x,r(k,w.prototype),k.isPureReactComponent=!0;var C={current:null},S=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r,i={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!E.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:e,key:a,ref:l,props:i,_owner:C.current}}function N(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var z=/\/+/g,j=[];function T(e,t,n,r){if(j.length){var i=j.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>j.length&&j.push(e)}function O(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var l=!1;if(null===e)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case a:l=!0}}if(l)return n(r,e,""===t?"."+I(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){var u=t+I(i=e[s],s);l+=O(i,u,n,r)}else if(null===e||"object"!==typeof e?u=null:u="function"===typeof(u=g&&e[g]||e["@@iterator"])?u:null,"function"===typeof u)for(e=u.call(e),s=0;!(i=e.next()).done;)l+=O(i=i.value,u=t+I(i,s++),n,r);else if("object"===i)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return l}function D(e,t,n){return null==e?0:O(e,"",t,n)}function I(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function $(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?R(e,r,n,(function(e){return e})):null!=e&&(N(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(z,"$&/")+"/")+n)),r.push(e))}function R(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(z,"$&/")+"/"),D(e,$,t=T(t,o,r,i)),L(t)}var F={current:null};function A(){var e=F.current;if(null===e)throw Error(v(321));return e}var H={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return R(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,M,t=T(null,null,t,n)),L(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return R(e,t,null,(function(e){return e})),t},only:function(e){if(!N(e))throw Error(v(143));return e}},t.Component=w,t.Fragment=l,t.Profiler=u,t.PureComponent=x,t.StrictMode=s,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(v(267,e));var i=r({},e.props),a=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=C.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)S.call(t,c)&&!E.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:l,props:i,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=N,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return A().useCallback(e,t)},t.useContext=function(e,t){return A().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return A().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return A().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return A().useLayoutEffect(e,t)},t.useMemo=function(e,t){return A().useMemo(e,t)},t.useReducer=function(e,t,n){return A().useReducer(e,t,n)},t.useRef=function(e){return A().useRef(e)},t.useState=function(e){return A().useState(e)},t.version="16.14.0"},4077:(e,t,n)=>{"use strict";e.exports=n(7452)},6615:function(e,t,n){e.exports=function(e){"use strict";var t="default"in e?e.default:e,n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function r(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n}(function(e,t,n,r){function i(t,n){this.settings=null,this.options=e.extend({},i.Defaults,n),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy((function(t,n){this._handlers[n]=e.proxy(this[n],this)}),this)),e.each(i.Plugins,e.proxy((function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)}),this)),e.each(i.Workers,e.proxy((function(t,n){this._pipe.push({filter:n.filter,run:e.proxy(n.run,this)})}),this)),this.setup(),this.initialize()}i.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},i.Width={Default:"default",Inner:"inner",Outer:"outer"},i.Type={Event:"event",State:"state"},i.Plugins={},i.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",n=!this.settings.autoWidth,r=this.settings.rtl,i={width:"auto","margin-left":r?t:"","margin-right":r?"":t};!n&&this.$stage.children().css(i),e.css=i}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,r=this._items.length,i=!this.settings.autoWidth,o=[];for(e.items={merge:!1,width:t};r--;)n=this._mergers[r],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,e.items.merge=n>1||e.items.merge,o[r]=i?t*n:this._items[r].width();this._widths=o}},{filter:["items","settings"],run:function(){var t=[],n=this._items,r=this.settings,i=Math.max(2*r.items,4),o=2*Math.ceil(n.length/2),a=r.loop&&n.length?r.rewind?i:Math.max(i,o):0,l="",s="";for(a/=2;a>0;)t.push(this.normalize(t.length/2,!0)),l+=n[t[t.length-1]][0].outerHTML,t.push(this.normalize(n.length-1-(t.length-1)/2,!0)),s=n[t[t.length-1]][0].outerHTML+s,a-=1;this._clones=t,e(l).addClass("cloned").appendTo(this.$stage),e(s).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,n=-1,r=0,i=0,o=[];++n<t;)r=o[n-1]||0,i=this._widths[this.relative(n)]+this.settings.margin,o.push(r+i*e);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,n={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,n=!this.settings.autoWidth,r=this.$stage.children();if(n&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],r.eq(t).css(e.css);else n&&(e.css.width=e.items.width,r.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,n,r,i=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,a=this.coordinates(this.current())+o,l=a+this.width()*i,s=[];for(n=0,r=this._coordinates.length;n<r;n++)e=this._coordinates[n-1]||0,t=Math.abs(this._coordinates[n])+o*i,(this.op(e,"<=",a)&&this.op(e,">",l)||this.op(t,"<",a)&&this.op(t,">",l))&&s.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+s.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],i.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(e("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},i.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map((function(t){return e(t)})),this._mergers=this._items.map((function(){return 1})),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},i.prototype.initialize=function(){var e,t,n;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r,n=this.$element.children(t).width(),e.length&&n<=0&&this.preloadAutoWidthImages(e)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},i.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},i.prototype.setup=function(){var t=this.viewport(),n=this.options.responsive,r=-1,i=null;n?(e.each(n,(function(e){e<=t&&e>r&&(r=Number(e))})),"function"===typeof(i=e.extend({},this.options,n[r])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+r))):i=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=r,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},i.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},i.prototype.prepare=function(t){var n=this.trigger("prepare",{content:t});return n.data||(n.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:n.data}),n.data},i.prototype.update=function(){for(var t=0,n=this._pipe.length,r=e.proxy((function(e){return this[e]}),this._invalidated),i={};t<n;)(this._invalidated.all||e.grep(this._pipe[t].filter,r).length>0)&&this._pipe[t].run(i),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},i.prototype.width=function(e){switch(e=e||i.Width.Default){case i.Width.Inner:case i.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},i.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},i.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},i.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},i.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},i.prototype.onDragStart=function(t){var r=null;3!==t.which&&(e.support.transform?r={x:(r=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===r.length?12:4],y:r[16===r.length?13:5]}:(r=this.$stage.position(),r={x:this.settings.rtl?r.left+this.$stage.width()-this.width()+this.settings.margin:r.left,y:r.top}),this.is("animating")&&(e.support.transform?this.animate(r.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=r,this._drag.stage.current=r,this._drag.pointer=this.pointer(t),e(n).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(n).one("mousemove.owl.core touchmove.owl.core",e.proxy((function(t){var r=this.difference(this._drag.pointer,this.pointer(t));e(n).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(r.x)<Math.abs(r.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},i.prototype.onDragMove=function(e){var t=null,n=null,r=null,i=this.difference(this._drag.pointer,this.pointer(e)),o=this.difference(this._drag.stage.start,i);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-t,o.x=((o.x-t)%n+n)%n+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),r=this.settings.pullDrag?-1*i.x/5:0,o.x=Math.max(Math.min(o.x,t+r),n+r)),this._drag.stage.current=o,this.animate(o.x))},i.prototype.onDragEnd=function(t){var r=this.difference(this._drag.pointer,this.pointer(t)),i=this._drag.stage.current,o=r.x>0^this.settings.rtl?"left":"right";e(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==r.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==r.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(r.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},i.prototype.closest=function(t,n){var i=-1,o=30,a=this.width(),l=this.coordinates();return this.settings.freeDrag||e.each(l,e.proxy((function(e,s){return"left"===n&&t>s-o&&t<s+o?i=e:"right"===n&&t>s-a-o&&t<s-a+o?i=e+1:this.op(t,"<",s)&&this.op(t,">",l[e+1]!==r?l[e+1]:s-a)&&(i="left"===n?e+1:e),-1===i}),this)),this.settings.loop||(this.op(t,">",l[this.minimum()])?i=t=this.minimum():this.op(t,"<",l[this.maximum()])&&(i=t=this.maximum())),i},i.prototype.animate=function(t){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):n?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},i.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},i.prototype.current=function(e){if(e===r)return this._current;if(0===this._items.length)return r;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==r&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},i.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,(function(e,t){return t}))},i.prototype.reset=function(e){(e=this.normalize(e))!==r&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},i.prototype.normalize=function(e,t){var n=this._items.length,i=t?0:this._clones.length;return!this.isNumeric(e)||n<1?e=r:(e<0||e>=n+i)&&(e=((e-i/2)%n+n)%n+i/2),e},i.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},i.prototype.maximum=function(e){var t,n,r,i=this.settings,o=this._coordinates.length;if(i.loop)o=this._clones.length/2+this._items.length-1;else if(i.autoWidth||i.merge){if(t=this._items.length)for(n=this._items[--t].width(),r=this.$element.width();t--&&!((n+=this._items[t].width()+this.settings.margin)>r););o=t+1}else o=i.center?this._items.length-1:this._items.length-i.items;return e&&(o-=this._clones.length/2),Math.max(o,0)},i.prototype.minimum=function(e){return e?0:this._clones.length/2},i.prototype.items=function(e){return e===r?this._items.slice():(e=this.normalize(e,!0),this._items[e])},i.prototype.mergers=function(e){return e===r?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},i.prototype.clones=function(t){var n=this._clones.length/2,i=n+this._items.length,o=function(e){return e%2===0?i+e/2:n-(e+1)/2};return t===r?e.map(this._clones,(function(e,t){return o(t)})):e.map(this._clones,(function(e,n){return e===t?o(n):null}))},i.prototype.speed=function(e){return e!==r&&(this._speed=e),this._speed},i.prototype.coordinates=function(t){var n,i=1,o=t-1;return t===r?e.map(this._coordinates,e.proxy((function(e,t){return this.coordinates(t)}),this)):(this.settings.center?(this.settings.rtl&&(i=-1,o=t+1),n=this._coordinates[t],n+=(this.width()-n+(this._coordinates[o]||0))/2*i):n=this._coordinates[o]||0,n=Math.ceil(n))},i.prototype.duration=function(e,t,n){return 0===n?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},i.prototype.to=function(e,t){var n=this.current(),r=null,i=e-this.relative(n),o=(i>0)-(i<0),a=this._items.length,l=this.minimum(),s=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>a/2&&(i+=-1*o*a),(r=(((e=n+i)-l)%a+a)%a+l)!==e&&r-i<=s&&r-i>0&&(n=r-i,e=r,this.reset(n))):e=this.settings.rewind?(e%(s+=1)+s)%s:Math.max(l,Math.min(s,e)),this.speed(this.duration(n,e,t)),this.current(e),this.isVisible()&&this.update()},i.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},i.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},i.prototype.onTransitionEnd=function(e){if(e!==r&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},i.prototype.viewport=function(){var r;return this.options.responsiveBaseElement!==t?r=e(this.options.responsiveBaseElement).width():t.innerWidth?r=t.innerWidth:n.documentElement&&n.documentElement.clientWidth?r=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),r},i.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter((function(){return 1===this.nodeType})).each(e.proxy((function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},i.prototype.add=function(t,n){var i=this.relative(this._current);n=n===r?this._items.length:this.normalize(n,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:n}),t=this.prepare(t),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[n-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(t),this._items.splice(n,0,t),this._mergers.splice(n,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:n})},i.prototype.remove=function(e){(e=this.normalize(e,!0))!==r&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},i.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy((function(t,n){this.enter("pre-loading"),n=e(n),e(new Image).one("load",e.proxy((function(e){n.attr("src",e.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))}),this))},i.prototype.destroy=function(){for(var r in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(n).off(".owl.core"),!1!==this.settings.responsive&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[r].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},i.prototype.op=function(e,t,n){var r=this.settings.rtl;switch(t){case"<":return r?e>n:e<n;case">":return r?e<n:e>n;case">=":return r?e<=n:e>=n;case"<=":return r?e>=n:e<=n}},i.prototype.on=function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,n)},i.prototype.off=function(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on"+t,n)},i.prototype.trigger=function(t,n,r,o,a){var l={item:{count:this._items.length,index:this.current()}},s=e.camelCase(e.grep(["on",t,r],(function(e){return e})).join("-").toLowerCase()),u=e.Event([t,"owl",r||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},l,n));return this._supress[t]||(e.each(this._plugins,(function(e,t){t.onTrigger&&t.onTrigger(u)})),this.register({type:i.Type.Event,name:t}),this.$element.trigger(u),this.settings&&"function"===typeof this.settings[s]&&this.settings[s].call(this,u)),u},i.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy((function(e,t){this._states.current[t]===r&&(this._states.current[t]=0),this._states.current[t]++}),this))},i.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy((function(e,t){this._states.current[t]--}),this))},i.prototype.register=function(t){if(t.type===i.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var n=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!n||!n.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:n.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===i.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy((function(n,r){return e.inArray(n,this._states.tags[t.name])===r}),this)))},i.prototype.suppress=function(t){e.each(t,e.proxy((function(e,t){this._supress[t]=!0}),this))},i.prototype.release=function(t){e.each(t,e.proxy((function(e,t){delete this._supress[t]}),this))},i.prototype.pointer=function(e){var n={x:null,y:null};return(e=(e=e.originalEvent||e||t.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(n.x=e.pageX,n.y=e.pageY):(n.x=e.clientX,n.y=e.clientY),n},i.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},i.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each((function(){var r=e(this),o=r.data("owl.carousel");o||(o=new i(this,"object"==typeof t&&t),r.data("owl.carousel",o),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(t,n){o.register({type:i.Type.Event,name:n}),o.$element.on(n+".owl.carousel.core",e.proxy((function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([n]),o[n].apply(this,[].slice.call(arguments,1)),this.release([n]))}),o))}))),"string"==typeof t&&"_"!==t.charAt(0)&&o[t].apply(o,n)}))},e.fn.owlCarousel.Constructor=i})(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy((function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},i.prototype.destroy=function(){var e,n;for(e in t.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy((function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var n=this._core.settings,i=n.center&&Math.ceil(n.items/2)||n.items,o=n.center&&-1*i||0,a=(t.property&&t.property.value!==r?t.property.value:this._core.current())+o,l=this._core.clones().length,s=e.proxy((function(e,t){this.load(t)}),this);for(n.lazyLoadEager>0&&(i+=n.lazyLoadEager,n.loop&&(a-=n.lazyLoadEager,i++));o++<i;)this.load(l/2+this._core.relative(a)),l&&e.each(this._core.clones(this._core.relative(a)),s),a++}}),this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={lazyLoad:!1,lazyLoadEager:0},i.prototype.load=function(n){var r=this._core.$stage.children().eq(n),i=r&&r.find(".owl-lazy");!i||e.inArray(r.get(0),this._loaded)>-1||(i.each(e.proxy((function(n,r){var i,o=e(r),a=t.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src")||o.attr("data-srcset");this._core.trigger("load",{element:o,url:a},"lazy"),o.is("img")?o.one("load.owl.lazy",e.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this)).attr("src",a):o.is("source")?o.one("load.owl.lazy",e.proxy((function(){this._core.trigger("loaded",{element:o,url:a},"lazy")}),this)).attr("srcset",a):((i=new Image).onload=e.proxy((function(){o.css({"background-image":'url("'+a+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this),i.src=a)}),this)),this._loaded.push(r.get(0)))},i.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(n){this._core=n,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy((function(e){e.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":e.proxy((function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()}),this),"loaded.owl.lazy":e.proxy((function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var r=this;e(t).on("load",(function(){r._core.settings.autoHeight&&r.update()})),e(t).resize((function(){r._core.settings.autoHeight&&(null!=r._intervalId&&clearTimeout(r._intervalId),r._intervalId=setTimeout((function(){r.update()}),250))}))};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t=this._core._current,n=t+this._core.settings.items,r=this._core.settings.lazyLoad,i=this._core.$stage.children().toArray().slice(t,n),o=[],a=0;e.each(i,(function(t,n){o.push(e(n).height())})),(a=Math.max.apply(null,o))<=1&&r&&this._previousHeight&&(a=this._previousHeight),this._previousHeight=a,this._core.$stage.parent().height(a).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!==typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy((function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":e.proxy((function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()}),this),"refreshed.owl.carousel":e.proxy((function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":e.proxy((function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":e.proxy((function(t){if(t.namespace){var n=e(t.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,e(t.content)))}}),this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy((function(e){this.play(e)}),this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(e,t){var n=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",r=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),i=e.attr("data-width")||this._core.settings.videoWidth,o=e.attr("data-height")||this._core.settings.videoHeight,a=e.attr("href");if(!a)throw new Error("Missing video URL.");if((r=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else if(r[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(r[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}r=r[6],this._videos[a]={type:n,id:r,width:i,height:o},t.attr("data-video",a),this.thumbnail(e,this._videos[a])},i.prototype.thumbnail=function(t,n){var r,i,o,a=n.width&&n.height?"width:"+n.width+"px;height:"+n.height+"px;":"",l=t.find("img"),s="src",u="",c=this._core.settings,d=function(n){i='<div class="owl-video-play-icon"></div>',r=c.lazyLoad?e("<div/>",{class:"owl-video-tn "+u,srcType:n}):e("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+n+")"}),t.after(r),t.after(i)};if(t.wrap(e("<div/>",{class:"owl-video-wrapper",style:a})),this._core.settings.lazyLoad&&(s="data-src",u="owl-lazy"),l.length)return d(l.attr(s)),l.remove(),!1;"youtube"===n.type?(o="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",d(o)):"vimeo"===n.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){o=e[0].thumbnail_large,d(o)}}):"vzaar"===n.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){o=e.framegrab_url,d(o)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var n,r=e(t.target).closest("."+this._core.settings.itemClass),i=this._videos[r.attr("data-video")],o=i.width||"100%",a=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),r=this._core.items(this._core.relative(r.index())),this._core.reset(r.index()),(n=e('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",a),n.attr("width",o),"youtube"===i.type?n.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?n.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&n.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),e(n).wrap('<div class="owl-video-frame" />').insertAfter(r.find(".owl-video")),this._playing=r.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this.core=t,this.core.options=e.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=r,this.next=r,this.handlers={"change.owl.carousel":e.proxy((function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy((function(e){e.namespace&&(this.swapping="translated"==e.type)}),this),"translate.owl.carousel":e.proxy((function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};i.Defaults={animateOut:!1,animateIn:!1},i.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,n=e.proxy(this.clear,this),r=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),r.one(e.support.animation.end,n).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(a)),o&&i.one(e.support.animation.end,n).addClass("animated owl-animated-in").addClass(o))}},i.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},i.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":e.proxy((function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)}),this),"initialized.owl.carousel":e.proxy((function(e){e.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":e.proxy((function(e,t,n){e.namespace&&this.play(t,n)}),this),"stop.owl.autoplay":e.proxy((function(e){e.namespace&&this.stop()}),this),"mouseover.owl.autoplay":e.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":e.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":e.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":e.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(r){this._call=t.setTimeout(e.proxy(this._next,this,r),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||n.hidden||this._core.next(r||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(n,r){var i;this._core.is("rotating")||this._core.enter("rotating"),n=n||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||n),n),this._paused?(this._time=this.read(),this._paused=!1):t.clearTimeout(this._call),this._time+=this.read()%n-i,this._timeout=n,this._call=t.setTimeout(e.proxy(this._next,this,r),n-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,t.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,t.clearTimeout(this._call))},i.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":e.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())}),this),"remove.owl.carousel":e.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)}),this),"changed.owl.carousel":e.proxy((function(e){e.namespace&&"position"==e.property.name&&this.draw()}),this),"initialized.owl.carousel":e.proxy((function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":e.proxy((function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=e.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers)};i.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},i.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?e(n.navContainer):e("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy((function(e){this.prev(n.navSpeed)}),this)),this._controls.$next=e("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy((function(e){this.next(n.navSpeed)}),this)),n.dotsData||(this._templates=[e('<button role="button">').addClass(n.dotClass).append(e("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?e(n.dotsContainer):e("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",e.proxy((function(t){var r=e(t.target).parent().is(this._controls.$absolute)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(r,n.dotsSpeed)}),this)),this._overrides)this._core[t]=e.proxy(this[t],this)},i.prototype.destroy=function(){var e,t,n,r,i;for(e in i=this._core.settings,this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)"$relative"===t&&i.navContainer?this._controls[t].html(""):this._controls[t].remove();for(r in this.overides)this._core[r]=this._overrides[r];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},i.prototype.update=function(){var e,t,n=this._core.clones().length/2,r=n+this._core.items().length,i=this._core.maximum(!0),o=this._core.settings,a=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],e=n,t=0;e<r;e++){if(t>=a||0===t){if(this._pages.push({start:Math.min(i,e-n),end:e-n+a-1}),Math.min(i,e-n)===i)break;t=0}t+=this._core.mergers(this._core.relative(e))}},i.prototype.draw=function(){var t,n=this._core.settings,r=this._core.items().length<=n.items,i=this._core.relative(this._core.current()),o=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||r),n.nav&&(this._controls.$previous.toggleClass("disabled",!o&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||r),n.dots&&(t=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):t>0?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(e.inArray(this.current(),this._pages)).addClass("active"))},i.prototype.onTrigger=function(t){var n=this._core.settings;t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},i.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,e.proxy((function(e,n){return e.start<=t&&e.end>=t}),this)).pop()},i.prototype.getPosition=function(t){var n,r,i=this._core.settings;return"page"==i.slideBy?(n=e.inArray(this.current(),this._pages),r=this._pages.length,t?++n:--n,n=this._pages[(n%r+r)%r].start):(n=this._core.relative(this._core.current()),r=this._core.items().length,t?n+=i.slideBy:n-=i.slideBy),n},i.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},i.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},i.prototype.to=function(t,n,r){var i;!r&&this._pages.length?(i=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,n)):e.proxy(this._overrides.to,this._core)(t,n)},e.fn.owlCarousel.Constructor.Plugins.Navigation=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy((function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":e.proxy((function(t){if(t.namespace){var n=e(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=t.content}}),this),"changed.owl.carousel":e.proxy((function(n){if(n.namespace&&"position"===n.property.name){var r=this._core.items(this._core.relative(this._core.current())),i=e.map(this._hashes,(function(e,t){return e===r?t:null})).join();if(!i||t.location.hash.slice(1)===i)return;t.location.hash=i}}),this)},this._core.options=e.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy((function(e){var n=t.location.hash.substring(1),i=this._core.$stage.children(),o=this._hashes[n]&&i.index(this._hashes[n]);o!==r&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)}),this))};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var n,r;for(n in e(t).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(n,this._handlers[n]);for(r in Object.getOwnPropertyNames(this))"function"!=typeof this[r]&&(this[r]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=e("<support>").get(0).style,o="Webkit Moz O ms".split(" "),a={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},l={csstransforms:function(){return!!s("transform")},csstransforms3d:function(){return!!s("perspective")},csstransitions:function(){return!!s("transition")},cssanimations:function(){return!!s("animation")}};function s(t,n){var a=!1,l=t.charAt(0).toUpperCase()+t.slice(1);return e.each((t+" "+o.join(l+" ")+l).split(" "),(function(e,t){if(i[t]!==r)return a=!n||t,!1})),a}function u(e){return s(e,!0)}l.csstransitions()&&(e.support.transition=new String(u("transition")),e.support.transition.end=a.transition.end[e.support.transition]),l.cssanimations()&&(e.support.animation=new String(u("animation")),e.support.animation.end=a.animation.end[e.support.animation]),l.csstransforms()&&(e.support.transform=new String(u("transform")),e.support.transform3d=l.csstransforms3d())}(window.Zepto||window.jQuery,window,document);var a=window.jQuery,l=function(e){function n(t){var n=e.call(this,t)||this;n.containerRef=function(e){n.container=e};var r=u(n.props),i=r[0],o=r[1];return n.options=i,n.propsWithoutOptions=o,n}return r(n,e),n.prototype.componentDidMount=function(){this.$ele=a(this.container),this.create()},n.prototype.UNSAFE_componentWillReceiveProps=function(){this.destory()},n.prototype.componentDidUpdate=function(){var e=u(this.props),t=e[0],n=e[1];this.options=t,this.propsWithoutOptions=n,this.create()},n.prototype.next=function(e){if(!this.$ele)throw new Error("OwlCarousel is not created");"number"===typeof e?this.$ele.trigger("next.owl.carousel",[e]):this.$ele.trigger("next.owl.carousel",e)},n.prototype.prev=function(e){if(!this.$ele)throw new Error("OwlCarousel is not created");"number"===typeof e?this.$ele.trigger("prev.owl.carousel",[e]):this.$ele.trigger("prev.owl.carousel",e)},n.prototype.to=function(e,t){if(!this.$ele)throw new Error("OwlCarousel is not created");"number"===typeof e&&"number"===typeof t?this.$ele.trigger("to.owl.carousel",[e,t]):this.$ele.trigger("to.owl.carousel")},n.prototype.create=function(e){if(!this.$ele)throw new Error("OwlCarousel is not created");this.$ele.owlCarousel(e||this.options)},n.prototype.destory=function(){if(!this.$ele)throw new Error("OwlCarousel is not created");this.$ele.trigger("destroy.owl.carousel")},n.prototype.play=function(e,t){if(!this.$ele)throw new Error("OwlCarousel is not created");"number"===typeof e&&"number"===typeof t?this.$ele.trigger("play.owl.autoplay",[e,t]):this.$ele.trigger("play.owl.autoplay")},n.prototype.stop=function(){if(!this.$ele)throw new Error("OwlCarousel is not created");this.$ele.trigger("stop.owl.autoplay")},n.prototype.render=function(){var e=this.propsWithoutOptions,n=e.className,r=o(e,["className"]);return t.createElement("div",i({className:"owl-carousel "+n,ref:this.containerRef},r))},n}(e.Component),s=new Set(["items","margin","loop","center","mouseDrag","touchDrag","pullDrag","freeDrag","stagePadding","merge","mergeFit","autoWidth","startPosition","URLhashListener","nav","rewind","navText","navElement","slideBy","dots","dotsEach","dotData","lazyLoad","lazyContent","autoplay","autoplayTimeout","autoplayHoverPause","smartSpeed","fluidSpeed","autoplaySpeed","navSpeed","dotsSpeed","dragEndSpeed","callbacks","responsive","responsiveRefreshRate","responsiveBaseElement","video","videoHeight","videoWidth","animateOut","animateIn","fallbackEasing","info","nestedItemSelector","itemElement","stageElement","navContainer","dotsContainer","refreshClass","loadingClass","loadedClass","rtlClass","dragClass","grabClass","stageClass","stageOuterClass","navContainerClass","navClass","controlsClass","dotClass","dotsClass","autoHeightClass","responsiveClass","onInitialize","onInitialized","onResize","onResized","onRefresh","onRefreshed","onDrag","onDragged","onTranslate","onTranslated","onChange","onChanged","onLoadLazy","onLoadedLazy","onStopVideo","onPlayVideo"]);function u(e){var t={},n={};return Object.keys(e).forEach((function(r){s.has(r)?t[r]=e[r]:n[r]=e[r]})),[t,n]}return l}(n(4077))},998:(e,t,n)=>{"use strict";var r=n(6998),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},4121:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var _=Array.isArray,x=Object.prototype.hasOwnProperty,k={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var i,o={},a=null,l=null;if(null!=t)for(i in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,i)&&!C.hasOwnProperty(i)&&(o[i]=t[i]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in s=e.defaultProps)void 0===o[i]&&(o[i]=s[i]);return{$$typeof:n,type:e,key:a,ref:l,props:o,_owner:k.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function N(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function z(e,t,i,o,a){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 n:case r:s=!0}}if(s)return a=a(s=e),e=""===o?"."+N(s,0):o,_(a)?(i="",null!=e&&(i=e.replace(P,"$&/")+"/"),z(a,t,i,"",(function(e){return e}))):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),t.push(a)),1;if(s=0,o=""===o?".":o+":",_(e))for(var u=0;u<e.length;u++){var c=o+N(l=e[u],u);s+=z(l,t,i,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=z(l=l.value,t,i,c=o+N(l,u++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function j(e,t,n){if(null==e)return e;var r=[],i=0;return z(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},O={transition:null},D={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:O,ReactCurrentOwner:k};t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)x.call(t,u)&&!C.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.2.0"},6998:(e,t,n)=>{"use strict";e.exports=n(4121)},3446:(e,t,n)=>{"use strict";e.exports=n(998)},2345:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function _(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,O(x);else{var t=r(c);null!==t&&D(_,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,y(E),E=-1),h=!0;var o=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!z());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(u)&&i(u),w(n)}else i(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&D(_,d.startTime-n),s=!1}return s}finally{f=null,p=o,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,S=null,E=-1,P=5,N=-1;function z(){return!(t.unstable_now()-N<P)}function j(){if(null!==S){var e=t.unstable_now();N=e;var n=!0;try{n=S(!0,e)}finally{n?k():(C=!1,S=null)}}else C=!1}if("function"===typeof b)k=function(){b(j)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,L=T.port2;T.port1.onmessage=j,k=function(){L.postMessage(null)}}else k=function(){v(j,0)};function O(e){S=e,C||(C=!0,k())}function D(e,n){E=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,O(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>a?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(g?(y(E),E=-1):g=!0,D(_,o-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,O(x))),e},t.unstable_shouldYield=z,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},3588:(e,t,n)=>{"use strict";e.exports=n(2345)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(6998),t=n(6896);const r=wp.i18n,i=(0,e.createContext)(null),o=(0,e.createContext)(null),a=(0,e.createContext)(null),l=(0,e.createContext)(null),s=(0,e.createContext)(null);var u,c=n(3446);class d{}u=d,d.getClassNames=(e,t,n)=>{let r=[t,e.customClass];return n.forEach((function(n){var i,o,a;"object"===typeof n&&r.push(t+"-"+(void 0===e[null===(i=Object.keys(n))||void 0===i?void 0:i[0]]?null===(o=Object.values(n))||void 0===o?void 0:o[0]:e[null===(a=Object.keys(n))||void 0===a?void 0:a[0]]));void 0!==e[n]&&r.push(t+"-"+e[n])})),r.join(" ")},d.getElementAttributes=(e,t,n)=>{let r=[];return t.forEach((function(t){var n,i,o,a;"object"===typeof t?r["data-".concat(null===(n=Object.keys(t))||void 0===n?void 0:n[0])]=void 0===e[null===(i=Object.keys(t))||void 0===i?void 0:i[0]]?null===(o=Object.values(t))||void 0===o?void 0:o[0]:e[null===(a=Object.keys(t))||void 0===a?void 0:a[0]]:void 0!==e[t]&&null!==e[t]&&("disabled"===t?r["".concat(t)]=e[t]:r["data-".concat(t)]=e[t])})),r},d.goToLink=(e,t)=>()=>{window.open(e,t)},d.getElementActions=(e,t,n)=>{if(null!==e&&void 0!==e&&e.link)return{onClick:u.goToLink(null===e||void 0===e?void 0:e.link,(null===e||void 0===e?void 0:e.target)||"_self")};{let n=[];return t.forEach((function(t){void 0!==e[t]&&(n["".concat(t)]=e[t])})),n}},d.getElementStyles=(e,t)=>{let n={};return t.forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n},d.checkNotEmpty=e=>{var t;return void 0!==e&&"undefined"!==e&&null!==e&&""!==(null===e||void 0===e||null===(t=e.toString())||void 0===t?void 0:t.replace(/ /gi,""))},d.ajaxPost=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;var a,l,s=new FormData;for(var c in t)s.append(c,t[c]);void 0===t.nonce&&s.append("nonce",null===(a=window)||void 0===a||null===(l=a.sb_customizer)||void 0===l?void 0:l.nonce);null!==r&&r.setLoader(!0),fetch(e,{method:"POST",credentials:"same-origin",body:s}).then((e=>e.json())).then((e=>{n(e),null!==r&&r.setLoader(!1),null!==i&&(null===o||void 0===o?void 0:o.success)&&u.applyNotification(o.success,i)})).catch((e=>{null!==r&&r.setLoader(!1),null!==i&&(null===o||void 0===o?void 0:o.error)&&u.applyNotification(o.error,i)}))},d.applyNotification=(e,t)=>{t.setNotification({active:!0,type:null===e||void 0===e?void 0:e.type,icon:null===e||void 0===e?void 0:e.icon,text:null===e||void 0===e?void 0:e.text}),setTimeout((function(){t.setNotification({active:!1,type:null,icon:null,text:null})}),null!==e&&void 0!==e&&e.time?null===e||void 0===e?void 0:e.time:3e3)},d.addCssUnit=e=>u.checkNotEmpty(e)?(e=e.toString().trim()).match(/^[0-9]+$/)?"".concat(e,"px"):e.match(/^[0-9]+px$/)||e.match(/^[0-9]+em$/)||e.match(/^[0-9]+%$/)||e.match(/^[0-9]+vh$/)||e.match(/^[0-9]+vw$/)?e:void 0:"0px",d.findElementById=(e,t,n)=>{let[,r]=Object.entries(e).find((e=>{let[r,i]=e;return i[t]===n}));return r},d.findNestedElement=(e,t,n)=>{if("object"===typeof e){return null===e||void 0===e?void 0:e.find(((r,i)=>{if(r[t]===n)return r;{let i=void 0!==(null===r||void 0===r?void 0:r.sections)?Object.entries(r.sections):r;var o,a;if("string"===typeof r)i=Object.entries(null===(o=e[1])||void 0===o?void 0:o.controls)?Object.entries(null===(a=e[1])||void 0===a?void 0:a.controls):{};return u.findNestedElement(i,t,n)}}))}return!1},d.printIcon=function(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;const a=void 0!==o&&{width:o+"px"}||null;return null!==(t=window)&&void 0!==t&&null!==(n=t.sb_customizer)&&void 0!==n&&n.iconsList[e]?(0,c.jsx)("span",{className:(!1!==r?r:"")+(void 0!==o?" sb-custom-icon-size":""),style:a,dangerouslySetInnerHTML:{__html:window.sb_customizer.iconsList[e]}},i):""},d.checkControlCondition=(e,t)=>{var n,r,i,o;let a=!(null===(n=window)||void 0===n||null===(r=n.sb_customizer)||void 0===r||!r.isPro||null===(i=window)||void 0===i||null===(o=i.sb_customizer)||void 0===o||!o.isPro);if(!0===(null===e||void 0===e?void 0:e.hidePro)&&!0!==a)return!1;if(void 0===(null===e||void 0===e?void 0:e.condition))return!0;{let n=0;Object.keys(e.condition).forEach((r=>{-1!==e.condition[r].indexOf(t[r])&&(n+=1)}));let r=n===Object.keys(e.condition).length;return!1===r&&!0===(null===e||void 0===e?void 0:e.conditionDimmed)?"dimmed":r}},d.getFeedStyling=(e,t,n)=>{let r="";return t.forEach((t=>{Object.values(t.sections).forEach((t=>{r+=u.getFeedStylingRecursive(t,e,n)}))})),r},d.getFeedStylingRecursive=(e,t,n)=>{let r="";return null===e||void 0===e||e.controls.forEach((function(e){let i=u.getSingleControlStyle(e,t,n);r+=!1!==i?i:"",void 0!==(null===e||void 0===e?void 0:e.controls)&&(r+=u.getFeedStylingRecursive(e,t,n))})),r},d.getSingleControlStyle=(e,t,n)=>{let r=u.checkControlCondition(e,t);if(void 0===(null===e||void 0===e?void 0:e.style)||!1===r)return!1;let i="",o="#sb-tiktok-feeds-container-"+n;return Object.entries(e.style).forEach((n=>{let r=t[null===e||void 0===e?void 0:e.id];if(void 0===r||null===r)return;let a=u.createCssStyle(e.type,r);i+=null!==a&&void 0!==a?"".concat(o+" "+n[0],"{").concat(n[1].replace("{{value}}",a),"}"):""})),i},d.createCssStyle=(e,t)=>{switch(e){case"boxshadow":return void 0===(null===t||void 0===t?void 0:t.enabled)||!1===(null===t||void 0===t?void 0:t.enabled)?null:"".concat(u.addCssUnit(t.x)," ").concat(u.addCssUnit(t.y)," ").concat(u.addCssUnit(t.blur)," ").concat(u.addCssUnit(t.spread)," ").concat(t.color);case"borderradius":return void 0===(null===t||void 0===t?void 0:t.enabled)||!1===(null===t||void 0===t?void 0:t.enabled)?null:t.radius+"px";case"stroke":return void 0===(null===t||void 0===t?void 0:t.enabled)||!1===(null===t||void 0===t?void 0:t.enabled)?null:t.thickness+"px solid "+t.color;case"distance":let e="";return["top","right","bottom","left"].forEach((n=>{e+=u.checkNotEmpty(t[n])?"".concat(t[n],"px "):"0px "})),e;case"font":let n="";return["family","weight","size","height"].forEach((e=>{let r=u.checkNotEmpty(t[e])&&"inherit"!==t[e];n+=r?"".concat("height"===e?"line":"font","-").concat(e,":").concat(t[e]).concat("size"===e?"px":"",";"):""})),n;default:return t}},d.printDate=(e,t,n)=>{var i,o;let a=e,l=new Date,s=l.getTimezoneOffset(),u=null===(i=window.sb_customizer)||void 0===i||null===(o=i.pluginSettings)||void 0===o?void 0:o.translations,c=[null!==u&&void 0!==u&&u.second?null===u||void 0===u?void 0:u.second:(0,r.__)("second","feeds-for-tiktok"),null!==u&&void 0!==u&&u.minute?null===u||void 0===u?void 0:u.minute:(0,r.__)("minute","feeds-for-tiktok"),null!==u&&void 0!==u&&u.hour?null===u||void 0===u?void 0:u.hour:(0,r.__)("hour","feeds-for-tiktok"),null!==u&&void 0!==u&&u.day?null===u||void 0===u?void 0:u.day:(0,r.__)("day","feeds-for-tiktok"),null!==u&&void 0!==u&&u.week?null===u||void 0===u?void 0:u.week:(0,r.__)("week","feeds-for-tiktok"),null!==u&&void 0!==u&&u.month?null===u||void 0===u?void 0:u.month:(0,r.__)("month","feeds-for-tiktok"),null!==u&&void 0!==u&&u.year?null===u||void 0===u?void 0:u.year:(0,r.__)("year","feeds-for-tiktok")],d=[null!==u&&void 0!==u&&u.seconds?null===u||void 0===u?void 0:u.seconds:(0,r.__)("seconds","feeds-for-tiktok"),null!==u&&void 0!==u&&u.minutes?null===u||void 0===u?void 0:u.minutes:(0,r.__)("minutes","feeds-for-tiktok"),null!==u&&void 0!==u&&u.hours?null===u||void 0===u?void 0:u.hours:(0,r.__)("hours","feeds-for-tiktok"),null!==u&&void 0!==u&&u.days?null===u||void 0===u?void 0:u.days:(0,r.__)("days","feeds-for-tiktok"),null!==u&&void 0!==u&&u.weeks?null===u||void 0===u?void 0:u.weeks:(0,r.__)("weeks","feeds-for-tiktok"),null!==u&&void 0!==u&&u.months?null===u||void 0===u?void 0:u.months:(0,r.__)("months","feeds-for-tiktok"),null!==u&&void 0!==u&&u.years?null===u||void 0===u?void 0:u.years:(0,r.__)("years","feeds-for-tiktok")],f=["60","60","24","7","4.35","12","10"],p=l.getTime()/1e3,h=a+s,m="",g=t.dateFormat,v=null!==u&&void 0!==u&&u.ago?null===u||void 0===u?void 0:u.ago:(0,r.__)("ago","feeds-for-tiktok"),y=null,b={2:"F jS, g:i a",3:"F jS",4:"D F jS",5:"l F jS",6:"D M jS, Y",7:"l F jS, Y",8:"l F jS, Y - g:i a",9:"l M jS, 'y",10:"m.d.y",11:"m/d/y",12:"d.m.y",13:"d/m/y",14:"d-m-Y, G:i",15:"jS F Y, G:i",16:"d M Y, G:i",17:"l jS F Y, G:i",18:"m.d.y - G:i",19:"d.m.y - G:i"};if(void 0!==b[g])m=window.date_i18n(b[g],h);else if("custom"===g){let e=t.dateCustomFormat;try{m=window.date_i18n(e,h)}catch(_){m=(0,r.__)("Unsupported Format","feeds-for-tiktok")}}else{y=p>a?p-a:a-p;for(var w=0;y>=f[w]&&w<f.length-1;w++)y/=f[w];y=Math.round(y),1!==y&&(c[w]=d[w]),m=y+" "+c[w]+" "+v}return m},d.printText=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e,i=t.contentLength;return u.checkNotEmpty(e)&&r.length>i&&!1===n?(0,c.jsxs)(c.Fragment,{children:[r.substring(0,i),(0,c.jsx)("button",{className:"sb-post-readmorelink",children:"..."})]}):r},d.getHighlightedSectionRecursive=e=>{let t={};return null===e||void 0===e||e.controls.forEach((function(e){void 0!==(null===e||void 0===e?void 0:e.highlight)&&(t[null===e||void 0===e?void 0:e.highlight]=e),void 0!==(null===e||void 0===e?void 0:e.controls)&&(t={...t,...u.getHighlightedSectionRecursive(e)})})),t},d.getHighlightedSection=e=>{let t={};return e.forEach((e=>{Object.values(e.sections).forEach((e=>{void 0!==(null===e||void 0===e?void 0:e.highlight)&&(t[null===e||void 0===e?void 0:e.highlight]=e),t={...t,...u.getHighlightedSectionRecursive(e)}}))})),t},d.addHighlighter=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const{editorActiveSection:o,editorFeedHighlightedSection:l,editorHighlightedSection:s}=(0,e.useContext)(a);return(0,c.jsx)("div",{className:"sb-preview-highlight-ctn sb-tr-1","data-active":window.highlightedSection===t&&0===r,"data-dimmed":s.hoveredHighlightedSection!==t&&null!==s.hoveredHighlightedSection?"true":"false","data-hover":s.hoveredHighlightedSection===t&&window.highlightedSection!==t,"data-isparent":i,onMouseEnter:()=>{s.setHoveredHighlightedSection(t)},onMouseLeave:()=>{s.setHoveredHighlightedSection(null)},onClick:()=>{void 0!==l[t]&&o.setActiveSection(l[t])},children:(0,c.jsx)("span",{className:"sb-preview-highlight-txt",dangerouslySetInnerHTML:{__html:n.replace(/\s/g,"&nbsp;")}})})},d.printTooltip=function(e){var t,n,r,i,o;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l={type:null!==(t=a.type)&&void 0!==t?t:"default",position:null!==(n=a.position)&&void 0!==n?n:"top-center",textAlign:null!==(r=a.textAlign)&&void 0!==r?r:"left",width:null!==(i=a.width)&&void 0!==i?i:"default",replaceText:null===(o=a.replaceText)||void 0===o||o};return(0,c.jsx)("div",{className:"sb-tooltip","data-type":l.type,"data-position":l.position,"data-width":l.width,"data-textalign":l.textAlign,dangerouslySetInnerHTML:{__html:l.replaceText?e.replace(/\s/g,"&nbsp;"):e}})},d.copyToClipBoard=(e,t)=>{u.applyNotification({icon:"success",text:(0,r.__)("Copied to Clipboard","feeds-for-tiktok")},t);const n=document.createElement("textarea");n.className="sb-copy-clpboard",n.value=e,document.body.appendChild(n),n.select(),document.execCommand ("copy"),document.body.removeChild(n)},d.stringify=e=>JSON.stringify(e,((e,t)=>(isNaN(t)||Array.isArray(t)||"boolean"===typeof t||"string"===typeof t||(t=Number(t)),t))),d.jsonParse=e=>{try{return JSON.parse(e)}catch(t){return!1}},d.checkAPIKeys=(e,t,n,i,o)=>{let a={};!1===i&&(a={...a,upgradeProNotice:{heading:(0,r.__)("You're using TikTok Feeds Lite. To unlock more features consider","feeds-for-tiktok"),active:!0,actionText:(0,r.__)("upgrading to Pro","feeds-for-tiktok"),type:"default",close:!1,actionClick:()=>{window.open("https://smashballoon.com/tiktok-feeds/tiktok-lite-upgrade/?utm_campaign=tiktok-free&utm_source=lite-upgrade-bar&utm_medium=upgrade-link")}}});const l=new URLSearchParams(window.location.search),s=l.get("sw-feed"),u=l.get("feed_id");if(i&&s&&!0===o){let e=(0,r.__)("Once you are done creating the TikTok Feed, you can go back to Social plugin.","feeds-for-tiktok"),t=(0,r.__)("Go to Social Wall","feeds-for-tiktok"),n="social-wall";u&&(e=(0,r.__)("TikTok feed successfully created!","feeds-for-tiktok"),t=(0,r.__)("Go to Social Wall","feeds-for-tiktok"),n="social-wall-success"),a={...a,socialWallNotice:{heading:e,active:!0,actionText:t,type:n,close:!1,actionClick:()=>{window.location.href="admin.php?page=sbsw#/create-feed"}}}}return{...e,topNoticeBar:{...t,...a}}},d.getCurrentContext=()=>{let e=window.sb_customizer.isFeedEditor?a:o;return"settings"===window.sb_customizer.reactScreen&&(e=l),"aboutus"===window.sb_customizer.reactScreen&&(e=i),"support"===window.sb_customizer.reactScreen&&(e=s),e},d.exportStringToFile=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json";const r=document.createElement("a"),i=new Blob([e],{type:n});r.href=URL.createObjectURL(i),r.download=t,document.body.appendChild(r),r.click()},d.feedFlyPreview=(e,t,n,i,o)=>{var a,l,s,c;const d={action:"sbtt_feed_customizer_fly_preview",feedID:null===e||void 0===e||null===(a=e.feedData)||void 0===a||null===(l=a.feed_info)||void 0===l?void 0:l.id,previewSettings:u.stringify(o.current),feedName:null===e||void 0===e||null===(s=e.feedData)||void 0===s||null===(c=s.feed_info)||void 0===c?void 0:c.feed_name},f={success:{icon:"success",text:(0,r.__)("Preview updated successfully","feeds-for-tiktok")}};u.ajaxPost(i.ajaxHandler,d,(t=>{var n,r,i,o;null!==t&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&n.posts&&null!==t&&void 0!==t&&null!==(r=t.data)&&void 0!==r&&r.errors&&e.setFeedData({...e.feedData,posts:null===t||void 0===t||null===(i=t.data)||void 0===i?void 0:i.posts,errors:null===t||void 0===t||null===(o=t.data)||void 0===o?void 0:o.errors})}),t,n,f)},d.convertDate=e=>new Date(e).getTime()/1e3,d.saveFeedData=function(e,t,n,i,o,a){let l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c=arguments.length>8&&void 0!==arguments[8]&&arguments[8];const d={action:"sbtt_builder_update",update_feed:!0,feed_id:e.feedData.feed_info.id,feed_name:e.feedData.feed_info.feed_name,feed_style:t,settings:u.stringify(s?n.current:n.feedSettings),get_posts:c},f={success:{icon:"success",text:(0,r.__)("Feed saved successfully","feeds-for-tiktok")}};u.checkNotEmpty(localStorage.getItem("newCreatedFeed"))&&(o=null,a=null),u.ajaxPost(i.ajaxHandler,d,(t=>{var n,r;!0===c&&(null!==t&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&n.posts&&e.setFeedData({...e.feedData,posts:null===t||void 0===t||null===(r=t.data)||void 0===r?void 0:r.posts}));!0===l&&(window.location.href=i.builderUrl),localStorage.removeItem("newCreatedFeed")}),o,a,f)},d.loadMorePosts=async function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;const r=null===(t=window)||void 0===t?void 0:t.sbtt_feed_options,i={action:"sbtt_load_more_posts",nonce:null===r||void 0===r?void 0:r.nonce,feed_id:e,next_page:n};return new Promise(((e,t)=>{u.ajaxPost(null===r||void 0===r?void 0:r.ajaxHandler,i,(n=>{var r;if(null!==n&&void 0!==n&&null!==(r=n.data)&&void 0!==r&&r.posts){var i,o;const t={posts:null===n||void 0===n||null===(i=n.data)||void 0===i?void 0:i.posts,nextPage:null===n||void 0===n||null===(o=n.data)||void 0===o?void 0:o.next_page};e(t)}else t(new Error("No posts found"))}))}))},d.updateArray=(e,t)=>{let n=[...t];return n.includes(e)?n.splice(n.indexOf(e),1):n.push(e),n},d.feedsCountPerTier=()=>({free:2,basic:10,plus:20,pro:50}),d.checkFeedLimitReached=e=>{var t,n,r,i,o;if(void 0===e)return!1;let a=null!==(t=null===(n=window)||void 0===n||null===(r=n.sb_customizer)||void 0===r||null===(i=r.pluginStatus)||void 0===i?void 0:i.license_tier)&&void 0!==t?t:"free";return e>=(null!==(o=u.feedsCountPerTier()[a])&&void 0!==o?o:5)},d.sourcesPerTier=()=>({free:1,basic:5,plus:10,pro:25}),d.checkSourceLimitReached=e=>{var t,n,r,i,o;if(void 0===e)return!1;let a=null!==(t=null===(n=window)||void 0===n||null===(r=n.sb_customizer)||void 0===r||null===(i=r.pluginStatus)||void 0===i?void 0:i.license_tier)&&void 0!==t?t:"free";return e>=(null!==(o=u.sourcesPerTier()[a])&&void 0!==o?o:1)},d.canCombineSources=()=>{var e,t,n,r,i,o,a;if("free"===(null!==(e=null===(t=window)||void 0===t||null===(n=t.sb_customizer)||void 0===n||null===(r=n.pluginStatus)||void 0===r?void 0:r.license_tier)&&void 0!==e?e:"free"))return!1;let l=null!==(i=null===(o=window)||void 0===o||null===(a=o.sb_customizer)||void 0===a?void 0:a.tieredFeatures)&&void 0!==i?i:[];return!(!l||!l.includes("combine_feed_sources"))},d.checkTierHasFeature=e=>{var t,n,r,i,o,a,l;if("free"===(null!==(t=null===(n=window)||void 0===n||null===(r=n.sb_customizer)||void 0===r||null===(i=r.pluginStatus)||void 0===i?void 0:i.license_tier)&&void 0!==t?t:"free"))return!1;let s=null!==(o=null===(a=window)||void 0===a||null===(l=a.sb_customizer)||void 0===l?void 0:l.tieredFeatures)&&void 0!==o?o:[];return!(!s||!s.includes(e))},d.mapUpsellModalToTierFeature=e=>{const t={loadMoreModal:"load_more_button",listModal:"list_layout",masonryModal:"masonry_layout",carouselModal:"carousel_layout",galleryModal:"gallery_layout",filtersModal:"filter_posts",randomSortModal:"random_sorting",plusTemplateModal:"plus_templates",basicTemplateModal:"basic_templates",proHeaderModal:"header_stats_info",proPostModal:"post_stats_info",cardLayoutModal:"card_layout",playerExperienceModal:"inline_player"};return!!t[e]&&u.checkTierHasFeature(t[e])},d.checkSettingIsPro=e=>{var t,n,r,i;if(void 0===e)return!1;return(!!(null===(t=window)||void 0===t||null===(n=t.sb_customizer)||void 0===n||!n.isPro||null===(r=window)||void 0===r||null===(i=r.sb_customizer)||void 0===i||!i.isPro)||!0!==u.mapUpsellModalToTierFeature(e))&&e},d.openUpsellModal=(e,t)=>{t.setUpsellActive(e)},d.printProLabel=e=>{if(e)return(0,c.jsx)("span",{className:"sb-pro-label",children:"PRO"})},d.printRocketIcon=e=>{if(e)return u.printIcon("rocket","sb-rocket-svg",!1,12)},d.decodeHTMLEntities=e=>{if("string"!==typeof e)return e;return Object.entries({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'}).forEach((t=>{let[n,r]=t;e=e.replaceAll(n,r)})),e=e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")},d.getUpgradedProTier=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(void 0===e||void 0===e.item_name)return!1;let t=e.item_name.toLowerCase();return["custom","tiktok","plugin","wordpress","feeds","feed","pro"," "].forEach((e=>{t=t.replace(e,"")})),t},d.generateAltText=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:95;if(null===e||void 0===e||!e.video_description||""===e.video_description.trim())return(0,r.__)("TikTok video content","feeds-for-tiktok");const n=e.video_description;if(n.length<=t)return n;const i=[".","!","?",";"],o=[" and "," or "," but "," so "," because "," however "];for(const r of i){const e=n.lastIndexOf(r,t);if(e>t/2)return n.substring(0,e+1)}for(const r of o){const e=n.lastIndexOf(r,t);if(e>t/2)return n.substring(0,e)}let a=t;for(;a>t-20;){if(" "===n[a])return n.substring(0,a)+"...";a--}return n.substring(0,t)+"..."};const f=d,p=e=>(0,c.jsxs)("button",{className:f.getClassNames(e,"sb-btn",["type","size"]),...f.getElementActions(e,["onClick"]),...f.getElementAttributes(e,[{"icon-position":"left"},"full-width","boxshadow","disabled","loading"]),"data-onlyicon":void 0!==e.text,style:f.getElementStyles(e,["fontSize","backgroundColor"]),children:[f.printIcon(e.icon,"sb-btn-icon",!1,null===e||void 0===e?void 0:e.iconSize)," ",e.text,void 0!==(null===e||void 0===e?void 0:e.tooltip)&&f.printTooltip(e.tooltip,{type:null===e||void 0===e?void 0:e.tooltipType,position:null===e||void 0===e?void 0:e.tooltipPosition})]}),h=(0,e.createContext)({gdprActive:!1,gdprConsented:!0,gdprPlaceholder:"",gdprAvatarPlaceholder:""}),m=h.Provider,g=()=>(0,e.useContext)(h),v=e=>{var t,n,i,o,a,l,s,u,d,h,m,v;let{feedSettings:y,headerData:b,isPro:w,isFeedEditor:_}=e;const{gdprActive:x,gdprConsented:k,gdprAvatarPlaceholder:C}=g(),S=(null===y||void 0===y?void 0:y.headerAvatar)||"small",E=!x||k;return b=b[0]||b,y.showHeader&&b&&(null===(t=b)||void 0===t?void 0:t.display_name)&&(0,c.jsxs)("section",{className:"sb-feed-header sb-fs","data-align":"left",children:[_&&f.addHighlighter("header","Header",0,!0),(0,c.jsxs)("div",{className:"sb-feed-header-content",children:[(0,c.jsxs)("div",{className:"sb-feed-header-profile",children:[y.headerContent.includes("avatar")&&(0,c.jsxs)("div",{className:"sb-relative",children:[(0,c.jsx)("img",{className:"sb-feed-header-logo ".concat(S),src:E?(null===(n=b)||void 0===n?void 0:n.local_avatar_url)||(null===(i=b)||void 0===i?void 0:i.avatar_url_100):(null===(o=b)||void 0===o?void 0:o.local_avatar_url)||C||"",alt:(0,r.__)("Header Logo","feeds-for-tiktok")}),_&&f.addHighlighter("header-avatar","Profile Picture")]}),(0,c.jsxs)("div",{className:"sb-feed-header-user-info",children:[(0,c.jsxs)("div",{className:"sb-feed-header-display-name",children:[y.headerContent.includes("name")&&(0,c.jsxs)("span",{className:"sb-relative",children:[(0,c.jsx)("span",{className:"sb-feed-header-name",children:null===(a=b)||void 0===a?void 0:a.display_name}),_&&f.addHighlighter("header-name","Name")]}),y.headerContent.includes("username")&&(0,c.jsxs)("span",{className:"sb-relative",children:[(0,c.jsxs)("span",{className:"sb-feed-header-username",children:["@",null===(l=b)||void 0===l?void 0:l.username]}),_&&f.addHighlighter("header-username","Username")]})]}),w&&y.headerContent.includes("description")&&(null===(s=b)||void 0===s?void 0:s.bio_description)&&(0,c.jsxs)("div",{className:"sb-feed-header-description sb-relative",children:[(0,c.jsx)("span",{children:null===(u=b)||void 0===u?void 0:u.bio_description}),_&&f.addHighlighter("header-description","Description")]}),w&&y.headerContent.includes("stats")&&(0,c.jsxs)("div",{className:"sb-feed-header-stats-info sb-relative",children:[(0,c.jsxs)("span",{children:[(0,c.jsxs)("span",{className:"sb-feed-header-stats",children:[null===(d=b)||void 0===d?void 0:d.following_count," "]}),(0,c.jsx)("span",{className:"sb-feed-header-stats-description",children:(0,r.__)("Following","feeds-for-tiktok")})]}),(0,c.jsxs)("span",{children:[(0,c.jsxs)("span",{className:"sb-feed-header-stats",children:[null===(h=b)||void 0===h?void 0:h.follower_count," "]}),(0,c.jsx)("span",{className:"sb-feed-header-stats-description",children:(0,r.__)("Followers","feeds-for-tiktok")})]}),(0,c.jsxs)("span",{children:[(0,c.jsxs)("span",{className:"sb-feed-header-stats",children:[null===(m=b)||void 0===m?void 0:m.likes_count," "]}),(0,c.jsx)("span",{className:"sb-feed-header-stats-description",children:(0,r.__)("Likes","feeds-for-tiktok")})]}),_&&f.addHighlighter("header-stats","Stats")]})]})]}),y.headerContent.includes("button")&&(0,c.jsxs)("div",{className:"sb-feed-header-btn-ctn sb-relative",children:[(0,c.jsx)(p,{customClass:"sb-feed-header-btn sbtt-feed-header-btn",text:y.headerButtonContent,link:null===(v=b)||void 0===v?void 0:v.profile_deep_link,target:"_blank"}),_&&f.addHighlighter("header-button","Button")]})]})]})},y=e=>{let{headerData:t}=e;return(0,c.jsxs)("div",{className:"sb-post-item-author",children:[(0,c.jsx)("img",{src:(null===t||void 0===t?void 0:t.local_avatar_url)||(null===t||void 0===t?void 0:t.avatar_url_100),alt:"profile",className:"sb-post-item-author-image"}),(0,c.jsxs)("p",{className:"sb-post-item-author-name",children:["@",null===t||void 0===t?void 0:t.username]})]})},b=t=>{let{feedSettings:n,post:r,postIndex:i,isFeedEditor:o}=t;const[a,l]=(0,e.useState)(!1),s=null===r||void 0===r?void 0:r.video_description,u=(null===n||void 0===n?void 0:n.contentLength)||100,d=null===s||void 0===s?void 0:s.substring(0,u);return(0,c.jsxs)("div",{className:"sb-post-item-caption sb-relative",children:[a?s:d,f.checkNotEmpty(s)&&s.length>u&&(0,c.jsx)("button",{className:"sb-post-readmorelink",onClick:()=>l(!a),children:"..."}),o&&f.addHighlighter("post-caption","Caption",i)]})},w=()=>(0,c.jsx)("svg",{width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"M0 2.38254C0 0.861336 1.63093 -0.102987 2.96384 0.630111L16.8138 8.24757C18.1953 9.00742 18.1953 10.9926 16.8138 11.7524L2.96384 19.3699C1.63093 20.103 0 19.1387 0 17.6175V2.38254Z",fill:"white"})}),_=e=>{const t=e.fillColor?e.fillColor:"white",n="white"===t?"0.9":"0.6";return(0,c.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("g",{opacity:n,children:(0,c.jsx)("path",{d:"M7.99996 6.5C7.46953 6.5 6.96082 6.71071 6.58575 7.08579C6.21067 7.46086 5.99996 7.96957 5.99996 8.5C5.99996 9.03043 6.21067 9.53914 6.58575 9.91421C6.96082 10.2893 7.46953 10.5 7.99996 10.5C8.53039 10.5 9.0391 10.2893 9.41417 9.91421C9.78925 9.53914 9.99996 9.03043 9.99996 8.5C9.99996 7.96957 9.78925 7.46086 9.41417 7.08579C9.0391 6.71071 8.53039 6.5 7.99996 6.5ZM7.99996 11.8333C7.1159 11.8333 6.26806 11.4821 5.64294 10.857C5.01782 10.2319 4.66663 9.38406 4.66663 8.5C4.66663 7.61595 5.01782 6.7681 5.64294 6.14298C6.26806 5.51786 7.1159 5.16667 7.99996 5.16667C8.88401 5.16667 9.73186 5.51786 10.357 6.14298C10.9821 6.7681 11.3333 7.61595 11.3333 8.5C11.3333 9.38406 10.9821 10.2319 10.357 10.857C9.73186 11.4821 8.88401 11.8333 7.99996 11.8333ZM7.99996 3.5C4.66663 3.5 1.81996 5.57333 0.666626 8.5C1.81996 11.4267 4.66663 13.5 7.99996 13.5C11.3333 13.5 14.18 11.4267 15.3333 8.5C14.18 5.57333 11.3333 3.5 7.99996 3.5Z",fill:t})})})},x=e=>{const t=e.fillColor?e.fillColor:"white",n="white"===t?"0.9":"0.6";return(0,c.jsx)("svg",{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{opacity:n,d:"M7.1123 12.6313C6.92822 12.6313 6.66162 12.4854 6.42676 12.333C2.89746 10.0479 0.618652 7.35645 0.618652 4.63965C0.618652 2.24023 2.28174 0.589844 4.33203 0.589844C5.60791 0.589844 6.55371 1.30078 7.1123 2.33545C7.67725 1.29443 8.62305 0.589844 9.89893 0.589844C11.9429 0.589844 13.606 2.24023 13.606 4.63965C13.606 7.35645 11.3271 10.0479 7.8042 12.333C7.56934 12.4854 7.29639 12.6313 7.1123 12.6313Z",fill:t})})},k=()=>(0,c.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"M12.3626 4.78024C12.2749 4.73489 12.1895 4.68518 12.1067 4.63129C11.866 4.47217 11.6453 4.28468 11.4494 4.07285C10.9592 3.51199 10.7762 2.94299 10.7087 2.54462H10.7114C10.6551 2.21395 10.6784 2 10.6819 2H8.44929V10.6332C8.44929 10.7491 8.44929 10.8637 8.44441 10.9769C8.44441 10.9909 8.44306 11.0039 8.44225 11.0191C8.44225 11.0253 8.44225 11.0318 8.44089 11.0383C8.44089 11.04 8.44089 11.0416 8.44089 11.0432C8.41736 11.353 8.31806 11.6522 8.15174 11.9146C7.98542 12.177 7.75717 12.3944 7.48707 12.5479C7.20556 12.708 6.88717 12.792 6.5633 12.7916C5.52308 12.7916 4.68002 11.9434 4.68002 10.8959C4.68002 9.84836 5.52308 9.00015 6.5633 9.00015C6.76021 8.99997 6.9559 9.03095 7.14313 9.09196L7.14583 6.8187C6.57748 6.74528 6.00008 6.79045 5.45006 6.95136C4.90004 7.11226 4.38933 7.38541 3.95016 7.75357C3.56534 8.08792 3.24182 8.48687 2.99417 8.93245C2.89992 9.09494 2.54433 9.74788 2.50127 10.8076C2.47419 11.4091 2.65483 12.0322 2.74095 12.2898V12.2952C2.79511 12.4469 3.005 12.9644 3.34704 13.4007C3.62286 13.7507 3.94872 14.0581 4.31414 14.3131V14.3077L4.31956 14.3131C5.4004 15.0476 6.59878 14.9994 6.59878 14.9994C6.80623 14.991 7.50115 14.9994 8.29032 14.6253C9.16561 14.2107 9.66392 13.593 9.66392 13.593C9.98226 13.2239 10.2354 12.8032 10.4125 12.3491C10.6145 11.818 10.6819 11.1811 10.6819 10.9265V6.34639C10.709 6.36264 11.0697 6.60123 11.0697 6.60123C11.0697 6.60123 11.5894 6.93434 12.4003 7.15126C12.982 7.30563 13.7658 7.33813 13.7658 7.33813V5.12174C13.4911 5.15153 12.9335 5.06487 12.3626 4.78024Z",fill:"#696D80"})}),C=e=>{let{style:t={},className:n=""}=e;return(0,c.jsx)("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:t,children:(0,c.jsx)("g",{children:(0,c.jsx)("path",{d:"M10 16.6673L3.33334 10.0007L10 3.33398L11.1875 4.50065L6.52084 9.16732H16.6667V10.834H6.52084L11.1875 15.5007L10 16.6673Z",fill:"#2C324C"})})})},S=e=>{let{style:t={},className:n=""}=e;return(0,c.jsx)("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:t,children:(0,c.jsx)("g",{children:(0,c.jsx)("path",{d:"M10 16.6673L8.81254 15.5007L13.4792 10.834H3.33337V9.16732H13.4792L8.81254 4.50065L10 3.33398L16.6667 10.0007L10 16.6673Z",fill:"#2C324C"})})})},E=()=>(0,c.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"M19.5 6.41L18.09 5L12.5 10.59L6.91 5L5.5 6.41L11.09 12L5.5 17.59L6.91 19L12.5 13.41L18.09 19L19.5 17.59L13.91 12L19.5 6.41Z",fill:"#434960"})}),P=e=>{let{post:t,fillColor:n}=e;return(0,c.jsxs)("span",{className:"sb-post-item-meta-likes",children:[(0,c.jsx)(x,{fillColor:n}),null===t||void 0===t?void 0:t.like_count]})},N=e=>{let{post:t,fillColor:n}=e;return(0,c.jsxs)("span",{className:"sb-post-item-meta-views",children:[(0,c.jsx)(_,{fillColor:n}),null===t||void 0===t?void 0:t.view_count]})},z=e=>{var t,n,r,i;let{isPro:o,post:a,feedSettings:l,headerData:s,postIndex:u,layout:d,isFeedEditor:f}=e;return(0,c.jsxs)("div",{className:"sb-post-item-details",children:[o&&(null===l||void 0===l||null===(t=l.postElements)||void 0===t?void 0:t.includes("author_info"))&&"list"===d&&(0,c.jsx)(y,{headerData:s}),o&&(null===l||void 0===l||null===(n=l.postElements)||void 0===n?void 0:n.includes("caption"))&&(0,c.jsx)(b,{post:a,postIndex:u,feedSettings:l,isFeedEditor:f}),"list"===d&&(0,c.jsxs)("div",{className:"sb-post-item-meta",children:[o&&(null===l||void 0===l||null===(r=l.postElements)||void 0===r?void 0:r.includes("views"))&&(0,c.jsx)(N,{post:a,fillColor:"black"}),o&&(null===l||void 0===l||null===(i=l.postElements)||void 0===i?void 0:i.includes("likes"))&&(0,c.jsx)(P,{post:a,fillColor:"black"})]})]})},j=t=>{var n;let{post:r,playerExperience:i,dynamicHeight:o}=t;const[a,l]=(0,e.useState)(r);(0,e.useEffect)((()=>{l(r)}),[r]);return a.id!==r.id?"":(0,c.jsxs)("video",{..."inline"===i?{autoPlay:!0}:{autoPlay:!0,loop:!0},controls:!0,style:"inline"===i?{height:o||"inherit",width:"100%",backgroundColor:"black"}:{height:"80vh",width:"100%"},children:[(0,c.jsx)("source",{src:null!==(n=null===a||void 0===a?void 0:a.video_url)&&void 0!==n?n:"",type:"video/mp4"}),"Your browser does not support the video tag."]})},T=e=>{const{className:t}=e;return(0,c.jsx)("div",{className:"sb-post-item-play ".concat(t),children:(0,c.jsx)(w,{})})},L=(e,t,n,r)=>({position:"relative",width:"large"===e?"385px":"100%",height:["large","portrait"].includes(e)||"masonry"===n?"100%":"269px",overflow:"hidden",borderRadius:"regular"===t?"8px":"0px",background:r?"#E8E8E8":"black",margin:"auto"}),O=t=>{var n,r,i,o,a;let{isPro:l,post:s,feedSettings:u,activeIndex:d,setActiveIndex:p,postIndex:h,isPlaying:m,setIsPlaying:v,layout:y,handlePostClick:b,isFeedEditor:w}=t;const{gdprActive:_,gdprConsented:x,gdprPlaceholder:k}=g(),C="list"===y?"large":"widget"===(null===u||void 0===u?void 0:u.feedTemplate)?"portrait":"medium",S=(null===u||void 0===u?void 0:u.postStyle)||"regular",E=l&&(null===u||void 0===u?void 0:u.videoPlayer)||"lightbox",z=l&&(null!==u&&void 0!==u&&null!==(n=u.postElements)&&void 0!==n&&n.includes("views")||null!==u&&void 0!==u&&null!==(r=u.postElements)&&void 0!==r&&r.includes("likes"))?"":"sb-no-meta",[O,D]=(0,e.useState)("inherit"),I=(0,e.useRef)(null),M=!_||x,$=((e,t,n,r)=>null!==e&&void 0!==e&&e.local_cover_image_url?e.local_cover_image_url:!t||n?null===e||void 0===e?void 0:e.cover_image_url:r||"")(s,_,x,k),R=_&&!x&&!(null!==s&&void 0!==s&&s.local_cover_image_url);return(0,c.jsxs)("div",{ref:I,className:"sb-post-item-image-wrap",style:L(C,S,y,R),onClick:()=>{if(!w&&("lightbox"===E||"gallery"===y?b(h):M?(v(!0),p(h)):null!==s&&void 0!==s&&s.share_url&&window.open(s.share_url,"_blank","noopener,noreferrer"),I.current)){const e=I.current.clientHeight;D("".concat(e,"px"))}},children:[m&&l&&null!==s&&void 0!==s&&s.video_url&&M&&d===h&&"gallery"!==y?(0,c.jsx)(j,{post:s,playerExperience:E,dynamicHeight:O}):(0,c.jsx)("img",{className:"sb-post-item-image",src:$,alt:f.generateAltText(s)}),("gallery"===y||(!m||d!==h)&&"list"!==y)&&(0,c.jsxs)(c.Fragment,{children:[(null===u||void 0===u||null===(i=u.postElements)||void 0===i?void 0:i.includes("playIcon"))&&(0,c.jsx)(T,{className:z}),(0,c.jsxs)("div",{className:"sb-post-item-meta",children:[l&&(null===u||void 0===u||null===(o=u.postElements)||void 0===o?void 0:o.includes("views"))&&(0,c.jsx)(N,{post:s}),l&&(null===u||void 0===u||null===(a=u.postElements)||void 0===a?void 0:a.includes("likes"))&&(0,c.jsx)(P,{post:s})]})]})]})},D=e=>{var t,n;let{post:r,headerData:i,postIndex:o,feedSettings:a,isPro:l,isFeedEditor:s,handlePostClick:u,isPlaying:d,setIsPlaying:p,activeIndex:h,setActiveIndex:m}=e,g=null===a||void 0===a?void 0:a.layout,v=null===a||void 0===a?void 0:a.feedTemplate,b=parseInt(null===a||void 0===a?void 0:a.carouselDesktopColumns);i=((e,t)=>{var n;return(null===(n=e)||void 0===n?void 0:n.length)>1&&(e=e.filter((e=>e.open_id===t.open_id))),e[0]||e})(i,r),g=((e,t,n)=>["carousel","showcase_carousel"].includes(e)&&"carousel"===t&&1===n?"list":t)(v,g,b);const w="list"===g?"sb-post-list-item":"sb-post-block-item";return(0,c.jsxs)("div",{className:"sb-post-item-wrap",children:[(0,c.jsxs)("div",{className:"sb-post-item sbtt-post-item ".concat(w),"data-post-id":null===r||void 0===r?void 0:r.id,"data-processing-attempted":null!==r&&void 0!==r&&r.image_processing_attempted?"1":"0",children:[l&&(null===a||void 0===a||null===(t=a.postElements)||void 0===t?void 0:t.includes("author_info"))&&"list"!==g&&(0,c.jsx)(y,{headerData:i}),(null===a||void 0===a||null===(n=a.postElements)||void 0===n?void 0:n.includes("thumbnail"))&&(0,c.jsx)(O,{isPro:l,post:r,feedSettings:a,activeIndex:h,setActiveIndex:m,postIndex:o,isPlaying:d,setIsPlaying:p,layout:g,handlePostClick:u,isFeedEditor:s}),(0,c.jsx)(z,{isPro:l,post:r,feedSettings:a,headerData:i,postIndex:o,layout:g,isFeedEditor:s})]},o),s&&f.addHighlighter("tiktokfeed","Posts",o)]},o)},I=e=>(0,c.jsx)("section",{className:"sb-modal-ctn "+(null===e||void 0===e?void 0:e.className),...f.getElementAttributes(e,[{size:"medium"},"type"]),children:(0,c.jsxs)("div",{className:"sb-modal-insider",children:[e.closebutton&&(0,c.jsx)("div",{className:"sb-cls-ctn sb-modal-cls",onClick:()=>{(null===e||void 0===e?void 0:e.onClose)&&e.onClose()}}),e.children]})}),M=t=>{const n=(0,e.useRef)();return(0,e.useEffect)((()=>{const e=e=>{n.current&&!n.current.contains(e.target)&&t()};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[]),n},$=t=>{var n,r,i,o,a,l,s,u;let{closeModal:d,post:p,feedSettings:h,headerData:m,handleNext:v,handlePrev:y,showNext:b,showPrev:w,isPro:P,isLightboxVisible:N,setIsLightboxVisible:z}=t;const{gdprActive:T,gdprConsented:L,gdprAvatarPlaceholder:O}=g(),D=!T||L;let $=(null===p||void 0===p?void 0:p.video_description)||"";$.includes("  ")&&($=$.replace(/ {2}/g,"<br /><br />")),$=$.replace(/#(\w+)/g,'<a href="https://www.tiktok.com/tag/$1" target="_blank">#$1</a>');let R=P?"lightbox":"lightbox-free";R=P&&null!==p&&void 0!==p&&p.video_url?"lightbox-pro":R,(null===(n=m)||void 0===n?void 0:n.length)>1&&(m=m.filter((e=>e.open_id===p.open_id))),m=m[0]||m;const F=M((()=>{d()}));return(0,e.useEffect)((()=>{N?document.body.classList.add("sbt-lightbox-modal-open"):document.body.classList.remove("sbt-lightbox-modal-open"),window.sbttCurrentLightboxPostID=null===p||void 0===p?void 0:p.id}),[N]),(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(I,{size:R,type:null===h||void 0===h?void 0:h.feedTemplate,onClose:d,className:"sbt-lightbox-modal",children:(0,c.jsxs)("div",{className:"sbt-lightbox-modal-wrapper",ref:F,children:[(0,c.jsx)("div",{className:"sbt-lightbox-modal-close",onClick:d,children:(0,c.jsx)(E,{})}),(0,c.jsxs)("div",{className:"sbt-lightbox-modal-iframe-wrap",children:[D&&P&&(null===p||void 0===p?void 0:p.video_url)&&(0,c.jsx)(j,{post:p}),D&&(!P||!(null!==p&&void 0!==p&&p.video_url))&&(0,c.jsx)("iframe",{src:"https://www.tiktok.com/embed/v2/".concat(null===p||void 0===p?void 0:p.id),title:(null===p||void 0===p?void 0:p.video_description)||"TikTok Video",height:"758px",width:"325px",style:{border:"none",visibility:"unset",margin:"0 auto"}}),!D&&(0,c.jsx)("div",{className:"sbt-lightbox-modal-gdpr-notice",children:(0,c.jsx)("a",{href:null===p||void 0===p?void 0:p.share_url,target:"_blank",rel:"noopener noreferrer",children:(null===p||void 0===p?void 0:p.video_description)||"View on TikTok"})})]}),P&&(0,c.jsxs)("div",{className:"sbt-lightbox-modal-content",children:[(0,c.jsxs)("a",{className:"sbt-lightbox-modal-header",href:"https://www.tiktok.com/@".concat(null===(r=m)||void 0===r?void 0:r.username),target:"_blank",rel:"noreferrer",children:[(0,c.jsx)("img",{className:"sbt-lightbox-modal-avatar",src:D?(null===(i=m)||void 0===i?void 0:i.local_avatar_url)||(null===(o=m)||void 0===o?void 0:o.avatar_url_100):(null===(a=m)||void 0===a?void 0:a.local_avatar_url)||O||"",alt:(null===(l=m)||void 0===l?void 0:l.bio_description)||(null===(s=m)||void 0===s?void 0:s.username)}),(0,c.jsxs)("div",{children:[(0,c.jsxs)("p",{className:"sbt-lightbox-modal-username",children:["@",null===(u=m)||void 0===u?void 0:u.username]}),(0,c.jsx)("p",{className:"sbt-lightbox-modal-date",children:f.printDate(null===p||void 0===p?void 0:p.create_time,h)})]})]}),(0,c.jsx)("div",{className:"sbt-lightbox-modal-caption",dangerouslySetInnerHTML:{__html:f.printText($,h,!0)}}),(0,c.jsxs)("div",{className:"sbt-lightbox-modal-footer",children:[(0,c.jsxs)("div",{className:"sbt-lightbox-modal-stats",children:[(0,c.jsxs)("span",{className:"sbt-lightbox-modal-views",children:[(0,c.jsx)(_,{fillColor:"black"}),null===p||void 0===p?void 0:p.view_count]}),(0,c.jsxs)("span",{className:"sbt-lightbox-modal-likes",children:[(0,c.jsx)(x,{fillColor:"black"}),null===p||void 0===p?void 0:p.like_count]})]}),(0,c.jsx)("a",{href:null===p||void 0===p?void 0:p.share_url,target:"_blank",rel:"noreferrer",children:(0,c.jsx)(k,{})})]})]}),(0,c.jsx)("div",{onClick:y,children:(0,c.jsx)(C,{className:"sbt-lightbox-modal-prev",style:{display:w?"block":"none"}})}),(0,c.jsx)("div",{onClick:v,children:(0,c.jsx)(S,{className:"sbt-lightbox-modal-next",style:{display:b?"block":"none"}})})]})})})};var R=n(2407);const F=t=>{let{feedSettings:n,headerData:r,posts:i,isPro:o,editorActiveDevice:a,isFeedEditor:l}=t;const[s,u]=(0,e.useState)(null),[d,f]=(0,e.useState)(null),[p,h]=(0,e.useState)(!1),[m,g]=(0,e.useState)(!1);let v=n.gridDesktopColumns;if(l)switch(a.device){case"mobile":v=n.gridMobileColumns;break;case"tablet":v=n.gridTabletColumns;break;default:v=n.gridDesktopColumns}const y=e=>{u(i[e]),f(e),h(!0)};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"sb-grid-wrapper sb-fs","data-grid-columns":v,"data-grid-tablet-columns":n.gridTabletColumns,"data-grid-mobile-columns":n.gridMobileColumns,style:{display:"grid",columnGap:"".concat(n.horizontalSpacing,"px"),rowGap:"".concat(n.verticalSpacing,"px")},children:i.map(((e,t)=>(0,c.jsx)(D,{headerData:r,post:e,postIndex:t,feedSettings:n,isPro:o,isFeedEditor:l,handlePostClick:y,isPlaying:m,setIsPlaying:g,activeIndex:d,setActiveIndex:f},t)))}),p&&s&&(0,R.createPortal)((0,c.jsx)($,{closeModal:()=>{u(null),h(!1),document.body.classList.remove("sbt-lightbox-modal-open")},post:s,headerData:r,feedSettings:n,handleNext:()=>{const e=i.findIndex((e=>e.id===s.id));e===i.length-1||(u(i[e+1]),f(e+1))},handlePrev:()=>{const e=i.findIndex((e=>e.id===s.id));0===e||(u(i[e-1]),f(e-1))},showNext:!(d===i.length-1),showPrev:!(0===d),isPro:o,isLightboxVisible:p,setIsLightboxVisible:h}),document.body)]})};var A=n(6615),H=n.n(A);const U=t=>{let{feedSettings:n,headerData:r,posts:i,isPro:o,editorActiveDevice:a,isFeedEditor:l}=t;const[s,u]=(0,e.useState)(null),[d,f]=(0,e.useState)(null),[p,h]=(0,e.useState)(!1),[m,g]=(0,e.useState)(!1);let v=n.carouselDesktopColumns;if(l)switch(a.device){case"mobile":v=n.carouselMobileColumns;break;case"tablet":v=n.carouselTabletColumns;break;default:v=n.carouselDesktopColumns}let y={0:{items:n.carouselMobileColumns,rows:n.carouselMobileRows},600:{items:n.carouselTabletColumns,rows:n.carouselTabletRows},1024:{items:v,rows:n.carouselDesktopRows}};const b=e=>{u(i[e]),f(e),h(!0)};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(H(),{responsive:y,margin:parseInt(n.horizontalSpacing),loop:"infinity"===n.carouselLoopType,rewind:"rewind"===n.carouselLoopType,nav:n.carouselShowArrows,dots:n.carouselShowPagination,autoplay:n.carouselEnableAutoplay,autoplayTimeout:n.carouselIntervalTime,children:i.map(((e,t)=>(0,c.jsx)(D,{headerData:r,post:e,postIndex:t,feedSettings:n,isPro:o,isFeedEditor:l,handlePostClick:b,isPlaying:m,setIsPlaying:g,activeIndex:d,setActiveIndex:f},t)))}),p&&s&&(0,R.createPortal)((0,c.jsx)($,{closeModal:()=>{u(null),h(!1),document.body.classList.remove("sbt-lightbox-modal-open")},post:s,headerData:r,feedSettings:n,handleNext:()=>{const e=i.findIndex((e=>e.id===s.id));e===i.length-1||(u(i[e+1]),f(e+1))},handlePrev:()=>{const e=i.findIndex((e=>e.id===s.id));0===e||(u(i[e-1]),f(e-1))},showNext:!(d===i.length-1),showPrev:!(0===d),isPro:o,isLightboxVisible:p,setIsLightboxVisible:h}),document.body)]})};function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}function V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}var W=function(t){var n,r;function i(){return t.apply(this,arguments)||this}r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,V(n,r);var o=i.prototype;return o.getColumns=function(){var t=this.props,n=t.children,r=t.columnsCount,i=Array.from({length:r},(function(){return[]}));return e.Children.forEach(n,(function(t,n){t&&e.isValidElement(t)&&i[n%r].push(t)})),i},o.renderColumns=function(){var t=this.props.gutter;return this.getColumns().map((function(n,r){return e.createElement("div",{key:r,style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignContent:"stretch",flex:1,width:0,gap:t}},n.map((function(e){return e})))}))},o.render=function(){var t=this.props,n=t.gutter,r=t.className,i=t.style;return e.createElement("div",{style:B({display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"stretch",boxSizing:"border-box",width:"100%",gap:n},i),className:r},this.renderColumns())},i}(e.Component);W.propTypes={},W.defaultProps={columnsCount:3,gutter:"0",className:null,style:{}};const Q=W;var q="undefined"!==typeof window?e.useLayoutEffect:e.useEffect,Y=function(){var t=function(){var t=(0,e.useState)(!1),n=t[0],r=t[1];return q((function(){r(!0)}),[]),n}(),n=(0,e.useState)(0),r=n[0],i=n[1],o=(0,e.useCallback)((function(){t&&i(window.innerWidth)}),[t]);return q((function(){if(t)return window.addEventListener("resize",o),o(),function(){return window.removeEventListener("resize",o)}}),[t,o]),r},K=function(t){var n=t.columnsCountBreakPoints,r=void 0===n?{350:1,750:2,900:3}:n,i=t.children,o=t.className,a=void 0===o?null:o,l=t.style,s=void 0===l?null:l,u=Y(),c=(0,e.useMemo)((function(){var e=Object.keys(r).sort((function(e,t){return e-t})),t=e.length>0?r[e[0]]:1;return e.forEach((function(e){e<u&&(t=r[e])})),t}),[u,r]);return e.createElement("div",{className:a,style:s},e.Children.map(i,(function(t,n){return e.cloneElement(t,{key:n,columnsCount:c})})))};K.propTypes={};const G=K,Z=Q,X=t=>{let{feedSettings:n,posts:r,headerData:i,isPro:o,editorActiveDevice:a,isFeedEditor:l}=t;const[s,u]=(0,e.useState)(null),[d,f]=(0,e.useState)(null),[p,h]=(0,e.useState)(!1),[m,g]=(0,e.useState)(!1);let v=n.masonryDesktopColumns;if(l)switch(a.device){case"mobile":v=parseInt(n.masonryMobileColumns);break;case"tablet":v=parseInt(n.masonryTabletColumns);break;default:v=parseInt(n.masonryDesktopColumns)}const y={350:parseInt(n.masonryMobileColumns),750:parseInt(n.masonryTabletColumns),900:v},b=e=>{u(r[e]),f(e),h(!0)};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(G,{columnsCountBreakPoints:y,children:(0,c.jsx)(Z,{gutter:"".concat(n.horizontalSpacing,"px"),children:r.map(((e,t)=>(0,c.jsx)(D,{post:e,headerData:i,postIndex:t,feedSettings:n,isPro:o,isFeedEditor:l,handlePostClick:b,isPlaying:m,setIsPlaying:g,activeIndex:d,setActiveIndex:f},t)))})}),p&&s&&(0,R.createPortal)((0,c.jsx)($,{closeModal:()=>{u(null),h(!1),document.body.classList.remove("sbt-lightbox-modal-open")},post:s,headerData:i,feedSettings:n,handleNext:()=>{const e=r.findIndex((e=>e.id===s.id));e===r.length-1||(u(r[e+1]),f(e+1))},handlePrev:()=>{const e=r.findIndex((e=>e.id===s.id));0===e||(u(r[e-1]),f(e-1))},showNext:!(d===r.length-1),showPrev:!(0===d),isPro:o,isLightboxVisible:p,setIsLightboxVisible:h}),document.body)]})},J=t=>{let{feedSettings:n,posts:r,headerData:i,isPro:o,isFeedEditor:a}=t;const[l,s]=(0,e.useState)(null),[u,d]=(0,e.useState)(null),[f,p]=(0,e.useState)(!1),[h,m]=(0,e.useState)(!1),g=e=>{s(r[e]),d(e),p(!0)};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"sb-list-wrapper sb-fs",children:r.map(((e,t)=>(0,c.jsx)(D,{headerData:i,post:e,postIndex:t,feedSettings:n,isPro:o,isFeedEditor:a,handlePostClick:g,isPlaying:h,setIsPlaying:m,activeIndex:u,setActiveIndex:d},t)))}),f&&l&&(0,R.createPortal)((0,c.jsx)($,{closeModal:()=>{s(null),p(!1),document.body.classList.remove("sbt-lightbox-modal-open")},post:l,headerData:i,feedSettings:n,handleNext:()=>{const e=r.findIndex((e=>e.id===l.id));e===r.length-1||(s(r[e+1]),d(e+1))},handlePrev:()=>{const e=r.findIndex((e=>e.id===l.id));0===e||(s(r[e-1]),d(e-1))},showNext:!(u===r.length-1),showPrev:!(0===u),isPro:o,isLightboxVisible:f,setIsLightboxVisible:p}),document.body)]})},ee=t=>{var n;let{post:r,headerData:i,postIndex:o,feedSettings:a,isFeedEditor:l,isPlaying:s,setIsPlaying:u}=t;const{gdprActive:d,gdprConsented:p,gdprPlaceholder:h}=g();(null===(n=i)||void 0===n?void 0:n.length)>1&&(i=i.filter((e=>e.open_id===r.open_id))),i=i[0]||i;const[m,v]=(0,e.useState)("inherit"),w=(0,e.useRef)(null),_=!d||p,x=(null===r||void 0===r?void 0:r.local_cover_image_url)||(!d||p?null===r||void 0===r?void 0:r.cover_image_url:h||"");return(0,e.useEffect)((()=>{if(w.current){const e=w.current.clientHeight;v(e>0?"".concat(e,"px"):"inherit")}}),[s]),(0,c.jsxs)("div",{className:"sb-post-item-wrap sb-gallery-player",ref:w,children:[(0,c.jsxs)("div",{className:"sb-post-item sbtt-post-item ".concat("sb-post-list-item"),"data-post-id":null===r||void 0===r?void 0:r.id,"data-processing-attempted":null!==r&&void 0!==r&&r.image_processing_attempted?"1":"0",children:[(0,c.jsx)("div",{className:"sb-post-item-image-wrap",style:{position:"relative",width:"385px",height:"100%",overflow:"hidden",borderRadius:"4px",background:"black",margin:"auto"},children:s&&null!==r&&void 0!==r&&r.video_url&&_?(0,c.jsx)(j,{post:r,playerExperience:"inline",dynamicHeight:m}):(0,c.jsx)("img",{className:"sb-post-item-image",src:x,alt:f.generateAltText(r),onClick:()=>{if(!l&&_){if(u(!0),w.current){const e=w.current.clientHeight;v("".concat(e,"px"))}}else!l&&null!==r&&void 0!==r&&r.share_url&&window.open(r.share_url,"_blank","noopener,noreferrer")}})}),(0,c.jsxs)("div",{className:"sb-post-item-details",children:[(0,c.jsx)(y,{headerData:i}),(0,c.jsx)(b,{post:r,postIndex:o,feedSettings:a,isFeedEditor:l}),(0,c.jsxs)("div",{className:"sb-post-item-meta",children:[(0,c.jsx)(N,{post:r,fillColor:"black"}),(0,c.jsx)(P,{post:r,fillColor:"black"})]})]})]},o),l&&f.addHighlighter("tiktokfeed","Posts",o)]},o)},te=t=>{let{feedSettings:n,posts:r,headerData:i,isPro:o,editorActiveDevice:a,isFeedEditor:l,feedId:s}=t;const[u,d]=(0,e.useState)(r[0]||null),[f,p]=(0,e.useState)(r.length>0?0:null),[h,m]=(0,e.useState)(!1);let g=n.galleryDesktopColumns;if(l)switch(a.device){case"mobile":g=n.galleryMobileColumns;break;case"tablet":g=n.galleryTabletColumns;break;default:g=n.galleryDesktopColumns}const v=e=>{d(r[e]),m(!0),p(e);const t=document.getElementById("sb-tiktok-feeds-container-".concat(s));t&&t.scrollIntoView({behavior:"smooth"})};return(0,c.jsxs)(c.Fragment,{children:[u&&(0,c.jsx)(ee,{post:u,headerData:i,isPlaying:h,setIsPlaying:m}),(0,c.jsx)("div",{className:"sb-grid-wrapper sb-fs","data-grid-columns":g,"data-grid-tablet-columns":n.galleryTabletColumns,"data-grid-mobile-columns":n.galleryMobileColumns,style:{display:"grid",columnGap:"".concat(n.horizontalSpacing,"px"),rowGap:"".concat(n.verticalSpacing,"px")},children:r.map(((e,t)=>(0,c.jsx)(D,{headerData:i,post:e,postIndex:t,feedSettings:n,isPro:o,isFeedEditor:l,handlePostClick:v,isPlaying:h,setIsPlaying:m,activeIndex:f,setActiveIndex:p},t)))})]})},ne=e=>{let{feedSettings:t,headerData:n,posts:r,isPro:i,isFeedEditor:o,feedId:a,editorActiveDevice:l="desktop"}=e;const s={headerData:n,posts:r,feedSettings:t,editorActiveDevice:l,isPro:i,isFeedEditor:o,feedId:a};return(0,c.jsxs)("section",{className:"sb-feed-posts sb-fs","data-avatar-size":"medium",children:[r.length>0&&(()=>{switch(t.layout){case"grid":default:return(0,c.jsx)(F,{...s});case"list":return(0,c.jsx)(J,{...s});case"masonry":return(0,c.jsx)(X,{...s});case"carousel":return(0,c.jsx)(U,{...s});case"gallery":return(0,c.jsx)(te,{...s})}})(),o&&f.addHighlighter("posts-layout","Posts Layout",0,!0)]})},re=t=>{const{feedSettings:n,feedId:r,isFeedEditor:i,posts:o,setPosts:a,postsList:l,setPostsList:s,postsPerPage:u}=t,d=(null===n||void 0===n?void 0:n.layout)||"grid",[h,m]=(0,e.useState)(1),[g,v]=(0,e.useState)(1),[y,b]=(0,e.useState)(u),[w,_]=(0,e.useState)((null===t||void 0===t?void 0:t.nextPage)||null),[x,k]=(0,e.useState)((null===t||void 0===t?void 0:t.nextPage)||null);(0,e.useEffect)((()=>{i||(b(u),v(1),s(null===o||void 0===o?void 0:o.slice(0,u)))}),[u]);return(0,e.useEffect)((()=>{if(o&&(null===o||void 0===o?void 0:o.length)>0){const e=[...o.slice(0,g*u)];s(e)}}),[o]),(0,e.useEffect)((()=>(null===o||void 0===o?void 0:o.length)>(null===l||void 0===l?void 0:l.length)?k(!0):k(!1)),[o,l]),!0===(null===n||void 0===n?void 0:n.showLoadButton)&&"carousel"!==d&&(i||w||x)&&(0,c.jsxs)("section",{className:"sb-load-button-ctn sb-fs",children:[(0,c.jsx)(p,{text:null===n||void 0===n?void 0:n.loadButtonText,"full-width":!0,customClass:"sb-load-button",size:"small",onClick:i?null:async()=>{if((null===o||void 0===o?void 0:o.length)>=u*(g+1))s((e=>[...e,...o.slice(y,y+u)]));else{const e=h+1;m(e);const t=await f.loadMorePosts(r,e);null!==t&&void 0!==t&&t.nextPage?_(t.nextPage):_(null),a((e=>[...e,...null===t||void 0===t?void 0:t.posts]))}b(y+u),v(g+1)}}),i&&f.addHighlighter("loadmore-button","Load More Button")]})};function ie(e){const t=document.cookie.match(new RegExp("(?:^|;\\s*)"+e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"=([^;]*)"));return t?decodeURIComponent(t[1]):null}const oe={wpconsent:function(){try{if(window.WPConsent&&window.WPConsent.hasConsent)return!!window.WPConsent.hasConsent("marketing");const e=ie("wpconsent_preferences");if(e){const t=JSON.parse(e);return t&&!0===t.marketing}}catch(e){}return!1},real_cookie_banner:function(){try{const e=document.cookie.match(/real_cookie_banner[^=]*=([^;]+)/);if(e&&e[1]){const t=decodeURIComponent(e[1]),n=t.indexOf("{");if(-1!==n){const e=JSON.parse(t.substring(n));if("main_all"===e.bc)return!0;if(e.d&&Object.keys(e.d).length>0)return!0}}}catch(e){}return!1},cookie_notice:function(){try{return"true"===ie("cookie_notice_accepted")}catch(e){return!1}},cookie_law_info:function(){try{if(window.cookieyes&&window.cookieyes._ckyConsentStore&&window.cookieyes._ckyConsentStore.get){const e=window.cookieyes._ckyConsentStore.get("functional");return!0===e||"yes"===e}const e=ie("cookieyes-consent");if(e)return-1!==e.indexOf("functional:yes")}catch(e){}return!1},cookiebot:function(){try{if(window.Cookiebot&&window.Cookiebot.consent)return!!window.Cookiebot.consented&&!!window.Cookiebot.consent.marketing;const e=ie("CookieConsent");if(e){if("-1"===e)return!0;const t=e.match(/marketing:(true|false)/);return!!t&&"true"===t[1]}}catch(e){}return!1},complianz:function(){try{if("function"===typeof window.cmplz_has_consent)return!!window.cmplz_has_consent("marketing");const e=ie("cmplz_marketing");if(e)return"allow"===e}catch(e){}return!1},borlabs:function(){try{if(window.BorlabsCookie&&window.BorlabsCookie.Consents&&window.BorlabsCookie.Consents.hasConsent)return window.BorlabsCookie.Consents.hasConsent("tiktok")||window.BorlabsCookie.Consents.hasConsent("marketing")}catch(e){}return!1},moove:function(){try{const e=ie("moove_gdpr_popup");if(e){const t=JSON.parse(decodeURIComponent(e));return t&&("1"===t.thirdparty||1===t.thirdparty)}}catch(e){}return!1}},ae=()=>{const t=window.sbtt_gdpr_options||{},n=!!t.gdprActive,r=t.activePlugin||"",i=t.placeholder||"",o=t.avatarPlaceholder||"",a=(0,e.useCallback)((()=>!!(n&&r&&oe[r])&&oe[r]()),[n,r]),[l,s]=(0,e.useState)(!n||a());return(0,e.useEffect)((()=>{if(!n||l)return;if(a())return void s(!0);const e=()=>{a()&&s(!0)};window.addEventListener("wpconsent_consent_saved",e),document.addEventListener("wpconsent_consent_processed",e),window.addEventListener("CookiebotOnAccept",e),document.addEventListener("cmplz_status_change",e),document.addEventListener("cmplz_fire_categories",e),window.addEventListener("borlabs-cookie-consent-saved",e),window.addEventListener("RCBConsentChange",e),document.addEventListener("setCookieNotice",e),document.addEventListener("cookieyes_consent_update",e);const t=t=>{const n=t.target;if(!n)return;(n.classList.contains("cky-btn-accept")||n.classList.contains("cn-set-cookie")||n.classList.contains("moove-gdpr-infobar-allow-all")||"cn-accept-cookie"===n.id||"CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll"===n.id)&&setTimeout(e,500)};document.addEventListener("click",t,!0),"real_cookie_banner"===r&&window.consentApi&&window.consentApi.consent&&window.consentApi.consent("tiktok").then((function(e){e&&e.consentGiven&&s(!0)})).catch((function(){}));let i=null,o=null;return"moove"===r&&(i=setInterval((()=>{a()&&(clearInterval(i),o&&clearTimeout(o),s(!0))}),1e3),o=setTimeout((()=>{i&&clearInterval(i)}),3e5)),()=>{window.removeEventListener("wpconsent_consent_saved",e),document.removeEventListener("wpconsent_consent_processed",e),window.removeEventListener("CookiebotOnAccept",e),document.removeEventListener("cmplz_status_change",e),document.removeEventListener("cmplz_fire_categories",e),window.removeEventListener("borlabs-cookie-consent-saved",e),window.removeEventListener("RCBConsentChange",e),document.removeEventListener("setCookieNotice",e),document.removeEventListener("cookieyes_consent_update",e),document.removeEventListener("click",t,!0),i&&clearInterval(i),o&&clearTimeout(o)}}),[n,l,a]),{gdprActive:n,consented:l,placeholder:i,avatarPlaceholder:o}},le=t=>{const n=window.sbtt_feed_options,{feedSettings:r,feedId:i,headerData:o,nextPage:a}=t,l=(null===n||void 0===n?void 0:n.isPro)||!1,[s,u]=(0,e.useState)((null===t||void 0===t?void 0:t.posts)||[]),[d,f]=(0,e.useState)((null===r||void 0===r?void 0:r.numPostDesktop)||10),[p,h]=(0,e.useState)([]),{gdprActive:g,consented:y,placeholder:b,avatarPlaceholder:w}=ae();(0,e.useEffect)((()=>{_();const e=()=>{_()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),(0,e.useEffect)((()=>{(null===s||void 0===s?void 0:s.length)>0&&h(null===s||void 0===s?void 0:s.slice(0,d))}),[d]);const _=()=>{const e=window.innerWidth;let t=0;t=e<=480?(null===r||void 0===r?void 0:r.numPostMobile)||6:e<=640?(null===r||void 0===r?void 0:r.numPostTablet)||8:(null===r||void 0===r?void 0:r.numPostDesktop)||10,f(t);document.querySelectorAll(".sbtt-feed-container").forEach((e=>{e.offsetWidth<=480?e.classList.add("sb-narrow-width"):e.classList.remove("sb-narrow-width")}))},x={gdprActive:g,gdprConsented:y,gdprPlaceholder:b,gdprAvatarPlaceholder:w};return(0,c.jsx)(m,{value:x,children:(0,c.jsx)("section",{className:"sb-feed-wrapper sb-fs",id:"sb-tiktok-feeds-container-"+i,children:(0,c.jsxs)("section",{className:"sbtt-feed-container sb-fs","data-layout":r.layout,"data-feed-template":r.feedTemplate,"data-post-style":r.postStyle,"data-plugin":l?"pro":"free",children:[(0,c.jsx)(v,{feedSettings:r,headerData:o,isPro:l,isFeedEditor:!1}),(0,c.jsx)(ne,{feedSettings:r,headerData:o,posts:p,isPro:l,isFeedEditor:!1,feedId:i}),l&&(0,c.jsx)(re,{feedSettings:r,feedId:i,isFeedEditor:!1,posts:s,setPosts:u,postsList:p,setPostsList:h,postsPerPage:d,nextPage:a})]})})})};function se(){const n=document.querySelectorAll(".sbtt-tiktok-feed");n.length>0&&n.forEach((n=>{const r=JSON.parse(n.getAttribute("data-feed-settings")),i=n.getAttribute("data-feed-id"),o=JSON.parse(n.getAttribute("data-feed-posts")),a=JSON.parse(n.getAttribute("data-feed-header")),l=n.getAttribute("data-next-page");t.createRoot(n).render((0,c.jsx)(e.StrictMode,{children:(0,c.jsx)(le,{feedSettings:r,feedId:i,posts:o,headerData:a,nextPage:l})}))}))}se(),window.sbttInitializeFeed=se})()})();
var cff_js_exists=void 0!==cff_js_exists;function cffAddMasonry(t){var e,n=jQuery.Event("cffbeforemasonry");n.$self=t,jQuery(window).trigger(n),"function"==typeof t.masonry&&(e=!1,800<(n=jQuery(window).width())?t.hasClass("masonry-1-desktop")?t.addClass("cff-disable-masonry"):(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):480<n?t.hasClass("masonry-2-tablet")||t.hasClass("masonry-3-tablet")||t.hasClass("masonry-4-tablet")||t.hasClass("masonry-5-tablet")||t.hasClass("masonry-6-tablet")?(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):t.addClass("cff-disable-masonry"):t.hasClass("masonry-2-mobile")||t.hasClass("masonry-3-mobile")?(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):t.addClass("cff-disable-masonry"),e&&t.find(".cff-item").length&&(t.find(".cff-posts-wrap").masonry({itemSelector:".cff-new, .cff-item, .cff-likebox"}),t.find(".cff-item").each(function(){jQuery(this).css("margin-bottom","15px")})))}function cff_init(){function t(){jQuery(".cff-visual-header.cff-has-cover").each(function(){var t=jQuery(this).find(".cff-header-hero").innerHeight(),e=jQuery(this).find(".cff-header-hero img").innerHeight(),n=jQuery(this).find(".cff-header-hero").innerWidth(),i=jQuery(this).find(".cff-header-hero img").innerWidth()/e,o=n/t<i?t*i+"px":"100%",e=e-t,e=Math.max(0,Math.round(e/2)),n="100%"!=o?Math.max(0,Math.round((t*i-n)/2)):0;jQuery(this).find(".cff-header-hero img").css({opacity:1,display:"block",visibility:"visible","max-width":"none","max-height":"none","margin-top":-e+"px","margin-left":-n+"px",width:o})})}jQuery("#cff .cff-item").each(function(){var u=jQuery(this);u.find(".cff-viewpost-facebook").parent("p").length&&u.find(".cff-viewpost-facebook").unwrap("p"),u.find(".cff-author").parent("p").length&&(u.find(".cff-author").eq(1).unwrap("p"),u.find(".cff-author").eq(1).remove()),u.find("#cff .cff-link").parent("p").length&&u.find("#cff .cff-link").unwrap("p");var n=!1,i=u.find(".cff-post-text .cff-text"),t=u.closest("#cff").attr("data-char");void 0!==t&&""!=t||(t=99999);var o=i.html();null==o&&(o="");var e=new RegExp(/(<[^>]*>)/g),r=0;full_text_arr=o.split(e);for(var s,a=0,f=full_text_arr.length;a<f;a++)e.test(full_text_arr[a])||(r!=t?t<(r+=full_text_arr[a].length)&&(s=r-t,full_text_arr[a]=full_text_arr[a].slice(0,-s),r=t,o.length>t&&u.find(".cff-expand").show()):full_text_arr.splice(a,1));var c=full_text_arr.join("");function d(){var t,e=u.find(".cff-text").html(),n=u.find(".cff-post-desc").html(),i=/(^|\s)#(\w*[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]+\w*)/gi,o=sanitizeColor(u.find(".cff-text").attr("data-color"));function r(t){t=jQuery.trim(t);return/^#[0-9A-F]{6}$/i.test(t)?t:' <a href="https://www.facebook.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow" style="color:#'+o+'">'+t+"</a>"}"undefined"==typeof cfflinkhashtags&&(cfflinkhashtags="true"),"true"!=cfflinkhashtags||0<(t=u.find(".cff-text")).length&&0==t.find(".cff-post-text-link").length&&(e=e.replace(/<br>/g,"<br> "),t.html(e.replace(i,r))),0<u.find(".cff-post-desc").length&&u.find(".cff-post-desc").html(n.replace(i,r))}"<"==(c=c.replace(/(<(?!\/)[^>]+>)+(<\/[^>]+>)/g,"")).substr(c.length-1)&&(c=c.substring(0,c.length-1)),c=(c=c.replace(/(<br>\s*)+$/,"")).replace(/(<img class="cff-linebreak">\s*)+$/,""),i.html(c),u.find(".cff-expand").on("click",function(t){t.preventDefault();var e=jQuery(this),t=e.find(".cff-more"),e=e.find(".cff-less");0==n?(i.html(o),n=!0,t.hide(),e.show()):(i.html(c),n=!1,t.show(),e.hide()),d(),i.find("a").attr("target","_blank"),u.closest(".cff").hasClass("cff-masonry-js")&&!u.closest(".cff").hasClass("cff-masonry-css")&&cffAddMasonry(u.closest(".cff"))}),i.find("a").add(u.find(".cff-post-desc a")).attr({target:"_blank",rel:"nofollow"}),$sharedLink=u.find(".cff-shared-link"),""==$sharedLink.text()&&$sharedLink.remove(),d(),u.find(".cff-text a").add(u.find(".cff-post-desc a")).attr({target:"_blank",rel:"nofollow noopener noreferrer"}),u.find(".cff-share-link").on("click",function(t){t.preventDefault();var e,t=u.find(".cff-share-tooltip");t.is(":visible")?t.hide().find("a").removeClass("cff-show"):(t.show(),e=0,t.find("a").each(function(){var t=jQuery(this);setTimeout(function(){t.addClass("cff-show")},e),e+=20}))})}),jQuery(".cff-wrapper").each(function(){var t,e,n,i=jQuery(this).find("#cff"),o=jQuery(this);setTimeout(function(){checkConsent(o)?addFullFeatures(o):(jQuery(".cff-gdpr-notice").css({display:"inline-block"}),o.find(".cff-visual-header").length&&o.find(".cff-header-text").closest(".cff-visual-header").addClass("cff-no-consent"))},250),void 0!==i.attr("data-nummobile")&&(t=void 0!==i.attr("data-pag-num")&&""!==i.attr("data-pag-num")?parseInt(i.attr("data-pag-num")):1,e=void 0!==i.attr("data-nummobile")&&""!==i.attr("data-nummobile")?parseInt(i.attr("data-nummobile")):t,n=i.find(".cff-item").length?".cff-item":".cff-album-item",jQuery(window).width()<480?e<i.find(n).length&&i.find(n).slice(e-i.find(n).length).addClass("cff-num-diff-hide"):t<i.find(n).length&&i.find(n).slice(t-i.find(n).length).addClass("cff-num-diff-hide"),i.removeAttr("data-nummobile")),i.hasClass("cff-masonry-js")&&(cffAddMasonry(i),setTimeout(function(){cffAddMasonry(i)},500),jQuery(window).on("resize",function(){setTimeout(function(){cffAddMasonry(i)},500)}),i.find(".cff-credit").length&&i.css("padding-bottom",30))}),setTimeout(t,200),jQuery(window).on("resize",function(){setTimeout(function(){t()},500)})}function sanitizeColor(t){return/^(#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgba?\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}(?:\s*,\s*(?:0|1|0?\.\d+))?\s*\))$/.test(t)?t:null}function checkConsent(t){var e,n=void 0!==(t=t.find(".cff-list-container")).attr("data-cff-flags")?t.attr("data-cff-flags").split(","):[],t=-1<n.indexOf("gdpr"),n=(n.indexOf("overrideBlockCDN"),!1);return!(!n&&t)||(void 0!==window.WPConsent?n=window.WPConsent.hasConsent("marketing"):void 0!==window.cookieyes?void 0!==window.cookieyes._ckyConsentStore.get&&(n="yes"===window.cookieyes._ckyConsentStore.get("functional")):"undefined"!=typeof CLI_Cookie?null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(n="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(n="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary"))):void 0!==window.cnArgs?2===(e=("; "+document.cookie).split("; cookie_notice_accepted=")).length&&(n="true"===e.pop().split(";").shift()):void 0!==window.complianz||void 0!==window.cookieconsent?n="allow"===cffCmplzGetCookie("cmplz_marketing"):void 0!==window.Cookiebot?n=Cookiebot.consented:void 0!==window.BorlabsCookie?n=window.BorlabsCookie.checkCookieConsent("facebook"):cffCmplzGetCookie("moove_gdpr_popup")&&(n=void 0!==(e=JSON.parse(decodeURIComponent(cffCmplzGetCookie("moove_gdpr_popup")))).thirdparty&&"1"===e.thirdparty),n)}function cffCmplzGetCookie(t){for(var e=t+"=",n=window.document.cookie.split(";"),i=0;i<n.length;i++){var o=n[i].trim();if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""}function addFullFeatures(t){t=jQuery(t),jQuery(".cff-gdpr-notice").remove(),t.find(".cff-author-img").each(function(){jQuery(this).find("img").attr("src",jQuery(this).attr("data-avatar")),jQuery(this).removeClass("cff-no-consent")}),t.find(".cff-likebox iframe").each(function(){var t=jQuery(this),e=t.attr("data-likebox-width"),n=t.parent().width();""==e&&(e=340),n<e&&(e=n),t.attr("src","https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2F"+t.attr("data-likebox-id")+"%2F&tabs&width="+Math.floor(e)+"&small_header="+t.attr("data-likebox-header")+"&adapt_container_width=true&hide_cover="+t.attr("data-hide-cover")+"&hide_cta="+t.attr("data-hide-cta")+"&show_facepile="+t.attr("data-likebox-faces")+"&locale="+t.attr("data-locale"))}),jQuery(".cff-visual-header").length&&jQuery(".cff-visual-header").each(function(){jQuery(this).removeClass("cff-no-consent"),jQuery(this).find(".cff-header-hero").length&&jQuery(this).find(".cff-header-hero").find("img").attr("src",jQuery(this).find(".cff-header-hero").find("img").attr("data-cover-url")),jQuery(this).find(".cff-header-img").length&&jQuery(this).find(".cff-header-img").find("img").attr("src",jQuery(this).find(".cff-header-img").find("img").attr("data-avatar"))})}function afterConsentToggled(t,e){t&&addFullFeatures(e)}function cffGetFeedLocatorDataArray(){var e=[];return jQuery(".cff-list-container").each(function(){$cffPagUrl=jQuery(this).find(".cff-pag-url");var t="";void 0!==$cffPagUrl.attr("data-locatornonce")&&(t=$cffPagUrl.attr("data-locatornonce"));t={feedID:$cffPagUrl.attr("data-feed-id"),postID:$cffPagUrl.attr("data-post-id"),shortCodeAtts:""==jQuery.trim($cffPagUrl.attr("data-cff-shortcode"))?null:JSON.parse($cffPagUrl.attr("data-cff-shortcode")),location:locationGuess(jQuery(this)),locator_nonce:t};e.push(t)}),e}function locationGuess(t=!1){var e=0==t?jQuery(this.el):t,t="content";return e.closest("footer").length?t="footer":e.closest(".header").length||e.closest("header").length?t="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(t="sidebar"),t}cff_js_exists||(jQuery("#cff.cff-masonry-js").length&&(function(t){function e(){}function n(s){if(s){var a="undefined"==typeof console?e:function(t){console.error(t)};return s.bridget=function(t,e){var r,u,n;(n=e).prototype.option||(n.prototype.option=function(t){s.isPlainObject(t)&&(this.options=s.extend(!0,this.options,t))}),r=t,u=e,s.fn[r]=function(e){if("string"!=typeof e)return this.each(function(){var t=s.data(this,r);t?(t.option(e),t._init()):(t=new u(this,e),s.data(this,r,t))});for(var t=f.call(arguments,1),n=0,i=this.length;n<i;n++){var o=this[n],o=s.data(o,r);if(o)if(s.isFunction(o[e])&&"_"!==e.charAt(0)){o=o[e].apply(o,t);if(void 0!==o)return o}else a("no such method '"+e+"' for "+r+" instance");else a("cannot call methods on "+r+" prior to initialization; attempted to call '"+e+"'")}return this}},s.bridget}}var f=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],n):n("object"==typeof exports?require("jquery"):t.jQuery)}(window),function(n){function i(t){var e=n.event;return e.target=e.target||e.srcElement||t,e}var t=document.documentElement,e=function(){};t.addEventListener?e=function(t,e,n){t.addEventListener(e,n,!1)}:t.attachEvent&&(e=function(e,t,n){e[t+n]=n.handleEvent?function(){var t=i(e);n.handleEvent.call(n,t)}:function(){var t=i(e);n.call(e,t)},e.attachEvent("on"+t,e[t+n])});var o=function(){};t.removeEventListener?o=function(t,e,n){t.removeEventListener(e,n,!1)}:t.detachEvent&&(o=function(e,n,i){e.detachEvent("on"+n,e[n+i]);try{delete e[n+i]}catch(t){e[n+i]=void 0}}),o={bind:e,unbind:o},"function"==typeof define&&define.amd?define("eventie/eventie",o):"object"==typeof exports?module.exports=o:n.eventie=o}(window),function(){function t(){}function r(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function e(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,i=this,o=i.EventEmitter;n.getListeners=function(t){var e,n,i=this._getEvents();if(t instanceof RegExp)for(n in e={},i)i.hasOwnProperty(n)&&t.test(n)&&(e[n]=i[n]);else e=i[t]||(i[t]=[]);return e},n.flattenListeners=function(t){for(var e=[],n=0;n<t.length;n+=1)e.push(t[n].listener);return e},n.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},n.addListener=function(t,e){var n,i=this.getListenersAsObject(t),o="object"==typeof e;for(n in i)i.hasOwnProperty(n)&&-1===r(i[n],e)&&i[n].push(o?e:{listener:e,once:!1});return this},n.on=e("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=e("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,e){var n,i,o=this.getListenersAsObject(t);for(i in o)o.hasOwnProperty(i)&&(n=r(o[i],e),-1!==n&&o[i].splice(n,1));return this},n.off=e("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,n){var i,o,r=t?this.removeListener:this.addListener,u=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(i=n.length;i--;)r.call(this,e,n[i]);else for(i in e)e.hasOwnProperty(i)&&(o=e[i])&&("function"==typeof o?r:u).call(this,i,o);return this},n.removeEvent=function(t){var e,n=typeof t,i=this._getEvents();if("string"==n)delete i[t];else if(t instanceof RegExp)for(e in i)i.hasOwnProperty(e)&&t.test(e)&&delete i[e];else delete this._events;return this},n.removeAllListeners=e("removeEvent"),n.emitEvent=function(t,e){var n,i,o,r,u=this.getListenersAsObject(t);for(o in u)if(u.hasOwnProperty(o))for(i=u[o].length;i--;)n=u[o][i],!0===n.once&&this.removeListener(t,n.listener),r=n.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,n.listener);return this},n.trigger=e("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return i.EventEmitter=o,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:i.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof r[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,i=o.length;n<i;n++)if(e=o[n]+t,"string"==typeof r[e])return e}}var o="Webkit Moz ms Ms O".split(" "),r=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(E){function B(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function t(g){var v,A,C,F=!1;return function(t){if(F||(F=!0,m=E.getComputedStyle,y=m?function(t){return m(t,null)}:function(t){return t.currentStyle},v=function(t){t=y(t);return t||b("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t},(A=g("boxSizing"))&&((p=document.createElement("div")).style.width="200px",p.style.padding="1px 2px 3px 4px",p.style.borderStyle="solid",p.style.borderWidth="1px 2px 3px 4px",p.style[A]="border-box",(l=document.body||document.documentElement).appendChild(p),h=v(p),C=200===B(h.width),l.removeChild(p))),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=v(t);if("none"===e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,n=w.length;e<n;e++)t[w[e]]=0;return t}();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var i=n.isBorderBox=!(!A||!e[A]||"border-box"!==e[A]),o=0,r=w.length;o<r;o++){var u=w[o],s=function(t,e){if(E.getComputedStyle||-1===e.indexOf("%"))return e;var n=t.style,i=n.left,o=t.runtimeStyle,r=o&&o.left;return r&&(o.left=t.currentStyle.left),n.left=e,e=n.pixelLeft,n.left=i,r&&(o.left=r),e}(t,s=e[u]),s=parseFloat(s);n[u]=isNaN(s)?0:s}var a=n.paddingLeft+n.paddingRight,f=n.paddingTop+n.paddingBottom,c=n.marginLeft+n.marginRight,d=n.marginTop+n.marginBottom,h=n.borderLeftWidth+n.borderRightWidth,l=n.borderTopWidth+n.borderBottomWidth,p=i&&C,i=B(e.width);!1!==i&&(n.width=i+(p?0:a+h));i=B(e.height);return!1!==i&&(n.height=i+(p?0:f+l)),n.innerWidth=n.width-(a+h),n.innerHeight=n.height-(f+l),n.outerWidth=n.width+c,n.outerHeight=n.height+d,n}var m,p,l,h,y}}var b="undefined"==typeof console?function(){}:function(t){console.error(t)},w=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],t):"object"==typeof exports?module.exports=t(require("desandro-get-style-property")):E.getSize=t(E.getStyleProperty)}(window),function(e){function n(t){"function"==typeof t&&(n.isReady?t():u.push(t))}function i(t){t="readystatechange"===t.type&&"complete"!==r.readyState;n.isReady||t||o()}function o(){n.isReady=!0;for(var t=0,e=u.length;t<e;t++)(0,u[t])()}function t(t){return"complete"===r.readyState?o():(t.bind(r,"DOMContentLoaded",i),t.bind(r,"readystatechange",i),t.bind(e,"load",i)),n}var r=e.document,u=[];n.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],t):"object"==typeof exports?module.exports=t(require("eventie")):e.docReady=t(e.eventie)}(window),function(o){function n(t,e){return t[i](e)}function r(t){t.parentNode||document.createDocumentFragment().appendChild(t)}var t,i=function(){if(o.matches)return"matches";if(o.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],e=0,n=t.length;e<n;e++){var i=t[e]+"MatchesSelector";if(o[i])return i}}();t=i?n(document.createElement("div"),"div")?n:function(t,e){return r(t),n(t,e)}:function(t,e){r(t);for(var n=t.parentNode.querySelectorAll(e),i=0,o=n.length;i<o;i++)if(n[i]===t)return!0;return!1},"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return t}):"object"==typeof exports?module.exports=t:window.matchesSelector=t}(Element.prototype),function(n,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(t,e){return i(n,t,e)}):"object"==typeof exports?module.exports=i(n,require("doc-ready"),require("desandro-matches-selector")):n.fizzyUIUtils=i(n,n.docReady,n.matchesSelector)}(window,function(h,t,f){var n,l={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},e=Object.prototype.toString;l.isArray=function(t){return"[object Array]"==e.call(t)},l.makeArray=function(t){var e=[];if(l.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0,i=t.length;n<i;n++)e.push(t[n]);else e.push(t);return e},l.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},l.removeFrom=function(t,e){e=l.indexOf(t,e);-1!=e&&t.splice(e,1)},l.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},l.setText=function(t,e){t[n=n||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=e},l.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,f(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,e){for(var n=[],i=0,o=(t=l.makeArray(t)).length;i<o;i++){var r=t[i];if(l.isElement(r))if(e){f(r,e)&&n.push(r);for(var u=r.querySelectorAll(e),s=0,a=u.length;s<a;s++)n.push(u[s])}else n.push(r)}return n},l.debounceMethod=function(t,e,i){var o=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];t&&clearTimeout(t);var e=arguments,n=this;this[r]=setTimeout(function(){o.apply(n,e),delete n[r]},i||100)}},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()};var p=h.console;return l.htmlInit=function(c,d){t(function(){for(var t=l.toDashed(d),e=document.querySelectorAll(".js-"+t),n="data-"+t+"-options",i=0,o=e.length;i<o;i++){var r,u=e[i],s=u.getAttribute(n);try{r=s&&JSON.parse(s)}catch(t){p&&p.error("Error parsing "+n+" on "+u.nodeName.toLowerCase()+(u.id?"#"+u.id:"")+": "+t);continue}var a=new c(u,r),f=h.jQuery;f&&f.data(u,d,a)}})},l}),function(o,r){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(t,e,n,i){return r(o,t,e,n,i)}):"object"==typeof exports?module.exports=r(o,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(o.Outlayer={},o.Outlayer.Item=r(o,o.EventEmitter,o.getSize,o.getStyleProperty,o.fizzyUIUtils))}(window,function(t,e,n,r,i){function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=t.getComputedStyle,s=u?function(t){return u(t,null)}:function(t){return t.currentStyle},a=r("transition"),f=r("transform"),c=a&&f,t=!!r("perspective"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[a],h=["transform","transition","transitionDuration","transitionProperty"],l=function(){for(var t={},e=0,n=h.length;e<n;e++){var i=h[e],o=r(i);o&&o!==i&&(t[i]=o)}return t}();i.extend(o.prototype,e.prototype),o.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.getSize=function(){this.size=n(this.element)},o.prototype.css=function(t){var e,n=this.element.style;for(e in t)n[l[e]||e]=t[e]},o.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,n=e.isOriginLeft,i=e.isOriginTop,o=parseInt(t[n?"left":"right"],10),e=parseInt(t[i?"top":"bottom"],10),o=isNaN(o)?0:o,e=isNaN(e)?0:e,t=this.layout.size;o-=n?t.paddingLeft:t.paddingRight,e-=i?t.paddingTop:t.paddingBottom,this.position.x=o,this.position.y=e},o.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,n={},i=e.isOriginLeft?"paddingLeft":"paddingRight",o=e.isOriginLeft?"left":"right",r=e.isOriginLeft?"right":"left",i=this.position.x+t[i],i=e.percentPosition&&!e.isHorizontal?i/t.width*100+"%":i+"px";n[o]=i,n[r]="";o=e.isOriginTop?"paddingTop":"paddingBottom",i=e.isOriginTop?"top":"bottom",r=e.isOriginTop?"bottom":"top",o=this.position.y+t[o],o=e.percentPosition&&e.isHorizontal?o/t.height*100+"%":o+"px";n[i]=o,n[r]="",this.css(n),this.emitEvent("layout",[this])};var p=t?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};o.prototype._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=parseInt(t,10),r=parseInt(e,10),r=o===this.position.x&&r===this.position.y;this.setPosition(t,e),!r||this.isTransitioning?(t-=n,n=e-i,e={},t=(i=this.layout.options).isOriginLeft?t:-t,n=i.isOriginTop?n:-n,e.transform=p(t,n),this.transition({to:e,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},o.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},o.prototype.moveTo=c?o.prototype._transitionTo:o.prototype.goTo,o.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},o.prototype._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},o.prototype._transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,n=this._transn;for(e in t.onTransitionEnd)n.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)n.ingProperties[e]=!0,t.isCleaning&&(n.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var m=f&&i.toDashed(f)+",opacity";o.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(d,this,!1))},o.prototype.transition=o.prototype[a?"_transition":"_nonTransition"],o.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},o.prototype.onotransitionend=function(t){this.ontransitionend(t)};var y={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};o.prototype.ontransitionend=function(t){var e,n;t.target===this.element&&(e=this._transn,n=y[t.propertyName]||t.propertyName,delete e.ingProperties[n],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this]))},o.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(d,this,!1),this.isTransitioning=!1},o.prototype._removeStyles=function(t){var e,n={};for(e in t)n[e]="";this.css(n)};var g={transitionProperty:"",transitionDuration:""};return o.prototype.removeTransitionStyles=function(){this.css(g)},o.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},o.prototype.remove=function(){var t;a&&parseFloat(this.layout.options.transitionDuration)?((t=this).once("transitionEnd",function(){t.removeElem()}),this.hide()):this.removeElem()},o.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},o.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},o.prototype.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},o.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},o.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},o.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(r,u){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,n,i,o){return u(r,t,e,n,i,o)}):"object"==typeof exports?module.exports=u(r,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):r.Outlayer=u(r,r.eventie,r.EventEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)}(window,function(t,e,n,o,r,i){function u(t,e){var n=r.getQueryElement(t);n?(this.element=n,f&&(this.$element=f(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e),e=++c,this.element.outlayerGUID=e,(d[e]=this)._create(),this.options.isInitLayout&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(n||t))}function s(){}var a=t.console,f=t.jQuery,c=0,d={};return u.namespace="outlayer",u.Item=i,u.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},r.extend(u.prototype,n.prototype),u.prototype.option=function(t){r.extend(this.options,t)},u.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},u.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},u.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0,r=e.length;o<r;o++){var u=new n(e[o],this);i.push(u)}return i},u.prototype._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},u.prototype.getItemElements=function(){for(var t=[],e=0,n=this.items.length;e<n;e++)t.push(this.items[e].element);return t},u.prototype._init=u.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},u.prototype._resetLayout=function(){this.getSize()},u.prototype.getSize=function(){this.size=o(this.element)},u.prototype._getMeasurement=function(t,e){var n,i=this.options[t];i?("string"==typeof i?n=this.element.querySelector(i):r.isElement(i)&&(n=i),this[t]=n?o(n)[e]:i):this[t]=0},u.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u.prototype._getItemsForLayout=function(t){for(var e=[],n=0,i=t.length;n<i;n++){var o=t[n];o.isIgnored||e.push(o)}return e},u.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],u=this._getItemLayoutPosition(r);u.item=r,u.isInstant=e||r.isLayoutInstant,n.push(u)}this._processLayoutQueue(n)}},u.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},u.prototype._processLayoutQueue=function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];this._positionItem(i.item,i.x,i.y,i.isInstant)}},u.prototype._positionItem=function(t,e,n,i){i?t.goTo(e,n):t.moveTo(e,n)},u.prototype._postLayout=function(){this.resizeContainer()},u.prototype.resizeContainer=function(){var t;!this.options.isResizingContainer||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},u.prototype._getContainerSize=s,u.prototype._setContainerMeasure=function(t,e){var n;void 0!==t&&((n=this.size).isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},u.prototype._emitCompleteOnItems=function(t,e){function n(){o.emitEvent(t+"Complete",[e])}function i(){++u===r&&n()}var o=this,r=e.length;if(e&&r)for(var u=0,s=0,a=e.length;s<a;s++)e[s].once(t,i);else n()},u.prototype.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},u.prototype.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},u.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,n=t.length;e<n;e++){var i=t[e];this.ignore(i)}}},u.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,n=t.length;e<n;e++){var i=t[e];r.removeFrom(this.stamps,i),this.unignore(i)}},u.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=r.makeArray(t)):void 0},u.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var n=this.stamps[t];this._manageStamp(n)}}},u.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},u.prototype._manageStamp=s,u.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,t=o(t);return{left:e.left-n.left-t.marginLeft,top:e.top-n.top-t.marginTop,right:n.right-e.right-t.marginRight,bottom:n.bottom-e.bottom-t.marginBottom}},u.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},u.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},u.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},u.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.prototype.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.prototype.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},u.prototype.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},u.prototype.prepended=function(t){var e=this._itemize(t);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},u.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,n=0;e&&n<e;n++)t[n].reveal()},u.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,n=0;e&&n<e;n++)t[n].hide()},u.prototype.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},u.prototype.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},u.prototype.getItem=function(t){for(var e=0,n=this.items.length;e<n;e++){var i=this.items[e];if(i.element===t)return i}},u.prototype.getItems=function(t){for(var e=[],n=0,i=(t=r.makeArray(t)).length;n<i;n++){var o=t[n],o=this.getItem(o);o&&e.push(o)}return e},u.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var n=0,i=e.length;n<i;n++){var o=e[n];o.remove(),r.removeFrom(this.items,o)}},u.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,n=this.items.length;e<n;e++)this.items[e].destroy();this.unbindResize();t=this.element.outlayerGUID;delete d[t],delete this.element.outlayerGUID,f&&f.removeData(this.element,this.constructor.namespace)},u.data=function(t){t=(t=r.getQueryElement(t))&&t.outlayerGUID;return t&&d[t]},u.create=function(t,e){function n(){u.apply(this,arguments)}return Object.create?n.prototype=Object.create(u.prototype):r.extend(n.prototype,u.prototype),(n.prototype.constructor=n).defaults=r.extend({},u.defaults),r.extend(n.defaults,e),n.prototype.settings={},n.namespace=t,n.data=u.data,(n.Item=function(){i.apply(this,arguments)}).prototype=new i,r.htmlInit(n,t),f&&f.bridget&&f.bridget(t,n),n},u.Item=i,u}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,s,a){t=t.create("masonry");return t.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},t.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(n=(e=this.items[0])&&e.element,this.columnWidth=n&&s(n).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,n=e/t,t=t-e%t,n=Math[t&&t<1?"round":"floor"](n);this.cols=Math.max(n,1)},t.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,t=s(t);this.containerWidth=t&&t.innerWidth},t.prototype._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),n=Math.min(n,this.cols),i=this._getColGroup(n),e=Math.min.apply(Math,i),o=a.indexOf(i,e),n={x:this.columnWidth*o,y:e},r=e+t.size.outerHeight,u=this.cols+1-i.length,s=0;s<u;s++)this.colYs[o+s]=r;return n},t.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++){var o=this.colYs.slice(i,i+t);e[i]=Math.max.apply(Math,o)}return e},t.prototype._manageStamp=function(t){var e=s(t),n=this._getElementOffset(t),i=this.options.isOriginLeft?n.left:n.right,t=i+e.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),o=Math.floor(t/this.columnWidth);o-=t%this.columnWidth?0:1,o=Math.min(this.cols-1,o);for(var r=(this.options.isOriginTop?n.top:n.bottom)+e.outerHeight,u=i;u<=o;u++)this.colYs[u]=Math.max(r,this.colYs[u])},t.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},t.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},t.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},t})),cff_init(),jQuery(document).ready(function(){var t,e=jQuery;e("#cookie-notice a").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(checkConsent(jQuery(this)),jQuery(this))})},1e3)}),e("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(checkConsent(jQuery(this)),jQuery(this))})},1e3)}),e(".cli-user-preference-checkbox, .cky-notice button").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!1,jQuery(this))})},1e3)}),e(window).on("CookiebotOnAccept",function(t){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})}),e(".cmplz-btn").on("click",function(){"function"==typeof cmplz_accepted_categories&&setTimeout(function(){-1<cmplz_accepted_categories().indexOf("marketing")&&jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})},1e3)}),e(document).on("cmplzEnableScripts",function(t){"marketing"===t.detail&&jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})}),e(document).on("cmplzFireCategories",function(t){"marketing"===t.detail.category&&jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!1,jQuery(this))})}),e(document).on("borlabs-cookie-consent-saved",function(t){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})}),e(".cff-list-container").length&&(t=cffGetFeedLocatorDataArray(),e.ajax({url:cffajaxurl,type:"POST",data:{action:"feed_locator",feedLocatorData:t}})),void 0!==window.consentApi&&window.consentApi.consent("custom-facebook-feed").then(()=>{try{setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})},1e3)}catch(t){}}),e(".moove-gdpr-infobar-allow-all").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})},1e3)}),window.addEventListener("wpconsent_consent_saved",function(t){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){void 0!==window.WPConsent&&afterConsentToggled(window.WPConsent.hasConsent("marketing"),jQuery(this))})},1e3)}),window.addEventListener("wpconsent_consent_updated",function(t){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){void 0!==window.WPConsent&&afterConsentToggled(window.WPConsent.hasConsent("marketing"),jQuery(this))})},1e3)})}));
var ctf_js_exists=void 0!==ctf_js_exists;ctf_js_exists||function(u){function t(){if(window.ctfObject.consentGiven||!window.ctfObject.gdpr)return!0;if(void 0!==window.WPConsent)window.ctfObject.consentGiven=window.WPConsent.hasConsent("marketing");else if("undefined"!=typeof CLI_Cookie)null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(window.ctfObject.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(window.ctfObject.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary")));else if(void 0!==window.cnArgs){var u=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===u.length){var t=u.pop().split(";").shift();window.ctfObject.consentGiven="true"===t}}else if(void 0!==window.cookieconsent)window.ctfObject.consentGiven="allow"===c("cmplz_consent_status")||jQuery("body").hasClass("cmplz-status-marketing");else if(void 0!==window.Cookiebot)window.ctfObject.consentGiven=Cookiebot.consented;else if(void 0!==window.BorlabsCookie)window.ctfObject.consentGiven=void 0!==window.BorlabsCookie.Consents?window.BorlabsCookie.Consents.hasConsent("twitter"):window.BorlabsCookie.checkCookieConsent("twitter");else if(cffCmplzGetCookie("moove_gdpr_popup")){var e=JSON.parse(decodeURIComponent(c("moove_gdpr_popup")));window.ctfObject.consentGiven=void 0!==e.thirdparty&&"1"===e.thirdparty}var n=jQuery.Event("ctfcheckconsent");return n.feed=this,jQuery(window).trigger(n),window.ctfObject.consentGiven}function e(t){t.find(".ctf-hide-avatar").length&&!t.find(".ctf-hide-avatar.ctf-no-consent").length||t.find(".ctf-item").addClass("ctf-hide-avatar ctf-no-consent"),u(".ctf-header-img span").length&&u(".ctf-header-img").addClass("ctf-no-consent")}function n(t){o(),t.find(".ctf-item.ctf-no-consent").removeClass("ctf-hide-avatar"),t.find(".ctf-author-avatar").each((function(){u(this).find("span").replaceWith('<img src="'+u(this).find("span").attr("data-avatar")+'" alt="'+u(this).find("span").attr("data-alt")+'" width="48" height="48">')})),t.find(".ctf-header-img").each((function(){u(this).find("span").replaceWith('<img src="'+u(this).find("span").attr("data-avatar")+'" alt="'+u(this).find("span").attr("data-alt")+'" width="48" height="48">')})),t.find(".ctf-no-consent").removeClass("ctf-no-consent"),t.find(".ctf-header .ctf-header-link").on("mouseenter mouseleave",(function(u){switch(u.type){case"mouseenter":t.find(".ctf-header .ctf-header-img-hover").fadeIn(200);break;case"mouseleave":t.find(".ctf-header .ctf-header-img-hover").stop().fadeOut(600)}}))}function i(){t()&&u(".ctf").each((function(){n(u(this))}))}function o(){void 0===typeof window.ctfObject.intentsIncluded&&(window.ctfObject.intentsIncluded=!1),u(".ctf").each((function(){window.ctfObject.intentsIncluded||void 0===typeof u(this).attr("data-ctfintents")||(window.ctfObject.intentsIncluded=!0,function(){if(!window.__twitterIntentHandler){var u=/twitter\.com\/intent\/(\w+)/,t=screen.height,e=screen.width;document.addEventListener?document.addEventListener("click",n,!1):document.attachEvent&&document.attachEvent("onclick",n),window.__twitterIntentHandler=!0}function n(n){for(var i,o,c=(n=n||window.event).target||n.srcElement;c&&"a"!==c.nodeName.toLowerCase();)c=c.parentNode;c&&"a"===c.nodeName.toLowerCase()&&c.href&&c.href.match(u)&&(i=Math.round(e/2-275),o=0,t>420&&(o=Math.round(t/2-210)),window.open(c.href,"intent","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+i+",top="+o),n.returnValue=!1,n.preventDefault&&n.preventDefault())}}())}))}function c(u){for(var t=u+"=",e=window.document.cookie.split(";"),n=0;n<e.length;n++){var i=e[n].trim();if(0==i.indexOf(t))return i.substring(t.length,i.length)}return""}function a(u){var t="content";return u.closest("footer").length?t="footer":u.closest(".header").length||u.closest("header").length?t="header":(u.closest(".sidebar").length||u.closest("aside").length)&&(t="sidebar"),t}window.ctf_init=function(){if(window.ctfObject={},u(".ctf").length&&void 0!==u(".ctf").first().attr("data-ctf-flags")){var i=u(".ctf").first().attr("data-ctf-flags").split(",");if(i.indexOf("gdpr")>-1?(window.ctfObject.consentGiven=!1,window.ctfObject.gdpr=!0):(window.ctfObject.consentGiven=!0,window.ctfObject.gdpr=!1),i.indexOf("locator")>-1){var c=Math.floor(Math.random()*u(".ctf").length);window.ctfObject.locator=1===u(".ctf").length||1===c}else window.ctfObject.locator=!1}else window.ctfObject.consentGiven=!0,window.ctfObject.gdpr=!1,window.ctfObject.locator=!1;function d(i){if(i.addClass("ctf_is_initialized"),window.ctfObject.locator){var o=(i.attr("data-feed-id"),i.attr("data-feed-id")),c=(i.attr("data-postid"),i.attr("data-postid"));jQuery.ajax({url:ctf.ajax_url,type:"post",data:{action:"ctf_do_locator",atts:i.attr("data-ctfshortcode"),feed_id:o,location:a(i),post_id:c},success:function(u){}})}t()?n(i):e(i),i.find(".ctf-item.ctf-new").each((function(){var t,e,n,o,c,a,d,f,s=u(this),r=s.find(".ctf-tweet-text-media-wrap"),A=s.find(".ctf-tweet-text").remove(".ctf-tweet-text-media-wrap"),l=" "+A.html();if("true"!=i.attr("data-ctfdisablelinks")&&void 0!==l&&!i.find(".ctf-tweet-text-link").length){var F=i.attr("data-ctflinktextcolor"),C="";F&&(C=F.replace(";","").split("#")[1]),window.ctfLinkify=(t="[a-z\\d.-]+://",e="(?:(?:(?:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)|(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]))",n="(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?",o="mailto:",c=new RegExp("(?:\\b"+t+"[^<>\\s]+|\\b"+e+"(?:[;/][^#?<>\\s]*)?"+n+"(?!\\w)|(?:"+o+")?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+e+n+"(?!\\w))","ig"),a=new RegExp("^"+t,"i"),d={"'":"`",">":"<",")":"(","]":"[","}":"{","B;":"B+","b:":"b9"},f={callback:function(u,t){return t?'<a href="'+t+'" title="'+t+'" target="_blank">'+u+"</a>":u},punct_regexp:/(?:[!?.,:;'"]|(?:&|&amp;)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)$/},function(u,t){t=t||{};var e,n,i,s,r,A,l,F,C,h,w,B,p="",m=[];for(n in f)void 0===t[n]&&(t[n]=f[n]);for(;e=c.exec(u);)if(i=e[0],l=(A=c.lastIndex)-i.length,!/[\/:]/.test(u.charAt(l-1))){do{F=i,B=i.substr(-1),(w=d[B])&&(C=i.match(new RegExp("\\"+w+"(?!$)","g")),h=i.match(new RegExp("\\"+B,"g")),(C?C.length:0)<(h?h.length:0)&&(i=i.substr(0,i.length-1),A--)),t.punct_regexp&&(i=i.replace(t.punct_regexp,(function(u){return A-=u.length,""})))}while(i.length&&i!==F);s=i,a.test(s)||(s=(-1!==s.indexOf("@")?s.indexOf(o)?o:"":s.indexOf("irc.")?s.indexOf("ftp.")?"http://":"ftp://":"irc://")+s),r!=l&&(m.push([u.slice(r,l)]),r=A),m.push([i,s])}for(m.push([u.substr(r)]),n=0;n<m.length;n++)p+=t.callback.apply(window,m[n]);return p||u}),A.find("a").length||(A.find(".emoji").each((function(){u(this).replaceWith(u(this).attr("alt"))})),l=" "+A.html(),l=ctfLinkify(l));l.length>0&&(l=(l=l.replace(/<br>/g,"<br> ")).replace(/(^|\s)#(\w*[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]+\w*)/gi,(function(u){var t=u.trim();return/^#[0-9A-F]{6}$/i.test(t)?t:' <a href="https://twitter.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"})));l=l.replace(/[\s][@]+[A-Za-z0-9-_]+/g,(function(u){var t=u.trim();return' <a href="https://twitter.com/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"})),A.html(l.trim()),A.append(r),A.find("a").css("color","#"+C),r.css("color","#"+C)}s.find(".ctf-tweet-text a").each((function(){jQuery(this).text().indexOf("http")>-1&&jQuery(this).text().length>63&&jQuery(this).text(jQuery(this).text().substring(0,60)+"...")}))})),i.find(".ctf-author-name, .ctf-tweet-date, .ctf-author-screenname, .ctf-twitterlink, .ctf-author-box-link, .ctf-retweet-text, .ctf-quoted-tweet").css("color",i.find(".ctf-tweet-text").css("color")),i.find(".ctf_more").off("click").on("click",(function(t){t.preventDefault(),u(this).hide().next(".ctf_remaining").show()})),"function"==typeof ctf_custom_js&&ctf_custom_js(u),i.find(".ctf-author-box-link p:empty").remove()}function f(u,t,e,n,i,o){n.addClass("ctf-loading").append('<div class="ctf-loader"></div>'),n.find(".ctf-loader").css("background-color",n.css("color"));var c=(e.attr("data-feedid"),e.attr("data-feedid")),f=(e.attr("data-postid"),e.attr("data-postid")),s=(e.attr("data-feed"),e.attr("data-feed"));jQuery.ajax({url:ctf.ajax_url,type:"post",data:{action:"ctf_get_more_posts",last_id_data:u,shortcode_data:t,num_needed:i,persistent_index:o,feed_id:c,location:a(e),post_id:f,v2feed:s},success:function(t){""!==u?(-1==t.indexOf("<meta charset")&&e.find(".ctf-item").removeClass("ctf-new").last().after(t),e.find(".ctf-out-of-tweets").length&&(n.hide(),e.find(".ctf-out-of-tweets p").eq(0).fadeIn().end().eq(1).delay(500).fadeIn())):e.find(".ctf-tweets").append(t),n.removeClass("ctf-loading").find(".ctf-loader").remove(),d(e)}})}u(".ctf").length<=u(".ctf_is_initialized").length||(window.ctfObject.consentGiven&&o(),u(".ctf").each((function(){var i=u(this),o=parseInt(i.attr("data-ctfneeded"));i.width()<=480&&i.addClass("ctf-narrow"),i.width()<=320&&i.addClass("ctf-super-narrow"),u(this).hasClass("ctf_is_initialized")||d(i),setTimeout((function(){if(o>0){var u=i.find(".ctf-more"),t=i.find(".ctf-item").last().attr("id"),e=i.find(".ctf-item").length;f(t,i.attr("data-ctfshortcode"),i,u,o,e)}}),500),i.find(".ctf-more").on("click",(function(){var t=u(this),e=i.find(".ctf-item").last().attr("id"),n=i.find(".ctf-item").length;f(e,i.attr("data-ctfshortcode"),i,t,0,n)})),i.find(".ctf-author-box-link p:empty").remove(),setTimeout((function(){t()?n(i):e(i)}),500)})))},jQuery(document).ready((function(u){ctf_init(),u("#cookie-notice a").on("click",(function(){setTimeout((function(){i()}),1e3)})),u("#cookie-law-info-bar a").on("click",(function(){setTimeout((function(){i()}),1e3)})),u(".cli-user-preference-checkbox").on("click",(function(){i()})),u(window).on("CookiebotOnAccept",(function(u){i()})),u(document).on("cmplzEnableScripts",(function(t){"marketing"===t.detail&&u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))})),u(document).on("cmplzFireCategories",(function(t){"marketing"===t.detail.category&&u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))})),u(document).on("borlabs-cookie-consent-saved",(function(u){i()})),void 0!==window.consentApi&&window.consentApi.consent("custom-twitter-feed").then((()=>{try{setTimeout((function(){u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))}),1e3)}catch(u){}})),u(".moove-gdpr-infobar-allow-all").on("click",(function(){setTimeout((function(){u(".ctf").each((function(){window.ctfObject.consentGiven=!0,i()}))}),1e3)})),window.addEventListener("wpconsent_consent_saved",(function(t){setTimeout((function(){u(".ctf").each((function(){i()}))}),1e3)})),window.addEventListener("wpconsent_consent_updated",(function(t){setTimeout((function(){u(".ctf").each((function(){i()}))}),1e3)}))}))}(jQuery);
(()=>{"use strict";var t={};function n(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function e(t,n,e,r,i,a,o){try{var l=t[a](o),c=l.value}catch(t){return void e(t)}l.done?n(c):Promise.resolve(c).then(r,i)}t.n=n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},t.d=(n,e)=>{for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},t.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n);const r=window.regeneratorRuntime;var i,a,o=t.n(r);i=jQuery,a=function(t){var n,e=null===(n=betterLinksApp)||void 0===n?void 0:n.betterlinkspro_version;if(!e)return!1;for(var r=e.split(".").map(Number),i=t.split(".").map(Number),a=0;a<Math.max(r.length,i.length);a++){var o=r[a]||0,l=i[a]||0;if(o>l)return!0;if(o<l)return!1}return!0},{init:function(){this.trackUnCloakedLinksWithLinkID(),this.trackUnCloakedLinksWithoutLinkID()},trackUnCloakedLinksWithoutLinkID:function(){var t=this;i(document).on("click","body a.betterlinks-linked-text:not([data-link-id])",function(n){var e,r;if(null===(e=n.target)||void 0===e||null===(e=e.href)||void 0===e||!e.startsWith(null===(r=betterLinksApp)||void 0===r?void 0:r.site_url)){!1 in navigator&&(n.preventDefault(),t.redirectToTarget(n.target));var i={target_url:n.target.href};t.initTracking(i)}})},trackUnCloakedLinksWithLinkID:function(){var t=this;i(document).on("click","body a.betterlinks-linked-text[data-link-id]",function(n){var e,r;if(null===(e=n.target)||void 0===e||null===(e=e.href)||void 0===e||!e.startsWith(null===(r=betterLinksApp)||void 0===r?void 0:r.site_url)){var i;!1 in navigator&&(n.preventDefault(),t.redirectToTarget(n.target));var a={linkId:null===(i=n.target.dataset)||void 0===i?void 0:i.linkId};t.initTracking(a)}})},redirectToTarget:function(t){""===t.target?window.location.href=t.href:window.open(t.href,t.target)},initTracking:function(t){return(r=o().mark(function e(){var r,i,l;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("undefined"==typeof geolocationService||!a("2.5.0")){e.next=4;break}return e.prev=1,e.next=2,geolocationService.getCountry();case 2:(r=e.sent)&&(t.country_code=r.country_code,t.country_name=r.country_name),e.next=4;break;case 3:e.prev=3,l=e.catch(1),console.warn("Failed to get country data:",l);case 4:(i=new FormData).append("action","betterlinks__js_analytics_tracking"),i.append("security",betterLinksApp.betterlinks_nonce),Object.entries(t).forEach(function(t){var e,r,a=(r=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,a,o,l=[],c=!0,u=!1;try{if(a=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(r=a.call(e)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(u)throw i}}return l}}(e,r)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=a[0],l=a[1];i.append(o,l)}),i.append("location",location.pathname),"sendBeacon"in navigator?navigator.sendBeacon(betterLinksApp.ajaxurl,i):fetch(betterLinksApp.ajaxurl,{method:"POST",body:i});case 5:case"end":return e.stop()}},e,null,[[1,3]])}),function(){var t=this,n=arguments;return new Promise(function(i,a){var o=r.apply(t,n);function l(t){e(o,i,a,l,c,"next",t)}function c(t){e(o,i,a,l,c,"throw",t)}l(void 0)})})();var r}}.init()})();