@wistia/vhs 2.64.0 → 2.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +183 -183
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +199 -199
- package/dist/index.mjs.map +2 -2
- package/dist/theme.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license VHS v2.64.
|
|
3
|
+
* @license VHS v2.64.1
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2024, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is unlicensed, all rights reserved.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
"use strict";var TI=Object.create;var cf=Object.defineProperty;var AI=Object.getOwnPropertyDescriptor;var RI=Object.getOwnPropertyNames;var FI=Object.getPrototypeOf,BI=Object.prototype.hasOwnProperty;var x0=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ff=(e,t)=>{for(var r in t)cf(e,r,{get:t[r],enumerable:!0})},O7=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of RI(t))!BI.call(e,o)&&o!==r&&cf(e,o,{get:()=>t[o],enumerable:!(n=AI(t,o))||n.enumerable});return e};var A=(e,t,r)=>(r=e!=null?TI(FI(e)):{},O7(t||!e||!e.__esModule?cf(r,"default",{value:e,enumerable:!0}):r,e)),M7=e=>O7(cf({},"__esModule",{value:!0}),e);var f,i=x0(()=>{"use strict";f=A(require("react"))});var ee=Ie(J=>{"use strict";i();Object.defineProperty(J,"__esModule",{value:!0});J.hasKey=J.isError=J.isVoid=J.isNotBoolean=J.isBoolean=J.isNotFunction=J.isFunction=J.isNonEmptyArray=J.isEmptyArray=J.isArray=J.isNonEmptyRecord=J.isEmptyRecord=J.isRecord=J.isInteger=J.isNaN=J.isNotNumber=J.isNumber=J.isNonEmptyString=J.isEmptyString=J.isNotString=J.isString=J.isNotNil=J.isNil=J.isNotUndefined=J.isUndefined=J.isNotNull=J.isNull=void 0;var OI=e=>e===null;J.isNull=OI;var MI=e=>!(0,J.isNull)(e);J.isNotNull=MI;var II=e=>e===void 0;J.isUndefined=II;var kI=e=>!(0,J.isUndefined)(e);J.isNotUndefined=kI;var NI=e=>(0,J.isNull)(e)||(0,J.isUndefined)(e);J.isNil=NI;var VI=e=>!(0,J.isNil)(e);J.isNotNil=VI;var LI=e=>typeof e=="string";J.isString=LI;var $I=e=>!(0,J.isString)(e);J.isNotString=$I;var zI=e=>(0,J.isString)(e)&&e==="";J.isEmptyString=zI;var HI=e=>(0,J.isString)(e)&&!(0,J.isEmptyString)(e);J.isNonEmptyString=HI;var GI=e=>typeof e=="number";J.isNumber=GI;var jI=e=>!(0,J.isNumber)(e);J.isNotNumber=jI;var _I=e=>Number.isNaN(e);J.isNaN=_I;var WI=e=>Number.isInteger(e);J.isInteger=WI;var UI=e=>(0,J.isNotNil)(e)&&typeof e=="object"&&!(e instanceof Array);J.isRecord=UI;var KI=e=>(0,J.isRecord)(e)&&Object.keys(e).length===0;J.isEmptyRecord=KI;var qI=e=>(0,J.isRecord)(e)&&Object.keys(e).length>0;J.isNonEmptyRecord=qI;var XI=e=>(0,J.isNotNil)(e)&&typeof e=="object"&&e instanceof Array;J.isArray=XI;var YI=e=>(0,J.isArray)(e)&&e.length===0;J.isEmptyArray=YI;var JI=e=>(0,J.isArray)(e)&&e.length>0;J.isNonEmptyArray=JI;var ZI=e=>(0,J.isNotNil)(e)&&typeof e=="function";J.isFunction=ZI;var QI=e=>!(0,J.isFunction)(e);J.isNotFunction=QI;var ek=e=>(0,J.isNotNil)(e)&&typeof e=="boolean";J.isBoolean=ek;var tk=e=>!(0,J.isBoolean)(e);J.isNotBoolean=tk;var rk=e=>e===void 0;J.isVoid=rk;var nk=e=>(0,J.isNotNil)(e)&&e instanceof Error;J.isError=nk;var ok=(e,t)=>(0,J.isNonEmptyRecord)(e)&&t in e;J.hasKey=ok});var F6=Ie((Wue,K0)=>{i();var R6=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);R6?(W0=new Uint8Array(16),K0.exports=function(){return R6(W0),W0}):(U0=new Array(16),K0.exports=function(){for(var t=0,r;t<16;t++)t&3||(r=Math.random()*4294967296),U0[t]=r>>>((t&3)<<3)&255;return U0});var W0,U0});var M6=Ie((Kue,O6)=>{i();var B6=[];for(nl=0;nl<256;++nl)B6[nl]=(nl+256).toString(16).substr(1);var nl;function hN(e,t){var r=t||0,n=B6;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}O6.exports=hN});var k6=Ie((Xue,I6)=>{i();var gN=F6(),vN=M6();function yN(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||gN)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var a=0;a<16;++a)t[n+a]=o[a];return t||vN(o)}I6.exports=yN});function b8(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var C8=x0(()=>{i()});var x8={};ff(x8,{default:()=>LN});var VN,LN,w8=x0(()=>{i();C8();VN=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,LN=b8(function(e){return VN.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var WS=Ie((yMe,_S)=>{"use strict";i();var GS=Array.isArray,jS=Object.keys,Qj=Object.prototype.hasOwnProperty,e_=typeof Element<"u";function o5(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=GS(e),n=GS(t),o,a,s;if(r&&n){if(a=e.length,a!=t.length)return!1;for(o=a;o--!==0;)if(!o5(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var u=e instanceof Date,l=t instanceof Date;if(u!=l)return!1;if(u&&l)return e.getTime()==t.getTime();var c=e instanceof RegExp,p=t instanceof RegExp;if(c!=p)return!1;if(c&&p)return e.toString()==t.toString();var d=jS(e);if(a=d.length,a!==jS(t).length)return!1;for(o=a;o--!==0;)if(!Qj.call(t,d[o]))return!1;if(e_&&e instanceof Element&&t instanceof Element)return e===t;for(o=a;o--!==0;)if(s=d[o],!(s==="_owner"&&e.$$typeof)&&!o5(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}_S.exports=function(t,r){try{return o5(t,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}});var nD=Ie(Re=>{"use strict";i();var dt=typeof Symbol=="function"&&Symbol.for,u5=dt?Symbol.for("react.element"):60103,l5=dt?Symbol.for("react.portal"):60106,Md=dt?Symbol.for("react.fragment"):60107,Id=dt?Symbol.for("react.strict_mode"):60108,kd=dt?Symbol.for("react.profiler"):60114,Nd=dt?Symbol.for("react.provider"):60109,Vd=dt?Symbol.for("react.context"):60110,c5=dt?Symbol.for("react.async_mode"):60111,Ld=dt?Symbol.for("react.concurrent_mode"):60111,$d=dt?Symbol.for("react.forward_ref"):60112,zd=dt?Symbol.for("react.suspense"):60113,b_=dt?Symbol.for("react.suspense_list"):60120,Hd=dt?Symbol.for("react.memo"):60115,Gd=dt?Symbol.for("react.lazy"):60116,C_=dt?Symbol.for("react.block"):60121,x_=dt?Symbol.for("react.fundamental"):60117,w_=dt?Symbol.for("react.responder"):60118,S_=dt?Symbol.for("react.scope"):60119;function Sr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case u5:switch(e=e.type,e){case c5:case Ld:case Md:case kd:case Id:case zd:return e;default:switch(e=e&&e.$$typeof,e){case Vd:case $d:case Gd:case Hd:case Nd:return e;default:return t}}case l5:return t}}}function rD(e){return Sr(e)===Ld}Re.AsyncMode=c5;Re.ConcurrentMode=Ld;Re.ContextConsumer=Vd;Re.ContextProvider=Nd;Re.Element=u5;Re.ForwardRef=$d;Re.Fragment=Md;Re.Lazy=Gd;Re.Memo=Hd;Re.Portal=l5;Re.Profiler=kd;Re.StrictMode=Id;Re.Suspense=zd;Re.isAsyncMode=function(e){return rD(e)||Sr(e)===c5};Re.isConcurrentMode=rD;Re.isContextConsumer=function(e){return Sr(e)===Vd};Re.isContextProvider=function(e){return Sr(e)===Nd};Re.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===u5};Re.isForwardRef=function(e){return Sr(e)===$d};Re.isFragment=function(e){return Sr(e)===Md};Re.isLazy=function(e){return Sr(e)===Gd};Re.isMemo=function(e){return Sr(e)===Hd};Re.isPortal=function(e){return Sr(e)===l5};Re.isProfiler=function(e){return Sr(e)===kd};Re.isStrictMode=function(e){return Sr(e)===Id};Re.isSuspense=function(e){return Sr(e)===zd};Re.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Md||e===Ld||e===kd||e===Id||e===zd||e===b_||typeof e=="object"&&e!==null&&(e.$$typeof===Gd||e.$$typeof===Hd||e.$$typeof===Nd||e.$$typeof===Vd||e.$$typeof===$d||e.$$typeof===x_||e.$$typeof===w_||e.$$typeof===S_||e.$$typeof===C_)};Re.typeOf=Sr});var iD=Ie((lIe,oD)=>{"use strict";i();oD.exports=nD()});var pD=Ie((fIe,fD)=>{"use strict";i();var f5=iD(),D_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},E_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},P_={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},lD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},p5={};p5[f5.ForwardRef]=P_;p5[f5.Memo]=lD;function aD(e){return f5.isMemo(e)?lD:p5[e.$$typeof]||D_}var T_=Object.defineProperty,A_=Object.getOwnPropertyNames,sD=Object.getOwnPropertySymbols,R_=Object.getOwnPropertyDescriptor,F_=Object.getPrototypeOf,uD=Object.prototype;function cD(e,t,r){if(typeof t!="string"){if(uD){var n=F_(t);n&&n!==uD&&cD(e,n,r)}var o=A_(t);sD&&(o=o.concat(sD(t)));for(var a=aD(e),s=aD(t),u=0;u<o.length;++u){var l=o[u];if(!E_[l]&&!(r&&r[l])&&!(s&&s[l])&&!(a&&a[l])){var c=R_(t,l);try{T_(e,l,c)}catch{}}}}return e}fD.exports=cD});var Jd=Ie((Eke,AD)=>{i();var q_=typeof Element<"u",X_=typeof Map=="function",Y_=typeof Set=="function",J_=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Yd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Yd(e[n],t[n]))return!1;return!0}var a;if(X_&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!Yd(n.value[1],t.get(n.value[0])))return!1;return!0}if(Y_&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(J_&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(q_&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!Yd(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}AD.exports=function(t,r){try{return Yd(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});var TP=Ie((IGe,PP)=>{"use strict";i();PP.exports=HK;var DP="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",EP="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",$K=new RegExp("^[^"+EP+"]*["+DP+"]"),zK=new RegExp("^[^"+DP+"]*["+EP+"]");function HK(e){return e=String(e||""),$K.test(e)?"rtl":zK.test(e)?"ltr":"neutral"}});var k1=Ie((NGe,AP)=>{i();function GK(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}AP.exports=GK});var FP=Ie((LGe,RP)=>{i();var jK=typeof window=="object"&&window&&window.Object===Object&&window;RP.exports=jK});var a3=Ie((zGe,BP)=>{i();var _K=FP(),WK=typeof self=="object"&&self&&self.Object===Object&&self,UK=_K||WK||Function("return this")();BP.exports=UK});var MP=Ie((GGe,OP)=>{i();var KK=a3(),qK=function(){return KK.Date.now()};OP.exports=qK});var kP=Ie((_Ge,IP)=>{i();var XK=/\s/;function YK(e){for(var t=e.length;t--&&XK.test(e.charAt(t)););return t}IP.exports=YK});var VP=Ie((UGe,NP)=>{i();var JK=kP(),ZK=/^\s+/;function QK(e){return e&&e.slice(0,JK(e)+1).replace(ZK,"")}NP.exports=QK});var s3=Ie((qGe,LP)=>{i();var eq=a3(),tq=eq.Symbol;LP.exports=tq});var GP=Ie((YGe,HP)=>{i();var $P=s3(),zP=Object.prototype,rq=zP.hasOwnProperty,nq=zP.toString,fc=$P?$P.toStringTag:void 0;function oq(e){var t=rq.call(e,fc),r=e[fc];try{e[fc]=void 0;var n=!0}catch{}var o=nq.call(e);return n&&(t?e[fc]=r:delete e[fc]),o}HP.exports=oq});var _P=Ie((ZGe,jP)=>{i();var iq=Object.prototype,aq=iq.toString;function sq(e){return aq.call(e)}jP.exports=sq});var qP=Ie((eje,KP)=>{i();var WP=s3(),uq=GP(),lq=_P(),cq="[object Null]",fq="[object Undefined]",UP=WP?WP.toStringTag:void 0;function pq(e){return e==null?e===void 0?fq:cq:UP&&UP in Object(e)?uq(e):lq(e)}KP.exports=pq});var YP=Ie((rje,XP)=>{i();function dq(e){return e!=null&&typeof e=="object"}XP.exports=dq});var ZP=Ie((oje,JP)=>{i();var mq=qP(),hq=YP(),gq="[object Symbol]";function vq(e){return typeof e=="symbol"||hq(e)&&mq(e)==gq}JP.exports=vq});var rT=Ie((aje,tT)=>{i();var yq=VP(),QP=k1(),bq=ZP(),eT=NaN,Cq=/^[-+]0x[0-9a-f]+$/i,xq=/^0b[01]+$/i,wq=/^0o[0-7]+$/i,Sq=parseInt;function Dq(e){if(typeof e=="number")return e;if(bq(e))return eT;if(QP(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=QP(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=yq(e);var r=xq.test(e);return r||wq.test(e)?Sq(e.slice(2),r?2:8):Cq.test(e)?eT:+e}tT.exports=Dq});var l3=Ie((uje,oT)=>{i();var Eq=k1(),u3=MP(),nT=rT(),Pq="Expected a function",Tq=Math.max,Aq=Math.min;function Rq(e,t,r){var n,o,a,s,u,l,c=0,p=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(Pq);t=nT(t)||0,Eq(r)&&(p=!!r.leading,d="maxWait"in r,a=d?Tq(nT(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h);function g(D){var P=n,F=o;return n=o=void 0,c=D,s=e.apply(F,P),s}function v(D){return c=D,u=setTimeout(y,t),p?g(D):s}function m(D){var P=D-l,F=D-c,B=t-P;return d?Aq(B,a-F):B}function b(D){var P=D-l,F=D-c;return l===void 0||P>=t||P<0||d&&F>=a}function y(){var D=u3();if(b(D))return x(D);u=setTimeout(y,m(D))}function x(D){return u=void 0,h&&n?g(D):(n=o=void 0,s)}function w(){u!==void 0&&clearTimeout(u),c=0,n=l=o=u=void 0}function S(){return u===void 0?s:x(u3())}function E(){var D=u3(),P=b(D);if(n=arguments,o=this,l=D,P){if(u===void 0)return v(l);if(d)return clearTimeout(u),u=setTimeout(y,t),g(l)}return u===void 0&&(u=setTimeout(y,t)),s}return E.cancel=w,E.flush=S,E}oT.exports=Rq});var aT=Ie((cje,iT)=>{i();var Fq=l3(),Bq=k1(),Oq="Expected a function";function Mq(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(Oq);return Bq(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Fq(e,t,{leading:n,maxWait:t,trailing:o})}iT.exports=Mq});var SA=Ie(Rn=>{"use strict";i();Object.defineProperty(Rn,"__esModule",{value:!0});var vJ=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),j3={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},yJ={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:vJ?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},bA={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(bc=1;bc<20;bc++)bA["f"+bc]=111+bc;var bc;function Z1(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return CA(s,t)}),o=function(u){return n.some(function(l){return xA(l,u)})},a=r==null?o:o(r);return a}function bJ(e,t){return Z1(e,t)}function CJ(e,t){return Z1(e,{byKey:!0},t)}function CA(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in j3)n[j3[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(u=(d=p.next()).done);u=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=_3(h),m=j3[v];(a===1||!m)&&(r?n.key=v:n.which=wA(h)),m&&(n[m]=g?null:!0)}}catch(b){l=!0,c=b}finally{try{!u&&p.return&&p.return()}finally{if(l)throw c}}return n}function xA(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function wA(e){e=_3(e);var t=bA[e]||e.toUpperCase().charCodeAt(0);return t}function _3(e){return e=e.toLowerCase(),e=yJ[e]||e,e}Rn.default=Z1;Rn.isHotkey=Z1;Rn.isCodeHotkey=bJ;Rn.isKeyHotkey=CJ;Rn.parseHotkey=CA;Rn.compareHotkey=xA;Rn.toKeyCode=wA;Rn.toKeyName=_3});var mR=Ie(Fn=>{"use strict";i();Object.defineProperty(Fn,"__esModule",{value:!0});var zZ=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),uv={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},cR={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:zZ?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},lv={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(Ec=1;Ec<20;Ec++)lv["f"+Ec]=111+Ec;var Ec;function um(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return fR(s,t)}),o=function(u){return n.some(function(l){return pR(l,u)})},a=r==null?o:o(r);return a}function HZ(e,t){return um(e,t)}function GZ(e,t){return um(e,{byKey:!0},t)}function fR(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in uv)n[uv[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(u=(d=p.next()).done);u=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=cv(h),m=uv[v];if(h.length>1&&!m&&!cR[h]&&!lv[v])throw new TypeError('Unknown modifier: "'+h+'"');(a===1||!m)&&(r?n.key=v:n.which=dR(h)),m&&(n[m]=g?null:!0)}}catch(b){l=!0,c=b}finally{try{!u&&p.return&&p.return()}finally{if(l)throw c}}return n}function pR(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function dR(e){e=cv(e);var t=lv[e]||e.toUpperCase().charCodeAt(0);return t}function cv(e){return e=e.toLowerCase(),e=cR[e]||e,e}Fn.default=um;Fn.isHotkey=um;Fn.isCodeHotkey=HZ;Fn.isKeyHotkey=GZ;Fn.parseHotkey=fR;Fn.compareHotkey=pR;Fn.toKeyCode=dR;Fn.toKeyName=cv});var Ioe={};ff(Ioe,{ActionModal:()=>P5,Avatar:()=>A5,Backdrop:()=>tn,BackgroundImage:()=>R5,Badge:()=>B5,Banner:()=>Zs,Box:()=>O5,Breakline:()=>M5,Button:()=>Qe,ButtonGroup:()=>io,ButtonLink:()=>V5,Checkbox:()=>Zl,CheckboxGroup:()=>nc,CheckboxMenuItem:()=>Ure,ClickArea:()=>$5,CloseButton:()=>G5,CollapsibleGroup:()=>W5,Divider:()=>oc,Ellipsis:()=>C5,FileSelect:()=>U5,Form:()=>X5,FormButtons:()=>J5,FormField:()=>Vv,FormFieldError:()=>tc,FormGlobalError:()=>ac,FullScreenModal:()=>Lv,Icon:()=>Pe,IconButton:()=>so,Image:()=>$v,Input:()=>ca,KeyboardShortcut:()=>zv,Label:()=>ec,LabelDescription:()=>rc,Link:()=>Jl,LinkButton:()=>Hv,List:()=>Oc,ListItem:()=>wa,MediaObject:()=>jv,Menu:()=>DM,MenuButton:()=>Z4,MenuItem:()=>Wre,MenuLabel:()=>tne,MenuRadioGroup:()=>rne,Modal:()=>yne,ModalBase:()=>ia,ModalBody:()=>Cne,ModalCloseButton:()=>Sne,ModalContent:()=>e7,ModalFooter:()=>xne,ModalHeader:()=>bne,Paper:()=>r7,ProgressBar:()=>o7,Radio:()=>lc,RadioGroup:()=>cc,RadioMenuItem:()=>Kre,RangeSelector:()=>h7,RangeSelectorCalendar:()=>rf,RangeSelectorInput:()=>lf,RichTextEditor:()=>Fc,ScreenReaderOnly:()=>_l,Select:()=>mi,Slider:()=>x7,Stack:()=>w7,SubMenu:()=>nne,SubMenuTrigger:()=>o0,Switch:()=>P7,Text:()=>nr,Thumbnail:()=>T7,ThumbnailCollage:()=>yI,Toast:()=>kl,ToastProvider:()=>Zp,Tooltip:()=>sa,Truncate:()=>Kl,VHSProvider:()=>d$,WistiaLogo:()=>R7,WistiaLogoNew:()=>F7,copyToClipboard:()=>za,datetimeHelpers:()=>lk,ellipsisFlexParentStyle:()=>HD,ellipsisStyle:()=>Dr,getBackgroundGradient:()=>gr,getSemiRandomBackgroundGradient:()=>fk,iconSizeMap:()=>Ol,isValidRange:()=>zu,mq:()=>ke,objectHelpers:()=>iN,rteDeserializeHTML:()=>Rc,rteFormatTypes:()=>ut,rteSerializeToHTML:()=>Ca,screenReaderOnlyStyle:()=>Ks,stringHelpers:()=>aN,useBoolean:()=>td,useClipboard:()=>Xx,useElementObserver:()=>nd,useEvent:()=>od,useFocusTrap:()=>ad,useForceUpdate:()=>lw,useFormikContext:()=>ai,useIsHovered:()=>xD,useKey:()=>Hl,useKeyPress:()=>Wd,useKeyPressOnce:()=>Kd,useLocalStorage:()=>ED,useMergedRefs:()=>js,useMq:()=>vn,useOnClickOutside:()=>_s,usePreventScroll:()=>qd,usePreviousValue:()=>Ws,useTheme:()=>gn,useThemeColor:()=>Be,useToast:()=>ru,useWindowSize:()=>Wp});module.exports=M7(Ioe);i();i();i();var za=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(a=>{throw a instanceof Error?a:new DOMException("The clipboard is not accessible","NotAllowedError")});let t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);let r=window.getSelection(),n=window.document.createRange();r?.removeAllRanges(),n.selectNode(t),r?.addRange(n);let o=!1;try{o=window.document.execCommand("copy")}catch(a){console.error("error",a)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};i();i();var W7=A(ee());i();i();function ue(e){let t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}i();function zi(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function w0(e,t){let r=ue(e);return isNaN(t)?zi(e,NaN):(t&&r.setDate(r.getDate()+t),r)}i();function _u(e,t){let r=ue(e);if(isNaN(t))return zi(e,NaN);if(!t)return r;let n=r.getDate(),o=zi(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);let a=o.getDate();return n>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}i();var ik=Math.pow(10,8)*24*60*60*1e3,rie=-ik;var I7=864e5;var ak=3600;var k7=ak*24,nie=k7*7,sk=k7*365.2425,uk=sk/12,oie=uk*3;i();i();function Xr(e){let t=ue(e);return t.setHours(0,0,0,0),t}i();function S0(e){let t=ue(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function pf(e,t){let r=Xr(e),n=Xr(t),o=+r-S0(r),a=+n-S0(n);return Math.round((o-a)/I7)}i();function D0(e,t){return _u(e,t*12)}i();function df(e,t){let r=ue(e),n=ue(t),o=r.getTime()-n.getTime();return o<0?-1:o>0?1:o}i();function hr(e,t){let r=Xr(e),n=Xr(t);return+r==+n}i();i();function N7(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Wu(e){if(!N7(e)&&typeof e!="number")return!1;let t=ue(e);return!isNaN(Number(t))}i();function L7(e,t){let r=ue(e),n=ue(t),o=V7(r,n),a=Math.abs(pf(r,n));r.setDate(r.getDate()-o*a);let s=+(V7(r,n)===-o),u=o*(a-s);return u===0?0:u}function V7(e,t){let r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}i();function Ha(e){let t=ue(e);return t.setHours(23,59,59,999),t}i();function E0(e){let t=ue(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}i();function $7(e,t){let r=ue(e.start),n=ue(e.end),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0);let u=t?.step??1;if(!u)return[];u<0&&(u=-u,o=!o);let l=[];for(;+s<=a;)l.push(ue(s)),s.setDate(s.getDate()+u),s.setHours(0,0,0,0);return o?l.reverse():l}i();function P0(e,t){let r=ue(e.start),n=ue(e.end),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0),s.setDate(1);let u=t?.step??1;if(!u)return[];u<0&&(u=-u,o=!o);let l=[];for(;+s<=a;)l.push(ue(s)),s.setMonth(s.getMonth()+u);return o?l.reverse():l}i();function Uu(e){let t=ue(e);return t.setDate(1),t.setHours(0,0,0,0),t}i();function z7(e){return ue(e).getDay()}i();function T0(e){let t=ue(e),r=t.getFullYear(),n=t.getMonth(),o=zi(e,0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}i();function A0(e){return ue(e).getFullYear()}i();function H7(e,t){let r=ue(e),n=ue(t);return r.getTime()>n.getTime()}i();function fn(e,t){let r=ue(e),n=ue(t);return+r<+n}i();function R0(e,t){let r=ue(e),n=ue(t);return+r==+n}i();function G7(e){return+ue(e)>Date.now()}i();function j7(e,t){let r=+ue(e),[n,o]=[+ue(t.start),+ue(t.end)].sort((a,s)=>a-s);return r>=n&&r<=o}var U7=1e3,F0=60,qu=60,_7=30,Rr=["en-US"],zn=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Ku=e=>e.toString().padStart(2,"0"),Yr=e=>e instanceof Date,Hn=e=>!Yr(e)||e.getTime()===0,K7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},q7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},X7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{let o=new Intl.DateTimeFormat(Rr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((a,s)=>(a[s.type]=s.value,a),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},Y7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},J7=(e,{timeZone:t=zn}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(Rr,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Z7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},mf=(e,{timeZone:t=zn}={})=>{if((0,W7.isNil)(e))return"";let r=new Date(e);if(Hn(r))return"";try{return new Intl.DateTimeFormat(Rr,{dateStyle:"medium",timeStyle:"short",timeZone:t}).format(r)}catch(n){return console.error(n),""}},Q7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{let{year:r,month:n,day:o,hour:a,minute:s,dayPeriod:u}=new Intl.DateTimeFormat(Rr,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",timeZone:t}).formatToParts(e).reduce((l,c)=>(c.type!=="literal"&&(l[c.type]=c.value),l),{});return`${n} ${o}, ${r}, ${a}:${s} ${u}`}catch(r){return console.error(r),""}},e6=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},t6=(e,{nowAnchor:t=new Date}={})=>{if(Hn(e))return"";let r=(t.valueOf()-e.valueOf())/(F0*U7),n=Math.round(r),o=pf(t,e);return r<0?mf(e):r<1?"< 1 minute ago":n<2?"1 minute ago":n<=qu?`${n} minutes ago`:o===0?`Today, ${Intl.DateTimeFormat(Rr,{timeStyle:"short"}).format(e)}`:o===1?`Yesterday, ${Intl.DateTimeFormat(Rr,{timeStyle:"short"}).format(e)}`:e.getFullYear()===t.getFullYear()?Intl.DateTimeFormat(Rr,{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"}).format(e):mf(e)},r6=e=>{let t=e.getTimezoneOffset()/qu*-1,r=Math.round(t),n=(t-r)*qu,o=r>=0?"+":"",a=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${a}:${s}`},Xu=e=>{let t=Math.floor(e/U7),r=Math.floor(t/F0),n=Math.floor(r/qu),o=t-r*F0,a=r-n*qu;return{seconds:o,minutes:a,hours:n}},n6=e=>{let{hours:t,minutes:r,seconds:n}=Xu(e);return t<1?`${r}:${Ku(n)}`:`${t}:${Ku(r)}:${Ku(n)}`},o6=e=>{let{hours:t,minutes:r,seconds:n}=Xu(e);return`${t}:${Ku(r)}:${Ku(n)}`},B0=e=>Yr(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,hf=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:a}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,a??0):null},O0=e=>hf(e)?.toISOString()??null,i6=(e,t=!0)=>{let r=e.getMinutes()<=_7,n=r?e.getHours():e.getHours()+1,o=r?_7:0,a={...B0(e),hours:n,minutes:o};return t?O0(a):hf(a)},a6=e=>{let{seconds:t,minutes:r,hours:n}=Xu(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var lk={isDate:Yr,dateOnlyString:K7,dateOnlyStringNumeric:q7,dateOnlyISOString:X7,monthDayStringNumeric:Y7,dayOfWeekString:J7,timeOnlyString:Z7,dateTimeString:mf,dateTimeStringForSentence:Q7,dateOnlyStringForSentence:e6,timeAgoString:t6,dateUTCOffset:r6,buildTimeDuration:Xu,mediaDurationString:n6,sessionDurationString:o6,dateToDateTime:B0,dateTimeToDate:hf,dateTimeToISO:O0,dateTimeRounded:i6,millisecondsToDurationISOString:a6};i();i();var s6=A(ee()),Ct=require("styled-components"),M0={defaultDarkOne:Ct.css`
|
|
10
|
+
"use strict";var PI=Object.create;var cf=Object.defineProperty;var TI=Object.getOwnPropertyDescriptor;var AI=Object.getOwnPropertyNames;var RI=Object.getPrototypeOf,FI=Object.prototype.hasOwnProperty;var x0=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ff=(e,t)=>{for(var r in t)cf(e,r,{get:t[r],enumerable:!0})},O7=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of AI(t))!FI.call(e,o)&&o!==r&&cf(e,o,{get:()=>t[o],enumerable:!(n=TI(t,o))||n.enumerable});return e};var A=(e,t,r)=>(r=e!=null?PI(RI(e)):{},O7(t||!e||!e.__esModule?cf(r,"default",{value:e,enumerable:!0}):r,e)),M7=e=>O7(cf({},"__esModule",{value:!0}),e);var f,i=x0(()=>{"use strict";f=A(require("react"))});var ee=Ie(J=>{"use strict";i();Object.defineProperty(J,"__esModule",{value:!0});J.hasKey=J.isError=J.isVoid=J.isNotBoolean=J.isBoolean=J.isNotFunction=J.isFunction=J.isNonEmptyArray=J.isEmptyArray=J.isArray=J.isNonEmptyRecord=J.isEmptyRecord=J.isRecord=J.isInteger=J.isNaN=J.isNotNumber=J.isNumber=J.isNonEmptyString=J.isEmptyString=J.isNotString=J.isString=J.isNotNil=J.isNil=J.isNotUndefined=J.isUndefined=J.isNotNull=J.isNull=void 0;var BI=e=>e===null;J.isNull=BI;var OI=e=>!(0,J.isNull)(e);J.isNotNull=OI;var MI=e=>e===void 0;J.isUndefined=MI;var II=e=>!(0,J.isUndefined)(e);J.isNotUndefined=II;var kI=e=>(0,J.isNull)(e)||(0,J.isUndefined)(e);J.isNil=kI;var NI=e=>!(0,J.isNil)(e);J.isNotNil=NI;var VI=e=>typeof e=="string";J.isString=VI;var LI=e=>!(0,J.isString)(e);J.isNotString=LI;var $I=e=>(0,J.isString)(e)&&e==="";J.isEmptyString=$I;var zI=e=>(0,J.isString)(e)&&!(0,J.isEmptyString)(e);J.isNonEmptyString=zI;var HI=e=>typeof e=="number";J.isNumber=HI;var GI=e=>!(0,J.isNumber)(e);J.isNotNumber=GI;var jI=e=>Number.isNaN(e);J.isNaN=jI;var _I=e=>Number.isInteger(e);J.isInteger=_I;var WI=e=>(0,J.isNotNil)(e)&&typeof e=="object"&&!(e instanceof Array);J.isRecord=WI;var UI=e=>(0,J.isRecord)(e)&&Object.keys(e).length===0;J.isEmptyRecord=UI;var KI=e=>(0,J.isRecord)(e)&&Object.keys(e).length>0;J.isNonEmptyRecord=KI;var qI=e=>(0,J.isNotNil)(e)&&typeof e=="object"&&e instanceof Array;J.isArray=qI;var XI=e=>(0,J.isArray)(e)&&e.length===0;J.isEmptyArray=XI;var YI=e=>(0,J.isArray)(e)&&e.length>0;J.isNonEmptyArray=YI;var JI=e=>(0,J.isNotNil)(e)&&typeof e=="function";J.isFunction=JI;var ZI=e=>!(0,J.isFunction)(e);J.isNotFunction=ZI;var QI=e=>(0,J.isNotNil)(e)&&typeof e=="boolean";J.isBoolean=QI;var ek=e=>!(0,J.isBoolean)(e);J.isNotBoolean=ek;var tk=e=>e===void 0;J.isVoid=tk;var rk=e=>(0,J.isNotNil)(e)&&e instanceof Error;J.isError=rk;var nk=(e,t)=>(0,J.isNonEmptyRecord)(e)&&t in e;J.hasKey=nk});var F6=Ie((Wue,K0)=>{i();var R6=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);R6?(W0=new Uint8Array(16),K0.exports=function(){return R6(W0),W0}):(U0=new Array(16),K0.exports=function(){for(var t=0,r;t<16;t++)t&3||(r=Math.random()*4294967296),U0[t]=r>>>((t&3)<<3)&255;return U0});var W0,U0});var M6=Ie((Kue,O6)=>{i();var B6=[];for(nl=0;nl<256;++nl)B6[nl]=(nl+256).toString(16).substr(1);var nl;function mN(e,t){var r=t||0,n=B6;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}O6.exports=mN});var k6=Ie((Xue,I6)=>{i();var hN=F6(),gN=M6();function vN(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e==="binary"?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||hN)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var a=0;a<16;++a)t[n+a]=o[a];return t||gN(o)}I6.exports=vN});function b8(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var C8=x0(()=>{i()});var x8={};ff(x8,{default:()=>VN});var NN,VN,w8=x0(()=>{i();C8();NN=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,VN=b8(function(e){return NN.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var _S=Ie((yMe,jS)=>{"use strict";i();var HS=Array.isArray,GS=Object.keys,Qj=Object.prototype.hasOwnProperty,e_=typeof Element<"u";function o5(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=HS(e),n=HS(t),o,a,s;if(r&&n){if(a=e.length,a!=t.length)return!1;for(o=a;o--!==0;)if(!o5(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var u=e instanceof Date,l=t instanceof Date;if(u!=l)return!1;if(u&&l)return e.getTime()==t.getTime();var c=e instanceof RegExp,p=t instanceof RegExp;if(c!=p)return!1;if(c&&p)return e.toString()==t.toString();var d=GS(e);if(a=d.length,a!==GS(t).length)return!1;for(o=a;o--!==0;)if(!Qj.call(t,d[o]))return!1;if(e_&&e instanceof Element&&t instanceof Element)return e===t;for(o=a;o--!==0;)if(s=d[o],!(s==="_owner"&&e.$$typeof)&&!o5(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}jS.exports=function(t,r){try{return o5(t,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}});var rD=Ie(Re=>{"use strict";i();var dt=typeof Symbol=="function"&&Symbol.for,u5=dt?Symbol.for("react.element"):60103,l5=dt?Symbol.for("react.portal"):60106,Md=dt?Symbol.for("react.fragment"):60107,Id=dt?Symbol.for("react.strict_mode"):60108,kd=dt?Symbol.for("react.profiler"):60114,Nd=dt?Symbol.for("react.provider"):60109,Vd=dt?Symbol.for("react.context"):60110,c5=dt?Symbol.for("react.async_mode"):60111,Ld=dt?Symbol.for("react.concurrent_mode"):60111,$d=dt?Symbol.for("react.forward_ref"):60112,zd=dt?Symbol.for("react.suspense"):60113,b_=dt?Symbol.for("react.suspense_list"):60120,Hd=dt?Symbol.for("react.memo"):60115,Gd=dt?Symbol.for("react.lazy"):60116,C_=dt?Symbol.for("react.block"):60121,x_=dt?Symbol.for("react.fundamental"):60117,w_=dt?Symbol.for("react.responder"):60118,S_=dt?Symbol.for("react.scope"):60119;function Sr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case u5:switch(e=e.type,e){case c5:case Ld:case Md:case kd:case Id:case zd:return e;default:switch(e=e&&e.$$typeof,e){case Vd:case $d:case Gd:case Hd:case Nd:return e;default:return t}}case l5:return t}}}function tD(e){return Sr(e)===Ld}Re.AsyncMode=c5;Re.ConcurrentMode=Ld;Re.ContextConsumer=Vd;Re.ContextProvider=Nd;Re.Element=u5;Re.ForwardRef=$d;Re.Fragment=Md;Re.Lazy=Gd;Re.Memo=Hd;Re.Portal=l5;Re.Profiler=kd;Re.StrictMode=Id;Re.Suspense=zd;Re.isAsyncMode=function(e){return tD(e)||Sr(e)===c5};Re.isConcurrentMode=tD;Re.isContextConsumer=function(e){return Sr(e)===Vd};Re.isContextProvider=function(e){return Sr(e)===Nd};Re.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===u5};Re.isForwardRef=function(e){return Sr(e)===$d};Re.isFragment=function(e){return Sr(e)===Md};Re.isLazy=function(e){return Sr(e)===Gd};Re.isMemo=function(e){return Sr(e)===Hd};Re.isPortal=function(e){return Sr(e)===l5};Re.isProfiler=function(e){return Sr(e)===kd};Re.isStrictMode=function(e){return Sr(e)===Id};Re.isSuspense=function(e){return Sr(e)===zd};Re.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Md||e===Ld||e===kd||e===Id||e===zd||e===b_||typeof e=="object"&&e!==null&&(e.$$typeof===Gd||e.$$typeof===Hd||e.$$typeof===Nd||e.$$typeof===Vd||e.$$typeof===$d||e.$$typeof===x_||e.$$typeof===w_||e.$$typeof===S_||e.$$typeof===C_)};Re.typeOf=Sr});var oD=Ie((lIe,nD)=>{"use strict";i();nD.exports=rD()});var fD=Ie((fIe,cD)=>{"use strict";i();var f5=oD(),D_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},E_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},P_={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},uD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},p5={};p5[f5.ForwardRef]=P_;p5[f5.Memo]=uD;function iD(e){return f5.isMemo(e)?uD:p5[e.$$typeof]||D_}var T_=Object.defineProperty,A_=Object.getOwnPropertyNames,aD=Object.getOwnPropertySymbols,R_=Object.getOwnPropertyDescriptor,F_=Object.getPrototypeOf,sD=Object.prototype;function lD(e,t,r){if(typeof t!="string"){if(sD){var n=F_(t);n&&n!==sD&&lD(e,n,r)}var o=A_(t);aD&&(o=o.concat(aD(t)));for(var a=iD(e),s=iD(t),u=0;u<o.length;++u){var l=o[u];if(!E_[l]&&!(r&&r[l])&&!(s&&s[l])&&!(a&&a[l])){var c=R_(t,l);try{T_(e,l,c)}catch{}}}}return e}cD.exports=lD});var Jd=Ie((Eke,TD)=>{i();var q_=typeof Element<"u",X_=typeof Map=="function",Y_=typeof Set=="function",J_=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Yd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Yd(e[n],t[n]))return!1;return!0}var a;if(X_&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!Yd(n.value[1],t.get(n.value[0])))return!1;return!0}if(Y_&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(J_&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(q_&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!Yd(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}TD.exports=function(t,r){try{return Yd(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});var PP=Ie((IGe,EP)=>{"use strict";i();EP.exports=HK;var SP="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",DP="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",$K=new RegExp("^[^"+DP+"]*["+SP+"]"),zK=new RegExp("^[^"+SP+"]*["+DP+"]");function HK(e){return e=String(e||""),$K.test(e)?"rtl":zK.test(e)?"ltr":"neutral"}});var k1=Ie((NGe,TP)=>{i();function GK(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}TP.exports=GK});var RP=Ie((LGe,AP)=>{i();var jK=typeof window=="object"&&window&&window.Object===Object&&window;AP.exports=jK});var a3=Ie((zGe,FP)=>{i();var _K=RP(),WK=typeof self=="object"&&self&&self.Object===Object&&self,UK=_K||WK||Function("return this")();FP.exports=UK});var OP=Ie((GGe,BP)=>{i();var KK=a3(),qK=function(){return KK.Date.now()};BP.exports=qK});var IP=Ie((_Ge,MP)=>{i();var XK=/\s/;function YK(e){for(var t=e.length;t--&&XK.test(e.charAt(t)););return t}MP.exports=YK});var NP=Ie((UGe,kP)=>{i();var JK=IP(),ZK=/^\s+/;function QK(e){return e&&e.slice(0,JK(e)+1).replace(ZK,"")}kP.exports=QK});var s3=Ie((qGe,VP)=>{i();var eq=a3(),tq=eq.Symbol;VP.exports=tq});var HP=Ie((YGe,zP)=>{i();var LP=s3(),$P=Object.prototype,rq=$P.hasOwnProperty,nq=$P.toString,fc=LP?LP.toStringTag:void 0;function oq(e){var t=rq.call(e,fc),r=e[fc];try{e[fc]=void 0;var n=!0}catch{}var o=nq.call(e);return n&&(t?e[fc]=r:delete e[fc]),o}zP.exports=oq});var jP=Ie((ZGe,GP)=>{i();var iq=Object.prototype,aq=iq.toString;function sq(e){return aq.call(e)}GP.exports=sq});var KP=Ie((eje,UP)=>{i();var _P=s3(),uq=HP(),lq=jP(),cq="[object Null]",fq="[object Undefined]",WP=_P?_P.toStringTag:void 0;function pq(e){return e==null?e===void 0?fq:cq:WP&&WP in Object(e)?uq(e):lq(e)}UP.exports=pq});var XP=Ie((rje,qP)=>{i();function dq(e){return e!=null&&typeof e=="object"}qP.exports=dq});var JP=Ie((oje,YP)=>{i();var mq=KP(),hq=XP(),gq="[object Symbol]";function vq(e){return typeof e=="symbol"||hq(e)&&mq(e)==gq}YP.exports=vq});var tT=Ie((aje,eT)=>{i();var yq=NP(),ZP=k1(),bq=JP(),QP=NaN,Cq=/^[-+]0x[0-9a-f]+$/i,xq=/^0b[01]+$/i,wq=/^0o[0-7]+$/i,Sq=parseInt;function Dq(e){if(typeof e=="number")return e;if(bq(e))return QP;if(ZP(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ZP(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=yq(e);var r=xq.test(e);return r||wq.test(e)?Sq(e.slice(2),r?2:8):Cq.test(e)?QP:+e}eT.exports=Dq});var l3=Ie((uje,nT)=>{i();var Eq=k1(),u3=OP(),rT=tT(),Pq="Expected a function",Tq=Math.max,Aq=Math.min;function Rq(e,t,r){var n,o,a,s,u,l,c=0,p=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(Pq);t=rT(t)||0,Eq(r)&&(p=!!r.leading,d="maxWait"in r,a=d?Tq(rT(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h);function g(D){var P=n,F=o;return n=o=void 0,c=D,s=e.apply(F,P),s}function v(D){return c=D,u=setTimeout(y,t),p?g(D):s}function m(D){var P=D-l,F=D-c,B=t-P;return d?Aq(B,a-F):B}function b(D){var P=D-l,F=D-c;return l===void 0||P>=t||P<0||d&&F>=a}function y(){var D=u3();if(b(D))return x(D);u=setTimeout(y,m(D))}function x(D){return u=void 0,h&&n?g(D):(n=o=void 0,s)}function w(){u!==void 0&&clearTimeout(u),c=0,n=l=o=u=void 0}function S(){return u===void 0?s:x(u3())}function E(){var D=u3(),P=b(D);if(n=arguments,o=this,l=D,P){if(u===void 0)return v(l);if(d)return clearTimeout(u),u=setTimeout(y,t),g(l)}return u===void 0&&(u=setTimeout(y,t)),s}return E.cancel=w,E.flush=S,E}nT.exports=Rq});var iT=Ie((cje,oT)=>{i();var Fq=l3(),Bq=k1(),Oq="Expected a function";function Mq(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(Oq);return Bq(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Fq(e,t,{leading:n,maxWait:t,trailing:o})}oT.exports=Mq});var wA=Ie(Rn=>{"use strict";i();Object.defineProperty(Rn,"__esModule",{value:!0});var vJ=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),j3={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},yJ={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:vJ?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},yA={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(bc=1;bc<20;bc++)yA["f"+bc]=111+bc;var bc;function Z1(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return bA(s,t)}),o=function(u){return n.some(function(l){return CA(l,u)})},a=r==null?o:o(r);return a}function bJ(e,t){return Z1(e,t)}function CJ(e,t){return Z1(e,{byKey:!0},t)}function bA(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in j3)n[j3[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(u=(d=p.next()).done);u=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=_3(h),m=j3[v];(a===1||!m)&&(r?n.key=v:n.which=xA(h)),m&&(n[m]=g?null:!0)}}catch(b){l=!0,c=b}finally{try{!u&&p.return&&p.return()}finally{if(l)throw c}}return n}function CA(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function xA(e){e=_3(e);var t=yA[e]||e.toUpperCase().charCodeAt(0);return t}function _3(e){return e=e.toLowerCase(),e=yJ[e]||e,e}Rn.default=Z1;Rn.isHotkey=Z1;Rn.isCodeHotkey=bJ;Rn.isKeyHotkey=CJ;Rn.parseHotkey=bA;Rn.compareHotkey=CA;Rn.toKeyCode=xA;Rn.toKeyName=_3});var dR=Ie(Fn=>{"use strict";i();Object.defineProperty(Fn,"__esModule",{value:!0});var zZ=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),uv={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},lR={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:zZ?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},lv={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(Ec=1;Ec<20;Ec++)lv["f"+Ec]=111+Ec;var Ec;function um(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return cR(s,t)}),o=function(u){return n.some(function(l){return fR(l,u)})},a=r==null?o:o(r);return a}function HZ(e,t){return um(e,t)}function GZ(e,t){return um(e,{byKey:!0},t)}function cR(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),a=o.length;for(var s in uv)n[uv[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var p=o[Symbol.iterator](),d;!(u=(d=p.next()).done);u=!0){var h=d.value,g=h.endsWith("?")&&h.length>1;g&&(h=h.slice(0,-1));var v=cv(h),m=uv[v];if(h.length>1&&!m&&!lR[h]&&!lv[v])throw new TypeError('Unknown modifier: "'+h+'"');(a===1||!m)&&(r?n.key=v:n.which=pR(h)),m&&(n[m]=g?null:!0)}}catch(b){l=!0,c=b}finally{try{!u&&p.return&&p.return()}finally{if(l)throw c}}return n}function fR(e,t){for(var r in e){var n=e[r],o=void 0;if(n!=null&&(r==="key"&&t.key!=null?o=t.key.toLowerCase():r==="which"?o=n===91&&t.which===93?91:t.which:o=t[r],!(o==null&&n===!1)&&o!==n))return!1}return!0}function pR(e){e=cv(e);var t=lv[e]||e.toUpperCase().charCodeAt(0);return t}function cv(e){return e=e.toLowerCase(),e=lR[e]||e,e}Fn.default=um;Fn.isHotkey=um;Fn.isCodeHotkey=HZ;Fn.isKeyHotkey=GZ;Fn.parseHotkey=cR;Fn.compareHotkey=fR;Fn.toKeyCode=pR;Fn.toKeyName=cv});var Ioe={};ff(Ioe,{ActionModal:()=>P5,Avatar:()=>A5,Backdrop:()=>tn,BackgroundImage:()=>R5,Badge:()=>B5,Banner:()=>Zs,Box:()=>O5,Breakline:()=>M5,Button:()=>Qe,ButtonGroup:()=>io,ButtonLink:()=>V5,Checkbox:()=>Zl,CheckboxGroup:()=>nc,CheckboxMenuItem:()=>Ure,ClickArea:()=>$5,CloseButton:()=>G5,CollapsibleGroup:()=>W5,Divider:()=>oc,Ellipsis:()=>C5,FileSelect:()=>U5,Form:()=>X5,FormButtons:()=>J5,FormField:()=>Vv,FormFieldError:()=>tc,FormGlobalError:()=>ac,FullScreenModal:()=>Lv,Icon:()=>Pe,IconButton:()=>so,Image:()=>$v,Input:()=>ca,KeyboardShortcut:()=>zv,Label:()=>ec,LabelDescription:()=>rc,Link:()=>Jl,LinkButton:()=>Hv,List:()=>Oc,ListItem:()=>wa,MediaObject:()=>jv,Menu:()=>SM,MenuButton:()=>Z4,MenuItem:()=>Wre,MenuLabel:()=>tne,MenuRadioGroup:()=>rne,Modal:()=>yne,ModalBase:()=>ia,ModalBody:()=>Cne,ModalCloseButton:()=>Sne,ModalContent:()=>e7,ModalFooter:()=>xne,ModalHeader:()=>bne,Paper:()=>r7,ProgressBar:()=>o7,Radio:()=>lc,RadioGroup:()=>cc,RadioMenuItem:()=>Kre,RangeSelector:()=>h7,RangeSelectorCalendar:()=>rf,RangeSelectorInput:()=>lf,RichTextEditor:()=>Fc,ScreenReaderOnly:()=>_l,Select:()=>mi,Slider:()=>x7,Stack:()=>w7,SubMenu:()=>nne,SubMenuTrigger:()=>o0,Switch:()=>P7,Text:()=>nr,Thumbnail:()=>T7,ThumbnailCollage:()=>vI,Toast:()=>kl,ToastProvider:()=>Zp,Tooltip:()=>sa,Truncate:()=>Kl,VHSProvider:()=>d$,WistiaLogo:()=>R7,WistiaLogoNew:()=>F7,copyToClipboard:()=>za,datetimeHelpers:()=>uk,ellipsisFlexParentStyle:()=>zD,ellipsisStyle:()=>Dr,getBackgroundGradient:()=>gr,getSemiRandomBackgroundGradient:()=>ck,iconSizeMap:()=>Ol,isValidRange:()=>zu,mq:()=>ke,objectHelpers:()=>oN,rteDeserializeHTML:()=>Rc,rteFormatTypes:()=>ut,rteSerializeToHTML:()=>Ca,screenReaderOnlyStyle:()=>Ks,stringHelpers:()=>iN,useBoolean:()=>td,useClipboard:()=>qx,useElementObserver:()=>nd,useEvent:()=>od,useFocusTrap:()=>ad,useForceUpdate:()=>uw,useFormikContext:()=>ai,useIsHovered:()=>CD,useKey:()=>Hl,useKeyPress:()=>Wd,useKeyPressOnce:()=>Kd,useLocalStorage:()=>DD,useMergedRefs:()=>js,useMq:()=>vn,useOnClickOutside:()=>_s,usePreventScroll:()=>qd,usePreviousValue:()=>Ws,useTheme:()=>gn,useThemeColor:()=>Be,useToast:()=>ru,useWindowSize:()=>Wp});module.exports=M7(Ioe);i();i();i();var za=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(a=>{throw a instanceof Error?a:new DOMException("The clipboard is not accessible","NotAllowedError")});let t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);let r=window.getSelection(),n=window.document.createRange();r?.removeAllRanges(),n.selectNode(t),r?.addRange(n);let o=!1;try{o=window.document.execCommand("copy")}catch(a){console.error("error",a)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};i();i();var W7=A(ee());i();i();function ue(e){let t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}i();function zi(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function w0(e,t){let r=ue(e);return isNaN(t)?zi(e,NaN):(t&&r.setDate(r.getDate()+t),r)}i();function _u(e,t){let r=ue(e);if(isNaN(t))return zi(e,NaN);if(!t)return r;let n=r.getDate(),o=zi(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);let a=o.getDate();return n>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}i();var ok=Math.pow(10,8)*24*60*60*1e3,rie=-ok;var I7=864e5;var ik=3600;var k7=ik*24,nie=k7*7,ak=k7*365.2425,sk=ak/12,oie=sk*3;i();i();function Xr(e){let t=ue(e);return t.setHours(0,0,0,0),t}i();function S0(e){let t=ue(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function pf(e,t){let r=Xr(e),n=Xr(t),o=+r-S0(r),a=+n-S0(n);return Math.round((o-a)/I7)}i();function D0(e,t){return _u(e,t*12)}i();function df(e,t){let r=ue(e),n=ue(t),o=r.getTime()-n.getTime();return o<0?-1:o>0?1:o}i();function hr(e,t){let r=Xr(e),n=Xr(t);return+r==+n}i();i();function N7(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Wu(e){if(!N7(e)&&typeof e!="number")return!1;let t=ue(e);return!isNaN(Number(t))}i();function L7(e,t){let r=ue(e),n=ue(t),o=V7(r,n),a=Math.abs(pf(r,n));r.setDate(r.getDate()-o*a);let s=+(V7(r,n)===-o),u=o*(a-s);return u===0?0:u}function V7(e,t){let r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}i();function Ha(e){let t=ue(e);return t.setHours(23,59,59,999),t}i();function E0(e){let t=ue(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}i();function $7(e,t){let r=ue(e.start),n=ue(e.end),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0);let u=t?.step??1;if(!u)return[];u<0&&(u=-u,o=!o);let l=[];for(;+s<=a;)l.push(ue(s)),s.setDate(s.getDate()+u),s.setHours(0,0,0,0);return o?l.reverse():l}i();function P0(e,t){let r=ue(e.start),n=ue(e.end),o=+r>+n,a=o?+r:+n,s=o?n:r;s.setHours(0,0,0,0),s.setDate(1);let u=t?.step??1;if(!u)return[];u<0&&(u=-u,o=!o);let l=[];for(;+s<=a;)l.push(ue(s)),s.setMonth(s.getMonth()+u);return o?l.reverse():l}i();function Uu(e){let t=ue(e);return t.setDate(1),t.setHours(0,0,0,0),t}i();function z7(e){return ue(e).getDay()}i();function T0(e){let t=ue(e),r=t.getFullYear(),n=t.getMonth(),o=zi(e,0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}i();function A0(e){return ue(e).getFullYear()}i();function H7(e,t){let r=ue(e),n=ue(t);return r.getTime()>n.getTime()}i();function fn(e,t){let r=ue(e),n=ue(t);return+r<+n}i();function R0(e,t){let r=ue(e),n=ue(t);return+r==+n}i();function G7(e){return+ue(e)>Date.now()}i();function j7(e,t){let r=+ue(e),[n,o]=[+ue(t.start),+ue(t.end)].sort((a,s)=>a-s);return r>=n&&r<=o}var U7=1e3,F0=60,qu=60,_7=30,Rr=["en-US"],zn=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Ku=e=>e.toString().padStart(2,"0"),Yr=e=>e instanceof Date,Hn=e=>!Yr(e)||e.getTime()===0,K7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},q7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},X7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{let o=new Intl.DateTimeFormat(Rr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((a,s)=>(a[s.type]=s.value,a),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},Y7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},J7=(e,{timeZone:t=zn}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(Rr,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},Z7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},mf=(e,{timeZone:t=zn}={})=>{if((0,W7.isNil)(e))return"";let r=new Date(e);if(Hn(r))return"";try{return new Intl.DateTimeFormat(Rr,{dateStyle:"medium",timeStyle:"short",timeZone:t}).format(r)}catch(n){return console.error(n),""}},Q7=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{let{year:r,month:n,day:o,hour:a,minute:s,dayPeriod:u}=new Intl.DateTimeFormat(Rr,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",timeZone:t}).formatToParts(e).reduce((l,c)=>(c.type!=="literal"&&(l[c.type]=c.value),l),{});return`${n} ${o}, ${r}, ${a}:${s} ${u}`}catch(r){return console.error(r),""}},e6=(e,{timeZone:t=zn}={})=>{if(!Yr(e)||Hn(e))return"";try{return new Intl.DateTimeFormat(Rr,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},t6=(e,{nowAnchor:t=new Date}={})=>{if(Hn(e))return"";let r=(t.valueOf()-e.valueOf())/(F0*U7),n=Math.round(r),o=pf(t,e);return r<0?mf(e):r<1?"< 1 minute ago":n<2?"1 minute ago":n<=qu?`${n} minutes ago`:o===0?`Today, ${Intl.DateTimeFormat(Rr,{timeStyle:"short"}).format(e)}`:o===1?`Yesterday, ${Intl.DateTimeFormat(Rr,{timeStyle:"short"}).format(e)}`:e.getFullYear()===t.getFullYear()?Intl.DateTimeFormat(Rr,{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"}).format(e):mf(e)},r6=e=>{let t=e.getTimezoneOffset()/qu*-1,r=Math.round(t),n=(t-r)*qu,o=r>=0?"+":"",a=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${a}:${s}`},Xu=e=>{let t=Math.floor(e/U7),r=Math.floor(t/F0),n=Math.floor(r/qu),o=t-r*F0,a=r-n*qu;return{seconds:o,minutes:a,hours:n}},n6=e=>{let{hours:t,minutes:r,seconds:n}=Xu(e);return t<1?`${r}:${Ku(n)}`:`${t}:${Ku(r)}:${Ku(n)}`},o6=e=>{let{hours:t,minutes:r,seconds:n}=Xu(e);return`${t}:${Ku(r)}:${Ku(n)}`},B0=e=>Yr(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,hf=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:a}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,a??0):null},O0=e=>hf(e)?.toISOString()??null,i6=(e,t=!0)=>{let r=e.getMinutes()<=_7,n=r?e.getHours():e.getHours()+1,o=r?_7:0,a={...B0(e),hours:n,minutes:o};return t?O0(a):hf(a)},a6=e=>{let{seconds:t,minutes:r,hours:n}=Xu(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var uk={isDate:Yr,dateOnlyString:K7,dateOnlyStringNumeric:q7,dateOnlyISOString:X7,monthDayStringNumeric:Y7,dayOfWeekString:J7,timeOnlyString:Z7,dateTimeString:mf,dateTimeStringForSentence:Q7,dateOnlyStringForSentence:e6,timeAgoString:t6,dateUTCOffset:r6,buildTimeDuration:Xu,mediaDurationString:n6,sessionDurationString:o6,dateToDateTime:B0,dateTimeToDate:hf,dateTimeToISO:O0,dateTimeRounded:i6,millisecondsToDurationISOString:a6};i();i();var s6=A(ee()),Ct=require("styled-components"),M0={defaultDarkOne:Ct.css`
|
|
11
11
|
background-color: #222d66;
|
|
12
12
|
background-image: radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
|
|
13
13
|
radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
radial-gradient(farthest-corner at top right, #bcbf19, transparent 70%),
|
|
98
98
|
radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
|
|
99
99
|
radial-gradient(farthest-corner at bottom right, #2949e5, transparent 55%);
|
|
100
|
-
`},gf=Object.keys(M0),gr=(e=void 0)=>(0,s6.isNotNil)(e)?M0[e]:M0.defaultDarkOne;i();var ck=31,fk=e=>{let t=null;if(typeof e=="string"&&e)t=Array.from(e).reduce((n,o)=>Math.imul(ck,n)+o.charCodeAt(0)||0,0);else return gf[0];let r=Math.abs(t)%gf.length;return gf[r]};i();i();i();i();function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tt.apply(this,arguments)}i();function I0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i();i();function Gn(e,t){return Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Gn(e,t)}function k0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Gn(e,t)}i();i();function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}i();function N0(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}i();i();function vf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(vf=function(){return!!e})()}function V0(e,t,r){if(vf())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&Gn(o,r.prototype),o}function Ju(e){var t=typeof Map=="function"?new Map:void 0;return Ju=function(n){if(n===null||!N0(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return V0(n,arguments,Yu(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Gn(o,n)},Ju(e)}i();var Kt=function(e){k0(t,e);function t(r){var n;if(1)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,a,s;s<o;s++);return I0(n)}return t}(Ju(Error));function u6(e,t){return e.substr(-t.length)===t}var pk=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function l6(e){if(typeof e!="string")return e;var t=e.match(pk);return t?parseFloat(e):e}var dk=function(t){return function(r,n){n===void 0&&(n="16px");var o=r,a=n;if(typeof r=="string"){if(!u6(r,"px"))throw new Kt(69,t,r);o=l6(r)}if(typeof n=="string"){if(!u6(n,"px"))throw new Kt(70,t,n);a=l6(n)}if(typeof o=="string")throw new Kt(71,r,t);if(typeof a=="string")throw new Kt(72,n,t);return""+o/a+t}},f6=dk,gse=f6("em");var mk=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function p6(e){if(typeof e!="string")return[e,""];var t=e.match(mk);return t?[parseFloat(e),t[2]]:[e,void 0]}var vse=f6("rem");function L0(e){return Math.round(e*255)}function hk(e,t,r){return L0(e)+","+L0(t)+","+L0(r)}function Zu(e,t,r,n){if(n===void 0&&(n=hk),t===0)return n(r,r,r);var o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*t,s=a*(1-Math.abs(o%2-1)),u=0,l=0,c=0;o>=0&&o<1?(u=a,l=s):o>=1&&o<2?(u=s,l=a):o>=2&&o<3?(l=a,c=s):o>=3&&o<4?(l=s,c=a):o>=4&&o<5?(u=s,c=a):o>=5&&o<6&&(u=a,c=s);var p=r-a/2,d=u+p,h=l+p,g=c+p;return n(d,h,g)}var c6={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function gk(e){if(typeof e!="string")return e;var t=e.toLowerCase();return c6[t]?"#"+c6[t]:e}var vk=/^#[a-fA-F0-9]{6}$/,yk=/^#[a-fA-F0-9]{8}$/,bk=/^#[a-fA-F0-9]{3}$/,Ck=/^#[a-fA-F0-9]{4}$/,$0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,xk=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,wk=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Sk=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Ga(e){if(typeof e!="string")throw new Kt(3);var t=gk(e);if(t.match(vk))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(yk)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(bk))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Ck)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=$0.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=xk.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var s=wk.exec(t);if(s){var u=parseInt(""+s[1],10),l=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+Zu(u,l,c)+")",d=$0.exec(p);if(!d)throw new Kt(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var h=Sk.exec(t.substring(0,50));if(h){var g=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,b="rgb("+Zu(g,v,m)+")",y=$0.exec(b);if(!y)throw new Kt(4,t,b);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Kt(5)}function Dk(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),s=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var u,l=o-a,c=s>.5?l/(2-o-a):l/(o+a);switch(o){case t:u=(r-n)/l+(r<n?6:0);break;case r:u=(n-t)/l+2;break;default:u=(t-r)/l+4;break}return u*=60,e.alpha!==void 0?{hue:u,saturation:c,lightness:s,alpha:e.alpha}:{hue:u,saturation:c,lightness:s}}function Ro(e){return Dk(Ga(e))}var Ek=function(t){return t.length===7&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t},H0=Ek;function Hi(e){var t=e.toString(16);return t.length===1?"0"+t:t}function z0(e){return Hi(Math.round(e*255))}function Pk(e,t,r){return H0("#"+z0(e)+z0(t)+z0(r))}function yf(e,t,r){return Zu(e,t,r,Pk)}function Tk(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return yf(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return yf(e.hue,e.saturation,e.lightness);throw new Kt(1)}function Ak(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?yf(e,t,r):"rgba("+Zu(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?yf(e.hue,e.saturation,e.lightness):"rgba("+Zu(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Kt(2)}function G0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return H0("#"+Hi(e)+Hi(t)+Hi(r));if(typeof e=="object"&&t===void 0&&r===void 0)return H0("#"+Hi(e.red)+Hi(e.green)+Hi(e.blue));throw new Kt(6)}function bf(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Ga(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?G0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?G0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Kt(7)}var Rk=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Fk=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Bk=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Ok=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Fo(e){if(typeof e!="object")throw new Kt(8);if(Fk(e))return bf(e);if(Rk(e))return G0(e);if(Ok(e))return Ak(e);if(Bk(e))return Tk(e);throw new Kt(8)}function d6(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):d6(e,t,o)}}function vr(e){return d6(e,e.length,[])}function Mk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{hue:r.hue+parseFloat(e)}))}var yse=vr(Mk);function ja(e,t,r){return Math.max(e,Math.min(t,r))}function Ik(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{lightness:ja(0,1,r.lightness-parseFloat(e))}))}var kk=vr(Ik),Je=kk;function Nk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{saturation:ja(0,1,r.saturation-parseFloat(e))}))}var bse=vr(Nk);function Vk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{lightness:ja(0,1,r.lightness+parseFloat(e))}))}var Cse=vr(Vk);function Lk(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=Ga(t),o=Tt({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=Ga(r),s=Tt({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),u=o.alpha-s.alpha,l=parseFloat(e)*2-1,c=l*u===-1?l:l+u,p=1+l*u,d=(c/p+1)/2,h=1-d,g={red:Math.floor(o.red*d+s.red*h),green:Math.floor(o.green*d+s.green*h),blue:Math.floor(o.blue*d+s.blue*h),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return bf(g)}var $k=vr(Lk),m6=$k;function zk(e,t){if(t==="transparent")return t;var r=Ga(t),n=typeof r.alpha=="number"?r.alpha:1,o=Tt({},r,{alpha:ja(0,1,(n*100+parseFloat(e)*100)/100)});return bf(o)}var xse=vr(zk);function Hk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{saturation:ja(0,1,r.saturation+parseFloat(e))}))}var wse=vr(Hk);function Gk(e,t){return t==="transparent"?t:Fo(Tt({},Ro(t),{hue:parseFloat(e)}))}var Sse=vr(Gk);function jk(e,t){return t==="transparent"?t:Fo(Tt({},Ro(t),{lightness:parseFloat(e)}))}var Dse=vr(jk);function _k(e,t){return t==="transparent"?t:Fo(Tt({},Ro(t),{saturation:parseFloat(e)}))}var Ese=vr(_k);function Wk(e,t){return t==="transparent"?t:m6(parseFloat(e),"rgb(0, 0, 0)",t)}var Pse=vr(Wk);function Uk(e,t){return t==="transparent"?t:m6(parseFloat(e),"rgb(255, 255, 255)",t)}var Tse=vr(Uk);function Kk(e,t){if(t==="transparent")return t;var r=Ga(t),n=typeof r.alpha=="number"?r.alpha:1,o=Tt({},r,{alpha:ja(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return bf(o)}var qk=vr(Kk),qt=qk;var Qu=e=>{let[r,n]=p6(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},Xk=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,Yk=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,Jk=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,Zk=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,Qk=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,eN=({theme:e})=>Qu(e.breakpoint.xs),tN=({theme:e})=>Qu(e.breakpoint.sm),rN=({theme:e})=>Qu(e.breakpoint.md),nN=({theme:e})=>Qu(e.breakpoint.lg),oN=({theme:e})=>Qu(e.breakpoint.xl),ke={xsAndUp:Xk,smAndUp:Yk,mdAndUp:Jk,lgAndUp:Zk,xlAndUp:Qk,xsAndDown:eN,smAndDown:tN,mdAndDown:rN,lgAndDown:nN,xlAndDown:oN};i();i();var jn=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object);i();var j0=e=>(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&(typeof e!="function"||t!=="caller"&&t!=="callee"&&t!=="arguments")&&e[t]!==null&&(typeof e[t]=="object"||typeof e[t]=="function")&&!Object.isFrozen(e[t])&&j0(e[t])}),e);i();var el=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{jn(n)&&Object.keys(n).forEach(o=>{jn(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=el(r[o],n[o]):r[o]=n[o]})}),r};i();var Cf=(e,t)=>t.reduce((r,n)=>(Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]),r),{});var iN={isObject:jn,deepFreeze:j0,merge:el,selectKeys:Cf};i();i();var h6=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase());i();var _n=e=>e==="true"||e==="false"?e==="true":!!e;i();var yr=e=>e==null?"":String(e);i();i();var _a=e=>typeof e=="string"||e instanceof String;var g6=e=>{if(!_a(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};i();var Bo=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!_a(e))return!1;let o=t.exec(e);if(!o)return!1;let a=o[1];return a===void 0||!a?!1:r.test(a)||n.test(a)};i();var v6=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1);i();var y6=e=>e.replace(/\n/g,"");i();var b6=e=>(e||"").replace(/\.[^/.]{1,4}$/,"");i();var C6=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`;i();var x6=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1);var aN={camelCase:h6,coerceToBoolean:_n,coerceToString:yr,isHttpUrl:g6,isString:_a,isUrl:Bo,lowerFirst:v6,removeNewlines:y6,stripExtension:b6,truncate:C6,upperFirst:x6};i();i();i();var rl=A(require("react"));i();var Oo=A(require("react"));i();var w6=A(require("react")),sN={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},S6=function(t){var r=t.message,n=t["aria-live"];return w6.default.createElement("div",{style:sN,role:"log","aria-live":n},r||"")};S6.propTypes={};var tl=S6;function uN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D6(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function lN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var E6=function(e){lN(t,e);function t(){var r,n,o;uN(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=D6(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),D6(n,o)}return t.getDerivedStateFromProps=function(n,o){var a=o.oldPolitemessage,s=o.oldPoliteMessageId,u=o.oldAssertiveMessage,l=o.oldAssertiveMessageId,c=n.politeMessage,p=n.politeMessageId,d=n.assertiveMessage,h=n.assertiveMessageId;return a!==c||s!==p?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:p,setAlternatePolite:!o.setAlternatePolite}:u!==d||l!==h?{assertiveMessage1:o.setAlternateAssertive?"":d,assertiveMessage2:o.setAlternateAssertive?d:"",oldAssertiveMessage:d,oldAssertiveMessageId:h,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,a=n.assertiveMessage2,s=n.politeMessage1,u=n.politeMessage2;return Oo.default.createElement("div",null,Oo.default.createElement(tl,{"aria-live":"assertive",message:o}),Oo.default.createElement(tl,{"aria-live":"assertive",message:a}),Oo.default.createElement(tl,{"aria-live":"polite",message:s}),Oo.default.createElement(tl,{"aria-live":"polite",message:u}))},t}(Oo.Component);E6.propTypes={};var P6=E6;i();var A6=A(require("react")),cN=A6.default.createContext({announceAssertive:T6,announcePolite:T6});function T6(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var Wa=cN;function fN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pN(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function dN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var mN=function(e){dN(t,e);function t(r){fN(this,t);var n=pN(this,e.call(this,r));return n.announcePolite=function(o,a){n.setState({announcePoliteMessage:o,politeMessageId:a||""})},n.announceAssertive=function(o,a){n.setState({announceAssertiveMessage:o,assertiveMessageId:a||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return t.prototype.render=function(){var n=this.state,o=n.announcePoliteMessage,a=n.politeMessageId,s=n.announceAssertiveMessage,u=n.assertiveMessageId,l=n.updateFunctions;return rl.default.createElement(Wa.Provider,{value:l},this.props.children,rl.default.createElement(P6,{assertiveMessage:s,assertiveMessageId:u,politeMessage:o,politeMessageId:a}))},t}(rl.Component),_0=mN;i();var X0=A(require("react"));i();var V6=require("react"),q0=A(k6());function bN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N6(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function CN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var L6=function(e){CN(t,e);function t(){var r,n,o;bN(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=N6(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var l=n.props,c=l.message,p=l["aria-live"],d=l.announceAssertive,h=l.announcePolite;p==="assertive"&&d(c||"",(0,q0.default)()),p==="polite"&&h(c||"",(0,q0.default)())},r),N6(n,o)}return t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(n){var o=this.props.message;o!==n.message&&this.announce()},t.prototype.componentWillUnmount=function(){var n=this.props,o=n.clearOnUnmount,a=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(a(""),s(""))},t.prototype.render=function(){return null},t}(V6.Component);L6.propTypes={};var $6=L6;var xN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z6=function(t){return X0.default.createElement(Wa.Consumer,null,function(r){return X0.default.createElement($6,xN({},r,t))})};z6.propTypes={};var ol=z6;i();var H6=A(require("react"));var wN=function(t){var r=t.children;return H6.default.createElement(Wa.Consumer,null,function(n){return r(n)})};wN.propTypes={};i();i();i();var Bf=require("react/jsx-runtime"),Ya=require("react");i();var G6=require("react"),Ua=(0,G6.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});i();var j6=require("react"),Mo=(0,j6.createContext)({});i();var br=require("react");i();var _6=require("react"),Io=(0,_6.createContext)(null);i();var xf=require("react");i();var Ka=typeof window<"u";var wf=Ka?xf.useLayoutEffect:xf.useEffect;i();var W6=require("react"),Sf=(0,W6.createContext)({strict:!1});i();i();var ko=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var SN="framerAppearId",Df="data-"+ko(SN);i();i();i();var Wn={skipAnimations:!1,useManualTiming:!1};i();function U6(e){let t=new Set,r=new Set,n=!1,o=!1,a=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function u(c){a.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,p=!1,d=!1)=>{let g=d&&n?t:r;return p&&a.add(c),g.has(c)||g.add(c),c},cancel:c=>{r.delete(c),a.delete(c)},process:c=>{if(s=c,n){o=!0;return}n=!0,[t,r]=[r,t],r.clear(),t.forEach(u),n=!1,o&&(o=!1,l.process(c))}};return l}var Ef=["read","resolveKeyframes","update","preRender","render","postRender"],DN=40;function Pf(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,s=Ef.reduce((y,x)=>(y[x]=U6(a),y),{}),{read:u,resolveKeyframes:l,update:c,preRender:p,render:d,postRender:h}=s,g=()=>{let y=Wn.useManualTiming?o.timestamp:performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(y-o.timestamp,DN),1),o.timestamp=y,o.isProcessing=!0,u.process(o),l.process(o),c.process(o),p.process(o),d.process(o),h.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(g))},v=()=>{r=!0,n=!0,o.isProcessing||e(g)};return{schedule:Ef.reduce((y,x)=>{let w=s[x];return y[x]=(S,E=!1,D=!1)=>(r||v(),w.schedule(S,E,D)),y},{}),cancel:y=>{for(let x=0;x<Ef.length;x++)s[Ef[x]].cancel(y)},state:o,steps:s}}var{schedule:qa,cancel:$le}=Pf(queueMicrotask,!1);i();function Un(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}i();var K6=require("react"),Tf=(0,K6.createContext)({});var q6=!1;function X6(e,t,r,n,o){let{visualElement:a}=(0,br.useContext)(Mo),s=(0,br.useContext)(Sf),u=(0,br.useContext)(Io),l=(0,br.useContext)(Ua).reducedMotion,c=(0,br.useRef)();n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:a,props:r,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:l}));let p=c.current,d=(0,br.useContext)(Tf);p&&!p.projection&&o&&(p.type==="html"||p.type==="svg")&&PN(c.current,r,o,d),(0,br.useInsertionEffect)(()=>{p&&p.update(r,u)});let h=(0,br.useRef)(!!(r[Df]&&!window.HandoffComplete));return wf(()=>{p&&(p.updateFeatures(),qa.render(p.render),h.current&&p.animationState&&p.animationState.animateChanges())}),(0,br.useEffect)(()=>{p&&(!h.current&&p.animationState&&p.animationState.animateChanges(),h.current&&(h.current=!1,q6||(q6=!0,queueMicrotask(EN))))}),p}function EN(){window.HandoffComplete=!0}function PN(e,t,r,n){let{layoutId:o,layout:a,drag:s,dragConstraints:u,layoutScroll:l,layoutRoot:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:Y6(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:!!s||u&&Un(u),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:c})}function Y6(e){if(e)return e.options.allowProjection!==!1?e.projection:Y6(e.parent)}i();var J6=require("react");function Z6(e,t,r){return(0,J6.useCallback)(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Un(r)&&(r.current=n))},[t])}i();var Ff=require("react");i();i();function Kn(e){return typeof e=="string"||Array.isArray(e)}i();i();function qn(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}i();var Af=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],il=["initial",...Af];function Gi(e){return qn(e.animate)||il.some(t=>Kn(e[t]))}function Rf(e){return!!(Gi(e)||e.variants)}function Q6(e,t){if(Gi(e)){let{initial:r,animate:n}=e;return{initial:r===!1||Kn(r)?r:void 0,animate:Kn(n)?n:void 0}}return e.inherit!==!1?t:{}}function t8(e){let{initial:t,animate:r}=Q6(e,(0,Ff.useContext)(Mo));return(0,Ff.useMemo)(()=>({initial:t,animate:r}),[e8(t),e8(r)])}function e8(e){return Array.isArray(e)?e.join(" "):e}i();i();var r8={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xn={};for(let e in r8)Xn[e]={isEnabled:t=>r8[e].some(r=>!!t[r])};function n8(e){for(let t in e)Xn[t]={...Xn[t],...e[t]}}i();var o8=require("react"),Xa=(0,o8.createContext)({});i();var i8=Symbol.for("motionComponentSymbol");i();i();var Fe=e=>e;var No=Fe,Jr=Fe;function a8({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&n8(e);function a(u,l){let c,p={...(0,Ya.useContext)(Ua),...u,layoutId:TN(u)},{isStatic:d}=p,h=t8(u),g=n(u,d);if(!d&&Ka){AN(p,e);let v=RN(p);c=v.MeasureLayout,h.visualElement=X6(o,g,p,t,v.ProjectionNode)}return(0,Bf.jsxs)(Mo.Provider,{value:h,children:[c&&h.visualElement?(0,Bf.jsx)(c,{visualElement:h.visualElement,...p}):null,r(o,u,Z6(g,h.visualElement,l),g,d,h.visualElement)]})}let s=(0,Ya.forwardRef)(a);return s[i8]=o,s}function TN({layoutId:e}){let t=(0,Ya.useContext)(Xa).id;return t&&e!==void 0?t+"-"+e:e}function AN(e,t){let r=(0,Ya.useContext)(Sf).strict}function RN(e){let{drag:t,layout:r}=Xn;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}i();function s8(e){function t(n,o={}){return a8(e(n,o))}if(typeof Proxy>"u")return t;let r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}i();i();i();var u8=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ja(e){return typeof e!="string"||e.includes("-")?!1:!!(u8.indexOf(e)>-1||/[A-Z]/u.test(e))}i();var as=require("react");i();var v8=require("react");i();i();var Za={};function l8(e){Object.assign(Za,e)}i();var Vo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],At=new Set(Vo);function Of(e,{layout:t,layoutId:r}){return At.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Za[e]||e==="opacity")}i();var Ne=e=>!!(e&&e.getVelocity);i();i();i();var Mf=(e,t)=>t&&typeof e=="number"?t.transform(e):e;i();i();i();var kt=(e,t,r)=>r>t?t:r<e?e:r;var pn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Lo={...pn,transform:e=>kt(0,1,e)},al={...pn,default:1};i();i();var $o=e=>Math.round(e*1e5)/1e5,Qa=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,c8=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,f8=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Yn(e){return typeof e=="string"}function p8(e){return e==null}var sl=e=>({test:t=>Yn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),dn=sl("deg"),Nt=sl("%"),se=sl("px"),d8=sl("vh"),m8=sl("vw"),Y0={...Nt,parse:e=>Nt.parse(e)/100,transform:e=>Nt.transform(e*100)};i();var J0={...pn,transform:Math.round};var es={borderWidth:se,borderTopWidth:se,borderRightWidth:se,borderBottomWidth:se,borderLeftWidth:se,borderRadius:se,radius:se,borderTopLeftRadius:se,borderTopRightRadius:se,borderBottomRightRadius:se,borderBottomLeftRadius:se,width:se,maxWidth:se,height:se,maxHeight:se,size:se,top:se,right:se,bottom:se,left:se,padding:se,paddingTop:se,paddingRight:se,paddingBottom:se,paddingLeft:se,margin:se,marginTop:se,marginRight:se,marginBottom:se,marginLeft:se,rotate:dn,rotateX:dn,rotateY:dn,rotateZ:dn,scale:al,scaleX:al,scaleY:al,scaleZ:al,skew:dn,skewX:dn,skewY:dn,distance:se,translateX:se,translateY:se,translateZ:se,x:se,y:se,z:se,perspective:se,transformPerspective:se,opacity:Lo,originX:Y0,originY:Y0,originZ:se,zIndex:J0,backgroundPositionX:se,backgroundPositionY:se,fillOpacity:Lo,strokeOpacity:Lo,numOctaves:J0};var FN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},BN=Vo.length;function h8(e,t,r){let n="",o=!0;for(let a=0;a<BN;a++){let s=Vo[a],u=e[s];if(u===void 0)continue;let l=!0;if(typeof u=="number"?l=u===(s.startsWith("scale")?1:0):l=parseFloat(u)===0,!l||r){let c=Mf(u,es[s]);if(!l){o=!1;let p=FN[s]||s;n+=`${p}(${c}) `}r&&(t[s]=c)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}i();var g8=e=>t=>typeof t=="string"&&t.startsWith(e),If=g8("--"),ON=g8("var(--"),ts=e=>ON(e)?MN.test(e.split("/*")[0].trim()):!1,MN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function rs(e,t,r){let{style:n,vars:o,transformOrigin:a}=e,s=!1,u=!1;for(let l in t){let c=t[l];if(At.has(l)){s=!0;continue}else if(If(l)){o[l]=c;continue}else{let p=Mf(c,es[l]);l.startsWith("origin")?(u=!0,a[l]=p):n[l]=p}}if(t.transform||(s||r?n.transform=h8(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:l="50%",originY:c="50%",originZ:p=0}=a;n.transformOrigin=`${l} ${c} ${p}`}}i();var ns=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Z0(e,t,r){for(let n in t)!Ne(t[n])&&!Of(n,r)&&(e[n]=t[n])}function IN({transformTemplate:e},t){return(0,v8.useMemo)(()=>{let r=ns();return rs(r,t,e),Object.assign({},r.vars,r.style)},[t])}function kN(e,t){let r=e.style||{},n={};return Z0(n,r,e),Object.assign(n,IN(e,t)),n}function y8(e,t){let r={},n=kN(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}i();i();var NN=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ul(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||NN.has(e)}var S8=e=>!ul(e);function $N(e){e&&(S8=t=>t.startsWith("on")?!ul(t):e(t))}try{$N((w8(),M7(x8)).default)}catch{}function D8(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(S8(o)||r===!0&&ul(o)||!t&&!ul(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}i();var A8=require("react");i();i();function E8(e,t,r){return typeof e=="string"?e:se.transform(t+r*e)}function P8(e,t,r){let n=E8(t,e.x,e.width),o=E8(r,e.y,e.height);return`${n} ${o}`}i();var zN={offset:"stroke-dashoffset",array:"stroke-dasharray"},HN={offset:"strokeDashoffset",array:"strokeDasharray"};function T8(e,t,r=1,n=0,o=!0){e.pathLength=1;let a=o?zN:HN;e[a.offset]=se.transform(-n);let s=se.transform(t),u=se.transform(r);e[a.array]=`${s} ${u}`}function os(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:a,pathLength:s,pathSpacing:u=1,pathOffset:l=0,...c},p,d){if(rs(e,c,d),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:g,dimensions:v}=e;h.transform&&(v&&(g.transform=h.transform),delete h.transform),v&&(o!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=P8(v,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),s!==void 0&&T8(h,s,u,l,!1)}i();var kf=()=>({...ns(),attrs:{}});i();var is=e=>typeof e=="string"&&e.toLowerCase()==="svg";function R8(e,t,r,n){let o=(0,A8.useMemo)(()=>{let a=kf();return os(a,t,is(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){let a={};Z0(a,e.style,e),o.style={...a,...o.style}}return o}function F8(e=!1){return(r,n,o,{latestValues:a},s)=>{let l=(Ja(r)?R8:y8)(n,a,s,r),c=D8(n,typeof r=="string",e),p=r!==as.Fragment?{...c,...l,ref:o}:{},{children:d}=n,h=(0,as.useMemo)(()=>Ne(d)?d.get():d,[d]);return(0,as.createElement)(r,{...p,children:h})}}i();i();i();function Nf(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(let a in r)e.style.setProperty(a,r[a])}i();var Vf=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Lf(e,t,r,n){Nf(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(Vf.has(o)?o:ko(o),t.attrs[o])}i();i();function ss(e,t,r){var n;let{style:o}=e,a={};for(let s in o)(Ne(o[s])||t.style&&Ne(t.style[s])||Of(s,e)||((n=r?.getValue(s))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(a[s]=o[s]);return r&&o&&typeof o.willChange=="string"&&(r.applyWillChange=!1),a}function $f(e,t,r){let n=ss(e,t,r);for(let o in e)if(Ne(e[o])||Ne(t[o])){let a=Vo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[a]=e[o]}return n}i();var Q0=require("react");i();function B8(e){let t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function us(e,t,r,n){if(typeof t=="function"){let[o,a]=B8(n);t=t(r!==void 0?r:e.custom,o,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,a]=B8(n);t=t(r!==void 0?r:e.custom,o,a)}return t}i();var O8=require("react");function ls(e){let t=(0,O8.useRef)(null);return t.current===null&&(t.current=e()),t.current}i();i();i();var ll=e=>Array.isArray(e);var M8=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),I8=e=>ll(e)?e[e.length-1]||0:e;function cs(e){let t=Ne(e)?e.get():e;return M8(t)?t.toValue():t}i();i();var zf=new Set(["opacity","clipPath","filter","transform"]);function Hf(e){if(At.has(e))return"transform";if(zf.has(e))return ko(e)}i();function zo(e,t){e.indexOf(t)===-1&&e.push(t)}function Ho(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function GN({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:r,onMount:n},o,a,s,u){let l={latestValues:_N(o,a,s,u?!1:e,t),renderState:r()};return n&&(l.mount=c=>n(o,c,l)),l}var Gf=e=>(t,r)=>{let n=(0,Q0.useContext)(Mo),o=(0,Q0.useContext)(Io),a=()=>GN(e,t,n,o,r);return r?a():ls(a)};function jN(e,t){let r=Hf(t);r&&zo(e,r)}function k8(e,t,r){let n=Array.isArray(t)?t:[t];for(let o=0;o<n.length;o++){let a=us(e,n[o]);if(a){let{transitionEnd:s,transition:u,...l}=a;r(l,s)}}}function _N(e,t,r,n,o){var a;let s={},u=[],l=n&&((a=e.style)===null||a===void 0?void 0:a.willChange)===void 0,c=o(e,{});for(let b in c)s[b]=cs(c[b]);let{initial:p,animate:d}=e,h=Gi(e),g=Rf(e);t&&g&&!h&&e.inherit!==!1&&(p===void 0&&(p=t.initial),d===void 0&&(d=t.animate));let v=r?r.initial===!1:!1;v=v||p===!1;let m=v?d:p;return m&&typeof m!="boolean"&&!qn(m)&&k8(e,m,(b,y)=>{for(let x in b){let w=b[x];if(Array.isArray(w)){let S=v?w.length-1:0;w=w[S]}w!==null&&(s[x]=w)}for(let x in y)s[x]=y[x]}),l&&(d&&p!==!1&&!qn(d)&&k8(e,d,b=>{for(let y in b)jN(u,y)}),u.length&&(s.willChange=u.join(","))),s}i();var{schedule:me,cancel:Vt,state:Ze,steps:jf}=Pf(typeof requestAnimationFrame<"u"?requestAnimationFrame:Fe,!0);var N8={useVisualState:Gf({scrapeMotionValuesFromProps:$f,createRenderState:kf,onMount:(e,t,{renderState:r,latestValues:n})=>{me.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),me.render(()=>{os(r,n,is(t.tagName),e.transformTemplate),Lf(t,r)})}})};i();var V8={useVisualState:Gf({applyWillChange:!0,scrapeMotionValuesFromProps:ss,createRenderState:ns})};function L8(e,{forwardMotionProps:t=!1},r,n){return{...Ja(e)?N8:V8,preloadedFeatures:r,useRender:F8(t),createVisualElement:n,Component:e}}i();i();i();i();function Xt(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}i();i();var _f=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ji(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var $8=e=>t=>_f(t)&&e(t,ji(t));function Yt(e,t,r,n){return Xt(e,t,$8(r),n)}i();var WN=(e,t)=>r=>t(e(r)),Rt=(...e)=>e.reduce(WN);i();function G8(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var z8=G8("dragHorizontal"),H8=G8("dragVertical");function eh(e){let t=!1;if(e==="y")t=H8();else if(e==="x")t=z8();else{let r=z8(),n=H8();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Wf(){let e=eh(!0);return e?(e(),!1):!0}i();var pt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function j8(e,t){let r=t?"pointerenter":"pointerleave",n=t?"onHoverStart":"onHoverEnd",o=(a,s)=>{if(a.pointerType==="touch"||Wf())return;let u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);let l=u[n];l&&me.postRender(()=>l(a,s))};return Yt(e.current,r,o,{passive:!e.getProps()[n]})}var Uf=class extends pt{mount(){this.unmount=Rt(j8(this.node,!0),j8(this.node,!1))}unmount(){}};i();var Kf=class extends pt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Rt(Xt(this.node.current,"focus",()=>this.onFocus()),Xt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};i();i();var th=(e,t)=>t?e===t?!0:th(e,t.parentElement):!1;function rh(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,ji(r))}var qf=class extends pt{constructor(){super(...arguments),this.removeStartListeners=Fe,this.removeEndListeners=Fe,this.removeAccessibleListeners=Fe,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),a=Yt(window,"pointerup",(u,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:p,globalTapTarget:d}=this.node.getProps(),h=!d&&!th(this.node.current,u.target)?p:c;h&&me.update(()=>h(u,l))},{passive:!(n.onTap||n.onPointerUp)}),s=Yt(window,"pointercancel",(u,l)=>this.cancelPress(u,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Rt(a,s),this.startPress(t,r)},this.startAccessiblePress=()=>{let t=a=>{if(a.key!=="Enter"||this.isPressing)return;let s=u=>{u.key!=="Enter"||!this.checkPressEnd()||rh("up",(l,c)=>{let{onTap:p}=this.node.getProps();p&&me.postRender(()=>p(l,c))})};this.removeEndListeners(),this.removeEndListeners=Xt(this.node.current,"keyup",s),rh("down",(u,l)=>{this.startPress(u,l)})},r=Xt(this.node.current,"keydown",t),n=()=>{this.isPressing&&rh("cancel",(a,s)=>this.cancelPress(a,s))},o=Xt(this.node.current,"blur",n);this.removeAccessibleListeners=Rt(r,o)}}startPress(t,r){this.isPressing=!0;let{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&me.postRender(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Wf()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&me.postRender(()=>n(t,r))}mount(){let t=this.node.getProps(),r=Yt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Xt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Rt(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}};i();i();var oh=new WeakMap,nh=new WeakMap,UN=e=>{let t=oh.get(e.target);t&&t(e)},KN=e=>{e.forEach(UN)};function qN({root:e,...t}){let r=e||document;nh.has(r)||nh.set(r,{});let n=nh.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(KN,{root:e,...t})),n[o]}function _8(e,t,r){let n=qN(t);return oh.set(e,r),n.observe(e),()=>{oh.delete(e),n.unobserve(e)}}var XN={some:0,all:1},Xf=class extends pt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:XN[o]},u=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:p,onViewportLeave:d}=this.node.getProps(),h=c?p:d;h&&h(l)};return _8(this.node.current,s,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(YN(t,r))&&this.startObserver()}unmount(){}};function YN({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var W8={inView:{Feature:Xf},tap:{Feature:qf},focus:{Feature:Kf},hover:{Feature:Uf}};i();i();i();i();function ih(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}i();function Go(e,t,r){let n=e.getProps();return us(n,t,r!==void 0?r:n.custom,e)}i();i();i();i();var Jt=e=>e*1e3,Zt=e=>e/1e3;i();var JN={type:"spring",stiffness:500,damping:25,restSpeed:10},ZN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),QN={type:"keyframes",duration:.8},eV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},U8=(e,{keyframes:t})=>t.length>2?QN:At.has(e)?e.startsWith("scale")?ZN(t[1]):JN:eV;i();function K8({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:u,from:l,elapsed:c,...p}){return!!Object.keys(p).length}function fs(e,t){return e[t]||e.default||e}i();var Yf={current:!1};i();var tV=e=>e!==null;function jo(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(tV),a=t&&r!=="loop"&&t%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}i();i();var Jf;function rV(){Jf=void 0}var Cr={now:()=>(Jf===void 0&&Cr.set(Ze.isProcessing||Wn.useManualTiming?Ze.timestamp:performance.now()),Jf),set:e=>{Jf=e,queueMicrotask(rV)}};i();i();i();var Zf=e=>/^0[^.\s]+$/u.test(e);function q8(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Zf(e):!0}i();i();var Qf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var nV=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function oV(e){let t=nV.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var iV=4;function ah(e,t,r=1){Jr(r<=iV,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=oV(e);if(!n)return;let a=window.getComputedStyle(t).getPropertyValue(n);if(a){let s=a.trim();return Qf(s)?parseFloat(s):s}return ts(o)?ah(o,t,r+1):o}i();var J8=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),sh=e=>e===pn||e===se,X8=(e,t)=>parseFloat(e.split(", ")[t]),Y8=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/u);if(o)return X8(o[1],t);{let a=n.match(/^matrix\((.+)\)$/u);return a?X8(a[1],e):0}},aV=new Set(["x","y","z"]),sV=Vo.filter(e=>!aV.has(e));function Z8(e){let t=[];return sV.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var _i={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Y8(4,13),y:Y8(5,14)};_i.translateX=_i.x;_i.translateY=_i.y;i();i();var ep=e=>t=>t.test(e);i();var Q8={test:e=>e==="auto",parse:e=>e};var uh=[pn,se,Nt,dn,m8,d8,Q8],lh=e=>uh.find(ep(e));i();var Wi=new Set,ch=!1,fh=!1;function e9(){if(fh){let e=Array.from(Wi).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=Z8(n);o.length&&(r.set(n,o),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();let o=r.get(n);o&&o.forEach(([a,s])=>{var u;(u=n.getValue(a))===null||u===void 0||u.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}fh=!1,ch=!1,Wi.forEach(e=>e.complete()),Wi.clear()}function t9(){Wi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(fh=!0)})}function r9(){t9(),e9()}var _o=class{constructor(t,r,n,o,a,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=o,this.element=a,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Wi.add(this),ch||(ch=!0,me.read(t9),me.resolveKeyframes(e9))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){let s=o?.get(),u=t[t.length-1];if(s!==void 0)t[0]=s;else if(n&&r){let l=n.readValue(r,u);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=u),o&&s===void 0&&o.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Wi.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Wi.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};i();i();i();i();i();i();var ps=(e,t)=>r=>!!(Yn(r)&&f8.test(r)&&r.startsWith(e)||t&&!p8(r)&&Object.prototype.hasOwnProperty.call(r,t)),tp=(e,t,r)=>n=>{if(!Yn(n))return n;let[o,a,s,u]=n.match(Qa);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:u!==void 0?parseFloat(u):1}};var uV=e=>kt(0,255,e),ph={...pn,transform:e=>Math.round(uV(e))},mn={test:ps("rgb","red"),parse:tp("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+ph.transform(e)+", "+ph.transform(t)+", "+ph.transform(r)+", "+$o(Lo.transform(n))+")"};function lV(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}var cl={test:ps("#"),parse:lV,transform:mn.transform};i();var Wo={test:ps("hsl","hue"),parse:tp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Nt.transform($o(t))+", "+Nt.transform($o(r))+", "+$o(Lo.transform(n))+")"};var nt={test:e=>mn.test(e)||cl.test(e)||Wo.test(e),parse:e=>mn.test(e)?mn.parse(e):Wo.test(e)?Wo.parse(e):cl.parse(e),transform:e=>Yn(e)?e:e.hasOwnProperty("red")?mn.transform(e):Wo.transform(e)};function cV(e){var t,r;return isNaN(e)&&Yn(e)&&(((t=e.match(Qa))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(c8))===null||r===void 0?void 0:r.length)||0)>0}var o9="number",i9="color",fV="var",pV="var(",n9="${}",dV=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ui(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],a=0,u=t.replace(dV,l=>(nt.test(l)?(n.color.push(a),o.push(i9),r.push(nt.parse(l))):l.startsWith(pV)?(n.var.push(a),o.push(fV),r.push(l)):(n.number.push(a),o.push(o9),r.push(parseFloat(l))),++a,n9)).split(n9);return{values:r,split:u,indexes:n,types:o}}function a9(e){return Ui(e).values}function s9(e){let{split:t,types:r}=Ui(e),n=t.length;return o=>{let a="";for(let s=0;s<n;s++)if(a+=t[s],o[s]!==void 0){let u=r[s];u===o9?a+=$o(o[s]):u===i9?a+=nt.transform(o[s]):a+=o[s]}return a}}var mV=e=>typeof e=="number"?0:e;function hV(e){let t=a9(e);return s9(e)(t.map(mV))}var Lt={test:cV,parse:a9,createTransformer:s9,getAnimatableNone:hV};i();i();var gV=new Set(["brightness","contrast","saturate","opacity"]);function vV(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(Qa)||[];if(!n)return e;let o=r.replace(n,""),a=gV.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}var yV=/\b([a-z-]*)\(.*?\)/gu,fl={...Lt,getAnimatableNone:e=>{let t=e.match(yV);return t?t.map(vV).join(" "):e}};i();var bV={...es,color:nt,backgroundColor:nt,outlineColor:nt,fill:nt,stroke:nt,borderColor:nt,borderTopColor:nt,borderRightColor:nt,borderBottomColor:nt,borderLeftColor:nt,filter:fl,WebkitFilter:fl},ds=e=>bV[e];function rp(e,t){let r=ds(e);return r!==fl&&(r=Lt),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var CV=new Set(["auto","none","0"]);function u9(e,t,r){let n=0,o;for(;n<e.length&&!o;){let a=e[n];typeof a=="string"&&!CV.has(a)&&Ui(a).values.length&&(o=e[n]),n++}if(o&&r)for(let a of t)e[a]=rp(r,o)}var ms=class extends _o{constructor(t,r,n,o){super(t,r,n,o,o?.owner,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:n}=this;if(!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),ts(c))){let p=ah(c,r.current);p!==void 0&&(t[l]=p),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!J8.has(n)||t.length!==2)return;let[o,a]=t,s=lh(o),u=lh(a);if(s!==u)if(sh(s)&&sh(u))for(let l=0;l<t.length;l++){let c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,n=[];for(let o=0;o<t.length;o++)q8(t[o])&&n.push(o);n.length&&u9(t,n,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:n}=this;if(!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_i[n](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let o=r[r.length-1];o!==void 0&&t.getValue(n,o).jump(o,!1)}measureEndState(){var t;let{element:r,name:n,unresolvedKeyframes:o}=this;if(!r.current)return;let a=r.getValue(n);a&&a.jump(this.measuredOrigin,!1);let s=o.length-1,u=o[s];o[s]=_i[n](r.measureViewportBox(),window.getComputedStyle(r.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{r.getValue(l).set(c)}),this.resolveNoneKeyframes()}};i();function np(e){let t;return()=>(t===void 0&&(t=e()),t)}i();i();i();var dh=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Lt.test(e)||e==="0")&&!e.startsWith("url("));function xV(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function l9(e,t,r,n){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],s=dh(o,t),u=dh(a,t);return No(s===u,`You are trying to animate ${t} from "${o}" to "${a}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${a} via the \`style\` property.`),!s||!u?!1:xV(e)||r==="spring"&&n}var hs=class{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:a,repeatType:s,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&r9(),this._resolved}onKeyframesResolved(t,r){this.hasAttemptedResolve=!0;let{name:n,type:o,velocity:a,delay:s,onComplete:u,onUpdate:l,isGenerator:c}=this.options;if(!c&&!l9(t,n,o,a))if(Yf.current||!s){l?.(jo(t,this.options,r)),u?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let p=this.initPlayback(t,r);p!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...p},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};i();i();i();i();function op(e,t){return t?e*(1e3/t):0}var wV=5;function ip(e,t,r){let n=Math.max(t-wV,0);return op(r-e(n),t-n)}i();var mh=.001,SV=.01,c9=10,DV=.05,EV=1;function f9({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a;No(e<=Jt(c9),"Spring duration must be 10 seconds or less");let s=1-t;s=kt(DV,EV,s),e=kt(SV,c9,Zt(e)),s<1?(o=c=>{let p=c*s,d=p*e,h=p-r,g=ap(c,s),v=Math.exp(-d);return mh-h/g*v},a=c=>{let d=c*s*e,h=d*r+r,g=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-d),m=ap(Math.pow(c,2),s);return(-o(c)+mh>0?-1:1)*((h-g)*v)/m}):(o=c=>{let p=Math.exp(-c*e),d=(c-r)*e+1;return-mh+p*d},a=c=>{let p=Math.exp(-c*e),d=(r-c)*(e*e);return p*d});let u=5/e,l=TV(o,a,u);if(e=Jt(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}var PV=12;function TV(e,t,r){let n=r;for(let o=1;o<PV;o++)n=n-e(n)/t(n);return n}function ap(e,t){return e*Math.sqrt(1-t*t)}var AV=["duration","bounce"],RV=["stiffness","damping","mass"];function p9(e,t){return t.some(r=>e[r]!==void 0)}function FV(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!p9(e,RV)&&p9(e,AV)){let r=f9(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function sp({keyframes:e,restDelta:t,restSpeed:r,...n}){let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:u,damping:l,mass:c,duration:p,velocity:d,isResolvedFromDuration:h}=FV({...n,velocity:-Zt(n.velocity||0)}),g=d||0,v=l/(2*Math.sqrt(u*c)),m=a-o,b=Zt(Math.sqrt(u/c)),y=Math.abs(m)<5;r||(r=y?.01:2),t||(t=y?.005:.5);let x;if(v<1){let w=ap(b,v);x=S=>{let E=Math.exp(-v*b*S);return a-E*((g+v*b*m)/w*Math.sin(w*S)+m*Math.cos(w*S))}}else if(v===1)x=w=>a-Math.exp(-b*w)*(m+(g+b*m)*w);else{let w=b*Math.sqrt(v*v-1);x=S=>{let E=Math.exp(-v*b*S),D=Math.min(w*S,300);return a-E*((g+v*b*m)*Math.sinh(D)+w*m*Math.cosh(D))/w}}return{calculatedDuration:h&&p||null,next:w=>{let S=x(w);if(h)s.done=w>=p;else{let E=g;w!==0&&(v<1?E=ip(x,w,S):E=0);let D=Math.abs(E)<=r,P=Math.abs(a-S)<=t;s.done=D&&P}return s.value=s.done?a:S,s}}}i();function hh({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:u,max:l,restDelta:c=.5,restSpeed:p}){let d=e[0],h={done:!1,value:d},g=F=>u!==void 0&&F<u||l!==void 0&&F>l,v=F=>u===void 0?l:l===void 0||Math.abs(u-F)<Math.abs(l-F)?u:l,m=r*t,b=d+m,y=s===void 0?b:s(b);y!==b&&(m=y-d);let x=F=>-m*Math.exp(-F/n),w=F=>y+x(F),S=F=>{let B=x(F),I=w(F);h.done=Math.abs(B)<=c,h.value=h.done?y:I},E,D,P=F=>{g(h.value)&&(E=F,D=sp({keyframes:[h.value,v(h.value)],velocity:ip(w,F,h.value),damping:o,stiffness:a,restDelta:c,restSpeed:p}))};return P(0),{calculatedDuration:null,next:F=>{let B=!1;return!D&&E===void 0&&(B=!0,S(F),P(F)),E!==void 0&&F>=E?D.next(F-E):(!B&&S(F),h)}}}i();i();i();var d9=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,BV=1e-7,OV=12;function MV(e,t,r,n,o){let a,s,u=0;do s=t+(r-t)/2,a=d9(s,n,o)-e,a>0?r=s:t=s;while(Math.abs(a)>BV&&++u<OV);return s}function Uo(e,t,r,n){if(e===t&&r===n)return Fe;let o=a=>MV(a,0,1,e,r);return a=>a===0||a===1?a:d9(o(a),t,n)}var m9=Uo(.42,0,1,1),h9=Uo(0,0,.58,1),up=Uo(.42,0,.58,1);i();var g9=e=>Array.isArray(e)&&typeof e[0]!="number";i();i();i();var lp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;i();var cp=e=>t=>1-e(1-t);var fp=e=>1-Math.sin(Math.acos(e)),pp=cp(fp),v9=lp(fp);i();var gh=Uo(.33,1.53,.69,.99),pl=cp(gh),y9=lp(pl);i();var b9=e=>(e*=2)<1?.5*pl(e):.5*(2-Math.pow(2,-10*(e-1)));var C9={linear:Fe,easeIn:m9,easeInOut:up,easeOut:h9,circIn:fp,circInOut:v9,circOut:pp,backIn:pl,backInOut:y9,backOut:gh,anticipate:b9},vh=e=>{if(Array.isArray(e)){Jr(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return Uo(t,r,n,o)}else if(typeof e=="string")return Jr(C9[e]!==void 0,`Invalid easing type '${e}'`),C9[e];return e};i();i();var Jn=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};i();i();i();var Ce=(e,t,r)=>e+(t-e)*r;i();i();function yh(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function x9({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,s=0;if(!t)o=a=s=r;else{let u=r<.5?r*(1+t):r+t-r*t,l=2*r-u;o=yh(l,u,e+1/3),a=yh(l,u,e),s=yh(l,u,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}i();function gs(e,t){return r=>r>0?t:e}var bh=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},IV=[cl,mn,Wo],kV=e=>IV.find(t=>t.test(e));function w9(e){let t=kV(e);if(No(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===Wo&&(r=x9(r)),r}var Ch=(e,t)=>{let r=w9(e),n=w9(t);if(!r||!n)return gs(e,t);let o={...r};return a=>(o.red=bh(r.red,n.red,a),o.green=bh(r.green,n.green,a),o.blue=bh(r.blue,n.blue,a),o.alpha=Ce(r.alpha,n.alpha,a),mn.transform(o))};i();var dp=new Set(["none","hidden"]);function S9(e,t){return dp.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function NV(e,t){return r=>Ce(e,t,r)}function mp(e){return typeof e=="number"?NV:typeof e=="string"?ts(e)?gs:nt.test(e)?Ch:$V:Array.isArray(e)?D9:typeof e=="object"?nt.test(e)?Ch:VV:gs}function D9(e,t){let r=[...e],n=r.length,o=e.map((a,s)=>mp(a)(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=o[s](a);return r}}function VV(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=mp(e[o])(e[o],t[o]));return o=>{for(let a in n)r[a]=n[a](o);return r}}function LV(e,t){var r;let n=[],o={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let s=t.types[a],u=e.indexes[s][o[s]],l=(r=e.values[u])!==null&&r!==void 0?r:0;n[a]=l,o[s]++}return n}var $V=(e,t)=>{let r=Lt.createTransformer(t),n=Ui(e),o=Ui(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?dp.has(e)&&!o.values.length||dp.has(t)&&!n.values.length?S9(e,t):Rt(D9(LV(n,o),o.values),r):(No(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),gs(e,t))};function hp(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?Ce(e,t,r):mp(e)(e,t)}function zV(e,t,r){let n=[],o=r||hp,a=e.length-1;for(let s=0;s<a;s++){let u=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||Fe:t;u=Rt(l,u)}n.push(u)}return n}function E9(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let a=e.length;if(Jr(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&e[0]===e[1])return()=>t[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=zV(t,n,o),u=s.length,l=c=>{let p=0;if(u>1)for(;p<e.length-2&&!(c<e[p+1]);p++);let d=Jn(e[p],e[p+1],c);return s[p](d)};return r?c=>l(kt(e[0],e[a-1],c)):l}i();i();function P9(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=Jn(0,t,n);e.push(Ce(r,1,o))}}function T9(e){let t=[0];return P9(t,e.length-1),t}i();function A9(e,t){return e.map(r=>r*t)}function HV(e,t){return e.map(()=>t||up).splice(0,e.length-1)}function dl({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=g9(n)?n.map(vh):vh(n),a={done:!1,value:t[0]},s=A9(r&&r.length===t.length?r:T9(t),e),u=E9(s,t,{ease:Array.isArray(o)?o:HV(t,o)});return{calculatedDuration:e,next:l=>(a.value=u(l),a.done=l>=e,a)}}i();function R9(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<2e4;)t+=r,n=e.next(t);return t>=2e4?1/0:t}i();var F9=e=>{let t=({timestamp:r})=>e(r);return{start:()=>me.update(t,!0),stop:()=>Vt(t),now:()=>Ze.isProcessing?Ze.timestamp:Cr.now()}};var GV={decay:hh,inertia:hh,tween:dl,keyframes:dl,spring:sp},jV=e=>e/100,Ki=class extends hs{constructor({KeyframeResolver:t=_o,...r}){super(r),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:u}=this.options;u&&u()};let{name:n,motionValue:o,keyframes:a}=this.options,s=(u,l)=>this.onKeyframesResolved(u,l);n&&o&&o.owner?this.resolver=o.owner.resolveKeyframes(a,s,n,o):this.resolver=new t(a,s,n,o),this.resolver.scheduleResolve()}initPlayback(t){let{type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=this.options,u=GV[r]||dl,l,c;u!==dl&&typeof t[0]!="number"&&(l=Rt(jV,hp(t[0],t[1])),t=[0,100]);let p=u({...this.options,keyframes:t});a==="mirror"&&(c=u({...this.options,keyframes:[...t].reverse(),velocity:-s})),p.calculatedDuration===null&&(p.calculatedDuration=R9(p));let{calculatedDuration:d}=p,h=d+o,g=h*(n+1)-o;return{generator:p,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:h,totalDuration:g}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){let{resolved:n}=this;if(!n){let{keyframes:F}=this.options;return{done:!0,value:F[F.length-1]}}let{finalKeyframe:o,generator:a,mirroredGenerator:s,mapPercentToKeyframes:u,keyframes:l,calculatedDuration:c,totalDuration:p,resolvedDuration:d}=n;if(this.startTime===null)return a.next(0);let{delay:h,repeat:g,repeatType:v,repeatDelay:m,onUpdate:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-p/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let y=this.currentTime-h*(this.speed>=0?1:-1),x=this.speed>=0?y<0:y>p;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let w=this.currentTime,S=a;if(g){let F=Math.min(this.currentTime,p)/d,B=Math.floor(F),I=F%1;!I&&F>=1&&(I=1),I===1&&B--,B=Math.min(B,g+1),!!(B%2)&&(v==="reverse"?(I=1-I,m&&(I-=m/d)):v==="mirror"&&(S=s)),w=kt(0,1,I)*d}let E=x?{done:!1,value:l[0]}:S.next(w);u&&(E.value=u(E.value));let{done:D}=E;!x&&c!==null&&(D=this.speed>=0?this.currentTime>=p:this.currentTime<=0);let P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return P&&o!==void 0&&(E.value=jo(l,this.options,o)),b&&b(E.value),P&&this.finish(),E}get duration(){let{resolved:t}=this;return t?Zt(t.calculatedDuration):0}get time(){return Zt(this.currentTime)}set time(t){t=Jt(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Zt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=F9,onPlay:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),r&&r();let n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=n),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};i();i();i();var xh=e=>Array.isArray(e)&&typeof e[0]=="number";function wh(e){return!!(!e||typeof e=="string"&&e in Sh||xh(e)||Array.isArray(e)&&e.every(wh))}var ml=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Sh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ml([0,.65,.55,1]),circOut:ml([.55,0,1,.45]),backIn:ml([.31,.01,.66,-.59]),backOut:ml([.33,1.53,.69,.99])};function _V(e){return Dh(e)||Sh.easeOut}function Dh(e){if(e)return xh(e)?ml(e):Array.isArray(e)?e.map(_V):Sh[e]}function B9(e,t,r,{delay:n=0,duration:o=300,repeat:a=0,repeatType:s="loop",ease:u,times:l}={}){let c={[t]:r};l&&(c.offset=l);let p=Dh(u);return Array.isArray(p)&&(c.easing=p),e.animate(c,{delay:n,duration:o,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}var WV=np(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),gp=10,UV=2e4;function KV(e){return e.type==="spring"||!wh(e.ease)}function qV(e,t){let r=new Ki({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],a=0;for(;!n.done&&a<UV;)n=r.sample(a),o.push(n.value),a+=gp;return{times:void 0,keyframes:o,duration:a-gp,ease:"linear"}}var hl=class extends hs{constructor(t){super(t);let{name:r,motionValue:n,keyframes:o}=this.options;this.resolver=new ms(o,(a,s)=>this.onKeyframesResolved(a,s),r,n),this.resolver.scheduleResolve()}initPlayback(t,r){var n;let{duration:o=300,times:a,ease:s,type:u,motionValue:l,name:c}=this.options;if(!(!((n=l.owner)===null||n===void 0)&&n.current))return!1;if(KV(this.options)){let{onComplete:d,onUpdate:h,motionValue:g,...v}=this.options,m=qV(t,v);t=m.keyframes,t.length===1&&(t[1]=t[0]),o=m.duration,a=m.times,s=m.ease,u="keyframes"}let p=B9(l.owner.current,c,t,{...this.options,duration:o,times:a,ease:s});return p.startTime=Cr.now(),this.pendingTimeline?(p.timeline=this.pendingTimeline,this.pendingTimeline=void 0):p.onfinish=()=>{let{onComplete:d}=this.options;l.set(jo(t,this.options,r)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:o,times:a,type:u,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:r}=t;return Zt(r)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:r}=t;return Zt(r.currentTime||0)}set time(t){let{resolved:r}=this;if(!r)return;let{animation:n}=r;n.currentTime=Jt(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:r}=t;return r.playbackRate}set speed(t){let{resolved:r}=this;if(!r)return;let{animation:n}=r;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:r}=t;return r.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:r}=this;if(!r)return Fe;let{animation:n}=r;n.timeline=t,n.onfinish=null}return Fe}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:r,keyframes:n,duration:o,type:a,ease:s,times:u}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){let{motionValue:c,onUpdate:p,onComplete:d,...h}=this.options,g=new Ki({...h,keyframes:n,duration:o,type:a,ease:s,times:u,isGenerator:!0}),v=Jt(this.time);c.setWithVelocity(g.sample(v-gp).value,g.sample(v).value,gp)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:r,name:n,repeatDelay:o,repeatType:a,damping:s,type:u}=t;return WV()&&n&&zf.has(n)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!o&&a!=="mirror"&&s!==0&&u!=="inertia"}};i();i();function O9(e,t){let r,n=()=>{let{currentTime:o}=t,s=(o===null?0:o.value)/100;r!==s&&e(s),r=s};return me.update(n,!0),()=>Vt(n)}i();var M9=np(()=>window.ScrollTimeline!==void 0);var vp=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,r){return Promise.all(this.animations).then(t).catch(r)}getAll(t){return this.animations[0][t]}setAll(t,r){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=r}attachTimeline(t){let r=this.animations.map(n=>{if(M9()&&n.attachTimeline)n.attachTimeline(t);else return n.pause(),O9(o=>{n.time=n.duration*o},t)});return()=>{r.forEach((n,o)=>{n&&n(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var vs=(e,t,r,n={},o,a,s)=>u=>{let l=fs(n,e)||{},c=l.delay||n.delay||0,{elapsed:p=0}=n;p=p-Jt(c);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-p,onUpdate:g=>{t.set(g),l.onUpdate&&l.onUpdate(g)},onComplete:()=>{u(),l.onComplete&&l.onComplete(),s&&s()},onStop:s,name:e,motionValue:t,element:a?void 0:o};K8(l)||(d={...d,...U8(e,d)}),d.duration&&(d.duration=Jt(d.duration)),d.repeatDelay&&(d.repeatDelay=Jt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let h=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(h=!0)),(Yf.current||Wn.skipAnimations)&&(h=!0,d.duration=0,d.delay=0),h&&!a&&t.get()!==void 0){let g=jo(d.keyframes,l);if(g!==void 0)return me.update(()=>{d.onUpdate(g),d.onComplete()}),new vp([])}return!a&&hl.supports(d)?new hl(d):new Ki(d)};i();i();i();var Ko=class{constructor(){this.subscriptions=[]}add(t){return zo(this.subscriptions,t),()=>Ho(this.subscriptions,t)}notify(t,r,n){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let a=0;a<o;a++){let s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var I9=30,XV=e=>!isNaN(parseFloat(e)),k9={current:void 0},gl=class{constructor(t,r={}){this.version="11.3.21",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,o=!0)=>{let a=Cr.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Cr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=XV(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Ko);let n=this.events[t].add(r);return t==="change"?()=>{n(),me.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return k9.current&&k9.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Cr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>I9)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,I9);return op(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Zn(e,t){return new gl(e,t)}function YV(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Zn(r))}function N9(e,t){let r=Go(e,t),{transitionEnd:n={},transition:o={},...a}=r||{};a={...a,...n};for(let s in a){let u=I8(a[s]);YV(e,s,u)}}i();function yp(e){return e.getProps()[Df]}i();i();var bp=class extends gl{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){let r=Hf(t);if(!r)return;let n=this.counts.get(r)||0;this.counts.set(r,n+1),n===0&&(this.output.push(r),this.update());let o=!1;return()=>{if(o)return;o=!0;let a=this.counts.get(r)-1;this.counts.set(r,a),a===0&&(Ho(this.output,r),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}};i();function V9(e){return!!(Ne(e)&&e.add)}function vl(e,t){var r;if(!e.applyWillChange)return;let n=e.getValue("willChange");if(!n&&!(!((r=e.props.style)===null||r===void 0)&&r.willChange)&&(n=new bp("auto"),e.addValue("willChange",n)),V9(n))return n.add(t)}function JV({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function Cp(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var a;let{transition:s=e.getDefaultTransition(),transitionEnd:u,...l}=t;n&&(s=n);let c=[],p=o&&e.animationState&&e.animationState.getState()[o];for(let d in l){let h=e.getValue(d,(a=e.latestValues[d])!==null&&a!==void 0?a:null),g=l[d];if(g===void 0||p&&JV(p,d))continue;let v={delay:r,elapsed:0,...fs(s||{},d)},m=!1;if(window.HandoffAppearAnimations){let y=yp(e);if(y){let x=window.HandoffAppearAnimations(y,d,h,me);x!==null&&(v.elapsed=x,m=!0)}}h.start(vs(d,h,g,e.shouldReduceMotion&&At.has(d)?{type:!1}:v,e,m,vl(e,d)));let b=h.animation;b&&c.push(b)}return u&&Promise.all(c).then(()=>{me.update(()=>{u&&N9(e,u)})}),c}i();function xp(e,t,r={}){var n;let o=Go(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(a=r.transitionOverride);let s=o?()=>Promise.all(Cp(e,o,r)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:p=0,staggerChildren:d,staggerDirection:h}=a;return ZV(e,t,p+c,d,h,r)}:()=>Promise.resolve(),{when:l}=a;if(l){let[c,p]=l==="beforeChildren"?[s,u]:[u,s];return c().then(()=>p())}else return Promise.all([s(),u(r.delay)])}function ZV(e,t,r=0,n=0,o=1,a){let s=[],u=(e.variantChildren.size-1)*n,l=o===1?(c=0)=>c*n:(c=0)=>u-c*n;return Array.from(e.variantChildren).sort(QV).forEach((c,p)=>{c.notify("AnimationStart",t),s.push(xp(c,t,{...a,delay:r+l(p)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function QV(e,t){return e.sortNodePosition(t)}function L9(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(a=>xp(e,a,r));n=Promise.all(o)}else if(typeof t=="string")n=xp(e,t,r);else{let o=typeof t=="function"?Go(e,t,r.custom):t;n=Promise.all(Cp(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}var eL=[...Af].reverse(),tL=Af.length;function rL(e){return t=>Promise.all(t.map(({animation:r,options:n})=>L9(e,r,n)))}function z9(e){let t=rL(e),r=$9(),n=!0,o=l=>(c,p)=>{var d;let h=Go(e,p,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(h){let{transition:g,transitionEnd:v,...m}=h;c={...c,...m,...v}}return c};function a(l){t=l(e)}function s(l){let c=e.getProps(),p=e.getVariantContext(!0)||{},d=[],h=new Set,g={},v=1/0;for(let b=0;b<tL;b++){let y=eL[b],x=r[y],w=c[y]!==void 0?c[y]:p[y],S=Kn(w),E=y===l?x.isActive:null;E===!1&&(v=b);let D=w===p[y]&&w!==c[y]&&S;if(D&&n&&e.manuallyAnimateOnMount&&(D=!1),x.protectedKeys={...g},!x.isActive&&E===null||!w&&!x.prevProp||qn(w)||typeof w=="boolean")continue;let F=nL(x.prevProp,w)||y===l&&x.isActive&&!D&&S||b>v&&S,B=!1,I=Array.isArray(w)?w:[w],_=I.reduce(o(y),{});E===!1&&(_={});let{prevResolvedValues:L={}}=x,z={...L,..._},N=$=>{F=!0,h.has($)&&(B=!0,h.delete($)),x.needsAnimating[$]=!0;let Z=e.getValue($);Z&&(Z.liveStyle=!1)};for(let $ in z){let Z=_[$],te=L[$];if(g.hasOwnProperty($))continue;let oe=!1;ll(Z)&&ll(te)?oe=!ih(Z,te):oe=Z!==te,oe?Z!=null?N($):h.add($):Z!==void 0&&h.has($)?N($):x.protectedKeys[$]=!0}x.prevProp=w,x.prevResolvedValues=_,x.isActive&&(g={...g,..._}),n&&e.blockInitialAnimation&&(F=!1),F&&(!D||B)&&d.push(...I.map($=>({animation:$,options:{type:y}})))}if(h.size){let b={};h.forEach(y=>{let x=e.getBaseTarget(y),w=e.getValue(y);w&&(w.liveStyle=!0),b[y]=x??null}),d.push({animation:b})}let m=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,m?t(d):Promise.resolve()}function u(l,c){var p;if(r[l].isActive===c)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;let d=s(l);for(let h in r)r[h].protectedKeys={};return d}return{animateChanges:s,setActive:u,setAnimateFunction:a,getState:()=>r,reset:()=>{r=$9(),n=!0}}}function nL(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ih(t,e):!1}function qi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function $9(){return{animate:qi(!0),whileInView:qi(),whileHover:qi(),whileTap:qi(),whileDrag:qi(),whileFocus:qi(),exit:qi()}}var wp=class extends pt{constructor(t){super(t),t.animationState||(t.animationState=z9(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();qn(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};i();var oL=0,Sp=class extends pt{constructor(){super(...arguments),this.id=oL++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let o=this.node.animationState.setActive("exit",!t);r&&!t&&o.then(()=>r(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}};var H9={animation:{Feature:wp},exit:{Feature:Sp}};i();i();i();i();i();var G9=(e,t)=>Math.abs(e-t);function j9(e,t){let r=G9(e.x,t.x),n=G9(e.y,t.y);return Math.sqrt(r**2+n**2)}var ys=class{constructor(t,r,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let d=Ph(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,g=j9(d.offset,{x:0,y:0})>=3;if(!h&&!g)return;let{point:v}=d,{timestamp:m}=Ze;this.history.push({...v,timestamp:m});let{onStart:b,onMove:y}=this.handlers;h||(b&&b(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,d)},this.handlePointerMove=(d,h)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Eh(h,this.transformPagePoint),me.update(this.updatePoint,!0)},this.handlePointerUp=(d,h)=>{this.end();let{onEnd:g,onSessionEnd:v,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let b=Ph(d.type==="pointercancel"?this.lastMoveEventInfo:Eh(h,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,b),v&&v(d,b)},!_f(t))return;this.dragSnapToOrigin=a,this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;let s=ji(t),u=Eh(s,this.transformPagePoint),{point:l}=u,{timestamp:c}=Ze;this.history=[{...l,timestamp:c}];let{onSessionStart:p}=r;p&&p(t,Ph(u,this.history)),this.removeListeners=Rt(Yt(this.contextWindow,"pointermove",this.handlePointerMove),Yt(this.contextWindow,"pointerup",this.handlePointerUp),Yt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vt(this.updatePoint)}};function Eh(e,t){return t?{point:t(e.point)}:e}function _9(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ph({point:e},t){return{point:e,delta:_9(e,W9(t)),offset:_9(e,iL(t)),velocity:aL(t,.1)}}function iL(e){return e[0]}function W9(e){return e[e.length-1]}function aL(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=W9(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Jt(t)));)r--;if(!n)return{x:0,y:0};let a=Zt(o.timestamp-n.timestamp);if(a===0)return{x:0,y:0};let s={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}i();i();var X9=1e-4,sL=1-X9,uL=1+X9,Y9=.01,lL=0-Y9,cL=0+Y9;function xt(e){return e.max-e.min}function J9(e,t,r){return Math.abs(e-t)<=r}function U9(e,t,r,n=.5){e.origin=n,e.originPoint=Ce(t.min,t.max,e.origin),e.scale=xt(r)/xt(t),e.translate=Ce(r.min,r.max,e.origin)-e.originPoint,(e.scale>=sL&&e.scale<=uL||isNaN(e.scale))&&(e.scale=1),(e.translate>=lL&&e.translate<=cL||isNaN(e.translate))&&(e.translate=0)}function bs(e,t,r,n){U9(e.x,t.x,r.x,n?n.originX:void 0),U9(e.y,t.y,r.y,n?n.originY:void 0)}function K9(e,t,r){e.min=r.min+t.min,e.max=e.min+xt(t)}function Z9(e,t,r){K9(e.x,t.x,r.x),K9(e.y,t.y,r.y)}function q9(e,t,r){e.min=t.min-r.min,e.max=e.min+xt(t)}function Cs(e,t,r){q9(e.x,t.x,r.x),q9(e.y,t.y,r.y)}function ny(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Ce(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Ce(r,e,n.max):Math.min(e,r)),e}function Q9(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function oy(e,{top:t,left:r,bottom:n,right:o}){return{x:Q9(e.x,r,o),y:Q9(e.y,t,n)}}function ey(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function iy(e,t){return{x:ey(e.x,t.x),y:ey(e.y,t.y)}}function ay(e,t){let r=.5,n=xt(e),o=xt(t);return o>n?r=Jn(t.min,t.max-n,e.min):n>o&&(r=Jn(e.min,e.max-o,t.min)),kt(0,1,r)}function sy(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Dp=.35;function uy(e=Dp){return e===!1?e=0:e===!0&&(e=Dp),{x:ty(e,"left","right"),y:ty(e,"top","bottom")}}function ty(e,t,r){return{min:ry(e,t),max:ry(e,r)}}function ry(e,t){return typeof e=="number"?e:e[t]||0}i();var ly=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xi=()=>({x:ly(),y:ly()}),cy=()=>({min:0,max:0}),$e=()=>({x:cy(),y:cy()});i();function Qt(e){return[e("x"),e("y")]}i();i();function Ep({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function fy({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function py(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}i();i();function Th(e){return e===void 0||e===1}function Pp({scale:e,scaleX:t,scaleY:r}){return!Th(e)||!Th(t)||!Th(r)}function Qn(e){return Pp(e)||Ah(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ah(e){return dy(e.x)||dy(e.y)}function dy(e){return e&&e!=="0%"}function yl(e,t,r){let n=e-r,o=t*n;return r+o}function my(e,t,r,n,o){return o!==void 0&&(e=yl(e,o,n)),yl(e,r,n)+t}function Rh(e,t=0,r=1,n,o){e.min=my(e.min,t,r,n,o),e.max=my(e.max,t,r,n,o)}function Fh(e,{x:t,y:r}){Rh(e.x,t.translate,t.scale,t.originPoint),Rh(e.y,r.translate,r.scale,r.originPoint)}var hy=.999999999999,gy=1.0000000000001;function yy(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let a,s;for(let u=0;u<o;u++){a=r[u],s=a.projectionDelta;let{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Yi(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Fh(e,s)),n&&Qn(a.latestValues)&&Yi(e,a.latestValues))}t.x<gy&&t.x>hy&&(t.x=1),t.y<gy&&t.y>hy&&(t.y=1)}function qo(e,t){e.min=e.min+t,e.max=e.max+t}function vy(e,t,r,n,o=.5){let a=Ce(e.min,e.max,o);Rh(e,t,r,a,n)}function Yi(e,t){vy(e.x,t.x,t.scaleX,t.scale,t.originX),vy(e.y,t.y,t.scaleY,t.scale,t.originY)}function Bh(e,t){return Ep(py(e.getBoundingClientRect(),t))}function by(e,t,r){let n=Bh(e,r),{scroll:o}=t;return o&&(qo(n.x,o.offset.x),qo(n.y,o.offset.y)),n}i();var Tp=({current:e})=>e?e.ownerDocument.defaultView:null;var fL=new WeakMap,Rp=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$e(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let o=p=>{let{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(ji(p,"page").point)},a=(p,d)=>{var h;let{drag:g,dragPropagation:v,onDragStart:m}=this.getProps();if(g&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eh(g),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qt(y=>{let x=this.getAxisMotionValue(y).get()||0;if(Nt.test(x)){let{projection:w}=this.visualElement;if(w&&w.layout){let S=w.layout.layoutBox[y];S&&(x=xt(S)*(parseFloat(x)/100))}}this.originPoint[y]=x}),m&&me.postRender(()=>m(p,d)),(h=this.removeWillChange)===null||h===void 0||h.call(this),this.removeWillChange=vl(this.visualElement,"transform");let{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},s=(p,d)=>{let{dragPropagation:h,dragDirectionLock:g,onDirectionLock:v,onDrag:m}=this.getProps();if(!h&&!this.openGlobalLock)return;let{offset:b}=d;if(g&&this.currentDirection===null){this.currentDirection=pL(b),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",d.point,b),this.updateAxis("y",d.point,b),this.visualElement.render(),m&&m(p,d)},u=(p,d)=>this.stop(p,d),l=()=>Qt(p=>{var d;return this.getAnimationState(p)==="paused"&&((d=this.getAxisMotionValue(p).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new ys(t,{onSessionStart:o,onStart:a,onMove:s,onSessionEnd:u,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Tp(this.visualElement)})}stop(t,r){var n;(n=this.removeWillChange)===null||n===void 0||n.call(this);let o=this.isDragging;if(this.cancel(),!o)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:s}=this.getProps();s&&me.postRender(()=>s(t,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){let{drag:o}=this.getProps();if(!n||!Ap(t,o,this.currentDirection))return;let a=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=ny(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;let{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;r&&Un(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=oy(o.layoutBox,r):this.constraints=!1,this.elastic=uy(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Qt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=sy(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Un(t))return!1;let n=t.current;Jr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let a=by(n,o.root,this.visualElement.getTransformPagePoint()),s=iy(o.layout.layoutBox,a);if(r){let u=r(fy(s));this.hasMutatedConstraints=!!u,u&&(s=Ep(u))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},c=Qt(p=>{if(!Ap(p,r,this.currentDirection))return;let d=l&&l[p]||{};s&&(d={min:0,max:0});let h=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[p]:0,bounceStiffness:h,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(p,v)});return Promise.all(c).then(u)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return n.start(vs(t,n,0,r,this.visualElement,!1,vl(this.visualElement,t)))}stopAnimation(){Qt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qt(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){let r=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Qt(r=>{let{drag:n}=this.getProps();if(!Ap(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,a=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:u}=o.layout.layoutBox[r];a.set(t[r]-Ce(s,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Un(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};Qt(s=>{let u=this.getAxisMotionValue(s);if(u&&this.constraints!==!1){let l=u.get();o[s]=ay({min:l,max:l},this.constraints[s])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Qt(s=>{if(!Ap(s,t,null))return;let u=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];u.set(Ce(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;fL.set(this.visualElement,this);let t=this.visualElement.current,r=Yt(t,"pointerdown",l=>{let{drag:c,dragListener:p=!0}=this.getProps();c&&p&&this.start(l)}),n=()=>{let{dragConstraints:l}=this.getProps();Un(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),me.read(n);let s=Xt(window,"resize",()=>this.scalePositionWithinConstraints()),u=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Qt(p=>{let d=this.getAxisMotionValue(p);d&&(this.originPoint[p]+=l[p].translate,d.set(d.get()+l[p].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),u&&u()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=Dp,dragMomentum:u=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:u}}};function Ap(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function pL(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var Fp=class extends pt{constructor(t){super(t),this.removeGroupControls=Fe,this.removeListeners=Fe,this.controls=new Rp(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Fe}unmount(){this.removeGroupControls(),this.removeListeners()}};i();var Cy=e=>(t,r)=>{e&&me.postRender(()=>e(t,r))},Bp=class extends pt{constructor(){super(...arguments),this.removePointerDownListener=Fe}onPointerDown(t){this.session=new ys(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tp(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Cy(t),onStart:Cy(r),onMove:n,onEnd:(a,s)=>{delete this.session,o&&me.postRender(()=>o(a,s))}}}mount(){this.removePointerDownListener=Yt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};i();var Dy=require("react/jsx-runtime"),bl=require("react");i();var Xo=require("react");function xy(){let e=(0,Xo.useContext)(Io);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,o=(0,Xo.useId)();(0,Xo.useEffect)(()=>n(o),[]);let a=(0,Xo.useCallback)(()=>r&&r(o),[o,r]);return!t&&r?[!1,a]:[!0]}i();var xs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};i();function wy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ws={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(se.test(e))e=parseFloat(e);else return e;let r=wy(e,t.target.x),n=wy(e,t.target.y);return`${r}% ${n}%`}};i();var Sy={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=Lt.parse(e);if(o.length>5)return n;let a=Lt.createTransformer(e),s=typeof o[0]!="number"?1:0,u=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=u,o[1+s]/=l;let c=Ce(u,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),a(o)}};var Oh=class extends bl.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:a}=t;l8(dL),a&&(r.group&&r.group.add(a),n&&n.register&&o&&n.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),xs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:a}=this.props,s=n.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||me.postRender(()=>{let u=s.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),qa.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function Op(e){let[t,r]=xy(),n=(0,bl.useContext)(Xa);return(0,Dy.jsx)(Oh,{...e,layoutGroup:n,switchLayoutGroup:(0,bl.useContext)(Tf),isPresent:t,safeToRemove:r})}var dL={borderRadius:{...ws,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ws,borderTopRightRadius:ws,borderBottomLeftRadius:ws,borderBottomRightRadius:ws,boxShadow:Sy};i();i();i();var Ay=["TopLeft","TopRight","BottomLeft","BottomRight"],mL=Ay.length,Ey=e=>typeof e=="string"?parseFloat(e):e,Py=e=>typeof e=="number"||se.test(e);function Ry(e,t,r,n,o,a){o?(e.opacity=Ce(0,r.opacity!==void 0?r.opacity:1,hL(n)),e.opacityExit=Ce(t.opacity!==void 0?t.opacity:1,0,gL(n))):a&&(e.opacity=Ce(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<mL;s++){let u=`border${Ay[s]}Radius`,l=Ty(t,u),c=Ty(r,u);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Py(l)===Py(c)?(e[u]=Math.max(Ce(Ey(l),Ey(c),n),0),(Nt.test(c)||Nt.test(l))&&(e[u]+="%")):e[u]=c}(t.rotate||r.rotate)&&(e.rotate=Ce(t.rotate||0,r.rotate||0,n))}function Ty(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var hL=Fy(0,.5,pp),gL=Fy(.5,.95,Fe);function Fy(e,t,r){return n=>n<e?0:n>t?1:r(Jn(e,t,n))}i();function By(e,t){e.min=t.min,e.max=t.max}function xr(e,t){By(e.x,t.x),By(e.y,t.y)}function Mh(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}i();function Oy(e,t,r,n,o){return e-=t,e=yl(e,1/r,n),o!==void 0&&(e=yl(e,1/o,n)),e}function vL(e,t=0,r=1,n=.5,o,a=e,s=e){if(Nt.test(t)&&(t=parseFloat(t),t=Ce(s.min,s.max,t/100)-s.min),typeof t!="number")return;let u=Ce(a.min,a.max,n);e===a&&(u-=t),e.min=Oy(e.min,t,r,u,o),e.max=Oy(e.max,t,r,u,o)}function My(e,t,[r,n,o],a,s){vL(e,t[r],t[n],t[o],t.scale,a,s)}var yL=["x","scaleX","originX"],bL=["y","scaleY","originY"];function Ih(e,t,r,n){My(e.x,t,yL,r?r.x:void 0,n?n.x:void 0),My(e.y,t,bL,r?r.y:void 0,n?n.y:void 0)}i();function Iy(e){return e.translate===0&&e.scale===1}function kh(e){return Iy(e.x)&&Iy(e.y)}function ky(e,t){return e.min===t.min&&e.max===t.max}function Vy(e,t){return ky(e.x,t.x)&&ky(e.y,t.y)}function Ny(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Nh(e,t){return Ny(e.x,t.x)&&Ny(e.y,t.y)}function Vh(e){return xt(e.x)/xt(e.y)}function Lh(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}i();var Mp=class{constructor(){this.members=[]}add(t){zo(this.members,t),t.scheduleRender()}remove(t){if(Ho(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){let a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};i();function Ly(e,t,r){let n="",o=e.x.translate/t.x,a=e.y.translate/t.y,s=r?.z||0;if((o||a||s)&&(n=`translate3d(${o}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:c,rotate:p,rotateX:d,rotateY:h,skewX:g,skewY:v}=r;c&&(n=`perspective(${c}px) ${n}`),p&&(n+=`rotate(${p}deg) `),d&&(n+=`rotateX(${d}deg) `),h&&(n+=`rotateY(${h}deg) `),g&&(n+=`skewX(${g}deg) `),v&&(n+=`skewY(${v}deg) `)}let u=e.x.scale*t.x,l=e.y.scale*t.y;return(u!==1||l!==1)&&(n+=`scale(${u}, ${l})`),n||"none"}i();i();var $y=(e,t)=>e.depth-t.depth;var Ip=class{constructor(){this.children=[],this.isDirty=!1}add(t){zo(this.children,t),this.isDirty=!0}remove(t){Ho(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($y),this.isDirty=!1,this.children.forEach(t)}};i();function zy(e,t){let r=Cr.now(),n=({timestamp:o})=>{let a=o-r;a>=t&&(Vt(n),e(a-t))};return me.read(n,!0),()=>Vt(n)}i();function Hy(e){return e instanceof SVGElement&&e.tagName!=="svg"}i();function Gy(e,t,r){let n=Ne(e)?e:Zn(e);return n.start(vs("",n,t,r)),n.animation}var Ji={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Cl=typeof window<"u"&&window.MotionDebug!==void 0,$h=["","X","Y","Z"],CL={visibility:"hidden"},jy=1e3,xL=0;function zh(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Jy(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:t}=e.options;return t?yp(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Jy(e.parent):!1:!1}function kp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},u=t?.()){this.id=xL++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Cl&&(Ji.totalNodes=Ji.resolvedTargetDeltas=Ji.recalculatedProjection=0),this.nodes.forEach(DL),this.nodes.forEach(RL),this.nodes.forEach(FL),this.nodes.forEach(EL),Cl&&window.MotionDebug.record(Ji)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ip)}addEventListener(s,u){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Ko),this.eventHandlers.get(s).add(u)}notifyListeners(s,...u){let l=this.eventHandlers.get(s);l&&l.notify(...u)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Hy(s),this.instance=s;let{layoutId:l,layout:c,visualElement:p}=this.options;if(p&&!p.current&&p.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(c||l)&&(this.isLayoutDirty=!0),e){let d,h=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=zy(h,250),xs.hasAnimatedSinceResize&&(xs.hasAnimatedSinceResize=!1,this.nodes.forEach(Wy))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&p&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:h,hasRelativeTargetChanged:g,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let m=this.options.transition||p.getDefaultTransition()||kL,{onLayoutAnimationStart:b,onLayoutAnimationComplete:y}=p.getProps(),x=!this.targetLayout||!Nh(this.targetLayout,v)||g,w=!h&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||h&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);let S={...fs(m,"layout"),onPlay:b,onComplete:y};(p.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else h||Wy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Vt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(BL),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Jy(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){let d=this.path[p];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}let{layoutId:u,layout:l}=this.options;if(u===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_y);return}this.isUpdating||this.nodes.forEach(TL),this.isUpdating=!1,this.nodes.forEach(AL),this.nodes.forEach(wL),this.nodes.forEach(SL),this.clearAllSnapshots();let u=Cr.now();Ze.delta=kt(0,1e3/60,u-Ze.timestamp),Ze.timestamp=u,Ze.isProcessing=!0,jf.update.process(Ze),jf.preRender.process(Ze),jf.render.process(Ze),Ze.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,qa.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(PL),this.sharedNodes.forEach(OL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,me.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){me.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=$e(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(u=!1),u){let l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!kh(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,p=c!==this.prevTransformTemplateValue;s&&(u||Qn(this.latestValues)||p)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let u=this.measurePageBox(),l=this.removeElementScroll(u);return s&&(l=this.removeTransform(l)),NL(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;let{visualElement:u}=this.options;if(!u)return $e();let l=u.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(VL))){let{scroll:p}=this.root;p&&(qo(l.x,p.offset.x),qo(l.y,p.offset.y))}return l}removeElementScroll(s){var u;let l=$e();if(xr(l,s),!((u=this.scroll)===null||u===void 0)&&u.wasRoot)return l;for(let c=0;c<this.path.length;c++){let p=this.path[c],{scroll:d,options:h}=p;p!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&xr(l,s),qo(l.x,d.offset.x),qo(l.y,d.offset.y))}return l}applyTransform(s,u=!1){let l=$e();xr(l,s);for(let c=0;c<this.path.length;c++){let p=this.path[c];!u&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Yi(l,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Qn(p.latestValues)&&Yi(l,p.latestValues)}return Qn(this.latestValues)&&Yi(l,this.latestValues),l}removeTransform(s){let u=$e();xr(u,s);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!Qn(c.latestValues))continue;Pp(c.latestValues)&&c.updateSnapshot();let p=$e(),d=c.measurePageBox();xr(p,d),Ih(u,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,p)}return Qn(this.latestValues)&&Ih(u,this.latestValues),u}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ze.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var u;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:d,layoutId:h}=this.options;if(!(!this.layout||!(d||h))){if(this.resolvedRelativeTargetAt=Ze.timestamp,!this.targetDelta&&!this.relativeTarget){let g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$e(),this.relativeTargetOrigin=$e(),Cs(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),xr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=$e(),this.targetWithTransforms=$e()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Z9(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):xr(this.target,this.layout.layoutBox),Fh(this.target,this.targetDelta)):xr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$e(),this.relativeTargetOrigin=$e(),Cs(this.relativeTargetOrigin,this.target,g.target),xr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Cl&&Ji.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pp(this.parent.latestValues)||Ah(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;let u=this.getLead(),l=!!this.resumingFrom||this!==u,c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ze.timestamp&&(c=!1),c)return;let{layout:p,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||d))return;xr(this.layoutCorrected,this.layout.layoutBox);let h=this.treeScale.x,g=this.treeScale.y;yy(this.layoutCorrected,this.treeScale,this.path,l),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=$e());let{target:v}=u;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Mh(this.prevProjectionDelta.x,this.projectionDelta.x),Mh(this.prevProjectionDelta.y,this.projectionDelta.y)),bs(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==g||!Lh(this.projectionDelta.x,this.prevProjectionDelta.x)||!Lh(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),Cl&&Ji.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var u;if((u=this.options.visualElement)===null||u===void 0||u.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xi(),this.projectionDelta=Xi(),this.projectionDeltaWithTransform=Xi()}setAnimationOrigin(s,u=!1){let l=this.snapshot,c=l?l.latestValues:{},p={...this.latestValues},d=Xi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;let h=$e(),g=l?l.source:void 0,v=this.layout?this.layout.source:void 0,m=g!==v,b=this.getStack(),y=!b||b.members.length<=1,x=!!(m&&!y&&this.options.crossfade===!0&&!this.path.some(IL));this.animationProgress=0;let w;this.mixTargetDelta=S=>{let E=S/1e3;Uy(d.x,s.x,E),Uy(d.y,s.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cs(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ML(this.relativeTarget,this.relativeTargetOrigin,h,E),w&&Vy(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=$e()),xr(w,this.relativeTarget)),m&&(this.animationValues=p,Ry(p,c,this.latestValues,E,x,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=me.update(()=>{xs.hasAnimatedSinceResize=!0,this.currentAnimation=Gy(0,jy,{...s,onUpdate:u=>{this.mixTargetDelta(u),s.onUpdate&&s.onUpdate(u)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:u,target:l,layout:c,latestValues:p}=s;if(!(!u||!l||!c)){if(this!==s&&this.layout&&c&&Zy(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||$e();let d=xt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;let h=xt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+h}xr(u,l),Yi(u,p),bs(this.projectionDeltaWithTransform,this.layoutCorrected,u,p)}}registerSharedNode(s,u){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Mp),this.sharedNodes.get(s).add(u);let c=u.options.initialPromotionConfig;u.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(u):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:u}=this.options;return u?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:u}=this.options;return u?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:u,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let u=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(u=!0),!u)return;let c={};l.z&&zh("z",s,c,this.animationValues);for(let p=0;p<$h.length;p++)zh(`rotate${$h[p]}`,s,c,this.animationValues),zh(`skew${$h[p]}`,s,c,this.animationValues);s.render();for(let p in c)s.setStaticValue(p,c[p]),this.animationValues&&(this.animationValues[p]=c[p]);s.scheduleRender()}getProjectionStyles(s){var u,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return CL;let c={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=cs(s?.pointerEvents)||"",c.transform=p?p(this.latestValues,""):"none",c;let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){let m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=cs(s?.pointerEvents)||""),this.hasProjected&&!Qn(this.latestValues)&&(m.transform=p?p({},""):"none",this.hasProjected=!1),m}let h=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=Ly(this.projectionDeltaWithTransform,this.treeScale,h),p&&(c.transform=p(h,c.transform));let{x:g,y:v}=this.projectionDelta;c.transformOrigin=`${g.origin*100}% ${v.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(u=h.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:c.opacity=d===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(let m in Za){if(h[m]===void 0)continue;let{correct:b,applyTo:y}=Za[m],x=c.transform==="none"?h[m]:b(h[m],d);if(y){let w=y.length;for(let S=0;S<w;S++)c[y[S]]=x}else c[m]=x}return this.options.layoutId&&(c.pointerEvents=d===this?cs(s?.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var u;return(u=s.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(_y),this.root.sharedNodes.clear()}}}function wL(e){e.updateLayout()}function SL(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:o}=e.layout,{animationType:a}=e.options,s=r.source!==e.layout.source;a==="size"?Qt(d=>{let h=s?r.measuredBox[d]:r.layoutBox[d],g=xt(h);h.min=n[d].min,h.max=h.min+g}):Zy(a,r.layoutBox,n)&&Qt(d=>{let h=s?r.measuredBox[d]:r.layoutBox[d],g=xt(n[d]);h.max=h.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});let u=Xi();bs(u,n,r.layoutBox);let l=Xi();s?bs(l,e.applyTransform(o,!0),r.measuredBox):bs(l,n,r.layoutBox);let c=!kh(u),p=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:h,layout:g}=d;if(h&&g){let v=$e();Cs(v,r.layoutBox,h.layoutBox);let m=$e();Cs(m,n,g.layoutBox),Nh(v,m)||(p=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:u,hasLayoutChanged:c,hasRelativeTargetChanged:p})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function DL(e){Cl&&Ji.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function EL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function PL(e){e.clearSnapshot()}function _y(e){e.clearMeasurements()}function TL(e){e.isLayoutDirty=!1}function AL(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Wy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function RL(e){e.resolveTargetDelta()}function FL(e){e.calcProjection()}function BL(e){e.resetSkewAndRotation()}function OL(e){e.removeLeadSnapshot()}function Uy(e,t,r){e.translate=Ce(t.translate,0,r),e.scale=Ce(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Ky(e,t,r,n){e.min=Ce(t.min,r.min,n),e.max=Ce(t.max,r.max,n)}function ML(e,t,r,n){Ky(e.x,t.x,r.x,n),Ky(e.y,t.y,r.y,n)}function IL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var kL={duration:.45,ease:[.4,0,.1,1]},qy=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Xy=qy("applewebkit/")&&!qy("chrome/")?Math.round:Fe;function Yy(e){e.min=Xy(e.min),e.max=Xy(e.max)}function NL(e){Yy(e.x),Yy(e.y)}function Zy(e,t,r){return e==="position"||e==="preserve-aspect"&&!J9(Vh(t),Vh(r),.2)}function VL(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}i();var Qy=kp({attachResizeListener:(e,t)=>Xt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var Hh={current:void 0},Np=kp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Hh.current){let e=new Qy({});e.mount(window),e.setOptions({layoutScroll:!0}),Hh.current=e}return Hh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var eb={pan:{Feature:Bp},drag:{Feature:Fp,ProjectionNode:Np,MeasureLayout:Op}};i();var ib=require("react");i();i();i();i();i();var xl={current:null},Vp={current:!1};function tb(){if(Vp.current=!0,!!Ka)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xl.current=e.matches;e.addListener(t),t()}else xl.current=!1}i();function rb(e,t,r){for(let n in t){let o=t[n],a=r[n];if(Ne(o))e.addValue(n,o);else if(Ne(a))e.addValue(n,Zn(o,{owner:e}));else if(a!==o)if(e.hasValue(n)){let s=e.getValue(n);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{let s=e.getStaticValue(n);e.addValue(n,Zn(s!==void 0?s:o,{owner:e}))}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}i();var Gh=new WeakMap;i();var LL=[...uh,nt,Lt],nb=e=>LL.find(ep(e));var ob=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],$L=il.length,Lp=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:a,visualState:s},u={}){this.applyWillChange=!1,this.resolveKeyframes=(h,g,v,m)=>new this.KeyframeResolver(h,g,v,m,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=_o,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,me.render(this.render,!1,!0))};let{latestValues:l,renderState:c}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=Gi(r),this.isVariantNode=Rf(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let h in d){let g=d[h];l[h]!==void 0&&Ne(g)&&g.set(l[h],!1)}}mount(t){this.current=t,Gh.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),Vp.current||tb(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:xl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Gh.delete(this.current),this.projection&&this.projection.unmount(),Vt(this.notifyUpdate),Vt(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(t,r){let n=At.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&me.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Xn){let r=Xn[t];if(!r)continue;let{isEnabled:n,Feature:o}=r;if(!this.features[t]&&o&&n(this.props)&&(this.features[t]=new o(this)),this.features[t]){let a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$e()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<ob.length;n++){let o=ob[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let a="on"+o,s=t[a];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=rb(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}let r={};for(let n=0;n<$L;n++){let o=il[n],a=this.props[o];(Kn(a)||a===!1)&&(r[o]=a)}return r}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){let n=this.values.get(t);r!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=Zn(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){var n;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Qf(o)||Zf(o))?o=parseFloat(o):!nb(o)&&Lt.test(r)&&(o=rp(t,r)),this.setBaseTarget(t,Ne(o)?o.get():o)),Ne(o)?o.get():o}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;let{initial:n}=this.props,o;if(typeof n=="string"||typeof n=="object"){let s=us(this.props,n,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);s&&(o=s[t])}if(n&&o!==void 0)return o;let a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Ne(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Ko),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}};var Ss=class extends Lp{constructor(){super(...arguments),this.KeyframeResolver=ms}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}};function zL(e){return window.getComputedStyle(e)}var $p=class extends Ss{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Nf}readValueFromInstance(t,r){if(At.has(r)){let n=ds(r);return n&&n.default||0}else{let n=zL(t),o=(If(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Bh(t,r)}build(t,r,n){rs(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return ss(t,r,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Ne(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}};i();var zp=class extends Ss{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$e}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(At.has(r)){let n=ds(r);return n&&n.default||0}return r=Vf.has(r)?r:ko(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return $f(t,r,n)}build(t,r,n){os(t,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,r,n,o){Lf(t,r,n,o)}mount(t){this.isSVGTag=is(t.tagName),super.mount(t)}};var ab=(e,t)=>Ja(e)?new zp(t):new $p(t,{allowProjection:e!==ib.Fragment});i();var sb={layout:{ProjectionNode:Np,MeasureLayout:Op}};var HL={...H9,...W8,...eb,...sb},wl=s8((e,t)=>L8(e,t,HL,ab));i();var El=require("react/jsx-runtime"),hn=require("react");i();var _h=require("react/jsx-runtime"),cb=A(require("react"),1),Sl=require("react");i();var ub=require("react/jsx-runtime"),Hp=A(require("react"),1),eo=require("react");var jh=class extends Hp.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function lb({children:e,isPresent:t}){let r=(0,eo.useId)(),n=(0,eo.useRef)(null),o=(0,eo.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,eo.useContext)(Ua);return(0,eo.useInsertionEffect)(()=>{let{width:s,height:u,top:l,left:c}=o.current;if(t||!n.current||!s||!u)return;n.current.dataset.motionPopId=r;let p=document.createElement("style");return a&&(p.nonce=a),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
|
|
100
|
+
`},gf=Object.keys(M0),gr=(e=void 0)=>(0,s6.isNotNil)(e)?M0[e]:M0.defaultDarkOne;i();var lk=31,ck=e=>{let t=null;if(typeof e=="string"&&e)t=Array.from(e).reduce((n,o)=>Math.imul(lk,n)+o.charCodeAt(0)||0,0);else return gf[0];let r=Math.abs(t)%gf.length;return gf[r]};i();i();i();i();function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tt.apply(this,arguments)}i();function I0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i();i();function Gn(e,t){return Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Gn(e,t)}function k0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Gn(e,t)}i();i();function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}i();function N0(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}i();i();function vf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(vf=function(){return!!e})()}function V0(e,t,r){if(vf())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&Gn(o,r.prototype),o}function Ju(e){var t=typeof Map=="function"?new Map:void 0;return Ju=function(n){if(n===null||!N0(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return V0(n,arguments,Yu(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Gn(o,n)},Ju(e)}i();var Kt=function(e){k0(t,e);function t(r){var n;if(1)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,a,s;s<o;s++);return I0(n)}return t}(Ju(Error));function u6(e,t){return e.substr(-t.length)===t}var fk=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function l6(e){if(typeof e!="string")return e;var t=e.match(fk);return t?parseFloat(e):e}var pk=function(t){return function(r,n){n===void 0&&(n="16px");var o=r,a=n;if(typeof r=="string"){if(!u6(r,"px"))throw new Kt(69,t,r);o=l6(r)}if(typeof n=="string"){if(!u6(n,"px"))throw new Kt(70,t,n);a=l6(n)}if(typeof o=="string")throw new Kt(71,r,t);if(typeof a=="string")throw new Kt(72,n,t);return""+o/a+t}},f6=pk,gse=f6("em");var dk=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function p6(e){if(typeof e!="string")return[e,""];var t=e.match(dk);return t?[parseFloat(e),t[2]]:[e,void 0]}var vse=f6("rem");function L0(e){return Math.round(e*255)}function mk(e,t,r){return L0(e)+","+L0(t)+","+L0(r)}function Zu(e,t,r,n){if(n===void 0&&(n=mk),t===0)return n(r,r,r);var o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*t,s=a*(1-Math.abs(o%2-1)),u=0,l=0,c=0;o>=0&&o<1?(u=a,l=s):o>=1&&o<2?(u=s,l=a):o>=2&&o<3?(l=a,c=s):o>=3&&o<4?(l=s,c=a):o>=4&&o<5?(u=s,c=a):o>=5&&o<6&&(u=a,c=s);var p=r-a/2,d=u+p,h=l+p,g=c+p;return n(d,h,g)}var c6={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function hk(e){if(typeof e!="string")return e;var t=e.toLowerCase();return c6[t]?"#"+c6[t]:e}var gk=/^#[a-fA-F0-9]{6}$/,vk=/^#[a-fA-F0-9]{8}$/,yk=/^#[a-fA-F0-9]{3}$/,bk=/^#[a-fA-F0-9]{4}$/,$0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Ck=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,xk=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,wk=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Ga(e){if(typeof e!="string")throw new Kt(3);var t=hk(e);if(t.match(gk))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(vk)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(yk))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(bk)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=$0.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=Ck.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var s=xk.exec(t);if(s){var u=parseInt(""+s[1],10),l=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+Zu(u,l,c)+")",d=$0.exec(p);if(!d)throw new Kt(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var h=wk.exec(t.substring(0,50));if(h){var g=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,b="rgb("+Zu(g,v,m)+")",y=$0.exec(b);if(!y)throw new Kt(4,t,b);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Kt(5)}function Sk(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),s=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var u,l=o-a,c=s>.5?l/(2-o-a):l/(o+a);switch(o){case t:u=(r-n)/l+(r<n?6:0);break;case r:u=(n-t)/l+2;break;default:u=(t-r)/l+4;break}return u*=60,e.alpha!==void 0?{hue:u,saturation:c,lightness:s,alpha:e.alpha}:{hue:u,saturation:c,lightness:s}}function Ro(e){return Sk(Ga(e))}var Dk=function(t){return t.length===7&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t},H0=Dk;function Hi(e){var t=e.toString(16);return t.length===1?"0"+t:t}function z0(e){return Hi(Math.round(e*255))}function Ek(e,t,r){return H0("#"+z0(e)+z0(t)+z0(r))}function yf(e,t,r){return Zu(e,t,r,Ek)}function Pk(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return yf(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return yf(e.hue,e.saturation,e.lightness);throw new Kt(1)}function Tk(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?yf(e,t,r):"rgba("+Zu(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?yf(e.hue,e.saturation,e.lightness):"rgba("+Zu(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Kt(2)}function G0(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return H0("#"+Hi(e)+Hi(t)+Hi(r));if(typeof e=="object"&&t===void 0&&r===void 0)return H0("#"+Hi(e.red)+Hi(e.green)+Hi(e.blue));throw new Kt(6)}function bf(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Ga(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?G0(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?G0(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Kt(7)}var Ak=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Rk=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Fk=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Bk=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Fo(e){if(typeof e!="object")throw new Kt(8);if(Rk(e))return bf(e);if(Ak(e))return G0(e);if(Bk(e))return Tk(e);if(Fk(e))return Pk(e);throw new Kt(8)}function d6(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):d6(e,t,o)}}function vr(e){return d6(e,e.length,[])}function Ok(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{hue:r.hue+parseFloat(e)}))}var yse=vr(Ok);function ja(e,t,r){return Math.max(e,Math.min(t,r))}function Mk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{lightness:ja(0,1,r.lightness-parseFloat(e))}))}var Ik=vr(Mk),Je=Ik;function kk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{saturation:ja(0,1,r.saturation-parseFloat(e))}))}var bse=vr(kk);function Nk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{lightness:ja(0,1,r.lightness+parseFloat(e))}))}var Cse=vr(Nk);function Vk(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=Ga(t),o=Tt({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=Ga(r),s=Tt({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),u=o.alpha-s.alpha,l=parseFloat(e)*2-1,c=l*u===-1?l:l+u,p=1+l*u,d=(c/p+1)/2,h=1-d,g={red:Math.floor(o.red*d+s.red*h),green:Math.floor(o.green*d+s.green*h),blue:Math.floor(o.blue*d+s.blue*h),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return bf(g)}var Lk=vr(Vk),m6=Lk;function $k(e,t){if(t==="transparent")return t;var r=Ga(t),n=typeof r.alpha=="number"?r.alpha:1,o=Tt({},r,{alpha:ja(0,1,(n*100+parseFloat(e)*100)/100)});return bf(o)}var xse=vr($k);function zk(e,t){if(t==="transparent")return t;var r=Ro(t);return Fo(Tt({},r,{saturation:ja(0,1,r.saturation+parseFloat(e))}))}var wse=vr(zk);function Hk(e,t){return t==="transparent"?t:Fo(Tt({},Ro(t),{hue:parseFloat(e)}))}var Sse=vr(Hk);function Gk(e,t){return t==="transparent"?t:Fo(Tt({},Ro(t),{lightness:parseFloat(e)}))}var Dse=vr(Gk);function jk(e,t){return t==="transparent"?t:Fo(Tt({},Ro(t),{saturation:parseFloat(e)}))}var Ese=vr(jk);function _k(e,t){return t==="transparent"?t:m6(parseFloat(e),"rgb(0, 0, 0)",t)}var Pse=vr(_k);function Wk(e,t){return t==="transparent"?t:m6(parseFloat(e),"rgb(255, 255, 255)",t)}var Tse=vr(Wk);function Uk(e,t){if(t==="transparent")return t;var r=Ga(t),n=typeof r.alpha=="number"?r.alpha:1,o=Tt({},r,{alpha:ja(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return bf(o)}var Kk=vr(Uk),qt=Kk;var Qu=e=>{let[r,n]=p6(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},qk=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,Xk=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,Yk=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,Jk=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,Zk=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,Qk=({theme:e})=>Qu(e.breakpoint.xs),eN=({theme:e})=>Qu(e.breakpoint.sm),tN=({theme:e})=>Qu(e.breakpoint.md),rN=({theme:e})=>Qu(e.breakpoint.lg),nN=({theme:e})=>Qu(e.breakpoint.xl),ke={xsAndUp:qk,smAndUp:Xk,mdAndUp:Yk,lgAndUp:Jk,xlAndUp:Zk,xsAndDown:Qk,smAndDown:eN,mdAndDown:tN,lgAndDown:rN,xlAndDown:nN};i();i();var jn=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object);i();var j0=e=>(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&(typeof e!="function"||t!=="caller"&&t!=="callee"&&t!=="arguments")&&e[t]!==null&&(typeof e[t]=="object"||typeof e[t]=="function")&&!Object.isFrozen(e[t])&&j0(e[t])}),e);i();var el=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{jn(n)&&Object.keys(n).forEach(o=>{jn(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=el(r[o],n[o]):r[o]=n[o]})}),r};i();var Cf=(e,t)=>t.reduce((r,n)=>(Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]),r),{});var oN={isObject:jn,deepFreeze:j0,merge:el,selectKeys:Cf};i();i();var h6=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase());i();var _n=e=>e==="true"||e==="false"?e==="true":!!e;i();var yr=e=>e==null?"":String(e);i();i();var _a=e=>typeof e=="string"||e instanceof String;var g6=e=>{if(!_a(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};i();var Bo=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!_a(e))return!1;let o=t.exec(e);if(!o)return!1;let a=o[1];return a===void 0||!a?!1:r.test(a)||n.test(a)};i();var v6=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1);i();var y6=e=>e.replace(/\n/g,"");i();var b6=e=>(e||"").replace(/\.[^/.]{1,4}$/,"");i();var C6=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`;i();var x6=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1);var iN={camelCase:h6,coerceToBoolean:_n,coerceToString:yr,isHttpUrl:g6,isString:_a,isUrl:Bo,lowerFirst:v6,removeNewlines:y6,stripExtension:b6,truncate:C6,upperFirst:x6};i();i();i();var rl=A(require("react"));i();var Oo=A(require("react"));i();var w6=A(require("react")),aN={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},S6=function(t){var r=t.message,n=t["aria-live"];return w6.default.createElement("div",{style:aN,role:"log","aria-live":n},r||"")};S6.propTypes={};var tl=S6;function sN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D6(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function uN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var E6=function(e){uN(t,e);function t(){var r,n,o;sN(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=D6(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),D6(n,o)}return t.getDerivedStateFromProps=function(n,o){var a=o.oldPolitemessage,s=o.oldPoliteMessageId,u=o.oldAssertiveMessage,l=o.oldAssertiveMessageId,c=n.politeMessage,p=n.politeMessageId,d=n.assertiveMessage,h=n.assertiveMessageId;return a!==c||s!==p?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:p,setAlternatePolite:!o.setAlternatePolite}:u!==d||l!==h?{assertiveMessage1:o.setAlternateAssertive?"":d,assertiveMessage2:o.setAlternateAssertive?d:"",oldAssertiveMessage:d,oldAssertiveMessageId:h,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,a=n.assertiveMessage2,s=n.politeMessage1,u=n.politeMessage2;return Oo.default.createElement("div",null,Oo.default.createElement(tl,{"aria-live":"assertive",message:o}),Oo.default.createElement(tl,{"aria-live":"assertive",message:a}),Oo.default.createElement(tl,{"aria-live":"polite",message:s}),Oo.default.createElement(tl,{"aria-live":"polite",message:u}))},t}(Oo.Component);E6.propTypes={};var P6=E6;i();var A6=A(require("react")),lN=A6.default.createContext({announceAssertive:T6,announcePolite:T6});function T6(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var Wa=lN;function cN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fN(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function pN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var dN=function(e){pN(t,e);function t(r){cN(this,t);var n=fN(this,e.call(this,r));return n.announcePolite=function(o,a){n.setState({announcePoliteMessage:o,politeMessageId:a||""})},n.announceAssertive=function(o,a){n.setState({announceAssertiveMessage:o,assertiveMessageId:a||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return t.prototype.render=function(){var n=this.state,o=n.announcePoliteMessage,a=n.politeMessageId,s=n.announceAssertiveMessage,u=n.assertiveMessageId,l=n.updateFunctions;return rl.default.createElement(Wa.Provider,{value:l},this.props.children,rl.default.createElement(P6,{assertiveMessage:s,assertiveMessageId:u,politeMessage:o,politeMessageId:a}))},t}(rl.Component),_0=dN;i();var X0=A(require("react"));i();var V6=require("react"),q0=A(k6());function yN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N6(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function bN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var L6=function(e){bN(t,e);function t(){var r,n,o;yN(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return o=(r=(n=N6(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var l=n.props,c=l.message,p=l["aria-live"],d=l.announceAssertive,h=l.announcePolite;p==="assertive"&&d(c||"",(0,q0.default)()),p==="polite"&&h(c||"",(0,q0.default)())},r),N6(n,o)}return t.prototype.componentDidMount=function(){this.announce()},t.prototype.componentDidUpdate=function(n){var o=this.props.message;o!==n.message&&this.announce()},t.prototype.componentWillUnmount=function(){var n=this.props,o=n.clearOnUnmount,a=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(a(""),s(""))},t.prototype.render=function(){return null},t}(V6.Component);L6.propTypes={};var $6=L6;var CN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z6=function(t){return X0.default.createElement(Wa.Consumer,null,function(r){return X0.default.createElement($6,CN({},r,t))})};z6.propTypes={};var ol=z6;i();var H6=A(require("react"));var xN=function(t){var r=t.children;return H6.default.createElement(Wa.Consumer,null,function(n){return r(n)})};xN.propTypes={};i();i();i();var Bf=require("react/jsx-runtime"),Ya=require("react");i();var G6=require("react"),Ua=(0,G6.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});i();var j6=require("react"),Mo=(0,j6.createContext)({});i();var br=require("react");i();var _6=require("react"),Io=(0,_6.createContext)(null);i();var xf=require("react");i();var Ka=typeof window<"u";var wf=Ka?xf.useLayoutEffect:xf.useEffect;i();var W6=require("react"),Sf=(0,W6.createContext)({strict:!1});i();i();var ko=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var wN="framerAppearId",Df="data-"+ko(wN);i();i();i();var Wn={skipAnimations:!1,useManualTiming:!1};i();function U6(e){let t=new Set,r=new Set,n=!1,o=!1,a=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function u(c){a.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,p=!1,d=!1)=>{let g=d&&n?t:r;return p&&a.add(c),g.has(c)||g.add(c),c},cancel:c=>{r.delete(c),a.delete(c)},process:c=>{if(s=c,n){o=!0;return}n=!0,[t,r]=[r,t],r.clear(),t.forEach(u),n=!1,o&&(o=!1,l.process(c))}};return l}var Ef=["read","resolveKeyframes","update","preRender","render","postRender"],SN=40;function Pf(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,s=Ef.reduce((y,x)=>(y[x]=U6(a),y),{}),{read:u,resolveKeyframes:l,update:c,preRender:p,render:d,postRender:h}=s,g=()=>{let y=Wn.useManualTiming?o.timestamp:performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(y-o.timestamp,SN),1),o.timestamp=y,o.isProcessing=!0,u.process(o),l.process(o),c.process(o),p.process(o),d.process(o),h.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(g))},v=()=>{r=!0,n=!0,o.isProcessing||e(g)};return{schedule:Ef.reduce((y,x)=>{let w=s[x];return y[x]=(S,E=!1,D=!1)=>(r||v(),w.schedule(S,E,D)),y},{}),cancel:y=>{for(let x=0;x<Ef.length;x++)s[Ef[x]].cancel(y)},state:o,steps:s}}var{schedule:qa,cancel:$le}=Pf(queueMicrotask,!1);i();function Un(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}i();var K6=require("react"),Tf=(0,K6.createContext)({});var q6=!1;function X6(e,t,r,n,o){let{visualElement:a}=(0,br.useContext)(Mo),s=(0,br.useContext)(Sf),u=(0,br.useContext)(Io),l=(0,br.useContext)(Ua).reducedMotion,c=(0,br.useRef)();n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:a,props:r,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:l}));let p=c.current,d=(0,br.useContext)(Tf);p&&!p.projection&&o&&(p.type==="html"||p.type==="svg")&&EN(c.current,r,o,d),(0,br.useInsertionEffect)(()=>{p&&p.update(r,u)});let h=(0,br.useRef)(!!(r[Df]&&!window.HandoffComplete));return wf(()=>{p&&(p.updateFeatures(),qa.render(p.render),h.current&&p.animationState&&p.animationState.animateChanges())}),(0,br.useEffect)(()=>{p&&(!h.current&&p.animationState&&p.animationState.animateChanges(),h.current&&(h.current=!1,q6||(q6=!0,queueMicrotask(DN))))}),p}function DN(){window.HandoffComplete=!0}function EN(e,t,r,n){let{layoutId:o,layout:a,drag:s,dragConstraints:u,layoutScroll:l,layoutRoot:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:Y6(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:!!s||u&&Un(u),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:c})}function Y6(e){if(e)return e.options.allowProjection!==!1?e.projection:Y6(e.parent)}i();var J6=require("react");function Z6(e,t,r){return(0,J6.useCallback)(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Un(r)&&(r.current=n))},[t])}i();var Ff=require("react");i();i();function Kn(e){return typeof e=="string"||Array.isArray(e)}i();i();function qn(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}i();var Af=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],il=["initial",...Af];function Gi(e){return qn(e.animate)||il.some(t=>Kn(e[t]))}function Rf(e){return!!(Gi(e)||e.variants)}function Q6(e,t){if(Gi(e)){let{initial:r,animate:n}=e;return{initial:r===!1||Kn(r)?r:void 0,animate:Kn(n)?n:void 0}}return e.inherit!==!1?t:{}}function t8(e){let{initial:t,animate:r}=Q6(e,(0,Ff.useContext)(Mo));return(0,Ff.useMemo)(()=>({initial:t,animate:r}),[e8(t),e8(r)])}function e8(e){return Array.isArray(e)?e.join(" "):e}i();i();var r8={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xn={};for(let e in r8)Xn[e]={isEnabled:t=>r8[e].some(r=>!!t[r])};function n8(e){for(let t in e)Xn[t]={...Xn[t],...e[t]}}i();var o8=require("react"),Xa=(0,o8.createContext)({});i();var i8=Symbol.for("motionComponentSymbol");i();i();var Fe=e=>e;var No=Fe,Jr=Fe;function a8({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&n8(e);function a(u,l){let c,p={...(0,Ya.useContext)(Ua),...u,layoutId:PN(u)},{isStatic:d}=p,h=t8(u),g=n(u,d);if(!d&&Ka){TN(p,e);let v=AN(p);c=v.MeasureLayout,h.visualElement=X6(o,g,p,t,v.ProjectionNode)}return(0,Bf.jsxs)(Mo.Provider,{value:h,children:[c&&h.visualElement?(0,Bf.jsx)(c,{visualElement:h.visualElement,...p}):null,r(o,u,Z6(g,h.visualElement,l),g,d,h.visualElement)]})}let s=(0,Ya.forwardRef)(a);return s[i8]=o,s}function PN({layoutId:e}){let t=(0,Ya.useContext)(Xa).id;return t&&e!==void 0?t+"-"+e:e}function TN(e,t){let r=(0,Ya.useContext)(Sf).strict}function AN(e){let{drag:t,layout:r}=Xn;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}i();function s8(e){function t(n,o={}){return a8(e(n,o))}if(typeof Proxy>"u")return t;let r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}i();i();i();var u8=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ja(e){return typeof e!="string"||e.includes("-")?!1:!!(u8.indexOf(e)>-1||/[A-Z]/u.test(e))}i();var as=require("react");i();var v8=require("react");i();i();var Za={};function l8(e){Object.assign(Za,e)}i();var Vo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],At=new Set(Vo);function Of(e,{layout:t,layoutId:r}){return At.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Za[e]||e==="opacity")}i();var Ne=e=>!!(e&&e.getVelocity);i();i();i();var Mf=(e,t)=>t&&typeof e=="number"?t.transform(e):e;i();i();i();var kt=(e,t,r)=>r>t?t:r<e?e:r;var pn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Lo={...pn,transform:e=>kt(0,1,e)},al={...pn,default:1};i();i();var $o=e=>Math.round(e*1e5)/1e5,Qa=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,c8=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,f8=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Yn(e){return typeof e=="string"}function p8(e){return e==null}var sl=e=>({test:t=>Yn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),dn=sl("deg"),Nt=sl("%"),se=sl("px"),d8=sl("vh"),m8=sl("vw"),Y0={...Nt,parse:e=>Nt.parse(e)/100,transform:e=>Nt.transform(e*100)};i();var J0={...pn,transform:Math.round};var es={borderWidth:se,borderTopWidth:se,borderRightWidth:se,borderBottomWidth:se,borderLeftWidth:se,borderRadius:se,radius:se,borderTopLeftRadius:se,borderTopRightRadius:se,borderBottomRightRadius:se,borderBottomLeftRadius:se,width:se,maxWidth:se,height:se,maxHeight:se,size:se,top:se,right:se,bottom:se,left:se,padding:se,paddingTop:se,paddingRight:se,paddingBottom:se,paddingLeft:se,margin:se,marginTop:se,marginRight:se,marginBottom:se,marginLeft:se,rotate:dn,rotateX:dn,rotateY:dn,rotateZ:dn,scale:al,scaleX:al,scaleY:al,scaleZ:al,skew:dn,skewX:dn,skewY:dn,distance:se,translateX:se,translateY:se,translateZ:se,x:se,y:se,z:se,perspective:se,transformPerspective:se,opacity:Lo,originX:Y0,originY:Y0,originZ:se,zIndex:J0,backgroundPositionX:se,backgroundPositionY:se,fillOpacity:Lo,strokeOpacity:Lo,numOctaves:J0};var RN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},FN=Vo.length;function h8(e,t,r){let n="",o=!0;for(let a=0;a<FN;a++){let s=Vo[a],u=e[s];if(u===void 0)continue;let l=!0;if(typeof u=="number"?l=u===(s.startsWith("scale")?1:0):l=parseFloat(u)===0,!l||r){let c=Mf(u,es[s]);if(!l){o=!1;let p=RN[s]||s;n+=`${p}(${c}) `}r&&(t[s]=c)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}i();var g8=e=>t=>typeof t=="string"&&t.startsWith(e),If=g8("--"),BN=g8("var(--"),ts=e=>BN(e)?ON.test(e.split("/*")[0].trim()):!1,ON=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function rs(e,t,r){let{style:n,vars:o,transformOrigin:a}=e,s=!1,u=!1;for(let l in t){let c=t[l];if(At.has(l)){s=!0;continue}else if(If(l)){o[l]=c;continue}else{let p=Mf(c,es[l]);l.startsWith("origin")?(u=!0,a[l]=p):n[l]=p}}if(t.transform||(s||r?n.transform=h8(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:l="50%",originY:c="50%",originZ:p=0}=a;n.transformOrigin=`${l} ${c} ${p}`}}i();var ns=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Z0(e,t,r){for(let n in t)!Ne(t[n])&&!Of(n,r)&&(e[n]=t[n])}function MN({transformTemplate:e},t){return(0,v8.useMemo)(()=>{let r=ns();return rs(r,t,e),Object.assign({},r.vars,r.style)},[t])}function IN(e,t){let r=e.style||{},n={};return Z0(n,r,e),Object.assign(n,MN(e,t)),n}function y8(e,t){let r={},n=IN(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}i();i();var kN=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ul(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||kN.has(e)}var S8=e=>!ul(e);function LN(e){e&&(S8=t=>t.startsWith("on")?!ul(t):e(t))}try{LN((w8(),M7(x8)).default)}catch{}function D8(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(S8(o)||r===!0&&ul(o)||!t&&!ul(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}i();var A8=require("react");i();i();function E8(e,t,r){return typeof e=="string"?e:se.transform(t+r*e)}function P8(e,t,r){let n=E8(t,e.x,e.width),o=E8(r,e.y,e.height);return`${n} ${o}`}i();var $N={offset:"stroke-dashoffset",array:"stroke-dasharray"},zN={offset:"strokeDashoffset",array:"strokeDasharray"};function T8(e,t,r=1,n=0,o=!0){e.pathLength=1;let a=o?$N:zN;e[a.offset]=se.transform(-n);let s=se.transform(t),u=se.transform(r);e[a.array]=`${s} ${u}`}function os(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:a,pathLength:s,pathSpacing:u=1,pathOffset:l=0,...c},p,d){if(rs(e,c,d),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:g,dimensions:v}=e;h.transform&&(v&&(g.transform=h.transform),delete h.transform),v&&(o!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=P8(v,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),s!==void 0&&T8(h,s,u,l,!1)}i();var kf=()=>({...ns(),attrs:{}});i();var is=e=>typeof e=="string"&&e.toLowerCase()==="svg";function R8(e,t,r,n){let o=(0,A8.useMemo)(()=>{let a=kf();return os(a,t,is(n),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){let a={};Z0(a,e.style,e),o.style={...a,...o.style}}return o}function F8(e=!1){return(r,n,o,{latestValues:a},s)=>{let l=(Ja(r)?R8:y8)(n,a,s,r),c=D8(n,typeof r=="string",e),p=r!==as.Fragment?{...c,...l,ref:o}:{},{children:d}=n,h=(0,as.useMemo)(()=>Ne(d)?d.get():d,[d]);return(0,as.createElement)(r,{...p,children:h})}}i();i();i();function Nf(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(let a in r)e.style.setProperty(a,r[a])}i();var Vf=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Lf(e,t,r,n){Nf(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(Vf.has(o)?o:ko(o),t.attrs[o])}i();i();function ss(e,t,r){var n;let{style:o}=e,a={};for(let s in o)(Ne(o[s])||t.style&&Ne(t.style[s])||Of(s,e)||((n=r?.getValue(s))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(a[s]=o[s]);return r&&o&&typeof o.willChange=="string"&&(r.applyWillChange=!1),a}function $f(e,t,r){let n=ss(e,t,r);for(let o in e)if(Ne(e[o])||Ne(t[o])){let a=Vo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[a]=e[o]}return n}i();var Q0=require("react");i();function B8(e){let t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function us(e,t,r,n){if(typeof t=="function"){let[o,a]=B8(n);t=t(r!==void 0?r:e.custom,o,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,a]=B8(n);t=t(r!==void 0?r:e.custom,o,a)}return t}i();var O8=require("react");function ls(e){let t=(0,O8.useRef)(null);return t.current===null&&(t.current=e()),t.current}i();i();i();var ll=e=>Array.isArray(e);var M8=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),I8=e=>ll(e)?e[e.length-1]||0:e;function cs(e){let t=Ne(e)?e.get():e;return M8(t)?t.toValue():t}i();i();var zf=new Set(["opacity","clipPath","filter","transform"]);function Hf(e){if(At.has(e))return"transform";if(zf.has(e))return ko(e)}i();function zo(e,t){e.indexOf(t)===-1&&e.push(t)}function Ho(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function HN({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:r,onMount:n},o,a,s,u){let l={latestValues:jN(o,a,s,u?!1:e,t),renderState:r()};return n&&(l.mount=c=>n(o,c,l)),l}var Gf=e=>(t,r)=>{let n=(0,Q0.useContext)(Mo),o=(0,Q0.useContext)(Io),a=()=>HN(e,t,n,o,r);return r?a():ls(a)};function GN(e,t){let r=Hf(t);r&&zo(e,r)}function k8(e,t,r){let n=Array.isArray(t)?t:[t];for(let o=0;o<n.length;o++){let a=us(e,n[o]);if(a){let{transitionEnd:s,transition:u,...l}=a;r(l,s)}}}function jN(e,t,r,n,o){var a;let s={},u=[],l=n&&((a=e.style)===null||a===void 0?void 0:a.willChange)===void 0,c=o(e,{});for(let b in c)s[b]=cs(c[b]);let{initial:p,animate:d}=e,h=Gi(e),g=Rf(e);t&&g&&!h&&e.inherit!==!1&&(p===void 0&&(p=t.initial),d===void 0&&(d=t.animate));let v=r?r.initial===!1:!1;v=v||p===!1;let m=v?d:p;return m&&typeof m!="boolean"&&!qn(m)&&k8(e,m,(b,y)=>{for(let x in b){let w=b[x];if(Array.isArray(w)){let S=v?w.length-1:0;w=w[S]}w!==null&&(s[x]=w)}for(let x in y)s[x]=y[x]}),l&&(d&&p!==!1&&!qn(d)&&k8(e,d,b=>{for(let y in b)GN(u,y)}),u.length&&(s.willChange=u.join(","))),s}i();var{schedule:me,cancel:Vt,state:Ze,steps:jf}=Pf(typeof requestAnimationFrame<"u"?requestAnimationFrame:Fe,!0);var N8={useVisualState:Gf({scrapeMotionValuesFromProps:$f,createRenderState:kf,onMount:(e,t,{renderState:r,latestValues:n})=>{me.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),me.render(()=>{os(r,n,is(t.tagName),e.transformTemplate),Lf(t,r)})}})};i();var V8={useVisualState:Gf({applyWillChange:!0,scrapeMotionValuesFromProps:ss,createRenderState:ns})};function L8(e,{forwardMotionProps:t=!1},r,n){return{...Ja(e)?N8:V8,preloadedFeatures:r,useRender:F8(t),createVisualElement:n,Component:e}}i();i();i();i();function Xt(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}i();i();var _f=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function ji(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var $8=e=>t=>_f(t)&&e(t,ji(t));function Yt(e,t,r,n){return Xt(e,t,$8(r),n)}i();var _N=(e,t)=>r=>t(e(r)),Rt=(...e)=>e.reduce(_N);i();function G8(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var z8=G8("dragHorizontal"),H8=G8("dragVertical");function eh(e){let t=!1;if(e==="y")t=H8();else if(e==="x")t=z8();else{let r=z8(),n=H8();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Wf(){let e=eh(!0);return e?(e(),!1):!0}i();var pt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function j8(e,t){let r=t?"pointerenter":"pointerleave",n=t?"onHoverStart":"onHoverEnd",o=(a,s)=>{if(a.pointerType==="touch"||Wf())return;let u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);let l=u[n];l&&me.postRender(()=>l(a,s))};return Yt(e.current,r,o,{passive:!e.getProps()[n]})}var Uf=class extends pt{mount(){this.unmount=Rt(j8(this.node,!0),j8(this.node,!1))}unmount(){}};i();var Kf=class extends pt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Rt(Xt(this.node.current,"focus",()=>this.onFocus()),Xt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};i();i();var th=(e,t)=>t?e===t?!0:th(e,t.parentElement):!1;function rh(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,ji(r))}var qf=class extends pt{constructor(){super(...arguments),this.removeStartListeners=Fe,this.removeEndListeners=Fe,this.removeAccessibleListeners=Fe,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),a=Yt(window,"pointerup",(u,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:p,globalTapTarget:d}=this.node.getProps(),h=!d&&!th(this.node.current,u.target)?p:c;h&&me.update(()=>h(u,l))},{passive:!(n.onTap||n.onPointerUp)}),s=Yt(window,"pointercancel",(u,l)=>this.cancelPress(u,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Rt(a,s),this.startPress(t,r)},this.startAccessiblePress=()=>{let t=a=>{if(a.key!=="Enter"||this.isPressing)return;let s=u=>{u.key!=="Enter"||!this.checkPressEnd()||rh("up",(l,c)=>{let{onTap:p}=this.node.getProps();p&&me.postRender(()=>p(l,c))})};this.removeEndListeners(),this.removeEndListeners=Xt(this.node.current,"keyup",s),rh("down",(u,l)=>{this.startPress(u,l)})},r=Xt(this.node.current,"keydown",t),n=()=>{this.isPressing&&rh("cancel",(a,s)=>this.cancelPress(a,s))},o=Xt(this.node.current,"blur",n);this.removeAccessibleListeners=Rt(r,o)}}startPress(t,r){this.isPressing=!0;let{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&me.postRender(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Wf()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&me.postRender(()=>n(t,r))}mount(){let t=this.node.getProps(),r=Yt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Xt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Rt(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}};i();i();var oh=new WeakMap,nh=new WeakMap,WN=e=>{let t=oh.get(e.target);t&&t(e)},UN=e=>{e.forEach(WN)};function KN({root:e,...t}){let r=e||document;nh.has(r)||nh.set(r,{});let n=nh.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(UN,{root:e,...t})),n[o]}function _8(e,t,r){let n=KN(t);return oh.set(e,r),n.observe(e),()=>{oh.delete(e),n.unobserve(e)}}var qN={some:0,all:1},Xf=class extends pt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:qN[o]},u=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:p,onViewportLeave:d}=this.node.getProps(),h=c?p:d;h&&h(l)};return _8(this.node.current,s,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(XN(t,r))&&this.startObserver()}unmount(){}};function XN({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var W8={inView:{Feature:Xf},tap:{Feature:qf},focus:{Feature:Kf},hover:{Feature:Uf}};i();i();i();i();function ih(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}i();function Go(e,t,r){let n=e.getProps();return us(n,t,r!==void 0?r:n.custom,e)}i();i();i();i();var Jt=e=>e*1e3,Zt=e=>e/1e3;i();var YN={type:"spring",stiffness:500,damping:25,restSpeed:10},JN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ZN={type:"keyframes",duration:.8},QN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},U8=(e,{keyframes:t})=>t.length>2?ZN:At.has(e)?e.startsWith("scale")?JN(t[1]):YN:QN;i();function K8({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:u,from:l,elapsed:c,...p}){return!!Object.keys(p).length}function fs(e,t){return e[t]||e.default||e}i();var Yf={current:!1};i();var eV=e=>e!==null;function jo(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(eV),a=t&&r!=="loop"&&t%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}i();i();var Jf;function tV(){Jf=void 0}var Cr={now:()=>(Jf===void 0&&Cr.set(Ze.isProcessing||Wn.useManualTiming?Ze.timestamp:performance.now()),Jf),set:e=>{Jf=e,queueMicrotask(tV)}};i();i();i();var Zf=e=>/^0[^.\s]+$/u.test(e);function q8(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Zf(e):!0}i();i();var Qf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var rV=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nV(e){let t=rV.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var oV=4;function ah(e,t,r=1){Jr(r<=oV,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=nV(e);if(!n)return;let a=window.getComputedStyle(t).getPropertyValue(n);if(a){let s=a.trim();return Qf(s)?parseFloat(s):s}return ts(o)?ah(o,t,r+1):o}i();var J8=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),sh=e=>e===pn||e===se,X8=(e,t)=>parseFloat(e.split(", ")[t]),Y8=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/u);if(o)return X8(o[1],t);{let a=n.match(/^matrix\((.+)\)$/u);return a?X8(a[1],e):0}},iV=new Set(["x","y","z"]),aV=Vo.filter(e=>!iV.has(e));function Z8(e){let t=[];return aV.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var _i={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Y8(4,13),y:Y8(5,14)};_i.translateX=_i.x;_i.translateY=_i.y;i();i();var ep=e=>t=>t.test(e);i();var Q8={test:e=>e==="auto",parse:e=>e};var uh=[pn,se,Nt,dn,m8,d8,Q8],lh=e=>uh.find(ep(e));i();var Wi=new Set,ch=!1,fh=!1;function e9(){if(fh){let e=Array.from(Wi).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=Z8(n);o.length&&(r.set(n,o),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();let o=r.get(n);o&&o.forEach(([a,s])=>{var u;(u=n.getValue(a))===null||u===void 0||u.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}fh=!1,ch=!1,Wi.forEach(e=>e.complete()),Wi.clear()}function t9(){Wi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(fh=!0)})}function r9(){t9(),e9()}var _o=class{constructor(t,r,n,o,a,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=o,this.element=a,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Wi.add(this),ch||(ch=!0,me.read(t9),me.resolveKeyframes(e9))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){let s=o?.get(),u=t[t.length-1];if(s!==void 0)t[0]=s;else if(n&&r){let l=n.readValue(r,u);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=u),o&&s===void 0&&o.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Wi.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Wi.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};i();i();i();i();i();i();var ps=(e,t)=>r=>!!(Yn(r)&&f8.test(r)&&r.startsWith(e)||t&&!p8(r)&&Object.prototype.hasOwnProperty.call(r,t)),tp=(e,t,r)=>n=>{if(!Yn(n))return n;let[o,a,s,u]=n.match(Qa);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:u!==void 0?parseFloat(u):1}};var sV=e=>kt(0,255,e),ph={...pn,transform:e=>Math.round(sV(e))},mn={test:ps("rgb","red"),parse:tp("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+ph.transform(e)+", "+ph.transform(t)+", "+ph.transform(r)+", "+$o(Lo.transform(n))+")"};function uV(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}var cl={test:ps("#"),parse:uV,transform:mn.transform};i();var Wo={test:ps("hsl","hue"),parse:tp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Nt.transform($o(t))+", "+Nt.transform($o(r))+", "+$o(Lo.transform(n))+")"};var nt={test:e=>mn.test(e)||cl.test(e)||Wo.test(e),parse:e=>mn.test(e)?mn.parse(e):Wo.test(e)?Wo.parse(e):cl.parse(e),transform:e=>Yn(e)?e:e.hasOwnProperty("red")?mn.transform(e):Wo.transform(e)};function lV(e){var t,r;return isNaN(e)&&Yn(e)&&(((t=e.match(Qa))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(c8))===null||r===void 0?void 0:r.length)||0)>0}var o9="number",i9="color",cV="var",fV="var(",n9="${}",pV=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ui(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],a=0,u=t.replace(pV,l=>(nt.test(l)?(n.color.push(a),o.push(i9),r.push(nt.parse(l))):l.startsWith(fV)?(n.var.push(a),o.push(cV),r.push(l)):(n.number.push(a),o.push(o9),r.push(parseFloat(l))),++a,n9)).split(n9);return{values:r,split:u,indexes:n,types:o}}function a9(e){return Ui(e).values}function s9(e){let{split:t,types:r}=Ui(e),n=t.length;return o=>{let a="";for(let s=0;s<n;s++)if(a+=t[s],o[s]!==void 0){let u=r[s];u===o9?a+=$o(o[s]):u===i9?a+=nt.transform(o[s]):a+=o[s]}return a}}var dV=e=>typeof e=="number"?0:e;function mV(e){let t=a9(e);return s9(e)(t.map(dV))}var Lt={test:lV,parse:a9,createTransformer:s9,getAnimatableNone:mV};i();i();var hV=new Set(["brightness","contrast","saturate","opacity"]);function gV(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(Qa)||[];if(!n)return e;let o=r.replace(n,""),a=hV.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}var vV=/\b([a-z-]*)\(.*?\)/gu,fl={...Lt,getAnimatableNone:e=>{let t=e.match(vV);return t?t.map(gV).join(" "):e}};i();var yV={...es,color:nt,backgroundColor:nt,outlineColor:nt,fill:nt,stroke:nt,borderColor:nt,borderTopColor:nt,borderRightColor:nt,borderBottomColor:nt,borderLeftColor:nt,filter:fl,WebkitFilter:fl},ds=e=>yV[e];function rp(e,t){let r=ds(e);return r!==fl&&(r=Lt),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var bV=new Set(["auto","none","0"]);function u9(e,t,r){let n=0,o;for(;n<e.length&&!o;){let a=e[n];typeof a=="string"&&!bV.has(a)&&Ui(a).values.length&&(o=e[n]),n++}if(o&&r)for(let a of t)e[a]=rp(r,o)}var ms=class extends _o{constructor(t,r,n,o){super(t,r,n,o,o?.owner,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:n}=this;if(!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),ts(c))){let p=ah(c,r.current);p!==void 0&&(t[l]=p),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!J8.has(n)||t.length!==2)return;let[o,a]=t,s=lh(o),u=lh(a);if(s!==u)if(sh(s)&&sh(u))for(let l=0;l<t.length;l++){let c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,n=[];for(let o=0;o<t.length;o++)q8(t[o])&&n.push(o);n.length&&u9(t,n,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:n}=this;if(!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_i[n](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let o=r[r.length-1];o!==void 0&&t.getValue(n,o).jump(o,!1)}measureEndState(){var t;let{element:r,name:n,unresolvedKeyframes:o}=this;if(!r.current)return;let a=r.getValue(n);a&&a.jump(this.measuredOrigin,!1);let s=o.length-1,u=o[s];o[s]=_i[n](r.measureViewportBox(),window.getComputedStyle(r.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{r.getValue(l).set(c)}),this.resolveNoneKeyframes()}};i();function np(e){let t;return()=>(t===void 0&&(t=e()),t)}i();i();i();var dh=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Lt.test(e)||e==="0")&&!e.startsWith("url("));function CV(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function l9(e,t,r,n){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],s=dh(o,t),u=dh(a,t);return No(s===u,`You are trying to animate ${t} from "${o}" to "${a}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${a} via the \`style\` property.`),!s||!u?!1:CV(e)||r==="spring"&&n}var hs=class{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:a,repeatType:s,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&r9(),this._resolved}onKeyframesResolved(t,r){this.hasAttemptedResolve=!0;let{name:n,type:o,velocity:a,delay:s,onComplete:u,onUpdate:l,isGenerator:c}=this.options;if(!c&&!l9(t,n,o,a))if(Yf.current||!s){l?.(jo(t,this.options,r)),u?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let p=this.initPlayback(t,r);p!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...p},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};i();i();i();i();function op(e,t){return t?e*(1e3/t):0}var xV=5;function ip(e,t,r){let n=Math.max(t-xV,0);return op(r-e(n),t-n)}i();var mh=.001,wV=.01,c9=10,SV=.05,DV=1;function f9({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a;No(e<=Jt(c9),"Spring duration must be 10 seconds or less");let s=1-t;s=kt(SV,DV,s),e=kt(wV,c9,Zt(e)),s<1?(o=c=>{let p=c*s,d=p*e,h=p-r,g=ap(c,s),v=Math.exp(-d);return mh-h/g*v},a=c=>{let d=c*s*e,h=d*r+r,g=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-d),m=ap(Math.pow(c,2),s);return(-o(c)+mh>0?-1:1)*((h-g)*v)/m}):(o=c=>{let p=Math.exp(-c*e),d=(c-r)*e+1;return-mh+p*d},a=c=>{let p=Math.exp(-c*e),d=(r-c)*(e*e);return p*d});let u=5/e,l=PV(o,a,u);if(e=Jt(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}var EV=12;function PV(e,t,r){let n=r;for(let o=1;o<EV;o++)n=n-e(n)/t(n);return n}function ap(e,t){return e*Math.sqrt(1-t*t)}var TV=["duration","bounce"],AV=["stiffness","damping","mass"];function p9(e,t){return t.some(r=>e[r]!==void 0)}function RV(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!p9(e,AV)&&p9(e,TV)){let r=f9(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function sp({keyframes:e,restDelta:t,restSpeed:r,...n}){let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:u,damping:l,mass:c,duration:p,velocity:d,isResolvedFromDuration:h}=RV({...n,velocity:-Zt(n.velocity||0)}),g=d||0,v=l/(2*Math.sqrt(u*c)),m=a-o,b=Zt(Math.sqrt(u/c)),y=Math.abs(m)<5;r||(r=y?.01:2),t||(t=y?.005:.5);let x;if(v<1){let w=ap(b,v);x=S=>{let E=Math.exp(-v*b*S);return a-E*((g+v*b*m)/w*Math.sin(w*S)+m*Math.cos(w*S))}}else if(v===1)x=w=>a-Math.exp(-b*w)*(m+(g+b*m)*w);else{let w=b*Math.sqrt(v*v-1);x=S=>{let E=Math.exp(-v*b*S),D=Math.min(w*S,300);return a-E*((g+v*b*m)*Math.sinh(D)+w*m*Math.cosh(D))/w}}return{calculatedDuration:h&&p||null,next:w=>{let S=x(w);if(h)s.done=w>=p;else{let E=g;w!==0&&(v<1?E=ip(x,w,S):E=0);let D=Math.abs(E)<=r,P=Math.abs(a-S)<=t;s.done=D&&P}return s.value=s.done?a:S,s}}}i();function hh({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:u,max:l,restDelta:c=.5,restSpeed:p}){let d=e[0],h={done:!1,value:d},g=F=>u!==void 0&&F<u||l!==void 0&&F>l,v=F=>u===void 0?l:l===void 0||Math.abs(u-F)<Math.abs(l-F)?u:l,m=r*t,b=d+m,y=s===void 0?b:s(b);y!==b&&(m=y-d);let x=F=>-m*Math.exp(-F/n),w=F=>y+x(F),S=F=>{let B=x(F),I=w(F);h.done=Math.abs(B)<=c,h.value=h.done?y:I},E,D,P=F=>{g(h.value)&&(E=F,D=sp({keyframes:[h.value,v(h.value)],velocity:ip(w,F,h.value),damping:o,stiffness:a,restDelta:c,restSpeed:p}))};return P(0),{calculatedDuration:null,next:F=>{let B=!1;return!D&&E===void 0&&(B=!0,S(F),P(F)),E!==void 0&&F>=E?D.next(F-E):(!B&&S(F),h)}}}i();i();i();var d9=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,FV=1e-7,BV=12;function OV(e,t,r,n,o){let a,s,u=0;do s=t+(r-t)/2,a=d9(s,n,o)-e,a>0?r=s:t=s;while(Math.abs(a)>FV&&++u<BV);return s}function Uo(e,t,r,n){if(e===t&&r===n)return Fe;let o=a=>OV(a,0,1,e,r);return a=>a===0||a===1?a:d9(o(a),t,n)}var m9=Uo(.42,0,1,1),h9=Uo(0,0,.58,1),up=Uo(.42,0,.58,1);i();var g9=e=>Array.isArray(e)&&typeof e[0]!="number";i();i();i();var lp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;i();var cp=e=>t=>1-e(1-t);var fp=e=>1-Math.sin(Math.acos(e)),pp=cp(fp),v9=lp(fp);i();var gh=Uo(.33,1.53,.69,.99),pl=cp(gh),y9=lp(pl);i();var b9=e=>(e*=2)<1?.5*pl(e):.5*(2-Math.pow(2,-10*(e-1)));var C9={linear:Fe,easeIn:m9,easeInOut:up,easeOut:h9,circIn:fp,circInOut:v9,circOut:pp,backIn:pl,backInOut:y9,backOut:gh,anticipate:b9},vh=e=>{if(Array.isArray(e)){Jr(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return Uo(t,r,n,o)}else if(typeof e=="string")return Jr(C9[e]!==void 0,`Invalid easing type '${e}'`),C9[e];return e};i();i();var Jn=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};i();i();i();var Ce=(e,t,r)=>e+(t-e)*r;i();i();function yh(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function x9({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,a=0,s=0;if(!t)o=a=s=r;else{let u=r<.5?r*(1+t):r+t-r*t,l=2*r-u;o=yh(l,u,e+1/3),a=yh(l,u,e),s=yh(l,u,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}i();function gs(e,t){return r=>r>0?t:e}var bh=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},MV=[cl,mn,Wo],IV=e=>MV.find(t=>t.test(e));function w9(e){let t=IV(e);if(No(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===Wo&&(r=x9(r)),r}var Ch=(e,t)=>{let r=w9(e),n=w9(t);if(!r||!n)return gs(e,t);let o={...r};return a=>(o.red=bh(r.red,n.red,a),o.green=bh(r.green,n.green,a),o.blue=bh(r.blue,n.blue,a),o.alpha=Ce(r.alpha,n.alpha,a),mn.transform(o))};i();var dp=new Set(["none","hidden"]);function S9(e,t){return dp.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function kV(e,t){return r=>Ce(e,t,r)}function mp(e){return typeof e=="number"?kV:typeof e=="string"?ts(e)?gs:nt.test(e)?Ch:LV:Array.isArray(e)?D9:typeof e=="object"?nt.test(e)?Ch:NV:gs}function D9(e,t){let r=[...e],n=r.length,o=e.map((a,s)=>mp(a)(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=o[s](a);return r}}function NV(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=mp(e[o])(e[o],t[o]));return o=>{for(let a in n)r[a]=n[a](o);return r}}function VV(e,t){var r;let n=[],o={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let s=t.types[a],u=e.indexes[s][o[s]],l=(r=e.values[u])!==null&&r!==void 0?r:0;n[a]=l,o[s]++}return n}var LV=(e,t)=>{let r=Lt.createTransformer(t),n=Ui(e),o=Ui(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?dp.has(e)&&!o.values.length||dp.has(t)&&!n.values.length?S9(e,t):Rt(D9(VV(n,o),o.values),r):(No(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),gs(e,t))};function hp(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?Ce(e,t,r):mp(e)(e,t)}function $V(e,t,r){let n=[],o=r||hp,a=e.length-1;for(let s=0;s<a;s++){let u=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||Fe:t;u=Rt(l,u)}n.push(u)}return n}function E9(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let a=e.length;if(Jr(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&e[0]===e[1])return()=>t[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=$V(t,n,o),u=s.length,l=c=>{let p=0;if(u>1)for(;p<e.length-2&&!(c<e[p+1]);p++);let d=Jn(e[p],e[p+1],c);return s[p](d)};return r?c=>l(kt(e[0],e[a-1],c)):l}i();i();function P9(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=Jn(0,t,n);e.push(Ce(r,1,o))}}function T9(e){let t=[0];return P9(t,e.length-1),t}i();function A9(e,t){return e.map(r=>r*t)}function zV(e,t){return e.map(()=>t||up).splice(0,e.length-1)}function dl({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=g9(n)?n.map(vh):vh(n),a={done:!1,value:t[0]},s=A9(r&&r.length===t.length?r:T9(t),e),u=E9(s,t,{ease:Array.isArray(o)?o:zV(t,o)});return{calculatedDuration:e,next:l=>(a.value=u(l),a.done=l>=e,a)}}i();function R9(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<2e4;)t+=r,n=e.next(t);return t>=2e4?1/0:t}i();var F9=e=>{let t=({timestamp:r})=>e(r);return{start:()=>me.update(t,!0),stop:()=>Vt(t),now:()=>Ze.isProcessing?Ze.timestamp:Cr.now()}};var HV={decay:hh,inertia:hh,tween:dl,keyframes:dl,spring:sp},GV=e=>e/100,Ki=class extends hs{constructor({KeyframeResolver:t=_o,...r}){super(r),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:u}=this.options;u&&u()};let{name:n,motionValue:o,keyframes:a}=this.options,s=(u,l)=>this.onKeyframesResolved(u,l);n&&o&&o.owner?this.resolver=o.owner.resolveKeyframes(a,s,n,o):this.resolver=new t(a,s,n,o),this.resolver.scheduleResolve()}initPlayback(t){let{type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=this.options,u=HV[r]||dl,l,c;u!==dl&&typeof t[0]!="number"&&(l=Rt(GV,hp(t[0],t[1])),t=[0,100]);let p=u({...this.options,keyframes:t});a==="mirror"&&(c=u({...this.options,keyframes:[...t].reverse(),velocity:-s})),p.calculatedDuration===null&&(p.calculatedDuration=R9(p));let{calculatedDuration:d}=p,h=d+o,g=h*(n+1)-o;return{generator:p,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:h,totalDuration:g}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){let{resolved:n}=this;if(!n){let{keyframes:F}=this.options;return{done:!0,value:F[F.length-1]}}let{finalKeyframe:o,generator:a,mirroredGenerator:s,mapPercentToKeyframes:u,keyframes:l,calculatedDuration:c,totalDuration:p,resolvedDuration:d}=n;if(this.startTime===null)return a.next(0);let{delay:h,repeat:g,repeatType:v,repeatDelay:m,onUpdate:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-p/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let y=this.currentTime-h*(this.speed>=0?1:-1),x=this.speed>=0?y<0:y>p;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let w=this.currentTime,S=a;if(g){let F=Math.min(this.currentTime,p)/d,B=Math.floor(F),I=F%1;!I&&F>=1&&(I=1),I===1&&B--,B=Math.min(B,g+1),!!(B%2)&&(v==="reverse"?(I=1-I,m&&(I-=m/d)):v==="mirror"&&(S=s)),w=kt(0,1,I)*d}let E=x?{done:!1,value:l[0]}:S.next(w);u&&(E.value=u(E.value));let{done:D}=E;!x&&c!==null&&(D=this.speed>=0?this.currentTime>=p:this.currentTime<=0);let P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return P&&o!==void 0&&(E.value=jo(l,this.options,o)),b&&b(E.value),P&&this.finish(),E}get duration(){let{resolved:t}=this;return t?Zt(t.calculatedDuration):0}get time(){return Zt(this.currentTime)}set time(t){t=Jt(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Zt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=F9,onPlay:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),r&&r();let n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=n),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};i();i();i();var xh=e=>Array.isArray(e)&&typeof e[0]=="number";function wh(e){return!!(!e||typeof e=="string"&&e in Sh||xh(e)||Array.isArray(e)&&e.every(wh))}var ml=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Sh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ml([0,.65,.55,1]),circOut:ml([.55,0,1,.45]),backIn:ml([.31,.01,.66,-.59]),backOut:ml([.33,1.53,.69,.99])};function jV(e){return Dh(e)||Sh.easeOut}function Dh(e){if(e)return xh(e)?ml(e):Array.isArray(e)?e.map(jV):Sh[e]}function B9(e,t,r,{delay:n=0,duration:o=300,repeat:a=0,repeatType:s="loop",ease:u,times:l}={}){let c={[t]:r};l&&(c.offset=l);let p=Dh(u);return Array.isArray(p)&&(c.easing=p),e.animate(c,{delay:n,duration:o,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}var _V=np(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),gp=10,WV=2e4;function UV(e){return e.type==="spring"||!wh(e.ease)}function KV(e,t){let r=new Ki({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],a=0;for(;!n.done&&a<WV;)n=r.sample(a),o.push(n.value),a+=gp;return{times:void 0,keyframes:o,duration:a-gp,ease:"linear"}}var hl=class extends hs{constructor(t){super(t);let{name:r,motionValue:n,keyframes:o}=this.options;this.resolver=new ms(o,(a,s)=>this.onKeyframesResolved(a,s),r,n),this.resolver.scheduleResolve()}initPlayback(t,r){var n;let{duration:o=300,times:a,ease:s,type:u,motionValue:l,name:c}=this.options;if(!(!((n=l.owner)===null||n===void 0)&&n.current))return!1;if(UV(this.options)){let{onComplete:d,onUpdate:h,motionValue:g,...v}=this.options,m=KV(t,v);t=m.keyframes,t.length===1&&(t[1]=t[0]),o=m.duration,a=m.times,s=m.ease,u="keyframes"}let p=B9(l.owner.current,c,t,{...this.options,duration:o,times:a,ease:s});return p.startTime=Cr.now(),this.pendingTimeline?(p.timeline=this.pendingTimeline,this.pendingTimeline=void 0):p.onfinish=()=>{let{onComplete:d}=this.options;l.set(jo(t,this.options,r)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:o,times:a,type:u,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:r}=t;return Zt(r)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:r}=t;return Zt(r.currentTime||0)}set time(t){let{resolved:r}=this;if(!r)return;let{animation:n}=r;n.currentTime=Jt(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:r}=t;return r.playbackRate}set speed(t){let{resolved:r}=this;if(!r)return;let{animation:n}=r;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:r}=t;return r.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:r}=this;if(!r)return Fe;let{animation:n}=r;n.timeline=t,n.onfinish=null}return Fe}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:r,keyframes:n,duration:o,type:a,ease:s,times:u}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){let{motionValue:c,onUpdate:p,onComplete:d,...h}=this.options,g=new Ki({...h,keyframes:n,duration:o,type:a,ease:s,times:u,isGenerator:!0}),v=Jt(this.time);c.setWithVelocity(g.sample(v-gp).value,g.sample(v).value,gp)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:r,name:n,repeatDelay:o,repeatType:a,damping:s,type:u}=t;return _V()&&n&&zf.has(n)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!o&&a!=="mirror"&&s!==0&&u!=="inertia"}};i();i();function O9(e,t){let r,n=()=>{let{currentTime:o}=t,s=(o===null?0:o.value)/100;r!==s&&e(s),r=s};return me.update(n,!0),()=>Vt(n)}i();var M9=np(()=>window.ScrollTimeline!==void 0);var vp=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,r){return Promise.all(this.animations).then(t).catch(r)}getAll(t){return this.animations[0][t]}setAll(t,r){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=r}attachTimeline(t){let r=this.animations.map(n=>{if(M9()&&n.attachTimeline)n.attachTimeline(t);else return n.pause(),O9(o=>{n.time=n.duration*o},t)});return()=>{r.forEach((n,o)=>{n&&n(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var vs=(e,t,r,n={},o,a,s)=>u=>{let l=fs(n,e)||{},c=l.delay||n.delay||0,{elapsed:p=0}=n;p=p-Jt(c);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-p,onUpdate:g=>{t.set(g),l.onUpdate&&l.onUpdate(g)},onComplete:()=>{u(),l.onComplete&&l.onComplete(),s&&s()},onStop:s,name:e,motionValue:t,element:a?void 0:o};K8(l)||(d={...d,...U8(e,d)}),d.duration&&(d.duration=Jt(d.duration)),d.repeatDelay&&(d.repeatDelay=Jt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let h=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(h=!0)),(Yf.current||Wn.skipAnimations)&&(h=!0,d.duration=0,d.delay=0),h&&!a&&t.get()!==void 0){let g=jo(d.keyframes,l);if(g!==void 0)return me.update(()=>{d.onUpdate(g),d.onComplete()}),new vp([])}return!a&&hl.supports(d)?new hl(d):new Ki(d)};i();i();i();var Ko=class{constructor(){this.subscriptions=[]}add(t){return zo(this.subscriptions,t),()=>Ho(this.subscriptions,t)}notify(t,r,n){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let a=0;a<o;a++){let s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var I9=30,qV=e=>!isNaN(parseFloat(e)),k9={current:void 0},gl=class{constructor(t,r={}){this.version="11.3.21",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,o=!0)=>{let a=Cr.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Cr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=qV(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Ko);let n=this.events[t].add(r);return t==="change"?()=>{n(),me.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return k9.current&&k9.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Cr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>I9)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,I9);return op(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Zn(e,t){return new gl(e,t)}function XV(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Zn(r))}function N9(e,t){let r=Go(e,t),{transitionEnd:n={},transition:o={},...a}=r||{};a={...a,...n};for(let s in a){let u=I8(a[s]);XV(e,s,u)}}i();function yp(e){return e.getProps()[Df]}i();i();var bp=class extends gl{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){let r=Hf(t);if(!r)return;let n=this.counts.get(r)||0;this.counts.set(r,n+1),n===0&&(this.output.push(r),this.update());let o=!1;return()=>{if(o)return;o=!0;let a=this.counts.get(r)-1;this.counts.set(r,a),a===0&&(Ho(this.output,r),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}};i();function V9(e){return!!(Ne(e)&&e.add)}function vl(e,t){var r;if(!e.applyWillChange)return;let n=e.getValue("willChange");if(!n&&!(!((r=e.props.style)===null||r===void 0)&&r.willChange)&&(n=new bp("auto"),e.addValue("willChange",n)),V9(n))return n.add(t)}function YV({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function Cp(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var a;let{transition:s=e.getDefaultTransition(),transitionEnd:u,...l}=t;n&&(s=n);let c=[],p=o&&e.animationState&&e.animationState.getState()[o];for(let d in l){let h=e.getValue(d,(a=e.latestValues[d])!==null&&a!==void 0?a:null),g=l[d];if(g===void 0||p&&YV(p,d))continue;let v={delay:r,elapsed:0,...fs(s||{},d)},m=!1;if(window.HandoffAppearAnimations){let y=yp(e);if(y){let x=window.HandoffAppearAnimations(y,d,h,me);x!==null&&(v.elapsed=x,m=!0)}}h.start(vs(d,h,g,e.shouldReduceMotion&&At.has(d)?{type:!1}:v,e,m,vl(e,d)));let b=h.animation;b&&c.push(b)}return u&&Promise.all(c).then(()=>{me.update(()=>{u&&N9(e,u)})}),c}i();function xp(e,t,r={}){var n;let o=Go(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(a=r.transitionOverride);let s=o?()=>Promise.all(Cp(e,o,r)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:p=0,staggerChildren:d,staggerDirection:h}=a;return JV(e,t,p+c,d,h,r)}:()=>Promise.resolve(),{when:l}=a;if(l){let[c,p]=l==="beforeChildren"?[s,u]:[u,s];return c().then(()=>p())}else return Promise.all([s(),u(r.delay)])}function JV(e,t,r=0,n=0,o=1,a){let s=[],u=(e.variantChildren.size-1)*n,l=o===1?(c=0)=>c*n:(c=0)=>u-c*n;return Array.from(e.variantChildren).sort(ZV).forEach((c,p)=>{c.notify("AnimationStart",t),s.push(xp(c,t,{...a,delay:r+l(p)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function ZV(e,t){return e.sortNodePosition(t)}function L9(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(a=>xp(e,a,r));n=Promise.all(o)}else if(typeof t=="string")n=xp(e,t,r);else{let o=typeof t=="function"?Go(e,t,r.custom):t;n=Promise.all(Cp(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}var QV=[...Af].reverse(),eL=Af.length;function tL(e){return t=>Promise.all(t.map(({animation:r,options:n})=>L9(e,r,n)))}function z9(e){let t=tL(e),r=$9(),n=!0,o=l=>(c,p)=>{var d;let h=Go(e,p,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(h){let{transition:g,transitionEnd:v,...m}=h;c={...c,...m,...v}}return c};function a(l){t=l(e)}function s(l){let c=e.getProps(),p=e.getVariantContext(!0)||{},d=[],h=new Set,g={},v=1/0;for(let b=0;b<eL;b++){let y=QV[b],x=r[y],w=c[y]!==void 0?c[y]:p[y],S=Kn(w),E=y===l?x.isActive:null;E===!1&&(v=b);let D=w===p[y]&&w!==c[y]&&S;if(D&&n&&e.manuallyAnimateOnMount&&(D=!1),x.protectedKeys={...g},!x.isActive&&E===null||!w&&!x.prevProp||qn(w)||typeof w=="boolean")continue;let F=rL(x.prevProp,w)||y===l&&x.isActive&&!D&&S||b>v&&S,B=!1,I=Array.isArray(w)?w:[w],_=I.reduce(o(y),{});E===!1&&(_={});let{prevResolvedValues:L={}}=x,z={...L,..._},N=$=>{F=!0,h.has($)&&(B=!0,h.delete($)),x.needsAnimating[$]=!0;let Z=e.getValue($);Z&&(Z.liveStyle=!1)};for(let $ in z){let Z=_[$],te=L[$];if(g.hasOwnProperty($))continue;let oe=!1;ll(Z)&&ll(te)?oe=!ih(Z,te):oe=Z!==te,oe?Z!=null?N($):h.add($):Z!==void 0&&h.has($)?N($):x.protectedKeys[$]=!0}x.prevProp=w,x.prevResolvedValues=_,x.isActive&&(g={...g,..._}),n&&e.blockInitialAnimation&&(F=!1),F&&(!D||B)&&d.push(...I.map($=>({animation:$,options:{type:y}})))}if(h.size){let b={};h.forEach(y=>{let x=e.getBaseTarget(y),w=e.getValue(y);w&&(w.liveStyle=!0),b[y]=x??null}),d.push({animation:b})}let m=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,m?t(d):Promise.resolve()}function u(l,c){var p;if(r[l].isActive===c)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;let d=s(l);for(let h in r)r[h].protectedKeys={};return d}return{animateChanges:s,setActive:u,setAnimateFunction:a,getState:()=>r,reset:()=>{r=$9(),n=!0}}}function rL(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ih(t,e):!1}function qi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function $9(){return{animate:qi(!0),whileInView:qi(),whileHover:qi(),whileTap:qi(),whileDrag:qi(),whileFocus:qi(),exit:qi()}}var wp=class extends pt{constructor(t){super(t),t.animationState||(t.animationState=z9(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();qn(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};i();var nL=0,Sp=class extends pt{constructor(){super(...arguments),this.id=nL++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let o=this.node.animationState.setActive("exit",!t);r&&!t&&o.then(()=>r(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}};var H9={animation:{Feature:wp},exit:{Feature:Sp}};i();i();i();i();i();var G9=(e,t)=>Math.abs(e-t);function j9(e,t){let r=G9(e.x,t.x),n=G9(e.y,t.y);return Math.sqrt(r**2+n**2)}var ys=class{constructor(t,r,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let d=Ph(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,g=j9(d.offset,{x:0,y:0})>=3;if(!h&&!g)return;let{point:v}=d,{timestamp:m}=Ze;this.history.push({...v,timestamp:m});let{onStart:b,onMove:y}=this.handlers;h||(b&&b(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,d)},this.handlePointerMove=(d,h)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Eh(h,this.transformPagePoint),me.update(this.updatePoint,!0)},this.handlePointerUp=(d,h)=>{this.end();let{onEnd:g,onSessionEnd:v,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let b=Ph(d.type==="pointercancel"?this.lastMoveEventInfo:Eh(h,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,b),v&&v(d,b)},!_f(t))return;this.dragSnapToOrigin=a,this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;let s=ji(t),u=Eh(s,this.transformPagePoint),{point:l}=u,{timestamp:c}=Ze;this.history=[{...l,timestamp:c}];let{onSessionStart:p}=r;p&&p(t,Ph(u,this.history)),this.removeListeners=Rt(Yt(this.contextWindow,"pointermove",this.handlePointerMove),Yt(this.contextWindow,"pointerup",this.handlePointerUp),Yt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vt(this.updatePoint)}};function Eh(e,t){return t?{point:t(e.point)}:e}function _9(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ph({point:e},t){return{point:e,delta:_9(e,W9(t)),offset:_9(e,oL(t)),velocity:iL(t,.1)}}function oL(e){return e[0]}function W9(e){return e[e.length-1]}function iL(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=W9(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Jt(t)));)r--;if(!n)return{x:0,y:0};let a=Zt(o.timestamp-n.timestamp);if(a===0)return{x:0,y:0};let s={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}i();i();var X9=1e-4,aL=1-X9,sL=1+X9,Y9=.01,uL=0-Y9,lL=0+Y9;function xt(e){return e.max-e.min}function J9(e,t,r){return Math.abs(e-t)<=r}function U9(e,t,r,n=.5){e.origin=n,e.originPoint=Ce(t.min,t.max,e.origin),e.scale=xt(r)/xt(t),e.translate=Ce(r.min,r.max,e.origin)-e.originPoint,(e.scale>=aL&&e.scale<=sL||isNaN(e.scale))&&(e.scale=1),(e.translate>=uL&&e.translate<=lL||isNaN(e.translate))&&(e.translate=0)}function bs(e,t,r,n){U9(e.x,t.x,r.x,n?n.originX:void 0),U9(e.y,t.y,r.y,n?n.originY:void 0)}function K9(e,t,r){e.min=r.min+t.min,e.max=e.min+xt(t)}function Z9(e,t,r){K9(e.x,t.x,r.x),K9(e.y,t.y,r.y)}function q9(e,t,r){e.min=t.min-r.min,e.max=e.min+xt(t)}function Cs(e,t,r){q9(e.x,t.x,r.x),q9(e.y,t.y,r.y)}function ny(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?Ce(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?Ce(r,e,n.max):Math.min(e,r)),e}function Q9(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function oy(e,{top:t,left:r,bottom:n,right:o}){return{x:Q9(e.x,r,o),y:Q9(e.y,t,n)}}function ey(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function iy(e,t){return{x:ey(e.x,t.x),y:ey(e.y,t.y)}}function ay(e,t){let r=.5,n=xt(e),o=xt(t);return o>n?r=Jn(t.min,t.max-n,e.min):n>o&&(r=Jn(e.min,e.max-o,t.min)),kt(0,1,r)}function sy(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Dp=.35;function uy(e=Dp){return e===!1?e=0:e===!0&&(e=Dp),{x:ty(e,"left","right"),y:ty(e,"top","bottom")}}function ty(e,t,r){return{min:ry(e,t),max:ry(e,r)}}function ry(e,t){return typeof e=="number"?e:e[t]||0}i();var ly=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xi=()=>({x:ly(),y:ly()}),cy=()=>({min:0,max:0}),$e=()=>({x:cy(),y:cy()});i();function Qt(e){return[e("x"),e("y")]}i();i();function Ep({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function fy({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function py(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}i();i();function Th(e){return e===void 0||e===1}function Pp({scale:e,scaleX:t,scaleY:r}){return!Th(e)||!Th(t)||!Th(r)}function Qn(e){return Pp(e)||Ah(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ah(e){return dy(e.x)||dy(e.y)}function dy(e){return e&&e!=="0%"}function yl(e,t,r){let n=e-r,o=t*n;return r+o}function my(e,t,r,n,o){return o!==void 0&&(e=yl(e,o,n)),yl(e,r,n)+t}function Rh(e,t=0,r=1,n,o){e.min=my(e.min,t,r,n,o),e.max=my(e.max,t,r,n,o)}function Fh(e,{x:t,y:r}){Rh(e.x,t.translate,t.scale,t.originPoint),Rh(e.y,r.translate,r.scale,r.originPoint)}var hy=.999999999999,gy=1.0000000000001;function yy(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let a,s;for(let u=0;u<o;u++){a=r[u],s=a.projectionDelta;let{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Yi(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Fh(e,s)),n&&Qn(a.latestValues)&&Yi(e,a.latestValues))}t.x<gy&&t.x>hy&&(t.x=1),t.y<gy&&t.y>hy&&(t.y=1)}function qo(e,t){e.min=e.min+t,e.max=e.max+t}function vy(e,t,r,n,o=.5){let a=Ce(e.min,e.max,o);Rh(e,t,r,a,n)}function Yi(e,t){vy(e.x,t.x,t.scaleX,t.scale,t.originX),vy(e.y,t.y,t.scaleY,t.scale,t.originY)}function Bh(e,t){return Ep(py(e.getBoundingClientRect(),t))}function by(e,t,r){let n=Bh(e,r),{scroll:o}=t;return o&&(qo(n.x,o.offset.x),qo(n.y,o.offset.y)),n}i();var Tp=({current:e})=>e?e.ownerDocument.defaultView:null;var cL=new WeakMap,Rp=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$e(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let o=p=>{let{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(ji(p,"page").point)},a=(p,d)=>{var h;let{drag:g,dragPropagation:v,onDragStart:m}=this.getProps();if(g&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eh(g),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qt(y=>{let x=this.getAxisMotionValue(y).get()||0;if(Nt.test(x)){let{projection:w}=this.visualElement;if(w&&w.layout){let S=w.layout.layoutBox[y];S&&(x=xt(S)*(parseFloat(x)/100))}}this.originPoint[y]=x}),m&&me.postRender(()=>m(p,d)),(h=this.removeWillChange)===null||h===void 0||h.call(this),this.removeWillChange=vl(this.visualElement,"transform");let{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},s=(p,d)=>{let{dragPropagation:h,dragDirectionLock:g,onDirectionLock:v,onDrag:m}=this.getProps();if(!h&&!this.openGlobalLock)return;let{offset:b}=d;if(g&&this.currentDirection===null){this.currentDirection=fL(b),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",d.point,b),this.updateAxis("y",d.point,b),this.visualElement.render(),m&&m(p,d)},u=(p,d)=>this.stop(p,d),l=()=>Qt(p=>{var d;return this.getAnimationState(p)==="paused"&&((d=this.getAxisMotionValue(p).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new ys(t,{onSessionStart:o,onStart:a,onMove:s,onSessionEnd:u,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Tp(this.visualElement)})}stop(t,r){var n;(n=this.removeWillChange)===null||n===void 0||n.call(this);let o=this.isDragging;if(this.cancel(),!o)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:s}=this.getProps();s&&me.postRender(()=>s(t,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){let{drag:o}=this.getProps();if(!n||!Ap(t,o,this.currentDirection))return;let a=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=ny(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;let{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;r&&Un(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=oy(o.layoutBox,r):this.constraints=!1,this.elastic=uy(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Qt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=sy(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Un(t))return!1;let n=t.current;Jr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let a=by(n,o.root,this.visualElement.getTransformPagePoint()),s=iy(o.layout.layoutBox,a);if(r){let u=r(fy(s));this.hasMutatedConstraints=!!u,u&&(s=Ep(u))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},c=Qt(p=>{if(!Ap(p,r,this.currentDirection))return;let d=l&&l[p]||{};s&&(d={min:0,max:0});let h=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[p]:0,bounceStiffness:h,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(p,v)});return Promise.all(c).then(u)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return n.start(vs(t,n,0,r,this.visualElement,!1,vl(this.visualElement,t)))}stopAnimation(){Qt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qt(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){let r=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Qt(r=>{let{drag:n}=this.getProps();if(!Ap(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,a=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:u}=o.layout.layoutBox[r];a.set(t[r]-Ce(s,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Un(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};Qt(s=>{let u=this.getAxisMotionValue(s);if(u&&this.constraints!==!1){let l=u.get();o[s]=ay({min:l,max:l},this.constraints[s])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Qt(s=>{if(!Ap(s,t,null))return;let u=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];u.set(Ce(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;cL.set(this.visualElement,this);let t=this.visualElement.current,r=Yt(t,"pointerdown",l=>{let{drag:c,dragListener:p=!0}=this.getProps();c&&p&&this.start(l)}),n=()=>{let{dragConstraints:l}=this.getProps();Un(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),me.read(n);let s=Xt(window,"resize",()=>this.scalePositionWithinConstraints()),u=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Qt(p=>{let d=this.getAxisMotionValue(p);d&&(this.originPoint[p]+=l[p].translate,d.set(d.get()+l[p].translate))}),this.visualElement.render())});return()=>{s(),r(),a(),u&&u()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=Dp,dragMomentum:u=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:u}}};function Ap(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function fL(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var Fp=class extends pt{constructor(t){super(t),this.removeGroupControls=Fe,this.removeListeners=Fe,this.controls=new Rp(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Fe}unmount(){this.removeGroupControls(),this.removeListeners()}};i();var Cy=e=>(t,r)=>{e&&me.postRender(()=>e(t,r))},Bp=class extends pt{constructor(){super(...arguments),this.removePointerDownListener=Fe}onPointerDown(t){this.session=new ys(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tp(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Cy(t),onStart:Cy(r),onMove:n,onEnd:(a,s)=>{delete this.session,o&&me.postRender(()=>o(a,s))}}}mount(){this.removePointerDownListener=Yt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};i();var Dy=require("react/jsx-runtime"),bl=require("react");i();var Xo=require("react");function xy(){let e=(0,Xo.useContext)(Io);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,o=(0,Xo.useId)();(0,Xo.useEffect)(()=>n(o),[]);let a=(0,Xo.useCallback)(()=>r&&r(o),[o,r]);return!t&&r?[!1,a]:[!0]}i();var xs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};i();function wy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ws={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(se.test(e))e=parseFloat(e);else return e;let r=wy(e,t.target.x),n=wy(e,t.target.y);return`${r}% ${n}%`}};i();var Sy={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=Lt.parse(e);if(o.length>5)return n;let a=Lt.createTransformer(e),s=typeof o[0]!="number"?1:0,u=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=u,o[1+s]/=l;let c=Ce(u,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),a(o)}};var Oh=class extends bl.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:a}=t;l8(pL),a&&(r.group&&r.group.add(a),n&&n.register&&o&&n.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),xs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:a}=this.props,s=n.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||me.postRender(()=>{let u=s.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),qa.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function Op(e){let[t,r]=xy(),n=(0,bl.useContext)(Xa);return(0,Dy.jsx)(Oh,{...e,layoutGroup:n,switchLayoutGroup:(0,bl.useContext)(Tf),isPresent:t,safeToRemove:r})}var pL={borderRadius:{...ws,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ws,borderTopRightRadius:ws,borderBottomLeftRadius:ws,borderBottomRightRadius:ws,boxShadow:Sy};i();i();i();var Ay=["TopLeft","TopRight","BottomLeft","BottomRight"],dL=Ay.length,Ey=e=>typeof e=="string"?parseFloat(e):e,Py=e=>typeof e=="number"||se.test(e);function Ry(e,t,r,n,o,a){o?(e.opacity=Ce(0,r.opacity!==void 0?r.opacity:1,mL(n)),e.opacityExit=Ce(t.opacity!==void 0?t.opacity:1,0,hL(n))):a&&(e.opacity=Ce(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<dL;s++){let u=`border${Ay[s]}Radius`,l=Ty(t,u),c=Ty(r,u);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Py(l)===Py(c)?(e[u]=Math.max(Ce(Ey(l),Ey(c),n),0),(Nt.test(c)||Nt.test(l))&&(e[u]+="%")):e[u]=c}(t.rotate||r.rotate)&&(e.rotate=Ce(t.rotate||0,r.rotate||0,n))}function Ty(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var mL=Fy(0,.5,pp),hL=Fy(.5,.95,Fe);function Fy(e,t,r){return n=>n<e?0:n>t?1:r(Jn(e,t,n))}i();function By(e,t){e.min=t.min,e.max=t.max}function xr(e,t){By(e.x,t.x),By(e.y,t.y)}function Mh(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}i();function Oy(e,t,r,n,o){return e-=t,e=yl(e,1/r,n),o!==void 0&&(e=yl(e,1/o,n)),e}function gL(e,t=0,r=1,n=.5,o,a=e,s=e){if(Nt.test(t)&&(t=parseFloat(t),t=Ce(s.min,s.max,t/100)-s.min),typeof t!="number")return;let u=Ce(a.min,a.max,n);e===a&&(u-=t),e.min=Oy(e.min,t,r,u,o),e.max=Oy(e.max,t,r,u,o)}function My(e,t,[r,n,o],a,s){gL(e,t[r],t[n],t[o],t.scale,a,s)}var vL=["x","scaleX","originX"],yL=["y","scaleY","originY"];function Ih(e,t,r,n){My(e.x,t,vL,r?r.x:void 0,n?n.x:void 0),My(e.y,t,yL,r?r.y:void 0,n?n.y:void 0)}i();function Iy(e){return e.translate===0&&e.scale===1}function kh(e){return Iy(e.x)&&Iy(e.y)}function ky(e,t){return e.min===t.min&&e.max===t.max}function Vy(e,t){return ky(e.x,t.x)&&ky(e.y,t.y)}function Ny(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Nh(e,t){return Ny(e.x,t.x)&&Ny(e.y,t.y)}function Vh(e){return xt(e.x)/xt(e.y)}function Lh(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}i();var Mp=class{constructor(){this.members=[]}add(t){zo(this.members,t),t.scheduleRender()}remove(t){if(Ho(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){let a=this.members[o];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};i();function Ly(e,t,r){let n="",o=e.x.translate/t.x,a=e.y.translate/t.y,s=r?.z||0;if((o||a||s)&&(n=`translate3d(${o}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:c,rotate:p,rotateX:d,rotateY:h,skewX:g,skewY:v}=r;c&&(n=`perspective(${c}px) ${n}`),p&&(n+=`rotate(${p}deg) `),d&&(n+=`rotateX(${d}deg) `),h&&(n+=`rotateY(${h}deg) `),g&&(n+=`skewX(${g}deg) `),v&&(n+=`skewY(${v}deg) `)}let u=e.x.scale*t.x,l=e.y.scale*t.y;return(u!==1||l!==1)&&(n+=`scale(${u}, ${l})`),n||"none"}i();i();var $y=(e,t)=>e.depth-t.depth;var Ip=class{constructor(){this.children=[],this.isDirty=!1}add(t){zo(this.children,t),this.isDirty=!0}remove(t){Ho(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($y),this.isDirty=!1,this.children.forEach(t)}};i();function zy(e,t){let r=Cr.now(),n=({timestamp:o})=>{let a=o-r;a>=t&&(Vt(n),e(a-t))};return me.read(n,!0),()=>Vt(n)}i();function Hy(e){return e instanceof SVGElement&&e.tagName!=="svg"}i();function Gy(e,t,r){let n=Ne(e)?e:Zn(e);return n.start(vs("",n,t,r)),n.animation}var Ji={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Cl=typeof window<"u"&&window.MotionDebug!==void 0,$h=["","X","Y","Z"],bL={visibility:"hidden"},jy=1e3,CL=0;function zh(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Jy(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:t}=e.options;return t?yp(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Jy(e.parent):!1:!1}function kp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},u=t?.()){this.id=CL++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Cl&&(Ji.totalNodes=Ji.resolvedTargetDeltas=Ji.recalculatedProjection=0),this.nodes.forEach(SL),this.nodes.forEach(AL),this.nodes.forEach(RL),this.nodes.forEach(DL),Cl&&window.MotionDebug.record(Ji)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ip)}addEventListener(s,u){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Ko),this.eventHandlers.get(s).add(u)}notifyListeners(s,...u){let l=this.eventHandlers.get(s);l&&l.notify(...u)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Hy(s),this.instance=s;let{layoutId:l,layout:c,visualElement:p}=this.options;if(p&&!p.current&&p.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(c||l)&&(this.isLayoutDirty=!0),e){let d,h=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=zy(h,250),xs.hasAnimatedSinceResize&&(xs.hasAnimatedSinceResize=!1,this.nodes.forEach(Wy))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&p&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:h,hasRelativeTargetChanged:g,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let m=this.options.transition||p.getDefaultTransition()||IL,{onLayoutAnimationStart:b,onLayoutAnimationComplete:y}=p.getProps(),x=!this.targetLayout||!Nh(this.targetLayout,v)||g,w=!h&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||h&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);let S={...fs(m,"layout"),onPlay:b,onComplete:y};(p.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else h||Wy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Vt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(FL),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Jy(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){let d=this.path[p];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}let{layoutId:u,layout:l}=this.options;if(u===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_y);return}this.isUpdating||this.nodes.forEach(PL),this.isUpdating=!1,this.nodes.forEach(TL),this.nodes.forEach(xL),this.nodes.forEach(wL),this.clearAllSnapshots();let u=Cr.now();Ze.delta=kt(0,1e3/60,u-Ze.timestamp),Ze.timestamp=u,Ze.isProcessing=!0,jf.update.process(Ze),jf.preRender.process(Ze),jf.render.process(Ze),Ze.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,qa.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(EL),this.sharedNodes.forEach(BL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,me.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){me.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=$e(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(u=!1),u){let l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!kh(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,p=c!==this.prevTransformTemplateValue;s&&(u||Qn(this.latestValues)||p)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let u=this.measurePageBox(),l=this.removeElementScroll(u);return s&&(l=this.removeTransform(l)),kL(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;let{visualElement:u}=this.options;if(!u)return $e();let l=u.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(NL))){let{scroll:p}=this.root;p&&(qo(l.x,p.offset.x),qo(l.y,p.offset.y))}return l}removeElementScroll(s){var u;let l=$e();if(xr(l,s),!((u=this.scroll)===null||u===void 0)&&u.wasRoot)return l;for(let c=0;c<this.path.length;c++){let p=this.path[c],{scroll:d,options:h}=p;p!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&xr(l,s),qo(l.x,d.offset.x),qo(l.y,d.offset.y))}return l}applyTransform(s,u=!1){let l=$e();xr(l,s);for(let c=0;c<this.path.length;c++){let p=this.path[c];!u&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Yi(l,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Qn(p.latestValues)&&Yi(l,p.latestValues)}return Qn(this.latestValues)&&Yi(l,this.latestValues),l}removeTransform(s){let u=$e();xr(u,s);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!Qn(c.latestValues))continue;Pp(c.latestValues)&&c.updateSnapshot();let p=$e(),d=c.measurePageBox();xr(p,d),Ih(u,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,p)}return Qn(this.latestValues)&&Ih(u,this.latestValues),u}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ze.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var u;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:d,layoutId:h}=this.options;if(!(!this.layout||!(d||h))){if(this.resolvedRelativeTargetAt=Ze.timestamp,!this.targetDelta&&!this.relativeTarget){let g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$e(),this.relativeTargetOrigin=$e(),Cs(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),xr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=$e(),this.targetWithTransforms=$e()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Z9(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):xr(this.target,this.layout.layoutBox),Fh(this.target,this.targetDelta)):xr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$e(),this.relativeTargetOrigin=$e(),Cs(this.relativeTargetOrigin,this.target,g.target),xr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Cl&&Ji.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pp(this.parent.latestValues)||Ah(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;let u=this.getLead(),l=!!this.resumingFrom||this!==u,c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ze.timestamp&&(c=!1),c)return;let{layout:p,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||d))return;xr(this.layoutCorrected,this.layout.layoutBox);let h=this.treeScale.x,g=this.treeScale.y;yy(this.layoutCorrected,this.treeScale,this.path,l),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=$e());let{target:v}=u;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Mh(this.prevProjectionDelta.x,this.projectionDelta.x),Mh(this.prevProjectionDelta.y,this.projectionDelta.y)),bs(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==g||!Lh(this.projectionDelta.x,this.prevProjectionDelta.x)||!Lh(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),Cl&&Ji.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var u;if((u=this.options.visualElement)===null||u===void 0||u.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xi(),this.projectionDelta=Xi(),this.projectionDeltaWithTransform=Xi()}setAnimationOrigin(s,u=!1){let l=this.snapshot,c=l?l.latestValues:{},p={...this.latestValues},d=Xi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;let h=$e(),g=l?l.source:void 0,v=this.layout?this.layout.source:void 0,m=g!==v,b=this.getStack(),y=!b||b.members.length<=1,x=!!(m&&!y&&this.options.crossfade===!0&&!this.path.some(ML));this.animationProgress=0;let w;this.mixTargetDelta=S=>{let E=S/1e3;Uy(d.x,s.x,E),Uy(d.y,s.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cs(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),OL(this.relativeTarget,this.relativeTargetOrigin,h,E),w&&Vy(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=$e()),xr(w,this.relativeTarget)),m&&(this.animationValues=p,Ry(p,c,this.latestValues,E,x,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=me.update(()=>{xs.hasAnimatedSinceResize=!0,this.currentAnimation=Gy(0,jy,{...s,onUpdate:u=>{this.mixTargetDelta(u),s.onUpdate&&s.onUpdate(u)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:u,target:l,layout:c,latestValues:p}=s;if(!(!u||!l||!c)){if(this!==s&&this.layout&&c&&Zy(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||$e();let d=xt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;let h=xt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+h}xr(u,l),Yi(u,p),bs(this.projectionDeltaWithTransform,this.layoutCorrected,u,p)}}registerSharedNode(s,u){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Mp),this.sharedNodes.get(s).add(u);let c=u.options.initialPromotionConfig;u.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(u):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:u}=this.options;return u?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:u}=this.options;return u?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:u,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let u=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(u=!0),!u)return;let c={};l.z&&zh("z",s,c,this.animationValues);for(let p=0;p<$h.length;p++)zh(`rotate${$h[p]}`,s,c,this.animationValues),zh(`skew${$h[p]}`,s,c,this.animationValues);s.render();for(let p in c)s.setStaticValue(p,c[p]),this.animationValues&&(this.animationValues[p]=c[p]);s.scheduleRender()}getProjectionStyles(s){var u,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return bL;let c={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=cs(s?.pointerEvents)||"",c.transform=p?p(this.latestValues,""):"none",c;let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){let m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=cs(s?.pointerEvents)||""),this.hasProjected&&!Qn(this.latestValues)&&(m.transform=p?p({},""):"none",this.hasProjected=!1),m}let h=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=Ly(this.projectionDeltaWithTransform,this.treeScale,h),p&&(c.transform=p(h,c.transform));let{x:g,y:v}=this.projectionDelta;c.transformOrigin=`${g.origin*100}% ${v.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(u=h.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:c.opacity=d===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(let m in Za){if(h[m]===void 0)continue;let{correct:b,applyTo:y}=Za[m],x=c.transform==="none"?h[m]:b(h[m],d);if(y){let w=y.length;for(let S=0;S<w;S++)c[y[S]]=x}else c[m]=x}return this.options.layoutId&&(c.pointerEvents=d===this?cs(s?.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var u;return(u=s.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(_y),this.root.sharedNodes.clear()}}}function xL(e){e.updateLayout()}function wL(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:o}=e.layout,{animationType:a}=e.options,s=r.source!==e.layout.source;a==="size"?Qt(d=>{let h=s?r.measuredBox[d]:r.layoutBox[d],g=xt(h);h.min=n[d].min,h.max=h.min+g}):Zy(a,r.layoutBox,n)&&Qt(d=>{let h=s?r.measuredBox[d]:r.layoutBox[d],g=xt(n[d]);h.max=h.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});let u=Xi();bs(u,n,r.layoutBox);let l=Xi();s?bs(l,e.applyTransform(o,!0),r.measuredBox):bs(l,n,r.layoutBox);let c=!kh(u),p=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:h,layout:g}=d;if(h&&g){let v=$e();Cs(v,r.layoutBox,h.layoutBox);let m=$e();Cs(m,n,g.layoutBox),Nh(v,m)||(p=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:u,hasLayoutChanged:c,hasRelativeTargetChanged:p})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function SL(e){Cl&&Ji.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function DL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function EL(e){e.clearSnapshot()}function _y(e){e.clearMeasurements()}function PL(e){e.isLayoutDirty=!1}function TL(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Wy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function AL(e){e.resolveTargetDelta()}function RL(e){e.calcProjection()}function FL(e){e.resetSkewAndRotation()}function BL(e){e.removeLeadSnapshot()}function Uy(e,t,r){e.translate=Ce(t.translate,0,r),e.scale=Ce(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Ky(e,t,r,n){e.min=Ce(t.min,r.min,n),e.max=Ce(t.max,r.max,n)}function OL(e,t,r,n){Ky(e.x,t.x,r.x,n),Ky(e.y,t.y,r.y,n)}function ML(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var IL={duration:.45,ease:[.4,0,.1,1]},qy=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Xy=qy("applewebkit/")&&!qy("chrome/")?Math.round:Fe;function Yy(e){e.min=Xy(e.min),e.max=Xy(e.max)}function kL(e){Yy(e.x),Yy(e.y)}function Zy(e,t,r){return e==="position"||e==="preserve-aspect"&&!J9(Vh(t),Vh(r),.2)}function NL(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}i();var Qy=kp({attachResizeListener:(e,t)=>Xt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var Hh={current:void 0},Np=kp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Hh.current){let e=new Qy({});e.mount(window),e.setOptions({layoutScroll:!0}),Hh.current=e}return Hh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var eb={pan:{Feature:Bp},drag:{Feature:Fp,ProjectionNode:Np,MeasureLayout:Op}};i();var ib=require("react");i();i();i();i();i();var xl={current:null},Vp={current:!1};function tb(){if(Vp.current=!0,!!Ka)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xl.current=e.matches;e.addListener(t),t()}else xl.current=!1}i();function rb(e,t,r){for(let n in t){let o=t[n],a=r[n];if(Ne(o))e.addValue(n,o);else if(Ne(a))e.addValue(n,Zn(o,{owner:e}));else if(a!==o)if(e.hasValue(n)){let s=e.getValue(n);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{let s=e.getStaticValue(n);e.addValue(n,Zn(s!==void 0?s:o,{owner:e}))}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}i();var Gh=new WeakMap;i();var VL=[...uh,nt,Lt],nb=e=>VL.find(ep(e));var ob=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],LL=il.length,Lp=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:a,visualState:s},u={}){this.applyWillChange=!1,this.resolveKeyframes=(h,g,v,m)=>new this.KeyframeResolver(h,g,v,m,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=_o,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,me.render(this.render,!1,!0))};let{latestValues:l,renderState:c}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=Gi(r),this.isVariantNode=Rf(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let h in d){let g=d[h];l[h]!==void 0&&Ne(g)&&g.set(l[h],!1)}}mount(t){this.current=t,Gh.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,n)=>this.bindToMotionValue(n,r)),Vp.current||tb(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:xl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Gh.delete(this.current),this.projection&&this.projection.unmount(),Vt(this.notifyUpdate),Vt(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(t,r){let n=At.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&me.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Xn){let r=Xn[t];if(!r)continue;let{isEnabled:n,Feature:o}=r;if(!this.features[t]&&o&&n(this.props)&&(this.features[t]=new o(this)),this.features[t]){let a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$e()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<ob.length;n++){let o=ob[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let a="on"+o,s=t[a];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=rb(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}let r={};for(let n=0;n<LL;n++){let o=il[n],a=this.props[o];(Kn(a)||a===!1)&&(r[o]=a)}return r}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){let n=this.values.get(t);r!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=Zn(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){var n;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Qf(o)||Zf(o))?o=parseFloat(o):!nb(o)&&Lt.test(r)&&(o=rp(t,r)),this.setBaseTarget(t,Ne(o)?o.get():o)),Ne(o)?o.get():o}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;let{initial:n}=this.props,o;if(typeof n=="string"||typeof n=="object"){let s=us(this.props,n,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);s&&(o=s[t])}if(n&&o!==void 0)return o;let a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Ne(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Ko),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}};var Ss=class extends Lp{constructor(){super(...arguments),this.KeyframeResolver=ms}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}};function $L(e){return window.getComputedStyle(e)}var $p=class extends Ss{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Nf}readValueFromInstance(t,r){if(At.has(r)){let n=ds(r);return n&&n.default||0}else{let n=$L(t),o=(If(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Bh(t,r)}build(t,r,n){rs(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return ss(t,r,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Ne(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}};i();var zp=class extends Ss{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$e}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(At.has(r)){let n=ds(r);return n&&n.default||0}return r=Vf.has(r)?r:ko(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return $f(t,r,n)}build(t,r,n){os(t,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,r,n,o){Lf(t,r,n,o)}mount(t){this.isSVGTag=is(t.tagName),super.mount(t)}};var ab=(e,t)=>Ja(e)?new zp(t):new $p(t,{allowProjection:e!==ib.Fragment});i();var sb={layout:{ProjectionNode:Np,MeasureLayout:Op}};var zL={...H9,...W8,...eb,...sb},wl=s8((e,t)=>L8(e,t,zL,ab));i();var El=require("react/jsx-runtime"),hn=require("react");i();var _h=require("react/jsx-runtime"),cb=A(require("react"),1),Sl=require("react");i();var ub=require("react/jsx-runtime"),Hp=A(require("react"),1),eo=require("react");var jh=class extends Hp.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function lb({children:e,isPresent:t}){let r=(0,eo.useId)(),n=(0,eo.useRef)(null),o=(0,eo.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,eo.useContext)(Ua);return(0,eo.useInsertionEffect)(()=>{let{width:s,height:u,top:l,left:c}=o.current;if(t||!n.current||!s||!u)return;n.current.dataset.motionPopId=r;let p=document.createElement("style");return a&&(p.nonce=a),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
|
|
101
101
|
[data-motion-pop-id="${r}"] {
|
|
102
102
|
position: absolute !important;
|
|
103
103
|
width: ${s}px !important;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
top: ${l}px !important;
|
|
106
106
|
left: ${c}px !important;
|
|
107
107
|
}
|
|
108
|
-
`),()=>{document.head.removeChild(p)}},[t]),(0,ub.jsx)(jh,{isPresent:t,childRef:n,sizeRef:o,children:Hp.cloneElement(e,{ref:n})})}var fb=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:s})=>{let u=ls(GL),l=(0,Sl.useId)(),c=(0,Sl.useMemo)(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:p=>{u.set(p,!0);for(let d of u.values())if(!d)return;n&&n()},register:p=>(u.set(p,!1),()=>u.delete(p))}),a?[Math.random()]:[r]);return(0,Sl.useMemo)(()=>{u.forEach((p,d)=>u.set(d,!1))},[r]),cb.useEffect(()=>{!r&&!u.size&&n&&n()},[r]),s==="popLayout"&&(e=(0,_h.jsx)(lb,{isPresent:r,children:e})),(0,_h.jsx)(Io.Provider,{value:c,children:e})};function GL(){return new Map}i();var Gp=require("react"),Dl=e=>e.key||"";function Wh(e){let t=[];return Gp.Children.forEach(e,r=>{(0,Gp.isValidElement)(r)&&t.push(r)}),t}var Pl=({children:e,exitBeforeEnter:t,custom:r,initial:n=!0,onExitComplete:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{Jr(!t,"Replace exitBeforeEnter with mode='wait'");let u=(0,hn.useMemo)(()=>Wh(e),[e]),l=u.map(Dl),c=(0,hn.useRef)(!0),p=(0,hn.useRef)(u),d=ls(()=>new Map),[h,g]=(0,hn.useState)(u),[v,m]=(0,hn.useState)(u);wf(()=>{c.current=!1,p.current=u;for(let x=0;x<v.length;x++){let w=Dl(v[x]);l.includes(w)?d.delete(w):d.get(w)!==!0&&d.set(w,!1)}},[v,l.length,l.join("-")]);let b=[];if(u!==h){let x=[...u];for(let w=0;w<v.length;w++){let S=v[w],E=Dl(S);l.includes(E)||(x.splice(w,0,S),b.push(S))}s==="wait"&&b.length&&(x=b),m(Wh(x)),g(u);return}let{forceRender:y}=(0,hn.useContext)(Xa);return(0,El.jsx)(El.Fragment,{children:v.map(x=>{let w=Dl(x),S=u===v||l.includes(w),E=()=>{if(d.has(w))d.set(w,!0);else return;let D=!0;d.forEach(P=>{P||(D=!1)}),D&&(y?.(),m(p.current),o&&o())};return(0,El.jsx)(fb,{isPresent:S,initial:!c.current||n?void 0:!1,custom:S?void 0:r,presenceAffectsLayout:a,mode:s,onExitComplete:S?void 0:E,children:x},w)})})};i();var hb=require("styled-components");i();i();i();var Zr={breakpoint:{xs:"0em",sm:"37.5em",md:"56.5625em",lg:"77.5em",xl:"90em"},color:{brandBlue100:"#E5E9FF",brandBlue200:"#CCD5FF",brandBlue300:"#99ABFF",brandBlue400:"#6B84FF",brandBlue500:"#2949E5",brandBlue600:"#1F3399",brandBlue700:"#222D66",brandBlue800:"#000934",purple100:"#FDF7FF",purple200:"#F9E5FF",purple300:"#F2CAFF",purple400:"#E093FA",purple500:"#D65CFF",purple600:"#AC12E0",purple700:"#752E8C",purple800:"#39004D",green100:"#F4FFF2",green200:"#DFFFD9",green300:"#B0E5A5",green400:"#76D962",green500:"#44B62D",green600:"#268713",green700:"#38662E",green800:"#093300",blue100:"#E9F5FF",blue200:"#C7E7FF",blue300:"#91CEFF",blue400:"#58B7FE",blue500:"#229FFF",blue600:"#1B7FDE",blue700:"#165FAC",blue800:"#0D407A",pink100:"#FFF8FC",pink200:"#FFE5F4",pink300:"#FFC7E8",pink400:"#FF8CD0",pink500:"#FF40B3",pink600:"#E0128E",pink700:"#661F4A",pink800:"#4D002E",red100:"#FFF7F9",red200:"#FFCCD5",red300:"#FF99AB",red400:"#FF6682",red500:"#FF2B51",red600:"#D60027",red700:"#99001C",red800:"#660013",yellow100:"#FFFFF0",yellow200:"#EFF18D",yellow300:"#E8EC1E",yellow400:"#D9DC25",yellow500:"#BCBF19",yellow600:"#9EA00F",yellow700:"#7C7E07",yellow800:"#4A4D00",orange100:"#FFF9F8",orange200:"#FFCABA",orange300:"#FF9D80",orange400:"#FF6C40",orange500:"#D1451A",orange600:"#B23009",orange700:"#80280D",orange800:"#4D1200",grey100:"#F8F8F9",grey200:"#EBEBED",grey300:"#DEDEE1",grey400:"#C4C4C8",grey500:"#A3A3AA",grey600:"#7B7B87",grey700:"#62626C",grey800:"#4A4A51",grey900:"#37373C",grey1000:"#1F1F22",grey1100:"#0B0D0E",error100:"#FFECEC",error200:"#FFCACA",error300:"#FF9A9A",error400:"#FF6962",error500:"#FA4040",error600:"#D63727",error700:"#AA0D15",error800:"#860011",success100:"#E6F9F3",success200:"#BFEFE0",success300:"#81E0C1",success400:"#41D0A3",success500:"#00C185",success600:"#00966E",success700:"#047063",success800:"#025050",warning100:"#FFF8E6",warning200:"#FFEFC8",warning300:"#FFDF96",warning400:"#FFCE5A",warning500:"#FABE1F",warning600:"#DC9601",warning700:"#BE7200",warning800:"#B45101"},duration:{productive:{fast:"70ms",moderate:"110ms",slow:"150ms"},expressive:{fast:"240ms",moderate:"400ms",slow:"700ms"}},easing:{standard:{productive:"cubic-bezier(0.2, 0, 0.38, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 0.3, 1)"},entrance:{productive:"cubic-bezier(0, 0, 0.38, 0.9)",expressive:"cubic-bezier(0, 0, 0.3, 1)"},exit:{productive:"cubic-bezier(0.2, 0, 1, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 1, 1)"}},font:{family:{default:"Inter, Helvetica, Arial, sans-serif",monospace:'"IBM Plex Mono", Consolas, Monaco, monospace'},weight:{thin:100,extraLight:200,light:300,regular:400,medium:500,semiBold:600,bold:700,extraBold:800},size:{default:"16px",small:"14px"}},shadow:{elevation0:"none",elevation1:"0 2px 4px rgba(0, 0, 0, 0.1)",elevation2:"0 0 64px 0 rgba(0, 0, 0, 0.08)"},spacing:{space01:"4px",space02:"8px",space03:"12px",space04:"16px",space05:"24px",space06:"32px",space07:"48px",space08:"64px",space09:"80px",space10:"96px",space11:"120px"}};var pb=100,jL=200,db=300,Tl=500,mb={breakpoint:{...Zr.breakpoint},color:{...Zr.color},duration:{...Zr.duration},easing:{...Zr.easing},font:{family:Zr.font.family,size:Zr.font.size,weight:{...Cf(Zr.font.weight,["regular","medium","semiBold","bold","extraBold"])}},shadow:{...Zr.shadow},spacing:{...Zr.spacing},zIndex:{ThumbnailDuration:pb,ModalCloseButton:pb,Backdrop:jL,ActionModal:db,FullScreenModal:db,RangeSelector:Tl,MenuComponent:Tl,Toast:Tl,Tooltip:Tl,BackdropElevated:Tl}};var vb=require("react/jsx-runtime"),gb=({children:e,theme:t})=>{let r=el(mb,t);return(0,vb.jsx)(hb.ThemeProvider,{theme:r,children:e})};i();var jp=require("react"),yb=(0,jp.createContext)({}),bb=()=>(0,jp.useContext)(yb),Cb=yb.Provider;i();var bn=require("react");i();var Qr=require("react"),Lx=require("react-dom");var Gg=A(require("styled-components")),$x=A(ee());i();i();i();var xb=require("styled-components"),gn=()=>(0,xb.useTheme)();i();i();i();i();var _p=require("react");i();function _L(e,t,r){var n=r||{},o=n.noTrailing,a=o===void 0?!1:o,s=n.noLeading,u=s===void 0?!1:s,l=n.debounceMode,c=l===void 0?void 0:l,p,d=!1,h=0;function g(){p&&clearTimeout(p)}function v(b){var y=b||{},x=y.upcomingOnly,w=x===void 0?!1:x;g(),d=!w}function m(){for(var b=arguments.length,y=new Array(b),x=0;x<b;x++)y[x]=arguments[x];var w=this,S=Date.now()-h;if(d)return;function E(){h=Date.now(),t.apply(w,y)}function D(){p=void 0}!u&&c&&!p&&E(),g(),c===void 0&&S>e?u?(h=Date.now(),a||(p=setTimeout(c?D:E,e))):E():a!==!0&&(p=setTimeout(c?D:E,c===void 0?e-S:e))}return m.cancel=v,m}function Al(e,t,r){var n=r||{},o=n.atBegin,a=o===void 0?!1:o;return _L(e,t,{debounceMode:a!==!1})}i();var Uh=()=>typeof window<"u"&&typeof document<"u";var Wp=(e=0)=>{let[t,r]=(0,_p.useState)({width:Uh()?window.innerWidth:0,height:Uh()?window.innerHeight:0});return(0,_p.useLayoutEffect)(()=>{let n=Al(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var WL=16,vn=()=>{let e=Wp().width/WL,t=gn(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),a=e>=Number.parseFloat(t.breakpoint.lg),s=e>=Number.parseFloat(t.breakpoint.xl),u=e<Number.parseFloat(t.breakpoint.sm),l=e<Number.parseFloat(t.breakpoint.md),c=e<Number.parseFloat(t.breakpoint.lg),p=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:a,isXlAndUp:s,isXsAndDown:u,isSmAndDown:l,isMdAndDown:c,isLgAndDown:p,isXlAndDown:!0}};var Ds=require("react/jsx-runtime"),Kh=24,UL={bottom:Kh,left:Kh,position:"fixed"},KL={minWidth:"352px",width:"400px"},qL={width:`calc(100% - ${Kh*2}px)`},wb=({children:e,in:t,renderInPlace:r})=>{let{isSmAndUp:n}=vn(),{duration:o,zIndex:a}=gn(),s=Number.parseInt(o.expressive.fast,10)/1e3,u={zIndex:a.Toast,...UL,...n?KL:qL};return r?(0,Ds.jsx)(Ds.Fragment,{children:e}):(0,Ds.jsx)(Pl,{children:t?(0,Ds.jsx)(wl.div,{animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"100%"},initial:{opacity:0,y:"100%"},style:u,transition:{duration:s},children:e}):null})};i();i();var Sb=(e,t)=>{if(!e.hasOwnProperty(t))throw new Error(`\`${String(t)}\` is not a defined theme color, check argument passed to \`useThemeColor\``);return e[t]},Be=(e=null)=>{let r=gn().color;if(!Object.keys({...r}).length)throw new Error("The `useThemeColor` hook could not find any defined colors. A possible cause of this error is that your component is not wrapped in a theme provider such as `<VHSProvider />`");return e===null?r:Array.isArray(e)?e.map(o=>Sb(r,o)):Sb(r,e)};i();var Nx=require("react"),Yp=A(ee());i();var Ml=A(require("styled-components")),Ps=A(ee());i();i();var Kp=A(ee());i();var qh={"ab-test":"AbTestIcon","all-content":"AllContentIcon",archived:"ArchivedIcon","arrow-down":"ArrowDownIcon","arrow-left":"ArrowLeftIcon","arrow-right":"ArrowRightIcon","arrow-up":"ArrowUpIcon",asterisk:"AsteriskIcon",audience:"AudienceIcon",calendar:"CalendarIcon",camera:"CameraIcon","caret-down":"CaretDownIcon","caret-left":"CaretLeftIcon","caret-right":"CaretRightIcon","caret-up":"CaretUpIcon",channel:"ChannelIcon",checkmark:"CheckmarkIcon","checkmark-circle":"CheckmarkCircleIcon","checkmark-circle-outline":"CheckmarkCircleOutlineIcon","checkmark-circle-three-quarters":"CheckmarkCircleThreeQuartersIcon","checkmark-underlined":"CheckmarkUnderlinedIcon",close:"CloseIcon",comment:"CommentIcon",community:"CommunityIcon","contact-us":"ContactUsIcon",copy:"CopyIcon","copy-disabled":"CopyDisabledIcon",create:"CreateIcon",delete:"DeleteIcon","delete-sm":"DeleteSmIcon",download:"DownloadIcon",draggable:"DraggableIcon",edit:"PencilIcon",ellipsis:"EllipsisIcon","ellipsis-vertical":"EllipsisVerticalIcon",embed:"EmbedIcon",episodes:"EpisodesIcon",error:"TriangleIcon",expand:"ExpandIcon",export:"DownloadIcon",favorite:"FavoriteIcon","favorite-outline":"FavoriteOutlineIcon",filter:"FilterIcon",gear:"GearIcon","getting-started":"GettingStartedIcon",globe:"GlobeIcon","grid-view":"GridViewIcon",hamburger:"HamburgerIcon",hazard:"HazardIcon","help-center":"HelpCenterIcon",hide:"HideIcon",home:"HomeIcon",hourglass:"HourglassIcon",import:"ImportIcon",info:"InfoIcon",integrations:"IntegrationsIcon",invite:"InviteIcon","lightning-bolt":"LightningBoltIcon",link:"LinkIcon","list-view":"ListViewIcon",live:"LiveIcon",lock:"LockIcon",logout:"LogoutIcon",media:"MediaIcon",megaphone:"MegaphoneIcon","more-options":"MoreOptionsIcon","open-new":"OpenNewIcon",overview:"OverviewIcon",paint:"PaintIcon",pencil:"PencilIcon",play:"PlayIcon",podcast:"PodcastIcon",preview:"PreviewIcon","private-user-sessions":"PrivateUserSessionsIcon",project:"ProjectIcon","question-mark":"QuestionMarkIcon",react:"ReactIcon",record:"RecordIcon",redo:"RedoIcon","remove-from-channel":"RemoveFromChannelIcon",replace:"ReplaceIcon",reply:"ReplyIcon","save-copy":"CopyIcon",scissors:"ScissorsIcon",search:"SearchIcon",send:"SendIcon",settings:"SettingsIcon",share:"ShareIcon",soapbox:"SoapboxIcon",sort:"SortIcon",sparkle:"SparkleIcon",spinner:"SpinnerIcon",stats:"StatsIcon","switch-accounts":"SwitchAccountsIcon",tag:"TagIcon",team:"TeamIcon","thumbs-down":"ThumbsDownIcon","thumbs-up":"ThumbsUpIcon",triangle:"TriangleIcon",undo:"UndoIcon",unlock:"UnlockIcon",upload:"UploadIcon","users-permissions":"UsersPermissionsIcon","view-stream":"ViewStreamIcon",wand:"WandIcon","zoom-in":"ZoomInIcon","zoom-out":"ZoomOutIcon"};var Lg={};ff(Lg,{AbTestIcon:()=>Db,AllContentIcon:()=>Eb,ArchivedIcon:()=>Pb,ArrowDownIcon:()=>Tb,ArrowLeftIcon:()=>Ab,ArrowRightIcon:()=>Rb,ArrowUpIcon:()=>Fb,AsteriskIcon:()=>Bb,AudienceIcon:()=>Ob,CalendarIcon:()=>Mb,CameraIcon:()=>Ib,CaretDownIcon:()=>kb,CaretLeftIcon:()=>Nb,CaretRightIcon:()=>Vb,CaretUpIcon:()=>Lb,ChannelIcon:()=>$b,CheckmarkCircleIcon:()=>zb,CheckmarkCircleOutlineIcon:()=>Hb,CheckmarkCircleThreeQuartersIcon:()=>Gb,CheckmarkIcon:()=>jb,CheckmarkUnderlinedIcon:()=>_b,CloseIcon:()=>Wb,CommentIcon:()=>Ub,CommunityIcon:()=>Kb,ContactUsIcon:()=>qb,CopyDisabledIcon:()=>Xb,CopyIcon:()=>Yb,CreateIcon:()=>Jb,DeleteIcon:()=>Zb,DeleteSmIcon:()=>Qb,DownloadIcon:()=>eC,DraggableIcon:()=>tC,EllipsisIcon:()=>rC,EllipsisVerticalIcon:()=>nC,EmbedIcon:()=>oC,EpisodesIcon:()=>iC,ExpandIcon:()=>aC,FavoriteIcon:()=>sC,FavoriteOutlineIcon:()=>uC,FilterIcon:()=>lC,GearIcon:()=>cC,GettingStartedIcon:()=>fC,GlobeIcon:()=>pC,GridViewIcon:()=>dC,HamburgerIcon:()=>mC,HazardIcon:()=>hC,HelpCenterIcon:()=>gC,HideIcon:()=>vC,HomeIcon:()=>yC,HourglassIcon:()=>bC,ImportIcon:()=>CC,InfoIcon:()=>xC,IntegrationsIcon:()=>wC,InviteIcon:()=>SC,LightningBoltIcon:()=>DC,LinkIcon:()=>EC,ListViewIcon:()=>PC,LiveIcon:()=>TC,LockIcon:()=>AC,LogoutIcon:()=>RC,MediaIcon:()=>FC,MegaphoneIcon:()=>BC,MoreOptionsIcon:()=>OC,OpenNewIcon:()=>MC,OverviewIcon:()=>IC,PaintIcon:()=>kC,PencilIcon:()=>NC,PlayIcon:()=>VC,PodcastIcon:()=>LC,PreviewIcon:()=>$C,PrivateUserSessionsIcon:()=>zC,ProjectIcon:()=>HC,QuestionMarkIcon:()=>GC,ReactIcon:()=>jC,RecordIcon:()=>_C,RedoIcon:()=>WC,RemoveFromChannelIcon:()=>UC,ReplaceIcon:()=>KC,ReplyIcon:()=>qC,ScissorsIcon:()=>XC,SearchIcon:()=>YC,SendIcon:()=>JC,SettingsIcon:()=>ZC,ShareIcon:()=>QC,SoapboxIcon:()=>ex,SortIcon:()=>tx,SparkleIcon:()=>rx,SpinnerIcon:()=>nx,StatsIcon:()=>ox,SwitchAccountsIcon:()=>ix,TagIcon:()=>ax,TeamIcon:()=>sx,ThumbsDownIcon:()=>ux,ThumbsUpIcon:()=>lx,TriangleIcon:()=>cx,UndoIcon:()=>fx,UnlockIcon:()=>px,UploadIcon:()=>dx,UsersPermissionsIcon:()=>mx,ViewStreamIcon:()=>hx,WandIcon:()=>gx,ZoomInIcon:()=>vx,ZoomOutIcon:()=>yx});i();i();var Xh=require("react/jsx-runtime"),Db=e=>(0,Xh.jsx)("svg",{...e,children:(0,Xh.jsx)("path",{d:"M8.78042 2.11118C6.86612 2.34876 6.94137 3.15354 6.99208 3.69591V3.69599C6.99476 3.72465 6.99738 3.75258 6.99962 3.77965C7.04436 4.31904 7.55048 5.39025 8.78042 5.39025H8.79735L8.79731 5.40433C8.79731 5.40433 9.05197 8.22842 8.79731 9.662C8.63183 10.5935 8.18982 11.2329 7.69474 11.865C8.39927 11.9016 9.14688 11.9764 9.93037 12.0994C10.4699 12.1842 10.8383 12.6879 10.753 13.2246C10.6678 13.7612 10.1613 14.1276 9.62166 14.0428C8.33927 13.8413 7.1731 13.7835 6.16316 13.812C5.48376 14.6589 4.44391 15.9821 3.58432 17.1925C5.12252 17.2343 7.05517 17.2692 9.48309 17.1438C10.0287 17.1157 10.4939 17.5327 10.5222 18.0753C10.5504 18.6178 10.1312 19.0805 9.58566 19.1086C6.78798 19.253 4.53527 19.189 2.90579 19.1426C2.71222 19.1371 2.52744 19.1319 2.35159 19.1273C1.49048 20.8558 2.24968 21.573 4.20714 21.7855C6.33564 22.0165 18.0133 22.1217 19.9478 21.7855C21.8825 21.4493 22.5323 19.9214 21.5397 18.6499C20.547 17.3783 17.7768 13.4113 16.9172 11.9984C16.7004 11.642 16.4948 11.3282 16.3083 11.0435C15.7556 10.1997 15.3708 9.61242 15.36 8.93404L15.3601 5.40433L15.36 5.39025H15.3746C16.8928 5.34284 17.0231 4.6562 17.0231 3.75071C17.0231 2.84523 16.285 2.11118 15.3746 2.11118C15.3746 2.11118 10.7959 1.86103 8.78042 2.11118Z",fill:"currentColor"})});i();var Yh=require("react/jsx-runtime"),Eb=e=>(0,Yh.jsx)("svg",{...e,children:(0,Yh.jsx)("path",{d:"m3.09059 3.5023c.5523 0 1 .4477 1 1l-.00092.70188c-.01018 3.93536-.10142 7.15092-.08848 9.77572.0068 1.3587.0426 2.4727.1299 3.3301.071.6968.16857 1.1263.25679 1.3643l.00412.0107.04589.0175c.01953.007.04171.0145.06676.0224l.08404.025c.2655.0742.6435.1409 1.1387.1952.9865.1081 2.3084.1539 3.8524.1644 3.14371.0213 6.85261-.0993 10.44111-.0993l.1166.0067c.4974.0578.8834.4805.8834.9933 0 .5522-.4477 1-1 1l-.738.0017c-3.232.0147-6.8753.1168-9.71671.0976-1.558-.0106-2.9641-.0566-4.0568-.1763-.5444-.0597-1.0437-.141-1.4591-.2571-.3702-.1035-.8555-.2808-1.185-.649l-.05731-.0703-.05079-.0751-.10286-.186c-.29118-.5812-.4296-1.3656-.51294-2.183-.0974-.9568-.1333-2.1494-.1402-3.5229-.0133-2.6853.0894-6.4106.0894-10.4876l.00673-.11652c.05776-.49735.48042-.88338.99327-.88338zm6.5557-1.37637.53051.02595c1.8616.09188 3.7138.19142 3.7138.19142s1.0423-.01829 2.2175-.02072l.4451-.0001c.8957.00155 1.802.01442 2.3355.05302 2.564.2222 2.6272 1.1409 2.7026 2.237.0118.172.024.3485.0461.5273.2722 2.1214.4627 4.9141.4627 6.5213 0 1.6393-.0545 5.1864-.245 5.4757-.2721.4178-.7348.9964-2.6398.8357-1.5154-.1278-7.0949-.2353-9.79337-.2416l-.43309-.0001c-.46931.0011-.80752.0065-.95905.0167-.9525.0643-2.0683-.0643-2.2588-1.125-.17942-.9182-.22215-3.2602-.2137-5.7009l.00427-.7725c.01347-1.80295.04985-3.58372.07493-4.8122.0148-.7225.0256-1.254.0256-1.4866 0-.0124-.0004-.0308-.001-.0543-.0081-.3442-.0425-1.796.8683-1.796.39926 0 1.70989.05778 3.1169.12593zm1.68581 5.01357c-.0356.94577-.0413 3.5445-.0421 5.0123l-.0002.688c0 .1695.1692.2755.3172.1907.9725-.551 3.89-2.2463 4.7145-3.327.0846-.106.0423-.2543-.0634-.3179l-4.6089-2.4156c-.148-.0848-.3171.0212-.3171.1695z",fill:"currentColor"})});i();var Jh=require("react/jsx-runtime"),Pb=e=>(0,Jh.jsx)("svg",{...e,children:(0,Jh.jsx)("path",{clipRule:"evenodd",d:"m1.73061 4.12674c-.00015-.04078-.00031-.08299-.0006-.12674.00196-.01564.00388-.03112.00579-.04645.14457-1.16135.18151-1.45809 3.76421-1.95355 4.033-.558 11.67499-.278 15.49699.892.433.133 1.003.608 1.003 1.108 0 .63366.0008.64812.0016.66226.0007.01356.0014.02683.0014.58474-.1073.53269-.783.38874-1.8549.16039-.8357-.17804-1.9122-.40739-3.1481-.40739-.9352 0-2.0855-.03207-3.3103-.06622-2.7041-.07539-5.7715-.16091-7.68969.06622-.93175.05647-1.70731.17102-2.3234.26202-.91133.1346-1.47374.21767-1.6766-.01502-.26635-.30625-.26743-.59442-.2694-1.12026zm.38218 9.34776.0002.0065c.027.913.053 1.802.033 2.573l-.01.316-.00009.0031c-.05397 1.901-.10965 3.8622.37509 4.4189.34.39 1.277.743 3.591.743 2.315 0 11.63801.264 12.80501.403 1.168.14 2.548.112 2.739-.836.303-1.4255.306-4.3452.308-6.2904v-.0386c0-.625 0-1.147.01-1.48.031-1.25-.024-1.967-.081-2.702-.021-.266-.042-.534-.059-.83-.005-.146-.008-.281-.01-.406l-.0001-.00311c-.0169-.82786-.0249-1.21719-.8169-1.45989-3.822-1.171-11.46401-1.45-15.49701-.892-3.195.442-3.233.992-3.297 1.935-.00056.00797-.00112.01597-.00168.024-.00848.12097-.01744.24897-.03432.384-.14378 1.1792-.09814 2.6835-.0542 4.1315zm5.0572-1.8505c-.316-.349-.254-1.079-.149-1.376.114-.297 3.05201-.268 5.00901-.214 1.5006.0502 2.997.1864 4.482.408.298.052.613.705.465 1.175l-.023.075c-.037.13-.075.263-.17.274-.36.012-6.747-.068-6.747-.068s-2.55201.074-2.86701-.274z",fill:"currentColor"})});i();var Zh=require("react/jsx-runtime"),Tb=e=>(0,Zh.jsx)("svg",{...e,children:(0,Zh.jsx)("path",{d:"m19.7685 14.8636c.615-.555.6637-1.5035.1087-2.1185-.555-.6151-1.5035-.6637-2.1185-.1088l-4.2587 3.8429v-12.27446c0-.82845-.6716-1.5-1.5-1.5s-1.5.67155-1.5 1.5v12.27446l-4.25874-3.8429c-.615-.555-1.56345-.5063-2.11845.1088-.555.615-.5064 1.5635.10875 2.1185l6.76354 6.1031c.5709.5152 1.4389.5152 2.0098 0z",fill:"currentColor"})});i();var Qh=require("react/jsx-runtime"),Ab=e=>(0,Qh.jsx)("svg",{...e,children:(0,Qh.jsx)("path",{d:"M9.1653 19.7974C9.72028 20.4124 10.6688 20.4611 11.2838 19.9061C11.8989 19.3512 11.9476 18.4027 11.3926 17.7876L7.54974 13.5289L19.8242 13.5289C20.6526 13.5289 21.3242 12.8573 21.3242 12.0289C21.3242 11.2005 20.6526 10.5289 19.8242 10.5289L7.54975 10.5289L11.3926 6.27019C11.9476 5.65519 11.8989 4.70674 11.2838 4.15174C10.6688 3.59674 9.72028 3.64534 9.16529 4.26049L3.06217 11.024C2.54703 11.5949 2.54703 12.4629 3.06217 13.0338L9.1653 19.7974Z",fill:"currentColor"})});i();var e2=require("react/jsx-runtime"),Rb=e=>(0,e2.jsx)("svg",{...e,children:(0,e2.jsx)("path",{d:"M14.8347 4.26044C14.2797 3.6454 13.3312 3.59671 12.7162 4.15169C12.1011 4.70668 12.0524 5.65517 12.6074 6.27022L16.4502 10.5289L4.17581 10.5289C3.34736 10.5289 2.67581 11.2005 2.67581 12.0289C2.67581 12.8573 3.34736 13.5289 4.17581 13.5289L16.4502 13.5289L12.6074 17.7877C12.0524 18.4027 12.1011 19.3511 12.7161 19.9061C13.3312 20.4611 14.2797 20.4125 14.8347 19.7974L20.9378 13.0338C21.453 12.4629 21.453 11.5949 20.9378 11.024L14.8347 4.26044Z",fill:"currentColor"})});i();var t2=require("react/jsx-runtime"),Fb=e=>(0,t2.jsx)("svg",{...e,children:(0,t2.jsx)("path",{d:"M4.23151 9.19422C3.61647 9.7492 3.56778 10.6977 4.12276 11.3127C4.67775 11.9278 5.62624 11.9765 6.24129 11.4215L10.5 7.57866L10.5 19.8531C10.5 20.6815 11.1716 21.3531 12 21.3531C12.8284 21.3531 13.5 20.6815 13.5 19.8531L13.5 7.57867L17.7587 11.4215C18.3737 11.9765 19.3222 11.9278 19.8772 11.3128C20.4322 10.6977 20.3836 9.7492 19.7684 9.19422L13.0049 3.09109C12.434 2.57595 11.566 2.57595 10.9951 3.09109L4.23151 9.19422",fill:"currentColor"})});i();var r2=require("react/jsx-runtime"),Bb=e=>(0,r2.jsx)("svg",{...e,children:(0,r2.jsx)("path",{d:"M14.4425 22L13.9358 15.3633L19.5575 19.0908L22 14.9542L15.3642 11.9542L22 9L19.5575 4.86333L13.9358 8.63667L14.4425 2H9.5575L10.0183 8.68167L4.39667 4.90917L2 9.04583L8.4975 12L2 14.9092L4.39667 19L10.0183 15.2725L9.5575 22H14.4425Z",fill:"currentColor"})});i();var n2=require("react/jsx-runtime"),Ob=e=>(0,n2.jsx)("svg",{...e,children:(0,n2.jsx)("path",{d:"m11.1744 3.04659c2.6835 2.33688 2.1425 8.06531-2.85234 7.99341-4.99483-.0719-5.03082-5.26362-3.69418-7.27726 1.33665-2.01364 4.64706-2.37021 6.54652-.71615zm8.511 8.47051c1.505 1.3105 1.2016 4.523-1.5995 4.4827-2.8011-.0404-2.8213-2.9519-2.0717-4.0811s2.6061-1.3292 3.6712-.4016zm-16.99799 10.3336c-.32545.0141-.61759-.3577-.6444-.8086-.15145-2.3574.04693-5.2652 1.4129-7.0804 2.86859-3.7922 9.46089-1.5366 10.60059 2.1134.236.7357.4008 1.5352.4961 2.3645.1371-.16.2718-.3099.3984-.4466 1.7601-1.8904 5.8048-.766 6.5041 1.0535.2965.751.4096 1.6354.3492 2.5077-.0098.2438-.2089.4477-.4506.4458h-7.4492-.0132-.0022-.4484c-.0235.0008-.0471-.0016-.0706-.0069z",fill:"currentColor"})});i();var o2=require("react/jsx-runtime"),Mb=e=>(0,o2.jsx)("svg",{...e,children:(0,o2.jsx)("path",{clipRule:"evenodd",d:"m7.5 2.9895c.82843 0 1.5.67157 1.5 1.5v1.51041l6 .00003c0-.00001 0 .00001 0 0v-1.51044c0-.82843.6716-1.5 1.5-1.5s1.5.67157 1.5 1.5v1.51041c0-.00001 0 .00001 0 0l1.5.00003c.8284 0 1.5.67157 1.5 1.5v1.5c0 .82843-.6716 1.49996-1.5 1.49996h-15c-.82843 0-1.5-.67153-1.5-1.49996v-1.5c0-.82843.67157-1.5 1.5-1.5h1.5v-1.51044c0-.82843.67157-1.5 1.5-1.5zm-3 9.0104c-.82843 0-1.5.6716-1.5 1.5v6c0 .8285.67157 1.5 1.5 1.5h15c.8284 0 1.5-.6715 1.5-1.5v-6c0-.8284-.6716-1.5-1.5-1.5z",fill:"currentColor",fillRule:"evenodd"})});i();var i2=require("react/jsx-runtime"),Ib=e=>(0,i2.jsx)("svg",{...e,children:(0,i2.jsx)("path",{clipRule:"evenodd",d:"M11.3162 20.979C11.6222 20.9857 11.9282 20.9924 12.2342 21V20.992C12.276 20.992 12.3178 20.9924 12.3595 20.9928C12.443 20.9935 12.5264 20.9942 12.6096 20.992C12.9666 20.9825 13.3235 20.9735 13.6805 20.9645C14.6678 20.9395 15.6552 20.9144 16.6423 20.8803C17.3374 20.8559 18.032 20.8127 18.7251 20.7569C19.3748 20.7048 20.0238 20.6415 20.6727 20.5783C20.9177 20.5544 21.1626 20.5305 21.4076 20.5072C21.8887 20.4612 22.2848 20.0971 22.3749 19.624C22.5973 18.4536 22.7728 17.2761 22.8625 16.0887C22.9258 15.2478 22.9671 14.403 22.9784 13.5597C22.9883 12.8257 22.9578 12.0898 22.9174 11.3563C22.8803 10.6899 22.8278 10.023 22.7433 9.36129C22.6605 8.71089 22.5531 8.06362 22.4457 7.41667C22.4215 7.27097 22.3974 7.12528 22.3735 6.97958C22.2928 6.48916 21.8624 6.12123 21.3663 6.08228C21.0761 6.05955 20.7863 6.03115 20.4965 6.00274C20.2656 5.98012 20.0347 5.9575 19.8036 5.93773C19.2277 5.88845 18.6514 5.84434 18.0747 5.80586C17.9794 5.79929 17.9418 5.76737 17.9151 5.67868L17.8955 5.61308C17.7345 5.07457 17.5734 4.53581 17.3998 4.00139C17.2445 3.5227 16.7784 3.15664 16.3077 3.1313C16.1265 3.12155 15.9453 3.11126 15.7641 3.10098C15.1608 3.06675 14.5575 3.03253 13.9537 3.01773C12.2178 2.97502 10.4823 3.00787 8.75008 3.13365C8.62103 3.14303 8.48634 3.17917 8.36901 3.23455C8.02173 3.39833 7.773 3.66208 7.65567 4.03236C7.56181 4.32848 7.47105 4.62568 7.38028 4.92287C7.3013 5.18146 7.22232 5.44004 7.14131 5.69792C7.12817 5.73922 7.07937 5.79131 7.04041 5.79741C6.95316 5.81131 6.86434 5.81585 6.77551 5.82041C6.73533 5.82246 6.69516 5.82452 6.65512 5.82744C6.53247 5.83652 6.40978 5.84531 6.28709 5.8541C5.96567 5.87712 5.64421 5.90015 5.32324 5.92834C5.07994 5.94972 4.83701 5.97418 4.59413 5.99864C4.29308 6.02896 3.99209 6.05927 3.69053 6.08368C3.21982 6.1217 2.78478 6.49432 2.70453 6.96316C2.66943 7.16876 2.63372 7.37429 2.59802 7.57982C2.47619 8.28117 2.35434 8.98263 2.25634 9.68746C2.15263 10.4327 2.06674 11.1841 2.03202 11.9354C1.99259 12.782 1.9879 13.6329 2.02732 14.479C2.06674 15.3322 2.1545 16.1854 2.26714 17.032C2.35101 17.6614 2.46316 18.287 2.5753 18.9124C2.61877 19.1549 2.66224 19.3973 2.70406 19.64C2.77868 20.0708 3.19542 20.4636 3.61263 20.5044C3.69683 20.5127 3.78099 20.5213 3.86514 20.5298C4.03332 20.5469 4.20149 20.564 4.37008 20.579C4.58912 20.5986 4.80813 20.6188 5.02715 20.639C5.58193 20.6903 6.13681 20.7416 6.69266 20.7813C7.51863 20.8404 8.34601 20.8897 9.17386 20.9207C9.88781 20.9476 10.602 20.9633 11.3162 20.979ZM6.3909 12.7131C6.41718 9.38992 9.19264 6.63089 12.5083 6.64872C15.8811 6.66703 18.5796 9.38664 18.5707 12.7375C18.5618 16.0676 15.807 18.8534 12.4721 18.8328C9.15556 18.8121 6.36462 16.0512 6.3909 12.7131ZM16.2261 12.7248C16.2383 10.658 14.5539 8.99148 12.4754 8.99524L12.4749 8.99571C10.4006 8.99899 8.72848 10.6655 8.73318 12.7243C8.73834 14.7935 10.4217 16.4942 12.4806 16.4867C14.5619 16.4792 16.2139 14.8104 16.2261 12.7248Z",fill:"currentColor",fillRule:"evenodd"})});i();var a2=require("react/jsx-runtime"),kb=e=>(0,a2.jsx)("svg",{...e,children:(0,a2.jsx)("path",{d:"m2.68581 7.2381c.52393-.57331 1.39057-.64667 2.00074-.19312l.11843.09775 7.19402 6.57527 7.196-6.57527c.5733-.52393 1.443-.51915 2.01-.01262l.1092.10799c.5239.57331.5191 1.44304.0126 2.01l-.108.10918-8.2069 7.50002c-.5348.4887-1.3351.5213-1.9053.0977l-.1185-.0977-8.20691-7.50002c-.61154-.55886-.65424-1.50764-.09538-2.11918z",fill:"currentColor"})});i();var s2=require("react/jsx-runtime"),Nb=e=>(0,s2.jsx)("svg",{...e,children:(0,s2.jsx)("path",{d:"m16.7619 2.68582c.5733.52393.6467 1.39057.1931 2.00074l-.0977.11844-6.5753 7.194 6.5753 7.196c.5239.5733.5191 1.443.0126 2.01l-.108.1092c-.5733.5239-1.443.5191-2.01.0126l-.1092-.108-7.49998-8.2069c-.48873-.5348-.52131-1.3351-.09775-1.9053l.09775-.1185 7.49998-8.2069c.5589-.61153 1.5077-.65423 2.1192-.09538z",fill:"currentColor"})});i();var u2=require("react/jsx-runtime"),Vb=e=>(0,u2.jsx)("svg",{...e,children:(0,u2.jsx)("path",{d:"m7.23808 21.3142c-.57331-.524-.64667-1.3906-.19312-2.0008l.09774-.1184 6.5753-7.194-6.57529-7.196c-.52393-.57331-.51915-1.44303-.01262-2.01l.10799-.10917c.57331-.52393 1.44303-.51915 2.01-.01262l.10917.10799 7.50005 8.2069c.4887.5348.5213 1.3351.0977 1.9053l-.0977.1185-7.50004 8.2069c-.55886.6115-1.50765.6542-2.11918.0954z",fill:"currentColor"})});i();var l2=require("react/jsx-runtime"),Lb=e=>(0,l2.jsx)("svg",{...e,children:(0,l2.jsx)("path",{d:"m21.3141 16.7619c-.5239.5733-1.3905.6467-2.0007.1931l-.1184-.0977-7.194-6.5753-7.19602 6.5753c-.57331.5239-1.44304.5191-2.01.0126l-.10918-.108c-.52393-.5733-.51915-1.443-.01261-2.01l.10798-.1092 8.20683-7.49998c.5348-.48873 1.3352-.52131 1.9054-.09775l.1184.09775 8.207 7.49998c.6115.5589.6542 1.5077.0953 2.1192z",fill:"currentColor"})});i();var c2=require("react/jsx-runtime"),$b=e=>(0,c2.jsx)("svg",{...e,children:(0,c2.jsx)("path",{clipRule:"evenodd",d:"m5.64571 1.19092c-.44678-.324663-1.07216-.225666-1.39682.22112-.32466.44678-.22567 1.07215.22111 1.39682 1.28625.93467 2.48092 2.19849 3.54704 3.39817-1.62947-.00332-2.92814.02027-3.46778.08086-1.98082.22241-2.2359 1.3046-2.45624 2.97122-.22035 1.66659.01731 8.61489.2821 10.20679s1.03019 2.2578 3.23903 2.2185c1.36389-.0243 5.14395.102 8.22435.2049 1.9081.0637 3.5484.1185 4.1789.123l.0126.0001c1.6426.0116 2.973.0211 3.5839-1.2509.6125-1.2752.3643-9.5706.2662-11.15071-.0982-1.58008-.6322-2.71681-1.8871-2.99303-.4032-.08875-1.9372-.17748-3.8995-.24967.9793-1.0846 2.1361-2.34437 3.5284-3.63478.405-.37542.4291-1.00813.0536-1.41319-.3754-.405062-1.0081-.429086-1.4132-.05366-1.61 1.49224-2.9274 2.95491-3.9684 4.11064-.1937.21508-.3778.41955-.5525.61158-.0947.10407-.1859.20373-.2738.29896-.9155-.02314-1.8546-.0422-2.7663-.056-.1596-.18054-.3281-.37314-.5061-.57663l-.1089-.12441c-1.18229-1.35084-2.71275-3.08411-4.44059-4.33968zm9.86039 12.42148c-1.0777 1.4126-4.8912 3.6285-6.16234 4.3486-.19344.1108-.41451-.0277-.41451-.2493 0-1.468 0-5.9827.05527-7.4507 0-.1939.22107-.3324.4145-.2216l6.02418 3.1576c.1382.0831.1934.2769.0829.4154z",fill:"currentColor",fillRule:"evenodd"})});i();var f2=require("react/jsx-runtime"),zb=e=>(0,f2.jsx)("svg",{...e,children:(0,f2.jsx)("path",{clipRule:"evenodd",d:"m21.8158 14.5648c3.0982-10.94829-8.8224-15.41821-15.39746-10.85188-4.65388 3.23212-6.673329 10.24658-3.15895 14.34028 3.51439 4.0936 15.45811 7.4598 18.55641-3.4884zm-4.1007-5.8658c.3861-.39496.3788-1.02808-.0161-1.41413-.395-.38604-1.0281-.37882-1.4141.01613l-6.127 6.2684-2.44277-2.4992c-.38605-.3949-1.01917-.4021-1.41413-.0161-.39495.3861-.40217 1.0192-.01612 1.4141l3.15789 3.2308c.18815.1925.44596.301.71513.301.2692 0 .527-.1085.7151-.301z",fill:"currentColor",fillRule:"evenodd"})});i();var Rl=require("react/jsx-runtime"),Hb=({...e})=>(0,Rl.jsxs)("svg",{...e,children:[(0,Rl.jsx)("path",{clipRule:"evenodd",d:"M11.25 2.5C6.41751 2.5 2.5 6.41751 2.5 11.25C2.5 16.0825 6.41751 20 11.25 20C16.0825 20 20 16.0825 20 11.25C20 6.41751 16.0825 2.5 11.25 2.5ZM0 11.25C0 5.0368 5.0368 0 11.25 0C17.4632 0 22.5 5.0368 22.5 11.25C22.5 17.4632 17.4632 22.5 11.25 22.5C5.0368 22.5 0 17.4632 0 11.25Z",fill:"currentColor",fillRule:"evenodd"}),(0,Rl.jsx)("path",{clipRule:"evenodd",d:"M17.1237 7.35609C17.6174 7.83865 17.6265 8.63005 17.1439 9.12374L10.3018 16.1237C10.0666 16.3644 9.74436 16.5 9.4079 16.5C9.07143 16.5 8.74918 16.3644 8.51399 16.1237L5.35609 12.893C4.87354 12.3993 4.88256 11.6079 5.37626 11.1253C5.86995 10.6428 6.66135 10.6518 7.14391 11.1455L9.4079 13.4617L15.3561 7.37626C15.8386 6.88256 16.6301 6.87354 17.1237 7.35609Z",fill:"currentColor",fillRule:"evenodd"})]});i();var p2=require("react/jsx-runtime"),Gb=e=>(0,p2.jsx)("svg",{...e,children:(0,p2.jsx)("path",{d:"m5.06066 10.1406c1.02693-3.83255 4.96634-6.10695 8.79884-5.08003.8844.23699 1.7935-.28787 2.0305-1.1723.237-.88444-.2879-1.79352-1.1723-2.0305-5.60142-1.500892-11.35896 1.82322-12.85985 7.42462-1.500884 5.60141 1.82323 11.35891 7.42463 12.85981 5.60142 1.5009 11.35892-1.8232 12.85982-7.4246.237-.8844-.2879-1.7935-1.1723-2.0305s-1.7935.2879-2.0305 1.1723c-1.0269 3.8325-4.9663 6.1069-8.7988 5.08-3.83257-1.0269-6.10696-4.9663-5.08004-8.7988zm16.57534-2.98696c.6582-.63651.6758-1.68609.0392-2.34429-.6365-.65821-1.686-.67579-2.3442-.03928l-7.5698 7.32023-2.17928-2.46975c-.60581-.68657-1.65349-.75203-2.34005-.14621-.68656.60576-.75202 1.65346-.14621 2.34006l2.94474 3.3372c.8339.9451 2.2881 1.0027 3.1942.1265z",fill:"currentColor"})});i();var d2=require("react/jsx-runtime"),jb=e=>(0,d2.jsx)("svg",{...e,children:(0,d2.jsx)("path",{d:"m8.79289 18.7054-6.50001-6.5374c-.39051-.3927-.39051-1.0295 0-1.4223l1.41418-1.42238c.39051-.39279 1.02371-.39279 1.41422 0l4.37872 4.40388 9.3787-9.43263c.3905-.39276 1.0237-.39276 1.4142 0l1.4142 1.42235c.3905.39275.3905 1.02956 0 1.42235l-11.5 11.56613c-.39054.3928-1.0237.3928-1.41421 0z",fill:"currentColor"})});i();var m2=require("react/jsx-runtime"),_b=e=>(0,m2.jsx)("svg",{...e,children:(0,m2.jsx)("path",{d:"M9.54401 12.95L17.994 4.49995C18.194 4.29995 18.4315 4.19995 18.7065 4.19995C18.9815 4.19995 19.219 4.29995 19.419 4.49995C19.619 4.69995 19.719 4.93745 19.719 5.21245C19.719 5.48745 19.619 5.72495 19.419 5.92495L10.244 15.1C10.044 15.3 9.81067 15.4 9.54401 15.4C9.27734 15.4 9.04401 15.3 8.84401 15.1L4.56901 10.825C4.36901 10.625 4.27317 10.3875 4.28151 10.1125C4.28984 9.83745 4.39401 9.59995 4.59401 9.39995C4.79401 9.19995 5.03151 9.09995 5.30651 9.09995C5.58151 9.09995 5.81901 9.19995 6.01901 9.39995L9.54401 12.95ZM5.99401 19.8C5.71067 19.8 5.47317 19.7041 5.28151 19.5125C5.08984 19.3208 4.99401 19.0833 4.99401 18.8C4.99401 18.5166 5.08984 18.2791 5.28151 18.0875C5.47317 17.8958 5.71067 17.8 5.99401 17.8H17.994C18.2773 17.8 18.5148 17.8958 18.7065 18.0875C18.8982 18.2791 18.994 18.5166 18.994 18.8C18.994 19.0833 18.8982 19.3208 18.7065 19.5125C18.5148 19.7041 18.2773 19.8 17.994 19.8H5.99401Z",fill:"currentColor"})});i();var h2=require("react/jsx-runtime"),Wb=e=>(0,h2.jsx)("svg",{...e,children:(0,h2.jsx)("path",{d:"m17.7742 19.618c.5091.5093 1.3347.5093 1.8439 0 .5091-.5091.5091-1.3347 0-1.8438l-5.7742-5.7742 5.7742-5.77422c.5091-.50918.5091-1.3347 0-1.84387-.5092-.50917-1.3348-.50917-1.8439 0l-5.7742 5.77419-5.77426-5.77422c-.50917-.50917-1.33469-.50917-1.84387 0-.50916.50917-.50916 1.3347 0 1.84386l5.77423 5.77426-5.77421 5.7742c-.50918.5092-.50918 1.3347 0 1.8439.50916.5092 1.33469.5092 1.84385 0l5.77426-5.7742z",fill:"currentColor"})});i();var g2=require("react/jsx-runtime"),Ub=e=>(0,g2.jsx)("svg",{...e,children:(0,g2.jsx)("path",{clipRule:"evenodd",d:"M2.0994 10.6931C2.04002 8.22692 1.96942 5.29509 2.11584 4.25593C2.13365 4.13216 2.14292 4.01528 2.1517 3.90469C2.21613 3.09248 2.25369 2.61894 5.44865 2.23843C9.48199 1.75807 17.1241 1.99825 20.9452 3.007C21.7385 3.21574 21.7461 3.55147 21.7624 4.26645C21.7648 4.37414 21.7675 4.49044 21.773 4.6162C21.8367 5.57691 22.0066 10.2604 21.9641 11.7255C21.9538 12.0123 21.9535 12.4616 21.9532 13.001V13.001C21.9522 14.6749 21.9507 17.2153 21.6457 18.4505C21.4546 19.2671 20.0748 19.2911 18.9073 19.171C18.4972 19.1289 17.0813 19.0734 15.3164 19.0193C14.4586 19.7428 13.2551 20.8268 12.6703 21.669C12.4667 21.9623 12.1951 22 11.9708 22C11.7566 22 11.6986 21.9343 11.3756 21.5684L11.3281 21.5147C10.6506 20.7484 9.58149 19.5267 9.00085 18.8624C7.74516 18.8383 6.69432 18.8234 6.10233 18.8234C3.78846 18.8234 2.85054 18.5199 2.51089 18.1837C2.02619 17.7038 2.08219 16.014 2.13647 14.3759L2.14543 14.1031C2.16606 13.462 2.13471 12.1599 2.0994 10.6931ZM4.33635 7.16713C4.33635 7.16713 3.83065 8.24157 4.01326 8.52809C4.14949 8.74182 8.25659 8.84926 10.9526 8.91979L10.9527 8.91979C11.8709 8.94381 12.6253 8.96354 13.0036 8.98174C14.1695 9.05337 17.7376 8.83848 19.2126 8.74298C19.24 8.74161 19.2672 8.74047 19.2943 8.73935C19.7381 8.72089 20.1152 8.7052 19.943 7.69241C19.9149 7.5014 19.8166 7.38202 19.634 7.38202C19.044 7.38202 9.89913 7.38202 7.90439 7.191L7.64546 7.16615C5.81529 6.99024 4.8063 6.89326 4.33635 7.16713ZM19.8977 11.4732C20.0908 11.7527 19.6254 12.8452 19.6254 12.8452C19.166 13.1363 18.1541 13.0769 16.3186 12.9692C16.2338 12.9642 16.1473 12.9591 16.059 12.9539C14.0586 12.8372 4.92114 13.177 4.33049 13.199L4.33037 13.199C4.14788 13.2058 4.04518 13.0901 4.01001 12.9003C3.80035 11.8946 4.17656 11.8649 4.61942 11.83C4.64638 11.8278 4.67359 11.8257 4.70093 11.8233C6.17134 11.673 9.72893 11.3257 10.8967 11.3539C11.2754 11.3581 12.0301 11.3498 12.9486 11.3396C15.6454 11.3099 19.7536 11.2646 19.8977 11.4732Z",fill:"currentColor",fillRule:"evenodd"})});i();var v2=require("react/jsx-runtime"),Kb=e=>(0,v2.jsx)("svg",{...e,children:(0,v2.jsx)("path",{d:"m14.8307 3.14077c.3645.16757.686.31534.9541.40981l.0186.00652c1.2355.43528 5.3747 1.89346 6.0303 4.36204.5612 2.11356-.3999 4.17296-1.3677 6.24656-.1682.3606-.3367.7217-.4975 1.0835-.0379.0854-.0756.1704-.1132.255-1.4657 3.3022-2.6018 5.8617-4.6582 6.3731-2.1092.5247-5.1606-.7312-7.71054-1.9147-.05102-.0244-.10251-.0491-.15441-.0738-1.99154-.951-4.60465-2.1987-5.20489-4.1987-.61588-2.0523 1.14517-6.02627 2.25161-7.92519.20562-.35289.40011-.72469.59807-1.10314.86724-1.65795 1.80113-3.44328 4.02973-4.32392 2.19233-.86633 4.35703.12865 5.82403.80292zm-2.2269 2.13686c-.5027-.24679-1.1143-.04716-1.366.44591l-.6538 1.281-1.30983-.64294c-.50277-.24679-1.11436-.04714-1.36603.44591-.25167.49306-.04812 1.09282.45465 1.33961l1.3098.64293-1.50554 2.94955-1.44199-.7078c-.50276-.2468-1.11435-.0471-1.36602.4459-.25167.4931-.04812 1.0928.45465 1.3396l1.44198.7078-.77998 1.5281c-.25167.4931-.04812 1.0929.45464 1.3396.50277.2468 1.11436.0472 1.36603-.4459l.77999-1.5281 2.98935 1.4674-.7622 1.4931c-.2517.4931-.0481 1.0929.4547 1.3397.5027.2467 1.1143.0471 1.366-.446l.7622-1.4931 1.4413.7075c.5028.2468 1.1144.0471 1.366-.446.2517-.4929.0482-1.0928-.4546-1.3396l-1.4414-.7074 1.5055-2.9496 1.5735.7724c.5028.2468 1.1144.0472 1.3661-.4459.2516-.4931.0481-1.0928-.4546-1.3396l-1.5736-.7724.6717-1.31597c.2518-.49306.0482-1.09282-.4546-1.33961-.5027-.24679-1.1143-.04715-1.366.4459l-.6718 1.31598-2.9892-1.46736.6538-1.281c.2517-.49306.0481-1.09283-.4547-1.33961zm1.8788 5.87347-1.5055 2.9496-2.98937-1.4674 1.50557-2.94954z",fill:"currentColor"})});i();var y2=require("react/jsx-runtime"),qb=e=>(0,y2.jsx)("svg",{...e,children:(0,y2.jsx)("path",{d:"m2 7.13053c1.02794.75462 2.30848 1.82137 3.61006 2.90567 0 0 5.06424 3.9629 5.81564 3.9629 1.8549 0 3.7992-1.8146 5.1678-2.8746 1.3176-1.0205 2.7467-2.21282 4.0625-3.31055.1651-.13774.3285-.27408.4895-.40831-.0011.22999.0035.44719.0315.64131.3947 2.63975.4326 8.17435 0 11.09695-.3145.4144-.8493.9882-3.0513.8288s-11.82778-.2869-12.92877-.2231c-1.101.0637-2.39073-.0638-2.61093-1.1158-.40264-1.7682-.5511-8.74247-.586-11.50327zm16.4311-2.99936c1.2812.09529 1.9619.48357 2.322 1.00077-.4574.37757-.9338.77506-1.4207 1.18138-1.2989 1.0838-2.6732 2.23056-3.9636 3.22999-.9655.74789-1.8517 1.38729-2.5896 1.83539-.3691.2242-.6815.3884-.9342.4939-.2367.0989-.3632.1358-.5917.0084-.2306-.1286-.5322-.3283-.8998-.5958-.73248-.5331-1.63926-1.2708-2.61739-2.08202-.26991-.22385-.54604-.45404-.8253-.68686-.21657-.18055-.43504-.36268-.65398-.54466l-.65679-.54374c-1.20143-.98965-2.37365-1.92213-3.27827-2.50838.22838-.42619.59195-.78832 1.14091-.78831 1.57531.00002 3.21902-.03191 4.885-.06428 3.39902-.06604 6.89072-.13388 10.08342.06422z",fill:"currentColor"})});i();var b2=require("react/jsx-runtime"),Xb=e=>(0,b2.jsx)("svg",{...e,children:(0,b2.jsx)("path",{d:"m23.7071 1.70711c.3905-.39053.3905-1.023692 0-1.414217-.3905-.3905241-1.0237-.3905241-1.4142 0l-22.000007 22.000007c-.3905238.3905-.3905242 1.0237 0 1.4142.390524.3905 1.023687.3905 1.414217 0zm-5.0845.29289c.1737 0 .3443.01298.5109.03803l-3.3066 3.30661h-8.21351c-.93263 0-1.68869-.74873-1.68869-1.67232 0-.92361.75606-1.67232 1.68869-1.67232zm-14.9339 4.94911h10.5338l-12.2225 12.22249v-10.55017c0-.92359.75605-1.67232 1.6887-1.67232zm13.5095 2.68113-12.36977 12.36976h10.68107c.9327 0 1.6887-.7487 1.6887-1.6723zm4.7671-4.76707-3.3427 3.34265v8.10658c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-.1635-.0118-.32425-.0347-.48147z",fill:"currentColor"})});i();var C2=require("react/jsx-runtime"),Yb=e=>(0,C2.jsx)("svg",{...e,children:(0,C2.jsx)("path",{d:"m18.6226 16.3124c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-1.8472-1.5122-3.34464-3.3774-3.34464h-11.00921c-.93263 0-1.68869.74871-1.68869 1.67232 0 .92359.75606 1.67232 1.68869 1.67232h11.00921zm-3.1131 5.6876c.9327 0 1.6887-.7487 1.6887-1.6723v-11.70627c0-.92359-.756-1.67232-1.6887-1.67232h-11.8208c-.93265 0-1.6887.74873-1.6887 1.67232v11.70627c0 .9236.75605 1.6723 1.6887 1.6723z",fill:"currentColor"})});i();var x2=require("react/jsx-runtime"),Jb=e=>(0,x2.jsx)("svg",{...e,children:(0,x2.jsx)("path",{d:"m10.3966 3.60341c0-.88553.7179-1.60341 1.6034-1.60341s1.6034.71788 1.6034 1.60341v6.79319h6.7932c.8856 0 1.6034.7179 1.6034 1.6034 0 .8856-.7178 1.6034-1.6034 1.6034h-6.7932v6.7932c0 .8856-.7179 1.6034-1.6034 1.6034s-1.6034-.7178-1.6034-1.6034v-6.7932h-6.7932c-.88554 0-1.6034-.7178-1.6034-1.6034 0-.8855.71786-1.6034 1.6034-1.6034h6.7932z",fill:"currentColor"})});i();var w2=require("react/jsx-runtime"),Zb=e=>(0,w2.jsx)("svg",{...e,children:(0,w2.jsx)("path",{d:"m14.904 2.36857c.6808.18014 1.0637 1.89327 1.3326 3.11843 1.0626.02303 2.1802.06975 3.3652.15126.5509.0379.9669.51528.929 1.06626-.0379.55099-.5153.96692-1.0663.92902-3.2573-.22405-5.9961-.17824-8.5308-.1036-.3474.01023-.6918.02104-1.03385.03178-2.1416.06726-4.18778.13153-6.28166.02989-.55163-.02678-.97711-.49568-.95034-1.04731.02678-.55164.49568-.97712 1.04731-.95034 1.04212.05058 2.0709.0584 3.11959.04482.08961-.94493.83902-2.66045 1.49748-3.27021.72917-.67525 5.56337-.2668 6.57177 0zm-8.53971 18.93913c-.38411-1.7907-1.43613-8.7724-1.60784-10.1112-.01239-.0967-.02523-.1887-.03746-.2764-.1573-1.12763-.21516-1.5424 2.05023-1.84784 2.71293-.36579 9.32588-.45722 11.89608.31093.5336.15895.5387.4146.5496.95901.0017.082.0035.1706.0072.2664 0 2.8358-.6932 5.8331-1.3554 8.6963-.1564.6763-.3112 1.3453-.4546 2.0028-.1285.6219-1.0566.6401-1.842.5487-.7853-.0915-5.4362-.2926-6.99265-.2926-1.55635 0-1.98471 0-2.21316-.2561zm8.97891-9.2246c-.0298-.5515-.501-.9744-1.0525-.9446s-.9744.501-.9446 1.0525c.0309.5711-.027 1.5863-.123 2.7715-.0544.6721-.1166 1.3496-.1763 2.0013-.0459.5008-.0905.9868-.1291 1.4427-.0465.5504.3619 1.0342.9122 1.0807.5503.0466 1.0342-.3618 1.0807-.9122.0351-.4152.0789-.8939.1249-1.3962l.0002-.0017.0001-.0015c.0616-.6734.1271-1.3892.1808-2.0516.094-1.1611.166-2.312.1266-3.0409zm-5.56465 7.4093c.55025.0479 1.03505-.3594 1.08295-.9096.0632-.7272.0291-1.8798-.0269-3.0434-.0319-.6643-.0739-1.3823-.1135-2.0578-.0295-.504-.0576-.985-.0791-1.4014-.0285-.5516-.4987-.9756-1.05025-.9472-.55156.0285-.97562.4987-.94716 1.0502.02358.4571.05217.944.08167 1.4462.03835.653.07827 1.3328.11063 2.006.0571 1.1878.08163 2.2042.03206 2.7741-.04786.5502.3594 1.035.9096 1.0829z",fill:"currentColor"})});i();var Es=require("react/jsx-runtime"),Qb=e=>(0,Es.jsx)("svg",{...e,children:(0,Es.jsxs)("g",{fill:"currentColor",children:[(0,Es.jsx)("path",{d:"m9.05042 2c-.64391 0-1.23256.35667-1.52052.92132l-1.23015 2.41201h-1.59974c-.9389 0-1.70001.74619-1.70001 1.66667 0 .92047.76111 1.66667 1.70001 1.66667h14.59999c.9389 0 1.7-.7462 1.7-1.66667 0-.92048-.7611-1.66667-1.7-1.66667h-1.8003l-1.2301-2.41201c-.288-.56465-.8765-.92132-1.5205-.92132z"}),(0,Es.jsx)("path",{d:"m6.63212 10c-.9389 0-1.63212.7462-1.63212 1.6667v8.8333c0 .9205.36086 1.5 1.29975 1.5h11.19995c.9389 0 1.5003-.5795 1.5003-1.5l-.1-8.8333c0-.9205-.4611-1.6667-1.4-1.6667z"})]})});i();var S2=require("react/jsx-runtime"),eC=e=>(0,S2.jsx)("svg",{...e,children:(0,S2.jsx)("path",{d:"m8.60831 3.62342c0-.89747.72755-1.625 1.62499-1.625h3.25c.8974 0 1.6249.72753 1.6249 1.625l-.0733 5.37819h2.169c1.5012 0 2.1996 1.86149 1.0688 2.84899l-5.4188 4.7324c-.6123.5347-1.5256.5347-2.1378 0l-5.41894-4.7324c-1.13072-.9875-.43233-2.84899 1.06891-2.84899h2.16889zm-4.94834 15.12818c-.89747 0-1.625.7275-1.625 1.625s.72753 1.625 1.625 1.625h16.68003c.8975 0 1.625-.7275 1.625-1.625s-.7275-1.625-1.625-1.625z",fill:"currentColor"})});i();var D2=require("react/jsx-runtime"),tC=e=>(0,D2.jsx)("svg",{...e,children:(0,D2.jsx)("path",{d:"m8.4 22c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437zm7.2 0c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437z",fill:"currentColor"})});i();var E2=require("react/jsx-runtime"),rC=e=>(0,E2.jsx)("svg",{...e,children:(0,E2.jsx)("path",{d:"m6.8654 12.0577c0 1.2745-1.03319 2.3077-2.3077 2.3077s-2.3077-1.0332-2.3077-2.3077 1.03319-2.3077 2.3077-2.3077 2.3077 1.0332 2.3077 2.3077zm7.6923 0c0 1.2745-1.0331 2.3077-2.3077 2.3077-1.2745 0-2.30766-1.0332-2.30766-2.3077s1.03316-2.3077 2.30766-2.3077c1.2746 0 2.3077 1.0332 2.3077 2.3077zm5.3846 2.3077c1.2746 0 2.3077-1.0332 2.3077-2.3077s-1.0331-2.3077-2.3077-2.3077c-1.2745 0-2.3077 1.0332-2.3077 2.3077s1.0332 2.3077 2.3077 2.3077z",fill:"currentColor"})});i();var P2=require("react/jsx-runtime"),nC=e=>(0,P2.jsx)("svg",{...e,children:(0,P2.jsx)("path",{d:"m12.25 6.67311c-1.2745 0-2.30769-1.03319-2.30769-2.30771 0-1.27451 1.03319-2.3077 2.30769-2.3077s2.3077 1.03319 2.3077 2.3077c0 1.27452-1.0332 2.30771-2.3077 2.30771zm0 7.69229c-1.2745 0-2.30769-1.0331-2.30769-2.3077 0-1.2745 1.03319-2.30766 2.30769-2.30766s2.3077 1.03316 2.3077 2.30766c0 1.2746-1.0332 2.3077-2.3077 2.3077zm-2.30769 5.3846c0 1.2746 1.03319 2.3077 2.30769 2.3077s2.3077-1.0331 2.3077-2.3077c0-1.2745-1.0332-2.3077-2.3077-2.3077s-2.30769 1.0332-2.30769 2.3077z",fill:"currentColor"})});i();var T2=require("react/jsx-runtime"),oC=e=>(0,T2.jsx)("svg",{...e,children:(0,T2.jsx)("path",{d:"m13.7617 2c.0584 0 .12.00417.18.01417.6751.1 1.1442.745 1.0451 1.43166l-2.5243 17.47497c-.09.6259-.6225 1.0792-1.2251 1.0792-.0591 0-.1191-.005-.18-.0142-.6733-.1-1.14336-.745-1.0442-1.4316l2.5226-17.4767c.09-.625.6242-1.0775 1.2251-1.0775zm-7.00456 5c.31886 0 .63772.12667.87943.38167.48343.50833.48343 1.33916 0 1.8475l-2.63657 2.77083 2.63743 2.7708c.48343.5084.48343 1.3409 0 1.8492-.24172.2533-.56057.38-.87943.38-.318 0-.63771-.1267-.87857-.38l-3.51686-3.6967c-.48343-.5083-.48343-1.3391 0-1.8466l3.51686-3.69503c.24086-.255.56057-.38167.87771-.38167zm10.48556 0c.3179 0 .6376.12667.8784.38167l3.5164 3.69503c.4833.5083.4833 1.3391 0 1.8466l-3.5164 3.6967c-.2408.2533-.5605.38-.8784.38-.3188 0-.6376-.1267-.8793-.38-.4834-.5083-.4834-1.3408 0-1.8475l2.6362-2.7725-2.6371-2.77083c-.4833-.50834-.4833-1.33917 0-1.8475.2417-.255.5605-.38167.8793-.38167z",fill:"currentColor"})});i();var A2=require("react/jsx-runtime"),iC=e=>(0,A2.jsx)("svg",{...e,children:(0,A2.jsx)("path",{d:"M1.412 6.647c.78 0 1.412.633 1.412 1.412v12.706H16.94c.78 0 1.412.632 1.412 1.411 0 .78-.633 1.412-1.412 1.412H1.411C.633 23.588 0 22.956 0 22.176V8.06c0-.78.632-1.412 1.412-1.412zM22.588 1C23.368 1 24 1.632 24 2.412v14.117c0 .78-.632 1.412-1.412 1.412H7.058c-.778 0-1.41-.632-1.41-1.412V2.412c0-.78.632-1.412 1.41-1.412h15.53zm-1.412 2.824H8.471v11.294h12.705V3.824zm-8.755 2.531c.252-.142.77-.138 1.019.01l4.02 2.416c.24.145.383.406.383.69 0 .282-.162.544-.403.689l-4.052 2.415c-.127.077-.324.115-.466.115-.137 0-.378-.034-.501-.105-.253-.142-.617-.409-.617-.7v-4.83c0-.289.364-.557.617-.7z",fill:"currentColor"})});i();var R2=require("react/jsx-runtime"),aC=e=>(0,R2.jsx)("svg",{...e,children:(0,R2.jsx)("path",{clipRule:"evenodd",d:"m13.0984 3.43938c-.5858-.58578-1.5356-.58578-2.1214 0l-3.76881 3.76885c-.58579.58579-.58579 1.53554 0 2.12132.58578.58579 1.53553.58579 2.12132 0l2.70819-2.70819 2.7082 2.70819c.5858.58579 1.5355.58579 2.1213 0 .5858-.58578.5858-1.53553 0-2.12132zm-5.9543 13.41652 3.8329 3.8329c.5858.5858 1.5356.5858 2.1214 0l3.8329-3.8329c.5858-.5858.5858-1.5356 0-2.1214s-1.5355-.5858-2.1213 0l-2.7723 2.7723-2.77228-2.7723c-.58579-.5858-1.53553-.5858-2.12132 0s-.58579 1.5356 0 2.1214z",fill:"currentColor",fillRule:"evenodd"})});i();var F2=require("react/jsx-runtime"),sC=e=>(0,F2.jsx)("svg",{...e,children:(0,F2.jsx)("path",{d:"m10.5016 2.97092c.6129-1.29459 2.3837-1.29459 2.9966.00001l1.7958 3.79325c.2434.51408.7138.8704 1.258.95284l4.0155.60828c1.3705.2076 1.9177 1.9633.926 2.971l-2.9056 2.9526c-.3938.4002-.5735.9767-.4805 1.5418l.6859 4.1691c.2341 1.4229-1.1985 2.508-2.4243 1.8362l-3.5916-1.9684c-.4867-.2668-1.0682-.2668-1.555 0l-3.59154 1.9684c-1.22576.6718-2.65839-.4132-2.42429-1.8361l.68593-4.1692c.09296-.5651-.08673-1.1416-.48052-1.5418l-2.90564-2.9526c-.99167-1.0077-.44446-2.7634.92599-2.971l4.0155-.60828c.5442-.08244 1.01465-.43876 1.25803-.95284z",fill:"currentColor"})});i();var B2=require("react/jsx-runtime"),uC=e=>(0,B2.jsx)("svg",{...e,children:(0,B2.jsx)("path",{clipRule:"evenodd",d:"m11.985 5.812-1.0288 2.17325c-.586 1.23773-1.74668 2.14615-3.14789 2.35845l-2.51017.3802 1.88529 1.9158c.96838.984 1.38702 2.3703 1.16718 3.7065l-.42276 2.5696 2.07515-1.1373c1.2371-.678 2.727-.678 3.9641 0l2.0751 1.1373-.4227-2.5696c-.2199-1.3362.1988-2.7225 1.1672-3.7065l1.8853-1.9158-2.5102-.3802c-1.4012-.2123-2.5619-1.12072-3.1479-2.35845zm1.4983-2.69239c-.6128-1.2946-2.3837-1.2946-2.9965 0l-1.79583 3.79325c-.24338.51408-.71383.87041-1.25803.95284l-4.0155.60828c-1.37045.2076-1.91766 1.96332-.926 2.97102l2.90565 2.9526c.39379.4002.57348.9767.48052 1.5417l-.68593 4.1692c-.2341 1.4229 1.19852 2.508 2.42429 1.8362l3.59153-1.9684c.4868-.2668 1.0683-.2668 1.5551 0l3.5915 1.9684c1.2258.6718 2.6584-.4133 2.4243-1.8362l-.6859-4.1692c-.093-.565.0867-1.1415.4805-1.5417l2.9057-2.9526c.9916-1.0077.4444-2.76342-.926-2.97102l-4.0155-.60828c-.5442-.08243-1.0147-.43875-1.2581-.95284z",fill:"currentColor",fillRule:"evenodd"})});i();var O2=require("react/jsx-runtime"),lC=e=>(0,O2.jsx)("svg",{...e,children:(0,O2.jsx)("path",{clipRule:"evenodd",d:"M2 6.28571C2 5.49673 2.63959 4.85714 3.42857 4.85714H20.5714C21.3604 4.85714 22 5.49673 22 6.28571C22 7.07469 21.3604 7.71428 20.5714 7.71428H3.42857C2.63959 7.71428 2 7.07469 2 6.28571ZM4.85714 12C4.85714 11.211 5.49674 10.5714 6.28571 10.5714H17.7143C18.5033 10.5714 19.1429 11.211 19.1429 12C19.1429 12.789 18.5033 13.4286 17.7143 13.4286H6.28571C5.49674 13.4286 4.85714 12.789 4.85714 12ZM9.85714 16.2857C9.06816 16.2857 8.42857 16.9253 8.42857 17.7143C8.42857 18.5033 9.06817 19.1429 9.85714 19.1429H14.1429C14.9318 19.1429 15.5714 18.5033 15.5714 17.7143C15.5714 16.9253 14.9318 16.2857 14.1429 16.2857H9.85714Z",fill:"currentColor",fillRule:"evenodd"})});i();var M2=require("react/jsx-runtime"),cC=e=>(0,M2.jsx)("svg",{...e,children:(0,M2.jsx)("path",{d:"m8.67556 21.6465 1.89584.3535.3926-1.9249c1.1027.034 2.1897-.0828 3.2074-.367l1.0729 1.7617 1.6555-.9092c.6409-.3283 1.255-.7575 1.7891-1.2373l1.3885-1.2374-1.4908-1.4954c.5245-.7911.9285-1.7273 1.1783-2.8192l2.0748.1226.1335-1.7929c.0268-.3282.0268-.6817.0268-1.01v-.2273-.0001c0-.2525 0-.4545-.0268-.6818l-.1335-1.81815-2.1093.12467c-.3096-1.10015-.8292-1.97313-1.4952-2.64471l1.0411-1.92441-1.7089-.83334c-.6676-.30303-1.3885-.55556-2.1629-.70708l-1.8692-.37878-.4549 2.02227c-1.0724.02298-2.1706.21979-3.21617.5585l-.97506-1.72218-1.68224.85858c-.61415.30303-1.2016.68182-1.76234 1.08586l-1.52203 1.16163 1.46422 1.72321c-.47141.78434-.85454 1.74705-1.11019 2.78393l-2.06298-.1637-.1602 1.8182c-.02671.4041-.05341.808-.05341 1.1869 0 .2524 0 .505.0267.7575l.10681 1.8182 2.10099-.1241c.27942 1.014.75807 1.9261 1.47723 2.6267l-.8813 2.0681 1.76235.6566c.0465.0165.09173.033.13625.0493.16001.0583.31079.1132.4779.1528.48065.1262.98799.2524 1.46863.3282zm.61417-12.55053c2.29637-1.71717 6.72897-1.81818 6.78237 2.34843.0534 4.1668-3.3378 5.2526-6.22162 4.4192-2.88385-.8333-2.13619-5.606-.56075-6.76763z",fill:"currentColor"})});i();var I2=require("react/jsx-runtime"),fC=e=>(0,I2.jsx)("svg",{...e,children:(0,I2.jsx)("path",{d:"m4.217 3.06901c.04358-.54546-.36709-1.02266-.91726-1.06587-.55017-.0432-1.03149.36395-1.07507.9094-.40883 5.11717-.16781 10.44226.00568 14.27546.07054 1.5585.12991 2.8704.12992 3.8213 0 .5472.44739.9907.99929.9907.55188 0 .99928-.4435.99928-.9907 0-1.0818-.06403-2.4873-.13829-4.1175-.1733-3.8042-.40231-8.83162-.00355-13.82279zm9.9563 12.74949c-2.2507.1558-5.3327.2449-6.97506-.1558-.97326-.2449-1.05436-.7346-1.1963-5.3426l-.00276-.09c-.13968-4.53423-.17773-5.76919.12443-6.47688.34469-.8459 1.56125-1.06851 2.98058-1.29111 1.27741-.20035 11.58171-.88811 12.66971 0 .5698.46517-.7384 1.42159-2.4235 2.65368-1.5322 1.12022-3.376 2.46834-4.4034 3.88231 1.3949 1.3481 3.0566 2.4259 4.4165 3.308 1.8792 1.2189 3.1824 2.0642 2.4104 2.7326-.6999.6059-2.7027.6408-4.8097.6775-.9455.0165-1.9119.0333-2.7909.1023z",fill:"currentColor"})});i();var yn=require("react/jsx-runtime"),pC=({...e})=>(0,yn.jsx)("svg",{...e,children:(0,yn.jsxs)("g",{id:"path",children:[(0,yn.jsx)("path",{d:"M7.65627 1.71562C6.06613 2.32378 4.62011 3.29415 3.51622 4.59949C1.96831 6.4299 1.05108 8.79219 0.845234 11.1393C1.09887 11.1103 1.40015 11.0776 1.74531 11.0428C2.57641 10.9591 3.66238 10.8638 4.95062 10.7817C5.01134 9.27806 5.28616 7.82783 5.67836 6.4794C6.19762 4.69416 6.92703 3.0717 7.65627 1.71562Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M6.45598 10.6976C6.52204 9.38849 6.76617 8.11027 7.11867 6.89833C7.77653 4.63656 8.80374 2.63467 9.71201 1.14475C10.3391 1.03232 10.9748 0.972202 11.6088 0.96582C11.6319 1.0021 11.6561 1.04012 11.6811 1.07984C11.9491 1.50469 12.3203 2.12264 12.7281 2.88811C13.5459 4.42302 14.5009 6.53176 15.0748 8.85394C15.2228 9.45317 15.3448 10.0635 15.4326 10.6794C12.1484 10.5285 9.13304 10.5738 6.653 10.6883C6.58695 10.6913 6.52127 10.6944 6.45598 10.6976Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M4.9638 12.284C3.73179 12.3635 2.69271 12.455 1.89556 12.5353C1.45914 12.5792 1.09536 12.6198 0.812256 12.6531C0.93317 15.3097 2.01391 17.7905 4.17645 19.2687C5.27269 20.018 6.85073 20.5926 8.60938 20.8635C6.93244 18.9808 5.91554 16.9895 5.38983 14.9839C5.15227 14.0776 5.01657 13.1745 4.9638 12.284Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M10.8824 21.0346C8.63427 18.9674 7.40822 16.7683 6.84082 14.6036C6.63042 13.8009 6.50902 12.9969 6.46149 12.1991C6.54769 12.1949 6.63459 12.1907 6.72216 12.1867C9.22193 12.0713 12.2664 12.0277 15.575 12.1878C15.6313 13.4726 15.5143 14.7616 15.1537 16.0051C14.6398 17.7773 13.6207 19.4948 11.8349 21.0003C11.5168 21.0226 11.1988 21.0338 10.8824 21.0346Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M16.5944 16.4229C16.1733 17.875 15.4618 19.2766 14.3822 20.5674C17.6751 19.644 20.5203 17.2629 21.094 12.6429C19.7333 12.4812 18.3897 12.3608 17.0794 12.2739C17.1265 13.6484 16.9926 15.0498 16.5944 16.4229Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M16.531 8.4941C16.7122 9.22762 16.8596 9.98738 16.9572 10.7629C18.3381 10.8507 19.7575 10.9751 21.1969 11.1446L21.1977 11.0964C21.2835 4.96044 17.6372 1.77532 13.4486 1.10179C13.6348 1.42031 13.8387 1.78254 14.0519 2.18276C14.905 3.78384 15.9176 6.01212 16.531 8.4941Z",fill:"currentColor"})]})});i();var k2=require("react/jsx-runtime"),dC=e=>(0,k2.jsx)("svg",{...e,children:(0,k2.jsx)("path",{clipRule:"evenodd",d:"m14.6005 10.65c-.6903 0-1.25-.5597-1.25-1.25002v-6.14997c0-.69036.5597-1.25001 1.25-1.25001h6.1497c.6903 0 1.25.55965 1.25 1.25001v6.14997c0 .69032-.5597 1.25002-1.25 1.25002zm-12.6005 10.1c0 .6904.55965 1.25 1.25001 1.25h6.14961c.69038 0 1.25008-.5596 1.25008-1.25v-6.1499c0-.6903-.5597-1.25-1.25008-1.25h-6.14961c-.69036 0-1.25001.5597-1.25001 1.25zm11.3505 0c0 .6904.5597 1.25 1.25 1.25h6.1497c.6903 0 1.25-.5596 1.25-1.25v-6.1499c0-.6903-.5597-1.25-1.25-1.25h-6.1497c-.6903 0-1.25.5597-1.25 1.25zm-11.3505-11.35002c0 .69032.55965 1.25002 1.25001 1.25002h6.14961c.69038 0 1.25008-.5597 1.25008-1.25002v-6.14997c0-.69036-.5597-1.25001-1.25008-1.25001h-6.14961c-.69036 0-1.25001.55965-1.25001 1.25001z",fill:"currentColor",fillRule:"evenodd"})});i();var N2=require("react/jsx-runtime"),mC=e=>(0,N2.jsx)("svg",{...e,children:(0,N2.jsx)("path",{clipRule:"evenodd",d:"m22.0882 7.28569c-.0338.55114-.5079.9675-1.0591.92995-3.7464-.25521-6.8936-.23457-9.7993-.18333-.3986.00703-.7934.01466-1.1851.02223-2.4532.04744-4.78505.09252-7.17257-.02796-.55162-.02783-.97929-.49765-.95522-1.04937s.49076-.97641 1.04239-.94857c2.31236.11668 4.56689.07325 7.02439.0259.39351-.00758.79231-.01527 1.19731-.02241 2.9241-.05155 6.1384-.0734 9.9705.18765.5511.03754.9705.51477.9367 1.06591zm0 5.78541c-.0338.5512-.5079.9675-1.0591.93-3.7464-.2552-6.8936-.2346-9.7993-.1834-.3988.0071-.7938.0147-1.1857.0223-2.45322.0474-4.78446.0925-7.17197-.028-.55162-.0278-.97929-.4976-.95522-1.0493.02407-.5518.49076-.9765 1.04239-.9486 2.31235.1167 4.56688.0732 7.02436.0259.39354-.0076.79234-.0153 1.19734-.0224 2.9241-.0516 6.1384-.0734 9.9705.1876.5511.0376.9705.5148.9367 1.0659zm-.9753 6.5159c.552-.008.99-.4623.9782-1.0147-.0118-.5523-.4689-.9936-1.0209-.9856-6.2773.0914-10.4894-.01-14.77115-.1131-1.10589-.0266-2.21649-.0533-3.36847-.0769-.5521-.0113-1.00577.4273-1.01329.9796-.00753.5523.43393 1.0092.98603 1.0205 1.14246.0234 2.2471.05 3.3496.0765 4.28668.1032 8.54098.2057 14.85998.1137z",fill:"currentColor",fillRule:"evenodd"})});i();var V2=require("react/jsx-runtime"),hC=e=>(0,V2.jsx)("svg",{...e,children:(0,V2.jsx)("path",{d:"m12.7865 2.94054c.7413.21443 1.3767.75049 1.8003 1.39377l6.9896 12.43669c.2118.4288.4236.9649.4236 1.5009 0 1.6082-1.2708 2.8948-2.8594 2.8948h-14.19093c-.52951 0-1.05902-.1072-1.48264-.4289-1.37673-.8577-1.90624-2.6803-1.05902-4.0741l7.09548-12.32939c.2118-.42885.63541-.8577 1.05901-1.07213.6354-.42885 1.4826-.53606 2.224-.32164zm-.5295 2.03704h-.2119c-.2118 0-.3177 0-.4236.10721l-.1588.16082-.1589.16082-7.09545 12.43667c-.2118.3216-.1059.8577.31771 1.0721.08825.0893.25005.1042.36282.1067l14.25172.0005c.4236 0 .8472-.3216.8472-.8577 0-.1072 0-.3216-.1059-.4288l-7.2013-12.32947c-.1059-.21442-.2118-.32164-.4236-.42885zm.6354 11.47172c.4236.4289.4236 1.1794 0 1.6082-.3177.2144-.6354.3216-.8473.3216-.1059 0-.3177 0-.4236-.1072s-.2118-.1072-.3177-.2144c-.3953-.4003-.4217-1.0807-.079-1.5183l.079-.0899c.4236-.4288 1.165-.4288 1.5886 0zm.4236-7.93371v.21443l-.4236 5.03898c0 .7505-.2118 1.3938-.8473 1.3938-.7413 0-.9531-.6433-.9531-1.2866l-.4236-5.03897c0-.75049.5295-1.39376 1.2708-1.50097.7414-.10722 1.3768.42885 1.3768 1.17933z",fill:"currentColor"})});i();var L2=require("react/jsx-runtime"),gC=e=>(0,L2.jsx)("svg",{...e,children:(0,L2.jsx)("path",{d:"m3.81493 6.36059c3.08876-4.51878 10.40947-5.95666 14.79867-2.2448 6.2012 5.24418 4.951 18.09941-6.5912 17.93811-11.542153-.1614-11.296231-11.1745-8.20747-15.69331zm.3161 4.74441c-.21438 1.3577-.18185 2.8247.21769 4.1649.39061 1.3102 1.11527 2.4485 2.26201 3.2804.47657.3457 1.05138.6568 1.74342.9052l.22047-2.8886c-1.45328-.9896-2.00163-2.605-1.99252-4.1767zm15.52497-2.11314-2.0825 1.92114c.4477 2.0742-.1406 4.3636-1.9318 5.6316l.1812 2.9024c.678-.2623 1.2582-.5962 1.7512-.9755 1.2454-.9582 2.0658-2.3068 2.4595-3.8531.4672-1.8346.3121-3.8498-.3776-5.62654zm-5.2445.22952c-.6711-.57069-1.6504-.81143-2.7043-.63891-1.0636.17412-1.97562.73537-2.47215 1.45763-.52483.7633-.86487 2.2708-.50246 3.4986.16442.557.45675 1.0039.90194 1.3287.44947.328 1.20237.6385 2.46407.6595 1.1982.02 1.9722-.2946 2.4683-.6741.5044-.3858.8546-.9408 1.0289-1.6177.3699-1.4361-.1222-3.1105-1.1843-4.01372zm-3.3565-5.09683c-.9833.16372-1.92577.48149-2.77592.92687l2.16822 1.78626c.6128-.20104 1.2593-.30765 1.903-.30943l1.694-2.39577c-.96-.17519-1.9746-.17686-2.9893-.00793z",fill:"currentColor"})});i();var $2=require("react/jsx-runtime"),vC=e=>(0,$2.jsx)("svg",{...e,viewBox:"0 0 24 24",children:(0,$2.jsx)("path",{clipRule:"evenodd",d:"m4.99451 4.11717c-.26525.00112-.51919.10753-.70601.29583-.18671.18841-.29096.44324-.28983.70849.00112.26525.10753.51919.29583.70601l.009.009.0045-.0045 13.932 13.8195-.0045.0045c.1909.1788.4442.2758.7056.2701.2615-.0056.5104-.1134.6934-.3003.1829-.1869.2855-.438.2856-.6995.0001-.2616-.1023-.5128-.2851-.6998l-1.4775-1.4655c2.0625-1.6245 3.9225-3.5325 3.84-4.6875.0675-.957-1.209-2.49-3.024-4.179-2.8755-2.6775-7.899-3.9105-11.553-1.7835l-1.7175-1.704c-.18841-.18671-.44325-.29096-.70849-.28983zm5.95399 5.49333-1.464-1.4505c1.5315-.7665 3.6135-.636 4.9635.519 1.533 1.311 1.983 3.738 1.113 5.508l-1.455-1.4445c.2235-.9285-.081-2.01-.825-2.64-.6315-.534-1.5405-.684-2.3325-.492zm-8.946 2.3145c-.06-.8415.915-2.088 2.25-3.33l3.1155 3.09c-.138 2.1285.897 4.5885 4.3065 4.6365.121.0017.2421-.0003.363-.006l2.4315 2.412c-3.3015.792-7.0905-.432-9.4425-2.622-1.8135-1.689-3.0915-3.2205-3.024-4.1805z",fill:"currentColor"})});i();var z2=require("react/jsx-runtime"),yC=e=>(0,z2.jsx)("svg",{...e,children:(0,z2.jsx)("path",{d:"m20.2951 12.8675c.39.3916 1.0223.3916 1.4123 0 .3901-.3915.3901-1.0264 0-1.418-.5441-.5463-1.0963-1.185-1.7355-1.92403-1.5548-1.798-3.6235-4.19026-7.3397-7.29367-.3677-.30698-.9005-.30929-1.2707-.00552-2.80856 2.30436-4.3166 3.73206-9.11644 9.27432-.3619.4179-.31787 1.0512.09835 1.4145.41623.3634 1.04703.3192 1.40893-.0987.22242-.2568.43756-.5046.64588-.7437-.12635 2.67-.31165 6.9451-.23082 7.493.03562.2352.06232.4794.08762.7106.05894.539.11018 1.0073.24856 1.1258.2571.2118.73171.2329 2.49178.2541.43145.0052 1.20203.0212 2.13063.0436-.04005-.8221-.09121-2.9385-.11733-4.0194l-.00919-.3784c-.01478-.1881-.01071-.5289-.00583-.9389.00278-.2332.00583-.4887.00583-.7514.02316-1.5293.99606-2.8171 2.31633-3.0049 1.4361-.2147 2.71.9122 2.9649 2.5488.0232.1342.0463.2683.0694.3756.1622.8049.278 4.9904.139 6.0636-.013.0978-.0151.1825-.0169.2563v.0011c1.1948.0404 2.1271.0788 2.4112.1058.8899.0847 1.9183.0847 2.0567-.4233.2768-1.0162.4548-5.9783.4548-6.6981.0122-.5599.0019-1.8728-.017-2.9434.3011.335.6026.6584.9172.9743z",fill:"currentColor"})});i();var H2=require("react/jsx-runtime"),bC=e=>(0,H2.jsx)("svg",{...e,children:(0,H2.jsx)("path",{d:"m15.7232 10.2988c-.6792.8959-.3199 2.4081.2552 2.9902.575.5821.2595.2692 2.8516 3.3035 2.5921 3.0344-.2717 3.8307-2.8485 3.8203l-7.07912-.0286c-2.54232-.0103-5.19674-1.1217-2.25149-4.8988.67569-.7818 1.33873-1.5406 1.9048-2.1733.77137-.8621.78975-2.2582.04095-3.1399-.89303-1.05163-1.88693-2.29888-2.76384-3.4247-1.43635-2.02599-.07259-3.1681 1.57519-3.16031l9.31711.04403c1.6246.00768 2.5595 1.84424 1.601 3.15606-.8543 1.16929-1.8098 2.46542-2.6029 3.51152zm.8976 8.1748c-1.0924.2669-6.5677.2362-8.11503-.0174-1.54734-.2535-.98222-1.1902-.42583-1.8964.55639-.7061 1.20002-1.166 1.79963-1.8301.45553-.5046.92993-.9558 1.41473-1.4203.0189-.0182.0205-.0197.0076-.0097.3977-.3063 1.1425-.4605 1.6217-.2591.6321.2657 1.1417.8642 1.6292 1.3291.7252.6914 1.6262 1.596 2.4986 2.5248.5045.537.6617 1.3122-.4306 1.5791z",fill:"currentColor",fillRule:"evenodd"})});i();var G2=require("react/jsx-runtime"),CC=e=>(0,G2.jsx)("svg",{...e,children:(0,G2.jsx)("path",{d:"M20.9995 14.0626C20.9631 16.5163 18.9626 18.4942 16.5002 18.4942H13.263V12.8027L14.6115 14.1068C15.0581 14.5387 15.7702 14.5268 16.2022 14.0802C16.6342 13.6336 16.6222 12.9213 16.1757 12.4894L13.0084 9.42632C12.9532 9.359 12.8904 9.2982 12.8212 9.24525C12.3745 8.81431 11.6631 8.82653 11.2314 9.27282L7.98828 12.6262C7.55634 13.0729 7.56825 13.7851 8.01486 14.217C8.46148 14.649 9.17371 14.6371 9.60565 14.1904L11.013 12.7352V18.4942H7.50003C5.03754 18.4942 3.03702 16.5163 3.00051 14.0626L3 14.0284V13.9943C3.03192 11.8494 4.56491 10.0682 6.59484 9.65361C6.72933 6.7847 9.09789 4.5 12.0001 4.5C14.9886 4.5 17.4114 6.92271 17.4114 9.91127C17.4114 9.98315 17.4099 10.0546 17.4072 10.1256C19.3761 10.1616 20.9661 11.8738 20.9995 13.9943L21 14.0281L20.9995 14.0626Z",fill:"currentColor"})});i();var j2=require("react/jsx-runtime"),xC=e=>(0,j2.jsx)("svg",{...e,children:(0,j2.jsx)("path",{d:"m21.9985 12.0962c.156-11.337814-12.26789-12.565873-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.5688-1.5609v7.29h-2.4297v-7.29zm-.3492-2.77932c-.2329.23288-.5214.34931-.8656.34931s-.6328-.11643-.8656-.34931c-.2329-.23287-.3493-.52144-.3493-.86569s.1164-.63281.3493-.86568c.2328-.23288.5214-.34932.8656-.34932s.6327.11644.8656.34932c.2328.23287.3492.52143.3492.86568s-.1164.63282-.3492.86569z",fill:"currentColor"})});i();var _2=require("react/jsx-runtime"),wC=e=>(0,_2.jsx)("svg",{...e,children:(0,_2.jsx)("path",{d:"m17.556 2c-.5523 0-1 .44771-1 1v2.43713h-2.4371c-.5523 0-1 .44772-1 1 0 .55229.4477 1 1 1h2.4371v2.43706c0 .55231.4477 1.00001 1 1.00001s1-.4477 1-1.00001v-2.43706h2.4371c.5523 0 1-.44771 1-1 0-.55228-.4477-1-1-1h-2.4371v-2.43713c0-.55229-.4477-1-1-1zm-11.16851 1.26404c1.23017-.04521 2.91132-.02893 3.79511.2616.5235.17684.5544.48675.507 3.38818l-.001.05678c-.0467 2.85493-.0594 3.6326-.2431 4.0706-.2107.5239-.87939.6353-1.65859.742-.70121.096-5.08453.1317-5.9701-.1168-.54681-.1498-.67672-.7304-.73486-3.74861-.06216-3.43916.04971-3.98138.6889-4.17828.6165-.18385 2.06436-.40204 3.61664-.47547zm.12642 18.83116c-1.22709.0981-2.90743.1543-3.80287-.098-.53064-.1541-.57486-.4625-.65224-3.3633l-.00151-.0567c-.07615-2.8543-.0969-3.6317.06784-4.0772.18793-.5325.85123-.6727 1.62507-.8128.69645-.1261 5.07421-.3503 5.96961-.1401.55279.1261.70749.7007.89549 3.7136.21 3.4333.1212 4.1716-.5089 4.3958-.54029.1923-1.46289.2656-2.56636.3533h-.00003-.00022c-.32776.026-.67148.0534-1.02588.0854zm5.85269-7.7969c-.2522.8955-.3521 2.4643-.254 3.6914.1402 1.5478.3059 2.9399.5161 3.5479.2242.6301 1.1312.7485 4.5645.5384 3.0129-.1879 3.5875-.3426 3.7136-.8953.2102-.8955-.014-5.2733-.1401-5.9698-.1402-.7737-.2803-1.4371-.8128-1.625-.4455-.1647-1.2229-.144-4.0773-.0678l-.0567.0015c-2.9008.0774-3.2991.2481-3.4533.7787z",fill:"currentColor"})});i();var Fl=require("react/jsx-runtime"),SC=e=>(0,Fl.jsxs)("svg",{...e,children:[(0,Fl.jsx)("path",{clipRule:"evenodd",d:"M15.125 3.12081C18.0843 5.62343 17.4877 11.7582 11.9795 11.6812C6.47136 11.6042 6.43167 6.04421 7.90568 3.88776C9.37969 1.73131 13.0303 1.34944 15.125 3.12081ZM3.0867 22.0565C2.57221 22.0699 2.11037 21.7159 2.06799 21.2867C1.82858 19.0425 2.14219 16.2745 4.3016 14.5465C7.60285 11.9186 14.0238 12.3416 17.9678 14.1067C15.7016 14.5823 14 16.5924 14 19C14 20.1954 14.4195 21.2928 15.1193 22.153L3.0867 22.0565Z",fill:"currentColor",fillRule:"evenodd"}),(0,Fl.jsx)("path",{clipRule:"evenodd",d:"M18.3015 16.7C18.3015 16.3134 18.6149 16 19.0015 16C19.3881 16 19.7015 16.3134 19.7015 16.7V18.3012H21.3025C21.6891 18.3012 22.0025 18.6146 22.0025 19.0012C22.0025 19.3878 21.6891 19.7012 21.3025 19.7012H19.7015V21.3025C19.7015 21.6891 19.3881 22.0025 19.0015 22.0025C18.6149 22.0025 18.3015 21.6891 18.3015 21.3025V19.7012H16.7C16.3134 19.7012 16 19.3878 16 19.0012C16 18.6146 16.3134 18.3012 16.7 18.3012H18.3015V16.7Z",fill:"currentColor",fillRule:"evenodd"})]});i();var W2=require("react/jsx-runtime"),DC=({...e})=>(0,W2.jsx)("svg",{...e,children:(0,W2.jsx)("path",{clipRule:"evenodd",d:"M10.9912 2.11398C13.1572 1.94882 16.3205 1.97579 18.5935 2.11398C19.3811 2.16116 20.1345 2.60607 19.4239 3.66777C18.2339 5.44738 16.9412 6.85287 15.3189 8.67629C16.6715 8.64259 18.1183 8.58866 19.5865 8.62911C20.8579 8.66618 21.5256 9.28972 20.494 10.3649C16.9027 14.1028 12.2839 17.9788 7.77226 21.0493C5.69192 22.4649 4.57469 22.384 5.34947 20.2337C6.00011 18.4305 7.42982 15.4139 8.80387 12.9399C7.47262 13.0074 5.53782 13.0208 4.18945 12.9939C3.1878 12.9737 2.81539 12.4276 3.08507 11.6962C4.02679 9.1212 6.26123 5.60579 8.21743 3.39476C9.04786 2.45777 9.48448 2.22857 10.9912 2.11398Z",fill:"currentColor",fillRule:"evenodd"})});i();var U2=require("react/jsx-runtime"),EC=e=>(0,U2.jsx)("svg",{...e,children:(0,U2.jsx)("path",{d:"m19.1411 3.22522c-1.6336-1.63363-4.2823-1.63363-5.9159 0l-4.42241 4.42244c-1.63362 1.63364-1.63362 4.28224 0 5.91594l1.12908 1.1291c.54453.5445 1.42743.5445 1.97203 0 .5445-.5446.5445-1.4275 0-1.972l-1.1291-1.1291c-.5446-.5445-.5446-1.4274 0-1.97196l4.4224-4.42245c.5445-.54454 1.4275-.54454 1.972 0l1.6336 1.63364c.5446.54455.5446 1.42744 0 1.97198l-1.514 1.51399c-.5445.5445-.5445 1.4274 0 1.972.5445.5445 1.4274.5445 1.972 0l1.514-1.514c1.6337-1.63365 1.6337-4.28229 0-5.91593zm-14.28222 17.54948c1.63363 1.6337 4.28228 1.6337 5.91592 0l4.4224-4.4224c1.6337-1.6336 1.6337-4.2822 0-5.9159l-.891-.89097c-.5445-.54454-1.4274-.54454-1.9719 0-.5446.54457-.5446 1.42747 0 1.97197l.891.891c.5445.5445.5445 1.4274 0 1.972l-4.42248 4.4224c-.54455.5445-1.42742.5445-1.97198 0l-1.63365-1.6337c-.54454-.5445-.54454-1.4274 0-1.9719l1.51404-1.5141c.54454-.5445.54454-1.4274 0-1.9719-.54455-.5446-1.42744-.5446-1.97197 0l-1.51405 1.514c-1.63362 1.6337-1.63361 4.2823.00002 5.9159z",fill:"currentColor"})});i();var K2=require("react/jsx-runtime"),PC=e=>(0,K2.jsx)("svg",{...e,children:(0,K2.jsx)("path",{clipRule:"evenodd",d:"m9.59493 13.25c.70527 0 1.19227.4311 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.6964.43658-1.1773 1.10704-1.2424l.15879-.0076zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm-11.13927-12.5c.70527 0 1.19227.43112 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.69643.43658-1.1773 1.10704-1.24244l.15879-.00756zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.17729-1.107 1.24243l-.1588.00757h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.69642.4366-1.17729 1.1071-1.24243l.1588-.00757zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.1773-1.107 1.24244l-.1588.00756h-6.3291c-.6329 0-1.2659-.5-1.2659-1.25 0-.69643.4366-1.1773 1.1071-1.24244l.1588-.00756z",fill:"currentColor",fillRule:"evenodd"})});i();var q2=require("react/jsx-runtime"),TC=e=>(0,q2.jsx)("svg",{...e,children:(0,q2.jsx)("path",{d:"m22.9958 11.8791c-.0478 1.702-.5318 3.3895-1.4008 4.8848-.0956.168-.2708.2707-.4681.2768-.19.0048-.3505-.0762-.4498-.2225-.0464-.0856-.1002-.1603-.1479-.2267l-.0004-.0005c-.0171-.023-.0331-.0459-.0539-.0762-.1373-.1849-.1557-.4073-.0527-.5959.7145-1.2596 1.0981-2.6291 1.1398-4.0809v-.2671c0-2.35354-.929-4.59584-2.6166-6.31354-1.7648-1.79263-4.1375-2.81406-6.6878-2.87571h-.2574c-2.49402 0-4.85688.92593-6.65354 2.60857-1.80157 1.68626-2.83103 3.94308-2.89721 6.35578-.04167 1.6585.36644 3.2819 1.17653 4.6865.1103.2067.09804.4461-.04167.6516-.00792.0135-.0171.0274-.02656.0417-.00665.01-.01343.0203-.02001.0308-.01961.029-.03922.0592-.05393.0822-.11642.1813-.31374.2889-.53434.2841-.21815-.0037-.40566-.1112-.51596-.2938-.99269-1.6838-1.486591-3.5913-1.42899-5.5169.07966-2.82857 1.29786-5.4589 3.4291-7.40627 2.05893-1.87967 4.73186-2.90593 7.55798-2.90593.103 0 .2059 0 .3088.00484 2.9438.07615 5.6731 1.25109 7.6867 3.30604 2.0197 2.05253 3.0884 4.74088 3.0087 7.56822zm-3.391.5476c-.0307 1.1242-.277 2.1855-.7341 3.1598-.0834.1837-.2304.3203-.413.3844-.1778.0604-.3689.0459-.5405-.0399l-.0662-.0339h-.0172c-.3394-.2018-.4644-.6467-.2843-1.0419.3481-.764.5442-1.621.5662-2.4768.0441-1.6742-.5466-3.26741-1.6643-4.48829-1.1263-1.21725-2.6484-1.91352-4.2931-1.95945h-.1581c-1.5969 0-3.10922.63461-4.25878 1.78538-1.14712 1.14956-1.80402 2.68836-1.84569 4.33106-.02206.8462.1152 1.6718.40934 2.4539.14094.3663.0147.7712-.29291.9719l-.07966.035c-.17525.0907-.38482.1016-.57233.0327-.19242-.0726-.34071-.2164-.41547-.4086-.39462-.9949-.57968-2.0525-.54904-3.1465.05515-2.15044.9449-4.1377 2.5038-5.5955 1.46576-1.37077 3.35434-2.09484 5.31404-2.04165 1.9351.04956 3.7428.84374 5.1203 2.2411l-.0086.00846.1937.20912c1.4057 1.52187 2.1471 3.51757 2.0859 5.61967zm-5.3532-2.91072c2.1287 1.76482 1.7071 6.09952-2.2624 6.04882-3.95856-.0508-3.9892-3.989-2.93032-5.5085 1.05892-1.51944 3.68152-1.79505 5.19272-.54032zm-8.66839 13.38252c-.37011.0109-.69979-.2345-.73043-.5403v-.0012c-.17525-1.5811.05148-3.5394 1.60425-4.7639 3.25997-2.5602 10.76767-1.0407 12.06317 1.4179.5453 1.0106.761 2.2145.6483 3.3871-.0111.3263-.3812.6019-.8334.6019z",fill:"currentColor",fillRule:"evenodd"})});i();var X2=require("react/jsx-runtime"),AC=e=>(0,X2.jsx)("svg",{...e,children:(0,X2.jsx)("path",{d:"m12 3c3.3137 0 5.9999 2.68629 5.9999 6 .8285 0 1.5.67158 1.5 1.5v9c0 .8284-.6715 1.5-1.5 1.5h-11.9999c-.82844 0-1.5-.6716-1.5-1.5v-9c0-.82842.67156-1.5 1.5-1.5 0-3.31371 2.68629-6 6-6zm0 3c-1.6569 0-3 1.34314-3 3h5.9999c0-1.65686-1.343-3-2.9999-3zm0 12c1.6569 0 2.9999-1.3431 2.9999-3s-1.343-3-2.9999-3-3 1.3431-3 3 1.3431 3 3 3z",fill:"currentColor"})});i();var Y2=require("react/jsx-runtime"),RC=e=>(0,Y2.jsx)("svg",{...e,children:(0,Y2.jsx)("path",{d:"m2.70507 7.67368c1.74622-5.02899 8.66503-6.766142 13.67123-4.38094 7.0728 3.36988 9.1132 15.77696-1.6595 18.53426-10.77276 2.7573-13.757949-9.1243-12.01173-14.15332zm7.80893-.83709c-.3854-.38176-1.00379-.37523-1.38114.0146l-2.96599 3.06372c-.02406.02443-.04687.05013-.06831.07698-.0482.06031-.08835.12501-.12044.19261-.05827.1225-.09227.259-.09573.4033-.00048.0193-.00031.0386.00025.0579.00388.1177.02812.2303.06928.3341.04648.1175.11615.2278.20904.3237l2.9719 3.0699c.37735.3898.99574.3963 1.38114.0145.3853-.3818.3918-1.0072.0143-1.3971l-1.34627-1.3907h1.58317c2.6969 0 4.8831 2.2116 4.8831 4.9397v.4083c0 .5457.4372.988.9766.988s.9766-.4423.9766-.988v-.4083c0-3.8194-3.0607-6.91554-6.8363-6.91554h-1.58306l1.34616-1.39058c.3775-.38982.371-1.01532-.0143-1.39709z",fill:"currentColor"})});i();var J2=require("react/jsx-runtime"),FC=e=>(0,J2.jsx)("svg",{...e,children:(0,J2.jsx)("path",{clipRule:"evenodd",d:"m12.0946 20.4146c-2.54091-.0423-5.06588-.0847-6.15454-.0847-3.43484 0-3.51232-.6046-3.74674-2.4432-.024-.1906-.0495-.381-.07648-.5712-.19072-1.292-.10927-9.0787-.02682-10.80108.00993-.23536.01092-.45497.0139-.66079.01689-1.62391.02384-2.35363 3.34445-2.35363 2.48524 0 7.86103.07189 11.47163.12113 1.8247.02462 3.1985.04333 3.5193.04333.9555.03348 1.4194 1.09311 1.474 2.08774.0547.99463.0269 5.566 0 7.0569-.0079.3349.011.8312.0338 1.4103.0586 1.5461.1391 3.6801-.1976 4.8845-.3 1.1935-1.7204 1.3925-2.9213 1.3925-.7103.0177-3.7329-.0325-6.7336-.0818zm-7.78952-14.74217.03775.9769c.00376.10022.04593.19523.11791.26568s.16836.11103.26947.11347l1.28136.03052c.05395.00123.10758-.00845.15762-.02844.05005-.01999.09547-.04988.13348-.08785.03801-.03796.06783-.0832.08763-.13296.0198-.04977.02917-.10301.02753-.15648l-.02781-.92766c-.00278-.09829-.04254-.19199-.11147-.2627-.06892-.0707-.16203-.11329-.26102-.1194l-1.29129-.07878c-.05542-.00335-.11094.00486-.16297.0241-.05203.01923-.09941.04907-.13909.08757-.03969.03851-.07079.08484-.0913.136-.02051.05115-.02998.10502-.0278.16003zm3.23121.9769-.03774-.97591c-.00219-.05501.00728-.10987.0278-.16102.02051-.05116.05161-.09749.09129-.136.03969-.0385.08707-.06834.1391-.08757.05203-.01924.10754-.02745.16297-.0241l1.29129.07878c.09899.00611.19209.0487.26102.1194.06892.07071.10869.16441.11147.2627l.02781.92766c.00164.05356-.00776.10688-.02762.15671s-.04976.09512-.08789.1331c-.03812.03798-.08365.06785-.13382.08778-.05016.01993-.1039.02951-.15792.02814l-1.28037-.03052c-.10112-.00244-.19749-.04302-.26947-.11347s-.11415-.16546-.11792-.26568zm11.65041 11.52887-.0397-.9769c-.004-.1001-.0463-.1948-.1182-.2651-.072-.0702-.1682-.1107-.2692-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0381.038-.068.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1115.2627.0689.0707.162.1133.261.1194l1.2913.0788c.0555.0035.1111-.0046.1633-.0238.0521-.0192.0996-.049.1394-.0875s.071-.0849.0916-.1362c.0205-.0512.03-.1061.0278-.1612zm-8.4579-11.52887-.0388-.97591c-.0022-.0551.0073-.11004.0279-.16127s.0518-.09761.0916-.13613c.0397-.03852.0873-.06834.1394-.08751s.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0278.92766c.0016.05356-.0078.10688-.0276.15671-.0199.04983-.0498.09512-.0879.1331-.0382.03798-.0837.06785-.1339.08778-.0501.01993-.1039.02951-.1579.02814l-1.2803-.03052c-.1012-.00244-.1975-.04302-.2695-.11347s-.1142-.16546-.1179-.26568zm3.1547 10.56767.0397.9769c.0038.1003.046.1953.1179.2657.072.0705.1684.111.2695.1135l1.2794.0305c.054.0014.1077-.0082.1579-.0281.0502-.02.0957-.0498.1338-.0878.0382-.038.0681-.0833.0879-.1331.0199-.0498.0293-.1032.0276-.1567l-.0278-.9277c-.0028-.0983-.0425-.192-.1114-.2627-.069-.0707-.1621-.1133-.2611-.1194l-1.2913-.0788c-.0554-.0034-.1109.0046-.163.0237-.0521.0192-.0995.0489-.1393.0873s-.071.0847-.0916.1358c-.0207.0511-.0303.1059-.0282.1609zm2.07-11.56033.0388.97691c.0022.0551-.0073.11004-.0279.16126-.0206.05123-.0518.09761-.0916.13613-.0397.03853-.0873.06834-.1394.08751s-.1078.02727-.1633.02378l-1.2913-.07878c-.099-.00611-.1921-.0487-.261-.1194s-.1087-.16441-.1115-.2627l-.0268-.92865c-.0015-.05347.008-.10668.0279-.1564.02-.04971.0499-.09488.088-.13275.0381-.03788.0836-.06766.1337-.08753s.1037-.02942.1577-.02806l1.2793.03053c.101.00242.1972.04286.2692.11311.0719.07024.1142.16501.1182.26504zm-3.1547 12.52153-.0397-.9769c-.004-.1001-.0463-.1948-.1183-.2651-.0719-.0702-.1682-.1107-.2691-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0382.038-.0681.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1114.2627.069.0707.1621.1133.2611.1194l1.2913.0788c.0555.0035.1111-.0046.1632-.0238.0522-.0192.0997-.049.1395-.0875s.071-.0849.0915-.1362c.0206-.0512.0301-.1061.0279-.1612zm4.3169-11.52887-.0387-.97591c-.0022-.0551.0073-.11004.0278-.16127.0206-.05123.0518-.09761.0916-.13613s.0873-.06834.1394-.08751c.0522-.01917.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0268.92766c.0017.05356-.0077.10688-.0276.15671s-.0498.09512-.0879.1331-.0836.06785-.1338.08778-.1039.02951-.1579.02814l-1.2794-.03052c-.1011-.00244-.1975-.04302-.2695-.11347s-.1141-.16546-.1179-.26568zm-9.61715 10.56767.03774.9769c.00377.1003.04594.1953.11792.2657.07198.0705.16835.111.26947.1135l1.28037.0305c.05402.0014.10776-.0082.15792-.0281.05017-.02.0957-.0498.13382-.0878.03813-.038.06803-.0833.08789-.1331s.02926-.1032.02762-.1567l-.02781-.9277c-.00278-.0983-.04255-.192-.11147-.2627-.06893-.0707-.16203-.1133-.26102-.1194l-1.29129-.0788c-.05534-.0033-.11077.0049-.16273.0241-.05196.0191-.09929.0489-.13896.0873-.03966.0384-.07079.0846-.09136.1356-.02058.0511-.03016.1058-.02811.1607zm-1.12442-.0157.03874.9769c.0022.0551-.0073.11-.02787.1612-.02057.0513-.05177.0977-.09156.1362s-.0873.0683-.13945.0875c-.05214.0192-.10777.0273-.16328.0238l-1.29129-.0788c-.09899-.0061-.19209-.0487-.26102-.1194-.06892-.0707-.10868-.1644-.11147-.2627l-.02682-.9287c-.00163-.0535.00776-.1068.02762-.1567.01987-.0498.04977-.0951.08789-.1331.03812-.0379.08366-.0678.13382-.0877.05017-.02.1039-.0296.15793-.0282l1.27937.0315c.10095.0024.19719.0429.26914.1131.07196.0703.11424.165.11825.2651zm3.80237-2.9248c.7986-.4491 3.1935-1.8288 3.8699-2.7082.0695-.0866.0348-.2068-.0517-.259l-3.7834-1.9656c-.1212-.06893-.26029.01773-.26029.13787-.03477.91383-.03476 3.72543-.03476 4.63833 0 .1379.13905.2245.26025.1556z",fill:"currentColor",fillRule:"evenodd"})});i();var Z2=require("react/jsx-runtime"),BC=e=>(0,Z2.jsx)("svg",{...e,children:(0,Z2.jsx)("path",{clipRule:"evenodd",d:"m17.5195 3.01289c-4.627 1.42268-11.69556 3.59505-15.22532 6.18514-.42573.28958-.38276 3.56277.08595 3.85137l3.70565.9222c0 1.5508.65158 6.8268 4.88692 7.9398 2.7752.5721 4.9538-1.682 6.3529-5.1187 1.3822.3522 2.4765.6347 3.0381.787.9834.4561 1.0593.1413 1.1653-.2986l.028-.113c.7675-5.272.3407-12.86975.1699-14.64054-.042-.41268-.6806-.65887-1.2353-.45404-.7635.26032-1.7888.57512-2.9721.93937zm-1.9957 13.32381c-2.4993-.6302-4.9994-1.2571-7.50025-1.8808.13291 2.0079.52966 4.711 3.14105 5.2478 2.3435.7133 3.1889-.9989 4.1973-3.0391z",fill:"currentColor",fillRule:"evenodd"})});i();var Q2=require("react/jsx-runtime"),OC=e=>(0,Q2.jsx)("svg",{...e,children:(0,Q2.jsx)("path",{d:"m20.5717 17.2858c.79 0 1.4283.6384 1.4283 1.4284s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4284 1.42834-1.4284zm-17.14337 0c.79 0 1.42917.6384 1.42917 1.4284s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4284 1.42833-1.4284zm17.14337-7.1433c.79 0 1.4283.6392 1.4283 1.4292s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4292 1.42834-1.4292zm-17.14337 0c.79 0 1.42917.6392 1.42917 1.4292s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4292 1.42833-1.4292zm17.14337-7.1425c.79 0 1.4283.63833 1.4283 1.42833s-.6383 1.42917-1.4283 1.42917h-11.43003c-.78834 0-1.42834-.63917-1.42834-1.42917.00084-.79.64084-1.42833 1.42917-1.42833zm-17.14337 0c.79 0 1.42917.63833 1.42917 1.42833s-.63917 1.43-1.42917 1.43c-.78833-.00083-1.42833-.64-1.42833-1.43s.64-1.42833 1.42833-1.42833z",fill:"currentColor"})});i();var eg=require("react/jsx-runtime"),MC=e=>(0,eg.jsx)("svg",{...e,children:(0,eg.jsx)("path",{d:"m12.3369 3.55763c.0451-.89627.7944-1.58554 1.6736-1.53953l6.1462.32164c.8161.04271 1.4683.7076 1.5101 1.53953l.3155 6.26593c.0452.8963-.6309 1.6602-1.5101 1.7062-.8791.046-1.6284-.6433-1.6735-1.5396l-.1317-2.61568-7.4804 7.62608c-.6225.6346-1.6317.6346-2.25417 0s-.62247-1.6635 0-2.2981l7.48037-7.62606-2.5658-.13428c-.8791-.046-1.5552-.80987-1.5101-1.70613zm8.9774 15.19197c0 1.7778-1.4412 3.219-3.2191 3.219h-12.87616c-1.77784 0-3.21905-1.4412-3.21905-3.219v-13.18963c0-1.77783 1.44122-3.21905 3.21905-3.21905h3.21904c.88892 0 1.60952.72061 1.60952 1.60953s-.7206 1.60952-1.60952 1.60952h-3.21904v13.18963h12.87616v-3.3131c0-.8889.7206-1.6095 1.6095-1.6095.889 0 1.6096.7206 1.6096 1.6095z",fill:"currentColor"})});i();var tg=require("react/jsx-runtime"),IC=e=>(0,tg.jsx)("svg",{...e,children:(0,tg.jsx)("path",{d:"m18.6532 18.6542c-.325.325-.8316.4883-1.5066.4883-.7042 0-1.5059-.1883-2.3484-.505.6984-.5475 1.3859-1.1392 2.0417-1.7958.6533-.6517 1.2375-1.3359 1.785-2.0317.0442.1158.11.2375.1483.3517.5284 1.5833.4834 2.89-.12 3.4925zm-11.79996.4883c-.675 0-1.18166-.1642-1.50583-.4883-.60417-.6025-.64833-1.9084-.12-3.4925.0375-.1142.10417-.2359.1475-.3517.54667.6958 1.1325 1.38 1.78333 2.0317.6575.6566 1.34417 1.2483 2.0425 1.7958-.84166.3167-1.64333.505-2.3475.505zm-1.625-10.305c-.52916-1.58333-.485-2.88917.11917-3.49167.325-.325.83-.48833 1.50583-.48833.70417 0 1.505.18833 2.3475.505-.69833.5475-1.385 1.13917-2.04166 1.795-.65167.6525-1.2375 1.33667-1.78417 2.0325-.04333-.11583-.11-.23833-.1475-.3525zm11.92166 3.1625c-.6558.9717-1.4392 1.9333-2.3283 2.8217-.9.9008-1.8592 1.6808-2.82 2.3333-.9634-.6525-1.9225-1.4325-2.82252-2.3333-.88917-.8892-1.67167-1.85-2.32917-2.8217.6575-.9717 1.44-1.9333 2.32833-2.8225.89996-.9 1.85916-1.68167 2.82246-2.33167.9609.65 1.9209 1.43167 2.82 2.33167.8892.8892 1.6725 1.8508 2.3292 2.8225zm-.0025-7.1425c.675 0 1.1825.16417 1.5067.48833.6025.6025.6483 1.90834.12 3.49167-.0384.11417-.1042.23667-.1484.3525-.5475-.69583-1.1316-1.38-1.7841-2.03333-.6567-.655-1.3442-1.24667-2.0417-1.79417.8417-.31667 1.6433-.505 2.3475-.505zm3.3242 7.1425c.405-.7575.7641-1.5142 1.0108-2.25833.9042-2.71167.6167-4.99-.81-6.41667-.8642-.86667-2.085-1.325-3.5258-1.325-1.5559 0-3.3417.54833-5.1467 1.51583-1.805-.96666-3.59166-1.51583-5.14666-1.51583-1.44 0-2.65916.45833-3.525 1.325-1.42666 1.4275-1.715 3.70583-.81166 6.41667.2475.74413.60583 1.50083 1.01333 2.25833-.4075.7575-.76667 1.5142-1.01333 2.2575-.90334 2.7125-.615 4.9917.81166 6.4167.86584.8675 2.085 1.3258 3.525 1.3258 1.555 0 3.34166-.5483 5.14746-1.5158 1.8034.9666 3.59 1.5158 5.1459 1.5158 1.4408 0 2.6608-.4583 3.5258-1.325 1.4267-1.4267 1.7142-3.705.81-6.4175-.2467-.7433-.6058-1.5-1.0108-2.2575z",fill:"currentColor"})});i();var rg=require("react/jsx-runtime"),kC=e=>(0,rg.jsx)("svg",{...e,children:(0,rg.jsx)("path",{clipRule:"evenodd",d:"m22.0003 11.4141c-.1004-11.304369-11.1037-11.060891-16.78934-6.40002-3.84615 3.16522-5.317726 14.50432 1.80602 16.73042 2.31016.7268 2.59201-.1753 3.02362-1.5568.312-.9985.7022-2.2475 1.9931-3.3128.8231-.6896 2.2559-.6232 3.7827-.5525 2.9397.1361 6.2279.2884 6.1839-4.9083zm-16.32113 5.6348c.23411.3826.63545.5913 1.03679.5913.23411 0 .43478-.0348.602-.1739.56856-.3827.73579-1.1479.40134-1.7392l-.03344-.0348c-.33445-.5913-1.07024-.7652-1.6388-.3826s-.70234 1.1479-.36789 1.7392zm12.14043-5.0087c.0669.6608.5686 1.1478 1.204 1.1478h.0669c.6689-.0696 1.1706-.6609 1.1037-1.3565v-.0696-.0348c-.0669-.6608-.6689-1.1478-1.3378-1.0782-.6354.0695-1.1037.6956-1.0368 1.3913zm-12.17388-.4522c.13378.0348.26756.0696.40134.0696.50167 0 1.00334-.3479 1.13712-.8348.23412-.6609-.10033-1.35655-.73578-1.60002-.63545-.24348-1.30435.10434-1.53846.76521v.03481c-.23412.6261.10033 1.3217.73578 1.5652zm9.63208-3.72175c.2007.13913.4348.2087.6689.2087.4014 0 .7693-.2087 1.0034-.5913.3344-.59131.2006-1.35653-.3679-1.73913l-.0335-.03479c-.5685-.34782-1.2709-.17391-1.6388.41739-.3679.59131-.2006 1.35653.3679 1.73913zm-6.22071-1.32173c.16723.52173.63545.83478 1.13711.83478.1108 0 .2217-.02387.3515-.05184.0269-.00579.0546-.01176.0833-.01773.6355-.24348.9699-.93913.7358-1.6s-.903-1.00869-1.53848-.76521h-.03344c-.63545.24347-.9699.93913-.73579 1.6z",fill:"currentColor",fillRule:"evenodd"})});i();var ng=require("react/jsx-runtime"),NC=e=>(0,ng.jsx)("svg",{...e,children:(0,ng.jsx)("path",{d:"m13.4144 6 4.5856 4.5857-9.95735 9.9576-4.0884.4514c-.54731.0605-1.00974-.4023-.94885-.9496l.45491-4.0914zm7.1077-.47944-2.0427-2.04268c-.6371-.63717-1.6705-.63717-2.3077 0l-1.9217 1.9217 4.3504 4.35042 1.9217-1.9217c.6372-.63751.6372-1.67057 0-2.30774z",fill:"currentColor",fillRule:"evenodd"})});i();var og=require("react/jsx-runtime"),VC=e=>(0,og.jsx)("svg",{...e,children:(0,og.jsx)("path",{d:"M19.5427 9.71299C21.3396 10.7505 21.3396 13.3441 19.5427 14.3816L6.89773 21.6822C5.10078 22.7196 2.8546 21.4228 2.8546 19.3479L2.8546 4.74675C2.8546 2.67181 5.10078 1.37497 6.89774 2.41244L19.5427 9.71299Z",fill:"currentColor"})});i();var ig=require("react/jsx-runtime"),LC=e=>(0,ig.jsx)("svg",{...e,children:(0,ig.jsx)("path",{d:"m5.03666 10.8522c.51251.0183.92109.4193.96101.9183l.00255.1168.00044.1828c.01531.6885.18571 1.6057.62783 2.4885.78316 1.5638 2.20547 2.5134 4.58571 2.5969 2.7301.0958 4.4504-.6666 5.4599-1.9712.3259-.4211.5542-.8737.7008-1.3244.0282-.0868.0512-.1658.0695-.2354l.0421-.1798.0185-.1156c.0553-.5495.5457-.9501 1.0952-.8947.5495.0553.9501.5456.8947 1.0951-.0767.7623-.4212 1.8219-1.2391 2.8788-1.1367 1.469-2.8727 2.4274-5.2555 2.6851l-.0013.924 1.001.0008c.5522 0 1 .4477 1 1 0 .5129-.3861.9355-.8834.9933l-.1166.0067h-4.00004c-.55229 0-1-.4477-1-1 0-.5128.38604-.9355.88338-.9932l.11662-.0068.99904-.0008v-.871l-.1745-.008c-2.94807-.1902-4.91745-1.554-5.98428-3.6842-.37658-.7519-.61294-1.5476-.73949-2.3471-.06944-.4386-.09766-.8183-.10067-1.1147l.00144-.1767c.01977-.5519.48323-.9833 1.03516-.9635zm5.14174-8.74976c.3849-.068 1.1957-.02029 2.0375.03843l.5056.03571c.3354.02358.6631.04556.9579.05926 1.319.079 2.426 1.7858 2.3807 4.4442-.0308 1.80785-.0421 2.74853-.0441 3.80146v.6471c.0004.1822.0012.3292.0023.4367.023 1.5111-.5191 3.3964-1.467 3.7293-.4376.1976-1.7443.3194-2.7857.2553-.7982-.047-2.15774-.2241-2.94204-.6081s-1.1882-1.903-1.1703-2.7445c.0117-.942.1799-4.32316.2155-6.00616.0797-2.6608 1.1813-3.878 2.30964-4.0887z",fill:"currentColor"})});i();var ag=require("react/jsx-runtime"),$C=e=>(0,ag.jsx)("svg",{...e,children:(0,ag.jsx)("path",{d:"m10.7498 2.00041c4.8325 0 8.75 3.9175 8.75 8.74999 0 1.9642-.655 3.7733-1.7492 5.2333l3.8834 3.885c.4883.4859.4883 1.2809 0 1.7667-.2417.2433-.5617.3642-.8834.3642-.32 0-.64-.1209-.8833-.3634l-3.8833-3.8833c-1.4617 1.0917-3.2692 1.7467-5.2342 1.7467-4.83335.0008-8.75001-3.9159-8.75001-8.7492 0-4.83165 3.91666-8.74999 8.75001-8.74999zm0 2.5c-3.44668 0-6.25001 2.8025-6.25001 6.24999 0 3.4475 2.80333 6.25 6.25001 6.25 3.4458 0 6.25-2.8033 6.25-6.25 0-3.44665-2.8042-6.24999-6.25-6.24999zm-1.75001 3.49167c.22333-.12667.68166-.1225.90333.00833l3.55748 2.13919c.215.1275.34.36.34.61 0 .2508-.1425.4833-.3566.6108l-3.58755 2.14c-.1125.0667-.28583.1008-.41333.1008-.12 0-.33333-.03-.44417-.0916-.2225-.1267-.545-.3642-.545-.6209v-4.27662c0-.25834.3225-.4925.545-.62z",fill:"currentColor"})});i();var sg=require("react/jsx-runtime"),zC=e=>(0,sg.jsx)("svg",{...e,children:(0,sg.jsx)("path",{d:"m16.3564 2c1.5175.00328 2.7654.05959 3.3551.19802 1.2681.28936 1.6232 1.60755 2.0544 8.51998.4819 7.877.2781 9.5709-1.1676 10.0853-1.2394.441-3.3562.6093-5.8879.8106l-.5708.0456c-.5773.0463-1.1734.0953-1.7834.1505-2.81531.2251-6.67048.3537-8.72489-.225-1.21742-.3537-1.31887-1.061-1.49641-7.7162l-.00348-.1303c-.07337-2.7504-.12433-4.66021-.13075-6.02614l.00004-.55296c.00836-1.50623.08983-2.24363.28637-2.77512.43117-1.22173 1.95295-1.54324 3.72836-1.86475 1.11233-.20143 6.31756-.51193 10.07126-.51953zm3.1428 5.19947-15.49271 1.15568c.01637 1.28708.06245 3.01455.12591 5.39325l.00179.067c.09105 3.4133.16207 5.0486.32392 5.9018l.00263.0138c.76761.1673 1.90292.2576 3.26301.268 1.49142.0114 3.09275-.0725 4.46275-.1818.87-.0787 1.6602-.1412 2.401-.1999.8576-.0679 1.6491-.1306 2.4216-.207 1.3162-.1301 2.2225-.2729 2.7833-.4464.0351-.1138.0851-.3222.126-.6736.1469-1.2621.0949-3.4668-.1487-7.4489-.0929-1.4893-.1808-2.68305-.2705-3.64193zm-11.14647 2.93623c2.58087-1.8752 6.39687-1.02448 8.52877.9606 1.2696 1.1821 2.1643 2.255 2.1166 2.9255l-.0003.1105c-.0672.9454-1.7348 2.4982-3.3505 3.6722-2.5808 1.8753-6.39694 1.0245-8.52883-.9606-1.26956-1.1821-2.16431-2.255-2.11656-2.9254l.00028-.1104c.06722-.9455 1.73482-2.4983 3.35054-3.6724zm.90454 1.9887c-.90992 1.3477-.88542 4.8225 2.51483 4.8706 3.4002.0482 3.7685-3.7858 1.9417-5.3499-1.293-1.107-3.5466-.8684-4.45653.4793zm3.63903.5174c1.0567.8936.8436 3.0841-1.1232 3.0566-1.96671-.0275-1.98091-2.0128-1.4546-2.7827.5263-.77 1.8299-.9064 2.5778-.2739z",fill:"currentColor"})});i();var ug=require("react/jsx-runtime"),HC=e=>(0,ug.jsx)("svg",{...e,children:(0,ug.jsx)("path",{d:"m2.25954 20.5314c.23026 1.1309 1.57918 1.268 2.7308 1.1994 1.15151-.0685 11.21906.0686 13.52216.2399 2.303.1713 2.8623-.4456 3.1913-.891.2304-.3084.2962-4.0903.2962-5.8381 0-1.7135-.2304-4.691-.5594-6.95284-.1974-1.40511.2632-2.67311-3.3229-2.94722-1.6121-.10278-3.0812-.10278-6.0423-.03433-.296-.78822-1.2946-2.8142-1.9526-3.15687-.98704-.41132-6.54729.13701-7.23818.27412-.75669.17133-.75669.58265-.75669 1.50788v2.98165c0 1.30222-.36187 11.38971.13161 13.61741z",fill:"currentColor"})});i();var lg=require("react/jsx-runtime"),GC=e=>(0,lg.jsx)("svg",{...e,children:(0,lg.jsx)("path",{d:"m21.9985 12.0962c.156-11.337813-12.26789-12.565874-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.8773 1.238h-2.3237v-.1495c0-.9268.1764-1.4649 1.0589-2.0629l.6912-.4634c.5736-.3886.8236-.77726.8236-1.40508 0-.7175-.4706-1.16594-1.1472-1.16594-.8236 0-1.4265.46339-1.4265 1.55459h-2.35319c0-1.8984 1.22069-3.37826 3.85329-3.37826 2.0295 0 3.4561 1.01647 3.4561 2.88497 0 1.30052-.6912 2.03292-1.456 2.61592l-.603.4484c-.4412.3439-.5735.5531-.5735.9418zm.3676 2.2571c0 .8371-.6765 1.5397-1.5295 1.5397-.8677 0-1.5295-.7026-1.5295-1.5397s.6618-1.5247 1.5295-1.5247c.853 0 1.5295.6876 1.5295 1.5247z",fill:"currentColor"})});i();var cg=require("react/jsx-runtime"),jC=e=>(0,cg.jsx)("svg",{...e,children:(0,cg.jsx)("path",{clipRule:"evenodd",d:"m12 22c5.5228 0 10-4.4772 10-10 0-5.52285-4.4772-10-10-10-5.52285 0-10 4.47715-10 10 0 5.5228 4.47715 10 10 10zm-3.33333-11.6667c.92047 0 1.66663-.74616 1.66663-1.66663 0-.92048-.74616-1.66667-1.66663-1.66667s-1.66667.74619-1.66667 1.66667c0 .92047.7462 1.66663 1.66667 1.66663zm8.33333 3.3334c0 2.7614-2.2386 5-5 5-2.76142 0-5-2.2386-5-5zm0-5.00003c0 .92047-.7462 1.66663-1.6667 1.66663-.9204 0-1.6666-.74616-1.6666-1.66663 0-.92048.7462-1.66667 1.6666-1.66667.9205 0 1.6667.74619 1.6667 1.66667z",fill:"currentColor",fillRule:"evenodd"})});i();var Bl=require("react/jsx-runtime"),_C=e=>(0,Bl.jsxs)("svg",{...e,children:[(0,Bl.jsx)("path",{d:"M5.72808 6.57665L5.72808 6.57666C4.21821 8.39134 3.44905 10.8031 3.50262 13.081C3.5562 15.3591 4.44354 17.634 6.41174 19.0014C8.31623 20.3245 11.728 20.952 14.6917 20.132C16.2039 19.7135 17.6545 18.9039 18.734 17.5601C19.8183 16.2104 20.467 14.3977 20.4988 12.0859C20.5306 9.7716 19.9186 7.89371 18.8485 6.48004C17.7808 5.06955 16.3051 4.18499 14.7177 3.77414C11.5832 2.96286 7.89555 3.97164 5.72808 6.57665Z",fill:"transparent",stroke:"currentColor",strokeWidth:"2"}),(0,Bl.jsx)("path",{d:"M7.66621 8.21881C9.16184 6.42126 11.7691 5.68812 13.9883 6.26249C15.0878 6.54707 16.077 7.14918 16.787 8.08709C17.4957 9.0234 17.9503 10.3264 17.9266 12.0543C17.9028 13.7834 17.4234 15.0307 16.7129 15.9152C16 16.8027 15.0236 17.3629 13.9441 17.6616C11.7547 18.2675 9.2536 17.7685 7.98327 16.886C6.7448 16.0256 6.1109 14.5403 6.07219 12.894C6.03347 11.2477 6.59545 9.50574 7.66621 8.21881Z",fill:"currentColor",stroke:"transparent"})]});i();var fg=require("react/jsx-runtime"),WC=e=>(0,fg.jsx)("svg",{...e,children:(0,fg.jsx)("path",{d:"m6.87391 20.4397c-1.80165-.6674-3.34245-1.8936-4.39695-3.4997-1.0545-1.6059-1.567498-3.5072-1.46385-5.4256.10365-1.91847.81855-3.7534 2.04-5.23636s2.8854-2.53613 4.74855-3.00542c1.863-.46929 3.82734-.33007 5.60554.39728 1.7783.72735 3.2771 2.00467 4.2772 3.64507.7418 1.21674 1.1804 2.58587 1.2889 3.99293l.642-.536c.6359-.531 1.5818-.4459 2.1128.1899.5309.6359.4459 1.5819-.19 2.1128l-2.996 2.5018c-.5567.4648-1.3662.4648-1.9228 0l-2.996-2.5018c-.6359-.5309-.721-1.4769-.19-2.1128.531-.6358 1.4769-.7209 2.1128-.1899l.385.3215c-.1193-.7805-.3922-1.53458-.8082-2.21675-.6667-1.0936-1.6659-1.94515-2.8514-2.43006-1.1855-.4849-2.49506-.57771-3.73709-.26485-1.242.31287-2.3514 1.01497-3.16575 2.00362-.8142.98864-1.2909 2.21194-1.3599 3.49094-.06915 1.2789.27285 2.5464.9759 3.617.70305 1.0707 1.73025 1.8882 2.9313 2.3331 1.20109.4449 2.51304.4938 3.74384.1394.7961-.2291 1.6273.2304 1.8565 1.0266.2291.796-.2304 1.6272-1.0265 1.8564-1.8463.5314-3.81421.4582-5.61589-.2091z",fill:"currentColor"})});i();var pg=require("react/jsx-runtime"),UC=e=>(0,pg.jsx)("svg",{...e,children:(0,pg.jsx)("path",{d:"M5.64571 1.19092C5.19893 0.866257 4.57355 0.965254 4.24889 1.41204C3.92423 1.85882 4.02322 2.48419 4.47 2.80886C5.75625 3.74353 6.95092 5.00735 8.01704 6.20703C6.38757 6.20371 5.0889 6.2273 4.54926 6.28789C2.56844 6.5103 2.31336 7.59249 2.09302 9.25911C1.87267 10.9257 2.11033 17.874 2.37512 19.4659C2.63991 21.0578 3.40531 21.7237 5.61415 21.6844C6.9775 21.6601 10.7551 21.7863 13.8349 21.8892L13.8531 21.8898C15.7549 21.9533 17.3885 22.0078 18.0174 22.0123L18.03 22.0124C19.6724 22.024 21.003 22.0334 21.6139 20.7615C22.2264 19.4863 21.9782 11.1909 21.8801 9.61079C21.7819 8.03071 21.2479 6.89398 19.993 6.61776C19.5898 6.52901 18.0558 6.44028 16.0935 6.36809C17.0728 5.28349 18.2296 4.02372 19.6219 2.73331C20.0269 2.35789 20.051 1.72518 19.6755 1.32012C19.3001 0.915058 18.6674 0.891034 18.2623 1.26646C16.6527 2.7583 15.3356 4.22058 14.2947 5.37616L14.2798 5.39271C14.0913 5.60208 13.9119 5.8013 13.7414 5.98868C13.6467 6.09275 13.5555 6.19241 13.4676 6.28764C12.5521 6.2645 11.613 6.24544 10.7013 6.23164C10.5417 6.0511 10.3732 5.8585 10.1952 5.65501L10.0863 5.5306C8.90401 4.17976 7.37355 2.44649 5.64571 1.19092ZM6.2929 14.9216C5.95119 14.5799 5.90848 14.0524 6.16476 13.6642C6.20137 13.6088 6.24408 13.5562 6.2929 13.5074L9.82843 9.97183C10.219 9.5813 10.8521 9.5813 11.2426 9.97183C11.6332 10.3623 11.6332 10.9955 11.2426 11.386L9.46447 13.1642H16.5858C17.1381 13.1642 17.5858 13.6119 17.5858 14.1642C17.5858 14.7165 17.1381 15.1642 16.5858 15.1642H9.36396L11.2426 17.0429C11.6332 17.4334 11.6332 18.0666 11.2426 18.4571C10.8521 18.8476 10.219 18.8476 9.82843 18.4571L6.2929 14.9216Z",fill:"currentColor"})});i();var dg=require("react/jsx-runtime"),KC=e=>(0,dg.jsx)("svg",{...e,children:(0,dg.jsx)("path",{d:"m11.6953 2c-2.36214 0-4.62753.93836-6.29781 2.60864-.58578.58578-.58578 1.53553 0 2.12131.58579.58579 1.53553.58579 2.12133 0 1.10766-1.10768 2.60998-1.72995 4.17648-1.72995s3.0688.62227 4.1765 1.72995c.7623.76237 1.2948 1.7117 1.5527 2.7402l-.5756-.48053c-.6358-.53098-1.5817-.44591-2.1127.18997-.531.63589-.446 1.58181.1899 2.11281l2.9961 2.5017c.5566.4648 1.3662.4648 1.9228 0l2.996-2.5017c.6358-.531.7209-1.47692.19-2.11281-.531-.63588-1.477-.72095-2.1129-.18997l-.4506.37628c-.3144-1.79011-1.1718-3.45466-2.4744-4.75726-1.6702-1.67028-3.9357-2.60864-6.2978-2.60864zm7.4377 16.8867c-1.5536 1.7794-3.7502 2.869-6.1069 3.0288-2.3567.1599-4.68042-.623-6.45992-2.1765-1.32667-1.1582-2.26984-2.6738-2.73018-4.3469l-.17388.2132c-.52381.6417-1.46874.7374-2.11053.2136-.641801-.5238-.737441-1.4687-.21363-2.1105l2.57465-3.1546c.26245-.3216.64644-.52 1.06057-.5481.41414-.02809.82139.1167 1.12487.3999l2.97703 2.778c.60569.5652.63851 1.5143.07332 2.12-.5652.6057-1.51437.6386-2.12005.0734l-.04151-.0389c.34575.8142.87327 1.5482 1.55225 2.141 1.18009 1.03 2.72111 1.5493 4.28401 1.4433 1.5628-.1061 3.0196-.8285 4.0498-2.0087.5448-.624 1.4924-.6883 2.1165-.1435.624.5448.6884 1.4923.1436 2.1165z",fill:"currentColor"})});i();var mg=require("react/jsx-runtime"),qC=e=>(0,mg.jsx)("svg",{...e,children:(0,mg.jsx)("path",{clipRule:"evenodd",d:"m3.43934 7.93934c-.58579.58579-.58579 1.53553 0 2.12136l4.5 4.5c.58579.5857 1.53553.5857 2.12136 0 .5857-.5858.5857-1.5356 0-2.1214l-1.93938-1.9393h.87868c4.9706 0 9 4.0294 9 9 0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5c0-6.6274-5.3726-12-12-12h-.87868l1.93938-1.93934c.5857-.58579.5857-1.53553 0-2.12132-.58583-.58579-1.53557-.58579-2.12136 0z",fill:"currentColor",fillRule:"evenodd"})});i();var hg=require("react/jsx-runtime"),XC=e=>(0,hg.jsx)("svg",{...e,children:(0,hg.jsx)("path",{d:"m8.03043 13.6607c-.29507.3401-.77967.4312-1.22762.3856-.26063-.0266-.53261-.0225-.83308-.0225-2.20558 0-3.95014 2.0802-3.992 3.992-.04187 1.9117 1.25486 4.1879 3.992 3.992 2.73715-.1959 3.99201-1.7864 3.99201-3.992 0-.3414-.04361-.6694-.125-.982-.10544-.4049-.03782-.8512.25806-1.1471l1.1558-1.1558c.3906-.3905 1.0237-.3905 1.4142 0l1.1558 1.1558c.296.2959.3636.7422.2581 1.1471-.0813.3126-.125.6406-.125.982 0 2.2056 1.2079 4.1121 3.992 3.992 2.1682 0 3.9313-1.7263 3.9905-3.8801.0021-.0742.0111-.1481.0221-.2214.249-1.6525-2.0736-4.0873-4.0126-3.8825-.3396 0-.6661.0432-.9773.1238-.4074.1055-.8563.036-1.152-.2635l-.2823-.286c-.3353-.3396-.3855-.8665-.1187-1.2621 1.2897-1.9126 4.8975-7.29122 5.5061-8.5084.5957-1.19133-.0999-1.55313-.4001-1.64993-.0817-.02633-.1675-.02743-.2521-.01311-.3067.0519-1.1141.23047-1.8398.75302-.8699.6263-7.2522 7.11612-10.39907 10.74312zm-.0647 4.3551c0 1.0978-.33819 2.1849-2.02833 2.2762-1.69015.0913-1.93466-.9724-1.96367-2.2762s.81534-1.7091 1.92989-1.7429 2.06211.6451 2.06211 1.7429zm11.62977-.1c0 1.0978-.6104 1.7735-1.7181 1.7735-1.1078 0-1.6627-.5095-1.6627-1.6073s.4995-1.7181 1.6072-1.7181c1.1078 0 1.7736.4541 1.7736 1.5519zm-16.00097-13.65035c.36312.61452 4.38321 5.68498 5.13739 6.04815.75418.3631 3.01228-2.35364 2.62128-3.13575-.3911-.78212-6.57133-4.945-7.37947-5.13008-.51609-.11819-.77828.15828-.90039.37355-.07895.13919-.07354.30477-.02904.45848.09686.33451.29621.95576.55023 1.38565z",fill:"currentColor"})});i();var gg=require("react/jsx-runtime"),YC=e=>(0,gg.jsx)("svg",{...e,children:(0,gg.jsx)("path",{clipRule:"evenodd",d:"m18.1805 10.0368c.1262-9.02516-9.92582-10.002742-14.02641-5.15382-2.90243 3.43213-3.00965 9.22162.52374 11.63682 2.18864 1.496 6.79817 2.1141 10.01977.223.1591.1745.3297.3626.5089.5601l.0011.0012.028.0308c.3639.4012.7527.8439 1.1456 1.2911 1.4196 1.6159 2.8916 3.2914 3.4268 3.2876.9201-.0065 1.8533-.8438 1.8058-1.6624-.0358-.617-3.0505-4.1585-4.5332-5.8655.6663-1.1243 1.0748-2.556 1.0999-4.3489zm-3.0735-.0148c.078-5.63543-6.13398-6.24583-8.66808-3.21812-1.79365 2.14306-1.85991 5.75812.32367 7.26612 1.35254.9342 4.20111 1.3201 6.19201.1393.3521-.2089 1.2447-.8717 1.4727-1.4718.0304-.08.062-.1614.0941-.2443h.0001c.2656-.6842.5717-1.4727.5855-2.4712z",fill:"currentColor",fillRule:"evenodd"})});i();var vg=require("react/jsx-runtime"),JC=e=>(0,vg.jsx)("svg",{...e,children:(0,vg.jsx)("path",{d:"m2.08399 13.9107c.0602 3.3015.20898 6.331.4105 7.6243.0499.3202.29259.5164.60534.4312 3.13827-.855 18.95577-8.2148 18.95577-9.9463 0-1.2384-16.56256-9.66456-19.1655-10.02992-.19461-.02731-.34033.09248-.39323.28174-.29629 1.05988-.42832 4.29228-.44124 7.85348l14.16417 1.8946z",fill:"currentColor"})});i();var yg=require("react/jsx-runtime"),ZC=e=>(0,yg.jsx)("svg",{...e,children:(0,yg.jsx)("path",{clipRule:"evenodd",d:"m6.24843 6.77277c.74955 2.13722 3.90597 2.17402 4.61477.46032.0683-.1408.125-.2811.1707-.42046.6058-.00536 1.1978-.0136 1.7785-.0229.4047-.00648.8032-.01346 1.1969-.02035 2.4581-.04305 4.7202-.08264 7.0401.0237.5014.02298.9266-.36485.9495-.86627.023-.50141-.3648-.92652-.8662-.94951-2.382-.10919-4.7076-.06836-7.1622-.02525-.3921.00689-.7877.01383-1.1872.02023-.57.00912-1.1495.01719-1.7411.02251-.1944-.59562-.5734-1.11691-1.05139-1.50894-.92757-.76087-3.35974-.86696-3.825 1.46603-1.01999-.03054-2.08381-.07744-3.2008-.14657-.50098-.031-.93224.34999-.96324.85097-.03101.50098.34999.93224.85097.96325 1.18803.07352 2.31663.12231 3.39569.15324zm-4.2483 5.54683c0-.5019.4069-.9088.90884-.9088 1.40629 0 2.64238-.0161 3.88561-.0323 1.96291-.0254 3.94372-.0511 6.64042-.0143.5017-2.38934 3.3463-2.2812 4.2812-1.51432.5667.46472.9111 1.01612 1.0122 1.64502.7524.0257 1.5502.0552 2.3993.0894.5015.0202.8917.443.8716.9445-.0202.5016-.4431.8919-.9447.8717-.9361-.0376-1.8091-.0697-2.6268-.097-.0222.0498-.0455.0999-.0699.1503-.7019 1.6972-3.9734 1.7795-4.8058-.2702-2.7348-.0393-4.72571-.0135-6.71331.0124-1.24973.0162-2.49855.0325-3.92982.0325-.50194 0-.90884-.4069-.90884-.9089zm0 6.1328c-.00116-.5019.40481-.9097.90675-.9109 1.07677-.0025 2.10118-.0058 3.08174-.0089.11298-.0004.2258-.0008.33762-.0011.05692-.1747.12895-.3528.21677-.5339.73063-1.7666 3.87449-1.7897 4.45259.5249 3.676.0025 6.8235.0408 10.1372.1927.5014.0229.8892.4481.8662.9495-.0229.5014-.4481.8892-.9495.8663-3.2903-.1508-6.4125-.1885-10.0872-.1907-.5634 2.1212-2.87808 1.9991-3.77763 1.2612-.42273-.3467-.72861-.77-.89095-1.2522-.09774.0003-.19592.0006-.29455.001-.98121.003-2.00765.0064-3.0881.0089-.50195.0011-.90979-.4048-.91094-.9068z",fill:"currentColor",fillRule:"evenodd"})});i();var bg=require("react/jsx-runtime"),QC=e=>(0,bg.jsx)("svg",{...e,children:(0,bg.jsx)("path",{d:"m10.6913 7.39911c.578 0 1.0471.46807 1.0471 1.04714 0 .57802-.4691 1.04714-1.0471 1.04714h-6.59702v9.31951h15.39302v-5.7592c0-.5791.468-1.0472 1.0471-1.0472s1.0471.4681 1.0471 1.0472v6.8064c0 .5791-.468 1.0471-1.0471 1.0471h-17.48726c-.57907 0-1.04714-.468-1.04714-1.0471v-11.41385c0-.57907.46807-1.04714 1.04714-1.04714zm5.8803-4.34459 4.7121 1.57071c.288.09529.5194.31205.6367.59268.1162.27959.1047.59687-.0314.86913l-2.4074 4.81686c-.1833.3675-.5539.5791-.9382.5791-.1571 0-.3173-.0356-.4671-.11-.5173-.2597-.7277-.888-.4691-1.40526l1.1889-2.37891c-4.0996 1.68797-6.3249 4.53987-6.3249 8.18697 0 .5791-.4681 1.0472-1.0471 1.0472-.5791 0-1.0472-.4681-1.0472-1.0472 0-4.4699 2.7028-8.04278 7.5143-10.07421l-1.9824-.66064c-.5477-.18221-.844-.77594-.6608-1.32464.1822-.54765.7717-.84609 1.3236-.66179z",fill:"currentColor"})});i();var Cg=require("react/jsx-runtime"),ex=e=>(0,Cg.jsx)("svg",{...e,children:(0,Cg.jsx)("path",{d:"m15.7829 19.9195c1.7831-.0396 2.688-.079 3.4524-.079 2.4101 0 2.4643-.5698 2.6291-2.2998.0161-.1681.0331-.3472.0535-.5377.1341-1.2162.0766-8.54397.0191-10.16543-.0064-.2209-.008-.42798-.0095-.62158-.0121-1.52821-.0174-2.21601-2.3473-2.21601-1.7437 0-4.6496.06881-7.1831.115-1.2804.02334-2.2443.04093-2.46946.04093-.67064.03118-.99638 1.029-1.0347 1.96448-.02098.51212-.02473 2.03357-.02069 3.53602-2.0997-1.99934-5.23506-4.27551-5.94338-4.62817-.23692-.17101-.5951.06006-.65895.36744-.51522 2.4804-.24785 10.79872.42166 14.00882.10701.5131.5848.5653.89181.352 1.82324-1.2674 3.87556-3.4426 5.27447-5.2548-.03781 1.4028-.06521 3.1549.15005 4.1851.21076 1.1226 1.20719 1.3097 2.05019 1.3097.4981.0169 2.6193-.0302 4.7248-.077z",fill:"currentColor"})});i();var xg=require("react/jsx-runtime"),tx=e=>(0,xg.jsx)("svg",{...e,children:(0,xg.jsx)("path",{clipRule:"evenodd",d:"M2 6.28572C2 5.49674 2.63959 4.85715 3.42857 4.85715H20.5714C21.3604 4.85715 22 5.49674 22 6.28572C22 7.0747 21.3604 7.71429 20.5714 7.71429H3.42857C2.63959 7.71429 2 7.0747 2 6.28572ZM2 12C2 11.211 2.63959 10.5714 3.42857 10.5714H14.8571C15.6461 10.5714 16.2857 11.211 16.2857 12C16.2857 12.789 15.6461 13.4286 14.8571 13.4286H3.42857C2.63959 13.4286 2 12.789 2 12ZM3.42857 16.2857C2.63959 16.2857 2 16.9253 2 17.7143C2 18.5033 2.63959 19.1429 3.42857 19.1429H7.71429C8.50326 19.1429 9.14286 18.5033 9.14286 17.7143C9.14286 16.9253 8.50326 16.2857 7.71428 16.2857H3.42857Z",fill:"currentColor",fillRule:"evenodd"})});i();var wg=require("react/jsx-runtime"),rx=e=>(0,wg.jsx)("svg",{...e,children:(0,wg.jsx)("path",{clipRule:"evenodd",d:"m18.4814 8.67568-.6644 2.03912c-.1208.3764-.7329.3834-.8658.0139l-.8174-2.24473c-.1531-.4148-.4953-.75988-.9463-.9481l-1.9289-.80868c-.3584-.14988-.3342-.59953.0403-.72153l1.9449-.62742c.5316-.1708.9423-.54725 1.1074-1.01433l.741-2.08443c.1328-.38343.7651-.366.8738.0244l.5798 2.10534c.1289.46359.4954.85399.9947 1.05964l2.2027.90279c.3785.15337.3342.63091-.0685.73199l-1.9409.48103c-.6081.14988-1.0792.56467-1.2524 1.09101zm-11.00752 2.19872 1.03356-3.39854c.18792-.62742 1.14004-.63904 1.34675-.02324l1.27161 3.74128c.238.6913.7705 1.2665 1.472 1.5802l3.0005 1.3478c.5575.2498.5199.9992-.0627 1.2025l-3.0255 1.0457c-.8268.2847-1.4658.9121-1.7226 1.6906l-1.15255 3.474c-.20671.6391-1.19015.61-1.35928-.0406l-.90201-3.5089c-.20045-.7727-.77047-1.4234-1.54721-1.7661l-3.4264-1.5047c-.58881-.2556-.51991-1.0515.10649-1.2199l3.01924-.8018c.94586-.2498 1.67875-.9411 1.9481-1.8183z",fill:"currentColor",fillRule:"evenodd"})});i();var Up=require("react/jsx-runtime"),nx=e=>(0,Up.jsx)("svg",{...e,children:(0,Up.jsx)("path",{d:"m12 5.33333c-3.6819 0-6.66667 2.98475-6.66667 6.66667 0 3.6819 2.98477 6.6667 6.66667 6.6667s6.6667-2.9848 6.6667-6.6667c0-.9205.7461-1.6667 1.6666-1.6667s1.6667.7462 1.6667 1.6667c0 5.5228-4.4772 10-10 10-5.52285 0-10-4.4772-10-10 0-5.52283 4.47715-10 10-10 .9205 0 1.6667.74617 1.6667 1.66667s-.7462 1.66666-1.6667 1.66666z",fill:"currentColor",children:(0,Up.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});i();var Sg=require("react/jsx-runtime"),ox=e=>(0,Sg.jsx)("svg",{...e,children:(0,Sg.jsx)("path",{d:"m16.5566 10.0643c-.0138-1.76364-.0349-4.48222.0778-6.10188.0712-1.21794.7119-1.9487 2.3848-1.9487 1.4949-.09744 1.8509.34102 2.0644.77948 1.1747 2.63075.9255 14.9563.8187 16.9537-.0103.1819-.0095.3498-.0088.5049.0044.9247.0067 1.3953-2.3404 1.6874-2.3136.2923-2.5627-.4872-2.634-1.9487-.0711-1.1692-.3203-7.0153-.3558-8.7692 0-.2944-.0032-.6926-.0067-1.157zm-14.48339-1.50187c-.14486 1.45517-.03621 4.88197 0 5.86777.03621 1.2674.32593 5.3514.39835 6.1963.07243 1.0797.18107 1.5491 2.57119 1.3144 2.38974-.2414 2.38569-.931 2.38125-1.6846-.00073-.1258-.00149-.2533.00887-.3809.10864-1.4552-.21728-8.872-.39835-9.9986-.06291-.39135-.10395-.76005-.13985-1.08248-.06745-.60575-.11671-1.04819-.25851-1.17073-.28971-.28165-.76049-.70413-2.49876-.61025-1.77448.14083-1.95554.70413-2.06419 1.54909zm12.34129 3.27277c.1806.8473.2413 2.5838.2777 3.6225.0093.2658.0171.4859.0247.6338.0379.9189-.0378 3.9177-.0755 4.5464-.0379.7739-.1513 1.3059-2.6088 1.3543-2.49154.0828-2.51834-.5076-2.54541-1.104-.00455-.1004-.00912-.201-.02546-.2986-.18904-1.0157-.37808-7.8354.18903-8.9479.18904-.3385.64274-.7255 2.45744-.8706s2.155.4837 2.3063 1.0641z",fill:"currentColor"})});i();var Dg=require("react/jsx-runtime"),ix=e=>(0,Dg.jsx)("svg",{...e,children:(0,Dg.jsx)("path",{d:"m19.9646 3.56989c1.8831 1.70948 2.0107 4.32673 2.0173 6.99611l-.0001.9022c0 .5142.0048 1.0139.0095 1.4974.0315 3.247.0561 5.7743-1.4399 7.1725-1.292 1.2075-3.7521 1.737-6.1439 1.8298-.7898.0306-2.3731.0535-3.3766 0-2.50856-.1338-5.72463-.3411-7.52574-1.8764-1.58915-1.3545-1.45707-4.3243-1.46202-6.8769-.00066-.3406-.0013-.6675-.00565-.9747-.00365-.2567-.0094-.5236-.01531-.7981-.05418-2.51434-.12193-5.65891 1.29137-7.39433 1.56755-1.92485 6.85845-2.02051 8.54555-2.02051.1646 0 .3708-.00475.6101-.01026 1.8411-.04241 5.6413-.12995 7.4954 1.55319zm-13.46158 6.43131c-.27704.0188-.53391.1518-.70948.3673l-1.99272 2.4455c-.35041.43-.28643 1.0632.14291 1.4142s1.06144.2869 1.41186-.1431l.33308-.4088c.31302 1.3863 1.05786 2.648 2.14023 3.5944 1.3458 1.1767 3.1031 1.7698 4.8856 1.6487 1.7824-.1211 3.4436-.9464 4.6185-2.2944.3644-.4182.3215-1.0531-.0961-1.4182-.4174-.365-1.0513-.322-1.4157.0962-.8248.9464-1.9912 1.5258-3.2425 1.6109-1.2514.085-2.4852-.3314-3.43001-1.1576-.70847-.6194-1.21095-1.4312-1.45381-2.327l.49561.4632c.40517.3787 1.04013.3567 1.41822-.0492.3781-.4058.35612-1.0418-.04906-1.4205l-2.30414-2.1536c-.20301-.1898-.47546-.28678-.75249-.268zm5.45468-5.37285c-1.7866 0-3.49982.71082-4.76304 1.97611-.39187.39251-.39187 1.02889 0 1.42141.39187.3925 1.02721.3925 1.41908 0 .8869-.88831 2.08976-1.38736 3.34396-1.38736s2.457.49905 3.3438 1.38736c.6097.61063 1.0357 1.3708 1.2424 2.19443l-.3233-.30964c-.4006-.3836-1.0358-.36931-1.4187.03186-.383.40118-.3688 1.03748.0318 1.42108l2.0251 1.9394c.388.3715.9991.3715 1.387 0l2.0251-1.9394c.4006-.3836.4149-1.0199.0319-1.42108-.383-.40117-1.0181-.41546-1.4187-.03186l-.2948.28234c-.2399-1.35029-.8873-2.60548-1.8687-3.58853-1.2633-1.2653-2.9765-1.97612-4.7629-1.97612z",fill:"currentColor"})});i();var Eg=require("react/jsx-runtime"),ax=e=>(0,Eg.jsx)("svg",{...e,children:(0,Eg.jsx)("path",{d:"m4.11263 5.04041c-.18667 1.92432.04424 9.01979.00001 11.01579-.04423 1.9961.12249 4.3531.29625 5.0481.15491.6196 1.84727 1.5368 3.03625.3225 1.18899-1.2142 2.57456-2.7822 4.57456-4.1325 2.0186 1.5231 3.2093 2.9179 4.4324 4.1325 1.2231 1.2147 3.0966.6257 3.2493-.3225.3224-1.8964.2206-6.4423.2546-7.8088.0339-1.7012-.1019-7.13954-.1528-8.25509-.0339-1.11555.0771-1.94224-.6526-2.22113-3.0546-1.17133-9.17301-1.09763-12.39732-.53985-2.90187.502-2.52186 1.56177-2.64065 2.76098z",fill:"currentColor"})});i();var Pg=require("react/jsx-runtime"),sx=e=>(0,Pg.jsx)("svg",{...e,children:(0,Pg.jsx)("path",{clipRule:"evenodd",d:"M2 4a2 2 0 012-2h8a2 2 0 012 2v18H2V4zm5.5 3a1.5 1.5 0 100 3h1a1.5 1.5 0 100-3h-1zm0 7a1.5 1.5 0 000 3h1a1.5 1.5 0 000-3h-1zm8.5-4h5a1 1 0 011 1v11h-6V10z",fill:"currentColor",fillRule:"evenodd"})});i();var Tg=require("react/jsx-runtime"),ux=e=>(0,Tg.jsx)("svg",{...e,children:(0,Tg.jsx)("path",{d:"m17.2519 13.3364-3.0265-11.67337c-.0339-.00525-.0679-.01016-.102-.01475-2.9405-.39243-6.71014-.39244-8.53416-.21004-2.95711.29848-2.5315 2.75261-2.5315 2.75261-1.58081 1.62503-.6467 3.6425-.6467 3.6425-2.023 2.24965-.4643 3.95755-.4643 3.95755-1.835066 1.6858-.45876 3.5817 1.111 3.7144 1.19943.105 4.08468.0663 5.3836.0442.33164-.0055.58591.2985.5251.6246-.87331 4.9193 1.00597 8.1196 3.03446 7.8045 1.0853-.1713 1.0845-1.7357 1.0838-3.0809-.0003-.6075-.0006-1.1702.0991-1.5399.3316-1.2326 1.614-2.9405 2.9295-4.444.4315-.4931.8118-1.0216 1.1386-1.5774zm-1.9146-11.36956c.0096.00386.0193.00776.0289.01168-.015-.10585-.0277-.20524-.0379-.29704-.0884-.818045.0608-.912012 1.4979-1.298924 1.4371-.38691271 1.8185-.4864 2.1004-.270833.1495.114118.2991.595245.4945 1.223977.079.25439.1656.53295.2627.82114.3372 1.00044 2.0341 7.87086 2.2054 9.24716.0154.1205.0372.2305.0575.3323.1255.6317.1892.952-1.7433 1.547-1.043.3216-1.5483.4667-1.8348.3757z",fill:"currentColor"})});i();var Ag=require("react/jsx-runtime"),lx=e=>(0,Ag.jsx)("svg",{...e,children:(0,Ag.jsx)("path",{d:"m5.81817 10.6635 3.02644 11.6734c.0339.0053.06791.0102.10202.0148 2.94057.3924 6.71017.3924 8.53417.21 2.9571-.2985 2.5315-2.7526 2.5315-2.7526 1.5808-1.625.6467-3.6425.6467-3.6425 2.023-2.2496.4643-3.9576.4643-3.9576 1.8351-1.6858.4588-3.58165-1.111-3.71431-1.1994-.10502-4.0847-.06633-5.3836-.04422-.3316.00553-.5859-.29848-.5251-.62459.8733-4.91931-1.006-8.119626-3.0345-7.8045688-1.08524.1713558-1.08442 1.7357188-1.08372 3.0809688.00032.60744.00061 1.1702-.09912 1.53987-.33164 1.23259-1.61397 2.94053-2.92947 4.44396-.43149.49313-.81189 1.02159-1.13862 1.57739zm1.91462 11.3696c-.00967-.0038-.01932-.0077-.02895-.0117.01497.1059.02772.2053.03792.2971.08843.818-.06082.912-1.49792 1.2989s-1.81848.4864-2.10037.2708c-.14954-.1141-.29907-.5952-.49448-1.2239-.07906-.2544-.16564-.533-.26276-.8212-.33717-1.0004-2.03406-7.8709-2.20541-9.2472-.01535-.1205-.0372-.2304-.05744-.3323-.12554-.6316-.189207-.952 1.74328-1.547 1.04301-.3216 1.54824-.4667 1.83482-.3757z",fill:"currentColor"})});i();var Rg=require("react/jsx-runtime"),cx=e=>(0,Rg.jsx)("svg",{...e,children:(0,Rg.jsx)("path",{d:"m20.2254 20.7499h-16.26331c-.7475 0-1.30834-.37-1.6825-.9258-.37334-.5559-.37334-1.2967 0-1.8517l8.03831-13.88917c.7484-1.11083 2.8042-1.11083 3.365 0l8.0375 13.88917c.3734.555.3734 1.2958 0 1.8517-.3741.5558-.935.9258-1.4958.9258zm-12.89831-3.7033h9.71921l-5.0459-8.33337-4.67248 8.33337z",fill:"currentColor"})});i();var Fg=require("react/jsx-runtime"),fx=e=>(0,Fg.jsx)("svg",{...e,children:(0,Fg.jsx)("path",{d:"m16.2028 20.4397c1.8016-.6674 3.3424-1.8936 4.3969-3.4997 1.0545-1.6059 1.5675-3.5072 1.4639-5.4256-.1037-1.91847-.8185-3.7534-2.04-5.23636s-2.8854-2.53613-4.7486-3.00542c-1.863-.46929-3.8273-.33007-5.60553.39728-1.77825.72735-3.27706 2.00467-4.27719 3.64507-.74181 1.21674-1.18038 2.58587-1.28892 3.99293l-.64191-.536c-.63589-.531-1.58182-.4459-2.11279.1899-.530981.6359-.44593 1.5819.18996 2.1128l2.99601 2.5018c.55666.4648 1.36615.4648 1.92282 0l2.99601-2.5018c.63594-.5309.72094-1.4769.18997-2.1128-.53098-.6358-1.47691-.7209-2.11281-.1899l-.385.3215c.11931-.7805.39223-1.53458.80815-2.21675.66674-1.0936 1.66595-1.94515 2.85143-2.43006 1.1855-.4849 2.4951-.57771 3.7371-.26485 1.242.31287 2.3514 1.01497 3.1657 2.00362.8142.98864 1.2909 2.21194 1.3599 3.49094.0692 1.2789-.2728 2.5464-.9759 3.617-.703 1.0707-1.7302 1.8882-2.9313 2.3331-1.201.4449-2.513.4938-3.7438.1394-.7961-.2291-1.62728.2304-1.85645 1.0266-.22918.796.2304 1.6272 1.02645 1.8564 1.8463.5314 3.8142.4582 5.6159-.2091z",fill:"currentColor"})});i();var Bg=require("react/jsx-runtime"),px=e=>(0,Bg.jsx)("svg",{...e,children:(0,Bg.jsx)("path",{clipRule:"evenodd",d:"m18.4 8.86859h-.3298c.1092-2.46877-1.1518-4.89701-3.4269-6.11864-2.6473-1.42146-5.82043-.75428-7.72874 1.42683-.59024.67464-.27474 1.6864.50816 2.10678.78292.42037 1.74028.0553 2.47566-.44737.94172-.64368 2.18772-.75397 3.26102-.1777 1.1838.63567 1.8185 1.92477 1.7035 3.2101h-9.26289c-.88367 0-1.60001.73488-1.60001 1.64141v9.8486c0 .9065.71634 1.6414 1.60001 1.6414h12.79999c.8837 0 1.6-.7349 1.6-1.6414v-9.8486c0-.90653-.7163-1.64141-1.6-1.64141zm-6.4 9.84861c1.7674 0 3.2-1.4698 3.2-3.2829s-1.4326-3.2828-3.2-3.2828c-1.7673 0-3.19998 1.4697-3.19998 3.2828s1.43268 3.2829 3.19998 3.2829z",fill:"currentColor",fillRule:"evenodd"})});i();var Og=require("react/jsx-runtime"),dx=e=>(0,Og.jsx)("svg",{...e,children:(0,Og.jsx)("path",{d:"m15.4036 20.3766c0 .8975-.7301 1.625-1.6307 1.625h-3.2614c-.9006 0-1.63067-.7275-1.63067-1.625l.07361-5.3782h-2.17666c-1.50644 0-2.20732-1.8615-1.07251-2.849l5.43783-4.73245c.6145-.53462 1.5309-.53462 2.1453 0l5.438 4.73245c1.1347.9875.4338 2.849-1.0727 2.849h-2.1765zm4.9657-15.12818c.9006 0 1.6307-.72751 1.6307-1.625s-.7301-1.625-1.6307-1.625h-16.73859c-.90064 0-1.63071.72751-1.63071 1.625s.73007 1.625 1.63071 1.625z",fill:"currentColor"})});i();var Mg=require("react/jsx-runtime"),mx=e=>(0,Mg.jsx)("svg",{...e,children:(0,Mg.jsx)("path",{d:"m11.9795 11.586c5.5082.0762 6.1048-5.99821 3.1455-8.47622-2.0947-1.75393-5.74531-1.37583-7.21932.75941s-1.43432 7.64051 4.07382 7.71681zm-9.91151 9.511c.04238.425.50422.7755 1.01871.7622l17.7118.1408c.6229.0035 1.1358-.382 1.161-.843.1556-1.6495-.1357-3.3218-.8998-4.7419-1.8017-3.4404-12.22326-5.5665-16.7581-1.992-2.15941 1.711-2.47302 4.4518-2.23361 6.6739z",fill:"currentColor"})});i();var Ig=require("react/jsx-runtime"),hx=e=>(0,Ig.jsx)("svg",{...e,children:(0,Ig.jsx)("path",{d:"m18.9737 7.86457c1.8137 1.68881 3.0919 3.22143 3.0237 4.17933.0942 1.3301-2.3864 3.6597-4.787 5.4039-3.6869 2.679-9.13851 1.4637-12.1841-1.3722-1.81366-1.6888-3.0919-3.2215-3.0237-4.1793-.09423-1.3301 2.38644-3.65971 4.78695-5.40395 3.68695-2.67898 9.13855-1.46365 12.18415 1.37222zm-4.5254.78409c-1.8472-1.58151-5.06662-1.24058-6.36652.68474-1.29991 1.9253-1.26491 6.8893 3.59262 6.9581 4.8576.0688 5.3837-5.4084 2.7739-7.64284zm-2.7724 5.79044c2.8097.0393 3.1141-3.09 1.6045-4.3666-1.0685-.90364-2.9307-.70885-3.68257.3912-.7519 1.1-.73165 3.9362 2.07807 3.9754z",fill:"currentColor"})});i();var kg=require("react/jsx-runtime"),gx=e=>(0,kg.jsx)("svg",{...e,children:(0,kg.jsx)("path",{d:"m14.48 4.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67583.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm5 1.25c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm.0583 3.73083v-.03916c0-.6775.5542-1.23084 1.23-1.23084.6775 0 1.2317.55334 1.2317 1.23084v.03916c0 .67587-.5542 1.22997-1.2317 1.22997-.6758 0-1.23-.5541-1.23-1.22997zm-.0583 3.76917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6767-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6767.5525-1.23 1.23-1.23zm-9.96083-7.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23.67753 0 1.23003.55333 1.23003 1.23v.04c0 .67667-.5525 1.23-1.23003 1.23zm-.01917 3.73083v.03834c0 .67663-.55417 1.23163-1.23 1.23163-.6775 0-1.23167-.555-1.23167-1.23163v-.03834c0-.6775.55417-1.23 1.23167-1.23.67583-.00083 1.23.5525 1.23 1.23zm4.98 5.01917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6758-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6758.5525-1.23 1.23-1.23zm-1.23-5c0 .6883.5608 1.25 1.25 1.25.6883 0 1.25-.5617 1.25-1.25 0-.69-.5617-1.25-1.25-1.25-.6892 0-1.25.56-1.25 1.25zm-10.885 12.135c-.48667-.4867-.48667-1.2817 0-1.7675l8.76-8.76c-.2333-.4892-.375-1.03-.375-1.6075 0-2.07167 1.6783-3.75 3.75-3.75 2.0708 0 3.75 1.67833 3.75 3.75 0 2.0717-1.6792 3.75-3.75 3.75-.5775 0-1.1192-.1417-1.6083-.375l-8.75837 8.76c-.2425.2425-.56416.365-.88333.365-.32083 0-.64167-.1225-.88417-.365z",fill:"currentColor"})});i();var Ng=require("react/jsx-runtime"),vx=e=>(0,Ng.jsx)("svg",{...e,children:(0,Ng.jsx)("path",{d:"m4.34613 4.96934c4.1006-4.848919 14.15257-3.87134 14.02637 5.15386-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1897-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.2231-3.53338-2.4152-3.42617-8.20463-.52374-11.63676zm4.93672 1.64027c0-.55228.44772-1 1.00005-1 .5522 0 1 .44772 1 1v2.43714h2.437c.5523 0 1 .44771 1 .99995 0 .5523-.4477 1-1 1h-2.437v2.4371c0 .5523-.4478 1-1 1-.55233 0-1.00005-.4477-1.00005-1v-2.4371h-2.4371c-.55229 0-1-.4477-1-1 0-.55224.44771-.99995 1-.99995h2.4371z",fill:"currentColor",fillRule:"evenodd"})});i();var Vg=require("react/jsx-runtime"),yx=e=>(0,Vg.jsx)("svg",{...e,children:(0,Vg.jsx)("path",{d:"m4.34613 4.96934c4.10059-4.848919 14.15257-3.87134 14.02637 5.15386-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1898-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.2231-3.53339-2.4152-3.42617-8.20463-.52374-11.63676zm1.49962 5.07736c0 .5523.44771 1 1 1h6.87415c.5523 0 1-.4477 1-1 0-.55224-.4477-.99995-1-.99995h-6.87415c-.55229 0-1 .44771-1 .99995z",fill:"currentColor"})});var bx=require("react/jsx-runtime"),Ol={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Pe=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if((0,Kp.isNil)(n))throw new Error("An Icon component requires a `type` prop to be provided");if((0,Kp.isNil)(qh[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if((0,Kp.isNil)(Ol[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=Lg[qh[n]],s={verticalAlign:"middle",...r};return(0,bx.jsx)(a,{"aria-hidden":"true",color:e,height:`${Ol[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${Ol[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Pe.displayName="Icon_VHS";var er=require("react/jsx-runtime"),XL=Ml.default.span`
|
|
108
|
+
`),()=>{document.head.removeChild(p)}},[t]),(0,ub.jsx)(jh,{isPresent:t,childRef:n,sizeRef:o,children:Hp.cloneElement(e,{ref:n})})}var fb=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:a,mode:s})=>{let u=ls(HL),l=(0,Sl.useId)(),c=(0,Sl.useMemo)(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:p=>{u.set(p,!0);for(let d of u.values())if(!d)return;n&&n()},register:p=>(u.set(p,!1),()=>u.delete(p))}),a?[Math.random()]:[r]);return(0,Sl.useMemo)(()=>{u.forEach((p,d)=>u.set(d,!1))},[r]),cb.useEffect(()=>{!r&&!u.size&&n&&n()},[r]),s==="popLayout"&&(e=(0,_h.jsx)(lb,{isPresent:r,children:e})),(0,_h.jsx)(Io.Provider,{value:c,children:e})};function HL(){return new Map}i();var Gp=require("react"),Dl=e=>e.key||"";function Wh(e){let t=[];return Gp.Children.forEach(e,r=>{(0,Gp.isValidElement)(r)&&t.push(r)}),t}var Pl=({children:e,exitBeforeEnter:t,custom:r,initial:n=!0,onExitComplete:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{Jr(!t,"Replace exitBeforeEnter with mode='wait'");let u=(0,hn.useMemo)(()=>Wh(e),[e]),l=u.map(Dl),c=(0,hn.useRef)(!0),p=(0,hn.useRef)(u),d=ls(()=>new Map),[h,g]=(0,hn.useState)(u),[v,m]=(0,hn.useState)(u);wf(()=>{c.current=!1,p.current=u;for(let x=0;x<v.length;x++){let w=Dl(v[x]);l.includes(w)?d.delete(w):d.get(w)!==!0&&d.set(w,!1)}},[v,l.length,l.join("-")]);let b=[];if(u!==h){let x=[...u];for(let w=0;w<v.length;w++){let S=v[w],E=Dl(S);l.includes(E)||(x.splice(w,0,S),b.push(S))}s==="wait"&&b.length&&(x=b),m(Wh(x)),g(u);return}let{forceRender:y}=(0,hn.useContext)(Xa);return(0,El.jsx)(El.Fragment,{children:v.map(x=>{let w=Dl(x),S=u===v||l.includes(w),E=()=>{if(d.has(w))d.set(w,!0);else return;let D=!0;d.forEach(P=>{P||(D=!1)}),D&&(y?.(),m(p.current),o&&o())};return(0,El.jsx)(fb,{isPresent:S,initial:!c.current||n?void 0:!1,custom:S?void 0:r,presenceAffectsLayout:a,mode:s,onExitComplete:S?void 0:E,children:x},w)})})};i();var mb=require("styled-components");i();i();i();var Zr={breakpoint:{xs:"0em",sm:"37.5em",md:"56.5625em",lg:"77.5em",xl:"90em"},color:{brandBlue100:"#E5E9FF",brandBlue200:"#CCD5FF",brandBlue300:"#99ABFF",brandBlue400:"#6B84FF",brandBlue500:"#2949E5",brandBlue600:"#1F3399",brandBlue700:"#222D66",brandBlue800:"#000934",purple100:"#FDF7FF",purple200:"#F9E5FF",purple300:"#F2CAFF",purple400:"#E093FA",purple500:"#D65CFF",purple600:"#AC12E0",purple700:"#752E8C",purple800:"#39004D",green100:"#F4FFF2",green200:"#DFFFD9",green300:"#B0E5A5",green400:"#76D962",green500:"#44B62D",green600:"#268713",green700:"#38662E",green800:"#093300",blue100:"#E9F5FF",blue200:"#C7E7FF",blue300:"#91CEFF",blue400:"#58B7FE",blue500:"#229FFF",blue600:"#1B7FDE",blue700:"#165FAC",blue800:"#0D407A",pink100:"#FFF8FC",pink200:"#FFE5F4",pink300:"#FFC7E8",pink400:"#FF8CD0",pink500:"#FF40B3",pink600:"#E0128E",pink700:"#661F4A",pink800:"#4D002E",red100:"#FFF7F9",red200:"#FFCCD5",red300:"#FF99AB",red400:"#FF6682",red500:"#FF2B51",red600:"#D60027",red700:"#99001C",red800:"#660013",yellow100:"#FFFFF0",yellow200:"#EFF18D",yellow300:"#E8EC1E",yellow400:"#D9DC25",yellow500:"#BCBF19",yellow600:"#9EA00F",yellow700:"#7C7E07",yellow800:"#4A4D00",orange100:"#FFF9F8",orange200:"#FFCABA",orange300:"#FF9D80",orange400:"#FF6C40",orange500:"#D1451A",orange600:"#B23009",orange700:"#80280D",orange800:"#4D1200",grey100:"#F8F8F9",grey200:"#EBEBED",grey300:"#DEDEE1",grey400:"#C4C4C8",grey500:"#A3A3AA",grey600:"#7B7B87",grey700:"#62626C",grey800:"#4A4A51",grey900:"#37373C",grey1000:"#1F1F22",grey1100:"#0B0D0E",error100:"#FFECEC",error200:"#FFCACA",error300:"#FF9A9A",error400:"#FF6962",error500:"#FA4040",error600:"#D63727",error700:"#AA0D15",error800:"#860011",success100:"#E6F9F3",success200:"#BFEFE0",success300:"#81E0C1",success400:"#41D0A3",success500:"#00C185",success600:"#00966E",success700:"#047063",success800:"#025050",warning100:"#FFF8E6",warning200:"#FFEFC8",warning300:"#FFDF96",warning400:"#FFCE5A",warning500:"#FABE1F",warning600:"#DC9601",warning700:"#BE7200",warning800:"#B45101"},duration:{productive:{fast:"70ms",moderate:"110ms",slow:"150ms"},expressive:{fast:"240ms",moderate:"400ms",slow:"700ms"}},easing:{standard:{productive:"cubic-bezier(0.2, 0, 0.38, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 0.3, 1)"},entrance:{productive:"cubic-bezier(0, 0, 0.38, 0.9)",expressive:"cubic-bezier(0, 0, 0.3, 1)"},exit:{productive:"cubic-bezier(0.2, 0, 1, 0.9)",expressive:"cubic-bezier(0.4, 0.14, 1, 1)"}},font:{family:{default:"Inter, Helvetica, Arial, sans-serif",monospace:'"IBM Plex Mono", Consolas, Monaco, monospace'},weight:{thin:100,extraLight:200,light:300,regular:400,medium:500,semiBold:600,bold:700,extraBold:800},size:{default:"16px",small:"14px"}},shadow:{elevation0:"none",elevation1:"0 2px 4px rgba(0, 0, 0, 0.1)",elevation2:"0 0 64px 0 rgba(0, 0, 0, 0.08)"},spacing:{space01:"4px",space02:"8px",space03:"12px",space04:"16px",space05:"24px",space06:"32px",space07:"48px",space08:"64px",space09:"80px",space10:"96px",space11:"120px"}};var GL=100,jL=200,pb=300,Tl=500,db={breakpoint:{...Zr.breakpoint},color:{...Zr.color},duration:{...Zr.duration},easing:{...Zr.easing},font:{family:Zr.font.family,size:Zr.font.size,weight:{...Cf(Zr.font.weight,["regular","medium","semiBold","bold","extraBold"])}},shadow:{...Zr.shadow},spacing:{...Zr.spacing},zIndex:{ModalCloseButton:GL,Backdrop:jL,ActionModal:pb,FullScreenModal:pb,RangeSelector:Tl,MenuComponent:Tl,Toast:Tl,Tooltip:Tl,BackdropElevated:Tl}};var gb=require("react/jsx-runtime"),hb=({children:e,theme:t})=>{let r=el(db,t);return(0,gb.jsx)(mb.ThemeProvider,{theme:r,children:e})};i();var jp=require("react"),vb=(0,jp.createContext)({}),yb=()=>(0,jp.useContext)(vb),bb=vb.Provider;i();var bn=require("react");i();var Qr=require("react"),Vx=require("react-dom");var Gg=A(require("styled-components")),Lx=A(ee());i();i();i();var Cb=require("styled-components"),gn=()=>(0,Cb.useTheme)();i();i();i();i();var _p=require("react");i();function _L(e,t,r){var n=r||{},o=n.noTrailing,a=o===void 0?!1:o,s=n.noLeading,u=s===void 0?!1:s,l=n.debounceMode,c=l===void 0?void 0:l,p,d=!1,h=0;function g(){p&&clearTimeout(p)}function v(b){var y=b||{},x=y.upcomingOnly,w=x===void 0?!1:x;g(),d=!w}function m(){for(var b=arguments.length,y=new Array(b),x=0;x<b;x++)y[x]=arguments[x];var w=this,S=Date.now()-h;if(d)return;function E(){h=Date.now(),t.apply(w,y)}function D(){p=void 0}!u&&c&&!p&&E(),g(),c===void 0&&S>e?u?(h=Date.now(),a||(p=setTimeout(c?D:E,e))):E():a!==!0&&(p=setTimeout(c?D:E,c===void 0?e-S:e))}return m.cancel=v,m}function Al(e,t,r){var n=r||{},o=n.atBegin,a=o===void 0?!1:o;return _L(e,t,{debounceMode:a!==!1})}i();var Uh=()=>typeof window<"u"&&typeof document<"u";var Wp=(e=0)=>{let[t,r]=(0,_p.useState)({width:Uh()?window.innerWidth:0,height:Uh()?window.innerHeight:0});return(0,_p.useLayoutEffect)(()=>{let n=Al(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var WL=16,vn=()=>{let e=Wp().width/WL,t=gn(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),a=e>=Number.parseFloat(t.breakpoint.lg),s=e>=Number.parseFloat(t.breakpoint.xl),u=e<Number.parseFloat(t.breakpoint.sm),l=e<Number.parseFloat(t.breakpoint.md),c=e<Number.parseFloat(t.breakpoint.lg),p=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:a,isXlAndUp:s,isXsAndDown:u,isSmAndDown:l,isMdAndDown:c,isLgAndDown:p,isXlAndDown:!0}};var Ds=require("react/jsx-runtime"),Kh=24,UL={bottom:Kh,left:Kh,position:"fixed"},KL={minWidth:"352px",width:"400px"},qL={width:`calc(100% - ${Kh*2}px)`},xb=({children:e,in:t,renderInPlace:r})=>{let{isSmAndUp:n}=vn(),{duration:o,zIndex:a}=gn(),s=Number.parseInt(o.expressive.fast,10)/1e3,u={zIndex:a.Toast,...UL,...n?KL:qL};return r?(0,Ds.jsx)(Ds.Fragment,{children:e}):(0,Ds.jsx)(Pl,{children:t?(0,Ds.jsx)(wl.div,{animate:{opacity:1,y:"0%"},exit:{opacity:0,y:"100%"},initial:{opacity:0,y:"100%"},style:u,transition:{duration:s},children:e}):null})};i();i();var wb=(e,t)=>{if(!e.hasOwnProperty(t))throw new Error(`\`${String(t)}\` is not a defined theme color, check argument passed to \`useThemeColor\``);return e[t]},Be=(e=null)=>{let r=gn().color;if(!Object.keys({...r}).length)throw new Error("The `useThemeColor` hook could not find any defined colors. A possible cause of this error is that your component is not wrapped in a theme provider such as `<VHSProvider />`");return e===null?r:Array.isArray(e)?e.map(o=>wb(r,o)):wb(r,e)};i();var kx=require("react"),Yp=A(ee());i();var Ml=A(require("styled-components")),Ps=A(ee());i();i();var Kp=A(ee());i();var qh={"ab-test":"AbTestIcon","all-content":"AllContentIcon",archived:"ArchivedIcon","arrow-down":"ArrowDownIcon","arrow-left":"ArrowLeftIcon","arrow-right":"ArrowRightIcon","arrow-up":"ArrowUpIcon",asterisk:"AsteriskIcon",audience:"AudienceIcon",calendar:"CalendarIcon",camera:"CameraIcon","caret-down":"CaretDownIcon","caret-left":"CaretLeftIcon","caret-right":"CaretRightIcon","caret-up":"CaretUpIcon",channel:"ChannelIcon",checkmark:"CheckmarkIcon","checkmark-circle":"CheckmarkCircleIcon","checkmark-circle-outline":"CheckmarkCircleOutlineIcon","checkmark-circle-three-quarters":"CheckmarkCircleThreeQuartersIcon","checkmark-underlined":"CheckmarkUnderlinedIcon",close:"CloseIcon",comment:"CommentIcon",community:"CommunityIcon","contact-us":"ContactUsIcon",copy:"CopyIcon","copy-disabled":"CopyDisabledIcon",create:"CreateIcon",delete:"DeleteIcon","delete-sm":"DeleteSmIcon",download:"DownloadIcon",draggable:"DraggableIcon",edit:"PencilIcon",ellipsis:"EllipsisIcon","ellipsis-vertical":"EllipsisVerticalIcon",embed:"EmbedIcon",episodes:"EpisodesIcon",error:"TriangleIcon",expand:"ExpandIcon",export:"DownloadIcon",favorite:"FavoriteIcon","favorite-outline":"FavoriteOutlineIcon",filter:"FilterIcon",gear:"GearIcon","getting-started":"GettingStartedIcon",globe:"GlobeIcon","grid-view":"GridViewIcon",hamburger:"HamburgerIcon",hazard:"HazardIcon","help-center":"HelpCenterIcon",hide:"HideIcon",home:"HomeIcon",hourglass:"HourglassIcon",import:"ImportIcon",info:"InfoIcon",integrations:"IntegrationsIcon",invite:"InviteIcon","lightning-bolt":"LightningBoltIcon",link:"LinkIcon","list-view":"ListViewIcon",live:"LiveIcon",lock:"LockIcon",logout:"LogoutIcon",media:"MediaIcon",megaphone:"MegaphoneIcon","more-options":"MoreOptionsIcon","open-new":"OpenNewIcon",overview:"OverviewIcon",paint:"PaintIcon",pencil:"PencilIcon",play:"PlayIcon",podcast:"PodcastIcon",preview:"PreviewIcon","private-user-sessions":"PrivateUserSessionsIcon",project:"ProjectIcon","question-mark":"QuestionMarkIcon",react:"ReactIcon",record:"RecordIcon",redo:"RedoIcon","remove-from-channel":"RemoveFromChannelIcon",replace:"ReplaceIcon",reply:"ReplyIcon","save-copy":"CopyIcon",scissors:"ScissorsIcon",search:"SearchIcon",send:"SendIcon",settings:"SettingsIcon",share:"ShareIcon",soapbox:"SoapboxIcon",sort:"SortIcon",sparkle:"SparkleIcon",spinner:"SpinnerIcon",stats:"StatsIcon","switch-accounts":"SwitchAccountsIcon",tag:"TagIcon",team:"TeamIcon","thumbs-down":"ThumbsDownIcon","thumbs-up":"ThumbsUpIcon",triangle:"TriangleIcon",undo:"UndoIcon",unlock:"UnlockIcon",upload:"UploadIcon","users-permissions":"UsersPermissionsIcon","view-stream":"ViewStreamIcon",wand:"WandIcon","zoom-in":"ZoomInIcon","zoom-out":"ZoomOutIcon"};var Lg={};ff(Lg,{AbTestIcon:()=>Sb,AllContentIcon:()=>Db,ArchivedIcon:()=>Eb,ArrowDownIcon:()=>Pb,ArrowLeftIcon:()=>Tb,ArrowRightIcon:()=>Ab,ArrowUpIcon:()=>Rb,AsteriskIcon:()=>Fb,AudienceIcon:()=>Bb,CalendarIcon:()=>Ob,CameraIcon:()=>Mb,CaretDownIcon:()=>Ib,CaretLeftIcon:()=>kb,CaretRightIcon:()=>Nb,CaretUpIcon:()=>Vb,ChannelIcon:()=>Lb,CheckmarkCircleIcon:()=>$b,CheckmarkCircleOutlineIcon:()=>zb,CheckmarkCircleThreeQuartersIcon:()=>Hb,CheckmarkIcon:()=>Gb,CheckmarkUnderlinedIcon:()=>jb,CloseIcon:()=>_b,CommentIcon:()=>Wb,CommunityIcon:()=>Ub,ContactUsIcon:()=>Kb,CopyDisabledIcon:()=>qb,CopyIcon:()=>Xb,CreateIcon:()=>Yb,DeleteIcon:()=>Jb,DeleteSmIcon:()=>Zb,DownloadIcon:()=>Qb,DraggableIcon:()=>eC,EllipsisIcon:()=>tC,EllipsisVerticalIcon:()=>rC,EmbedIcon:()=>nC,EpisodesIcon:()=>oC,ExpandIcon:()=>iC,FavoriteIcon:()=>aC,FavoriteOutlineIcon:()=>sC,FilterIcon:()=>uC,GearIcon:()=>lC,GettingStartedIcon:()=>cC,GlobeIcon:()=>fC,GridViewIcon:()=>pC,HamburgerIcon:()=>dC,HazardIcon:()=>mC,HelpCenterIcon:()=>hC,HideIcon:()=>gC,HomeIcon:()=>vC,HourglassIcon:()=>yC,ImportIcon:()=>bC,InfoIcon:()=>CC,IntegrationsIcon:()=>xC,InviteIcon:()=>wC,LightningBoltIcon:()=>SC,LinkIcon:()=>DC,ListViewIcon:()=>EC,LiveIcon:()=>PC,LockIcon:()=>TC,LogoutIcon:()=>AC,MediaIcon:()=>RC,MegaphoneIcon:()=>FC,MoreOptionsIcon:()=>BC,OpenNewIcon:()=>OC,OverviewIcon:()=>MC,PaintIcon:()=>IC,PencilIcon:()=>kC,PlayIcon:()=>NC,PodcastIcon:()=>VC,PreviewIcon:()=>LC,PrivateUserSessionsIcon:()=>$C,ProjectIcon:()=>zC,QuestionMarkIcon:()=>HC,ReactIcon:()=>GC,RecordIcon:()=>jC,RedoIcon:()=>_C,RemoveFromChannelIcon:()=>WC,ReplaceIcon:()=>UC,ReplyIcon:()=>KC,ScissorsIcon:()=>qC,SearchIcon:()=>XC,SendIcon:()=>YC,SettingsIcon:()=>JC,ShareIcon:()=>ZC,SoapboxIcon:()=>QC,SortIcon:()=>ex,SparkleIcon:()=>tx,SpinnerIcon:()=>rx,StatsIcon:()=>nx,SwitchAccountsIcon:()=>ox,TagIcon:()=>ix,TeamIcon:()=>ax,ThumbsDownIcon:()=>sx,ThumbsUpIcon:()=>ux,TriangleIcon:()=>lx,UndoIcon:()=>cx,UnlockIcon:()=>fx,UploadIcon:()=>px,UsersPermissionsIcon:()=>dx,ViewStreamIcon:()=>mx,WandIcon:()=>hx,ZoomInIcon:()=>gx,ZoomOutIcon:()=>vx});i();i();var Xh=require("react/jsx-runtime"),Sb=e=>(0,Xh.jsx)("svg",{...e,children:(0,Xh.jsx)("path",{d:"M8.78042 2.11118C6.86612 2.34876 6.94137 3.15354 6.99208 3.69591V3.69599C6.99476 3.72465 6.99738 3.75258 6.99962 3.77965C7.04436 4.31904 7.55048 5.39025 8.78042 5.39025H8.79735L8.79731 5.40433C8.79731 5.40433 9.05197 8.22842 8.79731 9.662C8.63183 10.5935 8.18982 11.2329 7.69474 11.865C8.39927 11.9016 9.14688 11.9764 9.93037 12.0994C10.4699 12.1842 10.8383 12.6879 10.753 13.2246C10.6678 13.7612 10.1613 14.1276 9.62166 14.0428C8.33927 13.8413 7.1731 13.7835 6.16316 13.812C5.48376 14.6589 4.44391 15.9821 3.58432 17.1925C5.12252 17.2343 7.05517 17.2692 9.48309 17.1438C10.0287 17.1157 10.4939 17.5327 10.5222 18.0753C10.5504 18.6178 10.1312 19.0805 9.58566 19.1086C6.78798 19.253 4.53527 19.189 2.90579 19.1426C2.71222 19.1371 2.52744 19.1319 2.35159 19.1273C1.49048 20.8558 2.24968 21.573 4.20714 21.7855C6.33564 22.0165 18.0133 22.1217 19.9478 21.7855C21.8825 21.4493 22.5323 19.9214 21.5397 18.6499C20.547 17.3783 17.7768 13.4113 16.9172 11.9984C16.7004 11.642 16.4948 11.3282 16.3083 11.0435C15.7556 10.1997 15.3708 9.61242 15.36 8.93404L15.3601 5.40433L15.36 5.39025H15.3746C16.8928 5.34284 17.0231 4.6562 17.0231 3.75071C17.0231 2.84523 16.285 2.11118 15.3746 2.11118C15.3746 2.11118 10.7959 1.86103 8.78042 2.11118Z",fill:"currentColor"})});i();var Yh=require("react/jsx-runtime"),Db=e=>(0,Yh.jsx)("svg",{...e,children:(0,Yh.jsx)("path",{d:"m3.09059 3.5023c.5523 0 1 .4477 1 1l-.00092.70188c-.01018 3.93536-.10142 7.15092-.08848 9.77572.0068 1.3587.0426 2.4727.1299 3.3301.071.6968.16857 1.1263.25679 1.3643l.00412.0107.04589.0175c.01953.007.04171.0145.06676.0224l.08404.025c.2655.0742.6435.1409 1.1387.1952.9865.1081 2.3084.1539 3.8524.1644 3.14371.0213 6.85261-.0993 10.44111-.0993l.1166.0067c.4974.0578.8834.4805.8834.9933 0 .5522-.4477 1-1 1l-.738.0017c-3.232.0147-6.8753.1168-9.71671.0976-1.558-.0106-2.9641-.0566-4.0568-.1763-.5444-.0597-1.0437-.141-1.4591-.2571-.3702-.1035-.8555-.2808-1.185-.649l-.05731-.0703-.05079-.0751-.10286-.186c-.29118-.5812-.4296-1.3656-.51294-2.183-.0974-.9568-.1333-2.1494-.1402-3.5229-.0133-2.6853.0894-6.4106.0894-10.4876l.00673-.11652c.05776-.49735.48042-.88338.99327-.88338zm6.5557-1.37637.53051.02595c1.8616.09188 3.7138.19142 3.7138.19142s1.0423-.01829 2.2175-.02072l.4451-.0001c.8957.00155 1.802.01442 2.3355.05302 2.564.2222 2.6272 1.1409 2.7026 2.237.0118.172.024.3485.0461.5273.2722 2.1214.4627 4.9141.4627 6.5213 0 1.6393-.0545 5.1864-.245 5.4757-.2721.4178-.7348.9964-2.6398.8357-1.5154-.1278-7.0949-.2353-9.79337-.2416l-.43309-.0001c-.46931.0011-.80752.0065-.95905.0167-.9525.0643-2.0683-.0643-2.2588-1.125-.17942-.9182-.22215-3.2602-.2137-5.7009l.00427-.7725c.01347-1.80295.04985-3.58372.07493-4.8122.0148-.7225.0256-1.254.0256-1.4866 0-.0124-.0004-.0308-.001-.0543-.0081-.3442-.0425-1.796.8683-1.796.39926 0 1.70989.05778 3.1169.12593zm1.68581 5.01357c-.0356.94577-.0413 3.5445-.0421 5.0123l-.0002.688c0 .1695.1692.2755.3172.1907.9725-.551 3.89-2.2463 4.7145-3.327.0846-.106.0423-.2543-.0634-.3179l-4.6089-2.4156c-.148-.0848-.3171.0212-.3171.1695z",fill:"currentColor"})});i();var Jh=require("react/jsx-runtime"),Eb=e=>(0,Jh.jsx)("svg",{...e,children:(0,Jh.jsx)("path",{clipRule:"evenodd",d:"m1.73061 4.12674c-.00015-.04078-.00031-.08299-.0006-.12674.00196-.01564.00388-.03112.00579-.04645.14457-1.16135.18151-1.45809 3.76421-1.95355 4.033-.558 11.67499-.278 15.49699.892.433.133 1.003.608 1.003 1.108 0 .63366.0008.64812.0016.66226.0007.01356.0014.02683.0014.58474-.1073.53269-.783.38874-1.8549.16039-.8357-.17804-1.9122-.40739-3.1481-.40739-.9352 0-2.0855-.03207-3.3103-.06622-2.7041-.07539-5.7715-.16091-7.68969.06622-.93175.05647-1.70731.17102-2.3234.26202-.91133.1346-1.47374.21767-1.6766-.01502-.26635-.30625-.26743-.59442-.2694-1.12026zm.38218 9.34776.0002.0065c.027.913.053 1.802.033 2.573l-.01.316-.00009.0031c-.05397 1.901-.10965 3.8622.37509 4.4189.34.39 1.277.743 3.591.743 2.315 0 11.63801.264 12.80501.403 1.168.14 2.548.112 2.739-.836.303-1.4255.306-4.3452.308-6.2904v-.0386c0-.625 0-1.147.01-1.48.031-1.25-.024-1.967-.081-2.702-.021-.266-.042-.534-.059-.83-.005-.146-.008-.281-.01-.406l-.0001-.00311c-.0169-.82786-.0249-1.21719-.8169-1.45989-3.822-1.171-11.46401-1.45-15.49701-.892-3.195.442-3.233.992-3.297 1.935-.00056.00797-.00112.01597-.00168.024-.00848.12097-.01744.24897-.03432.384-.14378 1.1792-.09814 2.6835-.0542 4.1315zm5.0572-1.8505c-.316-.349-.254-1.079-.149-1.376.114-.297 3.05201-.268 5.00901-.214 1.5006.0502 2.997.1864 4.482.408.298.052.613.705.465 1.175l-.023.075c-.037.13-.075.263-.17.274-.36.012-6.747-.068-6.747-.068s-2.55201.074-2.86701-.274z",fill:"currentColor"})});i();var Zh=require("react/jsx-runtime"),Pb=e=>(0,Zh.jsx)("svg",{...e,children:(0,Zh.jsx)("path",{d:"m19.7685 14.8636c.615-.555.6637-1.5035.1087-2.1185-.555-.6151-1.5035-.6637-2.1185-.1088l-4.2587 3.8429v-12.27446c0-.82845-.6716-1.5-1.5-1.5s-1.5.67155-1.5 1.5v12.27446l-4.25874-3.8429c-.615-.555-1.56345-.5063-2.11845.1088-.555.615-.5064 1.5635.10875 2.1185l6.76354 6.1031c.5709.5152 1.4389.5152 2.0098 0z",fill:"currentColor"})});i();var Qh=require("react/jsx-runtime"),Tb=e=>(0,Qh.jsx)("svg",{...e,children:(0,Qh.jsx)("path",{d:"M9.1653 19.7974C9.72028 20.4124 10.6688 20.4611 11.2838 19.9061C11.8989 19.3512 11.9476 18.4027 11.3926 17.7876L7.54974 13.5289L19.8242 13.5289C20.6526 13.5289 21.3242 12.8573 21.3242 12.0289C21.3242 11.2005 20.6526 10.5289 19.8242 10.5289L7.54975 10.5289L11.3926 6.27019C11.9476 5.65519 11.8989 4.70674 11.2838 4.15174C10.6688 3.59674 9.72028 3.64534 9.16529 4.26049L3.06217 11.024C2.54703 11.5949 2.54703 12.4629 3.06217 13.0338L9.1653 19.7974Z",fill:"currentColor"})});i();var e2=require("react/jsx-runtime"),Ab=e=>(0,e2.jsx)("svg",{...e,children:(0,e2.jsx)("path",{d:"M14.8347 4.26044C14.2797 3.6454 13.3312 3.59671 12.7162 4.15169C12.1011 4.70668 12.0524 5.65517 12.6074 6.27022L16.4502 10.5289L4.17581 10.5289C3.34736 10.5289 2.67581 11.2005 2.67581 12.0289C2.67581 12.8573 3.34736 13.5289 4.17581 13.5289L16.4502 13.5289L12.6074 17.7877C12.0524 18.4027 12.1011 19.3511 12.7161 19.9061C13.3312 20.4611 14.2797 20.4125 14.8347 19.7974L20.9378 13.0338C21.453 12.4629 21.453 11.5949 20.9378 11.024L14.8347 4.26044Z",fill:"currentColor"})});i();var t2=require("react/jsx-runtime"),Rb=e=>(0,t2.jsx)("svg",{...e,children:(0,t2.jsx)("path",{d:"M4.23151 9.19422C3.61647 9.7492 3.56778 10.6977 4.12276 11.3127C4.67775 11.9278 5.62624 11.9765 6.24129 11.4215L10.5 7.57866L10.5 19.8531C10.5 20.6815 11.1716 21.3531 12 21.3531C12.8284 21.3531 13.5 20.6815 13.5 19.8531L13.5 7.57867L17.7587 11.4215C18.3737 11.9765 19.3222 11.9278 19.8772 11.3128C20.4322 10.6977 20.3836 9.7492 19.7684 9.19422L13.0049 3.09109C12.434 2.57595 11.566 2.57595 10.9951 3.09109L4.23151 9.19422",fill:"currentColor"})});i();var r2=require("react/jsx-runtime"),Fb=e=>(0,r2.jsx)("svg",{...e,children:(0,r2.jsx)("path",{d:"M14.4425 22L13.9358 15.3633L19.5575 19.0908L22 14.9542L15.3642 11.9542L22 9L19.5575 4.86333L13.9358 8.63667L14.4425 2H9.5575L10.0183 8.68167L4.39667 4.90917L2 9.04583L8.4975 12L2 14.9092L4.39667 19L10.0183 15.2725L9.5575 22H14.4425Z",fill:"currentColor"})});i();var n2=require("react/jsx-runtime"),Bb=e=>(0,n2.jsx)("svg",{...e,children:(0,n2.jsx)("path",{d:"m11.1744 3.04659c2.6835 2.33688 2.1425 8.06531-2.85234 7.99341-4.99483-.0719-5.03082-5.26362-3.69418-7.27726 1.33665-2.01364 4.64706-2.37021 6.54652-.71615zm8.511 8.47051c1.505 1.3105 1.2016 4.523-1.5995 4.4827-2.8011-.0404-2.8213-2.9519-2.0717-4.0811s2.6061-1.3292 3.6712-.4016zm-16.99799 10.3336c-.32545.0141-.61759-.3577-.6444-.8086-.15145-2.3574.04693-5.2652 1.4129-7.0804 2.86859-3.7922 9.46089-1.5366 10.60059 2.1134.236.7357.4008 1.5352.4961 2.3645.1371-.16.2718-.3099.3984-.4466 1.7601-1.8904 5.8048-.766 6.5041 1.0535.2965.751.4096 1.6354.3492 2.5077-.0098.2438-.2089.4477-.4506.4458h-7.4492-.0132-.0022-.4484c-.0235.0008-.0471-.0016-.0706-.0069z",fill:"currentColor"})});i();var o2=require("react/jsx-runtime"),Ob=e=>(0,o2.jsx)("svg",{...e,children:(0,o2.jsx)("path",{clipRule:"evenodd",d:"m7.5 2.9895c.82843 0 1.5.67157 1.5 1.5v1.51041l6 .00003c0-.00001 0 .00001 0 0v-1.51044c0-.82843.6716-1.5 1.5-1.5s1.5.67157 1.5 1.5v1.51041c0-.00001 0 .00001 0 0l1.5.00003c.8284 0 1.5.67157 1.5 1.5v1.5c0 .82843-.6716 1.49996-1.5 1.49996h-15c-.82843 0-1.5-.67153-1.5-1.49996v-1.5c0-.82843.67157-1.5 1.5-1.5h1.5v-1.51044c0-.82843.67157-1.5 1.5-1.5zm-3 9.0104c-.82843 0-1.5.6716-1.5 1.5v6c0 .8285.67157 1.5 1.5 1.5h15c.8284 0 1.5-.6715 1.5-1.5v-6c0-.8284-.6716-1.5-1.5-1.5z",fill:"currentColor",fillRule:"evenodd"})});i();var i2=require("react/jsx-runtime"),Mb=e=>(0,i2.jsx)("svg",{...e,children:(0,i2.jsx)("path",{clipRule:"evenodd",d:"M11.3162 20.979C11.6222 20.9857 11.9282 20.9924 12.2342 21V20.992C12.276 20.992 12.3178 20.9924 12.3595 20.9928C12.443 20.9935 12.5264 20.9942 12.6096 20.992C12.9666 20.9825 13.3235 20.9735 13.6805 20.9645C14.6678 20.9395 15.6552 20.9144 16.6423 20.8803C17.3374 20.8559 18.032 20.8127 18.7251 20.7569C19.3748 20.7048 20.0238 20.6415 20.6727 20.5783C20.9177 20.5544 21.1626 20.5305 21.4076 20.5072C21.8887 20.4612 22.2848 20.0971 22.3749 19.624C22.5973 18.4536 22.7728 17.2761 22.8625 16.0887C22.9258 15.2478 22.9671 14.403 22.9784 13.5597C22.9883 12.8257 22.9578 12.0898 22.9174 11.3563C22.8803 10.6899 22.8278 10.023 22.7433 9.36129C22.6605 8.71089 22.5531 8.06362 22.4457 7.41667C22.4215 7.27097 22.3974 7.12528 22.3735 6.97958C22.2928 6.48916 21.8624 6.12123 21.3663 6.08228C21.0761 6.05955 20.7863 6.03115 20.4965 6.00274C20.2656 5.98012 20.0347 5.9575 19.8036 5.93773C19.2277 5.88845 18.6514 5.84434 18.0747 5.80586C17.9794 5.79929 17.9418 5.76737 17.9151 5.67868L17.8955 5.61308C17.7345 5.07457 17.5734 4.53581 17.3998 4.00139C17.2445 3.5227 16.7784 3.15664 16.3077 3.1313C16.1265 3.12155 15.9453 3.11126 15.7641 3.10098C15.1608 3.06675 14.5575 3.03253 13.9537 3.01773C12.2178 2.97502 10.4823 3.00787 8.75008 3.13365C8.62103 3.14303 8.48634 3.17917 8.36901 3.23455C8.02173 3.39833 7.773 3.66208 7.65567 4.03236C7.56181 4.32848 7.47105 4.62568 7.38028 4.92287C7.3013 5.18146 7.22232 5.44004 7.14131 5.69792C7.12817 5.73922 7.07937 5.79131 7.04041 5.79741C6.95316 5.81131 6.86434 5.81585 6.77551 5.82041C6.73533 5.82246 6.69516 5.82452 6.65512 5.82744C6.53247 5.83652 6.40978 5.84531 6.28709 5.8541C5.96567 5.87712 5.64421 5.90015 5.32324 5.92834C5.07994 5.94972 4.83701 5.97418 4.59413 5.99864C4.29308 6.02896 3.99209 6.05927 3.69053 6.08368C3.21982 6.1217 2.78478 6.49432 2.70453 6.96316C2.66943 7.16876 2.63372 7.37429 2.59802 7.57982C2.47619 8.28117 2.35434 8.98263 2.25634 9.68746C2.15263 10.4327 2.06674 11.1841 2.03202 11.9354C1.99259 12.782 1.9879 13.6329 2.02732 14.479C2.06674 15.3322 2.1545 16.1854 2.26714 17.032C2.35101 17.6614 2.46316 18.287 2.5753 18.9124C2.61877 19.1549 2.66224 19.3973 2.70406 19.64C2.77868 20.0708 3.19542 20.4636 3.61263 20.5044C3.69683 20.5127 3.78099 20.5213 3.86514 20.5298C4.03332 20.5469 4.20149 20.564 4.37008 20.579C4.58912 20.5986 4.80813 20.6188 5.02715 20.639C5.58193 20.6903 6.13681 20.7416 6.69266 20.7813C7.51863 20.8404 8.34601 20.8897 9.17386 20.9207C9.88781 20.9476 10.602 20.9633 11.3162 20.979ZM6.3909 12.7131C6.41718 9.38992 9.19264 6.63089 12.5083 6.64872C15.8811 6.66703 18.5796 9.38664 18.5707 12.7375C18.5618 16.0676 15.807 18.8534 12.4721 18.8328C9.15556 18.8121 6.36462 16.0512 6.3909 12.7131ZM16.2261 12.7248C16.2383 10.658 14.5539 8.99148 12.4754 8.99524L12.4749 8.99571C10.4006 8.99899 8.72848 10.6655 8.73318 12.7243C8.73834 14.7935 10.4217 16.4942 12.4806 16.4867C14.5619 16.4792 16.2139 14.8104 16.2261 12.7248Z",fill:"currentColor",fillRule:"evenodd"})});i();var a2=require("react/jsx-runtime"),Ib=e=>(0,a2.jsx)("svg",{...e,children:(0,a2.jsx)("path",{d:"m2.68581 7.2381c.52393-.57331 1.39057-.64667 2.00074-.19312l.11843.09775 7.19402 6.57527 7.196-6.57527c.5733-.52393 1.443-.51915 2.01-.01262l.1092.10799c.5239.57331.5191 1.44304.0126 2.01l-.108.10918-8.2069 7.50002c-.5348.4887-1.3351.5213-1.9053.0977l-.1185-.0977-8.20691-7.50002c-.61154-.55886-.65424-1.50764-.09538-2.11918z",fill:"currentColor"})});i();var s2=require("react/jsx-runtime"),kb=e=>(0,s2.jsx)("svg",{...e,children:(0,s2.jsx)("path",{d:"m16.7619 2.68582c.5733.52393.6467 1.39057.1931 2.00074l-.0977.11844-6.5753 7.194 6.5753 7.196c.5239.5733.5191 1.443.0126 2.01l-.108.1092c-.5733.5239-1.443.5191-2.01.0126l-.1092-.108-7.49998-8.2069c-.48873-.5348-.52131-1.3351-.09775-1.9053l.09775-.1185 7.49998-8.2069c.5589-.61153 1.5077-.65423 2.1192-.09538z",fill:"currentColor"})});i();var u2=require("react/jsx-runtime"),Nb=e=>(0,u2.jsx)("svg",{...e,children:(0,u2.jsx)("path",{d:"m7.23808 21.3142c-.57331-.524-.64667-1.3906-.19312-2.0008l.09774-.1184 6.5753-7.194-6.57529-7.196c-.52393-.57331-.51915-1.44303-.01262-2.01l.10799-.10917c.57331-.52393 1.44303-.51915 2.01-.01262l.10917.10799 7.50005 8.2069c.4887.5348.5213 1.3351.0977 1.9053l-.0977.1185-7.50004 8.2069c-.55886.6115-1.50765.6542-2.11918.0954z",fill:"currentColor"})});i();var l2=require("react/jsx-runtime"),Vb=e=>(0,l2.jsx)("svg",{...e,children:(0,l2.jsx)("path",{d:"m21.3141 16.7619c-.5239.5733-1.3905.6467-2.0007.1931l-.1184-.0977-7.194-6.5753-7.19602 6.5753c-.57331.5239-1.44304.5191-2.01.0126l-.10918-.108c-.52393-.5733-.51915-1.443-.01261-2.01l.10798-.1092 8.20683-7.49998c.5348-.48873 1.3352-.52131 1.9054-.09775l.1184.09775 8.207 7.49998c.6115.5589.6542 1.5077.0953 2.1192z",fill:"currentColor"})});i();var c2=require("react/jsx-runtime"),Lb=e=>(0,c2.jsx)("svg",{...e,children:(0,c2.jsx)("path",{clipRule:"evenodd",d:"m5.64571 1.19092c-.44678-.324663-1.07216-.225666-1.39682.22112-.32466.44678-.22567 1.07215.22111 1.39682 1.28625.93467 2.48092 2.19849 3.54704 3.39817-1.62947-.00332-2.92814.02027-3.46778.08086-1.98082.22241-2.2359 1.3046-2.45624 2.97122-.22035 1.66659.01731 8.61489.2821 10.20679s1.03019 2.2578 3.23903 2.2185c1.36389-.0243 5.14395.102 8.22435.2049 1.9081.0637 3.5484.1185 4.1789.123l.0126.0001c1.6426.0116 2.973.0211 3.5839-1.2509.6125-1.2752.3643-9.5706.2662-11.15071-.0982-1.58008-.6322-2.71681-1.8871-2.99303-.4032-.08875-1.9372-.17748-3.8995-.24967.9793-1.0846 2.1361-2.34437 3.5284-3.63478.405-.37542.4291-1.00813.0536-1.41319-.3754-.405062-1.0081-.429086-1.4132-.05366-1.61 1.49224-2.9274 2.95491-3.9684 4.11064-.1937.21508-.3778.41955-.5525.61158-.0947.10407-.1859.20373-.2738.29896-.9155-.02314-1.8546-.0422-2.7663-.056-.1596-.18054-.3281-.37314-.5061-.57663l-.1089-.12441c-1.18229-1.35084-2.71275-3.08411-4.44059-4.33968zm9.86039 12.42148c-1.0777 1.4126-4.8912 3.6285-6.16234 4.3486-.19344.1108-.41451-.0277-.41451-.2493 0-1.468 0-5.9827.05527-7.4507 0-.1939.22107-.3324.4145-.2216l6.02418 3.1576c.1382.0831.1934.2769.0829.4154z",fill:"currentColor",fillRule:"evenodd"})});i();var f2=require("react/jsx-runtime"),$b=e=>(0,f2.jsx)("svg",{...e,children:(0,f2.jsx)("path",{clipRule:"evenodd",d:"m21.8158 14.5648c3.0982-10.94829-8.8224-15.41821-15.39746-10.85188-4.65388 3.23212-6.673329 10.24658-3.15895 14.34028 3.51439 4.0936 15.45811 7.4598 18.55641-3.4884zm-4.1007-5.8658c.3861-.39496.3788-1.02808-.0161-1.41413-.395-.38604-1.0281-.37882-1.4141.01613l-6.127 6.2684-2.44277-2.4992c-.38605-.3949-1.01917-.4021-1.41413-.0161-.39495.3861-.40217 1.0192-.01612 1.4141l3.15789 3.2308c.18815.1925.44596.301.71513.301.2692 0 .527-.1085.7151-.301z",fill:"currentColor",fillRule:"evenodd"})});i();var Rl=require("react/jsx-runtime"),zb=({...e})=>(0,Rl.jsxs)("svg",{...e,children:[(0,Rl.jsx)("path",{clipRule:"evenodd",d:"M11.25 2.5C6.41751 2.5 2.5 6.41751 2.5 11.25C2.5 16.0825 6.41751 20 11.25 20C16.0825 20 20 16.0825 20 11.25C20 6.41751 16.0825 2.5 11.25 2.5ZM0 11.25C0 5.0368 5.0368 0 11.25 0C17.4632 0 22.5 5.0368 22.5 11.25C22.5 17.4632 17.4632 22.5 11.25 22.5C5.0368 22.5 0 17.4632 0 11.25Z",fill:"currentColor",fillRule:"evenodd"}),(0,Rl.jsx)("path",{clipRule:"evenodd",d:"M17.1237 7.35609C17.6174 7.83865 17.6265 8.63005 17.1439 9.12374L10.3018 16.1237C10.0666 16.3644 9.74436 16.5 9.4079 16.5C9.07143 16.5 8.74918 16.3644 8.51399 16.1237L5.35609 12.893C4.87354 12.3993 4.88256 11.6079 5.37626 11.1253C5.86995 10.6428 6.66135 10.6518 7.14391 11.1455L9.4079 13.4617L15.3561 7.37626C15.8386 6.88256 16.6301 6.87354 17.1237 7.35609Z",fill:"currentColor",fillRule:"evenodd"})]});i();var p2=require("react/jsx-runtime"),Hb=e=>(0,p2.jsx)("svg",{...e,children:(0,p2.jsx)("path",{d:"m5.06066 10.1406c1.02693-3.83255 4.96634-6.10695 8.79884-5.08003.8844.23699 1.7935-.28787 2.0305-1.1723.237-.88444-.2879-1.79352-1.1723-2.0305-5.60142-1.500892-11.35896 1.82322-12.85985 7.42462-1.500884 5.60141 1.82323 11.35891 7.42463 12.85981 5.60142 1.5009 11.35892-1.8232 12.85982-7.4246.237-.8844-.2879-1.7935-1.1723-2.0305s-1.7935.2879-2.0305 1.1723c-1.0269 3.8325-4.9663 6.1069-8.7988 5.08-3.83257-1.0269-6.10696-4.9663-5.08004-8.7988zm16.57534-2.98696c.6582-.63651.6758-1.68609.0392-2.34429-.6365-.65821-1.686-.67579-2.3442-.03928l-7.5698 7.32023-2.17928-2.46975c-.60581-.68657-1.65349-.75203-2.34005-.14621-.68656.60576-.75202 1.65346-.14621 2.34006l2.94474 3.3372c.8339.9451 2.2881 1.0027 3.1942.1265z",fill:"currentColor"})});i();var d2=require("react/jsx-runtime"),Gb=e=>(0,d2.jsx)("svg",{...e,children:(0,d2.jsx)("path",{d:"m8.79289 18.7054-6.50001-6.5374c-.39051-.3927-.39051-1.0295 0-1.4223l1.41418-1.42238c.39051-.39279 1.02371-.39279 1.41422 0l4.37872 4.40388 9.3787-9.43263c.3905-.39276 1.0237-.39276 1.4142 0l1.4142 1.42235c.3905.39275.3905 1.02956 0 1.42235l-11.5 11.56613c-.39054.3928-1.0237.3928-1.41421 0z",fill:"currentColor"})});i();var m2=require("react/jsx-runtime"),jb=e=>(0,m2.jsx)("svg",{...e,children:(0,m2.jsx)("path",{d:"M9.54401 12.95L17.994 4.49995C18.194 4.29995 18.4315 4.19995 18.7065 4.19995C18.9815 4.19995 19.219 4.29995 19.419 4.49995C19.619 4.69995 19.719 4.93745 19.719 5.21245C19.719 5.48745 19.619 5.72495 19.419 5.92495L10.244 15.1C10.044 15.3 9.81067 15.4 9.54401 15.4C9.27734 15.4 9.04401 15.3 8.84401 15.1L4.56901 10.825C4.36901 10.625 4.27317 10.3875 4.28151 10.1125C4.28984 9.83745 4.39401 9.59995 4.59401 9.39995C4.79401 9.19995 5.03151 9.09995 5.30651 9.09995C5.58151 9.09995 5.81901 9.19995 6.01901 9.39995L9.54401 12.95ZM5.99401 19.8C5.71067 19.8 5.47317 19.7041 5.28151 19.5125C5.08984 19.3208 4.99401 19.0833 4.99401 18.8C4.99401 18.5166 5.08984 18.2791 5.28151 18.0875C5.47317 17.8958 5.71067 17.8 5.99401 17.8H17.994C18.2773 17.8 18.5148 17.8958 18.7065 18.0875C18.8982 18.2791 18.994 18.5166 18.994 18.8C18.994 19.0833 18.8982 19.3208 18.7065 19.5125C18.5148 19.7041 18.2773 19.8 17.994 19.8H5.99401Z",fill:"currentColor"})});i();var h2=require("react/jsx-runtime"),_b=e=>(0,h2.jsx)("svg",{...e,children:(0,h2.jsx)("path",{d:"m17.7742 19.618c.5091.5093 1.3347.5093 1.8439 0 .5091-.5091.5091-1.3347 0-1.8438l-5.7742-5.7742 5.7742-5.77422c.5091-.50918.5091-1.3347 0-1.84387-.5092-.50917-1.3348-.50917-1.8439 0l-5.7742 5.77419-5.77426-5.77422c-.50917-.50917-1.33469-.50917-1.84387 0-.50916.50917-.50916 1.3347 0 1.84386l5.77423 5.77426-5.77421 5.7742c-.50918.5092-.50918 1.3347 0 1.8439.50916.5092 1.33469.5092 1.84385 0l5.77426-5.7742z",fill:"currentColor"})});i();var g2=require("react/jsx-runtime"),Wb=e=>(0,g2.jsx)("svg",{...e,children:(0,g2.jsx)("path",{clipRule:"evenodd",d:"M2.0994 10.6931C2.04002 8.22692 1.96942 5.29509 2.11584 4.25593C2.13365 4.13216 2.14292 4.01528 2.1517 3.90469C2.21613 3.09248 2.25369 2.61894 5.44865 2.23843C9.48199 1.75807 17.1241 1.99825 20.9452 3.007C21.7385 3.21574 21.7461 3.55147 21.7624 4.26645C21.7648 4.37414 21.7675 4.49044 21.773 4.6162C21.8367 5.57691 22.0066 10.2604 21.9641 11.7255C21.9538 12.0123 21.9535 12.4616 21.9532 13.001V13.001C21.9522 14.6749 21.9507 17.2153 21.6457 18.4505C21.4546 19.2671 20.0748 19.2911 18.9073 19.171C18.4972 19.1289 17.0813 19.0734 15.3164 19.0193C14.4586 19.7428 13.2551 20.8268 12.6703 21.669C12.4667 21.9623 12.1951 22 11.9708 22C11.7566 22 11.6986 21.9343 11.3756 21.5684L11.3281 21.5147C10.6506 20.7484 9.58149 19.5267 9.00085 18.8624C7.74516 18.8383 6.69432 18.8234 6.10233 18.8234C3.78846 18.8234 2.85054 18.5199 2.51089 18.1837C2.02619 17.7038 2.08219 16.014 2.13647 14.3759L2.14543 14.1031C2.16606 13.462 2.13471 12.1599 2.0994 10.6931ZM4.33635 7.16713C4.33635 7.16713 3.83065 8.24157 4.01326 8.52809C4.14949 8.74182 8.25659 8.84926 10.9526 8.91979L10.9527 8.91979C11.8709 8.94381 12.6253 8.96354 13.0036 8.98174C14.1695 9.05337 17.7376 8.83848 19.2126 8.74298C19.24 8.74161 19.2672 8.74047 19.2943 8.73935C19.7381 8.72089 20.1152 8.7052 19.943 7.69241C19.9149 7.5014 19.8166 7.38202 19.634 7.38202C19.044 7.38202 9.89913 7.38202 7.90439 7.191L7.64546 7.16615C5.81529 6.99024 4.8063 6.89326 4.33635 7.16713ZM19.8977 11.4732C20.0908 11.7527 19.6254 12.8452 19.6254 12.8452C19.166 13.1363 18.1541 13.0769 16.3186 12.9692C16.2338 12.9642 16.1473 12.9591 16.059 12.9539C14.0586 12.8372 4.92114 13.177 4.33049 13.199L4.33037 13.199C4.14788 13.2058 4.04518 13.0901 4.01001 12.9003C3.80035 11.8946 4.17656 11.8649 4.61942 11.83C4.64638 11.8278 4.67359 11.8257 4.70093 11.8233C6.17134 11.673 9.72893 11.3257 10.8967 11.3539C11.2754 11.3581 12.0301 11.3498 12.9486 11.3396C15.6454 11.3099 19.7536 11.2646 19.8977 11.4732Z",fill:"currentColor",fillRule:"evenodd"})});i();var v2=require("react/jsx-runtime"),Ub=e=>(0,v2.jsx)("svg",{...e,children:(0,v2.jsx)("path",{d:"m14.8307 3.14077c.3645.16757.686.31534.9541.40981l.0186.00652c1.2355.43528 5.3747 1.89346 6.0303 4.36204.5612 2.11356-.3999 4.17296-1.3677 6.24656-.1682.3606-.3367.7217-.4975 1.0835-.0379.0854-.0756.1704-.1132.255-1.4657 3.3022-2.6018 5.8617-4.6582 6.3731-2.1092.5247-5.1606-.7312-7.71054-1.9147-.05102-.0244-.10251-.0491-.15441-.0738-1.99154-.951-4.60465-2.1987-5.20489-4.1987-.61588-2.0523 1.14517-6.02627 2.25161-7.92519.20562-.35289.40011-.72469.59807-1.10314.86724-1.65795 1.80113-3.44328 4.02973-4.32392 2.19233-.86633 4.35703.12865 5.82403.80292zm-2.2269 2.13686c-.5027-.24679-1.1143-.04716-1.366.44591l-.6538 1.281-1.30983-.64294c-.50277-.24679-1.11436-.04714-1.36603.44591-.25167.49306-.04812 1.09282.45465 1.33961l1.3098.64293-1.50554 2.94955-1.44199-.7078c-.50276-.2468-1.11435-.0471-1.36602.4459-.25167.4931-.04812 1.0928.45465 1.3396l1.44198.7078-.77998 1.5281c-.25167.4931-.04812 1.0929.45464 1.3396.50277.2468 1.11436.0472 1.36603-.4459l.77999-1.5281 2.98935 1.4674-.7622 1.4931c-.2517.4931-.0481 1.0929.4547 1.3397.5027.2467 1.1143.0471 1.366-.446l.7622-1.4931 1.4413.7075c.5028.2468 1.1144.0471 1.366-.446.2517-.4929.0482-1.0928-.4546-1.3396l-1.4414-.7074 1.5055-2.9496 1.5735.7724c.5028.2468 1.1144.0472 1.3661-.4459.2516-.4931.0481-1.0928-.4546-1.3396l-1.5736-.7724.6717-1.31597c.2518-.49306.0482-1.09282-.4546-1.33961-.5027-.24679-1.1143-.04715-1.366.4459l-.6718 1.31598-2.9892-1.46736.6538-1.281c.2517-.49306.0481-1.09283-.4547-1.33961zm1.8788 5.87347-1.5055 2.9496-2.98937-1.4674 1.50557-2.94954z",fill:"currentColor"})});i();var y2=require("react/jsx-runtime"),Kb=e=>(0,y2.jsx)("svg",{...e,children:(0,y2.jsx)("path",{d:"m2 7.13053c1.02794.75462 2.30848 1.82137 3.61006 2.90567 0 0 5.06424 3.9629 5.81564 3.9629 1.8549 0 3.7992-1.8146 5.1678-2.8746 1.3176-1.0205 2.7467-2.21282 4.0625-3.31055.1651-.13774.3285-.27408.4895-.40831-.0011.22999.0035.44719.0315.64131.3947 2.63975.4326 8.17435 0 11.09695-.3145.4144-.8493.9882-3.0513.8288s-11.82778-.2869-12.92877-.2231c-1.101.0637-2.39073-.0638-2.61093-1.1158-.40264-1.7682-.5511-8.74247-.586-11.50327zm16.4311-2.99936c1.2812.09529 1.9619.48357 2.322 1.00077-.4574.37757-.9338.77506-1.4207 1.18138-1.2989 1.0838-2.6732 2.23056-3.9636 3.22999-.9655.74789-1.8517 1.38729-2.5896 1.83539-.3691.2242-.6815.3884-.9342.4939-.2367.0989-.3632.1358-.5917.0084-.2306-.1286-.5322-.3283-.8998-.5958-.73248-.5331-1.63926-1.2708-2.61739-2.08202-.26991-.22385-.54604-.45404-.8253-.68686-.21657-.18055-.43504-.36268-.65398-.54466l-.65679-.54374c-1.20143-.98965-2.37365-1.92213-3.27827-2.50838.22838-.42619.59195-.78832 1.14091-.78831 1.57531.00002 3.21902-.03191 4.885-.06428 3.39902-.06604 6.89072-.13388 10.08342.06422z",fill:"currentColor"})});i();var b2=require("react/jsx-runtime"),qb=e=>(0,b2.jsx)("svg",{...e,children:(0,b2.jsx)("path",{d:"m23.7071 1.70711c.3905-.39053.3905-1.023692 0-1.414217-.3905-.3905241-1.0237-.3905241-1.4142 0l-22.000007 22.000007c-.3905238.3905-.3905242 1.0237 0 1.4142.390524.3905 1.023687.3905 1.414217 0zm-5.0845.29289c.1737 0 .3443.01298.5109.03803l-3.3066 3.30661h-8.21351c-.93263 0-1.68869-.74873-1.68869-1.67232 0-.92361.75606-1.67232 1.68869-1.67232zm-14.9339 4.94911h10.5338l-12.2225 12.22249v-10.55017c0-.92359.75605-1.67232 1.6887-1.67232zm13.5095 2.68113-12.36977 12.36976h10.68107c.9327 0 1.6887-.7487 1.6887-1.6723zm4.7671-4.76707-3.3427 3.34265v8.10658c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-.1635-.0118-.32425-.0347-.48147z",fill:"currentColor"})});i();var C2=require("react/jsx-runtime"),Xb=e=>(0,C2.jsx)("svg",{...e,children:(0,C2.jsx)("path",{d:"m18.6226 16.3124c0 .9235.756 1.6724 1.6887 1.6724s1.6887-.7489 1.6887-1.6724v-10.96776c0-1.8472-1.5122-3.34464-3.3774-3.34464h-11.00921c-.93263 0-1.68869.74871-1.68869 1.67232 0 .92359.75606 1.67232 1.68869 1.67232h11.00921zm-3.1131 5.6876c.9327 0 1.6887-.7487 1.6887-1.6723v-11.70627c0-.92359-.756-1.67232-1.6887-1.67232h-11.8208c-.93265 0-1.6887.74873-1.6887 1.67232v11.70627c0 .9236.75605 1.6723 1.6887 1.6723z",fill:"currentColor"})});i();var x2=require("react/jsx-runtime"),Yb=e=>(0,x2.jsx)("svg",{...e,children:(0,x2.jsx)("path",{d:"m10.3966 3.60341c0-.88553.7179-1.60341 1.6034-1.60341s1.6034.71788 1.6034 1.60341v6.79319h6.7932c.8856 0 1.6034.7179 1.6034 1.6034 0 .8856-.7178 1.6034-1.6034 1.6034h-6.7932v6.7932c0 .8856-.7179 1.6034-1.6034 1.6034s-1.6034-.7178-1.6034-1.6034v-6.7932h-6.7932c-.88554 0-1.6034-.7178-1.6034-1.6034 0-.8855.71786-1.6034 1.6034-1.6034h6.7932z",fill:"currentColor"})});i();var w2=require("react/jsx-runtime"),Jb=e=>(0,w2.jsx)("svg",{...e,children:(0,w2.jsx)("path",{d:"m14.904 2.36857c.6808.18014 1.0637 1.89327 1.3326 3.11843 1.0626.02303 2.1802.06975 3.3652.15126.5509.0379.9669.51528.929 1.06626-.0379.55099-.5153.96692-1.0663.92902-3.2573-.22405-5.9961-.17824-8.5308-.1036-.3474.01023-.6918.02104-1.03385.03178-2.1416.06726-4.18778.13153-6.28166.02989-.55163-.02678-.97711-.49568-.95034-1.04731.02678-.55164.49568-.97712 1.04731-.95034 1.04212.05058 2.0709.0584 3.11959.04482.08961-.94493.83902-2.66045 1.49748-3.27021.72917-.67525 5.56337-.2668 6.57177 0zm-8.53971 18.93913c-.38411-1.7907-1.43613-8.7724-1.60784-10.1112-.01239-.0967-.02523-.1887-.03746-.2764-.1573-1.12763-.21516-1.5424 2.05023-1.84784 2.71293-.36579 9.32588-.45722 11.89608.31093.5336.15895.5387.4146.5496.95901.0017.082.0035.1706.0072.2664 0 2.8358-.6932 5.8331-1.3554 8.6963-.1564.6763-.3112 1.3453-.4546 2.0028-.1285.6219-1.0566.6401-1.842.5487-.7853-.0915-5.4362-.2926-6.99265-.2926-1.55635 0-1.98471 0-2.21316-.2561zm8.97891-9.2246c-.0298-.5515-.501-.9744-1.0525-.9446s-.9744.501-.9446 1.0525c.0309.5711-.027 1.5863-.123 2.7715-.0544.6721-.1166 1.3496-.1763 2.0013-.0459.5008-.0905.9868-.1291 1.4427-.0465.5504.3619 1.0342.9122 1.0807.5503.0466 1.0342-.3618 1.0807-.9122.0351-.4152.0789-.8939.1249-1.3962l.0002-.0017.0001-.0015c.0616-.6734.1271-1.3892.1808-2.0516.094-1.1611.166-2.312.1266-3.0409zm-5.56465 7.4093c.55025.0479 1.03505-.3594 1.08295-.9096.0632-.7272.0291-1.8798-.0269-3.0434-.0319-.6643-.0739-1.3823-.1135-2.0578-.0295-.504-.0576-.985-.0791-1.4014-.0285-.5516-.4987-.9756-1.05025-.9472-.55156.0285-.97562.4987-.94716 1.0502.02358.4571.05217.944.08167 1.4462.03835.653.07827 1.3328.11063 2.006.0571 1.1878.08163 2.2042.03206 2.7741-.04786.5502.3594 1.035.9096 1.0829z",fill:"currentColor"})});i();var Es=require("react/jsx-runtime"),Zb=e=>(0,Es.jsx)("svg",{...e,children:(0,Es.jsxs)("g",{fill:"currentColor",children:[(0,Es.jsx)("path",{d:"m9.05042 2c-.64391 0-1.23256.35667-1.52052.92132l-1.23015 2.41201h-1.59974c-.9389 0-1.70001.74619-1.70001 1.66667 0 .92047.76111 1.66667 1.70001 1.66667h14.59999c.9389 0 1.7-.7462 1.7-1.66667 0-.92048-.7611-1.66667-1.7-1.66667h-1.8003l-1.2301-2.41201c-.288-.56465-.8765-.92132-1.5205-.92132z"}),(0,Es.jsx)("path",{d:"m6.63212 10c-.9389 0-1.63212.7462-1.63212 1.6667v8.8333c0 .9205.36086 1.5 1.29975 1.5h11.19995c.9389 0 1.5003-.5795 1.5003-1.5l-.1-8.8333c0-.9205-.4611-1.6667-1.4-1.6667z"})]})});i();var S2=require("react/jsx-runtime"),Qb=e=>(0,S2.jsx)("svg",{...e,children:(0,S2.jsx)("path",{d:"m8.60831 3.62342c0-.89747.72755-1.625 1.62499-1.625h3.25c.8974 0 1.6249.72753 1.6249 1.625l-.0733 5.37819h2.169c1.5012 0 2.1996 1.86149 1.0688 2.84899l-5.4188 4.7324c-.6123.5347-1.5256.5347-2.1378 0l-5.41894-4.7324c-1.13072-.9875-.43233-2.84899 1.06891-2.84899h2.16889zm-4.94834 15.12818c-.89747 0-1.625.7275-1.625 1.625s.72753 1.625 1.625 1.625h16.68003c.8975 0 1.625-.7275 1.625-1.625s-.7275-1.625-1.625-1.625z",fill:"currentColor"})});i();var D2=require("react/jsx-runtime"),eC=e=>(0,D2.jsx)("svg",{...e,children:(0,D2.jsx)("path",{d:"m8.4 22c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656 1.035-.7344 1.695-.7344 1.225.2448 1.695.7344.705 1.0781.705 1.7656-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm7.2 0c-.66 0-1.225-.2448-1.695-.7344s-.705-1.0781-.705-1.7656.235-1.276.705-1.7656c.47-.48961 1.035-.7344 1.695-.7344s1.225.24479 1.695.7344c.47.4896.705 1.0781.705 1.7656s-.235 1.276-.705 1.7656-1.035.7344-1.695.7344zm-7.2-7.5c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437zm7.2 0c-.66 0-1.225-.24479-1.695-.73437-.47-.48959-.705-1.07813-.705-1.76563s.235-1.27604.705-1.76562c.47-.48959 1.035-.73438 1.695-.73438s1.225.24479 1.695.73438c.47.48958.705 1.07812.705 1.76562s-.235 1.27604-.705 1.76563c-.47.48958-1.035.73437-1.695.73437z",fill:"currentColor"})});i();var E2=require("react/jsx-runtime"),tC=e=>(0,E2.jsx)("svg",{...e,children:(0,E2.jsx)("path",{d:"m6.8654 12.0577c0 1.2745-1.03319 2.3077-2.3077 2.3077s-2.3077-1.0332-2.3077-2.3077 1.03319-2.3077 2.3077-2.3077 2.3077 1.0332 2.3077 2.3077zm7.6923 0c0 1.2745-1.0331 2.3077-2.3077 2.3077-1.2745 0-2.30766-1.0332-2.30766-2.3077s1.03316-2.3077 2.30766-2.3077c1.2746 0 2.3077 1.0332 2.3077 2.3077zm5.3846 2.3077c1.2746 0 2.3077-1.0332 2.3077-2.3077s-1.0331-2.3077-2.3077-2.3077c-1.2745 0-2.3077 1.0332-2.3077 2.3077s1.0332 2.3077 2.3077 2.3077z",fill:"currentColor"})});i();var P2=require("react/jsx-runtime"),rC=e=>(0,P2.jsx)("svg",{...e,children:(0,P2.jsx)("path",{d:"m12.25 6.67311c-1.2745 0-2.30769-1.03319-2.30769-2.30771 0-1.27451 1.03319-2.3077 2.30769-2.3077s2.3077 1.03319 2.3077 2.3077c0 1.27452-1.0332 2.30771-2.3077 2.30771zm0 7.69229c-1.2745 0-2.30769-1.0331-2.30769-2.3077 0-1.2745 1.03319-2.30766 2.30769-2.30766s2.3077 1.03316 2.3077 2.30766c0 1.2746-1.0332 2.3077-2.3077 2.3077zm-2.30769 5.3846c0 1.2746 1.03319 2.3077 2.30769 2.3077s2.3077-1.0331 2.3077-2.3077c0-1.2745-1.0332-2.3077-2.3077-2.3077s-2.30769 1.0332-2.30769 2.3077z",fill:"currentColor"})});i();var T2=require("react/jsx-runtime"),nC=e=>(0,T2.jsx)("svg",{...e,children:(0,T2.jsx)("path",{d:"m13.7617 2c.0584 0 .12.00417.18.01417.6751.1 1.1442.745 1.0451 1.43166l-2.5243 17.47497c-.09.6259-.6225 1.0792-1.2251 1.0792-.0591 0-.1191-.005-.18-.0142-.6733-.1-1.14336-.745-1.0442-1.4316l2.5226-17.4767c.09-.625.6242-1.0775 1.2251-1.0775zm-7.00456 5c.31886 0 .63772.12667.87943.38167.48343.50833.48343 1.33916 0 1.8475l-2.63657 2.77083 2.63743 2.7708c.48343.5084.48343 1.3409 0 1.8492-.24172.2533-.56057.38-.87943.38-.318 0-.63771-.1267-.87857-.38l-3.51686-3.6967c-.48343-.5083-.48343-1.3391 0-1.8466l3.51686-3.69503c.24086-.255.56057-.38167.87771-.38167zm10.48556 0c.3179 0 .6376.12667.8784.38167l3.5164 3.69503c.4833.5083.4833 1.3391 0 1.8466l-3.5164 3.6967c-.2408.2533-.5605.38-.8784.38-.3188 0-.6376-.1267-.8793-.38-.4834-.5083-.4834-1.3408 0-1.8475l2.6362-2.7725-2.6371-2.77083c-.4833-.50834-.4833-1.33917 0-1.8475.2417-.255.5605-.38167.8793-.38167z",fill:"currentColor"})});i();var A2=require("react/jsx-runtime"),oC=e=>(0,A2.jsx)("svg",{...e,children:(0,A2.jsx)("path",{d:"M1.412 6.647c.78 0 1.412.633 1.412 1.412v12.706H16.94c.78 0 1.412.632 1.412 1.411 0 .78-.633 1.412-1.412 1.412H1.411C.633 23.588 0 22.956 0 22.176V8.06c0-.78.632-1.412 1.412-1.412zM22.588 1C23.368 1 24 1.632 24 2.412v14.117c0 .78-.632 1.412-1.412 1.412H7.058c-.778 0-1.41-.632-1.41-1.412V2.412c0-.78.632-1.412 1.41-1.412h15.53zm-1.412 2.824H8.471v11.294h12.705V3.824zm-8.755 2.531c.252-.142.77-.138 1.019.01l4.02 2.416c.24.145.383.406.383.69 0 .282-.162.544-.403.689l-4.052 2.415c-.127.077-.324.115-.466.115-.137 0-.378-.034-.501-.105-.253-.142-.617-.409-.617-.7v-4.83c0-.289.364-.557.617-.7z",fill:"currentColor"})});i();var R2=require("react/jsx-runtime"),iC=e=>(0,R2.jsx)("svg",{...e,children:(0,R2.jsx)("path",{clipRule:"evenodd",d:"m13.0984 3.43938c-.5858-.58578-1.5356-.58578-2.1214 0l-3.76881 3.76885c-.58579.58579-.58579 1.53554 0 2.12132.58578.58579 1.53553.58579 2.12132 0l2.70819-2.70819 2.7082 2.70819c.5858.58579 1.5355.58579 2.1213 0 .5858-.58578.5858-1.53553 0-2.12132zm-5.9543 13.41652 3.8329 3.8329c.5858.5858 1.5356.5858 2.1214 0l3.8329-3.8329c.5858-.5858.5858-1.5356 0-2.1214s-1.5355-.5858-2.1213 0l-2.7723 2.7723-2.77228-2.7723c-.58579-.5858-1.53553-.5858-2.12132 0s-.58579 1.5356 0 2.1214z",fill:"currentColor",fillRule:"evenodd"})});i();var F2=require("react/jsx-runtime"),aC=e=>(0,F2.jsx)("svg",{...e,children:(0,F2.jsx)("path",{d:"m10.5016 2.97092c.6129-1.29459 2.3837-1.29459 2.9966.00001l1.7958 3.79325c.2434.51408.7138.8704 1.258.95284l4.0155.60828c1.3705.2076 1.9177 1.9633.926 2.971l-2.9056 2.9526c-.3938.4002-.5735.9767-.4805 1.5418l.6859 4.1691c.2341 1.4229-1.1985 2.508-2.4243 1.8362l-3.5916-1.9684c-.4867-.2668-1.0682-.2668-1.555 0l-3.59154 1.9684c-1.22576.6718-2.65839-.4132-2.42429-1.8361l.68593-4.1692c.09296-.5651-.08673-1.1416-.48052-1.5418l-2.90564-2.9526c-.99167-1.0077-.44446-2.7634.92599-2.971l4.0155-.60828c.5442-.08244 1.01465-.43876 1.25803-.95284z",fill:"currentColor"})});i();var B2=require("react/jsx-runtime"),sC=e=>(0,B2.jsx)("svg",{...e,children:(0,B2.jsx)("path",{clipRule:"evenodd",d:"m11.985 5.812-1.0288 2.17325c-.586 1.23773-1.74668 2.14615-3.14789 2.35845l-2.51017.3802 1.88529 1.9158c.96838.984 1.38702 2.3703 1.16718 3.7065l-.42276 2.5696 2.07515-1.1373c1.2371-.678 2.727-.678 3.9641 0l2.0751 1.1373-.4227-2.5696c-.2199-1.3362.1988-2.7225 1.1672-3.7065l1.8853-1.9158-2.5102-.3802c-1.4012-.2123-2.5619-1.12072-3.1479-2.35845zm1.4983-2.69239c-.6128-1.2946-2.3837-1.2946-2.9965 0l-1.79583 3.79325c-.24338.51408-.71383.87041-1.25803.95284l-4.0155.60828c-1.37045.2076-1.91766 1.96332-.926 2.97102l2.90565 2.9526c.39379.4002.57348.9767.48052 1.5417l-.68593 4.1692c-.2341 1.4229 1.19852 2.508 2.42429 1.8362l3.59153-1.9684c.4868-.2668 1.0683-.2668 1.5551 0l3.5915 1.9684c1.2258.6718 2.6584-.4133 2.4243-1.8362l-.6859-4.1692c-.093-.565.0867-1.1415.4805-1.5417l2.9057-2.9526c.9916-1.0077.4444-2.76342-.926-2.97102l-4.0155-.60828c-.5442-.08243-1.0147-.43875-1.2581-.95284z",fill:"currentColor",fillRule:"evenodd"})});i();var O2=require("react/jsx-runtime"),uC=e=>(0,O2.jsx)("svg",{...e,children:(0,O2.jsx)("path",{clipRule:"evenodd",d:"M2 6.28571C2 5.49673 2.63959 4.85714 3.42857 4.85714H20.5714C21.3604 4.85714 22 5.49673 22 6.28571C22 7.07469 21.3604 7.71428 20.5714 7.71428H3.42857C2.63959 7.71428 2 7.07469 2 6.28571ZM4.85714 12C4.85714 11.211 5.49674 10.5714 6.28571 10.5714H17.7143C18.5033 10.5714 19.1429 11.211 19.1429 12C19.1429 12.789 18.5033 13.4286 17.7143 13.4286H6.28571C5.49674 13.4286 4.85714 12.789 4.85714 12ZM9.85714 16.2857C9.06816 16.2857 8.42857 16.9253 8.42857 17.7143C8.42857 18.5033 9.06817 19.1429 9.85714 19.1429H14.1429C14.9318 19.1429 15.5714 18.5033 15.5714 17.7143C15.5714 16.9253 14.9318 16.2857 14.1429 16.2857H9.85714Z",fill:"currentColor",fillRule:"evenodd"})});i();var M2=require("react/jsx-runtime"),lC=e=>(0,M2.jsx)("svg",{...e,children:(0,M2.jsx)("path",{d:"m8.67556 21.6465 1.89584.3535.3926-1.9249c1.1027.034 2.1897-.0828 3.2074-.367l1.0729 1.7617 1.6555-.9092c.6409-.3283 1.255-.7575 1.7891-1.2373l1.3885-1.2374-1.4908-1.4954c.5245-.7911.9285-1.7273 1.1783-2.8192l2.0748.1226.1335-1.7929c.0268-.3282.0268-.6817.0268-1.01v-.2273-.0001c0-.2525 0-.4545-.0268-.6818l-.1335-1.81815-2.1093.12467c-.3096-1.10015-.8292-1.97313-1.4952-2.64471l1.0411-1.92441-1.7089-.83334c-.6676-.30303-1.3885-.55556-2.1629-.70708l-1.8692-.37878-.4549 2.02227c-1.0724.02298-2.1706.21979-3.21617.5585l-.97506-1.72218-1.68224.85858c-.61415.30303-1.2016.68182-1.76234 1.08586l-1.52203 1.16163 1.46422 1.72321c-.47141.78434-.85454 1.74705-1.11019 2.78393l-2.06298-.1637-.1602 1.8182c-.02671.4041-.05341.808-.05341 1.1869 0 .2524 0 .505.0267.7575l.10681 1.8182 2.10099-.1241c.27942 1.014.75807 1.9261 1.47723 2.6267l-.8813 2.0681 1.76235.6566c.0465.0165.09173.033.13625.0493.16001.0583.31079.1132.4779.1528.48065.1262.98799.2524 1.46863.3282zm.61417-12.55053c2.29637-1.71717 6.72897-1.81818 6.78237 2.34843.0534 4.1668-3.3378 5.2526-6.22162 4.4192-2.88385-.8333-2.13619-5.606-.56075-6.76763z",fill:"currentColor"})});i();var I2=require("react/jsx-runtime"),cC=e=>(0,I2.jsx)("svg",{...e,children:(0,I2.jsx)("path",{d:"m4.217 3.06901c.04358-.54546-.36709-1.02266-.91726-1.06587-.55017-.0432-1.03149.36395-1.07507.9094-.40883 5.11717-.16781 10.44226.00568 14.27546.07054 1.5585.12991 2.8704.12992 3.8213 0 .5472.44739.9907.99929.9907.55188 0 .99928-.4435.99928-.9907 0-1.0818-.06403-2.4873-.13829-4.1175-.1733-3.8042-.40231-8.83162-.00355-13.82279zm9.9563 12.74949c-2.2507.1558-5.3327.2449-6.97506-.1558-.97326-.2449-1.05436-.7346-1.1963-5.3426l-.00276-.09c-.13968-4.53423-.17773-5.76919.12443-6.47688.34469-.8459 1.56125-1.06851 2.98058-1.29111 1.27741-.20035 11.58171-.88811 12.66971 0 .5698.46517-.7384 1.42159-2.4235 2.65368-1.5322 1.12022-3.376 2.46834-4.4034 3.88231 1.3949 1.3481 3.0566 2.4259 4.4165 3.308 1.8792 1.2189 3.1824 2.0642 2.4104 2.7326-.6999.6059-2.7027.6408-4.8097.6775-.9455.0165-1.9119.0333-2.7909.1023z",fill:"currentColor"})});i();var yn=require("react/jsx-runtime"),fC=({...e})=>(0,yn.jsx)("svg",{...e,children:(0,yn.jsxs)("g",{id:"path",children:[(0,yn.jsx)("path",{d:"M7.65627 1.71562C6.06613 2.32378 4.62011 3.29415 3.51622 4.59949C1.96831 6.4299 1.05108 8.79219 0.845234 11.1393C1.09887 11.1103 1.40015 11.0776 1.74531 11.0428C2.57641 10.9591 3.66238 10.8638 4.95062 10.7817C5.01134 9.27806 5.28616 7.82783 5.67836 6.4794C6.19762 4.69416 6.92703 3.0717 7.65627 1.71562Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M6.45598 10.6976C6.52204 9.38849 6.76617 8.11027 7.11867 6.89833C7.77653 4.63656 8.80374 2.63467 9.71201 1.14475C10.3391 1.03232 10.9748 0.972202 11.6088 0.96582C11.6319 1.0021 11.6561 1.04012 11.6811 1.07984C11.9491 1.50469 12.3203 2.12264 12.7281 2.88811C13.5459 4.42302 14.5009 6.53176 15.0748 8.85394C15.2228 9.45317 15.3448 10.0635 15.4326 10.6794C12.1484 10.5285 9.13304 10.5738 6.653 10.6883C6.58695 10.6913 6.52127 10.6944 6.45598 10.6976Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M4.9638 12.284C3.73179 12.3635 2.69271 12.455 1.89556 12.5353C1.45914 12.5792 1.09536 12.6198 0.812256 12.6531C0.93317 15.3097 2.01391 17.7905 4.17645 19.2687C5.27269 20.018 6.85073 20.5926 8.60938 20.8635C6.93244 18.9808 5.91554 16.9895 5.38983 14.9839C5.15227 14.0776 5.01657 13.1745 4.9638 12.284Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M10.8824 21.0346C8.63427 18.9674 7.40822 16.7683 6.84082 14.6036C6.63042 13.8009 6.50902 12.9969 6.46149 12.1991C6.54769 12.1949 6.63459 12.1907 6.72216 12.1867C9.22193 12.0713 12.2664 12.0277 15.575 12.1878C15.6313 13.4726 15.5143 14.7616 15.1537 16.0051C14.6398 17.7773 13.6207 19.4948 11.8349 21.0003C11.5168 21.0226 11.1988 21.0338 10.8824 21.0346Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M16.5944 16.4229C16.1733 17.875 15.4618 19.2766 14.3822 20.5674C17.6751 19.644 20.5203 17.2629 21.094 12.6429C19.7333 12.4812 18.3897 12.3608 17.0794 12.2739C17.1265 13.6484 16.9926 15.0498 16.5944 16.4229Z",fill:"currentColor"}),(0,yn.jsx)("path",{d:"M16.531 8.4941C16.7122 9.22762 16.8596 9.98738 16.9572 10.7629C18.3381 10.8507 19.7575 10.9751 21.1969 11.1446L21.1977 11.0964C21.2835 4.96044 17.6372 1.77532 13.4486 1.10179C13.6348 1.42031 13.8387 1.78254 14.0519 2.18276C14.905 3.78384 15.9176 6.01212 16.531 8.4941Z",fill:"currentColor"})]})});i();var k2=require("react/jsx-runtime"),pC=e=>(0,k2.jsx)("svg",{...e,children:(0,k2.jsx)("path",{clipRule:"evenodd",d:"m14.6005 10.65c-.6903 0-1.25-.5597-1.25-1.25002v-6.14997c0-.69036.5597-1.25001 1.25-1.25001h6.1497c.6903 0 1.25.55965 1.25 1.25001v6.14997c0 .69032-.5597 1.25002-1.25 1.25002zm-12.6005 10.1c0 .6904.55965 1.25 1.25001 1.25h6.14961c.69038 0 1.25008-.5596 1.25008-1.25v-6.1499c0-.6903-.5597-1.25-1.25008-1.25h-6.14961c-.69036 0-1.25001.5597-1.25001 1.25zm11.3505 0c0 .6904.5597 1.25 1.25 1.25h6.1497c.6903 0 1.25-.5596 1.25-1.25v-6.1499c0-.6903-.5597-1.25-1.25-1.25h-6.1497c-.6903 0-1.25.5597-1.25 1.25zm-11.3505-11.35002c0 .69032.55965 1.25002 1.25001 1.25002h6.14961c.69038 0 1.25008-.5597 1.25008-1.25002v-6.14997c0-.69036-.5597-1.25001-1.25008-1.25001h-6.14961c-.69036 0-1.25001.55965-1.25001 1.25001z",fill:"currentColor",fillRule:"evenodd"})});i();var N2=require("react/jsx-runtime"),dC=e=>(0,N2.jsx)("svg",{...e,children:(0,N2.jsx)("path",{clipRule:"evenodd",d:"m22.0882 7.28569c-.0338.55114-.5079.9675-1.0591.92995-3.7464-.25521-6.8936-.23457-9.7993-.18333-.3986.00703-.7934.01466-1.1851.02223-2.4532.04744-4.78505.09252-7.17257-.02796-.55162-.02783-.97929-.49765-.95522-1.04937s.49076-.97641 1.04239-.94857c2.31236.11668 4.56689.07325 7.02439.0259.39351-.00758.79231-.01527 1.19731-.02241 2.9241-.05155 6.1384-.0734 9.9705.18765.5511.03754.9705.51477.9367 1.06591zm0 5.78541c-.0338.5512-.5079.9675-1.0591.93-3.7464-.2552-6.8936-.2346-9.7993-.1834-.3988.0071-.7938.0147-1.1857.0223-2.45322.0474-4.78446.0925-7.17197-.028-.55162-.0278-.97929-.4976-.95522-1.0493.02407-.5518.49076-.9765 1.04239-.9486 2.31235.1167 4.56688.0732 7.02436.0259.39354-.0076.79234-.0153 1.19734-.0224 2.9241-.0516 6.1384-.0734 9.9705.1876.5511.0376.9705.5148.9367 1.0659zm-.9753 6.5159c.552-.008.99-.4623.9782-1.0147-.0118-.5523-.4689-.9936-1.0209-.9856-6.2773.0914-10.4894-.01-14.77115-.1131-1.10589-.0266-2.21649-.0533-3.36847-.0769-.5521-.0113-1.00577.4273-1.01329.9796-.00753.5523.43393 1.0092.98603 1.0205 1.14246.0234 2.2471.05 3.3496.0765 4.28668.1032 8.54098.2057 14.85998.1137z",fill:"currentColor",fillRule:"evenodd"})});i();var V2=require("react/jsx-runtime"),mC=e=>(0,V2.jsx)("svg",{...e,children:(0,V2.jsx)("path",{d:"m12.7865 2.94054c.7413.21443 1.3767.75049 1.8003 1.39377l6.9896 12.43669c.2118.4288.4236.9649.4236 1.5009 0 1.6082-1.2708 2.8948-2.8594 2.8948h-14.19093c-.52951 0-1.05902-.1072-1.48264-.4289-1.37673-.8577-1.90624-2.6803-1.05902-4.0741l7.09548-12.32939c.2118-.42885.63541-.8577 1.05901-1.07213.6354-.42885 1.4826-.53606 2.224-.32164zm-.5295 2.03704h-.2119c-.2118 0-.3177 0-.4236.10721l-.1588.16082-.1589.16082-7.09545 12.43667c-.2118.3216-.1059.8577.31771 1.0721.08825.0893.25005.1042.36282.1067l14.25172.0005c.4236 0 .8472-.3216.8472-.8577 0-.1072 0-.3216-.1059-.4288l-7.2013-12.32947c-.1059-.21442-.2118-.32164-.4236-.42885zm.6354 11.47172c.4236.4289.4236 1.1794 0 1.6082-.3177.2144-.6354.3216-.8473.3216-.1059 0-.3177 0-.4236-.1072s-.2118-.1072-.3177-.2144c-.3953-.4003-.4217-1.0807-.079-1.5183l.079-.0899c.4236-.4288 1.165-.4288 1.5886 0zm.4236-7.93371v.21443l-.4236 5.03898c0 .7505-.2118 1.3938-.8473 1.3938-.7413 0-.9531-.6433-.9531-1.2866l-.4236-5.03897c0-.75049.5295-1.39376 1.2708-1.50097.7414-.10722 1.3768.42885 1.3768 1.17933z",fill:"currentColor"})});i();var L2=require("react/jsx-runtime"),hC=e=>(0,L2.jsx)("svg",{...e,children:(0,L2.jsx)("path",{d:"m3.81493 6.36059c3.08876-4.51878 10.40947-5.95666 14.79867-2.2448 6.2012 5.24418 4.951 18.09941-6.5912 17.93811-11.542153-.1614-11.296231-11.1745-8.20747-15.69331zm.3161 4.74441c-.21438 1.3577-.18185 2.8247.21769 4.1649.39061 1.3102 1.11527 2.4485 2.26201 3.2804.47657.3457 1.05138.6568 1.74342.9052l.22047-2.8886c-1.45328-.9896-2.00163-2.605-1.99252-4.1767zm15.52497-2.11314-2.0825 1.92114c.4477 2.0742-.1406 4.3636-1.9318 5.6316l.1812 2.9024c.678-.2623 1.2582-.5962 1.7512-.9755 1.2454-.9582 2.0658-2.3068 2.4595-3.8531.4672-1.8346.3121-3.8498-.3776-5.62654zm-5.2445.22952c-.6711-.57069-1.6504-.81143-2.7043-.63891-1.0636.17412-1.97562.73537-2.47215 1.45763-.52483.7633-.86487 2.2708-.50246 3.4986.16442.557.45675 1.0039.90194 1.3287.44947.328 1.20237.6385 2.46407.6595 1.1982.02 1.9722-.2946 2.4683-.6741.5044-.3858.8546-.9408 1.0289-1.6177.3699-1.4361-.1222-3.1105-1.1843-4.01372zm-3.3565-5.09683c-.9833.16372-1.92577.48149-2.77592.92687l2.16822 1.78626c.6128-.20104 1.2593-.30765 1.903-.30943l1.694-2.39577c-.96-.17519-1.9746-.17686-2.9893-.00793z",fill:"currentColor"})});i();var $2=require("react/jsx-runtime"),gC=e=>(0,$2.jsx)("svg",{...e,viewBox:"0 0 24 24",children:(0,$2.jsx)("path",{clipRule:"evenodd",d:"m4.99451 4.11717c-.26525.00112-.51919.10753-.70601.29583-.18671.18841-.29096.44324-.28983.70849.00112.26525.10753.51919.29583.70601l.009.009.0045-.0045 13.932 13.8195-.0045.0045c.1909.1788.4442.2758.7056.2701.2615-.0056.5104-.1134.6934-.3003.1829-.1869.2855-.438.2856-.6995.0001-.2616-.1023-.5128-.2851-.6998l-1.4775-1.4655c2.0625-1.6245 3.9225-3.5325 3.84-4.6875.0675-.957-1.209-2.49-3.024-4.179-2.8755-2.6775-7.899-3.9105-11.553-1.7835l-1.7175-1.704c-.18841-.18671-.44325-.29096-.70849-.28983zm5.95399 5.49333-1.464-1.4505c1.5315-.7665 3.6135-.636 4.9635.519 1.533 1.311 1.983 3.738 1.113 5.508l-1.455-1.4445c.2235-.9285-.081-2.01-.825-2.64-.6315-.534-1.5405-.684-2.3325-.492zm-8.946 2.3145c-.06-.8415.915-2.088 2.25-3.33l3.1155 3.09c-.138 2.1285.897 4.5885 4.3065 4.6365.121.0017.2421-.0003.363-.006l2.4315 2.412c-3.3015.792-7.0905-.432-9.4425-2.622-1.8135-1.689-3.0915-3.2205-3.024-4.1805z",fill:"currentColor"})});i();var z2=require("react/jsx-runtime"),vC=e=>(0,z2.jsx)("svg",{...e,children:(0,z2.jsx)("path",{d:"m20.2951 12.8675c.39.3916 1.0223.3916 1.4123 0 .3901-.3915.3901-1.0264 0-1.418-.5441-.5463-1.0963-1.185-1.7355-1.92403-1.5548-1.798-3.6235-4.19026-7.3397-7.29367-.3677-.30698-.9005-.30929-1.2707-.00552-2.80856 2.30436-4.3166 3.73206-9.11644 9.27432-.3619.4179-.31787 1.0512.09835 1.4145.41623.3634 1.04703.3192 1.40893-.0987.22242-.2568.43756-.5046.64588-.7437-.12635 2.67-.31165 6.9451-.23082 7.493.03562.2352.06232.4794.08762.7106.05894.539.11018 1.0073.24856 1.1258.2571.2118.73171.2329 2.49178.2541.43145.0052 1.20203.0212 2.13063.0436-.04005-.8221-.09121-2.9385-.11733-4.0194l-.00919-.3784c-.01478-.1881-.01071-.5289-.00583-.9389.00278-.2332.00583-.4887.00583-.7514.02316-1.5293.99606-2.8171 2.31633-3.0049 1.4361-.2147 2.71.9122 2.9649 2.5488.0232.1342.0463.2683.0694.3756.1622.8049.278 4.9904.139 6.0636-.013.0978-.0151.1825-.0169.2563v.0011c1.1948.0404 2.1271.0788 2.4112.1058.8899.0847 1.9183.0847 2.0567-.4233.2768-1.0162.4548-5.9783.4548-6.6981.0122-.5599.0019-1.8728-.017-2.9434.3011.335.6026.6584.9172.9743z",fill:"currentColor"})});i();var H2=require("react/jsx-runtime"),yC=e=>(0,H2.jsx)("svg",{...e,children:(0,H2.jsx)("path",{d:"m15.7232 10.2988c-.6792.8959-.3199 2.4081.2552 2.9902.575.5821.2595.2692 2.8516 3.3035 2.5921 3.0344-.2717 3.8307-2.8485 3.8203l-7.07912-.0286c-2.54232-.0103-5.19674-1.1217-2.25149-4.8988.67569-.7818 1.33873-1.5406 1.9048-2.1733.77137-.8621.78975-2.2582.04095-3.1399-.89303-1.05163-1.88693-2.29888-2.76384-3.4247-1.43635-2.02599-.07259-3.1681 1.57519-3.16031l9.31711.04403c1.6246.00768 2.5595 1.84424 1.601 3.15606-.8543 1.16929-1.8098 2.46542-2.6029 3.51152zm.8976 8.1748c-1.0924.2669-6.5677.2362-8.11503-.0174-1.54734-.2535-.98222-1.1902-.42583-1.8964.55639-.7061 1.20002-1.166 1.79963-1.8301.45553-.5046.92993-.9558 1.41473-1.4203.0189-.0182.0205-.0197.0076-.0097.3977-.3063 1.1425-.4605 1.6217-.2591.6321.2657 1.1417.8642 1.6292 1.3291.7252.6914 1.6262 1.596 2.4986 2.5248.5045.537.6617 1.3122-.4306 1.5791z",fill:"currentColor",fillRule:"evenodd"})});i();var G2=require("react/jsx-runtime"),bC=e=>(0,G2.jsx)("svg",{...e,children:(0,G2.jsx)("path",{d:"M20.9995 14.0626C20.9631 16.5163 18.9626 18.4942 16.5002 18.4942H13.263V12.8027L14.6115 14.1068C15.0581 14.5387 15.7702 14.5268 16.2022 14.0802C16.6342 13.6336 16.6222 12.9213 16.1757 12.4894L13.0084 9.42632C12.9532 9.359 12.8904 9.2982 12.8212 9.24525C12.3745 8.81431 11.6631 8.82653 11.2314 9.27282L7.98828 12.6262C7.55634 13.0729 7.56825 13.7851 8.01486 14.217C8.46148 14.649 9.17371 14.6371 9.60565 14.1904L11.013 12.7352V18.4942H7.50003C5.03754 18.4942 3.03702 16.5163 3.00051 14.0626L3 14.0284V13.9943C3.03192 11.8494 4.56491 10.0682 6.59484 9.65361C6.72933 6.7847 9.09789 4.5 12.0001 4.5C14.9886 4.5 17.4114 6.92271 17.4114 9.91127C17.4114 9.98315 17.4099 10.0546 17.4072 10.1256C19.3761 10.1616 20.9661 11.8738 20.9995 13.9943L21 14.0281L20.9995 14.0626Z",fill:"currentColor"})});i();var j2=require("react/jsx-runtime"),CC=e=>(0,j2.jsx)("svg",{...e,children:(0,j2.jsx)("path",{d:"m21.9985 12.0962c.156-11.337814-12.26789-12.565873-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.5688-1.5609v7.29h-2.4297v-7.29zm-.3492-2.77932c-.2329.23288-.5214.34931-.8656.34931s-.6328-.11643-.8656-.34931c-.2329-.23287-.3493-.52144-.3493-.86569s.1164-.63281.3493-.86568c.2328-.23288.5214-.34932.8656-.34932s.6327.11644.8656.34932c.2328.23287.3492.52143.3492.86568s-.1164.63282-.3492.86569z",fill:"currentColor"})});i();var _2=require("react/jsx-runtime"),xC=e=>(0,_2.jsx)("svg",{...e,children:(0,_2.jsx)("path",{d:"m17.556 2c-.5523 0-1 .44771-1 1v2.43713h-2.4371c-.5523 0-1 .44772-1 1 0 .55229.4477 1 1 1h2.4371v2.43706c0 .55231.4477 1.00001 1 1.00001s1-.4477 1-1.00001v-2.43706h2.4371c.5523 0 1-.44771 1-1 0-.55228-.4477-1-1-1h-2.4371v-2.43713c0-.55229-.4477-1-1-1zm-11.16851 1.26404c1.23017-.04521 2.91132-.02893 3.79511.2616.5235.17684.5544.48675.507 3.38818l-.001.05678c-.0467 2.85493-.0594 3.6326-.2431 4.0706-.2107.5239-.87939.6353-1.65859.742-.70121.096-5.08453.1317-5.9701-.1168-.54681-.1498-.67672-.7304-.73486-3.74861-.06216-3.43916.04971-3.98138.6889-4.17828.6165-.18385 2.06436-.40204 3.61664-.47547zm.12642 18.83116c-1.22709.0981-2.90743.1543-3.80287-.098-.53064-.1541-.57486-.4625-.65224-3.3633l-.00151-.0567c-.07615-2.8543-.0969-3.6317.06784-4.0772.18793-.5325.85123-.6727 1.62507-.8128.69645-.1261 5.07421-.3503 5.96961-.1401.55279.1261.70749.7007.89549 3.7136.21 3.4333.1212 4.1716-.5089 4.3958-.54029.1923-1.46289.2656-2.56636.3533h-.00003-.00022c-.32776.026-.67148.0534-1.02588.0854zm5.85269-7.7969c-.2522.8955-.3521 2.4643-.254 3.6914.1402 1.5478.3059 2.9399.5161 3.5479.2242.6301 1.1312.7485 4.5645.5384 3.0129-.1879 3.5875-.3426 3.7136-.8953.2102-.8955-.014-5.2733-.1401-5.9698-.1402-.7737-.2803-1.4371-.8128-1.625-.4455-.1647-1.2229-.144-4.0773-.0678l-.0567.0015c-2.9008.0774-3.2991.2481-3.4533.7787z",fill:"currentColor"})});i();var Fl=require("react/jsx-runtime"),wC=e=>(0,Fl.jsxs)("svg",{...e,children:[(0,Fl.jsx)("path",{clipRule:"evenodd",d:"M15.125 3.12081C18.0843 5.62343 17.4877 11.7582 11.9795 11.6812C6.47136 11.6042 6.43167 6.04421 7.90568 3.88776C9.37969 1.73131 13.0303 1.34944 15.125 3.12081ZM3.0867 22.0565C2.57221 22.0699 2.11037 21.7159 2.06799 21.2867C1.82858 19.0425 2.14219 16.2745 4.3016 14.5465C7.60285 11.9186 14.0238 12.3416 17.9678 14.1067C15.7016 14.5823 14 16.5924 14 19C14 20.1954 14.4195 21.2928 15.1193 22.153L3.0867 22.0565Z",fill:"currentColor",fillRule:"evenodd"}),(0,Fl.jsx)("path",{clipRule:"evenodd",d:"M18.3015 16.7C18.3015 16.3134 18.6149 16 19.0015 16C19.3881 16 19.7015 16.3134 19.7015 16.7V18.3012H21.3025C21.6891 18.3012 22.0025 18.6146 22.0025 19.0012C22.0025 19.3878 21.6891 19.7012 21.3025 19.7012H19.7015V21.3025C19.7015 21.6891 19.3881 22.0025 19.0015 22.0025C18.6149 22.0025 18.3015 21.6891 18.3015 21.3025V19.7012H16.7C16.3134 19.7012 16 19.3878 16 19.0012C16 18.6146 16.3134 18.3012 16.7 18.3012H18.3015V16.7Z",fill:"currentColor",fillRule:"evenodd"})]});i();var W2=require("react/jsx-runtime"),SC=({...e})=>(0,W2.jsx)("svg",{...e,children:(0,W2.jsx)("path",{clipRule:"evenodd",d:"M10.9912 2.11398C13.1572 1.94882 16.3205 1.97579 18.5935 2.11398C19.3811 2.16116 20.1345 2.60607 19.4239 3.66777C18.2339 5.44738 16.9412 6.85287 15.3189 8.67629C16.6715 8.64259 18.1183 8.58866 19.5865 8.62911C20.8579 8.66618 21.5256 9.28972 20.494 10.3649C16.9027 14.1028 12.2839 17.9788 7.77226 21.0493C5.69192 22.4649 4.57469 22.384 5.34947 20.2337C6.00011 18.4305 7.42982 15.4139 8.80387 12.9399C7.47262 13.0074 5.53782 13.0208 4.18945 12.9939C3.1878 12.9737 2.81539 12.4276 3.08507 11.6962C4.02679 9.1212 6.26123 5.60579 8.21743 3.39476C9.04786 2.45777 9.48448 2.22857 10.9912 2.11398Z",fill:"currentColor",fillRule:"evenodd"})});i();var U2=require("react/jsx-runtime"),DC=e=>(0,U2.jsx)("svg",{...e,children:(0,U2.jsx)("path",{d:"m19.1411 3.22522c-1.6336-1.63363-4.2823-1.63363-5.9159 0l-4.42241 4.42244c-1.63362 1.63364-1.63362 4.28224 0 5.91594l1.12908 1.1291c.54453.5445 1.42743.5445 1.97203 0 .5445-.5446.5445-1.4275 0-1.972l-1.1291-1.1291c-.5446-.5445-.5446-1.4274 0-1.97196l4.4224-4.42245c.5445-.54454 1.4275-.54454 1.972 0l1.6336 1.63364c.5446.54455.5446 1.42744 0 1.97198l-1.514 1.51399c-.5445.5445-.5445 1.4274 0 1.972.5445.5445 1.4274.5445 1.972 0l1.514-1.514c1.6337-1.63365 1.6337-4.28229 0-5.91593zm-14.28222 17.54948c1.63363 1.6337 4.28228 1.6337 5.91592 0l4.4224-4.4224c1.6337-1.6336 1.6337-4.2822 0-5.9159l-.891-.89097c-.5445-.54454-1.4274-.54454-1.9719 0-.5446.54457-.5446 1.42747 0 1.97197l.891.891c.5445.5445.5445 1.4274 0 1.972l-4.42248 4.4224c-.54455.5445-1.42742.5445-1.97198 0l-1.63365-1.6337c-.54454-.5445-.54454-1.4274 0-1.9719l1.51404-1.5141c.54454-.5445.54454-1.4274 0-1.9719-.54455-.5446-1.42744-.5446-1.97197 0l-1.51405 1.514c-1.63362 1.6337-1.63361 4.2823.00002 5.9159z",fill:"currentColor"})});i();var K2=require("react/jsx-runtime"),EC=e=>(0,K2.jsx)("svg",{...e,children:(0,K2.jsx)("path",{clipRule:"evenodd",d:"m9.59493 13.25c.70527 0 1.19227.4311 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.6964.43658-1.1773 1.10704-1.2424l.15879-.0076zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .6964-.4366 1.1773-1.107 1.2424l-.1588.0076h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.6964.4366-1.1773 1.1071-1.2424l.1588-.0076zm-11.13927-12.5c.70527 0 1.19227.43112 1.25817 1.0932l.0077.1568v6.25c0 .6964-.4366 1.1773-1.10708 1.2424l-.15879.0076h-6.3291c-.70525 0-1.19221-.4311-1.25817-1.0932l-.00766-.1568v-6.25c0-.69643.43658-1.1773 1.10704-1.24244l.15879-.00756zm11.13927 5c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.17729-1.107 1.24243l-.1588.00757h-6.3291c-.7595 0-1.2659-.5-1.2659-1.25 0-.69642.4366-1.17729 1.1071-1.24243l.1588-.00757zm0-3.75c.7595 0 1.2658.5 1.2658 1.25 0 .69642-.4366 1.1773-1.107 1.24244l-.1588.00756h-6.3291c-.6329 0-1.2659-.5-1.2659-1.25 0-.69643.4366-1.1773 1.1071-1.24244l.1588-.00756z",fill:"currentColor",fillRule:"evenodd"})});i();var q2=require("react/jsx-runtime"),PC=e=>(0,q2.jsx)("svg",{...e,children:(0,q2.jsx)("path",{d:"m22.9958 11.8791c-.0478 1.702-.5318 3.3895-1.4008 4.8848-.0956.168-.2708.2707-.4681.2768-.19.0048-.3505-.0762-.4498-.2225-.0464-.0856-.1002-.1603-.1479-.2267l-.0004-.0005c-.0171-.023-.0331-.0459-.0539-.0762-.1373-.1849-.1557-.4073-.0527-.5959.7145-1.2596 1.0981-2.6291 1.1398-4.0809v-.2671c0-2.35354-.929-4.59584-2.6166-6.31354-1.7648-1.79263-4.1375-2.81406-6.6878-2.87571h-.2574c-2.49402 0-4.85688.92593-6.65354 2.60857-1.80157 1.68626-2.83103 3.94308-2.89721 6.35578-.04167 1.6585.36644 3.2819 1.17653 4.6865.1103.2067.09804.4461-.04167.6516-.00792.0135-.0171.0274-.02656.0417-.00665.01-.01343.0203-.02001.0308-.01961.029-.03922.0592-.05393.0822-.11642.1813-.31374.2889-.53434.2841-.21815-.0037-.40566-.1112-.51596-.2938-.99269-1.6838-1.486591-3.5913-1.42899-5.5169.07966-2.82857 1.29786-5.4589 3.4291-7.40627 2.05893-1.87967 4.73186-2.90593 7.55798-2.90593.103 0 .2059 0 .3088.00484 2.9438.07615 5.6731 1.25109 7.6867 3.30604 2.0197 2.05253 3.0884 4.74088 3.0087 7.56822zm-3.391.5476c-.0307 1.1242-.277 2.1855-.7341 3.1598-.0834.1837-.2304.3203-.413.3844-.1778.0604-.3689.0459-.5405-.0399l-.0662-.0339h-.0172c-.3394-.2018-.4644-.6467-.2843-1.0419.3481-.764.5442-1.621.5662-2.4768.0441-1.6742-.5466-3.26741-1.6643-4.48829-1.1263-1.21725-2.6484-1.91352-4.2931-1.95945h-.1581c-1.5969 0-3.10922.63461-4.25878 1.78538-1.14712 1.14956-1.80402 2.68836-1.84569 4.33106-.02206.8462.1152 1.6718.40934 2.4539.14094.3663.0147.7712-.29291.9719l-.07966.035c-.17525.0907-.38482.1016-.57233.0327-.19242-.0726-.34071-.2164-.41547-.4086-.39462-.9949-.57968-2.0525-.54904-3.1465.05515-2.15044.9449-4.1377 2.5038-5.5955 1.46576-1.37077 3.35434-2.09484 5.31404-2.04165 1.9351.04956 3.7428.84374 5.1203 2.2411l-.0086.00846.1937.20912c1.4057 1.52187 2.1471 3.51757 2.0859 5.61967zm-5.3532-2.91072c2.1287 1.76482 1.7071 6.09952-2.2624 6.04882-3.95856-.0508-3.9892-3.989-2.93032-5.5085 1.05892-1.51944 3.68152-1.79505 5.19272-.54032zm-8.66839 13.38252c-.37011.0109-.69979-.2345-.73043-.5403v-.0012c-.17525-1.5811.05148-3.5394 1.60425-4.7639 3.25997-2.5602 10.76767-1.0407 12.06317 1.4179.5453 1.0106.761 2.2145.6483 3.3871-.0111.3263-.3812.6019-.8334.6019z",fill:"currentColor",fillRule:"evenodd"})});i();var X2=require("react/jsx-runtime"),TC=e=>(0,X2.jsx)("svg",{...e,children:(0,X2.jsx)("path",{d:"m12 3c3.3137 0 5.9999 2.68629 5.9999 6 .8285 0 1.5.67158 1.5 1.5v9c0 .8284-.6715 1.5-1.5 1.5h-11.9999c-.82844 0-1.5-.6716-1.5-1.5v-9c0-.82842.67156-1.5 1.5-1.5 0-3.31371 2.68629-6 6-6zm0 3c-1.6569 0-3 1.34314-3 3h5.9999c0-1.65686-1.343-3-2.9999-3zm0 12c1.6569 0 2.9999-1.3431 2.9999-3s-1.343-3-2.9999-3-3 1.3431-3 3 1.3431 3 3 3z",fill:"currentColor"})});i();var Y2=require("react/jsx-runtime"),AC=e=>(0,Y2.jsx)("svg",{...e,children:(0,Y2.jsx)("path",{d:"m2.70507 7.67368c1.74622-5.02899 8.66503-6.766142 13.67123-4.38094 7.0728 3.36988 9.1132 15.77696-1.6595 18.53426-10.77276 2.7573-13.757949-9.1243-12.01173-14.15332zm7.80893-.83709c-.3854-.38176-1.00379-.37523-1.38114.0146l-2.96599 3.06372c-.02406.02443-.04687.05013-.06831.07698-.0482.06031-.08835.12501-.12044.19261-.05827.1225-.09227.259-.09573.4033-.00048.0193-.00031.0386.00025.0579.00388.1177.02812.2303.06928.3341.04648.1175.11615.2278.20904.3237l2.9719 3.0699c.37735.3898.99574.3963 1.38114.0145.3853-.3818.3918-1.0072.0143-1.3971l-1.34627-1.3907h1.58317c2.6969 0 4.8831 2.2116 4.8831 4.9397v.4083c0 .5457.4372.988.9766.988s.9766-.4423.9766-.988v-.4083c0-3.8194-3.0607-6.91554-6.8363-6.91554h-1.58306l1.34616-1.39058c.3775-.38982.371-1.01532-.0143-1.39709z",fill:"currentColor"})});i();var J2=require("react/jsx-runtime"),RC=e=>(0,J2.jsx)("svg",{...e,children:(0,J2.jsx)("path",{clipRule:"evenodd",d:"m12.0946 20.4146c-2.54091-.0423-5.06588-.0847-6.15454-.0847-3.43484 0-3.51232-.6046-3.74674-2.4432-.024-.1906-.0495-.381-.07648-.5712-.19072-1.292-.10927-9.0787-.02682-10.80108.00993-.23536.01092-.45497.0139-.66079.01689-1.62391.02384-2.35363 3.34445-2.35363 2.48524 0 7.86103.07189 11.47163.12113 1.8247.02462 3.1985.04333 3.5193.04333.9555.03348 1.4194 1.09311 1.474 2.08774.0547.99463.0269 5.566 0 7.0569-.0079.3349.011.8312.0338 1.4103.0586 1.5461.1391 3.6801-.1976 4.8845-.3 1.1935-1.7204 1.3925-2.9213 1.3925-.7103.0177-3.7329-.0325-6.7336-.0818zm-7.78952-14.74217.03775.9769c.00376.10022.04593.19523.11791.26568s.16836.11103.26947.11347l1.28136.03052c.05395.00123.10758-.00845.15762-.02844.05005-.01999.09547-.04988.13348-.08785.03801-.03796.06783-.0832.08763-.13296.0198-.04977.02917-.10301.02753-.15648l-.02781-.92766c-.00278-.09829-.04254-.19199-.11147-.2627-.06892-.0707-.16203-.11329-.26102-.1194l-1.29129-.07878c-.05542-.00335-.11094.00486-.16297.0241-.05203.01923-.09941.04907-.13909.08757-.03969.03851-.07079.08484-.0913.136-.02051.05115-.02998.10502-.0278.16003zm3.23121.9769-.03774-.97591c-.00219-.05501.00728-.10987.0278-.16102.02051-.05116.05161-.09749.09129-.136.03969-.0385.08707-.06834.1391-.08757.05203-.01924.10754-.02745.16297-.0241l1.29129.07878c.09899.00611.19209.0487.26102.1194.06892.07071.10869.16441.11147.2627l.02781.92766c.00164.05356-.00776.10688-.02762.15671s-.04976.09512-.08789.1331c-.03812.03798-.08365.06785-.13382.08778-.05016.01993-.1039.02951-.15792.02814l-1.28037-.03052c-.10112-.00244-.19749-.04302-.26947-.11347s-.11415-.16546-.11792-.26568zm11.65041 11.52887-.0397-.9769c-.004-.1001-.0463-.1948-.1182-.2651-.072-.0702-.1682-.1107-.2692-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0381.038-.068.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1115.2627.0689.0707.162.1133.261.1194l1.2913.0788c.0555.0035.1111-.0046.1633-.0238.0521-.0192.0996-.049.1394-.0875s.071-.0849.0916-.1362c.0205-.0512.03-.1061.0278-.1612zm-8.4579-11.52887-.0388-.97591c-.0022-.0551.0073-.11004.0279-.16127s.0518-.09761.0916-.13613c.0397-.03852.0873-.06834.1394-.08751s.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0278.92766c.0016.05356-.0078.10688-.0276.15671-.0199.04983-.0498.09512-.0879.1331-.0382.03798-.0837.06785-.1339.08778-.0501.01993-.1039.02951-.1579.02814l-1.2803-.03052c-.1012-.00244-.1975-.04302-.2695-.11347s-.1142-.16546-.1179-.26568zm3.1547 10.56767.0397.9769c.0038.1003.046.1953.1179.2657.072.0705.1684.111.2695.1135l1.2794.0305c.054.0014.1077-.0082.1579-.0281.0502-.02.0957-.0498.1338-.0878.0382-.038.0681-.0833.0879-.1331.0199-.0498.0293-.1032.0276-.1567l-.0278-.9277c-.0028-.0983-.0425-.192-.1114-.2627-.069-.0707-.1621-.1133-.2611-.1194l-1.2913-.0788c-.0554-.0034-.1109.0046-.163.0237-.0521.0192-.0995.0489-.1393.0873s-.071.0847-.0916.1358c-.0207.0511-.0303.1059-.0282.1609zm2.07-11.56033.0388.97691c.0022.0551-.0073.11004-.0279.16126-.0206.05123-.0518.09761-.0916.13613-.0397.03853-.0873.06834-.1394.08751s-.1078.02727-.1633.02378l-1.2913-.07878c-.099-.00611-.1921-.0487-.261-.1194s-.1087-.16441-.1115-.2627l-.0268-.92865c-.0015-.05347.008-.10668.0279-.1564.02-.04971.0499-.09488.088-.13275.0381-.03788.0836-.06766.1337-.08753s.1037-.02942.1577-.02806l1.2793.03053c.101.00242.1972.04286.2692.11311.0719.07024.1142.16501.1182.26504zm-3.1547 12.52153-.0397-.9769c-.004-.1001-.0463-.1948-.1183-.2651-.0719-.0702-.1682-.1107-.2691-.1131l-1.2794-.0315c-.054-.0014-.1077.0082-.1579.0282-.0502.0199-.0957.0498-.1338.0877-.0382.038-.0681.0833-.0879.1331-.0199.0499-.0293.1032-.0276.1567l.0278.9287c.0028.0983.0425.192.1114.2627.069.0707.1621.1133.2611.1194l1.2913.0788c.0555.0035.1111-.0046.1632-.0238.0522-.0192.0997-.049.1395-.0875s.071-.0849.0915-.1362c.0206-.0512.0301-.1061.0279-.1612zm4.3169-11.52887-.0387-.97591c-.0022-.0551.0073-.11004.0278-.16127.0206-.05123.0518-.09761.0916-.13613s.0873-.06834.1394-.08751c.0522-.01917.1078-.02727.1633-.02378l1.2913.07878c.099.00611.1921.0487.261.1194.0689.07071.1087.16441.1115.2627l.0268.92766c.0017.05356-.0077.10688-.0276.15671s-.0498.09512-.0879.1331-.0836.06785-.1338.08778-.1039.02951-.1579.02814l-1.2794-.03052c-.1011-.00244-.1975-.04302-.2695-.11347s-.1141-.16546-.1179-.26568zm-9.61715 10.56767.03774.9769c.00377.1003.04594.1953.11792.2657.07198.0705.16835.111.26947.1135l1.28037.0305c.05402.0014.10776-.0082.15792-.0281.05017-.02.0957-.0498.13382-.0878.03813-.038.06803-.0833.08789-.1331s.02926-.1032.02762-.1567l-.02781-.9277c-.00278-.0983-.04255-.192-.11147-.2627-.06893-.0707-.16203-.1133-.26102-.1194l-1.29129-.0788c-.05534-.0033-.11077.0049-.16273.0241-.05196.0191-.09929.0489-.13896.0873-.03966.0384-.07079.0846-.09136.1356-.02058.0511-.03016.1058-.02811.1607zm-1.12442-.0157.03874.9769c.0022.0551-.0073.11-.02787.1612-.02057.0513-.05177.0977-.09156.1362s-.0873.0683-.13945.0875c-.05214.0192-.10777.0273-.16328.0238l-1.29129-.0788c-.09899-.0061-.19209-.0487-.26102-.1194-.06892-.0707-.10868-.1644-.11147-.2627l-.02682-.9287c-.00163-.0535.00776-.1068.02762-.1567.01987-.0498.04977-.0951.08789-.1331.03812-.0379.08366-.0678.13382-.0877.05017-.02.1039-.0296.15793-.0282l1.27937.0315c.10095.0024.19719.0429.26914.1131.07196.0703.11424.165.11825.2651zm3.80237-2.9248c.7986-.4491 3.1935-1.8288 3.8699-2.7082.0695-.0866.0348-.2068-.0517-.259l-3.7834-1.9656c-.1212-.06893-.26029.01773-.26029.13787-.03477.91383-.03476 3.72543-.03476 4.63833 0 .1379.13905.2245.26025.1556z",fill:"currentColor",fillRule:"evenodd"})});i();var Z2=require("react/jsx-runtime"),FC=e=>(0,Z2.jsx)("svg",{...e,children:(0,Z2.jsx)("path",{clipRule:"evenodd",d:"m17.5195 3.01289c-4.627 1.42268-11.69556 3.59505-15.22532 6.18514-.42573.28958-.38276 3.56277.08595 3.85137l3.70565.9222c0 1.5508.65158 6.8268 4.88692 7.9398 2.7752.5721 4.9538-1.682 6.3529-5.1187 1.3822.3522 2.4765.6347 3.0381.787.9834.4561 1.0593.1413 1.1653-.2986l.028-.113c.7675-5.272.3407-12.86975.1699-14.64054-.042-.41268-.6806-.65887-1.2353-.45404-.7635.26032-1.7888.57512-2.9721.93937zm-1.9957 13.32381c-2.4993-.6302-4.9994-1.2571-7.50025-1.8808.13291 2.0079.52966 4.711 3.14105 5.2478 2.3435.7133 3.1889-.9989 4.1973-3.0391z",fill:"currentColor",fillRule:"evenodd"})});i();var Q2=require("react/jsx-runtime"),BC=e=>(0,Q2.jsx)("svg",{...e,children:(0,Q2.jsx)("path",{d:"m20.5717 17.2858c.79 0 1.4283.6384 1.4283 1.4284s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4284 1.42834-1.4284zm-17.14337 0c.79 0 1.42917.6384 1.42917 1.4284s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4284 1.42833-1.4284zm17.14337-7.1433c.79 0 1.4283.6392 1.4283 1.4292s-.6383 1.4283-1.4283 1.4283h-11.43003c-.78834 0-1.42834-.6383-1.42834-1.4283s.64-1.4292 1.42834-1.4292zm-17.14337 0c.79 0 1.42917.6392 1.42917 1.4292s-.63917 1.4283-1.42917 1.4283c-.78833 0-1.42833-.6383-1.42833-1.4283s.64-1.4292 1.42833-1.4292zm17.14337-7.1425c.79 0 1.4283.63833 1.4283 1.42833s-.6383 1.42917-1.4283 1.42917h-11.43003c-.78834 0-1.42834-.63917-1.42834-1.42917.00084-.79.64084-1.42833 1.42917-1.42833zm-17.14337 0c.79 0 1.42917.63833 1.42917 1.42833s-.63917 1.43-1.42917 1.43c-.78833-.00083-1.42833-.64-1.42833-1.43s.64-1.42833 1.42833-1.42833z",fill:"currentColor"})});i();var eg=require("react/jsx-runtime"),OC=e=>(0,eg.jsx)("svg",{...e,children:(0,eg.jsx)("path",{d:"m12.3369 3.55763c.0451-.89627.7944-1.58554 1.6736-1.53953l6.1462.32164c.8161.04271 1.4683.7076 1.5101 1.53953l.3155 6.26593c.0452.8963-.6309 1.6602-1.5101 1.7062-.8791.046-1.6284-.6433-1.6735-1.5396l-.1317-2.61568-7.4804 7.62608c-.6225.6346-1.6317.6346-2.25417 0s-.62247-1.6635 0-2.2981l7.48037-7.62606-2.5658-.13428c-.8791-.046-1.5552-.80987-1.5101-1.70613zm8.9774 15.19197c0 1.7778-1.4412 3.219-3.2191 3.219h-12.87616c-1.77784 0-3.21905-1.4412-3.21905-3.219v-13.18963c0-1.77783 1.44122-3.21905 3.21905-3.21905h3.21904c.88892 0 1.60952.72061 1.60952 1.60953s-.7206 1.60952-1.60952 1.60952h-3.21904v13.18963h12.87616v-3.3131c0-.8889.7206-1.6095 1.6095-1.6095.889 0 1.6096.7206 1.6096 1.6095z",fill:"currentColor"})});i();var tg=require("react/jsx-runtime"),MC=e=>(0,tg.jsx)("svg",{...e,children:(0,tg.jsx)("path",{d:"m18.6532 18.6542c-.325.325-.8316.4883-1.5066.4883-.7042 0-1.5059-.1883-2.3484-.505.6984-.5475 1.3859-1.1392 2.0417-1.7958.6533-.6517 1.2375-1.3359 1.785-2.0317.0442.1158.11.2375.1483.3517.5284 1.5833.4834 2.89-.12 3.4925zm-11.79996.4883c-.675 0-1.18166-.1642-1.50583-.4883-.60417-.6025-.64833-1.9084-.12-3.4925.0375-.1142.10417-.2359.1475-.3517.54667.6958 1.1325 1.38 1.78333 2.0317.6575.6566 1.34417 1.2483 2.0425 1.7958-.84166.3167-1.64333.505-2.3475.505zm-1.625-10.305c-.52916-1.58333-.485-2.88917.11917-3.49167.325-.325.83-.48833 1.50583-.48833.70417 0 1.505.18833 2.3475.505-.69833.5475-1.385 1.13917-2.04166 1.795-.65167.6525-1.2375 1.33667-1.78417 2.0325-.04333-.11583-.11-.23833-.1475-.3525zm11.92166 3.1625c-.6558.9717-1.4392 1.9333-2.3283 2.8217-.9.9008-1.8592 1.6808-2.82 2.3333-.9634-.6525-1.9225-1.4325-2.82252-2.3333-.88917-.8892-1.67167-1.85-2.32917-2.8217.6575-.9717 1.44-1.9333 2.32833-2.8225.89996-.9 1.85916-1.68167 2.82246-2.33167.9609.65 1.9209 1.43167 2.82 2.33167.8892.8892 1.6725 1.8508 2.3292 2.8225zm-.0025-7.1425c.675 0 1.1825.16417 1.5067.48833.6025.6025.6483 1.90834.12 3.49167-.0384.11417-.1042.23667-.1484.3525-.5475-.69583-1.1316-1.38-1.7841-2.03333-.6567-.655-1.3442-1.24667-2.0417-1.79417.8417-.31667 1.6433-.505 2.3475-.505zm3.3242 7.1425c.405-.7575.7641-1.5142 1.0108-2.25833.9042-2.71167.6167-4.99-.81-6.41667-.8642-.86667-2.085-1.325-3.5258-1.325-1.5559 0-3.3417.54833-5.1467 1.51583-1.805-.96666-3.59166-1.51583-5.14666-1.51583-1.44 0-2.65916.45833-3.525 1.325-1.42666 1.4275-1.715 3.70583-.81166 6.41667.2475.74413.60583 1.50083 1.01333 2.25833-.4075.7575-.76667 1.5142-1.01333 2.2575-.90334 2.7125-.615 4.9917.81166 6.4167.86584.8675 2.085 1.3258 3.525 1.3258 1.555 0 3.34166-.5483 5.14746-1.5158 1.8034.9666 3.59 1.5158 5.1459 1.5158 1.4408 0 2.6608-.4583 3.5258-1.325 1.4267-1.4267 1.7142-3.705.81-6.4175-.2467-.7433-.6058-1.5-1.0108-2.2575z",fill:"currentColor"})});i();var rg=require("react/jsx-runtime"),IC=e=>(0,rg.jsx)("svg",{...e,children:(0,rg.jsx)("path",{clipRule:"evenodd",d:"m22.0003 11.4141c-.1004-11.304369-11.1037-11.060891-16.78934-6.40002-3.84615 3.16522-5.317726 14.50432 1.80602 16.73042 2.31016.7268 2.59201-.1753 3.02362-1.5568.312-.9985.7022-2.2475 1.9931-3.3128.8231-.6896 2.2559-.6232 3.7827-.5525 2.9397.1361 6.2279.2884 6.1839-4.9083zm-16.32113 5.6348c.23411.3826.63545.5913 1.03679.5913.23411 0 .43478-.0348.602-.1739.56856-.3827.73579-1.1479.40134-1.7392l-.03344-.0348c-.33445-.5913-1.07024-.7652-1.6388-.3826s-.70234 1.1479-.36789 1.7392zm12.14043-5.0087c.0669.6608.5686 1.1478 1.204 1.1478h.0669c.6689-.0696 1.1706-.6609 1.1037-1.3565v-.0696-.0348c-.0669-.6608-.6689-1.1478-1.3378-1.0782-.6354.0695-1.1037.6956-1.0368 1.3913zm-12.17388-.4522c.13378.0348.26756.0696.40134.0696.50167 0 1.00334-.3479 1.13712-.8348.23412-.6609-.10033-1.35655-.73578-1.60002-.63545-.24348-1.30435.10434-1.53846.76521v.03481c-.23412.6261.10033 1.3217.73578 1.5652zm9.63208-3.72175c.2007.13913.4348.2087.6689.2087.4014 0 .7693-.2087 1.0034-.5913.3344-.59131.2006-1.35653-.3679-1.73913l-.0335-.03479c-.5685-.34782-1.2709-.17391-1.6388.41739-.3679.59131-.2006 1.35653.3679 1.73913zm-6.22071-1.32173c.16723.52173.63545.83478 1.13711.83478.1108 0 .2217-.02387.3515-.05184.0269-.00579.0546-.01176.0833-.01773.6355-.24348.9699-.93913.7358-1.6s-.903-1.00869-1.53848-.76521h-.03344c-.63545.24347-.9699.93913-.73579 1.6z",fill:"currentColor",fillRule:"evenodd"})});i();var ng=require("react/jsx-runtime"),kC=e=>(0,ng.jsx)("svg",{...e,children:(0,ng.jsx)("path",{d:"m13.4144 6 4.5856 4.5857-9.95735 9.9576-4.0884.4514c-.54731.0605-1.00974-.4023-.94885-.9496l.45491-4.0914zm7.1077-.47944-2.0427-2.04268c-.6371-.63717-1.6705-.63717-2.3077 0l-1.9217 1.9217 4.3504 4.35042 1.9217-1.9217c.6372-.63751.6372-1.67057 0-2.30774z",fill:"currentColor",fillRule:"evenodd"})});i();var og=require("react/jsx-runtime"),NC=e=>(0,og.jsx)("svg",{...e,children:(0,og.jsx)("path",{d:"M19.5427 9.71299C21.3396 10.7505 21.3396 13.3441 19.5427 14.3816L6.89773 21.6822C5.10078 22.7196 2.8546 21.4228 2.8546 19.3479L2.8546 4.74675C2.8546 2.67181 5.10078 1.37497 6.89774 2.41244L19.5427 9.71299Z",fill:"currentColor"})});i();var ig=require("react/jsx-runtime"),VC=e=>(0,ig.jsx)("svg",{...e,children:(0,ig.jsx)("path",{d:"m5.03666 10.8522c.51251.0183.92109.4193.96101.9183l.00255.1168.00044.1828c.01531.6885.18571 1.6057.62783 2.4885.78316 1.5638 2.20547 2.5134 4.58571 2.5969 2.7301.0958 4.4504-.6666 5.4599-1.9712.3259-.4211.5542-.8737.7008-1.3244.0282-.0868.0512-.1658.0695-.2354l.0421-.1798.0185-.1156c.0553-.5495.5457-.9501 1.0952-.8947.5495.0553.9501.5456.8947 1.0951-.0767.7623-.4212 1.8219-1.2391 2.8788-1.1367 1.469-2.8727 2.4274-5.2555 2.6851l-.0013.924 1.001.0008c.5522 0 1 .4477 1 1 0 .5129-.3861.9355-.8834.9933l-.1166.0067h-4.00004c-.55229 0-1-.4477-1-1 0-.5128.38604-.9355.88338-.9932l.11662-.0068.99904-.0008v-.871l-.1745-.008c-2.94807-.1902-4.91745-1.554-5.98428-3.6842-.37658-.7519-.61294-1.5476-.73949-2.3471-.06944-.4386-.09766-.8183-.10067-1.1147l.00144-.1767c.01977-.5519.48323-.9833 1.03516-.9635zm5.14174-8.74976c.3849-.068 1.1957-.02029 2.0375.03843l.5056.03571c.3354.02358.6631.04556.9579.05926 1.319.079 2.426 1.7858 2.3807 4.4442-.0308 1.80785-.0421 2.74853-.0441 3.80146v.6471c.0004.1822.0012.3292.0023.4367.023 1.5111-.5191 3.3964-1.467 3.7293-.4376.1976-1.7443.3194-2.7857.2553-.7982-.047-2.15774-.2241-2.94204-.6081s-1.1882-1.903-1.1703-2.7445c.0117-.942.1799-4.32316.2155-6.00616.0797-2.6608 1.1813-3.878 2.30964-4.0887z",fill:"currentColor"})});i();var ag=require("react/jsx-runtime"),LC=e=>(0,ag.jsx)("svg",{...e,children:(0,ag.jsx)("path",{d:"m10.7498 2.00041c4.8325 0 8.75 3.9175 8.75 8.74999 0 1.9642-.655 3.7733-1.7492 5.2333l3.8834 3.885c.4883.4859.4883 1.2809 0 1.7667-.2417.2433-.5617.3642-.8834.3642-.32 0-.64-.1209-.8833-.3634l-3.8833-3.8833c-1.4617 1.0917-3.2692 1.7467-5.2342 1.7467-4.83335.0008-8.75001-3.9159-8.75001-8.7492 0-4.83165 3.91666-8.74999 8.75001-8.74999zm0 2.5c-3.44668 0-6.25001 2.8025-6.25001 6.24999 0 3.4475 2.80333 6.25 6.25001 6.25 3.4458 0 6.25-2.8033 6.25-6.25 0-3.44665-2.8042-6.24999-6.25-6.24999zm-1.75001 3.49167c.22333-.12667.68166-.1225.90333.00833l3.55748 2.13919c.215.1275.34.36.34.61 0 .2508-.1425.4833-.3566.6108l-3.58755 2.14c-.1125.0667-.28583.1008-.41333.1008-.12 0-.33333-.03-.44417-.0916-.2225-.1267-.545-.3642-.545-.6209v-4.27662c0-.25834.3225-.4925.545-.62z",fill:"currentColor"})});i();var sg=require("react/jsx-runtime"),$C=e=>(0,sg.jsx)("svg",{...e,children:(0,sg.jsx)("path",{d:"m16.3564 2c1.5175.00328 2.7654.05959 3.3551.19802 1.2681.28936 1.6232 1.60755 2.0544 8.51998.4819 7.877.2781 9.5709-1.1676 10.0853-1.2394.441-3.3562.6093-5.8879.8106l-.5708.0456c-.5773.0463-1.1734.0953-1.7834.1505-2.81531.2251-6.67048.3537-8.72489-.225-1.21742-.3537-1.31887-1.061-1.49641-7.7162l-.00348-.1303c-.07337-2.7504-.12433-4.66021-.13075-6.02614l.00004-.55296c.00836-1.50623.08983-2.24363.28637-2.77512.43117-1.22173 1.95295-1.54324 3.72836-1.86475 1.11233-.20143 6.31756-.51193 10.07126-.51953zm3.1428 5.19947-15.49271 1.15568c.01637 1.28708.06245 3.01455.12591 5.39325l.00179.067c.09105 3.4133.16207 5.0486.32392 5.9018l.00263.0138c.76761.1673 1.90292.2576 3.26301.268 1.49142.0114 3.09275-.0725 4.46275-.1818.87-.0787 1.6602-.1412 2.401-.1999.8576-.0679 1.6491-.1306 2.4216-.207 1.3162-.1301 2.2225-.2729 2.7833-.4464.0351-.1138.0851-.3222.126-.6736.1469-1.2621.0949-3.4668-.1487-7.4489-.0929-1.4893-.1808-2.68305-.2705-3.64193zm-11.14647 2.93623c2.58087-1.8752 6.39687-1.02448 8.52877.9606 1.2696 1.1821 2.1643 2.255 2.1166 2.9255l-.0003.1105c-.0672.9454-1.7348 2.4982-3.3505 3.6722-2.5808 1.8753-6.39694 1.0245-8.52883-.9606-1.26956-1.1821-2.16431-2.255-2.11656-2.9254l.00028-.1104c.06722-.9455 1.73482-2.4983 3.35054-3.6724zm.90454 1.9887c-.90992 1.3477-.88542 4.8225 2.51483 4.8706 3.4002.0482 3.7685-3.7858 1.9417-5.3499-1.293-1.107-3.5466-.8684-4.45653.4793zm3.63903.5174c1.0567.8936.8436 3.0841-1.1232 3.0566-1.96671-.0275-1.98091-2.0128-1.4546-2.7827.5263-.77 1.8299-.9064 2.5778-.2739z",fill:"currentColor"})});i();var ug=require("react/jsx-runtime"),zC=e=>(0,ug.jsx)("svg",{...e,children:(0,ug.jsx)("path",{d:"m2.25954 20.5314c.23026 1.1309 1.57918 1.268 2.7308 1.1994 1.15151-.0685 11.21906.0686 13.52216.2399 2.303.1713 2.8623-.4456 3.1913-.891.2304-.3084.2962-4.0903.2962-5.8381 0-1.7135-.2304-4.691-.5594-6.95284-.1974-1.40511.2632-2.67311-3.3229-2.94722-1.6121-.10278-3.0812-.10278-6.0423-.03433-.296-.78822-1.2946-2.8142-1.9526-3.15687-.98704-.41132-6.54729.13701-7.23818.27412-.75669.17133-.75669.58265-.75669 1.50788v2.98165c0 1.30222-.36187 11.38971.13161 13.61741z",fill:"currentColor"})});i();var lg=require("react/jsx-runtime"),HC=e=>(0,lg.jsx)("svg",{...e,children:(0,lg.jsx)("path",{d:"m21.9985 12.0962c.156-11.337813-12.26789-12.565874-17.33611-6.47453-3.58731 4.31149-3.71983 11.58443.64734 14.61853 4.36716 3.034 16.53287 3.1937 16.68877-8.144zm-8.8773 1.238h-2.3237v-.1495c0-.9268.1764-1.4649 1.0589-2.0629l.6912-.4634c.5736-.3886.8236-.77726.8236-1.40508 0-.7175-.4706-1.16594-1.1472-1.16594-.8236 0-1.4265.46339-1.4265 1.55459h-2.35319c0-1.8984 1.22069-3.37826 3.85329-3.37826 2.0295 0 3.4561 1.01647 3.4561 2.88497 0 1.30052-.6912 2.03292-1.456 2.61592l-.603.4484c-.4412.3439-.5735.5531-.5735.9418zm.3676 2.2571c0 .8371-.6765 1.5397-1.5295 1.5397-.8677 0-1.5295-.7026-1.5295-1.5397s.6618-1.5247 1.5295-1.5247c.853 0 1.5295.6876 1.5295 1.5247z",fill:"currentColor"})});i();var cg=require("react/jsx-runtime"),GC=e=>(0,cg.jsx)("svg",{...e,children:(0,cg.jsx)("path",{clipRule:"evenodd",d:"m12 22c5.5228 0 10-4.4772 10-10 0-5.52285-4.4772-10-10-10-5.52285 0-10 4.47715-10 10 0 5.5228 4.47715 10 10 10zm-3.33333-11.6667c.92047 0 1.66663-.74616 1.66663-1.66663 0-.92048-.74616-1.66667-1.66663-1.66667s-1.66667.74619-1.66667 1.66667c0 .92047.7462 1.66663 1.66667 1.66663zm8.33333 3.3334c0 2.7614-2.2386 5-5 5-2.76142 0-5-2.2386-5-5zm0-5.00003c0 .92047-.7462 1.66663-1.6667 1.66663-.9204 0-1.6666-.74616-1.6666-1.66663 0-.92048.7462-1.66667 1.6666-1.66667.9205 0 1.6667.74619 1.6667 1.66667z",fill:"currentColor",fillRule:"evenodd"})});i();var Bl=require("react/jsx-runtime"),jC=e=>(0,Bl.jsxs)("svg",{...e,children:[(0,Bl.jsx)("path",{d:"M5.72808 6.57665L5.72808 6.57666C4.21821 8.39134 3.44905 10.8031 3.50262 13.081C3.5562 15.3591 4.44354 17.634 6.41174 19.0014C8.31623 20.3245 11.728 20.952 14.6917 20.132C16.2039 19.7135 17.6545 18.9039 18.734 17.5601C19.8183 16.2104 20.467 14.3977 20.4988 12.0859C20.5306 9.7716 19.9186 7.89371 18.8485 6.48004C17.7808 5.06955 16.3051 4.18499 14.7177 3.77414C11.5832 2.96286 7.89555 3.97164 5.72808 6.57665Z",fill:"transparent",stroke:"currentColor",strokeWidth:"2"}),(0,Bl.jsx)("path",{d:"M7.66621 8.21881C9.16184 6.42126 11.7691 5.68812 13.9883 6.26249C15.0878 6.54707 16.077 7.14918 16.787 8.08709C17.4957 9.0234 17.9503 10.3264 17.9266 12.0543C17.9028 13.7834 17.4234 15.0307 16.7129 15.9152C16 16.8027 15.0236 17.3629 13.9441 17.6616C11.7547 18.2675 9.2536 17.7685 7.98327 16.886C6.7448 16.0256 6.1109 14.5403 6.07219 12.894C6.03347 11.2477 6.59545 9.50574 7.66621 8.21881Z",fill:"currentColor",stroke:"transparent"})]});i();var fg=require("react/jsx-runtime"),_C=e=>(0,fg.jsx)("svg",{...e,children:(0,fg.jsx)("path",{d:"m6.87391 20.4397c-1.80165-.6674-3.34245-1.8936-4.39695-3.4997-1.0545-1.6059-1.567498-3.5072-1.46385-5.4256.10365-1.91847.81855-3.7534 2.04-5.23636s2.8854-2.53613 4.74855-3.00542c1.863-.46929 3.82734-.33007 5.60554.39728 1.7783.72735 3.2771 2.00467 4.2772 3.64507.7418 1.21674 1.1804 2.58587 1.2889 3.99293l.642-.536c.6359-.531 1.5818-.4459 2.1128.1899.5309.6359.4459 1.5819-.19 2.1128l-2.996 2.5018c-.5567.4648-1.3662.4648-1.9228 0l-2.996-2.5018c-.6359-.5309-.721-1.4769-.19-2.1128.531-.6358 1.4769-.7209 2.1128-.1899l.385.3215c-.1193-.7805-.3922-1.53458-.8082-2.21675-.6667-1.0936-1.6659-1.94515-2.8514-2.43006-1.1855-.4849-2.49506-.57771-3.73709-.26485-1.242.31287-2.3514 1.01497-3.16575 2.00362-.8142.98864-1.2909 2.21194-1.3599 3.49094-.06915 1.2789.27285 2.5464.9759 3.617.70305 1.0707 1.73025 1.8882 2.9313 2.3331 1.20109.4449 2.51304.4938 3.74384.1394.7961-.2291 1.6273.2304 1.8565 1.0266.2291.796-.2304 1.6272-1.0265 1.8564-1.8463.5314-3.81421.4582-5.61589-.2091z",fill:"currentColor"})});i();var pg=require("react/jsx-runtime"),WC=e=>(0,pg.jsx)("svg",{...e,children:(0,pg.jsx)("path",{d:"M5.64571 1.19092C5.19893 0.866257 4.57355 0.965254 4.24889 1.41204C3.92423 1.85882 4.02322 2.48419 4.47 2.80886C5.75625 3.74353 6.95092 5.00735 8.01704 6.20703C6.38757 6.20371 5.0889 6.2273 4.54926 6.28789C2.56844 6.5103 2.31336 7.59249 2.09302 9.25911C1.87267 10.9257 2.11033 17.874 2.37512 19.4659C2.63991 21.0578 3.40531 21.7237 5.61415 21.6844C6.9775 21.6601 10.7551 21.7863 13.8349 21.8892L13.8531 21.8898C15.7549 21.9533 17.3885 22.0078 18.0174 22.0123L18.03 22.0124C19.6724 22.024 21.003 22.0334 21.6139 20.7615C22.2264 19.4863 21.9782 11.1909 21.8801 9.61079C21.7819 8.03071 21.2479 6.89398 19.993 6.61776C19.5898 6.52901 18.0558 6.44028 16.0935 6.36809C17.0728 5.28349 18.2296 4.02372 19.6219 2.73331C20.0269 2.35789 20.051 1.72518 19.6755 1.32012C19.3001 0.915058 18.6674 0.891034 18.2623 1.26646C16.6527 2.7583 15.3356 4.22058 14.2947 5.37616L14.2798 5.39271C14.0913 5.60208 13.9119 5.8013 13.7414 5.98868C13.6467 6.09275 13.5555 6.19241 13.4676 6.28764C12.5521 6.2645 11.613 6.24544 10.7013 6.23164C10.5417 6.0511 10.3732 5.8585 10.1952 5.65501L10.0863 5.5306C8.90401 4.17976 7.37355 2.44649 5.64571 1.19092ZM6.2929 14.9216C5.95119 14.5799 5.90848 14.0524 6.16476 13.6642C6.20137 13.6088 6.24408 13.5562 6.2929 13.5074L9.82843 9.97183C10.219 9.5813 10.8521 9.5813 11.2426 9.97183C11.6332 10.3623 11.6332 10.9955 11.2426 11.386L9.46447 13.1642H16.5858C17.1381 13.1642 17.5858 13.6119 17.5858 14.1642C17.5858 14.7165 17.1381 15.1642 16.5858 15.1642H9.36396L11.2426 17.0429C11.6332 17.4334 11.6332 18.0666 11.2426 18.4571C10.8521 18.8476 10.219 18.8476 9.82843 18.4571L6.2929 14.9216Z",fill:"currentColor"})});i();var dg=require("react/jsx-runtime"),UC=e=>(0,dg.jsx)("svg",{...e,children:(0,dg.jsx)("path",{d:"m11.6953 2c-2.36214 0-4.62753.93836-6.29781 2.60864-.58578.58578-.58578 1.53553 0 2.12131.58579.58579 1.53553.58579 2.12133 0 1.10766-1.10768 2.60998-1.72995 4.17648-1.72995s3.0688.62227 4.1765 1.72995c.7623.76237 1.2948 1.7117 1.5527 2.7402l-.5756-.48053c-.6358-.53098-1.5817-.44591-2.1127.18997-.531.63589-.446 1.58181.1899 2.11281l2.9961 2.5017c.5566.4648 1.3662.4648 1.9228 0l2.996-2.5017c.6358-.531.7209-1.47692.19-2.11281-.531-.63588-1.477-.72095-2.1129-.18997l-.4506.37628c-.3144-1.79011-1.1718-3.45466-2.4744-4.75726-1.6702-1.67028-3.9357-2.60864-6.2978-2.60864zm7.4377 16.8867c-1.5536 1.7794-3.7502 2.869-6.1069 3.0288-2.3567.1599-4.68042-.623-6.45992-2.1765-1.32667-1.1582-2.26984-2.6738-2.73018-4.3469l-.17388.2132c-.52381.6417-1.46874.7374-2.11053.2136-.641801-.5238-.737441-1.4687-.21363-2.1105l2.57465-3.1546c.26245-.3216.64644-.52 1.06057-.5481.41414-.02809.82139.1167 1.12487.3999l2.97703 2.778c.60569.5652.63851 1.5143.07332 2.12-.5652.6057-1.51437.6386-2.12005.0734l-.04151-.0389c.34575.8142.87327 1.5482 1.55225 2.141 1.18009 1.03 2.72111 1.5493 4.28401 1.4433 1.5628-.1061 3.0196-.8285 4.0498-2.0087.5448-.624 1.4924-.6883 2.1165-.1435.624.5448.6884 1.4923.1436 2.1165z",fill:"currentColor"})});i();var mg=require("react/jsx-runtime"),KC=e=>(0,mg.jsx)("svg",{...e,children:(0,mg.jsx)("path",{clipRule:"evenodd",d:"m3.43934 7.93934c-.58579.58579-.58579 1.53553 0 2.12136l4.5 4.5c.58579.5857 1.53553.5857 2.12136 0 .5857-.5858.5857-1.5356 0-2.1214l-1.93938-1.9393h.87868c4.9706 0 9 4.0294 9 9 0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5c0-6.6274-5.3726-12-12-12h-.87868l1.93938-1.93934c.5857-.58579.5857-1.53553 0-2.12132-.58583-.58579-1.53557-.58579-2.12136 0z",fill:"currentColor",fillRule:"evenodd"})});i();var hg=require("react/jsx-runtime"),qC=e=>(0,hg.jsx)("svg",{...e,children:(0,hg.jsx)("path",{d:"m8.03043 13.6607c-.29507.3401-.77967.4312-1.22762.3856-.26063-.0266-.53261-.0225-.83308-.0225-2.20558 0-3.95014 2.0802-3.992 3.992-.04187 1.9117 1.25486 4.1879 3.992 3.992 2.73715-.1959 3.99201-1.7864 3.99201-3.992 0-.3414-.04361-.6694-.125-.982-.10544-.4049-.03782-.8512.25806-1.1471l1.1558-1.1558c.3906-.3905 1.0237-.3905 1.4142 0l1.1558 1.1558c.296.2959.3636.7422.2581 1.1471-.0813.3126-.125.6406-.125.982 0 2.2056 1.2079 4.1121 3.992 3.992 2.1682 0 3.9313-1.7263 3.9905-3.8801.0021-.0742.0111-.1481.0221-.2214.249-1.6525-2.0736-4.0873-4.0126-3.8825-.3396 0-.6661.0432-.9773.1238-.4074.1055-.8563.036-1.152-.2635l-.2823-.286c-.3353-.3396-.3855-.8665-.1187-1.2621 1.2897-1.9126 4.8975-7.29122 5.5061-8.5084.5957-1.19133-.0999-1.55313-.4001-1.64993-.0817-.02633-.1675-.02743-.2521-.01311-.3067.0519-1.1141.23047-1.8398.75302-.8699.6263-7.2522 7.11612-10.39907 10.74312zm-.0647 4.3551c0 1.0978-.33819 2.1849-2.02833 2.2762-1.69015.0913-1.93466-.9724-1.96367-2.2762s.81534-1.7091 1.92989-1.7429 2.06211.6451 2.06211 1.7429zm11.62977-.1c0 1.0978-.6104 1.7735-1.7181 1.7735-1.1078 0-1.6627-.5095-1.6627-1.6073s.4995-1.7181 1.6072-1.7181c1.1078 0 1.7736.4541 1.7736 1.5519zm-16.00097-13.65035c.36312.61452 4.38321 5.68498 5.13739 6.04815.75418.3631 3.01228-2.35364 2.62128-3.13575-.3911-.78212-6.57133-4.945-7.37947-5.13008-.51609-.11819-.77828.15828-.90039.37355-.07895.13919-.07354.30477-.02904.45848.09686.33451.29621.95576.55023 1.38565z",fill:"currentColor"})});i();var gg=require("react/jsx-runtime"),XC=e=>(0,gg.jsx)("svg",{...e,children:(0,gg.jsx)("path",{clipRule:"evenodd",d:"m18.1805 10.0368c.1262-9.02516-9.92582-10.002742-14.02641-5.15382-2.90243 3.43213-3.00965 9.22162.52374 11.63682 2.18864 1.496 6.79817 2.1141 10.01977.223.1591.1745.3297.3626.5089.5601l.0011.0012.028.0308c.3639.4012.7527.8439 1.1456 1.2911 1.4196 1.6159 2.8916 3.2914 3.4268 3.2876.9201-.0065 1.8533-.8438 1.8058-1.6624-.0358-.617-3.0505-4.1585-4.5332-5.8655.6663-1.1243 1.0748-2.556 1.0999-4.3489zm-3.0735-.0148c.078-5.63543-6.13398-6.24583-8.66808-3.21812-1.79365 2.14306-1.85991 5.75812.32367 7.26612 1.35254.9342 4.20111 1.3201 6.19201.1393.3521-.2089 1.2447-.8717 1.4727-1.4718.0304-.08.062-.1614.0941-.2443h.0001c.2656-.6842.5717-1.4727.5855-2.4712z",fill:"currentColor",fillRule:"evenodd"})});i();var vg=require("react/jsx-runtime"),YC=e=>(0,vg.jsx)("svg",{...e,children:(0,vg.jsx)("path",{d:"m2.08399 13.9107c.0602 3.3015.20898 6.331.4105 7.6243.0499.3202.29259.5164.60534.4312 3.13827-.855 18.95577-8.2148 18.95577-9.9463 0-1.2384-16.56256-9.66456-19.1655-10.02992-.19461-.02731-.34033.09248-.39323.28174-.29629 1.05988-.42832 4.29228-.44124 7.85348l14.16417 1.8946z",fill:"currentColor"})});i();var yg=require("react/jsx-runtime"),JC=e=>(0,yg.jsx)("svg",{...e,children:(0,yg.jsx)("path",{clipRule:"evenodd",d:"m6.24843 6.77277c.74955 2.13722 3.90597 2.17402 4.61477.46032.0683-.1408.125-.2811.1707-.42046.6058-.00536 1.1978-.0136 1.7785-.0229.4047-.00648.8032-.01346 1.1969-.02035 2.4581-.04305 4.7202-.08264 7.0401.0237.5014.02298.9266-.36485.9495-.86627.023-.50141-.3648-.92652-.8662-.94951-2.382-.10919-4.7076-.06836-7.1622-.02525-.3921.00689-.7877.01383-1.1872.02023-.57.00912-1.1495.01719-1.7411.02251-.1944-.59562-.5734-1.11691-1.05139-1.50894-.92757-.76087-3.35974-.86696-3.825 1.46603-1.01999-.03054-2.08381-.07744-3.2008-.14657-.50098-.031-.93224.34999-.96324.85097-.03101.50098.34999.93224.85097.96325 1.18803.07352 2.31663.12231 3.39569.15324zm-4.2483 5.54683c0-.5019.4069-.9088.90884-.9088 1.40629 0 2.64238-.0161 3.88561-.0323 1.96291-.0254 3.94372-.0511 6.64042-.0143.5017-2.38934 3.3463-2.2812 4.2812-1.51432.5667.46472.9111 1.01612 1.0122 1.64502.7524.0257 1.5502.0552 2.3993.0894.5015.0202.8917.443.8716.9445-.0202.5016-.4431.8919-.9447.8717-.9361-.0376-1.8091-.0697-2.6268-.097-.0222.0498-.0455.0999-.0699.1503-.7019 1.6972-3.9734 1.7795-4.8058-.2702-2.7348-.0393-4.72571-.0135-6.71331.0124-1.24973.0162-2.49855.0325-3.92982.0325-.50194 0-.90884-.4069-.90884-.9089zm0 6.1328c-.00116-.5019.40481-.9097.90675-.9109 1.07677-.0025 2.10118-.0058 3.08174-.0089.11298-.0004.2258-.0008.33762-.0011.05692-.1747.12895-.3528.21677-.5339.73063-1.7666 3.87449-1.7897 4.45259.5249 3.676.0025 6.8235.0408 10.1372.1927.5014.0229.8892.4481.8662.9495-.0229.5014-.4481.8892-.9495.8663-3.2903-.1508-6.4125-.1885-10.0872-.1907-.5634 2.1212-2.87808 1.9991-3.77763 1.2612-.42273-.3467-.72861-.77-.89095-1.2522-.09774.0003-.19592.0006-.29455.001-.98121.003-2.00765.0064-3.0881.0089-.50195.0011-.90979-.4048-.91094-.9068z",fill:"currentColor",fillRule:"evenodd"})});i();var bg=require("react/jsx-runtime"),ZC=e=>(0,bg.jsx)("svg",{...e,children:(0,bg.jsx)("path",{d:"m10.6913 7.39911c.578 0 1.0471.46807 1.0471 1.04714 0 .57802-.4691 1.04714-1.0471 1.04714h-6.59702v9.31951h15.39302v-5.7592c0-.5791.468-1.0472 1.0471-1.0472s1.0471.4681 1.0471 1.0472v6.8064c0 .5791-.468 1.0471-1.0471 1.0471h-17.48726c-.57907 0-1.04714-.468-1.04714-1.0471v-11.41385c0-.57907.46807-1.04714 1.04714-1.04714zm5.8803-4.34459 4.7121 1.57071c.288.09529.5194.31205.6367.59268.1162.27959.1047.59687-.0314.86913l-2.4074 4.81686c-.1833.3675-.5539.5791-.9382.5791-.1571 0-.3173-.0356-.4671-.11-.5173-.2597-.7277-.888-.4691-1.40526l1.1889-2.37891c-4.0996 1.68797-6.3249 4.53987-6.3249 8.18697 0 .5791-.4681 1.0472-1.0471 1.0472-.5791 0-1.0472-.4681-1.0472-1.0472 0-4.4699 2.7028-8.04278 7.5143-10.07421l-1.9824-.66064c-.5477-.18221-.844-.77594-.6608-1.32464.1822-.54765.7717-.84609 1.3236-.66179z",fill:"currentColor"})});i();var Cg=require("react/jsx-runtime"),QC=e=>(0,Cg.jsx)("svg",{...e,children:(0,Cg.jsx)("path",{d:"m15.7829 19.9195c1.7831-.0396 2.688-.079 3.4524-.079 2.4101 0 2.4643-.5698 2.6291-2.2998.0161-.1681.0331-.3472.0535-.5377.1341-1.2162.0766-8.54397.0191-10.16543-.0064-.2209-.008-.42798-.0095-.62158-.0121-1.52821-.0174-2.21601-2.3473-2.21601-1.7437 0-4.6496.06881-7.1831.115-1.2804.02334-2.2443.04093-2.46946.04093-.67064.03118-.99638 1.029-1.0347 1.96448-.02098.51212-.02473 2.03357-.02069 3.53602-2.0997-1.99934-5.23506-4.27551-5.94338-4.62817-.23692-.17101-.5951.06006-.65895.36744-.51522 2.4804-.24785 10.79872.42166 14.00882.10701.5131.5848.5653.89181.352 1.82324-1.2674 3.87556-3.4426 5.27447-5.2548-.03781 1.4028-.06521 3.1549.15005 4.1851.21076 1.1226 1.20719 1.3097 2.05019 1.3097.4981.0169 2.6193-.0302 4.7248-.077z",fill:"currentColor"})});i();var xg=require("react/jsx-runtime"),ex=e=>(0,xg.jsx)("svg",{...e,children:(0,xg.jsx)("path",{clipRule:"evenodd",d:"M2 6.28572C2 5.49674 2.63959 4.85715 3.42857 4.85715H20.5714C21.3604 4.85715 22 5.49674 22 6.28572C22 7.0747 21.3604 7.71429 20.5714 7.71429H3.42857C2.63959 7.71429 2 7.0747 2 6.28572ZM2 12C2 11.211 2.63959 10.5714 3.42857 10.5714H14.8571C15.6461 10.5714 16.2857 11.211 16.2857 12C16.2857 12.789 15.6461 13.4286 14.8571 13.4286H3.42857C2.63959 13.4286 2 12.789 2 12ZM3.42857 16.2857C2.63959 16.2857 2 16.9253 2 17.7143C2 18.5033 2.63959 19.1429 3.42857 19.1429H7.71429C8.50326 19.1429 9.14286 18.5033 9.14286 17.7143C9.14286 16.9253 8.50326 16.2857 7.71428 16.2857H3.42857Z",fill:"currentColor",fillRule:"evenodd"})});i();var wg=require("react/jsx-runtime"),tx=e=>(0,wg.jsx)("svg",{...e,children:(0,wg.jsx)("path",{clipRule:"evenodd",d:"m18.4814 8.67568-.6644 2.03912c-.1208.3764-.7329.3834-.8658.0139l-.8174-2.24473c-.1531-.4148-.4953-.75988-.9463-.9481l-1.9289-.80868c-.3584-.14988-.3342-.59953.0403-.72153l1.9449-.62742c.5316-.1708.9423-.54725 1.1074-1.01433l.741-2.08443c.1328-.38343.7651-.366.8738.0244l.5798 2.10534c.1289.46359.4954.85399.9947 1.05964l2.2027.90279c.3785.15337.3342.63091-.0685.73199l-1.9409.48103c-.6081.14988-1.0792.56467-1.2524 1.09101zm-11.00752 2.19872 1.03356-3.39854c.18792-.62742 1.14004-.63904 1.34675-.02324l1.27161 3.74128c.238.6913.7705 1.2665 1.472 1.5802l3.0005 1.3478c.5575.2498.5199.9992-.0627 1.2025l-3.0255 1.0457c-.8268.2847-1.4658.9121-1.7226 1.6906l-1.15255 3.474c-.20671.6391-1.19015.61-1.35928-.0406l-.90201-3.5089c-.20045-.7727-.77047-1.4234-1.54721-1.7661l-3.4264-1.5047c-.58881-.2556-.51991-1.0515.10649-1.2199l3.01924-.8018c.94586-.2498 1.67875-.9411 1.9481-1.8183z",fill:"currentColor",fillRule:"evenodd"})});i();var Up=require("react/jsx-runtime"),rx=e=>(0,Up.jsx)("svg",{...e,children:(0,Up.jsx)("path",{d:"m12 5.33333c-3.6819 0-6.66667 2.98475-6.66667 6.66667 0 3.6819 2.98477 6.6667 6.66667 6.6667s6.6667-2.9848 6.6667-6.6667c0-.9205.7461-1.6667 1.6666-1.6667s1.6667.7462 1.6667 1.6667c0 5.5228-4.4772 10-10 10-5.52285 0-10-4.4772-10-10 0-5.52283 4.47715-10 10-10 .9205 0 1.6667.74617 1.6667 1.66667s-.7462 1.66666-1.6667 1.66666z",fill:"currentColor",children:(0,Up.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});i();var Sg=require("react/jsx-runtime"),nx=e=>(0,Sg.jsx)("svg",{...e,children:(0,Sg.jsx)("path",{d:"m16.5566 10.0643c-.0138-1.76364-.0349-4.48222.0778-6.10188.0712-1.21794.7119-1.9487 2.3848-1.9487 1.4949-.09744 1.8509.34102 2.0644.77948 1.1747 2.63075.9255 14.9563.8187 16.9537-.0103.1819-.0095.3498-.0088.5049.0044.9247.0067 1.3953-2.3404 1.6874-2.3136.2923-2.5627-.4872-2.634-1.9487-.0711-1.1692-.3203-7.0153-.3558-8.7692 0-.2944-.0032-.6926-.0067-1.157zm-14.48339-1.50187c-.14486 1.45517-.03621 4.88197 0 5.86777.03621 1.2674.32593 5.3514.39835 6.1963.07243 1.0797.18107 1.5491 2.57119 1.3144 2.38974-.2414 2.38569-.931 2.38125-1.6846-.00073-.1258-.00149-.2533.00887-.3809.10864-1.4552-.21728-8.872-.39835-9.9986-.06291-.39135-.10395-.76005-.13985-1.08248-.06745-.60575-.11671-1.04819-.25851-1.17073-.28971-.28165-.76049-.70413-2.49876-.61025-1.77448.14083-1.95554.70413-2.06419 1.54909zm12.34129 3.27277c.1806.8473.2413 2.5838.2777 3.6225.0093.2658.0171.4859.0247.6338.0379.9189-.0378 3.9177-.0755 4.5464-.0379.7739-.1513 1.3059-2.6088 1.3543-2.49154.0828-2.51834-.5076-2.54541-1.104-.00455-.1004-.00912-.201-.02546-.2986-.18904-1.0157-.37808-7.8354.18903-8.9479.18904-.3385.64274-.7255 2.45744-.8706s2.155.4837 2.3063 1.0641z",fill:"currentColor"})});i();var Dg=require("react/jsx-runtime"),ox=e=>(0,Dg.jsx)("svg",{...e,children:(0,Dg.jsx)("path",{d:"m19.9646 3.56989c1.8831 1.70948 2.0107 4.32673 2.0173 6.99611l-.0001.9022c0 .5142.0048 1.0139.0095 1.4974.0315 3.247.0561 5.7743-1.4399 7.1725-1.292 1.2075-3.7521 1.737-6.1439 1.8298-.7898.0306-2.3731.0535-3.3766 0-2.50856-.1338-5.72463-.3411-7.52574-1.8764-1.58915-1.3545-1.45707-4.3243-1.46202-6.8769-.00066-.3406-.0013-.6675-.00565-.9747-.00365-.2567-.0094-.5236-.01531-.7981-.05418-2.51434-.12193-5.65891 1.29137-7.39433 1.56755-1.92485 6.85845-2.02051 8.54555-2.02051.1646 0 .3708-.00475.6101-.01026 1.8411-.04241 5.6413-.12995 7.4954 1.55319zm-13.46158 6.43131c-.27704.0188-.53391.1518-.70948.3673l-1.99272 2.4455c-.35041.43-.28643 1.0632.14291 1.4142s1.06144.2869 1.41186-.1431l.33308-.4088c.31302 1.3863 1.05786 2.648 2.14023 3.5944 1.3458 1.1767 3.1031 1.7698 4.8856 1.6487 1.7824-.1211 3.4436-.9464 4.6185-2.2944.3644-.4182.3215-1.0531-.0961-1.4182-.4174-.365-1.0513-.322-1.4157.0962-.8248.9464-1.9912 1.5258-3.2425 1.6109-1.2514.085-2.4852-.3314-3.43001-1.1576-.70847-.6194-1.21095-1.4312-1.45381-2.327l.49561.4632c.40517.3787 1.04013.3567 1.41822-.0492.3781-.4058.35612-1.0418-.04906-1.4205l-2.30414-2.1536c-.20301-.1898-.47546-.28678-.75249-.268zm5.45468-5.37285c-1.7866 0-3.49982.71082-4.76304 1.97611-.39187.39251-.39187 1.02889 0 1.42141.39187.3925 1.02721.3925 1.41908 0 .8869-.88831 2.08976-1.38736 3.34396-1.38736s2.457.49905 3.3438 1.38736c.6097.61063 1.0357 1.3708 1.2424 2.19443l-.3233-.30964c-.4006-.3836-1.0358-.36931-1.4187.03186-.383.40118-.3688 1.03748.0318 1.42108l2.0251 1.9394c.388.3715.9991.3715 1.387 0l2.0251-1.9394c.4006-.3836.4149-1.0199.0319-1.42108-.383-.40117-1.0181-.41546-1.4187-.03186l-.2948.28234c-.2399-1.35029-.8873-2.60548-1.8687-3.58853-1.2633-1.2653-2.9765-1.97612-4.7629-1.97612z",fill:"currentColor"})});i();var Eg=require("react/jsx-runtime"),ix=e=>(0,Eg.jsx)("svg",{...e,children:(0,Eg.jsx)("path",{d:"m4.11263 5.04041c-.18667 1.92432.04424 9.01979.00001 11.01579-.04423 1.9961.12249 4.3531.29625 5.0481.15491.6196 1.84727 1.5368 3.03625.3225 1.18899-1.2142 2.57456-2.7822 4.57456-4.1325 2.0186 1.5231 3.2093 2.9179 4.4324 4.1325 1.2231 1.2147 3.0966.6257 3.2493-.3225.3224-1.8964.2206-6.4423.2546-7.8088.0339-1.7012-.1019-7.13954-.1528-8.25509-.0339-1.11555.0771-1.94224-.6526-2.22113-3.0546-1.17133-9.17301-1.09763-12.39732-.53985-2.90187.502-2.52186 1.56177-2.64065 2.76098z",fill:"currentColor"})});i();var Pg=require("react/jsx-runtime"),ax=e=>(0,Pg.jsx)("svg",{...e,children:(0,Pg.jsx)("path",{clipRule:"evenodd",d:"M2 4a2 2 0 012-2h8a2 2 0 012 2v18H2V4zm5.5 3a1.5 1.5 0 100 3h1a1.5 1.5 0 100-3h-1zm0 7a1.5 1.5 0 000 3h1a1.5 1.5 0 000-3h-1zm8.5-4h5a1 1 0 011 1v11h-6V10z",fill:"currentColor",fillRule:"evenodd"})});i();var Tg=require("react/jsx-runtime"),sx=e=>(0,Tg.jsx)("svg",{...e,children:(0,Tg.jsx)("path",{d:"m17.2519 13.3364-3.0265-11.67337c-.0339-.00525-.0679-.01016-.102-.01475-2.9405-.39243-6.71014-.39244-8.53416-.21004-2.95711.29848-2.5315 2.75261-2.5315 2.75261-1.58081 1.62503-.6467 3.6425-.6467 3.6425-2.023 2.24965-.4643 3.95755-.4643 3.95755-1.835066 1.6858-.45876 3.5817 1.111 3.7144 1.19943.105 4.08468.0663 5.3836.0442.33164-.0055.58591.2985.5251.6246-.87331 4.9193 1.00597 8.1196 3.03446 7.8045 1.0853-.1713 1.0845-1.7357 1.0838-3.0809-.0003-.6075-.0006-1.1702.0991-1.5399.3316-1.2326 1.614-2.9405 2.9295-4.444.4315-.4931.8118-1.0216 1.1386-1.5774zm-1.9146-11.36956c.0096.00386.0193.00776.0289.01168-.015-.10585-.0277-.20524-.0379-.29704-.0884-.818045.0608-.912012 1.4979-1.298924 1.4371-.38691271 1.8185-.4864 2.1004-.270833.1495.114118.2991.595245.4945 1.223977.079.25439.1656.53295.2627.82114.3372 1.00044 2.0341 7.87086 2.2054 9.24716.0154.1205.0372.2305.0575.3323.1255.6317.1892.952-1.7433 1.547-1.043.3216-1.5483.4667-1.8348.3757z",fill:"currentColor"})});i();var Ag=require("react/jsx-runtime"),ux=e=>(0,Ag.jsx)("svg",{...e,children:(0,Ag.jsx)("path",{d:"m5.81817 10.6635 3.02644 11.6734c.0339.0053.06791.0102.10202.0148 2.94057.3924 6.71017.3924 8.53417.21 2.9571-.2985 2.5315-2.7526 2.5315-2.7526 1.5808-1.625.6467-3.6425.6467-3.6425 2.023-2.2496.4643-3.9576.4643-3.9576 1.8351-1.6858.4588-3.58165-1.111-3.71431-1.1994-.10502-4.0847-.06633-5.3836-.04422-.3316.00553-.5859-.29848-.5251-.62459.8733-4.91931-1.006-8.119626-3.0345-7.8045688-1.08524.1713558-1.08442 1.7357188-1.08372 3.0809688.00032.60744.00061 1.1702-.09912 1.53987-.33164 1.23259-1.61397 2.94053-2.92947 4.44396-.43149.49313-.81189 1.02159-1.13862 1.57739zm1.91462 11.3696c-.00967-.0038-.01932-.0077-.02895-.0117.01497.1059.02772.2053.03792.2971.08843.818-.06082.912-1.49792 1.2989s-1.81848.4864-2.10037.2708c-.14954-.1141-.29907-.5952-.49448-1.2239-.07906-.2544-.16564-.533-.26276-.8212-.33717-1.0004-2.03406-7.8709-2.20541-9.2472-.01535-.1205-.0372-.2304-.05744-.3323-.12554-.6316-.189207-.952 1.74328-1.547 1.04301-.3216 1.54824-.4667 1.83482-.3757z",fill:"currentColor"})});i();var Rg=require("react/jsx-runtime"),lx=e=>(0,Rg.jsx)("svg",{...e,children:(0,Rg.jsx)("path",{d:"m20.2254 20.7499h-16.26331c-.7475 0-1.30834-.37-1.6825-.9258-.37334-.5559-.37334-1.2967 0-1.8517l8.03831-13.88917c.7484-1.11083 2.8042-1.11083 3.365 0l8.0375 13.88917c.3734.555.3734 1.2958 0 1.8517-.3741.5558-.935.9258-1.4958.9258zm-12.89831-3.7033h9.71921l-5.0459-8.33337-4.67248 8.33337z",fill:"currentColor"})});i();var Fg=require("react/jsx-runtime"),cx=e=>(0,Fg.jsx)("svg",{...e,children:(0,Fg.jsx)("path",{d:"m16.2028 20.4397c1.8016-.6674 3.3424-1.8936 4.3969-3.4997 1.0545-1.6059 1.5675-3.5072 1.4639-5.4256-.1037-1.91847-.8185-3.7534-2.04-5.23636s-2.8854-2.53613-4.7486-3.00542c-1.863-.46929-3.8273-.33007-5.60553.39728-1.77825.72735-3.27706 2.00467-4.27719 3.64507-.74181 1.21674-1.18038 2.58587-1.28892 3.99293l-.64191-.536c-.63589-.531-1.58182-.4459-2.11279.1899-.530981.6359-.44593 1.5819.18996 2.1128l2.99601 2.5018c.55666.4648 1.36615.4648 1.92282 0l2.99601-2.5018c.63594-.5309.72094-1.4769.18997-2.1128-.53098-.6358-1.47691-.7209-2.11281-.1899l-.385.3215c.11931-.7805.39223-1.53458.80815-2.21675.66674-1.0936 1.66595-1.94515 2.85143-2.43006 1.1855-.4849 2.4951-.57771 3.7371-.26485 1.242.31287 2.3514 1.01497 3.1657 2.00362.8142.98864 1.2909 2.21194 1.3599 3.49094.0692 1.2789-.2728 2.5464-.9759 3.617-.703 1.0707-1.7302 1.8882-2.9313 2.3331-1.201.4449-2.513.4938-3.7438.1394-.7961-.2291-1.62728.2304-1.85645 1.0266-.22918.796.2304 1.6272 1.02645 1.8564 1.8463.5314 3.8142.4582 5.6159-.2091z",fill:"currentColor"})});i();var Bg=require("react/jsx-runtime"),fx=e=>(0,Bg.jsx)("svg",{...e,children:(0,Bg.jsx)("path",{clipRule:"evenodd",d:"m18.4 8.86859h-.3298c.1092-2.46877-1.1518-4.89701-3.4269-6.11864-2.6473-1.42146-5.82043-.75428-7.72874 1.42683-.59024.67464-.27474 1.6864.50816 2.10678.78292.42037 1.74028.0553 2.47566-.44737.94172-.64368 2.18772-.75397 3.26102-.1777 1.1838.63567 1.8185 1.92477 1.7035 3.2101h-9.26289c-.88367 0-1.60001.73488-1.60001 1.64141v9.8486c0 .9065.71634 1.6414 1.60001 1.6414h12.79999c.8837 0 1.6-.7349 1.6-1.6414v-9.8486c0-.90653-.7163-1.64141-1.6-1.64141zm-6.4 9.84861c1.7674 0 3.2-1.4698 3.2-3.2829s-1.4326-3.2828-3.2-3.2828c-1.7673 0-3.19998 1.4697-3.19998 3.2828s1.43268 3.2829 3.19998 3.2829z",fill:"currentColor",fillRule:"evenodd"})});i();var Og=require("react/jsx-runtime"),px=e=>(0,Og.jsx)("svg",{...e,children:(0,Og.jsx)("path",{d:"m15.4036 20.3766c0 .8975-.7301 1.625-1.6307 1.625h-3.2614c-.9006 0-1.63067-.7275-1.63067-1.625l.07361-5.3782h-2.17666c-1.50644 0-2.20732-1.8615-1.07251-2.849l5.43783-4.73245c.6145-.53462 1.5309-.53462 2.1453 0l5.438 4.73245c1.1347.9875.4338 2.849-1.0727 2.849h-2.1765zm4.9657-15.12818c.9006 0 1.6307-.72751 1.6307-1.625s-.7301-1.625-1.6307-1.625h-16.73859c-.90064 0-1.63071.72751-1.63071 1.625s.73007 1.625 1.63071 1.625z",fill:"currentColor"})});i();var Mg=require("react/jsx-runtime"),dx=e=>(0,Mg.jsx)("svg",{...e,children:(0,Mg.jsx)("path",{d:"m11.9795 11.586c5.5082.0762 6.1048-5.99821 3.1455-8.47622-2.0947-1.75393-5.74531-1.37583-7.21932.75941s-1.43432 7.64051 4.07382 7.71681zm-9.91151 9.511c.04238.425.50422.7755 1.01871.7622l17.7118.1408c.6229.0035 1.1358-.382 1.161-.843.1556-1.6495-.1357-3.3218-.8998-4.7419-1.8017-3.4404-12.22326-5.5665-16.7581-1.992-2.15941 1.711-2.47302 4.4518-2.23361 6.6739z",fill:"currentColor"})});i();var Ig=require("react/jsx-runtime"),mx=e=>(0,Ig.jsx)("svg",{...e,children:(0,Ig.jsx)("path",{d:"m18.9737 7.86457c1.8137 1.68881 3.0919 3.22143 3.0237 4.17933.0942 1.3301-2.3864 3.6597-4.787 5.4039-3.6869 2.679-9.13851 1.4637-12.1841-1.3722-1.81366-1.6888-3.0919-3.2215-3.0237-4.1793-.09423-1.3301 2.38644-3.65971 4.78695-5.40395 3.68695-2.67898 9.13855-1.46365 12.18415 1.37222zm-4.5254.78409c-1.8472-1.58151-5.06662-1.24058-6.36652.68474-1.29991 1.9253-1.26491 6.8893 3.59262 6.9581 4.8576.0688 5.3837-5.4084 2.7739-7.64284zm-2.7724 5.79044c2.8097.0393 3.1141-3.09 1.6045-4.3666-1.0685-.90364-2.9307-.70885-3.68257.3912-.7519 1.1-.73165 3.9362 2.07807 3.9754z",fill:"currentColor"})});i();var kg=require("react/jsx-runtime"),hx=e=>(0,kg.jsx)("svg",{...e,children:(0,kg.jsx)("path",{d:"m14.48 4.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67583.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm5 1.25c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23s1.23.55333 1.23 1.23v.04c0 .67667-.5525 1.23-1.23 1.23zm.0583 3.73083v-.03916c0-.6775.5542-1.23084 1.23-1.23084.6775 0 1.2317.55334 1.2317 1.23084v.03916c0 .67587-.5542 1.22997-1.2317 1.22997-.6758 0-1.23-.5541-1.23-1.22997zm-.0583 3.76917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6767-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6767.5525-1.23 1.23-1.23zm-9.96083-7.5c-.6775 0-1.23-.55333-1.23-1.23v-.04c0-.67667.5525-1.23 1.23-1.23.67753 0 1.23003.55333 1.23003 1.23v.04c0 .67667-.5525 1.23-1.23003 1.23zm-.01917 3.73083v.03834c0 .67663-.55417 1.23163-1.23 1.23163-.6775 0-1.23167-.555-1.23167-1.23163v-.03834c0-.6775.55417-1.23 1.23167-1.23.67583-.00083 1.23.5525 1.23 1.23zm4.98 5.01917c.6775 0 1.23.5542 1.23 1.23v.04c0 .6758-.5525 1.23-1.23 1.23s-1.23-.5542-1.23-1.23v-.04c0-.6758.5525-1.23 1.23-1.23zm-1.23-5c0 .6883.5608 1.25 1.25 1.25.6883 0 1.25-.5617 1.25-1.25 0-.69-.5617-1.25-1.25-1.25-.6892 0-1.25.56-1.25 1.25zm-10.885 12.135c-.48667-.4867-.48667-1.2817 0-1.7675l8.76-8.76c-.2333-.4892-.375-1.03-.375-1.6075 0-2.07167 1.6783-3.75 3.75-3.75 2.0708 0 3.75 1.67833 3.75 3.75 0 2.0717-1.6792 3.75-3.75 3.75-.5775 0-1.1192-.1417-1.6083-.375l-8.75837 8.76c-.2425.2425-.56416.365-.88333.365-.32083 0-.64167-.1225-.88417-.365z",fill:"currentColor"})});i();var Ng=require("react/jsx-runtime"),gx=e=>(0,Ng.jsx)("svg",{...e,children:(0,Ng.jsx)("path",{d:"m4.34613 4.96934c4.1006-4.848919 14.15257-3.87134 14.02637 5.15386-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1897-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.2231-3.53338-2.4152-3.42617-8.20463-.52374-11.63676zm4.93672 1.64027c0-.55228.44772-1 1.00005-1 .5522 0 1 .44772 1 1v2.43714h2.437c.5523 0 1 .44771 1 .99995 0 .5523-.4477 1-1 1h-2.437v2.4371c0 .5523-.4478 1-1 1-.55233 0-1.00005-.4477-1.00005-1v-2.4371h-2.4371c-.55229 0-1-.4477-1-1 0-.55224.44771-.99995 1-.99995h2.4371z",fill:"currentColor",fillRule:"evenodd"})});i();var Vg=require("react/jsx-runtime"),vx=e=>(0,Vg.jsx)("svg",{...e,children:(0,Vg.jsx)("path",{d:"m4.34613 4.96934c4.10059-4.848919 14.15257-3.87134 14.02637 5.15386-.0251 1.7929-.4336 3.2246-1.0999 4.3489 1.4827 1.707 4.4974 5.2485 4.5332 5.8655.0475.8186-.696 1.5695-1.6161 1.576-.6833.0048-3.0833-2.6413-4.7621-4.4923-.1898-.2092-.3703-.4082-.538-.5921-3.2216 1.8911-7.83109 1.273-10.01973-.2231-3.53339-2.4152-3.42617-8.20463-.52374-11.63676zm1.49962 5.07736c0 .5523.44771 1 1 1h6.87415c.5523 0 1-.4477 1-1 0-.55224-.4477-.99995-1-.99995h-6.87415c-.55229 0-1 .44771-1 .99995z",fill:"currentColor"})});var yx=require("react/jsx-runtime"),Ol={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Pe=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if((0,Kp.isNil)(n))throw new Error("An Icon component requires a `type` prop to be provided");if((0,Kp.isNil)(qh[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if((0,Kp.isNil)(Ol[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=Lg[qh[n]],s={verticalAlign:"middle",...r};return(0,yx.jsx)(a,{"aria-hidden":"true",color:e,height:`${Ol[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${Ol[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Pe.displayName="Icon_VHS";var er=require("react/jsx-runtime"),XL=Ml.default.span`
|
|
109
109
|
display: flex;
|
|
110
110
|
justify-content: ${({textAlign:e})=>e==="left"?"start":e==="right"?"end":"center"};
|
|
111
111
|
position: absolute;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
max-height: ${({size:e})=>e};
|
|
131
131
|
max-width: ${({size:e})=>e};
|
|
132
132
|
}
|
|
133
|
-
`,
|
|
133
|
+
`,bx=Object.freeze({lg:"md",md:"md",sm:"sm"}),QL={lg:"16px",md:"16px",sm:"12px"},qp=({children:e,icon:t,iconName:r,iconPosition:n,isLoading:o,size:a,textAlign:s})=>{let u=()=>{if((0,Ps.isNotNil)(t)&&(0,Ps.isNotNil)(r))throw new Error("Do not use both icon and iconName props. If you are using a VHS icon, pass its type as a string to iconName. If you are using a custom icon, pass it as a component to the icon prop. ");return(0,Ps.isNotNil)(t)?(0,er.jsx)(ZL,{"data-testid":"icon-container",size:QL[a],children:t}):(0,Ps.isNotNil)(r)?(0,er.jsx)(Pe,{"data-testid":"iconName-icon",size:bx[a],type:r}):null};return(0,er.jsxs)(er.Fragment,{children:[o?(0,er.jsxs)(XL,{"data-testid":"button-content-loading",textAlign:s,children:[(0,er.jsx)(ol,{"aria-live":"assertive",message:"Button has been disabled while action is in progress"}),(0,er.jsx)(Pe,{size:bx[a],type:"spinner"})]}):null,(0,er.jsxs)(YL,{iconPosition:n,isLoading:o,size:a,children:[(0,er.jsx)(er.Fragment,{children:u()}),(0,Ps.isNotNil)(e)?(0,er.jsx)(JL,{"data-testid":"button-content-label",textAlign:s,children:e}):null]})]})};i();var Ke=A(require("styled-components"));var Cx="0.04",xx="0.08",wx=.9,Sx=.8,Yo=Ke.css`
|
|
134
134
|
align-items: center;
|
|
135
135
|
background-color: transparent;
|
|
136
136
|
background-image: none;
|
|
@@ -171,13 +171,13 @@
|
|
|
171
171
|
&[aria-disabled] {
|
|
172
172
|
cursor: not-allowed;
|
|
173
173
|
}
|
|
174
|
+
`,Dx=Ke.css`
|
|
175
|
+
background-color: ${({buttonColor:e})=>Je(Cx,e)};
|
|
176
|
+
border-color: ${({buttonColor:e})=>Je(Cx,e)};
|
|
174
177
|
`,Ex=Ke.css`
|
|
175
178
|
background-color: ${({buttonColor:e})=>Je(xx,e)};
|
|
176
179
|
border-color: ${({buttonColor:e})=>Je(xx,e)};
|
|
177
180
|
`,Px=Ke.css`
|
|
178
|
-
background-color: ${({buttonColor:e})=>Je(wx,e)};
|
|
179
|
-
border-color: ${({buttonColor:e})=>Je(wx,e)};
|
|
180
|
-
`,Tx=Ke.css`
|
|
181
181
|
box-shadow: inset 0 0 0 1px white;
|
|
182
182
|
`,e$=Ke.css`
|
|
183
183
|
background-color: ${({buttonColor:e})=>e};
|
|
@@ -185,21 +185,21 @@
|
|
|
185
185
|
color: white;
|
|
186
186
|
|
|
187
187
|
&:focus-visible {
|
|
188
|
-
${
|
|
188
|
+
${Px}
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
&:hover:not([aria-disabled]) {
|
|
192
|
-
${
|
|
192
|
+
${Dx}
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
&:active:not([aria-disabled]) {
|
|
196
|
-
${
|
|
196
|
+
${Ex}
|
|
197
197
|
}
|
|
198
|
+
`,Tx=Ke.css`
|
|
199
|
+
background-color: ${({buttonColor:e})=>qt(wx,e)};
|
|
198
200
|
`,Ax=Ke.css`
|
|
199
201
|
background-color: ${({buttonColor:e})=>qt(Sx,e)};
|
|
200
202
|
`,Rx=Ke.css`
|
|
201
|
-
background-color: ${({buttonColor:e})=>qt(Dx,e)};
|
|
202
|
-
`,Fx=Ke.css`
|
|
203
203
|
box-shadow:
|
|
204
204
|
inset 0 0 0 1px white,
|
|
205
205
|
inset 0 0 0 2px ${({buttonColor:e})=>e};
|
|
@@ -209,21 +209,21 @@
|
|
|
209
209
|
color: ${({buttonColor:e})=>e};
|
|
210
210
|
|
|
211
211
|
&:focus-visible {
|
|
212
|
-
${
|
|
212
|
+
${Rx}
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
&:hover:not([aria-disabled]) {
|
|
216
|
-
${
|
|
216
|
+
${Tx}
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
&:active:not([aria-disabled]) {
|
|
220
|
-
${
|
|
220
|
+
${Ax}
|
|
221
221
|
}
|
|
222
|
+
`,Fx=Ke.css`
|
|
223
|
+
background-color: ${({buttonColor:e})=>qt(wx,e)};
|
|
222
224
|
`,Bx=Ke.css`
|
|
223
225
|
background-color: ${({buttonColor:e})=>qt(Sx,e)};
|
|
224
226
|
`,Ox=Ke.css`
|
|
225
|
-
background-color: ${({buttonColor:e})=>qt(Dx,e)};
|
|
226
|
-
`,Mx=Ke.css`
|
|
227
227
|
border-color: ${({buttonColor:e})=>e};
|
|
228
228
|
box-shadow:
|
|
229
229
|
inset 0 0 0 1px white,
|
|
@@ -234,15 +234,15 @@
|
|
|
234
234
|
color: ${({buttonColor:e})=>e};
|
|
235
235
|
|
|
236
236
|
&:focus-visible {
|
|
237
|
-
${
|
|
237
|
+
${Ox}
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
&:hover:not([aria-disabled]) {
|
|
241
|
-
${
|
|
241
|
+
${Fx}
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
&:active:not([aria-disabled]) {
|
|
245
|
-
${
|
|
245
|
+
${Bx}
|
|
246
246
|
}
|
|
247
247
|
`,n$=Ke.css`
|
|
248
248
|
border-radius: 0;
|
|
@@ -286,14 +286,14 @@
|
|
|
286
286
|
${({variant:e})=>{if(e==="primary"||e==="dangerous")return e$;if(e==="secondary")return t$;if(e==="tertiary")return r$}}
|
|
287
287
|
|
|
288
288
|
/* primarily used for documentation/debugging */
|
|
289
|
-
${({variant:e,forceState:t})=>{if(e==="primary"||e==="dangerous"){if(t==="hover")return
|
|
289
|
+
${({variant:e,forceState:t})=>{if(e==="primary"||e==="dangerous"){if(t==="hover")return Dx;if(t==="active")return Ex;if(t==="focus")return Px}if(e==="secondary"){if(t==="hover")return Tx;if(t==="active")return Ax;if(t==="focus")return Rx}if(e==="tertiary"){if(t==="hover")return Fx;if(t==="active")return Bx;if(t==="focus")return Ox}}}
|
|
290
290
|
|
|
291
291
|
${({size:e})=>{if(e==="lg")return o$;if(e==="md")return i$;if(e==="sm")return a$}}
|
|
292
292
|
|
|
293
293
|
${({fullWidth:e})=>{if(e)return s$}}
|
|
294
|
-
`,
|
|
294
|
+
`,Mx=Ke.default.button`
|
|
295
295
|
${({noStyle:e})=>e?Yo:zg}
|
|
296
|
-
`;i();var
|
|
296
|
+
`;i();var Ix=A(ee()),Xp=(e,t,r)=>(0,Ix.isNonEmptyString)(e)?e:t==="primary"?r.brandBlue500:t==="secondary"||t==="tertiary"?r.grey900:t==="dangerous"?r.red600:r.brandBlue500;var Hg=require("react/jsx-runtime"),Qe=(0,kx.forwardRef)(({children:e,disabled:t=!1,forceState:r,colorOverride:n,fullWidth:o=!1,icon:a,iconName:s,iconPosition:u="start",label:l,labelWrap:c=!1,isLoading:p=!1,noStyle:d=!1,onClick:h,size:g="lg",square:v=!1,textAlign:m="center",type:b="button",variant:y="primary",...x},w)=>{let S=()=>p||t,E=F=>{if(S()){F.preventDefault();return}(0,Yp.isNotNil)(h)&&h(F)},D=Xp(n,y,Be()),P=()=>(0,Yp.isNotNil)(e)?e:(0,Yp.isNotNil)(l)?l:null;return(0,Hg.jsx)(Mx,{ref:w,"aria-disabled":S()||void 0,buttonColor:D,disabled:!1,forceState:r,fullWidth:o,iconPosition:u,isLoading:p,labelWrap:c,noStyle:d,onClick:E,size:g,square:v,textAlign:m,type:b,variant:y,...x,children:(0,Hg.jsx)(qp,{icon:a,iconName:s,iconPosition:u,isLoading:p,size:g,textAlign:m,children:P()})})});Qe.displayName="Button_VHS";i();var Nx=()=>typeof window>"u"||typeof document>"u";var Jo=require("react/jsx-runtime"),u$=["success","warning","error","dangerous"],jg="success",_g="Dismiss",Wg=3e3,l$=(e,t,r)=>{if((0,Lx.isNonEmptyString)(e))return e;if(!u$.includes(t))throw new Error(`Variant "${t}" not supported, please update variant prop in Toast component.`);return t==="dangerous"||t==="error"?r.error600:t==="warning"?r.warning500:r.brandBlue500},c$=Gg.default.div`
|
|
297
297
|
align-items: center;
|
|
298
298
|
background: white;
|
|
299
299
|
border-left-color: ${({accentColor:e})=>e};
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
> * {
|
|
315
315
|
margin: 0;
|
|
316
316
|
}
|
|
317
|
-
`,p$=({children:e})=>{if(
|
|
317
|
+
`,p$=({children:e})=>{if(Nx())return null;let t=document.getElementById("toast-portal");return t?(0,Vx.createPortal)(e,t):null},Il=null,kl=(0,Qr.memo)(({actionInterceptor:e=void 0,actionLabel:t=_g,colorOverride:r=void 0,renderInPlace:n=!1,isOpen:o=!1,message:a,onClose:s,timeout:u=Wg,variant:l=jg,...c})=>{let[p,d]=(0,Qr.useState)(o),g=l==="error"||l==="warning"?"assertive":"polite",v=(0,Qr.useCallback)(()=>{clearTimeout(Il??void 0),Il=null},[]),m=()=>{v(),s()},b=()=>{Il=setTimeout(()=>{m()},u)};(0,Qr.useEffect)(()=>(p&&!n&&b(),()=>{_n(Il)&&v()})),(0,Qr.useEffect)(()=>(d(o),()=>{_n(Il)&&v()}),[o,v,d]);let y=l$(r,l,Be());return(0,Jo.jsx)(n?Qr.Fragment:p$,{children:(0,Jo.jsx)(xb,{in:p,renderInPlace:n,children:(0,Jo.jsxs)(c$,{accentColor:y,"aria-hidden":!p,onMouseEnter:v,onMouseLeave:b,renderInPlace:n,...c,children:[(0,Jo.jsxs)(f$,{"data-testid":"toast-message",children:[(0,Jo.jsx)(ol,{"aria-live":g,message:a}),a]}),(0,Jo.jsx)(Qe,{colorOverride:y,"data-testid":"toast-action",label:t,onClick:e??m,variant:"tertiary"})]},a)})})});kl.displayName="Toast_VHS";i();var $x=require("react"),Jp=(0,$x.createContext)(null);var Zo=require("react/jsx-runtime"),Zp=({children:e})=>{let[t,r]=(0,bn.useState)(void 0),[n,o]=(0,bn.useState)(""),[a,s]=(0,bn.useState)(void 0),[u,l]=(0,bn.useState)(""),[c,p]=(0,bn.useState)(!1),[d,h]=(0,bn.useState)(void 0),[g,v]=(0,bn.useState)(void 0),m=(0,bn.useCallback)(({message:b,variant:y=jg,actionLabel:x=_g,actionInterceptor:w,timeout:S=Wg,colorOverride:E})=>{r(w?()=>w:void 0),o(x),s(E),l(b),p(!0),h(S),v(y)},[]);return(0,Zo.jsxs)(Zo.Fragment,{children:[(0,Zo.jsx)(Jp.Provider,{value:m,children:e}),(0,Zo.jsx)(kl,{actionInterceptor:t,actionLabel:n,colorOverride:a,isOpen:c,message:u,onClose:()=>p(!1),timeout:d,variant:g}),(0,Zo.jsx)("div",{id:"toast-portal"})]})};i();var en=require("react"),qg=A(ee());i();var Qp=require("react"),Ug=(0,Qp.createContext)({}),Kg=()=>(0,Qp.useContext)(Ug);var zx=require("react/jsx-runtime"),ed=({children:e})=>{let r=(0,en.useRef)(new Set).current,n=(0,en.useCallback)(p=>r.values().next().value===p,[r]),o=(0,en.useCallback)(()=>{let p=r.values().next().value;(0,qg.isFunction)(p)&&p(!0)},[r]),a=(0,en.useCallback)(()=>{let p=r.values().next().value;(0,qg.isFunction)(p)&&p(!1)},[r]),s=(0,en.useCallback)(p=>{r.add(p),n(p)&&o()},[r,n,o]),u=(0,en.useCallback)(p=>{r.add(p),n(p)?(a(),r.delete(p),o()):r.delete(p)},[r,n,a,o]),l=(0,en.useCallback)(p=>{r.delete(p)},[r]),c=(0,en.useMemo)(()=>({attemptShowModal:s,attemptHideModal:u,removeModalFromQueue:l}),[s,u,l]);return(0,zx.jsx)(Ug.Provider,{value:c,children:e})};i();var Wx=require("styled-components");i();var Hx=require("styled-components"),Gx=Hx.css`
|
|
318
318
|
/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
319
319
|
|
|
320
320
|
/* Document
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
[hidden] {
|
|
669
669
|
display: none;
|
|
670
670
|
}
|
|
671
|
-
`;i();var
|
|
671
|
+
`;i();var jx=require("styled-components"),_x=jx.css`
|
|
672
672
|
/**
|
|
673
673
|
* 1. Change from 'content-box' so that 'width' calculations are unaffected by 'padding' or 'border'
|
|
674
674
|
* 2. Ensure the iOS tap highlight is transparent
|
|
@@ -702,18 +702,18 @@
|
|
|
702
702
|
line-height: 1.5;
|
|
703
703
|
min-height: 100vh; /* 3 */
|
|
704
704
|
}
|
|
705
|
-
`;var
|
|
706
|
-
${
|
|
707
|
-
${
|
|
708
|
-
`;var Qo=require("react/jsx-runtime"),d$=({children:e,theme:t={},globalStylesIncluded:r=!0,skipAnimations:n=!1,Link:o})=>(n&&(Wn.skipAnimations=!0),(0,Qo.jsxs)(gb,{theme:t,children:[r?(0,Qo.jsx)(Kx,{}):null,(0,Qo.jsx)(_0,{children:(0,Qo.jsx)(Cb,{value:{Link:o},children:(0,Qo.jsx)(ed,{children:(0,Qo.jsx)(Zp,{children:e})})})})]}));i();i();var Ts=require("react"),td=(e=!1)=>{let[t,r]=(0,Ts.useState)(e),n=(0,Ts.useCallback)(()=>r(s=>!s),[]),o=(0,Ts.useCallback)(()=>r(!0),[]),a=(0,Ts.useCallback)(()=>r(!1),[]);return[t,n,o,a,r]};i();i();var qx=require("react");i();i();var Zi=require("react"),rd=e=>{let[t,r]=(0,Zi.useState)(!1),n=(0,Zi.useRef)(),o=(0,Zi.useRef)(e),a=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return(0,Zi.useEffect)(()=>()=>clearTimeout(n.current),[]),[t,a]};var Xx=(e,t=1500)=>{let[r,n]=rd(!1),[o,a]=rd(!1);return[(0,qx.useCallback)(async()=>{try{await za(e),t&&t>0&&n(t)}catch(u){u instanceof Error&&a(t)}},[e,t,n,a]),r,o]};i();i();var ei=require("react"),m$={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},nd=()=>{let e=(0,ei.useRef)(null),[t,r]=(0,ei.useState)(m$),n=(0,ei.useMemo)(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:a,height:s,top:u,left:l,bottom:c,right:p,x:d,y:h}=o[0].contentRect;r({width:a,height:s,top:u,left:l,bottom:c,right:p,x:d,y:h})}}),[]);return(0,ei.useLayoutEffect)(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};i();i();var Qi=require("react"),h$=e=>!!(typeof e=="object"&&e?.addEventListener),od=(e,t,r=window,n={})=>{let o=(0,Qi.useRef)(),a=(0,Qi.useRef)();(0,Qi.useEffect)(()=>{o.current=t},[t]),(0,Qi.useEffect)(()=>{a.current=n},[n]),(0,Qi.useEffect)(()=>{if(!e||!h$(r))return;let s=u=>o.current!==void 0?o.current(u):()=>{};return r.addEventListener(e,s,a.current),()=>{r.removeEventListener(e,s,a.current)}},[e,r,a])};i();i();var ea=require("react"),uw=A(ee());i();var Yg='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex="0"], [contenteditable]',g$=e=>{let{display:t,visibility:r}=window.getComputedStyle(e),n=t==="none"||e.style.display==="none"||r==="none"||e.style.visibility==="hidden";return e.offsetWidth<=0&&e.offsetHeight<=0||n},v$=e=>{let t=e;for(;t&&t!==document.body;){if(g$(t))return!1;t=t.parentNode}return!0},Yx=e=>{let t=e.getAttribute("tabindex");return Number.parseInt(t??void 0,10)},Jx=e=>{let t=Yx(e);return Number.isNaN(t)},id=e=>{let t=/input|select|textarea|button|object/,r=e.nodeName.toLowerCase(),n=!Jx(e);return!!(t.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&v$(e)},Jg=e=>{let t=Yx(e);return(Jx(e)||t>=0)&&id(e)},Zx=e=>Array.from(e.querySelectorAll(Yg)).filter(Jg),Qx=[],As=null,Xg=!1,ew=()=>{Xg=!0},tw=()=>{if(Xg){if(Xg=!1,!As||As.contains(document.activeElement))return;(Zx(As)[0]??As).focus()}},rw=()=>{let e=document.activeElement;e!==null&&Qx.push(e)},nw=()=>{let e=null;try{e=Qx.pop(),e&&e.focus()}catch{console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},ow=e=>{As=e,document.addEventListener("focusout",ew,!1),document.addEventListener("focusin",tw,!0)},iw=()=>{As=null,document.removeEventListener("focusout",ew),document.removeEventListener("focusin",tw)},aw=(e,t)=>{let r=Zx(e);if(!r.length){t.preventDefault();return}if(!(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement))return;t.preventDefault();let a=r[t.shiftKey?r.length-1:0];a&&a.focus()},sw=(e,t)=>{t===void 0&&(t="body > :not(script)");let r=Array.from(document.querySelectorAll(t)).map(n=>{if(n.contains(e))return;let o=n.getAttribute("aria-hidden");return(o===null||o==="false")&&n.setAttribute("aria-hidden","true"),{node:n,ariaHidden:o}});return()=>{r.forEach(n=>{n&&(n.ariaHidden===null?n.node.removeAttribute("aria-hidden"):n.node.setAttribute("aria-hidden",n.ariaHidden))})}};var ad=(e=!0,t={})=>{let r=(0,ea.useRef)(null),n=(0,ea.useRef)(null),o=(0,ea.useCallback)(a=>{if(n.current!==null&&n.current(),r.current&&(nw(),iw()),e&&a!==null&&a!==void 0){ow(a),rw();let s=u=>{n.current=t.disableAriaHider??!1?null:sw(u);let l=null;if((0,uw.isNotUndefined)(t.focusSelector)&&(l=typeof t.focusSelector=="string"?u.querySelector(t.focusSelector):t.focusSelector),!l){let c=Array.from(u.querySelectorAll(Yg));l=c.find(Jg)??c.find(id)??null,!l&&id(u)&&(l=u)}l&&l.focus()};setTimeout(()=>{a.ownerDocument&&s(a),a.ownerDocument}),r.current=a}else r.current=null},[e,t.focusSelector,t.disableAriaHider]);return(0,ea.useEffect)(()=>{if(!e)return;let a=s=>{s.key==="Tab"&&r.current&&aw(r.current,s)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[e]),o};i();i();var sd=require("react"),lw=()=>{let[,e]=(0,sd.useState)(Object.create(null));return(0,sd.useCallback)(()=>{e(Object.create(null))},[e])};i();i();i();var y$=function(t){return b$(t)&&!C$(t)};function b$(e){return!!e&&typeof e=="object"}function C$(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||S$(e)}var x$=typeof Symbol=="function"&&Symbol.for,w$=x$?Symbol.for("react.element"):60103;function S$(e){return e.$$typeof===w$}function D$(e){return Array.isArray(e)?[]:{}}function ud(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Nl(D$(e),e,t):e}function E$(e,t,r){return e.concat(t).map(function(n){return ud(n,r)})}function P$(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=ud(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=ud(t[o],r):n[o]=Nl(e[o],t[o],r)}),n}function Nl(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||E$,r.isMergeableObject=r.isMergeableObject||y$;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):P$(e,t,r):ud(t,r)}Nl.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Nl(n,o,r)},{})};var T$=Nl,ld=T$;i();i();i();i();i();var A$=typeof window=="object"&&window&&window.Object===Object&&window,cd=A$;var R$=typeof self=="object"&&self&&self.Object===Object&&self,F$=cd||R$||Function("return this")(),ot=F$;var B$=ot.Symbol,Fr=B$;i();var cw=Object.prototype,O$=cw.hasOwnProperty,M$=cw.toString,Vl=Fr?Fr.toStringTag:void 0;function I$(e){var t=O$.call(e,Vl),r=e[Vl];try{e[Vl]=void 0;var n=!0}catch{}var o=M$.call(e);return n&&(t?e[Vl]=r:delete e[Vl]),o}var fw=I$;i();var k$=Object.prototype,N$=k$.toString;function V$(e){return N$.call(e)}var pw=V$;var L$="[object Null]",$$="[object Undefined]",dw=Fr?Fr.toStringTag:void 0;function z$(e){return e==null?e===void 0?$$:L$:dw&&dw in Object(e)?fw(e):pw(e)}var wr=z$;i();i();function H$(e,t){return function(r){return e(t(r))}}var fd=H$;var G$=fd(Object.getPrototypeOf,Object),Rs=G$;i();function j$(e){return e!=null&&typeof e=="object"}var tr=j$;var _$="[object Object]",W$=Function.prototype,U$=Object.prototype,mw=W$.toString,K$=U$.hasOwnProperty,q$=mw.call(Object);function X$(e){if(!tr(e)||wr(e)!=_$)return!1;var t=Rs(e);if(t===null)return!0;var r=K$.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&mw.call(r)==q$}var Zg=X$;i();i();i();i();i();function Y$(){this.__data__=[],this.size=0}var hw=Y$;i();i();i();function J$(e,t){return e===t||e!==e&&t!==t}var pd=J$;function Z$(e,t){for(var r=e.length;r--;)if(pd(e[r][0],t))return r;return-1}var ti=Z$;var Q$=Array.prototype,ez=Q$.splice;function tz(e){var t=this.__data__,r=ti(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ez.call(t,r,1),--this.size,!0}var gw=tz;i();function rz(e){var t=this.__data__,r=ti(t,e);return r<0?void 0:t[r][1]}var vw=rz;i();function nz(e){return ti(this.__data__,e)>-1}var yw=nz;i();function oz(e,t){var r=this.__data__,n=ti(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var bw=oz;function Fs(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Fs.prototype.clear=hw;Fs.prototype.delete=gw;Fs.prototype.get=vw;Fs.prototype.has=yw;Fs.prototype.set=bw;var ri=Fs;i();function iz(){this.__data__=new ri,this.size=0}var Cw=iz;i();function az(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var xw=az;i();function sz(e){return this.__data__.get(e)}var ww=sz;i();function uz(e){return this.__data__.has(e)}var Sw=uz;i();i();i();i();i();i();function lz(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Cn=lz;var cz="[object AsyncFunction]",fz="[object Function]",pz="[object GeneratorFunction]",dz="[object Proxy]";function mz(e){if(!Cn(e))return!1;var t=wr(e);return t==fz||t==pz||t==cz||t==dz}var dd=mz;i();i();var hz=ot["__core-js_shared__"],md=hz;var Dw=function(){var e=/[^.]+$/.exec(md&&md.keys&&md.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function gz(e){return!!Dw&&Dw in e}var Ew=gz;i();var vz=Function.prototype,yz=vz.toString;function bz(e){if(e!=null){try{return yz.call(e)}catch{}try{return e+""}catch{}}return""}var to=bz;var Cz=/[\\^$.*+?()[\]{}|]/g,xz=/^\[object .+?Constructor\]$/,wz=Function.prototype,Sz=Object.prototype,Dz=wz.toString,Ez=Sz.hasOwnProperty,Pz=RegExp("^"+Dz.call(Ez).replace(Cz,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Tz(e){if(!Cn(e)||Ew(e))return!1;var t=dd(e)?Pz:xz;return t.test(to(e))}var Pw=Tz;i();function Az(e,t){return e?.[t]}var Tw=Az;function Rz(e,t){var r=Tw(e,t);return Pw(r)?r:void 0}var rr=Rz;var Fz=rr(ot,"Map"),ni=Fz;i();i();i();i();i();var Bz=rr(Object,"create"),ro=Bz;function Oz(){this.__data__=ro?ro(null):{},this.size=0}var Aw=Oz;i();function Mz(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Rw=Mz;i();var Iz="__lodash_hash_undefined__",kz=Object.prototype,Nz=kz.hasOwnProperty;function Vz(e){var t=this.__data__;if(ro){var r=t[e];return r===Iz?void 0:r}return Nz.call(t,e)?t[e]:void 0}var Fw=Vz;i();var Lz=Object.prototype,$z=Lz.hasOwnProperty;function zz(e){var t=this.__data__;return ro?t[e]!==void 0:$z.call(t,e)}var Bw=zz;i();var Hz="__lodash_hash_undefined__";function Gz(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ro&&t===void 0?Hz:t,this}var Ow=Gz;function Bs(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Bs.prototype.clear=Aw;Bs.prototype.delete=Rw;Bs.prototype.get=Fw;Bs.prototype.has=Bw;Bs.prototype.set=Ow;var Qg=Bs;function jz(){this.size=0,this.__data__={hash:new Qg,map:new(ni||ri),string:new Qg}}var Mw=jz;i();i();i();function _z(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Iw=_z;function Wz(e,t){var r=e.__data__;return Iw(t)?r[typeof t=="string"?"string":"hash"]:r.map}var oi=Wz;function Uz(e){var t=oi(this,e).delete(e);return this.size-=t?1:0,t}var kw=Uz;i();function Kz(e){return oi(this,e).get(e)}var Nw=Kz;i();function qz(e){return oi(this,e).has(e)}var Vw=qz;i();function Xz(e,t){var r=oi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var Lw=Xz;function Os(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Os.prototype.clear=Mw;Os.prototype.delete=kw;Os.prototype.get=Nw;Os.prototype.has=Vw;Os.prototype.set=Lw;var Ll=Os;var Yz=200;function Jz(e,t){var r=this.__data__;if(r instanceof ri){var n=r.__data__;if(!ni||n.length<Yz-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ll(n)}return r.set(e,t),this.size=r.size,this}var $w=Jz;function Ms(e){var t=this.__data__=new ri(e);this.size=t.size}Ms.prototype.clear=Cw;Ms.prototype.delete=xw;Ms.prototype.get=ww;Ms.prototype.has=Sw;Ms.prototype.set=$w;var zw=Ms;i();function Zz(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var Hw=Zz;i();i();i();var Qz=function(){try{var e=rr(Object,"defineProperty");return e({},"",{}),e}catch{}}(),e5=Qz;function eH(e,t,r){t=="__proto__"&&e5?e5(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var hd=eH;var tH=Object.prototype,rH=tH.hasOwnProperty;function nH(e,t,r){var n=e[t];(!(rH.call(e,t)&&pd(n,r))||r===void 0&&!(t in e))&&hd(e,t,r)}var gd=nH;i();i();function oH(e,t,r,n){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var u=t[a],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),o?hd(r,u,l):gd(r,u,l)}return r}var ii=oH;i();i();i();function iH(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Gw=iH;i();i();var aH="[object Arguments]";function sH(e){return tr(e)&&wr(e)==aH}var t5=sH;var jw=Object.prototype,uH=jw.hasOwnProperty,lH=jw.propertyIsEnumerable,cH=t5(function(){return arguments}())?t5:function(e){return tr(e)&&uH.call(e,"callee")&&!lH.call(e,"callee")},_w=cH;i();var fH=Array.isArray,xn=fH;i();i();function pH(){return!1}var Ww=pH;var qw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Uw=qw&&typeof module=="object"&&module&&!module.nodeType&&module,dH=Uw&&Uw.exports===qw,Kw=dH?ot.Buffer:void 0,mH=Kw?Kw.isBuffer:void 0,hH=mH||Ww,vd=hH;i();var gH=9007199254740991,vH=/^(?:0|[1-9]\d*)$/;function yH(e,t){var r=typeof e;return t=t??gH,!!t&&(r=="number"||r!="symbol"&&vH.test(e))&&e>-1&&e%1==0&&e<t}var Xw=yH;i();i();i();var bH=9007199254740991;function CH(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=bH}var yd=CH;var xH="[object Arguments]",wH="[object Array]",SH="[object Boolean]",DH="[object Date]",EH="[object Error]",PH="[object Function]",TH="[object Map]",AH="[object Number]",RH="[object Object]",FH="[object RegExp]",BH="[object Set]",OH="[object String]",MH="[object WeakMap]",IH="[object ArrayBuffer]",kH="[object DataView]",NH="[object Float32Array]",VH="[object Float64Array]",LH="[object Int8Array]",$H="[object Int16Array]",zH="[object Int32Array]",HH="[object Uint8Array]",GH="[object Uint8ClampedArray]",jH="[object Uint16Array]",_H="[object Uint32Array]",ze={};ze[NH]=ze[VH]=ze[LH]=ze[$H]=ze[zH]=ze[HH]=ze[GH]=ze[jH]=ze[_H]=!0;ze[xH]=ze[wH]=ze[IH]=ze[SH]=ze[kH]=ze[DH]=ze[EH]=ze[PH]=ze[TH]=ze[AH]=ze[RH]=ze[FH]=ze[BH]=ze[OH]=ze[MH]=!1;function WH(e){return tr(e)&&yd(e.length)&&!!ze[wr(e)]}var Yw=WH;i();function UH(e){return function(t){return e(t)}}var Is=UH;i();var Jw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$l=Jw&&typeof module=="object"&&module&&!module.nodeType&&module,KH=$l&&$l.exports===Jw,r5=KH&&cd.process,qH=function(){try{var e=$l&&$l.require&&$l.require("util").types;return e||r5&&r5.binding&&r5.binding("util")}catch{}}(),no=qH;var Zw=no&&no.isTypedArray,XH=Zw?Is(Zw):Yw,Qw=XH;var YH=Object.prototype,JH=YH.hasOwnProperty;function ZH(e,t){var r=xn(e),n=!r&&_w(e),o=!r&&!n&&vd(e),a=!r&&!n&&!o&&Qw(e),s=r||n||o||a,u=s?Gw(e.length,String):[],l=u.length;for(var c in e)(t||JH.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Xw(c,l)))&&u.push(c);return u}var bd=ZH;i();i();var QH=Object.prototype;function eG(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||QH;return e===r}var ks=eG;i();var tG=fd(Object.keys,Object),eS=tG;var rG=Object.prototype,nG=rG.hasOwnProperty;function oG(e){if(!ks(e))return eS(e);var t=[];for(var r in Object(e))nG.call(e,r)&&r!="constructor"&&t.push(r);return t}var tS=oG;i();function iG(e){return e!=null&&yd(e.length)&&!dd(e)}var Cd=iG;function aG(e){return Cd(e)?bd(e):tS(e)}var Ns=aG;function sG(e,t){return e&&ii(t,Ns(t),e)}var rS=sG;i();i();i();i();function uG(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var nS=uG;var lG=Object.prototype,cG=lG.hasOwnProperty;function fG(e){if(!Cn(e))return nS(e);var t=ks(e),r=[];for(var n in e)n=="constructor"&&(t||!cG.call(e,n))||r.push(n);return r}var oS=fG;function pG(e){return Cd(e)?bd(e,!0):oS(e)}var Vs=pG;function dG(e,t){return e&&ii(t,Vs(t),e)}var iS=dG;i();var lS=typeof exports=="object"&&exports&&!exports.nodeType&&exports,aS=lS&&typeof module=="object"&&module&&!module.nodeType&&module,mG=aS&&aS.exports===lS,sS=mG?ot.Buffer:void 0,uS=sS?sS.allocUnsafe:void 0;function hG(e,t){if(t)return e.slice();var r=e.length,n=uS?uS(r):new e.constructor(r);return e.copy(n),n}var cS=hG;i();function gG(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var xd=gG;i();i();i();function vG(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}var fS=vG;i();function yG(){return[]}var wd=yG;var bG=Object.prototype,CG=bG.propertyIsEnumerable,pS=Object.getOwnPropertySymbols,xG=pS?function(e){return e==null?[]:(e=Object(e),fS(pS(e),function(t){return CG.call(e,t)}))}:wd,Ls=xG;function wG(e,t){return ii(e,Ls(e),t)}var dS=wG;i();i();i();function SG(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Sd=SG;var DG=Object.getOwnPropertySymbols,EG=DG?function(e){for(var t=[];e;)Sd(t,Ls(e)),e=Rs(e);return t}:wd,Dd=EG;function PG(e,t){return ii(e,Dd(e),t)}var mS=PG;i();i();function TG(e,t,r){var n=t(e);return xn(e)?n:Sd(n,r(e))}var Ed=TG;function AG(e){return Ed(e,Ns,Ls)}var hS=AG;i();function RG(e){return Ed(e,Vs,Dd)}var gS=RG;i();i();var FG=rr(ot,"DataView"),Pd=FG;i();var BG=rr(ot,"Promise"),Td=BG;i();var OG=rr(ot,"Set"),Ad=OG;i();var MG=rr(ot,"WeakMap"),Rd=MG;var vS="[object Map]",IG="[object Object]",yS="[object Promise]",bS="[object Set]",CS="[object WeakMap]",xS="[object DataView]",kG=to(Pd),NG=to(ni),VG=to(Td),LG=to(Ad),$G=to(Rd),ta=wr;(Pd&&ta(new Pd(new ArrayBuffer(1)))!=xS||ni&&ta(new ni)!=vS||Td&&ta(Td.resolve())!=yS||Ad&&ta(new Ad)!=bS||Rd&&ta(new Rd)!=CS)&&(ta=function(e){var t=wr(e),r=t==IG?e.constructor:void 0,n=r?to(r):"";if(n)switch(n){case kG:return xS;case NG:return vS;case VG:return yS;case LG:return bS;case $G:return CS}return t});var $s=ta;i();var zG=Object.prototype,HG=zG.hasOwnProperty;function GG(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&HG.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var wS=GG;i();i();i();var jG=ot.Uint8Array,n5=jG;function _G(e){var t=new e.constructor(e.byteLength);return new n5(t).set(new n5(e)),t}var zs=_G;i();function WG(e,t){var r=t?zs(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var SS=WG;i();var UG=/\w*$/;function KG(e){var t=new e.constructor(e.source,UG.exec(e));return t.lastIndex=e.lastIndex,t}var DS=KG;i();var ES=Fr?Fr.prototype:void 0,PS=ES?ES.valueOf:void 0;function qG(e){return PS?Object(PS.call(e)):{}}var TS=qG;i();function XG(e,t){var r=t?zs(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var AS=XG;var YG="[object Boolean]",JG="[object Date]",ZG="[object Map]",QG="[object Number]",ej="[object RegExp]",tj="[object Set]",rj="[object String]",nj="[object Symbol]",oj="[object ArrayBuffer]",ij="[object DataView]",aj="[object Float32Array]",sj="[object Float64Array]",uj="[object Int8Array]",lj="[object Int16Array]",cj="[object Int32Array]",fj="[object Uint8Array]",pj="[object Uint8ClampedArray]",dj="[object Uint16Array]",mj="[object Uint32Array]";function hj(e,t,r){var n=e.constructor;switch(t){case oj:return zs(e);case YG:case JG:return new n(+e);case ij:return SS(e,r);case aj:case sj:case uj:case lj:case cj:case fj:case pj:case dj:case mj:return AS(e,r);case ZG:return new n;case QG:case rj:return new n(e);case ej:return DS(e);case tj:return new n;case nj:return TS(e)}}var RS=hj;i();i();var FS=Object.create,gj=function(){function e(){}return function(t){if(!Cn(t))return{};if(FS)return FS(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),BS=gj;function vj(e){return typeof e.constructor=="function"&&!ks(e)?BS(Rs(e)):{}}var OS=vj;i();i();var yj="[object Map]";function bj(e){return tr(e)&&$s(e)==yj}var MS=bj;var IS=no&&no.isMap,Cj=IS?Is(IS):MS,kS=Cj;i();i();var xj="[object Set]";function wj(e){return tr(e)&&$s(e)==xj}var NS=wj;var VS=no&&no.isSet,Sj=VS?Is(VS):NS,LS=Sj;var Dj=1,Ej=2,Pj=4,$S="[object Arguments]",Tj="[object Array]",Aj="[object Boolean]",Rj="[object Date]",Fj="[object Error]",zS="[object Function]",Bj="[object GeneratorFunction]",Oj="[object Map]",Mj="[object Number]",HS="[object Object]",Ij="[object RegExp]",kj="[object Set]",Nj="[object String]",Vj="[object Symbol]",Lj="[object WeakMap]",$j="[object ArrayBuffer]",zj="[object DataView]",Hj="[object Float32Array]",Gj="[object Float64Array]",jj="[object Int8Array]",_j="[object Int16Array]",Wj="[object Int32Array]",Uj="[object Uint8Array]",Kj="[object Uint8ClampedArray]",qj="[object Uint16Array]",Xj="[object Uint32Array]",Ve={};Ve[$S]=Ve[Tj]=Ve[$j]=Ve[zj]=Ve[Aj]=Ve[Rj]=Ve[Hj]=Ve[Gj]=Ve[jj]=Ve[_j]=Ve[Wj]=Ve[Oj]=Ve[Mj]=Ve[HS]=Ve[Ij]=Ve[kj]=Ve[Nj]=Ve[Vj]=Ve[Uj]=Ve[Kj]=Ve[qj]=Ve[Xj]=!0;Ve[Fj]=Ve[zS]=Ve[Lj]=!1;function Fd(e,t,r,n,o,a){var s,u=t&Dj,l=t&Ej,c=t&Pj;if(r&&(s=o?r(e,n,o,a):r(e)),s!==void 0)return s;if(!Cn(e))return e;var p=xn(e);if(p){if(s=wS(e),!u)return xd(e,s)}else{var d=$s(e),h=d==zS||d==Bj;if(vd(e))return cS(e,u);if(d==HS||d==$S||h&&!o){if(s=l||h?{}:OS(e),!u)return l?mS(e,iS(s,e)):dS(e,rS(s,e))}else{if(!Ve[d])return o?e:{};s=RS(e,d,u)}}a||(a=new zw);var g=a.get(e);if(g)return g;a.set(e,s),LS(e)?e.forEach(function(b){s.add(Fd(b,t,r,b,e,a))}):kS(e)&&e.forEach(function(b,y){s.set(y,Fd(b,t,r,y,e,a))});var v=c?l?gS:hS:l?Vs:Ns,m=p?void 0:v(e);return Hw(m||e,function(b,y){m&&(y=b,b=e[y]),gd(s,y,Fd(b,t,r,y,e,a))}),s}var Bd=Fd;var Yj=1,Jj=4;function Zj(e){return Bd(e,Yj|Jj)}var Hs=Zj;var ne=require("react"),oo=A(WS());i();var t_=!0;function r_(e,t){if(!t_){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var US=r_;i();var n_=4;function o_(e){return Bd(e,n_)}var i5=o_;i();i();function i_(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var Od=i_;i();var a_="[object Symbol]";function s_(e){return typeof e=="symbol"||tr(e)&&wr(e)==a_}var Gs=s_;i();i();i();var u_="Expected a function";function a5(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(u_);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var s=e.apply(this,n);return r.cache=a.set(o,s)||a,s};return r.cache=new(a5.Cache||Ll),r}a5.Cache=Ll;var KS=a5;var l_=500;function c_(e){var t=KS(e,function(n){return r.size===l_&&r.clear(),n}),r=t.cache;return t}var qS=c_;var f_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p_=/\\(\\)?/g,d_=qS(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(f_,function(r,n,o,a){t.push(o?a.replace(p_,"$1"):n||r)}),t}),XS=d_;i();var m_=1/0;function h_(e){if(typeof e=="string"||Gs(e))return e;var t=e+"";return t=="0"&&1/e==-m_?"-0":t}var YS=h_;i();i();var g_=1/0,JS=Fr?Fr.prototype:void 0,ZS=JS?JS.toString:void 0;function QS(e){if(typeof e=="string")return e;if(xn(e))return Od(e,QS)+"";if(Gs(e))return ZS?ZS.call(e):"";var t=e+"";return t=="0"&&1/e==-g_?"-0":t}var eD=QS;function v_(e){return e==null?"":eD(e)}var tD=v_;function y_(e){return xn(e)?Od(e,YS):Gs(e)?[e]:xd(XS(tD(e)))}var s5=y_;var B_=A(pD());function Oe(){return Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oe.apply(this,arguments)}function O_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function na(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function dD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _d=(0,ne.createContext)(void 0);_d.displayName="FormikContext";var M_=_d.Provider,bIe=_d.Consumer;function ai(){var e=(0,ne.useContext)(_d);return e||US(!1),e}var mD=function(t){return Array.isArray(t)&&t.length===0},$t=function(t){return typeof t=="function"},zl=function(t){return t!==null&&typeof t=="object"},I_=function(t){return String(Math.floor(Number(t)))===t},d5=function(t){return Object.prototype.toString.call(t)==="[object String]"};var gD=function(t){return ne.Children.count(t)===0},m5=function(t){return zl(t)&&$t(t.then)};function mt(e,t,r,n){n===void 0&&(n=0);for(var o=s5(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function wn(e,t,r){for(var n=i5(e),o=n,a=0,s=s5(t);a<s.length-1;a++){var u=s[a],l=mt(e,s.slice(0,a+1));if(l&&(zl(l)||Array.isArray(l)))o=o[u]=i5(l);else{var c=s[a+1];o=o[u]=I_(c)&&Number(c)>=0?[]:{}}}return(a===0?e:o)[s[a]]===r?e:(r===void 0?delete o[s[a]]:o[s[a]]=r,a===0&&r===void 0&&delete n[s[a]],n)}function vD(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o],u=e[s];zl(u)?r.get(u)||(r.set(u,!0),n[s]=Array.isArray(u)?[]:{},vD(u,t,r,n[s])):n[s]=t}return n}function k_(e,t){switch(t.type){case"SET_VALUES":return Oe({},e,{values:t.payload});case"SET_TOUCHED":return Oe({},e,{touched:t.payload});case"SET_ERRORS":return(0,oo.default)(e.errors,t.payload)?e:Oe({},e,{errors:t.payload});case"SET_STATUS":return Oe({},e,{status:t.payload});case"SET_ISSUBMITTING":return Oe({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Oe({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Oe({},e,{values:wn(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Oe({},e,{touched:wn(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Oe({},e,{errors:wn(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Oe({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Oe({},e,{touched:vD(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Oe({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Oe({},e,{isSubmitting:!1});default:return e}}var ra={},jd={};function N_(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,a=e.validateOnMount,s=a===void 0?!1:a,u=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,p=e.onSubmit,d=na(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=Oe({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:p},d),g=(0,ne.useRef)(h.initialValues),v=(0,ne.useRef)(h.initialErrors||ra),m=(0,ne.useRef)(h.initialTouched||jd),b=(0,ne.useRef)(h.initialStatus),y=(0,ne.useRef)(!1),x=(0,ne.useRef)({});(0,ne.useEffect)(function(){return y.current=!0,function(){y.current=!1}},[]);var w=(0,ne.useState)(0),S=w[1],E=(0,ne.useRef)({values:Hs(h.initialValues),errors:Hs(h.initialErrors)||ra,touched:Hs(h.initialTouched)||jd,status:Hs(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),D=E.current,P=(0,ne.useCallback)(function(O){var Y=E.current;E.current=k_(Y,O),Y!==E.current&&S(function(re){return re+1})},[]),F=(0,ne.useCallback)(function(O,Y){return new Promise(function(re,X){var le=h.validate(O,Y);le==null?re(ra):m5(le)?le.then(function(Se){re(Se||ra)},function(Se){X(Se)}):re(le)})},[h.validate]),B=(0,ne.useCallback)(function(O,Y){var re=h.validationSchema,X=$t(re)?re(Y):re,le=Y&&X.validateAt?X.validateAt(Y,O):L_(O,X);return new Promise(function(Se,Ae){le.then(function(){Se(ra)},function(bt){bt.name==="ValidationError"?Se(V_(bt)):Ae(bt)})})},[h.validationSchema]),I=(0,ne.useCallback)(function(O,Y){return new Promise(function(re){return re(x.current[O].validate(Y))})},[]),_=(0,ne.useCallback)(function(O){var Y=Object.keys(x.current).filter(function(X){return $t(x.current[X].validate)}),re=Y.length>0?Y.map(function(X){return I(X,mt(O,X))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(re).then(function(X){return X.reduce(function(le,Se,Ae){return Se==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Se&&(le=wn(le,Y[Ae],Se)),le},{})})},[I]),L=(0,ne.useCallback)(function(O){return Promise.all([_(O),h.validationSchema?B(O):{},h.validate?F(O):{}]).then(function(Y){var re=Y[0],X=Y[1],le=Y[2],Se=ld.all([re,X,le],{arrayMerge:$_});return Se})},[h.validate,h.validationSchema,_,F,B]),z=Br(function(O){return O===void 0&&(O=D.values),P({type:"SET_ISVALIDATING",payload:!0}),L(O).then(function(Y){return y.current&&(P({type:"SET_ISVALIDATING",payload:!1}),P({type:"SET_ERRORS",payload:Y})),Y})});(0,ne.useEffect)(function(){s&&y.current===!0&&(0,oo.default)(g.current,h.initialValues)&&z(g.current)},[s,z]);var N=(0,ne.useCallback)(function(O){var Y=O&&O.values?O.values:g.current,re=O&&O.errors?O.errors:v.current?v.current:h.initialErrors||{},X=O&&O.touched?O.touched:m.current?m.current:h.initialTouched||{},le=O&&O.status?O.status:b.current?b.current:h.initialStatus;g.current=Y,v.current=re,m.current=X,b.current=le;var Se=function(){P({type:"RESET_FORM",payload:{isSubmitting:!!O&&!!O.isSubmitting,errors:re,touched:X,status:le,values:Y,isValidating:!!O&&!!O.isValidating,submitCount:O&&O.submitCount&&typeof O.submitCount=="number"?O.submitCount:0}})};if(h.onReset){var Ae=h.onReset(D.values,Te);m5(Ae)?Ae.then(Se):Se()}else Se()},[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);(0,ne.useEffect)(function(){y.current===!0&&!(0,oo.default)(g.current,h.initialValues)&&c&&(g.current=h.initialValues,N(),s&&z(g.current))},[c,h.initialValues,N,s,z]),(0,ne.useEffect)(function(){c&&y.current===!0&&!(0,oo.default)(v.current,h.initialErrors)&&(v.current=h.initialErrors||ra,P({type:"SET_ERRORS",payload:h.initialErrors||ra}))},[c,h.initialErrors]),(0,ne.useEffect)(function(){c&&y.current===!0&&!(0,oo.default)(m.current,h.initialTouched)&&(m.current=h.initialTouched||jd,P({type:"SET_TOUCHED",payload:h.initialTouched||jd}))},[c,h.initialTouched]),(0,ne.useEffect)(function(){c&&y.current===!0&&!(0,oo.default)(b.current,h.initialStatus)&&(b.current=h.initialStatus,P({type:"SET_STATUS",payload:h.initialStatus}))},[c,h.initialStatus,h.initialTouched]);var $=Br(function(O){if(x.current[O]&&$t(x.current[O].validate)){var Y=mt(D.values,O),re=x.current[O].validate(Y);return m5(re)?(P({type:"SET_ISVALIDATING",payload:!0}),re.then(function(X){return X}).then(function(X){P({type:"SET_FIELD_ERROR",payload:{field:O,value:X}}),P({type:"SET_ISVALIDATING",payload:!1})})):(P({type:"SET_FIELD_ERROR",payload:{field:O,value:re}}),Promise.resolve(re))}else if(h.validationSchema)return P({type:"SET_ISVALIDATING",payload:!0}),B(D.values,O).then(function(X){return X}).then(function(X){P({type:"SET_FIELD_ERROR",payload:{field:O,value:mt(X,O)}}),P({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Z=(0,ne.useCallback)(function(O,Y){var re=Y.validate;x.current[O]={validate:re}},[]),te=(0,ne.useCallback)(function(O){delete x.current[O]},[]),oe=Br(function(O,Y){P({type:"SET_TOUCHED",payload:O});var re=Y===void 0?o:Y;return re?z(D.values):Promise.resolve()}),j=(0,ne.useCallback)(function(O){P({type:"SET_ERRORS",payload:O})},[]),fe=Br(function(O,Y){var re=$t(O)?O(D.values):O;P({type:"SET_VALUES",payload:re});var X=Y===void 0?r:Y;return X?z(re):Promise.resolve()}),ye=(0,ne.useCallback)(function(O,Y){P({type:"SET_FIELD_ERROR",payload:{field:O,value:Y}})},[]),he=Br(function(O,Y,re){P({type:"SET_FIELD_VALUE",payload:{field:O,value:Y}});var X=re===void 0?r:re;return X?z(wn(D.values,O,Y)):Promise.resolve()}),We=(0,ne.useCallback)(function(O,Y){var re=Y,X=O,le;if(!d5(O)){O.persist&&O.persist();var Se=O.target?O.target:O.currentTarget,Ae=Se.type,bt=Se.name,Ao=Se.id,qr=Se.value,b0=Se.checked,B7=Se.outerHTML,$a=Se.options,C0=Se.multiple;re=Y||bt||Ao,X=/number|range/.test(Ae)?(le=parseFloat(qr),isNaN(le)?"":le):/checkbox/.test(Ae)?H_(mt(D.values,re),b0,qr):$a&&C0?z_($a):qr}re&&he(re,X)},[he,D.values]),R=Br(function(O){if(d5(O))return function(Y){return We(Y,O)};We(O)}),U=Br(function(O,Y,re){Y===void 0&&(Y=!0),P({type:"SET_FIELD_TOUCHED",payload:{field:O,value:Y}});var X=re===void 0?o:re;return X?z(D.values):Promise.resolve()}),G=(0,ne.useCallback)(function(O,Y){O.persist&&O.persist();var re=O.target,X=re.name,le=re.id,Se=re.outerHTML,Ae=Y||X||le;U(Ae,!0)},[U]),W=Br(function(O){if(d5(O))return function(Y){return G(Y,O)};G(O)}),ce=(0,ne.useCallback)(function(O){$t(O)?P({type:"SET_FORMIK_STATE",payload:O}):P({type:"SET_FORMIK_STATE",payload:function(){return O}})},[]),ae=(0,ne.useCallback)(function(O){P({type:"SET_STATUS",payload:O})},[]),ge=(0,ne.useCallback)(function(O){P({type:"SET_ISSUBMITTING",payload:O})},[]),xe=Br(function(){return P({type:"SUBMIT_ATTEMPT"}),z().then(function(O){var Y=O instanceof Error,re=!Y&&Object.keys(O).length===0;if(re){var X;try{if(X=we(),X===void 0)return}catch(le){throw le}return Promise.resolve(X).then(function(le){return y.current&&P({type:"SUBMIT_SUCCESS"}),le}).catch(function(le){if(y.current)throw P({type:"SUBMIT_FAILURE"}),le})}else if(y.current&&(P({type:"SUBMIT_FAILURE"}),Y))throw O})}),Ee=Br(function(O){if(O&&O.preventDefault&&$t(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&$t(O.stopPropagation)&&O.stopPropagation(),0)var Y;xe().catch(function(re){console.warn("Warning: An unhandled error was caught from submitForm()",re)})}),Te={resetForm:N,validateForm:z,validateField:$,setErrors:j,setFieldError:ye,setFieldTouched:U,setFieldValue:he,setStatus:ae,setSubmitting:ge,setTouched:oe,setValues:fe,setFormikState:ce,submitForm:xe},we=Br(function(){return p(D.values,Te)}),vt=Br(function(O){O&&O.preventDefault&&$t(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&$t(O.stopPropagation)&&O.stopPropagation(),N()}),yt=(0,ne.useCallback)(function(O){return{value:mt(D.values,O),error:mt(D.errors,O),touched:!!mt(D.touched,O),initialValue:mt(g.current,O),initialTouched:!!mt(m.current,O),initialError:mt(v.current,O)}},[D.errors,D.touched,D.values]),Ue=(0,ne.useCallback)(function(O){return{setValue:function(re,X){return he(O,re,X)},setTouched:function(re,X){return U(O,re,X)},setError:function(re){return ye(O,re)}}},[he,U,ye]),dr=(0,ne.useCallback)(function(O){var Y=zl(O),re=Y?O.name:O,X=mt(D.values,re),le={name:re,value:X,onChange:R,onBlur:W};if(Y){var Se=O.type,Ae=O.value,bt=O.as,Ao=O.multiple;Se==="checkbox"?Ae===void 0?le.checked=!!X:(le.checked=!!(Array.isArray(X)&&~X.indexOf(Ae)),le.value=Ae):Se==="radio"?(le.checked=X===Ae,le.value=Ae):bt==="select"&&Ao&&(le.value=le.value||[],le.multiple=!0)}return le},[W,R,D.values]),Ut=(0,ne.useMemo)(function(){return!(0,oo.default)(g.current,D.values)},[g.current,D.values]),Pt=(0,ne.useMemo)(function(){return typeof u<"u"?Ut?D.errors&&Object.keys(D.errors).length===0:u!==!1&&$t(u)?u(h):u:D.errors&&Object.keys(D.errors).length===0},[u,Ut,D.errors,h]),mr=Oe({},D,{initialValues:g.current,initialErrors:v.current,initialTouched:m.current,initialStatus:b.current,handleBlur:W,handleChange:R,handleReset:vt,handleSubmit:Ee,resetForm:N,setErrors:j,setFormikState:ce,setFieldTouched:U,setFieldValue:he,setFieldError:ye,setStatus:ae,setSubmitting:ge,setTouched:oe,setValues:fe,submitForm:xe,validateForm:z,validateField:$,isValid:Pt,dirty:Ut,unregisterField:te,registerField:Z,getFieldProps:dr,getFieldMeta:yt,getFieldHelpers:Ue,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return mr}function yD(e){var t=N_(e),r=e.component,n=e.children,o=e.render,a=e.innerRef;return(0,ne.useImperativeHandle)(a,function(){return t}),(0,ne.createElement)(M_,{value:t},r?(0,ne.createElement)(r,t):o?o(t):n?$t(n)?n(t):gD(n)?null:ne.Children.only(n):null)}function V_(e){var t={};if(e.inner){if(e.inner.length===0)return wn(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var a;if(r){if(n>=o.length)break;a=o[n++]}else{if(n=o.next(),n.done)break;a=n.value}var s=a;mt(t,s.path)||(t=wn(t,s.path,s.message))}}return t}function L_(e,t,r,n){r===void 0&&(r=!1);var o=g5(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function g5(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(o){return Array.isArray(o)===!0||Zg(o)?g5(o):o!==""?o:void 0}):Zg(e[n])?t[n]=g5(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function $_(e,t,r){var n=e.slice();return t.forEach(function(a,s){if(typeof n[s]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(a);n[s]=l?ld(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[s]=ld(e[s],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function z_(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function H_(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),o=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,a).concat(n.slice(a+1)):n}var G_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ne.useLayoutEffect:ne.useEffect;function Br(e){var t=(0,ne.useRef)(e);return G_(function(){t.current=e}),(0,ne.useCallback)(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.current.apply(void 0,n)},[])}function bD(e){var t=e.validate,r=e.name,n=e.render,o=e.children,a=e.as,s=e.component,u=e.className,l=na(e,["validate","name","render","children","as","component","className"]),c=ai(),p=na(c,["validate","validationSchema"]),d=p.registerField,h=p.unregisterField;(0,ne.useEffect)(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var g=p.getFieldProps(Oe({name:r},l)),v=p.getFieldMeta(r),m={field:g,form:p};if(n)return n(Oe({},m,{meta:v}));if($t(o))return o(Oe({},m,{meta:v}));if(s){if(typeof s=="string"){var b=l.innerRef,y=na(l,["innerRef"]);return(0,ne.createElement)(s,Oe({ref:b},g,y,{className:u}),o)}return(0,ne.createElement)(s,Oe({field:g,form:p},l,{className:u}),o)}var x=a||"input";if(typeof x=="string"){var w=l.innerRef,S=na(l,["innerRef"]);return(0,ne.createElement)(x,Oe({ref:w},g,S,{className:u}),o)}return(0,ne.createElement)(x,Oe({},g,l,{className:u}),o)}var v5=(0,ne.forwardRef)(function(e,t){var r=e.action,n=na(e,["action"]),o=r??"#",a=ai(),s=a.handleReset,u=a.handleSubmit;return(0,ne.createElement)("form",Oe({onSubmit:u,ref:t,onReset:s,action:o},n))});v5.displayName="Form";var j_=function(t,r,n){var o=oa(t),a=o[r];return o.splice(r,1),o.splice(n,0,a),o},__=function(t,r,n){var o=oa(t),a=o[r];return o[r]=o[n],o[n]=a,o},h5=function(t,r,n){var o=oa(t);return o.splice(r,0,n),o},W_=function(t,r,n){var o=oa(t);return o[r]=n,o},oa=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,o){return o>n?o:n},0);return Array.from(Oe({},t,{length:r+1}))}else return[]},hD=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||zl(o)){var a=oa(o);return n(a)}return o}},U_=function(e){O_(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(a,s,u){var l=o.props,c=l.name,p=l.formik.setFormikState;p(function(d){var h=hD(u,a),g=hD(s,a),v=wn(d.values,c,a(mt(d.values,c))),m=u?h(mt(d.errors,c)):void 0,b=s?g(mt(d.touched,c)):void 0;return mD(m)&&(m=void 0),mD(b)&&(b=void 0),Oe({},d,{values:v,errors:u?wn(d.errors,c,m):d.errors,touched:s?wn(d.touched,c,b):d.touched})})},o.push=function(a){return o.updateArrayField(function(s){return[].concat(oa(s),[Hs(a)])},!1,!1)},o.handlePush=function(a){return function(){return o.push(a)}},o.swap=function(a,s){return o.updateArrayField(function(u){return __(u,a,s)},!0,!0)},o.handleSwap=function(a,s){return function(){return o.swap(a,s)}},o.move=function(a,s){return o.updateArrayField(function(u){return j_(u,a,s)},!0,!0)},o.handleMove=function(a,s){return function(){return o.move(a,s)}},o.insert=function(a,s){return o.updateArrayField(function(u){return h5(u,a,s)},function(u){return h5(u,a,null)},function(u){return h5(u,a,null)})},o.handleInsert=function(a,s){return function(){return o.insert(a,s)}},o.replace=function(a,s){return o.updateArrayField(function(u){return W_(u,a,s)},!1,!1)},o.handleReplace=function(a,s){return function(){return o.replace(a,s)}},o.unshift=function(a){var s=-1;return o.updateArrayField(function(u){var l=u?[a].concat(u):[a];return s=l.length,l},function(u){return u?[null].concat(u):[null]},function(u){return u?[null].concat(u):[null]}),s},o.handleUnshift=function(a){return function(){return o.unshift(a)}},o.handleRemove=function(a){return function(){return o.remove(a)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(dD(o)),o.pop=o.pop.bind(dD(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,oo.default)(mt(o.formik.values,o.name),mt(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var a;return this.updateArrayField(function(s){var u=s?oa(s):[];return a||(a=u[o]),$t(u.splice)&&u.splice(o,1),$t(u.every)&&u.every(function(l){return l===void 0})?[]:u},!0,!0),a},r.pop=function(){var o;return this.updateArrayField(function(a){var s=a.slice();return o||(o=s&&s.pop&&s.pop()),s},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,s=a.component,u=a.render,l=a.children,c=a.name,p=a.formik,d=na(p,["validate","validationSchema"]),h=Oe({},o,{form:d,name:c});return s?(0,ne.createElement)(s,h):u?u(h):l?typeof l=="function"?l(h):gD(l)?null:ne.Children.only(l):null},t}(ne.Component);U_.defaultProps={validateOnChange:!0};i();i();var CD=require("react"),xD=()=>{let[e,t]=(0,CD.useState)(!1),r=()=>t(!0),n=()=>t(!0),o=()=>t(!0),u={onFocus:r,onMouseEnter:n,onBlur:()=>t(!1),onMouseLeave:()=>t(!1)};return e||(u.onMouseMove=o),[e,u,t]};i();i();var wD=require("react");var K_=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,Hl=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:a,eventOptions:s}=r,u=(0,wD.useMemo)(()=>{let l=K_(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&l(c))return t(c)}},n);od(o,u,a,s)};i();i();var SD=require("react");var Wd=e=>{let[t,r]=(0,SD.useState)([!1,null]);return Hl(e,n=>r([!0,n]),{eventName:"keydown"},[t]),Hl(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};i();i();i();i();var Ud=require("react"),y5=(e,t)=>{let r=(0,Ud.useRef)(!0);(0,Ud.useEffect)(()=>r.current?(r.current=!1,()=>{}):e(),t)};var Kd=(e,t=void 0,r=void 0)=>{let[n,o]=Wd(e);y5(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};i();i();var DD=require("react"),ED=(e,t,r=window.localStorage)=>{let[n,o]=(0,DD.useState)(()=>{try{let u=r.getItem(e);return u!==null&&u?JSON.parse(u):t}catch(u){return console.log(u),t}});return[n,u=>{try{let l=u instanceof Function?u(n):u;o(l),r.setItem(e,JSON.stringify(l))}catch(l){console.error(l)}},()=>{r.removeItem(e),o(void 0)}]};i();i();var js=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};i();i();var PD=require("react"),_s=(e,t)=>{(0,PD.useEffect)(()=>{let r=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])};i();i();var TD=require("react"),qd=e=>{(0,TD.useLayoutEffect)(()=>{if(e){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}return()=>{}},[e])};i();i();var Xd=require("react"),Ws=e=>{let t=(0,Xd.useRef)();return(0,Xd.useEffect)(()=>{t.current=e}),t.current};i();i();var ql=A(require("styled-components")),rE=A(ee());i();i();var wt=require("react"),MD=require("react-dom"),ID=require("styled-components"),kD=A(Jd()),Or=A(ee());i();i();var RD=require("react");var FD=require("styled-components"),BD=A(ee()),si=require("react/jsx-runtime"),Z_=100,Q_=FD.createGlobalStyle`
|
|
705
|
+
`;var Ux=Wx.createGlobalStyle`
|
|
706
|
+
${Gx}
|
|
707
|
+
${_x}
|
|
708
|
+
`;var Qo=require("react/jsx-runtime"),d$=({children:e,theme:t={},globalStylesIncluded:r=!0,skipAnimations:n=!1,Link:o})=>(n&&(Wn.skipAnimations=!0),(0,Qo.jsxs)(hb,{theme:t,children:[r?(0,Qo.jsx)(Ux,{}):null,(0,Qo.jsx)(_0,{children:(0,Qo.jsx)(bb,{value:{Link:o},children:(0,Qo.jsx)(ed,{children:(0,Qo.jsx)(Zp,{children:e})})})})]}));i();i();var Ts=require("react"),td=(e=!1)=>{let[t,r]=(0,Ts.useState)(e),n=(0,Ts.useCallback)(()=>r(s=>!s),[]),o=(0,Ts.useCallback)(()=>r(!0),[]),a=(0,Ts.useCallback)(()=>r(!1),[]);return[t,n,o,a,r]};i();i();var Kx=require("react");i();i();var Zi=require("react"),rd=e=>{let[t,r]=(0,Zi.useState)(!1),n=(0,Zi.useRef)(),o=(0,Zi.useRef)(e),a=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return(0,Zi.useEffect)(()=>()=>clearTimeout(n.current),[]),[t,a]};var qx=(e,t=1500)=>{let[r,n]=rd(!1),[o,a]=rd(!1);return[(0,Kx.useCallback)(async()=>{try{await za(e),t&&t>0&&n(t)}catch(u){u instanceof Error&&a(t)}},[e,t,n,a]),r,o]};i();i();var ei=require("react"),m$={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},nd=()=>{let e=(0,ei.useRef)(null),[t,r]=(0,ei.useState)(m$),n=(0,ei.useMemo)(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:a,height:s,top:u,left:l,bottom:c,right:p,x:d,y:h}=o[0].contentRect;r({width:a,height:s,top:u,left:l,bottom:c,right:p,x:d,y:h})}}),[]);return(0,ei.useLayoutEffect)(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};i();i();var Qi=require("react"),h$=e=>!!(typeof e=="object"&&e?.addEventListener),od=(e,t,r=window,n={})=>{let o=(0,Qi.useRef)(),a=(0,Qi.useRef)();(0,Qi.useEffect)(()=>{o.current=t},[t]),(0,Qi.useEffect)(()=>{a.current=n},[n]),(0,Qi.useEffect)(()=>{if(!e||!h$(r))return;let s=u=>o.current!==void 0?o.current(u):()=>{};return r.addEventListener(e,s,a.current),()=>{r.removeEventListener(e,s,a.current)}},[e,r,a])};i();i();var ea=require("react"),sw=A(ee());i();var Yg='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex="0"], [contenteditable]',g$=e=>{let{display:t,visibility:r}=window.getComputedStyle(e),n=t==="none"||e.style.display==="none"||r==="none"||e.style.visibility==="hidden";return e.offsetWidth<=0&&e.offsetHeight<=0||n},v$=e=>{let t=e;for(;t&&t!==document.body;){if(g$(t))return!1;t=t.parentNode}return!0},Xx=e=>{let t=e.getAttribute("tabindex");return Number.parseInt(t??void 0,10)},Yx=e=>{let t=Xx(e);return Number.isNaN(t)},id=e=>{let t=/input|select|textarea|button|object/,r=e.nodeName.toLowerCase(),n=!Yx(e);return!!(t.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&v$(e)},Jg=e=>{let t=Xx(e);return(Yx(e)||t>=0)&&id(e)},Jx=e=>Array.from(e.querySelectorAll(Yg)).filter(Jg),Zx=[],As=null,Xg=!1,Qx=()=>{Xg=!0},ew=()=>{if(Xg){if(Xg=!1,!As||As.contains(document.activeElement))return;(Jx(As)[0]??As).focus()}},tw=()=>{let e=document.activeElement;e!==null&&Zx.push(e)},rw=()=>{let e=null;try{e=Zx.pop(),e&&e.focus()}catch{console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},nw=e=>{As=e,document.addEventListener("focusout",Qx,!1),document.addEventListener("focusin",ew,!0)},ow=()=>{As=null,document.removeEventListener("focusout",Qx),document.removeEventListener("focusin",ew)},iw=(e,t)=>{let r=Jx(e);if(!r.length){t.preventDefault();return}if(!(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement))return;t.preventDefault();let a=r[t.shiftKey?r.length-1:0];a&&a.focus()},aw=(e,t)=>{t===void 0&&(t="body > :not(script)");let r=Array.from(document.querySelectorAll(t)).map(n=>{if(n.contains(e))return;let o=n.getAttribute("aria-hidden");return(o===null||o==="false")&&n.setAttribute("aria-hidden","true"),{node:n,ariaHidden:o}});return()=>{r.forEach(n=>{n&&(n.ariaHidden===null?n.node.removeAttribute("aria-hidden"):n.node.setAttribute("aria-hidden",n.ariaHidden))})}};var ad=(e=!0,t={})=>{let r=(0,ea.useRef)(null),n=(0,ea.useRef)(null),o=(0,ea.useCallback)(a=>{if(n.current!==null&&n.current(),r.current&&(rw(),ow()),e&&a!==null&&a!==void 0){nw(a),tw();let s=u=>{n.current=t.disableAriaHider??!1?null:aw(u);let l=null;if((0,sw.isNotUndefined)(t.focusSelector)&&(l=typeof t.focusSelector=="string"?u.querySelector(t.focusSelector):t.focusSelector),!l){let c=Array.from(u.querySelectorAll(Yg));l=c.find(Jg)??c.find(id)??null,!l&&id(u)&&(l=u)}l&&l.focus()};setTimeout(()=>{a.ownerDocument&&s(a),a.ownerDocument}),r.current=a}else r.current=null},[e,t.focusSelector,t.disableAriaHider]);return(0,ea.useEffect)(()=>{if(!e)return;let a=s=>{s.key==="Tab"&&r.current&&iw(r.current,s)};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[e]),o};i();i();var sd=require("react"),uw=()=>{let[,e]=(0,sd.useState)(Object.create(null));return(0,sd.useCallback)(()=>{e(Object.create(null))},[e])};i();i();i();var y$=function(t){return b$(t)&&!C$(t)};function b$(e){return!!e&&typeof e=="object"}function C$(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||S$(e)}var x$=typeof Symbol=="function"&&Symbol.for,w$=x$?Symbol.for("react.element"):60103;function S$(e){return e.$$typeof===w$}function D$(e){return Array.isArray(e)?[]:{}}function ud(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Nl(D$(e),e,t):e}function E$(e,t,r){return e.concat(t).map(function(n){return ud(n,r)})}function P$(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=ud(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=ud(t[o],r):n[o]=Nl(e[o],t[o],r)}),n}function Nl(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||E$,r.isMergeableObject=r.isMergeableObject||y$;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):P$(e,t,r):ud(t,r)}Nl.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Nl(n,o,r)},{})};var T$=Nl,ld=T$;i();i();i();i();i();var A$=typeof window=="object"&&window&&window.Object===Object&&window,cd=A$;var R$=typeof self=="object"&&self&&self.Object===Object&&self,F$=cd||R$||Function("return this")(),ot=F$;var B$=ot.Symbol,Fr=B$;i();var lw=Object.prototype,O$=lw.hasOwnProperty,M$=lw.toString,Vl=Fr?Fr.toStringTag:void 0;function I$(e){var t=O$.call(e,Vl),r=e[Vl];try{e[Vl]=void 0;var n=!0}catch{}var o=M$.call(e);return n&&(t?e[Vl]=r:delete e[Vl]),o}var cw=I$;i();var k$=Object.prototype,N$=k$.toString;function V$(e){return N$.call(e)}var fw=V$;var L$="[object Null]",$$="[object Undefined]",pw=Fr?Fr.toStringTag:void 0;function z$(e){return e==null?e===void 0?$$:L$:pw&&pw in Object(e)?cw(e):fw(e)}var wr=z$;i();i();function H$(e,t){return function(r){return e(t(r))}}var fd=H$;var G$=fd(Object.getPrototypeOf,Object),Rs=G$;i();function j$(e){return e!=null&&typeof e=="object"}var tr=j$;var _$="[object Object]",W$=Function.prototype,U$=Object.prototype,dw=W$.toString,K$=U$.hasOwnProperty,q$=dw.call(Object);function X$(e){if(!tr(e)||wr(e)!=_$)return!1;var t=Rs(e);if(t===null)return!0;var r=K$.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&dw.call(r)==q$}var Zg=X$;i();i();i();i();i();function Y$(){this.__data__=[],this.size=0}var mw=Y$;i();i();i();function J$(e,t){return e===t||e!==e&&t!==t}var pd=J$;function Z$(e,t){for(var r=e.length;r--;)if(pd(e[r][0],t))return r;return-1}var ti=Z$;var Q$=Array.prototype,ez=Q$.splice;function tz(e){var t=this.__data__,r=ti(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ez.call(t,r,1),--this.size,!0}var hw=tz;i();function rz(e){var t=this.__data__,r=ti(t,e);return r<0?void 0:t[r][1]}var gw=rz;i();function nz(e){return ti(this.__data__,e)>-1}var vw=nz;i();function oz(e,t){var r=this.__data__,n=ti(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var yw=oz;function Fs(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Fs.prototype.clear=mw;Fs.prototype.delete=hw;Fs.prototype.get=gw;Fs.prototype.has=vw;Fs.prototype.set=yw;var ri=Fs;i();function iz(){this.__data__=new ri,this.size=0}var bw=iz;i();function az(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Cw=az;i();function sz(e){return this.__data__.get(e)}var xw=sz;i();function uz(e){return this.__data__.has(e)}var ww=uz;i();i();i();i();i();i();function lz(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Cn=lz;var cz="[object AsyncFunction]",fz="[object Function]",pz="[object GeneratorFunction]",dz="[object Proxy]";function mz(e){if(!Cn(e))return!1;var t=wr(e);return t==fz||t==pz||t==cz||t==dz}var dd=mz;i();i();var hz=ot["__core-js_shared__"],md=hz;var Sw=function(){var e=/[^.]+$/.exec(md&&md.keys&&md.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function gz(e){return!!Sw&&Sw in e}var Dw=gz;i();var vz=Function.prototype,yz=vz.toString;function bz(e){if(e!=null){try{return yz.call(e)}catch{}try{return e+""}catch{}}return""}var to=bz;var Cz=/[\\^$.*+?()[\]{}|]/g,xz=/^\[object .+?Constructor\]$/,wz=Function.prototype,Sz=Object.prototype,Dz=wz.toString,Ez=Sz.hasOwnProperty,Pz=RegExp("^"+Dz.call(Ez).replace(Cz,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Tz(e){if(!Cn(e)||Dw(e))return!1;var t=dd(e)?Pz:xz;return t.test(to(e))}var Ew=Tz;i();function Az(e,t){return e?.[t]}var Pw=Az;function Rz(e,t){var r=Pw(e,t);return Ew(r)?r:void 0}var rr=Rz;var Fz=rr(ot,"Map"),ni=Fz;i();i();i();i();i();var Bz=rr(Object,"create"),ro=Bz;function Oz(){this.__data__=ro?ro(null):{},this.size=0}var Tw=Oz;i();function Mz(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Aw=Mz;i();var Iz="__lodash_hash_undefined__",kz=Object.prototype,Nz=kz.hasOwnProperty;function Vz(e){var t=this.__data__;if(ro){var r=t[e];return r===Iz?void 0:r}return Nz.call(t,e)?t[e]:void 0}var Rw=Vz;i();var Lz=Object.prototype,$z=Lz.hasOwnProperty;function zz(e){var t=this.__data__;return ro?t[e]!==void 0:$z.call(t,e)}var Fw=zz;i();var Hz="__lodash_hash_undefined__";function Gz(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ro&&t===void 0?Hz:t,this}var Bw=Gz;function Bs(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Bs.prototype.clear=Tw;Bs.prototype.delete=Aw;Bs.prototype.get=Rw;Bs.prototype.has=Fw;Bs.prototype.set=Bw;var Qg=Bs;function jz(){this.size=0,this.__data__={hash:new Qg,map:new(ni||ri),string:new Qg}}var Ow=jz;i();i();i();function _z(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Mw=_z;function Wz(e,t){var r=e.__data__;return Mw(t)?r[typeof t=="string"?"string":"hash"]:r.map}var oi=Wz;function Uz(e){var t=oi(this,e).delete(e);return this.size-=t?1:0,t}var Iw=Uz;i();function Kz(e){return oi(this,e).get(e)}var kw=Kz;i();function qz(e){return oi(this,e).has(e)}var Nw=qz;i();function Xz(e,t){var r=oi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var Vw=Xz;function Os(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Os.prototype.clear=Ow;Os.prototype.delete=Iw;Os.prototype.get=kw;Os.prototype.has=Nw;Os.prototype.set=Vw;var Ll=Os;var Yz=200;function Jz(e,t){var r=this.__data__;if(r instanceof ri){var n=r.__data__;if(!ni||n.length<Yz-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ll(n)}return r.set(e,t),this.size=r.size,this}var Lw=Jz;function Ms(e){var t=this.__data__=new ri(e);this.size=t.size}Ms.prototype.clear=bw;Ms.prototype.delete=Cw;Ms.prototype.get=xw;Ms.prototype.has=ww;Ms.prototype.set=Lw;var $w=Ms;i();function Zz(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var zw=Zz;i();i();i();var Qz=function(){try{var e=rr(Object,"defineProperty");return e({},"",{}),e}catch{}}(),e5=Qz;function eH(e,t,r){t=="__proto__"&&e5?e5(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var hd=eH;var tH=Object.prototype,rH=tH.hasOwnProperty;function nH(e,t,r){var n=e[t];(!(rH.call(e,t)&&pd(n,r))||r===void 0&&!(t in e))&&hd(e,t,r)}var gd=nH;i();i();function oH(e,t,r,n){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var u=t[a],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),o?hd(r,u,l):gd(r,u,l)}return r}var ii=oH;i();i();i();function iH(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Hw=iH;i();i();var aH="[object Arguments]";function sH(e){return tr(e)&&wr(e)==aH}var t5=sH;var Gw=Object.prototype,uH=Gw.hasOwnProperty,lH=Gw.propertyIsEnumerable,cH=t5(function(){return arguments}())?t5:function(e){return tr(e)&&uH.call(e,"callee")&&!lH.call(e,"callee")},jw=cH;i();var fH=Array.isArray,xn=fH;i();i();function pH(){return!1}var _w=pH;var Kw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ww=Kw&&typeof module=="object"&&module&&!module.nodeType&&module,dH=Ww&&Ww.exports===Kw,Uw=dH?ot.Buffer:void 0,mH=Uw?Uw.isBuffer:void 0,hH=mH||_w,vd=hH;i();var gH=9007199254740991,vH=/^(?:0|[1-9]\d*)$/;function yH(e,t){var r=typeof e;return t=t??gH,!!t&&(r=="number"||r!="symbol"&&vH.test(e))&&e>-1&&e%1==0&&e<t}var qw=yH;i();i();i();var bH=9007199254740991;function CH(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=bH}var yd=CH;var xH="[object Arguments]",wH="[object Array]",SH="[object Boolean]",DH="[object Date]",EH="[object Error]",PH="[object Function]",TH="[object Map]",AH="[object Number]",RH="[object Object]",FH="[object RegExp]",BH="[object Set]",OH="[object String]",MH="[object WeakMap]",IH="[object ArrayBuffer]",kH="[object DataView]",NH="[object Float32Array]",VH="[object Float64Array]",LH="[object Int8Array]",$H="[object Int16Array]",zH="[object Int32Array]",HH="[object Uint8Array]",GH="[object Uint8ClampedArray]",jH="[object Uint16Array]",_H="[object Uint32Array]",ze={};ze[NH]=ze[VH]=ze[LH]=ze[$H]=ze[zH]=ze[HH]=ze[GH]=ze[jH]=ze[_H]=!0;ze[xH]=ze[wH]=ze[IH]=ze[SH]=ze[kH]=ze[DH]=ze[EH]=ze[PH]=ze[TH]=ze[AH]=ze[RH]=ze[FH]=ze[BH]=ze[OH]=ze[MH]=!1;function WH(e){return tr(e)&&yd(e.length)&&!!ze[wr(e)]}var Xw=WH;i();function UH(e){return function(t){return e(t)}}var Is=UH;i();var Yw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$l=Yw&&typeof module=="object"&&module&&!module.nodeType&&module,KH=$l&&$l.exports===Yw,r5=KH&&cd.process,qH=function(){try{var e=$l&&$l.require&&$l.require("util").types;return e||r5&&r5.binding&&r5.binding("util")}catch{}}(),no=qH;var Jw=no&&no.isTypedArray,XH=Jw?Is(Jw):Xw,Zw=XH;var YH=Object.prototype,JH=YH.hasOwnProperty;function ZH(e,t){var r=xn(e),n=!r&&jw(e),o=!r&&!n&&vd(e),a=!r&&!n&&!o&&Zw(e),s=r||n||o||a,u=s?Hw(e.length,String):[],l=u.length;for(var c in e)(t||JH.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||qw(c,l)))&&u.push(c);return u}var bd=ZH;i();i();var QH=Object.prototype;function eG(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||QH;return e===r}var ks=eG;i();var tG=fd(Object.keys,Object),Qw=tG;var rG=Object.prototype,nG=rG.hasOwnProperty;function oG(e){if(!ks(e))return Qw(e);var t=[];for(var r in Object(e))nG.call(e,r)&&r!="constructor"&&t.push(r);return t}var eS=oG;i();function iG(e){return e!=null&&yd(e.length)&&!dd(e)}var Cd=iG;function aG(e){return Cd(e)?bd(e):eS(e)}var Ns=aG;function sG(e,t){return e&&ii(t,Ns(t),e)}var tS=sG;i();i();i();i();function uG(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var rS=uG;var lG=Object.prototype,cG=lG.hasOwnProperty;function fG(e){if(!Cn(e))return rS(e);var t=ks(e),r=[];for(var n in e)n=="constructor"&&(t||!cG.call(e,n))||r.push(n);return r}var nS=fG;function pG(e){return Cd(e)?bd(e,!0):nS(e)}var Vs=pG;function dG(e,t){return e&&ii(t,Vs(t),e)}var oS=dG;i();var uS=typeof exports=="object"&&exports&&!exports.nodeType&&exports,iS=uS&&typeof module=="object"&&module&&!module.nodeType&&module,mG=iS&&iS.exports===uS,aS=mG?ot.Buffer:void 0,sS=aS?aS.allocUnsafe:void 0;function hG(e,t){if(t)return e.slice();var r=e.length,n=sS?sS(r):new e.constructor(r);return e.copy(n),n}var lS=hG;i();function gG(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var xd=gG;i();i();i();function vG(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[o++]=s)}return a}var cS=vG;i();function yG(){return[]}var wd=yG;var bG=Object.prototype,CG=bG.propertyIsEnumerable,fS=Object.getOwnPropertySymbols,xG=fS?function(e){return e==null?[]:(e=Object(e),cS(fS(e),function(t){return CG.call(e,t)}))}:wd,Ls=xG;function wG(e,t){return ii(e,Ls(e),t)}var pS=wG;i();i();i();function SG(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Sd=SG;var DG=Object.getOwnPropertySymbols,EG=DG?function(e){for(var t=[];e;)Sd(t,Ls(e)),e=Rs(e);return t}:wd,Dd=EG;function PG(e,t){return ii(e,Dd(e),t)}var dS=PG;i();i();function TG(e,t,r){var n=t(e);return xn(e)?n:Sd(n,r(e))}var Ed=TG;function AG(e){return Ed(e,Ns,Ls)}var mS=AG;i();function RG(e){return Ed(e,Vs,Dd)}var hS=RG;i();i();var FG=rr(ot,"DataView"),Pd=FG;i();var BG=rr(ot,"Promise"),Td=BG;i();var OG=rr(ot,"Set"),Ad=OG;i();var MG=rr(ot,"WeakMap"),Rd=MG;var gS="[object Map]",IG="[object Object]",vS="[object Promise]",yS="[object Set]",bS="[object WeakMap]",CS="[object DataView]",kG=to(Pd),NG=to(ni),VG=to(Td),LG=to(Ad),$G=to(Rd),ta=wr;(Pd&&ta(new Pd(new ArrayBuffer(1)))!=CS||ni&&ta(new ni)!=gS||Td&&ta(Td.resolve())!=vS||Ad&&ta(new Ad)!=yS||Rd&&ta(new Rd)!=bS)&&(ta=function(e){var t=wr(e),r=t==IG?e.constructor:void 0,n=r?to(r):"";if(n)switch(n){case kG:return CS;case NG:return gS;case VG:return vS;case LG:return yS;case $G:return bS}return t});var $s=ta;i();var zG=Object.prototype,HG=zG.hasOwnProperty;function GG(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&HG.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var xS=GG;i();i();i();var jG=ot.Uint8Array,n5=jG;function _G(e){var t=new e.constructor(e.byteLength);return new n5(t).set(new n5(e)),t}var zs=_G;i();function WG(e,t){var r=t?zs(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var wS=WG;i();var UG=/\w*$/;function KG(e){var t=new e.constructor(e.source,UG.exec(e));return t.lastIndex=e.lastIndex,t}var SS=KG;i();var DS=Fr?Fr.prototype:void 0,ES=DS?DS.valueOf:void 0;function qG(e){return ES?Object(ES.call(e)):{}}var PS=qG;i();function XG(e,t){var r=t?zs(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var TS=XG;var YG="[object Boolean]",JG="[object Date]",ZG="[object Map]",QG="[object Number]",ej="[object RegExp]",tj="[object Set]",rj="[object String]",nj="[object Symbol]",oj="[object ArrayBuffer]",ij="[object DataView]",aj="[object Float32Array]",sj="[object Float64Array]",uj="[object Int8Array]",lj="[object Int16Array]",cj="[object Int32Array]",fj="[object Uint8Array]",pj="[object Uint8ClampedArray]",dj="[object Uint16Array]",mj="[object Uint32Array]";function hj(e,t,r){var n=e.constructor;switch(t){case oj:return zs(e);case YG:case JG:return new n(+e);case ij:return wS(e,r);case aj:case sj:case uj:case lj:case cj:case fj:case pj:case dj:case mj:return TS(e,r);case ZG:return new n;case QG:case rj:return new n(e);case ej:return SS(e);case tj:return new n;case nj:return PS(e)}}var AS=hj;i();i();var RS=Object.create,gj=function(){function e(){}return function(t){if(!Cn(t))return{};if(RS)return RS(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),FS=gj;function vj(e){return typeof e.constructor=="function"&&!ks(e)?FS(Rs(e)):{}}var BS=vj;i();i();var yj="[object Map]";function bj(e){return tr(e)&&$s(e)==yj}var OS=bj;var MS=no&&no.isMap,Cj=MS?Is(MS):OS,IS=Cj;i();i();var xj="[object Set]";function wj(e){return tr(e)&&$s(e)==xj}var kS=wj;var NS=no&&no.isSet,Sj=NS?Is(NS):kS,VS=Sj;var Dj=1,Ej=2,Pj=4,LS="[object Arguments]",Tj="[object Array]",Aj="[object Boolean]",Rj="[object Date]",Fj="[object Error]",$S="[object Function]",Bj="[object GeneratorFunction]",Oj="[object Map]",Mj="[object Number]",zS="[object Object]",Ij="[object RegExp]",kj="[object Set]",Nj="[object String]",Vj="[object Symbol]",Lj="[object WeakMap]",$j="[object ArrayBuffer]",zj="[object DataView]",Hj="[object Float32Array]",Gj="[object Float64Array]",jj="[object Int8Array]",_j="[object Int16Array]",Wj="[object Int32Array]",Uj="[object Uint8Array]",Kj="[object Uint8ClampedArray]",qj="[object Uint16Array]",Xj="[object Uint32Array]",Ve={};Ve[LS]=Ve[Tj]=Ve[$j]=Ve[zj]=Ve[Aj]=Ve[Rj]=Ve[Hj]=Ve[Gj]=Ve[jj]=Ve[_j]=Ve[Wj]=Ve[Oj]=Ve[Mj]=Ve[zS]=Ve[Ij]=Ve[kj]=Ve[Nj]=Ve[Vj]=Ve[Uj]=Ve[Kj]=Ve[qj]=Ve[Xj]=!0;Ve[Fj]=Ve[$S]=Ve[Lj]=!1;function Fd(e,t,r,n,o,a){var s,u=t&Dj,l=t&Ej,c=t&Pj;if(r&&(s=o?r(e,n,o,a):r(e)),s!==void 0)return s;if(!Cn(e))return e;var p=xn(e);if(p){if(s=xS(e),!u)return xd(e,s)}else{var d=$s(e),h=d==$S||d==Bj;if(vd(e))return lS(e,u);if(d==zS||d==LS||h&&!o){if(s=l||h?{}:BS(e),!u)return l?dS(e,oS(s,e)):pS(e,tS(s,e))}else{if(!Ve[d])return o?e:{};s=AS(e,d,u)}}a||(a=new $w);var g=a.get(e);if(g)return g;a.set(e,s),VS(e)?e.forEach(function(b){s.add(Fd(b,t,r,b,e,a))}):IS(e)&&e.forEach(function(b,y){s.set(y,Fd(b,t,r,y,e,a))});var v=c?l?hS:mS:l?Vs:Ns,m=p?void 0:v(e);return zw(m||e,function(b,y){m&&(y=b,b=e[y]),gd(s,y,Fd(b,t,r,y,e,a))}),s}var Bd=Fd;var Yj=1,Jj=4;function Zj(e){return Bd(e,Yj|Jj)}var Hs=Zj;var ne=require("react"),oo=A(_S());i();var t_=!0;function r_(e,t){if(!t_){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var WS=r_;i();var n_=4;function o_(e){return Bd(e,n_)}var i5=o_;i();i();function i_(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var Od=i_;i();var a_="[object Symbol]";function s_(e){return typeof e=="symbol"||tr(e)&&wr(e)==a_}var Gs=s_;i();i();i();var u_="Expected a function";function a5(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(u_);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var s=e.apply(this,n);return r.cache=a.set(o,s)||a,s};return r.cache=new(a5.Cache||Ll),r}a5.Cache=Ll;var US=a5;var l_=500;function c_(e){var t=US(e,function(n){return r.size===l_&&r.clear(),n}),r=t.cache;return t}var KS=c_;var f_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p_=/\\(\\)?/g,d_=KS(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(f_,function(r,n,o,a){t.push(o?a.replace(p_,"$1"):n||r)}),t}),qS=d_;i();var m_=1/0;function h_(e){if(typeof e=="string"||Gs(e))return e;var t=e+"";return t=="0"&&1/e==-m_?"-0":t}var XS=h_;i();i();var g_=1/0,YS=Fr?Fr.prototype:void 0,JS=YS?YS.toString:void 0;function ZS(e){if(typeof e=="string")return e;if(xn(e))return Od(e,ZS)+"";if(Gs(e))return JS?JS.call(e):"";var t=e+"";return t=="0"&&1/e==-g_?"-0":t}var QS=ZS;function v_(e){return e==null?"":QS(e)}var eD=v_;function y_(e){return xn(e)?Od(e,XS):Gs(e)?[e]:xd(qS(eD(e)))}var s5=y_;var B_=A(fD());function Oe(){return Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oe.apply(this,arguments)}function O_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function na(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function pD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _d=(0,ne.createContext)(void 0);_d.displayName="FormikContext";var M_=_d.Provider,bIe=_d.Consumer;function ai(){var e=(0,ne.useContext)(_d);return e||WS(!1),e}var dD=function(t){return Array.isArray(t)&&t.length===0},$t=function(t){return typeof t=="function"},zl=function(t){return t!==null&&typeof t=="object"},I_=function(t){return String(Math.floor(Number(t)))===t},d5=function(t){return Object.prototype.toString.call(t)==="[object String]"};var hD=function(t){return ne.Children.count(t)===0},m5=function(t){return zl(t)&&$t(t.then)};function mt(e,t,r,n){n===void 0&&(n=0);for(var o=s5(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function wn(e,t,r){for(var n=i5(e),o=n,a=0,s=s5(t);a<s.length-1;a++){var u=s[a],l=mt(e,s.slice(0,a+1));if(l&&(zl(l)||Array.isArray(l)))o=o[u]=i5(l);else{var c=s[a+1];o=o[u]=I_(c)&&Number(c)>=0?[]:{}}}return(a===0?e:o)[s[a]]===r?e:(r===void 0?delete o[s[a]]:o[s[a]]=r,a===0&&r===void 0&&delete n[s[a]],n)}function gD(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o],u=e[s];zl(u)?r.get(u)||(r.set(u,!0),n[s]=Array.isArray(u)?[]:{},gD(u,t,r,n[s])):n[s]=t}return n}function k_(e,t){switch(t.type){case"SET_VALUES":return Oe({},e,{values:t.payload});case"SET_TOUCHED":return Oe({},e,{touched:t.payload});case"SET_ERRORS":return(0,oo.default)(e.errors,t.payload)?e:Oe({},e,{errors:t.payload});case"SET_STATUS":return Oe({},e,{status:t.payload});case"SET_ISSUBMITTING":return Oe({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Oe({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Oe({},e,{values:wn(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Oe({},e,{touched:wn(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Oe({},e,{errors:wn(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Oe({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Oe({},e,{touched:gD(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Oe({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Oe({},e,{isSubmitting:!1});default:return e}}var ra={},jd={};function N_(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,a=e.validateOnMount,s=a===void 0?!1:a,u=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,p=e.onSubmit,d=na(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=Oe({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:p},d),g=(0,ne.useRef)(h.initialValues),v=(0,ne.useRef)(h.initialErrors||ra),m=(0,ne.useRef)(h.initialTouched||jd),b=(0,ne.useRef)(h.initialStatus),y=(0,ne.useRef)(!1),x=(0,ne.useRef)({});(0,ne.useEffect)(function(){return y.current=!0,function(){y.current=!1}},[]);var w=(0,ne.useState)(0),S=w[1],E=(0,ne.useRef)({values:Hs(h.initialValues),errors:Hs(h.initialErrors)||ra,touched:Hs(h.initialTouched)||jd,status:Hs(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),D=E.current,P=(0,ne.useCallback)(function(O){var Y=E.current;E.current=k_(Y,O),Y!==E.current&&S(function(re){return re+1})},[]),F=(0,ne.useCallback)(function(O,Y){return new Promise(function(re,X){var le=h.validate(O,Y);le==null?re(ra):m5(le)?le.then(function(Se){re(Se||ra)},function(Se){X(Se)}):re(le)})},[h.validate]),B=(0,ne.useCallback)(function(O,Y){var re=h.validationSchema,X=$t(re)?re(Y):re,le=Y&&X.validateAt?X.validateAt(Y,O):L_(O,X);return new Promise(function(Se,Ae){le.then(function(){Se(ra)},function(bt){bt.name==="ValidationError"?Se(V_(bt)):Ae(bt)})})},[h.validationSchema]),I=(0,ne.useCallback)(function(O,Y){return new Promise(function(re){return re(x.current[O].validate(Y))})},[]),_=(0,ne.useCallback)(function(O){var Y=Object.keys(x.current).filter(function(X){return $t(x.current[X].validate)}),re=Y.length>0?Y.map(function(X){return I(X,mt(O,X))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(re).then(function(X){return X.reduce(function(le,Se,Ae){return Se==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Se&&(le=wn(le,Y[Ae],Se)),le},{})})},[I]),L=(0,ne.useCallback)(function(O){return Promise.all([_(O),h.validationSchema?B(O):{},h.validate?F(O):{}]).then(function(Y){var re=Y[0],X=Y[1],le=Y[2],Se=ld.all([re,X,le],{arrayMerge:$_});return Se})},[h.validate,h.validationSchema,_,F,B]),z=Br(function(O){return O===void 0&&(O=D.values),P({type:"SET_ISVALIDATING",payload:!0}),L(O).then(function(Y){return y.current&&(P({type:"SET_ISVALIDATING",payload:!1}),P({type:"SET_ERRORS",payload:Y})),Y})});(0,ne.useEffect)(function(){s&&y.current===!0&&(0,oo.default)(g.current,h.initialValues)&&z(g.current)},[s,z]);var N=(0,ne.useCallback)(function(O){var Y=O&&O.values?O.values:g.current,re=O&&O.errors?O.errors:v.current?v.current:h.initialErrors||{},X=O&&O.touched?O.touched:m.current?m.current:h.initialTouched||{},le=O&&O.status?O.status:b.current?b.current:h.initialStatus;g.current=Y,v.current=re,m.current=X,b.current=le;var Se=function(){P({type:"RESET_FORM",payload:{isSubmitting:!!O&&!!O.isSubmitting,errors:re,touched:X,status:le,values:Y,isValidating:!!O&&!!O.isValidating,submitCount:O&&O.submitCount&&typeof O.submitCount=="number"?O.submitCount:0}})};if(h.onReset){var Ae=h.onReset(D.values,Te);m5(Ae)?Ae.then(Se):Se()}else Se()},[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);(0,ne.useEffect)(function(){y.current===!0&&!(0,oo.default)(g.current,h.initialValues)&&c&&(g.current=h.initialValues,N(),s&&z(g.current))},[c,h.initialValues,N,s,z]),(0,ne.useEffect)(function(){c&&y.current===!0&&!(0,oo.default)(v.current,h.initialErrors)&&(v.current=h.initialErrors||ra,P({type:"SET_ERRORS",payload:h.initialErrors||ra}))},[c,h.initialErrors]),(0,ne.useEffect)(function(){c&&y.current===!0&&!(0,oo.default)(m.current,h.initialTouched)&&(m.current=h.initialTouched||jd,P({type:"SET_TOUCHED",payload:h.initialTouched||jd}))},[c,h.initialTouched]),(0,ne.useEffect)(function(){c&&y.current===!0&&!(0,oo.default)(b.current,h.initialStatus)&&(b.current=h.initialStatus,P({type:"SET_STATUS",payload:h.initialStatus}))},[c,h.initialStatus,h.initialTouched]);var $=Br(function(O){if(x.current[O]&&$t(x.current[O].validate)){var Y=mt(D.values,O),re=x.current[O].validate(Y);return m5(re)?(P({type:"SET_ISVALIDATING",payload:!0}),re.then(function(X){return X}).then(function(X){P({type:"SET_FIELD_ERROR",payload:{field:O,value:X}}),P({type:"SET_ISVALIDATING",payload:!1})})):(P({type:"SET_FIELD_ERROR",payload:{field:O,value:re}}),Promise.resolve(re))}else if(h.validationSchema)return P({type:"SET_ISVALIDATING",payload:!0}),B(D.values,O).then(function(X){return X}).then(function(X){P({type:"SET_FIELD_ERROR",payload:{field:O,value:mt(X,O)}}),P({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Z=(0,ne.useCallback)(function(O,Y){var re=Y.validate;x.current[O]={validate:re}},[]),te=(0,ne.useCallback)(function(O){delete x.current[O]},[]),oe=Br(function(O,Y){P({type:"SET_TOUCHED",payload:O});var re=Y===void 0?o:Y;return re?z(D.values):Promise.resolve()}),j=(0,ne.useCallback)(function(O){P({type:"SET_ERRORS",payload:O})},[]),fe=Br(function(O,Y){var re=$t(O)?O(D.values):O;P({type:"SET_VALUES",payload:re});var X=Y===void 0?r:Y;return X?z(re):Promise.resolve()}),ye=(0,ne.useCallback)(function(O,Y){P({type:"SET_FIELD_ERROR",payload:{field:O,value:Y}})},[]),he=Br(function(O,Y,re){P({type:"SET_FIELD_VALUE",payload:{field:O,value:Y}});var X=re===void 0?r:re;return X?z(wn(D.values,O,Y)):Promise.resolve()}),We=(0,ne.useCallback)(function(O,Y){var re=Y,X=O,le;if(!d5(O)){O.persist&&O.persist();var Se=O.target?O.target:O.currentTarget,Ae=Se.type,bt=Se.name,Ao=Se.id,qr=Se.value,b0=Se.checked,B7=Se.outerHTML,$a=Se.options,C0=Se.multiple;re=Y||bt||Ao,X=/number|range/.test(Ae)?(le=parseFloat(qr),isNaN(le)?"":le):/checkbox/.test(Ae)?H_(mt(D.values,re),b0,qr):$a&&C0?z_($a):qr}re&&he(re,X)},[he,D.values]),R=Br(function(O){if(d5(O))return function(Y){return We(Y,O)};We(O)}),U=Br(function(O,Y,re){Y===void 0&&(Y=!0),P({type:"SET_FIELD_TOUCHED",payload:{field:O,value:Y}});var X=re===void 0?o:re;return X?z(D.values):Promise.resolve()}),G=(0,ne.useCallback)(function(O,Y){O.persist&&O.persist();var re=O.target,X=re.name,le=re.id,Se=re.outerHTML,Ae=Y||X||le;U(Ae,!0)},[U]),W=Br(function(O){if(d5(O))return function(Y){return G(Y,O)};G(O)}),ce=(0,ne.useCallback)(function(O){$t(O)?P({type:"SET_FORMIK_STATE",payload:O}):P({type:"SET_FORMIK_STATE",payload:function(){return O}})},[]),ae=(0,ne.useCallback)(function(O){P({type:"SET_STATUS",payload:O})},[]),ge=(0,ne.useCallback)(function(O){P({type:"SET_ISSUBMITTING",payload:O})},[]),xe=Br(function(){return P({type:"SUBMIT_ATTEMPT"}),z().then(function(O){var Y=O instanceof Error,re=!Y&&Object.keys(O).length===0;if(re){var X;try{if(X=we(),X===void 0)return}catch(le){throw le}return Promise.resolve(X).then(function(le){return y.current&&P({type:"SUBMIT_SUCCESS"}),le}).catch(function(le){if(y.current)throw P({type:"SUBMIT_FAILURE"}),le})}else if(y.current&&(P({type:"SUBMIT_FAILURE"}),Y))throw O})}),Ee=Br(function(O){if(O&&O.preventDefault&&$t(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&$t(O.stopPropagation)&&O.stopPropagation(),0)var Y;xe().catch(function(re){console.warn("Warning: An unhandled error was caught from submitForm()",re)})}),Te={resetForm:N,validateForm:z,validateField:$,setErrors:j,setFieldError:ye,setFieldTouched:U,setFieldValue:he,setStatus:ae,setSubmitting:ge,setTouched:oe,setValues:fe,setFormikState:ce,submitForm:xe},we=Br(function(){return p(D.values,Te)}),vt=Br(function(O){O&&O.preventDefault&&$t(O.preventDefault)&&O.preventDefault(),O&&O.stopPropagation&&$t(O.stopPropagation)&&O.stopPropagation(),N()}),yt=(0,ne.useCallback)(function(O){return{value:mt(D.values,O),error:mt(D.errors,O),touched:!!mt(D.touched,O),initialValue:mt(g.current,O),initialTouched:!!mt(m.current,O),initialError:mt(v.current,O)}},[D.errors,D.touched,D.values]),Ue=(0,ne.useCallback)(function(O){return{setValue:function(re,X){return he(O,re,X)},setTouched:function(re,X){return U(O,re,X)},setError:function(re){return ye(O,re)}}},[he,U,ye]),dr=(0,ne.useCallback)(function(O){var Y=zl(O),re=Y?O.name:O,X=mt(D.values,re),le={name:re,value:X,onChange:R,onBlur:W};if(Y){var Se=O.type,Ae=O.value,bt=O.as,Ao=O.multiple;Se==="checkbox"?Ae===void 0?le.checked=!!X:(le.checked=!!(Array.isArray(X)&&~X.indexOf(Ae)),le.value=Ae):Se==="radio"?(le.checked=X===Ae,le.value=Ae):bt==="select"&&Ao&&(le.value=le.value||[],le.multiple=!0)}return le},[W,R,D.values]),Ut=(0,ne.useMemo)(function(){return!(0,oo.default)(g.current,D.values)},[g.current,D.values]),Pt=(0,ne.useMemo)(function(){return typeof u<"u"?Ut?D.errors&&Object.keys(D.errors).length===0:u!==!1&&$t(u)?u(h):u:D.errors&&Object.keys(D.errors).length===0},[u,Ut,D.errors,h]),mr=Oe({},D,{initialValues:g.current,initialErrors:v.current,initialTouched:m.current,initialStatus:b.current,handleBlur:W,handleChange:R,handleReset:vt,handleSubmit:Ee,resetForm:N,setErrors:j,setFormikState:ce,setFieldTouched:U,setFieldValue:he,setFieldError:ye,setStatus:ae,setSubmitting:ge,setTouched:oe,setValues:fe,submitForm:xe,validateForm:z,validateField:$,isValid:Pt,dirty:Ut,unregisterField:te,registerField:Z,getFieldProps:dr,getFieldMeta:yt,getFieldHelpers:Ue,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return mr}function vD(e){var t=N_(e),r=e.component,n=e.children,o=e.render,a=e.innerRef;return(0,ne.useImperativeHandle)(a,function(){return t}),(0,ne.createElement)(M_,{value:t},r?(0,ne.createElement)(r,t):o?o(t):n?$t(n)?n(t):hD(n)?null:ne.Children.only(n):null)}function V_(e){var t={};if(e.inner){if(e.inner.length===0)return wn(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var a;if(r){if(n>=o.length)break;a=o[n++]}else{if(n=o.next(),n.done)break;a=n.value}var s=a;mt(t,s.path)||(t=wn(t,s.path,s.message))}}return t}function L_(e,t,r,n){r===void 0&&(r=!1);var o=g5(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function g5(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(o){return Array.isArray(o)===!0||Zg(o)?g5(o):o!==""?o:void 0}):Zg(e[n])?t[n]=g5(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function $_(e,t,r){var n=e.slice();return t.forEach(function(a,s){if(typeof n[s]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(a);n[s]=l?ld(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[s]=ld(e[s],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function z_(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function H_(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),o=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,a).concat(n.slice(a+1)):n}var G_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ne.useLayoutEffect:ne.useEffect;function Br(e){var t=(0,ne.useRef)(e);return G_(function(){t.current=e}),(0,ne.useCallback)(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.current.apply(void 0,n)},[])}function yD(e){var t=e.validate,r=e.name,n=e.render,o=e.children,a=e.as,s=e.component,u=e.className,l=na(e,["validate","name","render","children","as","component","className"]),c=ai(),p=na(c,["validate","validationSchema"]),d=p.registerField,h=p.unregisterField;(0,ne.useEffect)(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var g=p.getFieldProps(Oe({name:r},l)),v=p.getFieldMeta(r),m={field:g,form:p};if(n)return n(Oe({},m,{meta:v}));if($t(o))return o(Oe({},m,{meta:v}));if(s){if(typeof s=="string"){var b=l.innerRef,y=na(l,["innerRef"]);return(0,ne.createElement)(s,Oe({ref:b},g,y,{className:u}),o)}return(0,ne.createElement)(s,Oe({field:g,form:p},l,{className:u}),o)}var x=a||"input";if(typeof x=="string"){var w=l.innerRef,S=na(l,["innerRef"]);return(0,ne.createElement)(x,Oe({ref:w},g,S,{className:u}),o)}return(0,ne.createElement)(x,Oe({},g,l,{className:u}),o)}var v5=(0,ne.forwardRef)(function(e,t){var r=e.action,n=na(e,["action"]),o=r??"#",a=ai(),s=a.handleReset,u=a.handleSubmit;return(0,ne.createElement)("form",Oe({onSubmit:u,ref:t,onReset:s,action:o},n))});v5.displayName="Form";var j_=function(t,r,n){var o=oa(t),a=o[r];return o.splice(r,1),o.splice(n,0,a),o},__=function(t,r,n){var o=oa(t),a=o[r];return o[r]=o[n],o[n]=a,o},h5=function(t,r,n){var o=oa(t);return o.splice(r,0,n),o},W_=function(t,r,n){var o=oa(t);return o[r]=n,o},oa=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,o){return o>n?o:n},0);return Array.from(Oe({},t,{length:r+1}))}else return[]},mD=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||zl(o)){var a=oa(o);return n(a)}return o}},U_=function(e){O_(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(a,s,u){var l=o.props,c=l.name,p=l.formik.setFormikState;p(function(d){var h=mD(u,a),g=mD(s,a),v=wn(d.values,c,a(mt(d.values,c))),m=u?h(mt(d.errors,c)):void 0,b=s?g(mt(d.touched,c)):void 0;return dD(m)&&(m=void 0),dD(b)&&(b=void 0),Oe({},d,{values:v,errors:u?wn(d.errors,c,m):d.errors,touched:s?wn(d.touched,c,b):d.touched})})},o.push=function(a){return o.updateArrayField(function(s){return[].concat(oa(s),[Hs(a)])},!1,!1)},o.handlePush=function(a){return function(){return o.push(a)}},o.swap=function(a,s){return o.updateArrayField(function(u){return __(u,a,s)},!0,!0)},o.handleSwap=function(a,s){return function(){return o.swap(a,s)}},o.move=function(a,s){return o.updateArrayField(function(u){return j_(u,a,s)},!0,!0)},o.handleMove=function(a,s){return function(){return o.move(a,s)}},o.insert=function(a,s){return o.updateArrayField(function(u){return h5(u,a,s)},function(u){return h5(u,a,null)},function(u){return h5(u,a,null)})},o.handleInsert=function(a,s){return function(){return o.insert(a,s)}},o.replace=function(a,s){return o.updateArrayField(function(u){return W_(u,a,s)},!1,!1)},o.handleReplace=function(a,s){return function(){return o.replace(a,s)}},o.unshift=function(a){var s=-1;return o.updateArrayField(function(u){var l=u?[a].concat(u):[a];return s=l.length,l},function(u){return u?[null].concat(u):[null]},function(u){return u?[null].concat(u):[null]}),s},o.handleUnshift=function(a){return function(){return o.unshift(a)}},o.handleRemove=function(a){return function(){return o.remove(a)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(pD(o)),o.pop=o.pop.bind(pD(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,oo.default)(mt(o.formik.values,o.name),mt(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var a;return this.updateArrayField(function(s){var u=s?oa(s):[];return a||(a=u[o]),$t(u.splice)&&u.splice(o,1),$t(u.every)&&u.every(function(l){return l===void 0})?[]:u},!0,!0),a},r.pop=function(){var o;return this.updateArrayField(function(a){var s=a.slice();return o||(o=s&&s.pop&&s.pop()),s},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,s=a.component,u=a.render,l=a.children,c=a.name,p=a.formik,d=na(p,["validate","validationSchema"]),h=Oe({},o,{form:d,name:c});return s?(0,ne.createElement)(s,h):u?u(h):l?typeof l=="function"?l(h):hD(l)?null:ne.Children.only(l):null},t}(ne.Component);U_.defaultProps={validateOnChange:!0};i();i();var bD=require("react"),CD=()=>{let[e,t]=(0,bD.useState)(!1),r=()=>t(!0),n=()=>t(!0),o=()=>t(!0),u={onFocus:r,onMouseEnter:n,onBlur:()=>t(!1),onMouseLeave:()=>t(!1)};return e||(u.onMouseMove=o),[e,u,t]};i();i();var xD=require("react");var K_=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,Hl=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:a,eventOptions:s}=r,u=(0,xD.useMemo)(()=>{let l=K_(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&l(c))return t(c)}},n);od(o,u,a,s)};i();i();var wD=require("react");var Wd=e=>{let[t,r]=(0,wD.useState)([!1,null]);return Hl(e,n=>r([!0,n]),{eventName:"keydown"},[t]),Hl(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};i();i();i();i();var Ud=require("react"),y5=(e,t)=>{let r=(0,Ud.useRef)(!0);(0,Ud.useEffect)(()=>r.current?(r.current=!1,()=>{}):e(),t)};var Kd=(e,t=void 0,r=void 0)=>{let[n,o]=Wd(e);y5(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};i();i();var SD=require("react"),DD=(e,t,r=window.localStorage)=>{let[n,o]=(0,SD.useState)(()=>{try{let u=r.getItem(e);return u!==null&&u?JSON.parse(u):t}catch(u){return console.log(u),t}});return[n,u=>{try{let l=u instanceof Function?u(n):u;o(l),r.setItem(e,JSON.stringify(l))}catch(l){console.error(l)}},()=>{r.removeItem(e),o(void 0)}]};i();i();var js=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};i();i();var ED=require("react"),_s=(e,t)=>{(0,ED.useEffect)(()=>{let r=n=>{!e.current||e.current.contains(n.target)||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])};i();i();var PD=require("react"),qd=e=>{(0,PD.useLayoutEffect)(()=>{if(e){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}return()=>{}},[e])};i();i();var Xd=require("react"),Ws=e=>{let t=(0,Xd.useRef)();return(0,Xd.useEffect)(()=>{t.current=e}),t.current};i();i();var ql=A(require("styled-components")),tE=A(ee());i();i();var wt=require("react"),OD=require("react-dom"),MD=require("styled-components"),ID=A(Jd()),Or=A(ee());i();i();var AD=require("react");var RD=require("styled-components"),FD=A(ee()),si=require("react/jsx-runtime"),Z_=100,Q_=RD.createGlobalStyle`
|
|
709
709
|
.EnterTransition {
|
|
710
710
|
opacity: 0;
|
|
711
711
|
}
|
|
712
|
-
`,Gl=({children:e})=>{let t=
|
|
712
|
+
`,Gl=({children:e})=>{let t=AD.Children.map(e,r=>r)?.filter(Boolean);return(0,si.jsxs)(si.Fragment,{children:[(0,si.jsx)(Q_,{}),(0,si.jsx)(Pl,{children:(0,FD.isNotUndefined)(t)?t.map(r=>(0,si.jsx)(wl.div,{animate:{opacity:1},exit:{opacity:0},initial:{opacity:0},transition:{duration:Z_/1e3},children:r},r.key)):null})]})};var Sn=require("react/jsx-runtime"),b5="is-scroll-locked",eW=MD.createGlobalStyle`
|
|
713
713
|
.${b5} {
|
|
714
714
|
overflow: hidden;
|
|
715
715
|
}
|
|
716
|
-
`,
|
|
716
|
+
`,kD=(e=document)=>{let t=(0,Or.isNotNil)(e)?e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'):[];return Array.from(t).filter(r=>window.getComputedStyle(r).getPropertyValue("display")!=="none")},tW=(e,t)=>{let r=kD(e.current);if(r.length===0){t.preventDefault();return}let n=r[0],o=r[r.length-1];if(r.length===1){t.preventDefault(),n.focus();return}if(t.shiftKey){document.activeElement===n&&(t.preventDefault(),o.focus());return}document.activeElement===o&&(t.preventDefault(),n.focus())},BD=({className:e,initialShownState:t=!1,isDismissible:r=!0,onBeforeHide:n,onHide:o,onShow:a,render:s,toggle:u})=>{let{attemptShowModal:l,attemptHideModal:c,removeModalFromQueue:p}=Kg(),[d,h]=(0,wt.useState)(!1),[g,v]=(0,wt.useState)(t),m=Ws(d),b=()=>v(!1),y=(0,wt.useCallback)(()=>v(!0),[]),x=(0,wt.useRef)(),w=document.createElement("div");w.classList.add("Modal"),(0,Or.isNotUndefined)(e)&&w.classList.add(e);let S=(0,wt.useRef)(w),E=(0,wt.useCallback)(()=>{if((0,Or.isNotUndefined)(n)){let{shouldShowMessage:D,message:P}=Object(n());if(D&&!window.confirm(P))return}b(),o&&o()},[n,o]);return(0,wt.useEffect)(()=>{let D=P=>{P.key==="Escape"&&r&&E()};return d&&(document.addEventListener("keyup",D),document.querySelector("body")?.classList.add(b5)),()=>{document.removeEventListener("keyup",D),document.querySelector("body")?.classList.remove(b5)}},[d,E,r]),(0,wt.useEffect)(()=>{v(t)},[v,t]),(0,wt.useEffect)(()=>{let D=P=>{P.key==="Tab"&&tW(S,P)};if(d){let P=kD(S.current);if(!P.find(F=>F===document.activeElement)){let F=P[0];F&&F.focus()}document.addEventListener("keydown",D),a&&a()}return()=>{document.removeEventListener("keydown",D)}},[d,a]),(0,wt.useEffect)(()=>{!d&&(0,Or.isNotNil)(m)&&m&&x.current&&x.current.focus()},[d,m]),(0,wt.useEffect)(()=>{let D=S.current;return document.body.appendChild(D),()=>D.remove()},[]),(0,wt.useEffect)(()=>()=>{(0,Or.isUndefined)(p)||p(h)},[p]),(0,wt.useEffect)(()=>{if(g&&(0,Or.isNotUndefined)(l))l(h);else{if((0,Or.isUndefined)(c))return;c(h)}},[l,c,g]),!l||!c||!p?null:(0,Sn.jsxs)(Sn.Fragment,{children:[(0,Sn.jsx)(eW,{}),(0,Or.isNotUndefined)(u)&&u(y,x),(0,OD.createPortal)((0,Sn.jsx)(Gl,{children:d&&(0,Or.isNotUndefined)(s)?s(E):void 0}),S.current)]})},ia=e=>{let t=Kg();return(0,ID.default)(t,{})?(0,Sn.jsx)(ed,{children:(0,Sn.jsx)(BD,{...e})}):(0,Sn.jsx)(BD,{...e})};ia.displayName="ModalBase_VHS";i();i();var ND=A(require("styled-components")),VD=A(ee());var LD=require("react/jsx-runtime"),rW=e=>{if(e==="center")return"center";if(e==="left")return"flex-start";if(e==="right")return"flex-end"},nW=ND.default.div`
|
|
717
717
|
display: flex;
|
|
718
718
|
|
|
719
719
|
/* this helps ensure that primary buttons appear at the top of the column */
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
width: auto;
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
|
-
`,io=({children:e,align:t="left",fullWidth:r=!1,...n})=>(0,
|
|
739
|
+
`,io=({children:e,align:t="left",fullWidth:r=!1,...n})=>(0,VD.isNil)(e)?null:(0,LD.jsx)(nW,{align:t,fullWidth:r,...n,children:e});io.displayName="ButtonGroup_VHS";i();i();var GD=require("react"),it=A(require("styled-components"));i();i();var $D=A(ee()),Us=A(require("styled-components")),HD=require("react/jsx-runtime"),Dr=Us.css`
|
|
740
740
|
overflow: hidden;
|
|
741
741
|
text-overflow: ellipsis;
|
|
742
742
|
white-space: nowrap;
|
|
@@ -758,17 +758,17 @@
|
|
|
758
758
|
display: inline;
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
|
-
`,
|
|
761
|
+
`,zD=Us.css`
|
|
762
762
|
min-width: 0;
|
|
763
763
|
`,oW=Us.default.div`
|
|
764
764
|
${Dr};
|
|
765
|
-
${({lines:e})=>{if((0
|
|
765
|
+
${({lines:e})=>{if((0,$D.isNotNil)(e))return Us.css`
|
|
766
766
|
-webkit-box-orient: vertical;
|
|
767
767
|
-webkit-line-clamp: ${e};
|
|
768
768
|
display: -webkit-box;
|
|
769
769
|
white-space: initial;
|
|
770
770
|
`}}
|
|
771
|
-
`,C5=({children:e,lines:t,...r})=>(0,
|
|
771
|
+
`,C5=({children:e,lines:t,...r})=>(0,HD.jsx)(oW,{lines:t,...r,children:e});C5.displayName="Ellipsis_VHS";var jD=require("react/jsx-runtime"),iW={left:"left",right:"right",center:"center",justify:"justify"};var aW=it.css`
|
|
772
772
|
font-size: 24px;
|
|
773
773
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
774
774
|
line-height: 1.25;
|
|
@@ -838,7 +838,7 @@
|
|
|
838
838
|
display: block;
|
|
839
839
|
margin-bottom: ${t.spacing.space05};
|
|
840
840
|
`}
|
|
841
|
-
`,nr=(0,
|
|
841
|
+
`,nr=(0,GD.forwardRef)(({align:e="left",bold:t=!1,children:r,colorOverride:n,disabled:o=!1,ellipsis:a=!1,inline:s=!1,italic:u=!1,preventUserSelect:l=!1,renderAs:c="div",variant:p="body1",...d},h)=>(0,jD.jsx)(vW,{ref:h,align:e,as:c,bold:t,colorOverride:n,disabled:o,ellipsis:a,inline:s,italic:u,preventUserSelect:l,variant:p,...d,children:r}));nr.displayName="Text_VHS";i();i();var _D=A(require("styled-components")),WD=require("react/jsx-runtime"),yW={normal:"normal",top:"start",center:"center",bottom:"end"},bW={normal:"normal",left:"start",center:"center",right:"end"},CW=_D.default.div`
|
|
842
842
|
align-items: ${({alignVertical:e})=>yW[e]};
|
|
843
843
|
background: ${({backgroundColor:e})=>e};
|
|
844
844
|
bottom: 0;
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
right: 0;
|
|
851
851
|
top: 0;
|
|
852
852
|
z-index: ${({theme:e,elevated:t})=>t?e.zIndex.BackdropElevated:e.zIndex.Backdrop};
|
|
853
|
-
`,tn=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,elevated:o=!1,...a})=>(0,
|
|
853
|
+
`,tn=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,elevated:o=!1,...a})=>(0,WD.jsx)(CW,{alignHorizontal:e,alignVertical:t,backgroundColor:r,elevated:o,...a,children:n});tn.displayName="Backdrop_VHS";i();i();i();i();var t1=require("react"),fi=A(require("styled-components"));var JD=A(ee());i();i();var jl=A(require("styled-components")),UD=A(ee()),x5=require("react/jsx-runtime"),Ks=jl.css`
|
|
854
854
|
border: 0;
|
|
855
855
|
clip: rect(1px, 1px, 1px, 1px); /* deprecated but remains as fallback */
|
|
856
856
|
clip-path: inset(50%); /* modern but less support */
|
|
@@ -866,7 +866,7 @@
|
|
|
866
866
|
&:not(:focus-within) {
|
|
867
867
|
${Ks}
|
|
868
868
|
}
|
|
869
|
-
`,_l=({text:e,children:t,focusable:r=!1,...n})=>{let o=(0,
|
|
869
|
+
`,_l=({text:e,children:t,focusable:r=!1,...n})=>{let o=(0,UD.isNotNil)(e)?e:t;return r?(0,x5.jsx)(wW,{...n,children:o}):(0,x5.jsx)(xW,{...n,children:o})};_l.displayName="ScreenReaderOnly_VHS";i();i();var ao=require("react"),XD=A(require("styled-components"));i();i();var St=[];for(Zd=0;Zd<256;++Zd)St.push((Zd+256).toString(16).slice(1));var Zd;function KD(e,t=0){return(St[e[t+0]]+St[e[t+1]]+St[e[t+2]]+St[e[t+3]]+"-"+St[e[t+4]]+St[e[t+5]]+"-"+St[e[t+6]]+St[e[t+7]]+"-"+St[e[t+8]]+St[e[t+9]]+"-"+St[e[t+10]]+St[e[t+11]]+St[e[t+12]]+St[e[t+13]]+St[e[t+14]]+St[e[t+15]]).toLowerCase()}i();var Qd,SW=new Uint8Array(16);function w5(){if(!Qd&&(Qd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Qd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qd(SW)}i();i();var DW=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),S5={randomUUID:DW};function EW(e,t,r){if(S5.randomUUID&&!t&&!e)return S5.randomUUID();e=e||{};var n=e.random||(e.rng||w5)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return KD(n)}var Wl=EW;var YD=A(ee());i();var ui=A(require("styled-components"));var D5=require("react/jsx-runtime"),aa=8,Ul=ui.default.div`
|
|
870
870
|
color: ${({fontColorOverride:e})=>e??"white"};
|
|
871
871
|
font-size: 12px;
|
|
872
872
|
font-weight: ${({theme:e})=>e.font.weight.regular};
|
|
@@ -956,12 +956,12 @@
|
|
|
956
956
|
}
|
|
957
957
|
|
|
958
958
|
${({direction:e})=>{switch(e){case"top":return PW;case"bottom":return TW;case"left":return AW;case"right":return RW;default:return}}}
|
|
959
|
-
`,
|
|
960
|
-
`));a=a.slice(0,s)}return a=`${a.trim()}${r}`,(0,qs.jsx)(qs.Fragment,{children:a})};Kl.displayName="Truncate_VHS";var li=require("react/jsx-runtime"),BW=e=>`${e}${Wl()}`,OW=
|
|
959
|
+
`,qD=({id:e,active:t,direction:r,children:n,forceState:o,shouldWrap:a,backgroundColorOverride:s,fontColorOverride:u})=>{let l=Be("grey900");return(0,D5.jsx)(FW,{active:t,"aria-hidden":!t,backgroundColor:s??l,"data-testid":"tooltip-content",direction:r,fontColorOverride:u,forceState:o,id:e,shouldWrap:a,children:(0,D5.jsx)(Ul,{fontColorOverride:u,children:n})})};i();i();var e1=A(ee()),qs=require("react/jsx-runtime"),Kl=({children:e,maxChars:t,terminator:r="...",breakOnWords:n=!1})=>{if((0,e1.isNil)(e))return null;let o=e.length+r.length>=t;if(!(0,e1.isString)(e)||t<=0||!o)return(0,qs.jsx)(qs.Fragment,{children:e});let a=e.slice(0,t-r.length);if(n){let s=Math.max(a.lastIndexOf(" "),a.lastIndexOf(`
|
|
960
|
+
`));a=a.slice(0,s)}return a=`${a.trim()}${r}`,(0,qs.jsx)(qs.Fragment,{children:a})};Kl.displayName="Truncate_VHS";var li=require("react/jsx-runtime"),BW=e=>`${e}${Wl()}`,OW=XD.default.div`
|
|
961
961
|
display: inline-block;
|
|
962
962
|
position: relative;
|
|
963
963
|
width: inherit;
|
|
964
|
-
`,sa=({label:e,direction:t="top",duration:r=2e3,eventType:n="hover",forceState:o=void 0,maxChars:a=null,children:s,id:u=null,shouldWrap:l=!1,backgroundColorOverride:c,fontColorOverride:p,...d})=>{let[h,g]=(0,ao.useState)(!1),v=(0,ao.useMemo)(()=>u??BW("ra-tooltip-"),[u]),m=(0,ao.useRef)(null),b=(0,ao.useRef)(null),y=()=>{b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{g(!1)},r)},x=()=>{g(!0),r&&(clearTimeout(b.current??void 0),y())},w=()=>g(!0),S=()=>g(!1),E=()=>x(),D=()=>g(!1);if((0,ao.useEffect)(()=>{let B=I=>{if(h){if(m.current===null||m.current.contains(I.target))return;g(!1)}};return r||document.addEventListener("mousedown",B,!1),()=>{b.current&&clearTimeout(b.current),document.removeEventListener("mousedown",B,!1)}},[h,b,r]),(0,
|
|
964
|
+
`,sa=({label:e,direction:t="top",duration:r=2e3,eventType:n="hover",forceState:o=void 0,maxChars:a=null,children:s,id:u=null,shouldWrap:l=!1,backgroundColorOverride:c,fontColorOverride:p,...d})=>{let[h,g]=(0,ao.useState)(!1),v=(0,ao.useMemo)(()=>u??BW("ra-tooltip-"),[u]),m=(0,ao.useRef)(null),b=(0,ao.useRef)(null),y=()=>{b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{g(!1)},r)},x=()=>{g(!0),r&&(clearTimeout(b.current??void 0),y())},w=()=>g(!0),S=()=>g(!1),E=()=>x(),D=()=>g(!1);if((0,ao.useEffect)(()=>{let B=I=>{if(h){if(m.current===null||m.current.contains(I.target))return;g(!1)}};return r||document.addEventListener("mousedown",B,!1),()=>{b.current&&clearTimeout(b.current),document.removeEventListener("mousedown",B,!1)}},[h,b,r]),(0,YD.isString)(e)&&!e.length)return(0,li.jsx)(li.Fragment,{children:s});let P=e;return a!==null&&(P=(0,li.jsx)(Kl,{breakOnWords:!0,maxChars:a,children:e})),(0,li.jsxs)(OW,{"aria-labelledby":v,role:"tooltip",...(()=>{let B={onFocus:E,onMouseLeave:S,onMouseOver:w,onBlur:D},I={onClick:x,ref:m};return n==="hover"?B:I})(),...d,children:[(0,li.jsx)(qD,{active:h,backgroundColorOverride:c,direction:t,fontColorOverride:p,forceState:o,id:v,shouldWrap:l,children:P}),s]})};sa.displayName="Tooltip_VHS";var ci=require("react/jsx-runtime");var MW=fi.css`
|
|
965
965
|
max-height: 16px;
|
|
966
966
|
max-width: 16px;
|
|
967
967
|
min-height: 16px;
|
|
@@ -1036,15 +1036,15 @@
|
|
|
1036
1036
|
color: ${({iconButtonColor:e})=>e};
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
`,LW=(e,t,r)=>(0,
|
|
1039
|
+
`,LW=(e,t,r)=>(0,JD.isNonEmptyString)(e)?e:t==="dark"?r.grey700:"#fff",$W=fi.default.button`
|
|
1040
1040
|
${Yo}
|
|
1041
1041
|
${VW}
|
|
1042
1042
|
transition: all ${({theme:e})=>e.duration.productive.moderate};
|
|
1043
1043
|
${({disabled:e})=>e?NW:void 0}
|
|
1044
1044
|
${({size:e})=>e==="sm"?MW:e==="md"?IW:kW};
|
|
1045
|
-
`,so=(0,t1.forwardRef)(({colorOverride:e,componentStyle:t="dark",disabled:r=!1,icon:n,label:o,onClick:a,preventTooltip:s=!1,size:u="md",tooltipDirection:l="top",...c},p)=>{let d=LW(e,t,Be()),h=(0,t1.useMemo)(()=>(0,ci.jsxs)($W,{ref:p,componentStyle:t,disabled:r,iconButtonColor:d,onClick:a,size:u,...c,children:[(0,ci.jsx)(ci.Fragment,{children:n}),(0,ci.jsx)(_l,{children:o})]}),[t,r,n,d,o,a,c,p,u]);return s?h:(0,ci.jsx)(sa,{direction:l,label:o,children:h})});so.displayName="IconButton_VHS";var E5=require("react/jsx-runtime"),Xs=({onClick:e,closeIconColorOverride:t})=>(0,E5.jsx)(so,{"aria-label":"Close",colorOverride:t,icon:(0,E5.jsx)(Pe,{size:"sm",type:"close"}),onClick:e,preventTooltip:!0,style:{position:"absolute",right:"16px",top:"16px",zIndex:1}});Xs.displayName="ModalCloseButton_VHS";i();var
|
|
1045
|
+
`,so=(0,t1.forwardRef)(({colorOverride:e,componentStyle:t="dark",disabled:r=!1,icon:n,label:o,onClick:a,preventTooltip:s=!1,size:u="md",tooltipDirection:l="top",...c},p)=>{let d=LW(e,t,Be()),h=(0,t1.useMemo)(()=>(0,ci.jsxs)($W,{ref:p,componentStyle:t,disabled:r,iconButtonColor:d,onClick:a,size:u,...c,children:[(0,ci.jsx)(ci.Fragment,{children:n}),(0,ci.jsx)(_l,{children:o})]}),[t,r,n,d,o,a,c,p,u]);return s?h:(0,ci.jsx)(sa,{direction:l,label:o,children:h})});so.displayName="IconButton_VHS";var E5=require("react/jsx-runtime"),Xs=({onClick:e,closeIconColorOverride:t})=>(0,E5.jsx)(so,{"aria-label":"Close",colorOverride:t,icon:(0,E5.jsx)(Pe,{size:"sm",type:"close"}),onClick:e,preventTooltip:!0,style:{position:"absolute",right:"16px",top:"16px",zIndex:1}});Xs.displayName="ModalCloseButton_VHS";i();var ZD=require("styled-components");var QD=e=>{switch(e){case"green":return gr("green");case"pink":return gr("pink");case"purple":return gr("purple");case"yellow":return gr("yellow");case"brandBlue":return gr("defaultLightOne");case"blue":return gr("defaultLightOne");default:return ZD.css`
|
|
1046
1046
|
background-color: ${e};
|
|
1047
|
-
`}};var Dt=require("react/jsx-runtime"),zW="532px",
|
|
1047
|
+
`}};var Dt=require("react/jsx-runtime"),zW="532px",eE=160,HW=ql.default.div`
|
|
1048
1048
|
background-color: white;
|
|
1049
1049
|
box-sizing: border-box;
|
|
1050
1050
|
display: flex;
|
|
@@ -1085,7 +1085,7 @@
|
|
|
1085
1085
|
`,jW=ql.default.div`
|
|
1086
1086
|
flex-grow: 1;
|
|
1087
1087
|
`,_W=ql.default.div`
|
|
1088
|
-
${({illustrationBackgroundColor:e})=>
|
|
1088
|
+
${({illustrationBackgroundColor:e})=>QD(e)};
|
|
1089
1089
|
align-items: center;
|
|
1090
1090
|
background-position: center;
|
|
1091
1091
|
background-size: cover;
|
|
@@ -1107,10 +1107,10 @@
|
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
1109
|
img {
|
|
1110
|
-
height: ${
|
|
1111
|
-
width: ${
|
|
1110
|
+
height: ${eE}px;
|
|
1111
|
+
width: ${eE}px;
|
|
1112
1112
|
}
|
|
1113
|
-
`,P5=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,elevated:a=!0,fullHeight:s=!1,closeIconColorOverride:u=void 0,illustration:l=null,illustrationBackgroundColor:c="brandBlue",initialShownState:p=!1,isDismissible:d=!0,onBeforeHide:h,onHide:g,onShow:v,render:m,title:b,toggle:y,width:x=zW,...w})=>(0,Dt.jsx)(ia,{className:o,initialShownState:p,isDismissible:d,onBeforeHide:h,onHide:g,onShow:v,render:S=>(0,Dt.jsx)(tn,{alignHorizontal:e,alignVertical:t,elevated:a,onClick:E=>{d&&(E.stopPropagation(),S())},children:(0,Dt.jsxs)(HW,{"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",fullHeight:s,onClick:E=>E.stopPropagation(),role:"dialog",...w,children:[d?(0,Dt.jsx)(Xs,{closeIconColorOverride:u,onClick:S}):null,(0,
|
|
1113
|
+
`,P5=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,elevated:a=!0,fullHeight:s=!1,closeIconColorOverride:u=void 0,illustration:l=null,illustrationBackgroundColor:c="brandBlue",initialShownState:p=!1,isDismissible:d=!0,onBeforeHide:h,onHide:g,onShow:v,render:m,title:b,toggle:y,width:x=zW,...w})=>(0,Dt.jsx)(ia,{className:o,initialShownState:p,isDismissible:d,onBeforeHide:h,onHide:g,onShow:v,render:S=>(0,Dt.jsx)(tn,{alignHorizontal:e,alignVertical:t,elevated:a,onClick:E=>{d&&(E.stopPropagation(),S())},children:(0,Dt.jsxs)(HW,{"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",fullHeight:s,onClick:E=>E.stopPropagation(),role:"dialog",...w,children:[d?(0,Dt.jsx)(Xs,{closeIconColorOverride:u,onClick:S}):null,(0,tE.isNotNil)(l)?(0,Dt.jsx)(_W,{illustrationBackgroundColor:c,children:typeof l=="string"?(0,Dt.jsx)("img",{alt:"",src:l}):l}):null,(0,Dt.jsxs)(GW,{width:x,children:[(0,Dt.jsxs)(jW,{children:[(0,Dt.jsx)(Dt.Fragment,{children:b?(0,Dt.jsx)(nr,{id:"dialogTitle",renderAs:"h2",style:{marginBottom:"16px"},variant:"headline1",children:b}):null}),(0,Dt.jsx)(Dt.Fragment,{children:m===void 0?n:m(S)})]}),(0,Dt.jsx)(io,{align:"right",style:{flexGrow:"0",marginTop:"24px"},children:typeof r=="function"?r(S):r})]})]})}),toggle:y});P5.displayName="ActionModal_VHS";i();i();var n1=require("react"),T5=A(ee()),o1=A(require("styled-components"));i();var nE={blue:["blue600","blue700","blue800"],brandBlue:["brandBlue600","brandBlue700","brandBlue800"],green:["green600","green700","green800"],pink:["pink600","pink700","pink800"],purple:["purple600","purple700","purple800"],red:["red600","red700","red800"],yellow:["yellow700","yellow800","yellow900"]},rE=Object.keys(nE),WW=31,UW=e=>Array.from(e).reduce((t,r)=>Math.imul(WW,t)+r.charCodeAt(0)|0,0),oE=({seed:e,themeColors:t})=>{let r=Math.abs(UW(e))%rE.length,n=rE[r];return nE[n].map(o=>t[o]).filter(o=>o!==void 0)};i();var Ys=A(ee()),KW=e=>new RegExp("<a?:.+?:\\d{18}>|\\p{Extended_Pictographic}","gu").test(e),iE=e=>(0,Ys.isNil)(e)||(0,Ys.isEmptyString)(e)||(0,Ys.isString)(e)&&KW(e)||typeof e!="string"?"U":e.substring(0,1).toUpperCase();var r1=require("react/jsx-runtime"),qW=o1.default.img`
|
|
1114
1114
|
align-items: center;
|
|
1115
1115
|
background-color: white;
|
|
1116
1116
|
border-radius: 50%;
|
|
@@ -1154,7 +1154,7 @@
|
|
|
1154
1154
|
}
|
|
1155
1155
|
`,JW=o1.default.div`
|
|
1156
1156
|
max-height: ${({maxHeight:e})=>e}px;
|
|
1157
|
-
`,A5=({imageUrl:e,heightAndWidth:t=24,initials:r,name:n,onImageLoad:o,...a})=>{let[s,u]=(0,n1.useState)(null),l=Be(),c=(0,n1.useMemo)(()=>(0,T5.isNil)(n)||n==="Anonymous"?l.grey600:
|
|
1157
|
+
`,A5=({imageUrl:e,heightAndWidth:t=24,initials:r,name:n,onImageLoad:o,...a})=>{let[s,u]=(0,n1.useState)(null),l=Be(),c=(0,n1.useMemo)(()=>(0,T5.isNil)(n)||n==="Anonymous"?l.grey600:oE({seed:n,themeColors:l})[0],[n,l]),p=()=>{u("loaded"),o?.("image")},d=()=>{u("error"),o?.("initials")},h=(0,T5.isNil)(e)||s==="error";return(0,r1.jsx)(JW,{...a,maxHeight:t,children:h?(0,r1.jsx)(YW,{backgroundColor:c??"",heightAndWidth:t,children:iE(r)}):(0,r1.jsx)(qW,{alt:n??"Unavailable",heightAndWidth:t,onError:d,onLoad:p,src:e})})};A5.displayName="Avatar_VHS";i();i();var sE=A(require("styled-components")),uE=A(ee());var lE=require("react/jsx-runtime"),aE=e=>!["cross-fade","element","image","image-set","linear-gradient","radial-gradient","conic-gradient","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","paint","url"].some(r=>e.startsWith(r)),ZW=e=>{if(e!==void 0&&Array.isArray(e))return e.map(t=>aE(t)?`url('${t}')`:t).join(", ");if(e!==void 0&&e!==""&&(0,uE.isString)(e))return aE(e)?`url('${e}')`:e},QW=e=>{if(e!=="")return jn(e)?(Object.keys(e).forEach(t=>{if(!["horizontal","vertical"].includes(t))throw new ReferenceError(`"${t}" is not a valid key for BackgroundImage component overflow prop; only "horizontal" or "vertical" allowed`)}),Object.entries(e).map(([t,r])=>{if(t==="horizontal")return`overflow-x: ${r};`;if(t==="vertical")return`overflow-y: ${r};`}).join("")):`overflow: ${e};`},eU=sE.default.div`
|
|
1158
1158
|
background-attachment: ${({bgAttachment:e})=>e};
|
|
1159
1159
|
background-clip: ${({bgClip:e})=>e};
|
|
1160
1160
|
background-color: ${({bgColor:e})=>e};
|
|
@@ -1169,7 +1169,7 @@
|
|
|
1169
1169
|
${({elOverflow:e})=>QW(e)};
|
|
1170
1170
|
position: relative;
|
|
1171
1171
|
width: ${({elWidth:e})=>e};
|
|
1172
|
-
`,R5=({children:e=void 0,attachment:t="scroll",clip:r="border-box",color:n=void 0,height:o="auto",origin:a=void 0,overflow:s="hidden",position:u="center",repeat:l="no-repeat",size:c="cover",src:p=void 0,width:d="100%",...h})=>(0,
|
|
1172
|
+
`,R5=({children:e=void 0,attachment:t="scroll",clip:r="border-box",color:n=void 0,height:o="auto",origin:a=void 0,overflow:s="hidden",position:u="center",repeat:l="no-repeat",size:c="cover",src:p=void 0,width:d="100%",...h})=>(0,lE.jsx)(eU,{bgAttachment:t,bgClip:r,bgColor:n,bgImage:p,bgOrigin:a,bgPosition:u,bgRepeat:l,bgSize:c,elHeight:o,elOverflow:s,elWidth:d,...h,children:e});R5.displayName="BackgroundImage_VHS";i();i();var fE=A(require("styled-components")),F5=A(ee());i();var cE=(e,t)=>{switch(e){case"error":return{backgroundColor:t.error300,textColor:t.error800};case"green":return{backgroundColor:t.green300,textColor:t.green800};case"grey":return{backgroundColor:t.grey300,textColor:t.grey1000};case"orange":return{backgroundColor:t.orange200,textColor:t.orange800};case"pink":return{backgroundColor:t.pink300,textColor:t.pink800};case"purple":return{backgroundColor:t.purple300,textColor:t.purple800};case"red":return{backgroundColor:t.red300,textColor:t.red800};case"success":return{backgroundColor:t.success200,textColor:t.success800};case"warning":return{backgroundColor:t.warning300,textColor:t.warning800};case"yellow":return{backgroundColor:t.yellow200,textColor:t.yellow800};case"brandBlue":default:return{backgroundColor:t.brandBlue200,textColor:t.brandBlue700}}};var Xl=require("react/jsx-runtime"),tU=fE.default.div`
|
|
1173
1173
|
align-items: center;
|
|
1174
1174
|
background: ${({backgroundColor:e})=>e};
|
|
1175
1175
|
border-radius: 999px;
|
|
@@ -1181,12 +1181,12 @@
|
|
|
1181
1181
|
padding-left: ${({hasIcon:e})=>e?"4px":"6px"};
|
|
1182
1182
|
padding-right: 6px;
|
|
1183
1183
|
width: fit-content;
|
|
1184
|
-
`,B5=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,textColor:a}=
|
|
1184
|
+
`,B5=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,textColor:a}=cE(e,Be());return(0,Xl.jsxs)(tU,{...n,backgroundColor:o,hasIcon:(0,F5.isNotNil)(r),textColor:a,children:[(0,F5.isNotNil)(r)&&(0,Xl.jsx)(Pe,{"data-testid":"badge-icon",size:"sm",type:r}),(0,Xl.jsx)("span",{children:t})]})};B5.displayName="Badge_VHS";i();i();var a1=A(require("styled-components")),hE=A(ee());i();var Js=A(require("styled-components"));var i1=require("react/jsx-runtime"),rU=Js.default.div`
|
|
1185
1185
|
color: ${({theme:e})=>e.color.grey900};
|
|
1186
1186
|
flex: 1;
|
|
1187
1187
|
font-size: 14px;
|
|
1188
1188
|
line-height: 20px;
|
|
1189
|
-
`,
|
|
1189
|
+
`,pE=({children:e})=>(0,i1.jsx)(rU,{children:e}),nU=Js.default.h2`
|
|
1190
1190
|
font-size: 16px;
|
|
1191
1191
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1192
1192
|
line-height: 24px;
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
a {
|
|
1196
1196
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1197
1197
|
}
|
|
1198
|
-
`,
|
|
1198
|
+
`,dE=({children:e})=>(0,i1.jsx)(nU,{children:e}),oU=Js.css`
|
|
1199
1199
|
button,
|
|
1200
1200
|
a {
|
|
1201
1201
|
margin-top: ${({theme:e})=>e.spacing.space02};
|
|
@@ -1217,7 +1217,7 @@
|
|
|
1217
1217
|
${ke.smAndUp} {
|
|
1218
1218
|
margin-left: ${({theme:e})=>e.spacing.space05};
|
|
1219
1219
|
}
|
|
1220
|
-
`,
|
|
1220
|
+
`,mE=({verticalAlign:e,children:t})=>(0,i1.jsx)(aU,{verticalAlign:e,children:t});var Yl=require("react/jsx-runtime"),sU=a1.default.div`
|
|
1221
1221
|
background: ${({theme:e,backgroundColor:t})=>t??e.color.grey200};
|
|
1222
1222
|
border-radius: 8px;
|
|
1223
1223
|
display: flex;
|
|
@@ -1236,13 +1236,13 @@
|
|
|
1236
1236
|
${ke.smAndUp} {
|
|
1237
1237
|
flex-direction: row;
|
|
1238
1238
|
}
|
|
1239
|
-
`,Zs=({backgroundColor:e,icon:t,children:r,...n})=>(0,Yl.jsxs)(sU,{backgroundColor:e,...n,children:[(0,
|
|
1239
|
+
`,Zs=({backgroundColor:e,icon:t,children:r,...n})=>(0,Yl.jsxs)(sU,{backgroundColor:e,...n,children:[(0,hE.isNotNil)(t)?(0,Yl.jsx)(uU,{"data-testid":"banner-icon",children:t}):null,(0,Yl.jsx)(lU,{children:r})]});Zs.Body=pE;Zs.RightGutter=mE;Zs.Title=dE;Zs.displayName="Banner_VHS";i();i();var s1=require("react"),gE=A(require("styled-components")),Dn=A(ee());var yE=require("react/jsx-runtime"),vE=!1,cU={around:"space-around",between:"space-between",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},fU={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},pU={around:"space-around",between:"space-between",center:"center",end:"flex-end",evenly:"space-evenly",start:"flex-start"},dU={auto:"auto",baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},mU=new Set(["alignSelf","basis","grow","order","shrink"]),hU=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e)return`
|
|
1240
1240
|
width: 100%;
|
|
1241
1241
|
height: 100%;
|
|
1242
1242
|
`},gU=e=>{if(e==="horizontal")return"width: 100vw;";if(e==="vertical")return"height: 100vh;";if(e)return`
|
|
1243
1243
|
width: 100vw;
|
|
1244
1244
|
height: 100vh;
|
|
1245
|
-
`},vU=e=>{if((0,Dn.isNotNil)(e))return jn(e)?Object.entries(e).map(([t,r])=>`${t}-gap: ${r};`).join(""):`gap: ${e};`},yU=
|
|
1245
|
+
`},vU=e=>{if((0,Dn.isNotNil)(e))return jn(e)?Object.entries(e).map(([t,r])=>`${t}-gap: ${r};`).join(""):`gap: ${e};`},yU=gE.default.div`
|
|
1246
1246
|
align-content: ${({alignContent:e})=>cU[e]};
|
|
1247
1247
|
align-items: ${({alignItems:e})=>fU[e]};
|
|
1248
1248
|
align-self: ${({alignSelf:e})=>e?dU[e]:null};
|
|
@@ -1259,35 +1259,35 @@
|
|
|
1259
1259
|
${({gap:e})=>vU(e)};
|
|
1260
1260
|
justify-content: ${({justifyContent:e})=>pU[e]};
|
|
1261
1261
|
order: ${({order:e})=>(0,Dn.isNotNil)(e)?e:null};
|
|
1262
|
-
`,bU=e=>(0,Dn.isNotNil)(e)?typeof e=="object"&&
|
|
1262
|
+
`,bU=e=>(0,Dn.isNotNil)(e)?typeof e=="object"&&vE?s1.Children.map(e,t=>{if((0,Dn.isNil)(t))return null;let r={};return(t.type?.displayName==="Box"||t.type?.displayName==="Box_VHS")&&(r.hasBoxParent=!0),(0,s1.cloneElement)(t,r)}):e:null,O5=({alignContent:e="stretch",alignItems:t="start",renderAs:r="div",children:n,direction:o="row",hasBoxParent:a=!1,fill:s=!1,fillViewport:u=!1,inline:l=!1,justifyContent:c="start",wrapItems:p=!1,...d})=>(vE&&!a&&Object.keys(d).forEach(h=>{mU.has(h)&&console.warn(`${h} only has an effect on <Box> instances that are children of a <Box>`)}),(0,yE.jsx)(yU,{alignContent:e,alignItems:t,as:r,fillBox:s,fillViewport:u,flexDirection:o,inline:l,justifyContent:c,wrapItems:p,...d,children:bU(n)}));O5.displayName="Box_VHS";i();i();var bE=A(require("styled-components")),CE=require("react/jsx-runtime"),CU=bE.default.div`
|
|
1263
1263
|
overflow-wrap: break-word;
|
|
1264
1264
|
${({hyphenated:e})=>e&&"hyphens: auto"}
|
|
1265
|
-
`,M5=({children:e,hyphenated:t=!1,...r})=>(0,
|
|
1266
|
-
color: ${({theme:e})=>Je(
|
|
1267
|
-
`,
|
|
1265
|
+
`,M5=({children:e,hyphenated:t=!1,...r})=>(0,CE.jsx)(CU,{hyphenated:t,...r,children:e});M5.displayName="Breakline_VHS";i();i();i();var AE=require("react"),RE=A(require("styled-components")),k5=A(ee());i();var I5=A(require("styled-components")),TE=require("react");i();var rn=require("styled-components");var wE=.08,SE=rn.css`
|
|
1266
|
+
color: ${({theme:e})=>Je(wE,e.color.brandBlue500)};
|
|
1267
|
+
`,xE=rn.css`
|
|
1268
1268
|
color: ${({theme:e})=>e.color.brandBlue500};
|
|
1269
1269
|
|
|
1270
1270
|
&:hover,
|
|
1271
1271
|
&:focus {
|
|
1272
|
-
${
|
|
1272
|
+
${SE}
|
|
1273
1273
|
}
|
|
1274
|
-
`,
|
|
1274
|
+
`,DE=rn.css`
|
|
1275
1275
|
color: rgb(255 255 255 / 80%);
|
|
1276
1276
|
`,xU=rn.css`
|
|
1277
1277
|
color: white;
|
|
1278
1278
|
|
|
1279
1279
|
&:hover,
|
|
1280
1280
|
&:focus {
|
|
1281
|
-
${
|
|
1281
|
+
${DE}
|
|
1282
1282
|
}
|
|
1283
|
-
`,
|
|
1284
|
-
color: ${({theme:e})=>Je(
|
|
1283
|
+
`,EE=rn.css`
|
|
1284
|
+
color: ${({theme:e})=>Je(wE,e.color.red600)};
|
|
1285
1285
|
`,wU=rn.css`
|
|
1286
1286
|
color: ${({theme:e})=>e.color.red600};
|
|
1287
1287
|
|
|
1288
1288
|
&:hover,
|
|
1289
1289
|
&:focus {
|
|
1290
|
-
${
|
|
1290
|
+
${EE}
|
|
1291
1291
|
}
|
|
1292
1292
|
`,SU=rn.css`
|
|
1293
1293
|
color: ${({theme:e})=>e.color.grey700};
|
|
@@ -1309,9 +1309,9 @@
|
|
|
1309
1309
|
text-decoration: underline;
|
|
1310
1310
|
${({underlineOnHover:e})=>e&&u1}
|
|
1311
1311
|
${({disabledLink:e})=>e&&SU}
|
|
1312
|
-
${({variant:e})=>e==="primary"?
|
|
1313
|
-
${({variant:e,forceState:t})=>{switch(t){case"hover":case"focus":if(e==="primary")return
|
|
1314
|
-
`,
|
|
1312
|
+
${({variant:e})=>e==="primary"?xE:e==="secondary"?xU:e==="dangerous"?wU:xE}
|
|
1313
|
+
${({variant:e,forceState:t})=>{switch(t){case"hover":case"focus":if(e==="primary")return SE;if(e==="secondary")return DE;if(e==="dangerous")return EE;break;case"active":default:return}}}
|
|
1314
|
+
`,PE=rn.css`
|
|
1315
1315
|
color: inherit;
|
|
1316
1316
|
cursor: pointer;
|
|
1317
1317
|
text-decoration: underline;
|
|
@@ -1319,15 +1319,15 @@
|
|
|
1319
1319
|
`;var c1=require("react/jsx-runtime"),DU=I5.default.a`
|
|
1320
1320
|
${l1}
|
|
1321
1321
|
`,EU=I5.default.a`
|
|
1322
|
-
${
|
|
1323
|
-
`,PU=(e,t)=>{let r=Object.keys(t);if(!r.length)return e;let n=new URL(e);return r.forEach(o=>{n.searchParams.set(o,t[o])}),n.toString()},TU=(e,t,r,n)=>{if(n)return null;let o=e;return t==="phone"&&(o=`tel:${e}`),t==="email"&&(o=`mailto:${e}`),r!==void 0&&(o=PU(o,r)),o},AU=({RenderedLink:e,children:t,...r})=>(0,c1.jsx)(e,{...r,children:t}),Jl=(0,
|
|
1322
|
+
${PE}
|
|
1323
|
+
`,PU=(e,t)=>{let r=Object.keys(t);if(!r.length)return e;let n=new URL(e);return r.forEach(o=>{n.searchParams.set(o,t[o])}),n.toString()},TU=(e,t,r,n)=>{if(n)return null;let o=e;return t==="phone"&&(o=`tel:${e}`),t==="email"&&(o=`mailto:${e}`),r!==void 0&&(o=PU(o,r)),o},AU=({RenderedLink:e,children:t,...r})=>(0,c1.jsx)(e,{...r,children:t}),Jl=(0,TE.forwardRef)(({href:e,beforeAction:t,children:r,disabled:n=!1,forceState:o,nested:a=!1,params:s,type:u="default",unstyled:l=!1,variant:c="primary",underlineOnHover:p=!1,...d},h)=>{let g=TU(e,u,s,n),v=u==="external"?{target:"_blank",rel:"noopener noreferrer"}:null,m=async(w,S=null)=>{if(n)w.preventDefault();else if(t){w.preventDefault();try{await t()}catch(E){console.error(E)}finally{S!==null?S():window.location.assign(g)}}},b=l?EU:DU,{Link:y=AU}=yb()||{},x=(0,c1.jsx)(y,{ref:h,disabledLink:n,forceState:o,href:g,onClick:m,RenderedLink:b,underlineOnHover:p,unstyled:l,variant:c,...v,...d,children:r});return a?(0,c1.jsx)("object",{"data-testid":"link-object",type:"hacky/hack",children:x}):x});Jl.displayName="Link_VHS";var N5=require("react/jsx-runtime"),RU=(0,RE.default)(Jl)`
|
|
1324
1324
|
${zg};
|
|
1325
1325
|
|
|
1326
1326
|
/* Links are disabled by removing their href */
|
|
1327
1327
|
&:not([href]) {
|
|
1328
1328
|
${$g};
|
|
1329
1329
|
}
|
|
1330
|
-
`,V5=(0,
|
|
1330
|
+
`,V5=(0,AE.forwardRef)(({beforeAction:e,children:t,colorOverride:r,disabled:n=!1,forceState:o,fullWidth:a=!1,href:s,icon:u,iconName:l,iconPosition:c="start",label:p,labelWrap:d=!1,params:h,size:g="lg",square:v=!1,textAlign:m="center",type:b="default",variant:y="primary",...x},w)=>{let S=Xp(r,y,Be());return(0,N5.jsx)(RU,{ref:w,beforeAction:e,buttonColor:S,disabled:n,forceState:o,fullWidth:a,hasIcon:u,href:s,iconPosition:c,labelWrap:d,params:h,size:g,square:v,type:b,unstyled:!0,variant:y,...x,children:(0,N5.jsx)(qp,{icon:u,iconName:l,iconPosition:c,isLoading:!1,size:g,textAlign:m,children:(0,k5.isNotNil)(t)?t:(0,k5.isNotNil)(p)?p:null})})});V5.displayName="ButtonLink_VHS";i();i();var Qs=require("react"),h1=A(ee());i();var Mr=A(require("styled-components")),f1=Mr.default.input`
|
|
1331
1331
|
align-self: flex-start;
|
|
1332
1332
|
border-radius: 3px;
|
|
1333
1333
|
box-shadow: ${({type:e})=>e==="checkbox"?"inset 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.38)":"none"};
|
|
@@ -1353,7 +1353,7 @@
|
|
|
1353
1353
|
opacity: 0.5;
|
|
1354
1354
|
`,BU=Mr.css`
|
|
1355
1355
|
border-color: transparent;
|
|
1356
|
-
`,
|
|
1356
|
+
`,FE=Mr.css``,OU=Mr.css`
|
|
1357
1357
|
background-color: ${({theme:e})=>e.color.error100};
|
|
1358
1358
|
border: 1px solid ${({theme:e})=>e.color.error500};
|
|
1359
1359
|
|
|
@@ -1365,7 +1365,7 @@
|
|
|
1365
1365
|
`,L5=Mr.css`
|
|
1366
1366
|
background-color: ${({theme:e})=>e.color.grey300};
|
|
1367
1367
|
cursor: pointer;
|
|
1368
|
-
`,
|
|
1368
|
+
`,BE=Mr.css`
|
|
1369
1369
|
${L5}
|
|
1370
1370
|
`,m1=Mr.default.label`
|
|
1371
1371
|
align-items: center;
|
|
@@ -1382,25 +1382,25 @@
|
|
|
1382
1382
|
|
|
1383
1383
|
${({hasError:e})=>e&&OU};
|
|
1384
1384
|
${({disabled:e})=>e&&FU};
|
|
1385
|
-
${({isFocused:e})=>e&&
|
|
1386
|
-
${({isFocused:e,hasError:t})=>e&&t&&
|
|
1387
|
-
${({forceState:e})=>e==="focus"&&
|
|
1385
|
+
${({isFocused:e})=>e&&BE};
|
|
1386
|
+
${({isFocused:e,hasError:t})=>e&&t&&FE};
|
|
1387
|
+
${({forceState:e})=>e==="focus"&&BE};
|
|
1388
1388
|
${({forceState:e})=>e==="hover"&&L5};
|
|
1389
|
-
${({forceState:e,hasError:t})=>e==="focus"&&t&&
|
|
1389
|
+
${({forceState:e,hasError:t})=>e==="focus"&&t&&FE};
|
|
1390
1390
|
${({forceState:e,hasError:t})=>e==="hover"&&t&&BU};
|
|
1391
|
-
`;var uo=require("react/jsx-runtime"),Zl=(0,Qs.forwardRef)(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a="default",label:s="default",labelDescription:u,name:l,onChange:c,required:p=!1,value:d="false",...h},g)=>{let[v,m]=(0,Qs.useState)(!1);return(0,uo.jsxs)(m1,{ref:g,"aria-invalid":(0,h1.isNotUndefined)(o)&&o?"true":"false",direction:t,disabled:r,forceState:n,hasError:o,isFocused:v,...h,children:[(0,uo.jsx)(f1,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:a,name:l,onBlur:()=>m(!1),onChange:c,onFocus:()=>m(!0),required:p,type:"checkbox",value:d}),(0,uo.jsxs)(p1,{children:[(0,uo.jsx)(uo.Fragment,{children:s}),(0,h1.isNonEmptyString)(u)||(0,Qs.isValidElement)(u)?(0,uo.jsx)(d1,{"data-testid":"checkbox-option-sub-label",children:u}):null]})]})});Zl.displayName="Checkbox_VHS";i();i();var
|
|
1391
|
+
`;var uo=require("react/jsx-runtime"),Zl=(0,Qs.forwardRef)(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a="default",label:s="default",labelDescription:u,name:l,onChange:c,required:p=!1,value:d="false",...h},g)=>{let[v,m]=(0,Qs.useState)(!1);return(0,uo.jsxs)(m1,{ref:g,"aria-invalid":(0,h1.isNotUndefined)(o)&&o?"true":"false",direction:t,disabled:r,forceState:n,hasError:o,isFocused:v,...h,children:[(0,uo.jsx)(f1,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:a,name:l,onBlur:()=>m(!1),onChange:c,onFocus:()=>m(!0),required:p,type:"checkbox",value:d}),(0,uo.jsxs)(p1,{children:[(0,uo.jsx)(uo.Fragment,{children:s}),(0,h1.isNonEmptyString)(u)||(0,Qs.isValidElement)(u)?(0,uo.jsx)(d1,{"data-testid":"checkbox-option-sub-label",children:u}):null]})]})});Zl.displayName="Checkbox_VHS";i();i();var $E=A(require("styled-components")),zE=A(ee());i();i();var LE=A(require("styled-components"));i();i();var Ql=A(require("styled-components"));var ME=require("react/jsx-runtime"),MU=Ql.css`
|
|
1392
1392
|
&::after {
|
|
1393
1393
|
color: red;
|
|
1394
1394
|
content: ' *';
|
|
1395
1395
|
}
|
|
1396
1396
|
`,IU=Ql.css`
|
|
1397
1397
|
color: ${({theme:e})=>e.color.grey500};
|
|
1398
|
-
`,
|
|
1398
|
+
`,OE="8px",kU=Ql.default.label`
|
|
1399
1399
|
color: ${({theme:e})=>e.color.grey900};
|
|
1400
1400
|
display: block;
|
|
1401
1401
|
font-size: 14px;
|
|
1402
1402
|
font-weight: ${({theme:e})=>e.font.weight.semiBold};
|
|
1403
|
-
margin-bottom: ${
|
|
1403
|
+
margin-bottom: ${OE};
|
|
1404
1404
|
width: 100%;
|
|
1405
1405
|
|
|
1406
1406
|
/* if label is wrapping an input this ensures it appears beneath the label with a nice margin */
|
|
@@ -1408,7 +1408,7 @@
|
|
|
1408
1408
|
> textarea,
|
|
1409
1409
|
> select {
|
|
1410
1410
|
display: block;
|
|
1411
|
-
margin-top: ${
|
|
1411
|
+
margin-top: ${OE};
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
1414
|
> label {
|
|
@@ -1418,7 +1418,7 @@
|
|
|
1418
1418
|
${({screenReaderOnly:e})=>e&&Ks}
|
|
1419
1419
|
${({disabled:e})=>e&&IU}
|
|
1420
1420
|
${({required:e})=>e&&MU}
|
|
1421
|
-
`,ec=({renderAs:e="label",children:t,disabled:r=!1,htmlFor:n,required:o=!1,screenReaderOnly:a=!1,...s})=>(0,
|
|
1421
|
+
`,ec=({renderAs:e="label",children:t,disabled:r=!1,htmlFor:n,required:o=!1,screenReaderOnly:a=!1,...s})=>(0,ME.jsx)(kU,{as:e,disabled:r,htmlFor:e==="label"?n:"",renderAs:e,required:o,screenReaderOnly:a,...s,children:t});ec.displayName="Label_VHS";i();i();var IE=A(require("styled-components")),kE=A(ee()),NE=require("react/jsx-runtime"),NU=IE.default.div`
|
|
1422
1422
|
align-items: center;
|
|
1423
1423
|
border-left: 4px solid ${({theme:e})=>e.color.error500};
|
|
1424
1424
|
color: ${({theme:e})=>e.color.error600};
|
|
@@ -1426,7 +1426,7 @@
|
|
|
1426
1426
|
line-height: 16px;
|
|
1427
1427
|
margin-top: ${({theme:e})=>e.spacing.space02};
|
|
1428
1428
|
padding-left: ${({theme:e})=>e.spacing.space02};
|
|
1429
|
-
`,tc=({children:e,...t})=>(0,
|
|
1429
|
+
`,tc=({children:e,...t})=>(0,kE.isNil)(e)?null:(0,NE.jsx)(NU,{...t,children:e});tc.displayName="FormFieldError_VHS";i();i();var g1=A(require("styled-components")),VE=require("react/jsx-runtime"),VU=g1.css`
|
|
1430
1430
|
color: ${({theme:e})=>e.color.grey500};
|
|
1431
1431
|
`,LU=g1.default.div`
|
|
1432
1432
|
color: ${({theme:e})=>e.color.grey900};
|
|
@@ -1434,15 +1434,15 @@
|
|
|
1434
1434
|
font-size: 14px;
|
|
1435
1435
|
margin-bottom: ${({theme:e})=>e.spacing.space03};
|
|
1436
1436
|
${({disabled:e})=>e&&VU};
|
|
1437
|
-
`,rc=({children:e,disabled:t=!1,...r})=>(0,
|
|
1437
|
+
`,rc=({children:e,disabled:t=!1,...r})=>(0,VE.jsx)(LU,{disabled:t,...r,children:e});rc.displayName="LabelDescription_VHS";var eu=require("react/jsx-runtime"),$U=LE.default.div`
|
|
1438
1438
|
width: 100%;
|
|
1439
|
-
`,or=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:a="label",name:s,children:u,labelId:l=null,...c})=>{let p=l??`group-id-${s}`,d=a==="legend"?p:null,h={id:p,htmlFor:`field-${s}`,renderAs:a,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return(0,eu.jsxs)($U,{...c,"aria-labelledby":d??void 0,children:[r!==null?(0,eu.jsx)(ec,{...h,children:r}):null,n!==null?(0,eu.jsx)(rc,{disabled:e,children:n}):null,t!==null?(0,eu.jsx)(tc,{"data-testid":`form-field-error-${s}`,children:t}):null,u]})};or.displayName="FormFieldWrapper_VHS";var v1=require("react/jsx-runtime"),zU
|
|
1439
|
+
`,or=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:a="label",name:s,children:u,labelId:l=null,...c})=>{let p=l??`group-id-${s}`,d=a==="legend"?p:null,h={id:p,htmlFor:`field-${s}`,renderAs:a,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return(0,eu.jsxs)($U,{...c,"aria-labelledby":d??void 0,children:[r!==null?(0,eu.jsx)(ec,{...h,children:r}):null,n!==null?(0,eu.jsx)(rc,{disabled:e,children:n}):null,t!==null?(0,eu.jsx)(tc,{"data-testid":`form-field-error-${s}`,children:t}):null,u]})};or.displayName="FormFieldWrapper_VHS";var v1=require("react/jsx-runtime"),zU=$E.default.div`
|
|
1440
1440
|
display: flex;
|
|
1441
1441
|
flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
|
|
1442
1442
|
gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
|
|
1443
|
-
`,nc=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:u,options:l,value:c=!1,...p})=>(0,v1.jsx)(or,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"group",...p,children:(0,v1.jsx)(zU,{direction:e,children:l.map(d=>{let h=Array.isArray(c)?c.includes(d.name):c;return(0,v1.jsx)(Zl,{checked:h,direction:e,disabled:t,onChange:g=>(0,
|
|
1443
|
+
`,nc=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:u,options:l,value:c=!1,...p})=>(0,v1.jsx)(or,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"group",...p,children:(0,v1.jsx)(zU,{direction:e,children:l.map(d=>{let h=Array.isArray(c)?c.includes(d.name):c;return(0,v1.jsx)(Zl,{checked:h,direction:e,disabled:t,onChange:g=>(0,zE.isNotNil)(u)?u(g,d.name):void 0,...d},d.name)})})});nc.displayName="CheckboxGroup_VHS";i();i();var y1=require("react"),HE=A(require("styled-components")),GE=require("react/jsx-runtime"),HU=HE.default.div`
|
|
1444
1444
|
cursor: pointer;
|
|
1445
|
-
`,$5=(0,y1.forwardRef)(({renderAs:e="div",className:t,onClick:r,targetRef:n,...o},a)=>{let s=(0,y1.useCallback)(u=>{let l=n.current;l!==null&&(u.defaultPrevented||(l.contains(u.target)?r&&r(u):(u.stopPropagation(),u.preventDefault(),l.focus(),l.click())))},[r,n]);return(0,
|
|
1445
|
+
`,$5=(0,y1.forwardRef)(({renderAs:e="div",className:t,onClick:r,targetRef:n,...o},a)=>{let s=(0,y1.useCallback)(u=>{let l=n.current;l!==null&&(u.defaultPrevented||(l.contains(u.target)?r&&r(u):(u.stopPropagation(),u.preventDefault(),l.focus(),l.click())))},[r,n]);return(0,GE.jsx)(HU,{ref:a,as:e,role:"presentation",...o,onClick:s})});$5.displayName="ClickArea_VHS";i();i();var jE=A(require("styled-components"));i();var z5=require("react/jsx-runtime"),b1=()=>(0,z5.jsx)("svg",{height:"22",preserveAspectRatio:"xMidYMid meet",style:{display:"block"},viewBox:"0 0 20 20",width:"22",children:(0,z5.jsx)("path",{d:"M17 15.85289l-5.8533769-5.85435067L17 4.14710997 15.85289 3l-5.8514293 5.85240314L4.14710997 3 3 4.14710997l5.85240314 5.85240314L3 15.85289 4.14710997 17l5.85435073-5.8524031L15.8519163 17z",fill:"currentColor",fillRule:"evenodd"})});var H5=require("react/jsx-runtime"),GU=jE.default.button`
|
|
1446
1446
|
align-items: center;
|
|
1447
1447
|
background: none;
|
|
1448
1448
|
border: none;
|
|
@@ -1467,32 +1467,32 @@
|
|
|
1467
1467
|
&:hover {
|
|
1468
1468
|
color: ${({theme:e})=>e.color.grey900};
|
|
1469
1469
|
}
|
|
1470
|
-
`,G5=({onClick:e,...t})=>(0,H5.jsx)(GU,{onClick:e,title:"Close",...t,children:(0,H5.jsx)(b1,{})});G5.displayName="CloseButton_VHS";i();i();var lo=require("react"),En=A(require("styled-components"));var ua=A(ee());var Ir=require("react/jsx-runtime"),jU=.08,C1=48,
|
|
1470
|
+
`,G5=({onClick:e,...t})=>(0,H5.jsx)(GU,{onClick:e,title:"Close",...t,children:(0,H5.jsx)(b1,{})});G5.displayName="CloseButton_VHS";i();i();var lo=require("react"),En=A(require("styled-components"));var ua=A(ee());var Ir=require("react/jsx-runtime"),jU=.08,C1=48,UE=16,_E=16,KE=16,j5="0.2s",_5="brandblue",_U="up",qE="down",WU="left",XE="right",UU=En.default.div`
|
|
1471
1471
|
& + & {
|
|
1472
1472
|
margin-top: ${({theme:e})=>e.spacing.space01};
|
|
1473
1473
|
}
|
|
1474
|
-
`,
|
|
1474
|
+
`,WE=({backgroundColor:e,open:t,theme:r,variant:n})=>{let o=e??r.color.grey100,a=n===_5?r.color.brandBlue100:o;return t?a:o},YE=En.default.div`
|
|
1475
1475
|
align-items: center;
|
|
1476
|
-
background-color: ${e=>
|
|
1476
|
+
background-color: ${e=>WE(e)};
|
|
1477
1477
|
color: ${({open:e,theme:t})=>e?t.color.brandBlue600:t.color.grey900};
|
|
1478
1478
|
cursor: pointer;
|
|
1479
1479
|
display: flex;
|
|
1480
1480
|
justify-content: space-between;
|
|
1481
1481
|
min-height: ${C1}px;
|
|
1482
|
-
padding-right: ${
|
|
1482
|
+
padding-right: ${KE}px;
|
|
1483
1483
|
|
|
1484
1484
|
&:hover {
|
|
1485
|
-
background-color: ${e=>Je(jU,
|
|
1485
|
+
background-color: ${e=>Je(jU,WE(e))};
|
|
1486
1486
|
}
|
|
1487
1487
|
`,KU=En.default.span`
|
|
1488
1488
|
color: ${({isOpen:e,theme:t,variant:r})=>e&&r===_5?t.color.brandBlue600:t.color.grey500};
|
|
1489
1489
|
display: inline-flex;
|
|
1490
|
-
height: ${
|
|
1490
|
+
height: ${_E}px;
|
|
1491
1491
|
transform: rotate(
|
|
1492
|
-
${({direction:e})=>{switch(e){case _U:return"-180deg";case
|
|
1492
|
+
${({direction:e})=>{switch(e){case _U:return"-180deg";case qE:return"0deg";case WU:return"90deg";case XE:return"-90deg";default:return"0deg"}}}
|
|
1493
1493
|
);
|
|
1494
1494
|
transition: transform ${j5} ease-out;
|
|
1495
|
-
width: ${
|
|
1495
|
+
width: ${_E}px;
|
|
1496
1496
|
|
|
1497
1497
|
> svg {
|
|
1498
1498
|
height: 100%;
|
|
@@ -1514,7 +1514,7 @@
|
|
|
1514
1514
|
|
|
1515
1515
|
color: ${({open:e,theme:t,styleVariant:r})=>e&&r===_5?t.color.brandBlue600:null};
|
|
1516
1516
|
line-height: ${C1}px;
|
|
1517
|
-
margin: 0 auto 0 ${
|
|
1517
|
+
margin: 0 auto 0 ${UE}px;
|
|
1518
1518
|
user-select: none;
|
|
1519
1519
|
width: 100%;
|
|
1520
1520
|
`,YU=En.default.div`
|
|
@@ -1531,7 +1531,7 @@
|
|
|
1531
1531
|
`};
|
|
1532
1532
|
`,JU=(0,En.default)(Qe)`
|
|
1533
1533
|
height: 24px;
|
|
1534
|
-
margin-left: ${
|
|
1534
|
+
margin-left: ${UE}px;
|
|
1535
1535
|
order: ${({layout:e})=>e==="leading"?-1:1};
|
|
1536
1536
|
width: 24px;
|
|
1537
1537
|
|
|
@@ -1539,12 +1539,12 @@
|
|
|
1539
1539
|
outline: 1px dashed ${({theme:e})=>e.color.grey500};
|
|
1540
1540
|
}
|
|
1541
1541
|
`,ZU=En.default.span`
|
|
1542
|
-
${({showActionsOnHover:e})=>e&&qU(
|
|
1542
|
+
${({showActionsOnHover:e})=>e&&qU(YE)};
|
|
1543
1543
|
align-items: center;
|
|
1544
1544
|
display: inline-flex;
|
|
1545
1545
|
flex-shrink: 0;
|
|
1546
1546
|
justify-content: center;
|
|
1547
|
-
margin-right: -${
|
|
1547
|
+
margin-right: -${KE}px;
|
|
1548
1548
|
min-height: ${C1}px;
|
|
1549
1549
|
width: ${C1}px;
|
|
1550
1550
|
|
|
@@ -1552,7 +1552,7 @@
|
|
|
1552
1552
|
flex-shrink: 0;
|
|
1553
1553
|
min-width: 0;
|
|
1554
1554
|
}
|
|
1555
|
-
`,QU=({children:e,showActionsOnHover:t})=>(0,ua.isNil)(e)?null:(0,Ir.jsx)(ZU,{onClick:r=>{r.stopPropagation()},showActionsOnHover:t,children:e}),W5=({actions:e,backgroundColor:t,caretDirection:r={open:
|
|
1555
|
+
`,QU=({children:e,showActionsOnHover:t})=>(0,ua.isNil)(e)?null:(0,Ir.jsx)(ZU,{onClick:r=>{r.stopPropagation()},showActionsOnHover:t,children:e}),W5=({actions:e,backgroundColor:t,caretDirection:r={open:qE,closed:XE},children:n=null,contentPadding:o=null,hideCaret:a=!1,id:s,isOpen:u,label:l,layout:c="leading",onOpenChange:p,showActionsOnHover:d=!0,showTransition:h=!1,variant:g,...v})=>{let[m,b]=(0,lo.useState)(u??!1),[y,x]=(0,lo.useState)({width:void 0,height:void 0}),[w,S]=(0,lo.useState)(!1),[E,D]=nd(),P=r.open,F=r.closed,B=(0,ua.isNonEmptyString)(s)?s:`CollapsibleGroup_${Wl()}`;(0,lo.useEffect)(()=>{x({height:D.height,width:D.width})},[D]),(0,lo.useEffect)(()=>{u!==void 0&&b(u)},[u]),(0,lo.useLayoutEffect)(()=>{E.current&&x({height:E.current.offsetHeight,width:E.current.offsetWidth})},[E]);let I=()=>{if(w){S(!1);return}let L=!m;b(L),p&&p(L)},_=(0,Ir.jsx)(JU,{"aria-expanded":m,"aria-labelledby":B,layout:c,noStyle:!0,onClick:I,children:(0,Ir.jsx)(KU,{direction:m?P:F,isOpen:m,layout:c,variant:g,children:(0,Ir.jsx)(Pe,{type:"caret-down"})})});return(0,Ir.jsxs)(UU,{...v,children:[(0,Ir.jsxs)(YE,{backgroundColor:t,onClick:I,open:m,variant:g,children:[(0,Ir.jsx)(XU,{id:B,open:m,renderAs:"div",styleVariant:g,variant:"subtitle1",children:typeof l=="function"?l({open:m,caret:_}):l}),!a&&_,(0,Ir.jsx)(QU,{showActionsOnHover:d,children:e})]}),(0,Ir.jsx)(YU,{backgroundColor:t,contentPadding:o,"data-testid":"collapsible-group-content",height:y.height,isOpen:m,maxHeight:y.height,showTransition:h,variant:g,children:(0,Ir.jsx)("div",{ref:E,style:{width:"100%",display:"inline-block"},children:n})})]})};W5.displayName="CollapsibleGroup_VHS";i();i();var JE=A(require("styled-components"));var ZE=require("react/jsx-runtime"),eK=JE.default.hr`
|
|
1556
1556
|
background: none;
|
|
1557
1557
|
border-bottom: none;
|
|
1558
1558
|
border-left: none;
|
|
@@ -1564,7 +1564,7 @@
|
|
|
1564
1564
|
height: 0;
|
|
1565
1565
|
line-height: 0;
|
|
1566
1566
|
margin: 0;
|
|
1567
|
-
`,oc=({colorOverride:e=void 0,height:t=1,variant:r="dashed",...n})=>{let o=Be("grey300");return(0,
|
|
1567
|
+
`,oc=({colorOverride:e=void 0,height:t=1,variant:r="dashed",...n})=>{let o=Be("grey300");return(0,ZE.jsx)(eK,{borderHeight:t,fillColor:e??o,variant:r,...n})};oc.displayName="Divider_VHS";i();i();var QE=require("react"),eP=A(require("styled-components")),x1=require("react/jsx-runtime"),tK=26,rK=tK*1024,nK=eP.default.label`
|
|
1568
1568
|
display: inline-block;
|
|
1569
1569
|
overflow: hidden;
|
|
1570
1570
|
position: relative;
|
|
@@ -1584,7 +1584,7 @@
|
|
|
1584
1584
|
right: 0;
|
|
1585
1585
|
top: 0;
|
|
1586
1586
|
}
|
|
1587
|
-
`,U5=(0,
|
|
1587
|
+
`,U5=(0,QE.forwardRef)(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=rK,multiple:a=!1,name:s="file-upload",onClick:u,onChange:l,onError:c,...p},d)=>(0,x1.jsxs)(nK,{ariaControls:"filename",disabled:r,htmlFor:n,...p,children:[t,(0,x1.jsx)("input",{ref:d,accept:e,"data-testid":"file-select-input",disabled:r,id:n,multiple:a,name:s,onChange:g=>{let{files:v}=g.target;if(o&&v){let m=o*1024*1024;if(Array.from(v).some(y=>y.size>m))return c&&c(new Error(`File not accepted. Please choose a file under ${o}MB.`)),!1}return l&&l(g),!0},onClick:u,tabIndex:-1,type:"file"})]}));U5.displayName="FileSelect_VHS";i();i();var pi=require("react");var Ft=A(ee());i();i();var tP=require("react");var tu=A(require("styled-components")),ic=A(ee());var co=require("react/jsx-runtime"),oK=tu.default.div`
|
|
1588
1588
|
border-left: 4px solid;
|
|
1589
1589
|
border-left-color: ${({theme:e})=>e.color.error500};
|
|
1590
1590
|
margin-bottom: ${({theme:e})=>e.spacing.space07};
|
|
@@ -1598,13 +1598,13 @@
|
|
|
1598
1598
|
list-style: none;
|
|
1599
1599
|
margin: 0;
|
|
1600
1600
|
padding-left: 0;
|
|
1601
|
-
`,
|
|
1601
|
+
`,rP=tu.default.span`
|
|
1602
1602
|
color: ${({theme:e})=>e.color.error600};
|
|
1603
1603
|
line-height: 1.5;
|
|
1604
|
-
`,sK=(0,tu.default)(
|
|
1604
|
+
`,sK=(0,tu.default)(rP)`
|
|
1605
1605
|
cursor: pointer;
|
|
1606
1606
|
text-decoration: underline;
|
|
1607
|
-
`,uK=e=>{let t="error";return e>1&&(t+="s"),`${e} ${t} found on page`},lK=e=>{document.getElementById(`fieldset-${e}`)?.scrollIntoView({behavior:"smooth"})},cK=({errors:e={},statusError:t})=>(0,co.jsxs)(aK,{children:[(0,ic.isNonEmptyString)(t)?(0,co.jsx)(
|
|
1607
|
+
`,uK=e=>{let t="error";return e>1&&(t+="s"),`${e} ${t} found on page`},lK=e=>{document.getElementById(`fieldset-${e}`)?.scrollIntoView({behavior:"smooth"})},cK=({errors:e={},statusError:t})=>(0,co.jsxs)(aK,{children:[(0,ic.isNonEmptyString)(t)?(0,co.jsx)(rP,{children:t}):null,Object.keys(e).map(r=>(0,co.jsx)("li",{children:(0,co.jsx)(sK,{"data-testid":`form-global-error-${r}`,onClick:()=>lK(r),children:e[r]})},r))]}),ac=(0,tP.forwardRef)((e,t)=>{let r=ai(),{status:n,errors:o}=r,a=Object.keys(o).length;(0,ic.isNotNil)(n)&&n.length>0&&(a+=1);let s=(0,ic.isNotNil)(n)&&!n.success||a;return _n(s)?(0,co.jsxs)(oK,{ref:t,children:[(0,co.jsx)(iK,{children:uK(a)}),(0,co.jsx)(cK,{errors:o,statusError:n})]}):null});ac.displayName="FormGlobalError_VHS";i();i();var nP=require("react");var ru=()=>(0,nP.useContext)(Jp);i();i();var oP=require("react");i();i();var nn=require("react"),K5=(e,t=0)=>{let r=(0,nn.useRef)(!1),n=(0,nn.useRef)(),o=(0,nn.useRef)(e),a=(0,nn.useCallback)(()=>r.current,[]),s=(0,nn.useCallback)(()=>{r.current=!1,n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{r.current=!0,o.current()},t)},[t]),u=(0,nn.useCallback)(()=>{r.current=null,n.current&&clearTimeout(n.current)},[]);return(0,nn.useEffect)(()=>{o.current=e},[e]),(0,nn.useEffect)(()=>(s(),u),[t]),[a,u,s]};var q5=(e,t=0,r=[])=>{let[n,o,a]=K5(e,t);return(0,oP.useEffect)(a,r),[n,o]};var sc=require("react/jsx-runtime"),iP=(e,t)=>JSON.stringify(e)!==JSON.stringify(t),fK=(e,t)=>{let r={};return Object.keys(e).forEach(n=>{e[n]===null?(0,Ft.isNotUndefined)(t)&&(0,Ft.isNotUndefined)(t.fields)&&(0,Ft.isNotUndefined)(t.fields[n])&&t.fields[n]._type==="boolean"?r[n]=!1:r[n]=void 0:r[n]=e[n]}),r},X5=({children:e,className:t,formId:r,initialValues:n,onSubmit:o,scrollToFormErrorsOnSubmit:a=!0,shareFormContext:s,style:u,submitOnChange:l=!1,validate:c,validateOnBlur:p=!1,validateOnChange:d=!1,validationSchema:h,globalErrorRef:g,showGlobalError:v=!0,innerRef:m})=>{let[b,y]=(0,pi.useState)(),[x,w]=(0,pi.useState)(),[S,E]=(0,pi.useState)(0),D=ru(),P=(_,L)=>{let z={};Object.keys(_).forEach(N=>{let $=_[N],Z=(0,Ft.isNotUndefined)(h)&&(0,Ft.isNotUndefined)(h.fields[N])&&h.fields[N]._type==="string";if($==null){z[N]=null;return}if(typeof $=="number"){z[N]=$;return}$===!1&&(z[N]=!1),Z&&!$&&(z[N]=null),$&&(z[N]=Z?$.trim():$)}),o(z,L)},F=a&&((0,Ft.isUndefined)(b)||!b)&&((0,Ft.isUndefined)(x)||!x)&&(0,Ft.isNotUndefined)(g.current?.scrollIntoView);(0,pi.useEffect)(()=>{if(((0,Ft.isUndefined)(b)||!b)&&(0,Ft.isNotUndefined)(x)&&x&&document.activeElement&&document.activeElement.blur(),F){let _=S>1?`there are ${S} errors`:"there's an error!";D({variant:"error",message:`Uh oh, ${_}`}),g.current.scrollIntoView({behavior:"smooth"})}},[S,g,b,x,F,D]);let B=fK(n,h),I=750;return(0,sc.jsx)(vD,{enableReinitialize:!0,initialValues:B,innerRef:(0,Ft.isNotNil)(m)?m:()=>{},onSubmit:P,validate:(0,Ft.isNotNil)(c)?c:()=>{},validateOnBlur:p,validateOnChange:d,validationSchema:h,children:_=>{let[L,z]=(0,pi.useState)(_.values);if((0,pi.useEffect)(()=>{(0,Ft.isNotUndefined)(s)&&s(_),y(_.isSubmitting),w(_.isValid),E(Object.keys(_.errors).length),l&&iP(_.values,L)&&z(_.values)},[_,L]),l){let[,]=q5(()=>{iP(n,L)&&_.submitForm()},I,[L])}return(0,sc.jsxs)(v5,{className:t,"data-testid":r,noValidate:!0,style:u,children:[v?(0,sc.jsx)(ac,{ref:g}):null,e]})}})};X5.displayName="Form_VHS";i();i();i();i();var aP=require("react/jsx-runtime"),w1=({type:e="submit",isSubmitting:t=!1,children:r,disabled:n=!1,...o})=>(0,aP.jsx)(Qe,{disabled:t||n,type:e,...o,children:r});w1.displayName="FormConnectorButton_VHS";var Y5=require("react/jsx-runtime"),pK=e=>e.preventDefault(),J5=({buttons:e,align:t="left",...r})=>{let{isSubmitting:n}=ai();return(0,Y5.jsx)(io,{align:t,...r,children:e.map(({name:o,type:a,...s})=>(0,Y5.jsx)(w1,{isSubmitting:n,type:a,...s,onMouseDown:pK,children:o},o))})};J5.displayName="FormButtons_VHS";i();i();var nF=require("react"),Nv=A(require("styled-components"));i();var sP={checkbox:{component:"FormConnectorCheckboxGroup",inputType:null},custom:{component:"FormConnectorCustomField",inputType:null},email:{component:"FormConnectorInput",inputType:"email"},hidden:{component:"FormConnectorHidden",inputType:"hidden"},multiline:{component:"FormConnectorInput",inputType:null},number:{component:"FormConnectorInput",inputType:"number"},password:{component:"FormConnectorInput",inputType:"password"},phone:{component:"FormConnectorInput",inputType:"tel"},radio:{component:"FormConnectorRadioGroup",inputType:null},search:{component:"FormConnectorInput",inputType:"search"},select:{component:"FormConnectorSelect",inputType:null},text:{component:"FormConnectorInput",inputType:"text"},time:{component:"FormConnectorInput",inputType:"time"},timePosition:{component:"FormConnectorInput",inputType:"text"},url:{component:"FormConnectorInput",inputType:"url"},richTextEditor:{component:"FormConnectorRichTextEditor",inputType:null}};i();i();var S1=A(ee());var uP=require("react/jsx-runtime"),D1=({direction:e="column",disabled:t=!1,field:{name:r,value:n},form:{errors:o,setFieldValue:a},label:s,labelDescription:u,labelProps:l={},onChangeCustom:c,options:p=[]})=>{let d=(m,b)=>{a(b,m.target.checked)},h=(m,b)=>{let y=n;if((0,S1.isArray)(y))if(m.target.checked)y.push(b);else{let x=y.indexOf(b);x>-1&&y.splice(x,1)}a(b,y)},g=Array.isArray(n)&&p.length>1?h:d,v=Array.isArray(p)?p:[p];return(0,uP.jsx)(nc,{direction:e,disabled:t,error:(0,S1.isNotNil)(o)?o[r]:void 0,label:s,labelDescription:u,labelProps:l,name:r,onChange:(m,b)=>{g(m,b),c&&c(m.target.checked)},options:v,value:n})};D1.displayName="FormConnectorCheckboxGroup_VHS";i();i();var lP=A(ee());var Z5=require("react/jsx-runtime"),E1=({customComponent:e,field:t,form:r,label:n="",labelDescription:o,labelProps:a={},...s})=>{let{name:u}=t,{errors:l}=r;return(0,Z5.jsx)(or,{error:(0,lP.isNotUndefined)(l)?l[u]:void 0,label:n,labelDescription:o,labelProps:a,name:u,children:(0,Z5.jsx)(e,{field:t,form:r,...s})})};E1.displayName="FormConnectorCustomField_VHS";i();i();var mP=A(ee());i();i();var ou=require("react"),dP=A(require("styled-components")),uc=A(ee());i();var Pn=A(require("styled-components"));var cP=Pn.css`
|
|
1608
1608
|
border-color: ${({theme:e})=>e.color.brandBlue500};
|
|
1609
1609
|
outline: none;
|
|
1610
1610
|
`,dK=Pn.css`
|
|
@@ -1623,7 +1623,7 @@
|
|
|
1623
1623
|
&:focus {
|
|
1624
1624
|
border-color: ${({theme:e})=>e.color.grey300};
|
|
1625
1625
|
}
|
|
1626
|
-
`,
|
|
1626
|
+
`,fP=Pn.css`
|
|
1627
1627
|
border: dashed 1px ${({theme:e})=>e.color.grey400};
|
|
1628
1628
|
color: ${({theme:e})=>e.color.grey700};
|
|
1629
1629
|
outline: none;
|
|
@@ -1632,7 +1632,7 @@
|
|
|
1632
1632
|
border-color: ${({theme:e})=>e.color.grey300} !important;
|
|
1633
1633
|
}
|
|
1634
1634
|
`,hK=Pn.css`
|
|
1635
|
-
${
|
|
1635
|
+
${fP}
|
|
1636
1636
|
flex: 1;
|
|
1637
1637
|
`,gK=Pn.css`
|
|
1638
1638
|
line-height: 20px;
|
|
@@ -1665,7 +1665,7 @@
|
|
|
1665
1665
|
}
|
|
1666
1666
|
|
|
1667
1667
|
&:focus {
|
|
1668
|
-
${
|
|
1668
|
+
${cP}
|
|
1669
1669
|
}
|
|
1670
1670
|
|
|
1671
1671
|
/* Handle unwanted zoom into inputs on iOS devices
|
|
@@ -1690,9 +1690,9 @@
|
|
|
1690
1690
|
${({as:e})=>e!=="textarea"&&Dr};
|
|
1691
1691
|
${({clickToCopy:e})=>e&&hK};
|
|
1692
1692
|
${({disabled:e})=>e&&mK};
|
|
1693
|
-
${({forceState:e})=>e==="focus"&&
|
|
1693
|
+
${({forceState:e})=>e==="focus"&&cP};
|
|
1694
1694
|
${({hasError:e})=>e&&dK};
|
|
1695
|
-
${({readOnly:e})=>e&&
|
|
1695
|
+
${({readOnly:e})=>e&&fP};
|
|
1696
1696
|
`;i();var P1=require("react"),di=A(require("styled-components"));var la=require("react/jsx-runtime"),yK=di.css`
|
|
1697
1697
|
input {
|
|
1698
1698
|
cursor: pointer;
|
|
@@ -1728,7 +1728,7 @@
|
|
|
1728
1728
|
${({disabled:e})=>e?CK:xK}
|
|
1729
1729
|
`,SK=(0,di.default)(Pe)`
|
|
1730
1730
|
${({disabled:e})=>e?"cursor: not-allowed;":"cursor: pointer;"}
|
|
1731
|
-
`,DK=({onClick:e,disabled:t=!1})=>{let r=Be("grey500");return(0,la.jsx)(wK,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:(0,la.jsx)(SK,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},
|
|
1731
|
+
`,DK=({onClick:e,disabled:t=!1})=>{let r=Be("grey500");return(0,la.jsx)(wK,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:(0,la.jsx)(SK,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},pP=({inputComponent:e,inputProps:t})=>{let r=ru(),[n,o]=(0,P1.useState)(0),{value:a,disabled:s}=t,u=s??!1;(0,P1.useEffect)(()=>{if(n>0){let h=setTimeout(()=>o(n-1),1e3);return()=>clearTimeout(h)}return()=>{}},[n]);let l=()=>{(async()=>u||(await za(a),r({message:"Copied to clipboard"}),o(5)))()},c=n>0&&{forceState:"focus"},p={...t,...c},d={onClick:l,disabled:u,"aria-disabled":u};return(0,la.jsxs)(bK,{disabled:u,onClick:l,children:[(0,la.jsx)(e,{...p}),(0,la.jsx)(DK,{...d})]})};i();var on=A(ee()),T1=60,EK=e=>e.replace(/[^0-9:]/g,""),PK=e=>e?Number.parseFloat(e):0,TK=(e,t,r)=>{let n=(0,on.isNotNil)(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},AK=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(d=>PK(d)),a=0,s=0,u=0;(0,on.isNotNil)(r)&&(s=Math.floor(r/T1),(0,on.isNotNil)(n)&&(s+=n)),(0,on.isNotNil)(r)&&(a=r%T1);let l=a.toString();l.length===1&&(a=l.padStart(2,"0"));let c=(0,on.isNotUndefined)(o)?o:0;u=Math.floor(s/T1)+c,s%=T1;let p=s.toString();return u&&p.length===1&&(s=p.padStart(2,"0")),TK(a,s,u)},e3=e=>{if((0,on.isNil)(e)||!(0,on.isString)(e))return"0:00";let t=EK(e);return AK(t)};var nu=require("react/jsx-runtime"),RK=new Set(["search"]),FK=dP.default.div`
|
|
1732
1732
|
position: relative;
|
|
1733
1733
|
|
|
1734
1734
|
svg {
|
|
@@ -1741,11 +1741,11 @@
|
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
1743
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
1744
|
-
`,BK=(e,t)=>(0,uc.isNotNil)(e)?e:t==="search"?(0,nu.jsx)(Pe,{size:"md",type:"search"}):null,ca=(0,ou.forwardRef)(({clickToCopy:e=!1,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,icon:a,iconPosition:s="end",innerRef:u,monospace:l=!1,onBlur:c,onChange:p,onFocus:d,onFocusToSelect:h,placeholder:g,readOnly:v=!1,required:m=!1,type:b="text",value:y,...x},w)=>{let S=(0,ou.useRef)(null),E=js([u,w,S]),D=b==="multiline"?"textarea":"input",P=v||e,F=(0,uc.isNotNil)(a)||e||RK.has(b);(0,ou.useEffect)(()=>{b==="timePosition"&&(0,uc.isNotNil)(S.current)&&(S.current.value=e3(y??0))},[b,y]);let _={"aria-invalid":o?"true":"false",as:D,clickToCopy:e,disabled:t,forceState:r,hasError:o,hasIcon:F,iconPosition:b==="search"?"start":s,monospace:l,onBlur:N=>{b==="timePosition"&&(0,uc.isNotNil)(S.current)&&(S.current.value=e3(N.target.value)),c&&c(N)},onChange:p,onFocus:N=>{h&&(N.target.select(),h(N)),d&&d(N)},placeholder:g,readOnly:P,ref:E,required:m,type:b},L={value:yr(y),..._,...x},z={value:y,..._,...x};return e?(0,nu.jsx)(
|
|
1744
|
+
`,BK=(e,t)=>(0,uc.isNotNil)(e)?e:t==="search"?(0,nu.jsx)(Pe,{size:"md",type:"search"}):null,ca=(0,ou.forwardRef)(({clickToCopy:e=!1,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,icon:a,iconPosition:s="end",innerRef:u,monospace:l=!1,onBlur:c,onChange:p,onFocus:d,onFocusToSelect:h,placeholder:g,readOnly:v=!1,required:m=!1,type:b="text",value:y,...x},w)=>{let S=(0,ou.useRef)(null),E=js([u,w,S]),D=b==="multiline"?"textarea":"input",P=v||e,F=(0,uc.isNotNil)(a)||e||RK.has(b);(0,ou.useEffect)(()=>{b==="timePosition"&&(0,uc.isNotNil)(S.current)&&(S.current.value=e3(y??0))},[b,y]);let _={"aria-invalid":o?"true":"false",as:D,clickToCopy:e,disabled:t,forceState:r,hasError:o,hasIcon:F,iconPosition:b==="search"?"start":s,monospace:l,onBlur:N=>{b==="timePosition"&&(0,uc.isNotNil)(S.current)&&(S.current.value=e3(N.target.value)),c&&c(N)},onChange:p,onFocus:N=>{h&&(N.target.select(),h(N)),d&&d(N)},placeholder:g,readOnly:P,ref:E,required:m,type:b},L={value:yr(y),..._,...x},z={value:y,..._,...x};return e?(0,nu.jsx)(pP,{inputComponent:Q5,inputProps:L}):(0,nu.jsxs)(FK,{disabled:t,fullWidth:n,iconPosition:z.iconPosition,children:[(0,nu.jsx)(Q5,{...z}),BK(a,b)]})});ca.displayName="Input_VHS";var t3=require("react/jsx-runtime"),OK=new Set(["text","multiline","url","email"]),A1=({disabled:e,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a,setFieldValue:s},label:u,labelDescription:l,labelProps:c,onChangeCustom:p,placeholder:d,type:h,onFocusToSelectValue:g,...v})=>{let m=x=>{n(x),p&&p(x.target.value)},b=x=>{if(o(x),OK.has(h)){let w=(x.target.value||"").trim();s(t,w)}},y=r===g?()=>{}:void 0;return(0,t3.jsx)(or,{disabled:e,error:(0,mP.isNotUndefined)(a)?a[t]:void 0,label:u,labelDescription:l,labelProps:c,name:t,children:(0,t3.jsx)(ca,{"data-testid":`input-${t}`,disabled:e,name:t,onBlur:b,onChange:m,onFocusToSelect:y,placeholder:d,type:h,value:r,...v})})};A1.displayName="FormConnectorInput_VHS";i();i();i();i();var gP=A(require("styled-components")),vP=A(ee());i();i();var iu=require("react"),hP=A(ee());var fo=require("react/jsx-runtime"),lc=(0,iu.forwardRef)(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:a,label:s,labelDescription:u,name:l,onChange:c,value:p="false",...d},h)=>{let[g,v]=(0,iu.useState)(!1);return(0,fo.jsxs)(m1,{ref:h,direction:t,disabled:r,forceState:n,hasError:o,isFocused:g,children:[(0,fo.jsx)(f1,{"aria-checked":e,checked:e,"data-testid":"radio-option-wrapper",disabled:r,id:a,name:l,onBlur:()=>v(!1),onChange:c,onFocus:()=>v(!0),role:"radio",type:"radio",value:p,...d}),(0,fo.jsxs)(p1,{children:[(0,fo.jsx)(fo.Fragment,{children:s}),(0,hP.isNotNil)(u)||(0,iu.isValidElement)(u)?(0,fo.jsx)(d1,{"data-testid":"radio-option-sub-label",children:u}):null]})]})});lc.displayName="Radio_VHS";var R1=require("react/jsx-runtime"),MK=gP.default.div`
|
|
1745
1745
|
display: flex;
|
|
1746
1746
|
flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
|
|
1747
1747
|
gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
|
|
1748
|
-
`,cc=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:u,options:l,value:c,...p})=>(0,R1.jsx)(or,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"radiogroup",...p,children:(0,R1.jsx)(MK,{direction:e,children:l.map(d=>(0,R1.jsx)(lc,{checked:c===d.value,direction:e,disabled:t,labelDescription:d.labelDescription,name:s,onChange:h=>(0,
|
|
1748
|
+
`,cc=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:a={},name:s,onChange:u,options:l,value:c,...p})=>(0,R1.jsx)(or,{disabled:t,error:r,label:n,labelDescription:o,labelProps:a,labelType:"legend",name:s,role:"radiogroup",...p,children:(0,R1.jsx)(MK,{direction:e,children:l.map(d=>(0,R1.jsx)(lc,{checked:c===d.value,direction:e,disabled:t,labelDescription:d.labelDescription,name:s,onChange:h=>(0,vP.isNotNil)(u)?u(h,d.value):void 0,...d},d.value))})});cc.displayName="RadioGroup_VHS";var yP=require("react/jsx-runtime"),F1=({direction:e="column",disabled:t=!1,field:{name:r},form:{errors:n,values:o,setFieldValue:a},label:s="",labelDescription:u,labelProps:l={},onChangeCustom:c,options:p})=>{let d=(h,g)=>{a(r,g)};return(0,yP.jsx)(cc,{direction:e,disabled:t,error:n[r],label:s,labelDescription:u,labelProps:l,name:r,onChange:(h,g)=>{d(h,g),c&&c(g)},options:p,value:o[r]})};F1.displayName="FormConnectorRadioGroup_VHS";i();i();var O1=A(ee());i();i();var CP=require("react"),B1=A(require("styled-components")),fa=A(ee());i();var au=A(require("styled-components"));var bP=au.css`
|
|
1749
1749
|
border: 1px solid ${({theme:e})=>e.color.brandBlue500};
|
|
1750
1750
|
`,IK=au.css`
|
|
1751
1751
|
color: ${({theme:e})=>e.color.grey900};
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
width: 100%;
|
|
1781
1781
|
|
|
1782
1782
|
&:focus {
|
|
1783
|
-
${
|
|
1783
|
+
${bP}
|
|
1784
1784
|
}
|
|
1785
1785
|
|
|
1786
1786
|
/* this removes a dotted border around select text when focusing in Firefox */
|
|
@@ -1796,7 +1796,7 @@
|
|
|
1796
1796
|
|
|
1797
1797
|
${({disabled:e})=>e&&IK}
|
|
1798
1798
|
${({hasError:e})=>e&&kK}
|
|
1799
|
-
${({forceState:e})=>e==="focus"&&
|
|
1799
|
+
${({forceState:e})=>e==="focus"&&bP};
|
|
1800
1800
|
`;var pa=require("react/jsx-runtime"),n3=(e,t,r)=>t?e.color.grey300:r?e.color.brandBlue500:e.color.grey700,NK=B1.default.div`
|
|
1801
1801
|
position: relative;
|
|
1802
1802
|
|
|
@@ -1821,17 +1821,17 @@
|
|
|
1821
1821
|
}
|
|
1822
1822
|
|
|
1823
1823
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
1824
|
-
`,o3=(e,t,r)=>{let n=({groupLabel:o,groupOptions:a,disabled:s=!1})=>(0,pa.jsx)("optgroup",{"data-testid":o,disabled:s,label:o,children:o3(a)},o);return e.map(o=>{if(Object.prototype.hasOwnProperty.call(o,"groupLabel"))return n(o);let{label:a,value:s,disabled:u=!1}=o,l=(0,fa.isNonEmptyString)(r)?o[r]:s,c=(0,fa.isNonEmptyString)(t)?o[t]:a;return(0,fa.isBoolean)(l)&&(l=yr(l)),(0,pa.jsx)("option",{disabled:u,value:l,children:c},`${yr(c)}--${yr(l)}`)})},VK=(e,t,r)=>(0,fa.isNotNil)(e)&&!r?o3([{label:e,value:"",disabled:t}]):null,LK=e=>e?null:(0,pa.jsx)(Pe,{size:"md",type:"caret-down"}),mi=(0,xP.forwardRef)(({ariaLabel:e,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,labelName:a="label",multiple:s=!1,options:u,placeholder:l="Please select...",preventPlaceholderSelection:c=!1,required:p=!1,valueName:d="value",...h},g)=>(0,pa.jsxs)(NK,{disabled:t,forceState:r,fullWidth:n,children:[(0,pa.jsxs)(r3,{ref:g,"aria-invalid":o?"true":"false","aria-label":e,disabled:t,forceState:r,hasError:o,multiple:s,required:p,...h,children:[VK(l,c,s),o3(u,a,d)]}),LK(s)]}));mi.displayName="Select_VHS";var i3=require("react/jsx-runtime"),M1=({disabled:e=!1,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a},label:s,labelDescription:u,labelProps:l={},options:c,placeholder:p,onChangeCustom:d,...h})=>{let g=v=>(0,O1.isNil)(v)?"":(0,O1.isBoolean)(v)?yr(r):v;return(0,i3.jsx)(or,{disabled:e,error:a[t],label:s,labelDescription:u,labelProps:l,name:t,children:(0,i3.jsx)(mi,{"data-testid":`select-${t}`,disabled:e,name:t,onBlur:o,onChange:v=>{n(v),d&&d(v.target.value)},options:c,placeholder:p,value:g(r),...h})})};M1.displayName="FormConnectorSelect_VHS";i();i();var wP=require("react"),su=A(ee());var SP=require("react/jsx-runtime"),I1=({field:{name:e,value:t,onChange:r},form:{setFieldValue:n}={},onChangeCustom:o,valueState:a="",...s})=>((0,wP.useEffect)(()=>{!a&&(0,su.isNil)(t)||a!==t&&(0,su.isNotUndefined)(n)&&n(e,a)},[n,e,a,t]),(0,SP.jsx)(ca,{"data-testid":`input-${e}`,name:e,onChange:u=>{r(u),(0,su.isNotUndefined)(o)&&o(u.target.value)},type:"hidden",value:(0,su.isNil)(t)?"":t,...s}));I1.displayName="FormConnectorHidden_VHS";i();i();var ym=require("react"),rF=A(require("styled-components")),nF=A(ee());i();i();var Si=require("react"),Iv=A(require("styled-components"));i();var Q3=A(TP()),VA=A(l3()),LA=A(aT()),k=A(require("react"));i();i();function sT(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function uT(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function c3(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return uT(r.overflowY,t)||uT(r.overflowX,t)||function(n){var o=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)}(e)}return!1}function N1(e,t,r,n,o,a,s,u){return a<e&&s>t||a>e&&s<t?0:a<=e&&u<=r||s>=t&&u>=r?a-e-n:s>t&&u<r||a<e&&u>r?s-t+o:0}var f3=function(e,t){var r=window,n=t.scrollMode,o=t.block,a=t.inline,s=t.boundary,u=t.skipOverflowHiddenElements,l=typeof s=="function"?s:function(we){return we!==s};if(!sT(e))throw new TypeError("Invalid target");for(var c,p,d=document.scrollingElement||document.documentElement,h=[],g=e;sT(g)&&l(g);){if((g=(p=(c=g).parentElement)==null?c.getRootNode().host||null:p)===d){h.push(g);break}g!=null&&g===document.body&&c3(g)&&!c3(document.documentElement)||g!=null&&c3(g,u)&&h.push(g)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),w=x.height,S=x.width,E=x.top,D=x.right,P=x.bottom,F=x.left,B=o==="start"||o==="nearest"?E:o==="end"?P:E+w/2,I=a==="center"?F+S/2:a==="end"?D:F,_=[],L=0;L<h.length;L++){var z=h[L],N=z.getBoundingClientRect(),$=N.height,Z=N.width,te=N.top,oe=N.right,j=N.bottom,fe=N.left;if(n==="if-needed"&&E>=0&&F>=0&&P<=m&&D<=v&&E>=te&&P<=j&&F>=fe&&D<=oe)return _;var ye=getComputedStyle(z),he=parseInt(ye.borderLeftWidth,10),We=parseInt(ye.borderTopWidth,10),R=parseInt(ye.borderRightWidth,10),U=parseInt(ye.borderBottomWidth,10),G=0,W=0,ce="offsetWidth"in z?z.offsetWidth-z.clientWidth-he-R:0,ae="offsetHeight"in z?z.offsetHeight-z.clientHeight-We-U:0,ge="offsetWidth"in z?z.offsetWidth===0?0:Z/z.offsetWidth:0,xe="offsetHeight"in z?z.offsetHeight===0?0:$/z.offsetHeight:0;if(d===z)G=o==="start"?B:o==="end"?B-m:o==="nearest"?N1(y,y+m,m,We,U,y+B,y+B+w,w):B-m/2,W=a==="start"?I:a==="center"?I-v/2:a==="end"?I-v:N1(b,b+v,v,he,R,b+I,b+I+S,S),G=Math.max(0,G+y),W=Math.max(0,W+b);else{G=o==="start"?B-te-We:o==="end"?B-j+U+ae:o==="nearest"?N1(te,j,$,We,U+ae,B,B+w,w):B-(te+$/2)+ae/2,W=a==="start"?I-fe-he:a==="center"?I-(fe+Z/2)+ce/2:a==="end"?I-oe+R+ce:N1(fe,oe,Z,he,R+ce,I,I+S,S);var Ee=z.scrollLeft,Te=z.scrollTop;B+=Te-(G=Math.max(0,Math.min(Te+G/xe,z.scrollHeight-$/xe+ae))),I+=Ee-(W=Math.max(0,Math.min(Ee+W/ge,z.scrollWidth-Z/ge+ce)))}_.push({el:z,top:G,left:W})}return _};function lT(e){return e===Object(e)&&Object.keys(e).length!==0}function Iq(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,a=n.top,s=n.left;o.scroll&&r?o.scroll({top:a,left:s,behavior:t}):(o.scrollTop=a,o.scrollLeft=s)})}function kq(e){return e===!1?{block:"end",inline:"nearest"}:lT(e)?e:{block:"start",inline:"nearest"}}function Nq(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(lT(t)&&typeof t.behavior=="function")return t.behavior(r?f3(e,t):[]);if(r){var n=kq(t);return Iq(f3(e,n),n.behavior)}}var cT=Nq;i();i();function fT(e){return Object.prototype.toString.call(e)==="[object Object]"}function et(e){var t,r;return fT(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(fT(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}i();function an(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var o,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function hi(e){return!!e&&!!e[Er]}function ma(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===_q}(e)||Array.isArray(e)||!!e[bT]||!!(!((t=e.constructor)===null||t===void 0)&&t[bT])||x3(e)||w3(e))}function dc(e,t,r){r===void 0&&(r=!1),uu(e)===0?(r?Object.keys:T3)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function uu(e){var t=e[Er];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:x3(e)?2:w3(e)?3:0}function g3(e,t){return uu(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Vq(e,t){return uu(e)===2?e.get(t):e[t]}function CT(e,t,r){var n=uu(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Lq(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function x3(e){return Gq&&e instanceof Map}function w3(e){return jq&&e instanceof Set}function da(e){return e.o||e.t}function S3(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Wq(e);delete t[Er];for(var r=T3(t),n=0;n<r.length;n++){var o=r[n],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function D3(e,t){return t===void 0&&(t=!1),E3(e)||hi(e)||!ma(e)||(uu(e)>1&&(e.set=e.add=e.clear=e.delete=$q),Object.freeze(e),t&&dc(e,function(r,n){return D3(n,!0)},!0)),e}function $q(){an(2)}function E3(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Tn(e){var t=Uq[e];return t||an(18,e),t}function pT(){return mc}function p3(e,t){t&&(Tn("Patches"),e.u=[],e.s=[],e.v=t)}function V1(e){v3(e),e.p.forEach(zq),e.p=null}function v3(e){e===mc&&(mc=e.l)}function dT(e){return mc={p:[],l:mc,h:e,m:!0,_:0}}function zq(e){var t=e[Er];t.i===0||t.i===1?t.j():t.g=!0}function d3(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Tn("ES5").S(t,e,n),n?(r[Er].P&&(V1(t),an(4)),ma(e)&&(e=L1(t,e),t.l||$1(t,e)),t.u&&Tn("Patches").M(r[Er].t,e,t.u,t.s)):e=L1(t,r,[]),V1(t),t.u&&t.v(t.u,t.s),e!==xT?e:void 0}function L1(e,t,r){if(E3(t))return t;var n=t[Er];if(!n)return dc(t,function(u,l){return mT(e,n,t,u,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return $1(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=S3(n.k):n.o,a=o,s=!1;n.i===3&&(a=new Set(o),o.clear(),s=!0),dc(a,function(u,l){return mT(e,n,o,u,l,r,s)}),$1(e,o,!1),r&&e.u&&Tn("Patches").N(n,r,e.u,e.s)}return n.o}function mT(e,t,r,n,o,a,s){if(hi(o)){var u=L1(e,o,a&&t&&t.i!==3&&!g3(t.R,n)?a.concat(n):void 0);if(CT(r,n,u),!hi(u))return;e.m=!1}else s&&r.add(o);if(ma(o)&&!E3(o)){if(!e.h.D&&e._<1)return;L1(e,o),t&&t.A.l||$1(e,o)}}function $1(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&D3(t,r)}function m3(e,t){var r=e[Er];return(r?da(r):e)[t]}function hT(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function y3(e){e.P||(e.P=!0,e.l&&y3(e.l))}function h3(e){e.o||(e.o=S3(e.t))}function b3(e,t,r){var n=x3(t)?Tn("MapSet").F(t,r):w3(t)?Tn("MapSet").T(t,r):e.O?function(o,a){var s=Array.isArray(o),u={i:s?1:0,A:a?a.A:pT(),P:!1,I:!1,R:{},l:a,t:o,k:null,o:null,j:null,C:!1},l=u,c=C3;s&&(l=[u],c=pc);var p=Proxy.revocable(l,c),d=p.revoke,h=p.proxy;return u.k=h,u.j=d,h}(t,r):Tn("ES5").J(t,r);return(r?r.A:pT()).p.push(n),n}function Hq(e){return hi(e)||an(22,e),function t(r){if(!ma(r))return r;var n,o=r[Er],a=uu(r);if(o){if(!o.P&&(o.i<4||!Tn("ES5").K(o)))return o.t;o.I=!0,n=gT(r,a),o.I=!1}else n=gT(r,a);return dc(n,function(s,u){o&&Vq(o.t,s)===u||CT(n,s,t(u))}),a===3?new Set(n):n}(e)}function gT(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return S3(e)}var vT,mc,P3=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gq=typeof Map<"u",jq=typeof Set<"u",yT=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",xT=P3?Symbol.for("immer-nothing"):((vT={})["immer-nothing"]=!0,vT),bT=P3?Symbol.for("immer-draftable"):"__$immer_draftable",Er=P3?Symbol.for("immer-state"):"__$immer_state";var _q=""+Object.prototype.constructor,T3=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Wq=Object.getOwnPropertyDescriptors||function(e){var t={};return T3(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Uq={},C3={get:function(e,t){if(t===Er)return e;var r=da(e);if(!g3(r,t))return function(o,a,s){var u,l=hT(a,s);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!ma(n)?n:n===m3(e.t,t)?(h3(e),e.o[t]=b3(e.A.h,n,e)):n},has:function(e,t){return t in da(e)},ownKeys:function(e){return Reflect.ownKeys(da(e))},set:function(e,t,r){var n=hT(da(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=m3(da(e),t),a=o?.[Er];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Lq(r,o)&&(r!==void 0||g3(e.t,t)))return!0;h3(e),y3(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return m3(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,h3(e),y3(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=da(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){an(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){an(12)}},pc={};dc(C3,function(e,t){pc[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),pc.deleteProperty=function(e,t){return pc.set.call(this,e,t,void 0)},pc.set=function(e,t,r){return C3.set.call(this,e[0],t,r,e[0])};var Kq=function(){function e(r){var n=this;this.O=yT,this.D=!0,this.produce=function(o,a,s){if(typeof o=="function"&&typeof a!="function"){var u=a;a=o;var l=n;return function(m){var b=this;m===void 0&&(m=u);for(var y=arguments.length,x=Array(y>1?y-1:0),w=1;w<y;w++)x[w-1]=arguments[w];return l.produce(m,function(S){var E;return(E=a).call.apply(E,[b,S].concat(x))})}}var c;if(typeof a!="function"&&an(6),s!==void 0&&typeof s!="function"&&an(7),ma(o)){var p=dT(n),d=b3(n,o,void 0),h=!0;try{c=a(d),h=!1}finally{h?V1(p):v3(p)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(m){return p3(p,s),d3(m,p)},function(m){throw V1(p),m}):(p3(p,s),d3(c,p))}if(!o||typeof o!="object"){if((c=a(o))===void 0&&(c=o),c===xT&&(c=void 0),n.D&&D3(c,!0),s){var g=[],v=[];Tn("Patches").M(o,c,g,v),s(g,v)}return c}an(21,o)},this.produceWithPatches=function(o,a){if(typeof o=="function")return function(c){for(var p=arguments.length,d=Array(p>1?p-1:0),h=1;h<p;h++)d[h-1]=arguments[h];return n.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(d))})};var s,u,l=n.produce(o,a,function(c,p){s=c,u=p});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,s,u]}):[l,s,u]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){ma(r)||an(8),hi(r)&&(r=Hq(r));var n=dT(this),o=b3(this,r,void 0);return o[Er].C=!0,v3(n),o},t.finishDraft=function(r,n){var o=r&&r[Er],a=o.A;return p3(a,n),d3(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!yT&&an(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var a=n[o];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}o>-1&&(n=n.slice(o+1));var s=Tn("Patches").$;return hi(r)?s(r,n):this.produce(r,function(u){return s(u,n)})},e}(),Pr=new Kq,z1=Pr.produce,bje=Pr.produceWithPatches.bind(Pr),Cje=Pr.setAutoFreeze.bind(Pr),xje=Pr.setUseProxies.bind(Pr),wje=Pr.applyPatches.bind(Pr),A3=Pr.createDraft.bind(Pr),R3=Pr.finishDraft.bind(Pr);var qq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=T.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Xq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=ve.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Yq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=M.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},G1=new WeakMap,j1=new WeakMap,gc=new WeakMap,QT=new WeakMap,wT=new WeakMap,ST=new WeakMap,DT=new WeakMap,T={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=T.levels(e,t);return r?n=n.slice(1):n=n.slice(0,-1),n},common(e,t){for(var r=[],n=0;n<e.length&&n<t.length;n++){var o=e[n],a=t[n];if(o!==a)break;r.push(o)}return r},compare(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},endsAfter(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return T.equals(n,o)&&a>s},endsAt(e,t){var r=e.length,n=e.slice(0,r),o=t.slice(0,r);return T.equals(n,o)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return T.equals(n,o)&&a<s},equals(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return T.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&T.compare(e,t)===0},isBefore(e,t){return T.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&T.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&T.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&T.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&T.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="number")},isSibling(e,t){if(e.length!==t.length)return!1;var r=e.slice(0,-1),n=t.slice(0,-1),o=e[e.length-1],a=t[t.length-1];return o!==a&&T.equals(r,n)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=[],o=0;o<=e.length;o++)n.push(e.slice(0,o));return r&&n.reverse(),n},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!T.isAncestor(t,e)&&!T.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return null;var n=[...e],{affinity:o="forward"}=r;if(e.length===0)return n;switch(t.type){case"insert_node":{var{path:a}=t;(T.equals(a,n)||T.endsBefore(a,n)||T.isAncestor(a,n))&&(n[a.length-1]+=1);break}case"remove_node":{var{path:s}=t;if(T.equals(s,n)||T.isAncestor(s,n))return null;T.endsBefore(s,n)&&(n[s.length-1]-=1);break}case"merge_node":{var{path:u,position:l}=t;T.equals(u,n)||T.endsBefore(u,n)?n[u.length-1]-=1:T.isAncestor(u,n)&&(n[u.length-1]-=1,n[u.length]+=l);break}case"split_node":{var{path:c,position:p}=t;if(T.equals(c,n)){if(o==="forward")n[n.length-1]+=1;else if(o!=="backward")return null}else T.endsBefore(c,n)?n[c.length-1]+=1:T.isAncestor(c,n)&&e[c.length]>=p&&(n[c.length-1]+=1,n[c.length]-=p);break}case"move_node":{var{path:d,newPath:h}=t;if(T.equals(d,h))return n;if(T.isAncestor(d,n)||T.equals(d,n)){var g=h.slice();return T.endsBefore(d,h)&&d.length<h.length&&(g[d.length-1]-=1),g.concat(n.slice(d.length))}else T.isSibling(d,h)&&(T.isAncestor(h,n)||T.equals(h,n))?T.endsBefore(d,n)?n[d.length-1]-=1:n[d.length-1]+=1:T.endsBefore(h,n)||T.equals(h,n)||T.isAncestor(h,n)?(T.endsBefore(d,n)&&(n[d.length-1]-=1),n[h.length-1]+=1):T.endsBefore(d,n)&&(T.equals(h,n)&&(n[h.length-1]+=1),n[d.length-1]-=1);break}}return n}};function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ET(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ET(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ET(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Jq=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,a=K.parent(e,n),s=n[n.length-1];if(s>a.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(n,"] because the destination is past the end of the node."));if(a.children.splice(s,0,o),t)for(var[u,l]of M.points(t))t[l]=ve.transform(u,r);break}case"insert_text":{var{path:c,offset:p,text:d}=r;if(d.length===0)break;var h=K.leaf(e,c),g=h.text.slice(0,p),v=h.text.slice(p);if(h.text=g+d+v,t)for(var[m,b]of M.points(t))t[b]=ve.transform(m,r);break}case"merge_node":{var{path:y}=r,x=K.get(e,y),w=T.previous(y),S=K.get(e,w),E=K.parent(e,y),D=y[y.length-1];if(Q.isText(x)&&Q.isText(S))S.text+=x.text;else if(!Q.isText(x)&&!Q.isText(S))S.children.push(...x.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(st.stringify(x)," ").concat(st.stringify(S)));if(E.children.splice(D,1),t)for(var[P,F]of M.points(t))t[F]=ve.transform(P,r);break}case"move_node":{var{path:B,newPath:I}=r;if(T.isAncestor(B,I))throw new Error("Cannot move a path [".concat(B,"] to new path [").concat(I,"] because the destination is inside itself."));var _=K.get(e,B),L=K.parent(e,B),z=B[B.length-1];L.children.splice(z,1);var N=T.transform(B,r),$=K.get(e,T.parent(N)),Z=N[N.length-1];if($.children.splice(Z,0,_),t)for(var[te,oe]of M.points(t))t[oe]=ve.transform(te,r);break}case"remove_node":{var{path:j}=r,fe=j[j.length-1],ye=K.parent(e,j);if(ye.children.splice(fe,1),t)for(var[he,We]of M.points(t)){var R=ve.transform(he,r);if(t!=null&&R!=null)t[We]=R;else{var U=void 0,G=void 0;for(var[W,ce]of K.texts(e))if(T.compare(ce,j)===-1)U=[W,ce];else{G=[W,ce];break}var ae=!1;U&&G&&(T.equals(G[1],j)?ae=!T.hasPrevious(G[1]):ae=T.common(U[1],j).length<T.common(G[1],j).length),U&&!ae?(he.path=U[1],he.offset=U[0].text.length):G?(he.path=G[1],he.offset=0):t=null}}break}case"remove_text":{var{path:ge,offset:xe,text:Ee}=r;if(Ee.length===0)break;var Te=K.leaf(e,ge),we=Te.text.slice(0,xe),vt=Te.text.slice(xe+Ee.length);if(Te.text=we+vt,t)for(var[yt,Ue]of M.points(t))t[Ue]=ve.transform(yt,r);break}case"set_node":{var{path:dr,properties:Ut,newProperties:Pt}=r;if(dr.length===0)throw new Error("Cannot set properties on the root node!");var mr=K.get(e,dr);for(var O in Pt){if(O==="children"||O==="text")throw new Error('Cannot set the "'.concat(O,'" property of nodes!'));var Y=Pt[O];Y==null?delete mr[O]:mr[O]=Y}for(var re in Ut)Pt.hasOwnProperty(re)||delete mr[re];break}case"set_selection":{var{newProperties:X}=r;if(X==null)t=X;else{if(t==null){if(!M.isRange(X))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(st.stringify(X)," when there is no current selection."));t=hc({},X)}for(var le in X){var Se=X[le];if(Se==null){if(le==="anchor"||le==="focus")throw new Error('Cannot remove the "'.concat(le,'" selection property'));delete t[le]}else t[le]=Se}}break}case"split_node":{var{path:Ae,position:bt,properties:Ao}=r;if(Ae.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Ae,"] because the root node cannot be split."));var qr=K.get(e,Ae),b0=K.parent(e,Ae),B7=Ae[Ae.length-1],$a;if(Q.isText(qr)){var C0=qr.text.slice(0,bt),wI=qr.text.slice(bt);qr.text=C0,$a=hc(hc({},Ao),{},{text:wI})}else{var SI=qr.children.slice(0,bt),DI=qr.children.slice(bt);qr.children=SI,$a=hc(hc({},Ao),{},{children:DI})}if(b0.children.splice(B7+1,0,$a),t)for(var[EI,PI]of M.points(t))t[PI]=ve.transform(EI,r);break}}return t},Zq={transform(e,t){e.children=A3(e.children);var r=e.selection&&A3(e.selection);try{r=Jq(e,r,t)}finally{e.children=R3(e.children),r?e.selection=hi(r)?R3(r):r:e.selection=null}}},Qq={insertNodes(e,t,r){e.insertNodes(t,r)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,r){e.setNodes(t,r)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,r){e.unsetNodes(t,r)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,r){e.wrapNodes(t,r)}},eX={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,r){e.setPoint(t,r)},setSelection(e,t){e.setSelection(t)}},eA=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(et(n)&&et(o)){if(!eA(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(n[a]!==o[a])return!1}else if(n!==o)return!1}for(var s in t)if(e[s]===void 0&&t[s]!==void 0)return!1;return!0};function tX(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ho(e,t){if(e==null)return{};var r=tX(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var rX=["anchor","focus"];function PT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function nX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?PT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var M={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return M.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=M.edges(e);return t},equals(e,t){return ve.equals(e.anchor,t.anchor)&&ve.equals(e.focus,t.focus)},includes(e,t){if(M.isRange(t)){if(M.includes(e,t.anchor)||M.includes(e,t.focus))return!0;var[r,n]=M.edges(e),[o,a]=M.edges(t);return ve.isBefore(r,o)&&ve.isAfter(n,a)}var[s,u]=M.edges(e),l=!1,c=!1;return ve.isPoint(t)?(l=ve.compare(t,s)>=0,c=ve.compare(t,u)<=0):(l=T.compare(t,s.path)>=0,c=T.compare(t,u.path)<=0),l&&c},intersection(e,t){var r=ho(e,rX),[n,o]=M.edges(e),[a,s]=M.edges(t),u=ve.isBefore(n,a)?a:n,l=ve.isBefore(o,s)?o:s;return ve.isBefore(l,u)?null:nX({anchor:u,focus:l},r)},isBackward(e){var{anchor:t,focus:r}=e;return ve.isAfter(t,r)},isCollapsed(e){var{anchor:t,focus:r}=e;return ve.equals(t,r)},isExpanded(e){return!M.isCollapsed(e)},isForward(e){return!M.isBackward(e)},isRange(e){return et(e)&&ve.isPoint(e.anchor)&&ve.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=M.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z1(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,a,s;if(o==="inward"){var u=M.isCollapsed(n);M.isForward(n)?(a="forward",s=u?a:"backward"):(a="backward",s=u?a:"forward")}else o==="outward"?M.isForward(n)?(a="backward",s="forward"):(a="forward",s="backward"):(a=o,s=o);var l=ve.transform(n.anchor,t,{affinity:a}),c=ve.transform(n.focus,t,{affinity:s});if(!l||!c)return null;n.anchor=l,n.focus=c})}},TT=e=>et(e)&&K.isNodeList(e.children)&&!C.isEditor(e),q={isAncestor(e){return et(e)&&K.isNodeList(e.children)},isElement:TT,isElementList(e){return Array.isArray(e)&&e.every(t=>q.isElement(t))},isElementProps(e){return e.children!==void 0},isElementType:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return TT(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},oX=["children"],iX=["text"],AT=new WeakMap,K={ancestor(e,t){var r=K.get(e,t);if(Q.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(st.stringify(r)));return r},*ancestors(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of T.ancestors(t,r)){var o=K.ancestor(e,n),a=[o,n];yield a}},child(e,t){if(Q.isText(e))throw new Error("Cannot get the child of a text node: ".concat(st.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(st.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=K.ancestor(e,t),{children:a}=o,s=n?a.length-1:0;n?s>=0:s<a.length;){var u=K.child(o,s),l=t.concat(s);yield[u,l],s=n?s-1:s+1}},common(e,t,r){var n=T.common(t,r),o=K.get(e,n);return[o,n]},descendant(e,t){var r=K.get(e,t);if(C.isEditor(r))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(st.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of K.nodes(e,t))n.length!==0&&(yield[r,n])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of K.nodes(e,t))q.isElement(r)&&(yield[r,n])},extractProps(e){if(q.isAncestor(e)){var t=ho(e,oX);return t}else{var t=ho(e,iX);return t}},first(e,t){for(var r=t.slice(),n=K.get(e,r);n&&!(Q.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(Q.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(st.stringify(e)));var r=z1({children:e.children},n=>{var[o,a]=M.edges(t),s=K.nodes(n,{reverse:!0,pass:h=>{var[,g]=h;return!M.includes(t,g)}});for(var[,u]of s){if(!M.includes(t,u)){var l=K.parent(n,u),c=u[u.length-1];l.children.splice(c,1)}if(T.equals(u,a.path)){var p=K.leaf(n,u);p.text=p.text.slice(0,a.offset)}if(T.equals(u,o.path)){var d=K.leaf(n,u);d.text=d.text.slice(o.offset)}}C.isEditor(n)&&(n.selection=null)});return r.children},get(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(Q.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(st.stringify(e)));r=r.children[o]}return r},has(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(Q.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return Q.isText(e)||q.isElement(e)||C.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=AT.get(e);if(t!==void 0)return t;var r=e.every(n=>K.isNode(n));return AT.set(e,r),r},last(e,t){for(var r=t.slice(),n=K.get(e,r);n&&!(Q.isText(n)||n.children.length===0);){var o=n.children.length-1;n=n.children[o],r.push(o)}return[n,r]},leaf(e,t){var r=K.get(e,t);if(!Q.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(st.stringify(r)));return r},*levels(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of T.levels(t,r)){var o=K.get(e,n);yield[o,n]}},matches(e,t){return q.isElement(e)&&q.isElementProps(t)&&q.matches(e,t)||Q.isText(e)&&Q.isTextProps(t)&&Q.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:r,reverse:n=!1}=t,{from:o=[],to:a}=t,s=new Set,u=[],l=e;!(a&&(n?T.isBefore(u,a):T.isAfter(u,a)));){if(s.has(l)||(yield[l,u]),!s.has(l)&&!Q.isText(l)&&l.children.length!==0&&(r==null||r([l,u])===!1)){s.add(l);var c=n?l.children.length-1:0;T.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),l=K.get(e,u);continue}if(u.length===0)break;if(!n){var p=T.next(u);if(K.has(e,p)){u=p,l=K.get(e,u);continue}}if(n&&u[u.length-1]!==0){var d=T.previous(u);u=d,l=K.get(e,u);continue}u=T.parent(u),l=K.get(e,u),s.add(l)}},parent(e,t){var r=T.parent(t),n=K.get(e,r);if(Q.isText(n))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return n},string(e){return Q.isText(e)?e.text:e.children.map(K.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of K.nodes(e,t))Q.isText(r)&&(yield[r,n])}};function RT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?RT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):RT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var mo={isNodeOperation(e){return mo.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!et(e))return!1;switch(e.type){case"insert_node":return T.isPath(e.path)&&K.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&T.isPath(e.path);case"merge_node":return typeof e.position=="number"&&T.isPath(e.path)&&et(e.properties);case"move_node":return T.isPath(e.path)&&T.isPath(e.newPath);case"remove_node":return T.isPath(e.path)&&K.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&T.isPath(e.path);case"set_node":return T.isPath(e.path)&&et(e.properties)&&et(e.newProperties);case"set_selection":return e.properties===null&&M.isRange(e.newProperties)||e.newProperties===null&&M.isRange(e.properties)||et(e.properties)&&et(e.newProperties);case"split_node":return T.isPath(e.path)&&typeof e.position=="number"&&et(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>mo.isOperation(t))},isSelectionOperation(e){return mo.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return mo.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return je(je({},e),{},{type:"remove_node"});case"insert_text":return je(je({},e),{},{type:"remove_text"});case"merge_node":return je(je({},e),{},{type:"split_node",path:T.previous(e.path)});case"move_node":{var{newPath:t,path:r}=e;if(T.equals(t,r))return e;if(T.isSibling(r,t))return je(je({},e),{},{path:t,newPath:r});var n=T.transform(r,e),o=T.transform(T.next(r),e);return je(je({},e),{},{path:n,newPath:o})}case"remove_node":return je(je({},e),{},{type:"insert_node"});case"remove_text":return je(je({},e),{},{type:"insert_text"});case"set_node":{var{properties:a,newProperties:s}=e;return je(je({},e),{},{properties:s,newProperties:a})}case"set_selection":{var{properties:u,newProperties:l}=e;return u==null?je(je({},e),{},{properties:l,newProperties:null}):l==null?je(je({},e),{},{properties:null,newProperties:u}):je(je({},e),{},{properties:l,newProperties:u})}case"split_node":return je(je({},e),{},{type:"merge_node",path:T.next(e.path)})}}},FT=new WeakMap,aX=e=>{var t=FT.get(e);if(t!==void 0)return t;if(!et(e))return!1;var r=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertSoftBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isElementReadOnly=="function"&&typeof e.isInline=="function"&&typeof e.isSelectable=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&typeof e.getDirtyPaths=="function"&&(e.marks===null||et(e.marks))&&(e.selection===null||M.isRange(e.selection))&&K.isNodeList(e.children)&&mo.isOperationList(e.operations);return FT.set(e,r),r},C={above(e,t){return e.above(t)},addMark(e,t,r){e.addMark(t,r)},after(e,t,r){return e.after(t,r)},before(e,t,r){return e.before(t,r)},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteBackward(r)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteForward(r)},deleteFragment(e,t){e.deleteFragment(t)},edges(e,t){return e.edges(t)},elementReadOnly(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.elementReadOnly(t)},end(e,t){return e.end(t)},first(e,t){return e.first(t)},fragment(e,t){return e.fragment(t)},hasBlocks(e,t){return e.hasBlocks(t)},hasInlines(e,t){return e.hasInlines(t)},hasPath(e,t){return e.hasPath(t)},hasTexts(e,t){return e.hasTexts(t)},insertBreak(e){e.insertBreak()},insertFragment(e,t,r){e.insertFragment(t,r)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock(e,t){return e.isBlock(t)},isEdge(e,t,r){return e.isEdge(t,r)},isEditor(e){return aX(e)},isElementReadOnly(e,t){return e.isElementReadOnly(t)},isEmpty(e,t){return e.isEmpty(t)},isEnd(e,t,r){return e.isEnd(t,r)},isInline(e,t){return e.isInline(t)},isNormalizing(e){return e.isNormalizing()},isSelectable(e,t){return e.isSelectable(t)},isStart(e,t,r){return e.isStart(t,r)},isVoid(e,t){return e.isVoid(t)},last(e,t){return e.last(t)},leaf(e,t,r){return e.leaf(t,r)},levels(e,t){return e.levels(t)},marks(e){return e.getMarks()},next(e,t){return e.next(t)},node(e,t,r){return e.node(t,r)},nodes(e,t){return e.nodes(t)},normalize(e,t){e.normalize(t)},parent(e,t,r){return e.parent(t,r)},path(e,t,r){return e.path(t,r)},pathRef(e,t,r){return e.pathRef(t,r)},pathRefs(e){return e.pathRefs()},point(e,t,r){return e.point(t,r)},pointRef(e,t,r){return e.pointRef(t,r)},pointRefs(e){return e.pointRefs()},positions(e,t){return e.positions(t)},previous(e,t){return e.previous(t)},range(e,t,r){return e.range(t,r)},rangeRef(e,t,r){return e.rangeRef(t,r)},rangeRefs(e){return e.rangeRefs()},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start(e,t){return e.start(t)},string(e,t,r){return e.string(t,r)},unhangRange(e,t,r){return e.unhangRange(t,r)},void(e,t){return e.void(t)},withoutNormalizing(e,t){e.withoutNormalizing(t)}};var sX={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(T.isPath)}};function BT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function OT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?BT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):BT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ve={compare(e,t){var r=T.compare(e.path,t.path);return r===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:r},isAfter(e,t){return ve.compare(e,t)===1},isBefore(e,t){return ve.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&T.equals(e.path,t.path)},isPoint(e){return et(e)&&typeof e.offset=="number"&&T.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z1(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:a,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=T.transform(a,t,r);break}case"insert_text":{T.equals(t.path,a)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{T.equals(t.path,a)&&(n.offset+=t.position),n.path=T.transform(a,t,r);break}case"remove_text":{T.equals(t.path,a)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(T.equals(t.path,a)||T.isAncestor(t.path,a))return null;n.path=T.transform(a,t,r);break}case"split_node":{if(T.equals(t.path,a)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=T.transform(a,t,OT(OT({},r),{},{affinity:"forward"})))}else n.path=T.transform(a,t,r);break}}})}},MT=void 0,st={setScrubber(e){MT=e},stringify(e){return JSON.stringify(e,MT)}},uX=["text"],lX=["anchor","focus"];function IT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function po(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?IT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):IT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Q={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(a){var s=ho(a,uX);return s}return eA(n?o(e):e,n?o(t):t)},isText(e){return et(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>Q.isText(t))},isTextProps(e){return e.text!==void 0},matches(e,t){for(var r in t)if(r!=="text"&&(!e.hasOwnProperty(r)||e[r]!==t[r]))return!1;return!0},decorations(e,t){var r=[po({},e)];for(var n of t){var o=ho(n,lX),[a,s]=M.edges(n),u=[],l=0,c=a.offset,p=s.offset;for(var d of r){var{length:h}=d.text,g=l;if(l+=h,c<=g&&l<=p){Object.assign(d,o),u.push(d);continue}if(c!==p&&(c===l||p===g)||c>l||p<g||p===g&&g!==0){u.push(d);continue}var v=d,m=void 0,b=void 0;if(p<l){var y=p-g;b=po(po({},v),{},{text:v.text.slice(y)}),v=po(po({},v),{},{text:v.text.slice(0,y)})}if(c>g){var x=c-g;m=po(po({},v),{},{text:v.text.slice(0,x)}),v=po(po({},v),{},{text:v.text.slice(x)})}Object.assign(v,o),m&&u.push(m),u.push(v),b&&u.push(b)}r=u}return r}},F3=e=>e.selection?e.selection:e.children.length>0?C.end(e,[]):[0],cu=(e,t)=>{var[r]=C.node(e,t);return n=>n===r},B3=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?hX(t):t,a=de.None,s=de.None,u=0,l=null,c=null;for(var p of o){var d=p.codePointAt(0);if(!d)break;var h=TX(p,d);if([a,s]=n?[s,h]:[h,a],lu(a,de.ZWJ)&&lu(s,de.ExtPict)&&(n?l=kT(t.substring(0,u)):l=kT(t.substring(0,t.length-u)),!l)||lu(a,de.RI)&&lu(s,de.RI)&&(c!==null?c=!c:n?c=!0:c=OX(t.substring(0,t.length-u)),!c)||a!==de.None&&s!==de.None&&RX(a,s))break;u+=p.length}return u||1},cX=/\s/,fX=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,pX=/['\u2018\u2019]/,dX=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var a=B3(t,r),[s,u]=O3(t,a,r);if(mX(s,u,r))o=!0,n+=a;else if(!o)n+=a;else break;t=u}return n},O3=(e,t,r)=>{if(r){var n=e.length-t;return[e.slice(n,e.length),e.slice(0,n)]}return[e.slice(0,t),e.slice(t)]},mX=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(cX.test(t))return!1;if(pX.test(t)){var o=B3(r,n),[a,s]=O3(r,o,n);if(e(a,s,n))return!0}return!fX.test(t)},hX=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(vX(o.charCodeAt(0))){var a=t.charAt(r-n-1);if(gX(a.charCodeAt(0))){yield a+o,n++;continue}}yield o}},gX=e=>e>=55296&&e<=56319,vX=e=>e>=56320&&e<=57343,de;(function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"})(de||(de={}));var yX=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,bX=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,CX=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,xX=/^[\u1100-\u115F\uA960-\uA97C]$/,wX=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,SX=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,DX=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,EX=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,PX=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,TX=(e,t)=>{var r=de.Any;return e.search(yX)!==-1&&(r|=de.Extend),t===8205&&(r|=de.ZWJ),t>=127462&&t<=127487&&(r|=de.RI),e.search(bX)!==-1&&(r|=de.Prepend),e.search(CX)!==-1&&(r|=de.SpacingMark),e.search(xX)!==-1&&(r|=de.L),e.search(wX)!==-1&&(r|=de.V),e.search(SX)!==-1&&(r|=de.T),e.search(DX)!==-1&&(r|=de.LV),e.search(EX)!==-1&&(r|=de.LVT),e.search(PX)!==-1&&(r|=de.ExtPict),r};function lu(e,t){return(e&t)!==0}var AX=[[de.L,de.L|de.V|de.LV|de.LVT],[de.LV|de.V,de.V|de.T],[de.LVT|de.T,de.T],[de.Any,de.Extend|de.ZWJ],[de.Any,de.SpacingMark],[de.Prepend,de.Any],[de.ZWJ,de.ExtPict],[de.RI,de.RI]];function RX(e,t){return AX.findIndex(r=>lu(e,r[0])&&lu(t,r[1]))===-1}var FX=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,kT=e=>e.search(FX)!==-1,BX=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,OX=e=>{var t=e.match(BX);if(t===null)return!1;var r=t[0].length/2;return r%2===1},MX={delete(e,t){e.delete(t)},insertFragment(e,t,r){e.insertFragment(t,r)},insertText(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(e,()=>{var{voids:n=!1}=r,{at:o=F3(e)}=r;if(T.isPath(o)&&(o=C.range(e,o)),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var a=M.end(o);if(!n&&C.void(e,{at:a}))return;var s=M.start(o),u=C.pointRef(e,s),l=C.pointRef(e,a);V.delete(e,{at:o,voids:n});var c=u.unref(),p=l.unref();o=c||p,V.setSelection(e,{anchor:o,focus:o})}if(!(!n&&C.void(e,{at:o})||C.elementReadOnly(e,{at:o}))){var{path:d,offset:h}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:h,text:t})}})}};function NT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function H1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?NT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):NT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var V=H1(H1(H1(H1({},Zq),Qq),eX),MX),IX=(e,t)=>{for(var r of C.pathRefs(e))qq.transform(r,t);for(var n of C.pointRefs(e))Xq.transform(n,t);for(var o of C.rangeRefs(e))Yq.transform(o,t);var a=G1.get(e)||[],s=j1.get(e)||new Set,u,l,c=v=>{if(v){var m=v.join(",");l.has(m)||(l.add(m),u.push(v))}};if(T.operationCanTransformPath(t)){u=[],l=new Set;for(var p of a){var d=T.transform(p,t);c(d)}}else u=a,l=s;var h=e.getDirtyPaths(t);for(var g of h)c(g);G1.set(e,u),j1.set(e,l),V.transform(e,t),e.operations.push(t),C.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),gc.get(e)||(gc.set(e,!0),Promise.resolve().then(()=>{gc.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},kX=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":{var{path:r}=t;return T.levels(r)}case"insert_node":{var{node:n,path:o}=t,a=T.levels(o),s=Q.isText(n)?[]:Array.from(K.nodes(n),I=>{var[,_]=I;return o.concat(_)});return[...a,...s]}case"merge_node":{var{path:u}=t,l=T.ancestors(u),c=T.previous(u);return[...l,c]}case"move_node":{var{path:p,newPath:d}=t;if(T.equals(p,d))return[];var h=[],g=[];for(var v of T.ancestors(p)){var m=T.transform(v,t);h.push(m)}for(var b of T.ancestors(d)){var y=T.transform(b,t);g.push(y)}var x=g[g.length-1],w=d[d.length-1],S=x.concat(w);return[...h,...g,S]}case"remove_node":{var{path:E}=t,D=T.ancestors(E);return[...D]}case"split_node":{var{path:P}=t,F=T.levels(P),B=T.next(P);return[...F,B]}default:return[]}},NX=e=>{var{selection:t}=e;return t?K.fragment(e,t):[]},VX=(e,t)=>{var[r,n]=t;if(!Q.isText(r)){if(q.isElement(r)&&r.children.length===0){var o={text:""};V.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var a=C.isEditor(r)?!1:q.isElement(r)&&(e.isInline(r)||r.children.length===0||Q.isText(r.children[0])||e.isInline(r.children[0])),s=0,u=0;u<r.children.length;u++,s++){var l=K.get(e,n);if(!Q.isText(l)){var c=l.children[s],p=l.children[s-1],d=u===r.children.length-1,h=Q.isText(c)||q.isElement(c)&&e.isInline(c);if(h!==a)V.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(q.isElement(c)){if(e.isInline(c)){if(p==null||!Q.isText(p)){var g={text:""};V.insertNodes(e,g,{at:n.concat(s),voids:!0}),s++}else if(d){var v={text:""};V.insertNodes(e,v,{at:n.concat(s+1),voids:!0}),s++}}}else p!=null&&Q.isText(p)&&(Q.equals(c,p,{loose:!0})?(V.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):p.text===""?(V.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(V.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},LX=(e,t)=>{var{iteration:r,initialDirtyPathsLength:n}=t,o=n*42;if(r>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},$X=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:a=t.selection,match:s}=r;if(a){var u=C.path(t,a),l=o==="lowest";for(var[c,p]of C.levels(t,{at:u,voids:n,match:s,reverse:l}))if(!Q.isText(c)){if(M.isRange(a)){if(T.isAncestor(p,a.anchor.path)&&T.isAncestor(p,a.focus.path))return[c,p]}else if(!T.equals(u,p))return[c,p]}}};function VT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function LT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?VT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):VT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var zX=(e,t,r)=>{var{selection:n}=e;if(n){var o=(d,h)=>{if(!Q.isText(d))return!1;var[g,v]=C.parent(e,h);return!e.isVoid(g)||e.markableVoid(g)},a=M.isExpanded(n),s=!1;if(!a){var[u,l]=C.node(e,n);if(u&&o(u,l)){var[c]=C.parent(e,l);s=c&&e.markableVoid(c)}}if(a||s)V.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var p=LT(LT({},C.marks(e)||{}),{},{[t]:r});e.marks=p,gc.get(e)||e.onChange()}}};function $T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function zT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$T(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$T(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var HX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.point(t,r,{edge:"end"}),a=C.end(t,[]),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var p of C.positions(t,zT(zT({},n),{},{at:s}))){if(l>u)break;l!==0&&(c=p),l++}return c};function HT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function GT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?HT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):HT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var GX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.start(t,[]),a=C.point(t,r,{edge:"start"}),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var p of C.positions(t,GT(GT({},n),{},{at:s,reverse:!0}))){if(l>u)break;l!==0&&(c=p),l++}return c},jX=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&V.delete(e,{unit:t,reverse:!0})},_X=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&V.delete(e,{unit:t})},WX=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&M.isExpanded(n)&&V.delete(t,{reverse:r==="backward"})},UX=(e,t)=>[C.start(e,t),C.end(e,t)];function jT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _T(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var KX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,_T(_T({},r),{},{match:n=>q.isElement(n)&&C.isElementReadOnly(t,n)}))},qX=(e,t)=>C.point(e,t,{edge:"end"}),XX=(e,t)=>{var r=C.path(e,t,{edge:"start"});return C.node(e,r)},YX=(e,t)=>{var r=C.range(e,t);return K.fragment(e,r)};function WT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function UT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?WT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):WT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var JX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,UT(UT({},r),{},{match:n=>q.isElement(n)&&C.isVoid(t,n)}))},ZX=(e,t)=>t.children.some(r=>q.isElement(r)&&C.isBlock(e,r)),QX=(e,t)=>t.children.some(r=>Q.isText(r)||C.isInline(e,r)),eY=(e,t)=>K.has(e,t),tY=(e,t)=>t.children.every(r=>Q.isText(r)),rY=e=>{V.splitNodes(e,{always:!0})},nY=(e,t,r)=>{V.insertNodes(e,t,r)},oY=e=>{V.splitNodes(e,{always:!0})};function KT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function iY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?KT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):KT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var aY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:a}=t;if(o){if(a){var s=iY({text:r},a);V.insertNodes(t,s,{at:n.at,voids:n.voids})}else V.insertText(t,r,n);t.marks=null}},sY=(e,t)=>!e.isInline(t),uY=(e,t,r)=>C.isStart(e,t,r)||C.isEnd(e,t,r),lY=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&Q.isText(n)&&n.text===""&&!e.isVoid(t)},cY=(e,t,r)=>{var n=C.end(e,r);return ve.equals(t,n)},fY=e=>{var t=QT.get(e);return t===void 0?!0:t},pY=(e,t,r)=>{if(t.offset!==0)return!1;var n=C.start(e,r);return ve.equals(t,n)},dY=(e,t)=>{var r=C.path(e,t,{edge:"end"});return C.node(e,r)},mY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=K.leaf(t,o);return[a,o]};function*hY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:a}=t;if(a==null&&(a=()=>!0),!!r){var s=[],u=C.path(e,r);for(var[l,c]of K.levels(e,u))if(a(l,c)&&(s.push([l,c]),!o&&q.isElement(l)&&C.isVoid(e,l)))break;n&&s.reverse(),yield*s}}var gY=["text"],vY=["text"],yY=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(M.isExpanded(n)){var[o]=C.nodes(t,{match:Q.isText});if(o){var[a]=o,s=ho(a,gY);return s}else return{}}var{anchor:u}=n,{path:l}=u,[c]=C.leaf(t,l);if(u.offset===0){var p=C.previous(t,{at:l,match:Q.isText}),d=C.above(t,{match:y=>q.isElement(y)&&C.isVoid(t,y)&&t.markableVoid(y)});if(!d){var h=C.above(t,{match:y=>q.isElement(y)&&C.isBlock(t,y)});if(p&&h){var[g,v]=p,[,m]=h;T.isAncestor(m,v)&&(c=g)}}}var b=ho(c,vY);return b},bY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=C.after(t,s,{voids:o});if(u){var[,l]=C.last(t,[]),c=[u.path,l];if(T.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(a==null)if(T.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{at:c,match:a,mode:n,voids:o});return d}}},CY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=K.get(t,o);return[a,o]};function*xY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:a=!1,voids:s=!1,ignoreNonSelectable:u=!1}=t,{match:l}=t;if(l||(l=()=>!0),!!r){var c,p;if(sX.isSpan(r))c=r[0],p=r[1];else{var d=C.path(e,r,{edge:"start"}),h=C.path(e,r,{edge:"end"});c=a?h:d,p=a?d:h}var g=K.nodes(e,{reverse:a,from:c,to:p,pass:S=>{var[E]=S;return q.isElement(E)?!!(!s&&(C.isVoid(e,E)||C.isElementReadOnly(e,E))||u&&!C.isSelectable(e,E)):!1}}),v=[],m;for(var[b,y]of g)if(!(u&&q.isElement(b)&&!C.isSelectable(e,b))){var x=m&&T.compare(y,m[1])===0;if(!(n==="highest"&&x)){if(!l(b,y)){if(o&&!x&&Q.isText(b))return;continue}if(n==="lowest"&&x){m=[b,y];continue}var w=n==="lowest"?m:[b,y];w&&(o?v.push(w):yield w),m=[b,y]}}n==="lowest"&&m&&(o?v.push(m):yield m),o&&(yield*v)}}var wY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,a=p=>G1.get(p)||[],s=p=>j1.get(p)||new Set,u=p=>{var d=a(p).pop(),h=d.join(",");return s(p).delete(h),d};if(C.isNormalizing(t)){if(n){var l=Array.from(K.nodes(t),p=>{var[,d]=p;return d}),c=new Set(l.map(p=>p.join(",")));G1.set(t,l),j1.set(t,c)}a(t).length!==0&&C.withoutNormalizing(t,()=>{for(var p of a(t))if(K.has(t,p)){var d=C.node(t,p),[h,g]=d;q.isElement(h)&&h.children.length===0&&t.normalizeNode(d,{operation:o})}for(var v=a(t),m=v.length,b=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:b,initialDirtyPathsLength:m,operation:o}))return;var y=u(t);if(K.has(t,y)){var x=C.node(t,y);t.normalizeNode(x,{operation:o})}b++,v=a(t)}})}},SY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=T.parent(o),s=C.node(t,a);return s},DY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=C.pathRefs(t);return l.delete(a),a.current=null,u}},s=C.pathRefs(t);return s.add(a),a},EY=e=>{var t=wT.get(e);return t||(t=new Set,wT.set(e,t)),t},PY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:a}=n;if(T.isPath(r)){if(a==="start"){var[,s]=K.first(t,r);r=s}else if(a==="end"){var[,u]=K.last(t,r);r=u}}return M.isRange(r)&&(a==="start"?r=M.start(r):a==="end"?r=M.end(r):r=T.common(r.anchor.path,r.focus.path)),ve.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},TY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=C.pointRefs(t);return l.delete(a),a.current=null,u}},s=C.pointRefs(t);return s.add(a),a},AY=e=>{var t=ST.get(e);return t||(t=new Set,ST.set(e,t)),t},RY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(T.isPath(r)){var a;if(o==="end"){var[,s]=K.last(t,r);a=s}else{var[,u]=K.first(t,r);a=u}var l=K.get(t,a);if(!Q.isText(l))throw new Error("Cannot get the ".concat(o," point in the node at path [").concat(r,"] because it has no ").concat(o," text node."));return{path:a,offset:o==="end"?l.text.length:0}}if(M.isRange(r)){var[c,p]=M.edges(r);return o==="start"?c:p}return r};function*FY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var u=C.range(e,r),[l,c]=M.edges(u),p=o?c:l,d=!1,h="",g=0,v=0,m=0;for(var[b,y]of C.nodes(e,{at:r,reverse:o,voids:a,ignoreNonSelectable:s})){if(q.isElement(b)){if(!a&&(e.isVoid(b)||e.isElementReadOnly(b))){yield C.start(e,y);continue}if(e.isInline(b))continue;if(C.hasInlines(e,b)){var x=T.isAncestor(y,c.path)?c:C.end(e,y),w=T.isAncestor(y,l.path)?l:C.start(e,y);h=C.string(e,{anchor:w,focus:x},{voids:a}),d=!0}}if(Q.isText(b)){var S=T.equals(y,p.path);for(S?(v=o?p.offset:b.text.length-p.offset,m=p.offset):(v=b.text.length,m=o?v:0),(S||d||n==="offset")&&(yield{path:y,offset:m},d=!1);;){if(g===0){if(h==="")break;g=E(h,n,o),h=O3(h,g,o)[1]}if(m=o?m-g:m+g,v=v-g,v<0){g=-v;break}g=0,yield{path:y,offset:m}}}}function E(D,P,F){return P==="character"?B3(D,F):P==="word"?dX(D,F):P==="line"||P==="block"?D.length:1}}var BY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=C.before(t,s,{voids:o});if(u){var[,l]=C.first(t,[]),c=[u.path,l];if(T.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(a==null)if(T.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{reverse:!0,at:c,match:a,mode:n,voids:o});return d}}},OY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=C.rangeRefs(t);return l.delete(a),a.current=null,u}},s=C.rangeRefs(t);return s.add(a),a},MY=e=>{var t=DT.get(e);return t||(t=new Set,DT.set(e,t)),t},IY=(e,t,r)=>{if(M.isRange(t)&&!r)return t;var n=C.start(e,t),o=C.end(e,r||t);return{anchor:n,focus:o}};function qT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function kY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var NY=(e,t)=>{var{selection:r}=e;if(r){var n=(p,d)=>{if(!Q.isText(p))return!1;var[h,g]=C.parent(e,d);return!e.isVoid(h)||e.markableVoid(h)},o=M.isExpanded(r),a=!1;if(!o){var[s,u]=C.node(e,r);if(s&&n(s,u)){var[l]=C.parent(e,u);a=l&&e.markableVoid(l)}}if(o||a)V.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=kY({},C.marks(e)||{});delete c[t],e.marks=c,gc.get(e)||e.onChange()}}},VY=(e,t)=>{QT.set(e,t)},LY=(e,t)=>C.point(e,t,{edge:"start"}),$Y=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,a=C.range(t,r),[s,u]=M.edges(a),l="";for(var[c,p]of C.nodes(t,{at:a,match:Q.isText,voids:o})){var d=c.text;T.equals(p,u.path)&&(d=d.slice(0,u.offset)),T.equals(p,s.path)&&(d=d.slice(s.offset)),l+=d}return l},zY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[a,s]=M.edges(r);if(a.offset!==0||s.offset!==0||M.isCollapsed(r)||T.hasPrevious(s.path))return r;var u=C.above(t,{at:s,match:v=>q.isElement(v)&&C.isBlock(t,v),voids:o}),l=u?u[1]:[],c=C.start(t,a),p={anchor:c,focus:s},d=!0;for(var[h,g]of C.nodes(t,{at:p,match:Q.isText,reverse:!0,voids:o})){if(d){d=!1;continue}if(h.text!==""||T.isBefore(g,l)){s={path:g,offset:h.text.length};break}}return{anchor:a,focus:s}},HY=(e,t)=>{var r=C.isNormalizing(e);C.setNormalizing(e,!1);try{t()}finally{C.setNormalizing(e,r)}C.normalize(e)},GY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var n,o,{reverse:a=!1,unit:s="character",distance:u=1,voids:l=!1}=r,{at:c=t.selection,hanging:p=!1}=r;if(c){var d=!1;if(M.isRange(c)&&M.isCollapsed(c)&&(d=!0,c=c.anchor),ve.isPoint(c)){var h=C.void(t,{at:c,mode:"highest"});if(!l&&h){var[,g]=h;c=g}else{var v={unit:s,distance:u},m=a?C.before(t,c,v)||C.start(t,[]):C.after(t,c,v)||C.end(t,[]);c={anchor:c,focus:m},p=!0}}if(T.isPath(c)){V.removeNodes(t,{at:c,voids:l});return}if(!M.isCollapsed(c)){if(!p){var[,b]=M.edges(c),y=C.end(t,[]);ve.equals(b,y)||(c=C.unhangRange(t,c,{voids:l}))}var[x,w]=M.edges(c),S=C.above(t,{match:we=>q.isElement(we)&&C.isBlock(t,we),at:x,voids:l}),E=C.above(t,{match:we=>q.isElement(we)&&C.isBlock(t,we),at:w,voids:l}),D=S&&E&&!T.equals(S[1],E[1]),P=T.equals(x.path,w.path),F=l?null:(n=C.void(t,{at:x,mode:"highest"}))!==null&&n!==void 0?n:C.elementReadOnly(t,{at:x,mode:"highest"}),B=l?null:(o=C.void(t,{at:w,mode:"highest"}))!==null&&o!==void 0?o:C.elementReadOnly(t,{at:w,mode:"highest"});if(F){var I=C.before(t,x);I&&S&&T.isAncestor(S[1],I.path)&&(x=I)}if(B){var _=C.after(t,w);_&&E&&T.isAncestor(E[1],_.path)&&(w=_)}var L=[],z;for(var N of C.nodes(t,{at:c,voids:l})){var[$,Z]=N;z&&T.compare(Z,z)===0||(!l&&q.isElement($)&&(C.isVoid(t,$)||C.isElementReadOnly(t,$))||!T.isCommon(Z,x.path)&&!T.isCommon(Z,w.path))&&(L.push(N),z=Z)}var te=Array.from(L,we=>{var[,vt]=we;return C.pathRef(t,vt)}),oe=C.pointRef(t,x),j=C.pointRef(t,w),fe="";if(!P&&!F){var ye=oe.current,[he]=C.leaf(t,ye),{path:We}=ye,{offset:R}=x,U=he.text.slice(R);U.length>0&&(t.apply({type:"remove_text",path:We,offset:R,text:U}),fe=U)}if(te.reverse().map(we=>we.unref()).filter(we=>we!==null).forEach(we=>V.removeNodes(t,{at:we,voids:l})),!B){var G=j.current,[W]=C.leaf(t,G),{path:ce}=G,ae=P?x.offset:0,ge=W.text.slice(ae,w.offset);ge.length>0&&(t.apply({type:"remove_text",path:ce,offset:ae,text:ge}),fe=ge)}!P&&D&&j.current&&oe.current&&V.mergeNodes(t,{at:j.current,hanging:!0,voids:l}),d&&a&&s==="character"&&fe.length>1&&fe.match(/[\u0E00-\u0E7F]+/)&&V.insertText(t,fe.slice(0,fe.length-u));var xe=oe.unref(),Ee=j.unref(),Te=a?xe||Ee:Ee||xe;r.at==null&&Te&&V.select(t,Te)}}})},jY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1}=n,{at:s=F3(t)}=n;if(r.length){if(M.isRange(s))if(o||(s=C.unhangRange(t,s,{voids:a})),M.isCollapsed(s))s=s.anchor;else{var[,u]=M.edges(s);if(!a&&C.void(t,{at:u}))return;var l=C.pointRef(t,u);V.delete(t,{at:s}),s=l.unref()}else T.isPath(s)&&(s=C.start(t,s));if(!(!a&&C.void(t,{at:s}))){var c=C.above(t,{at:s,match:R=>q.isElement(R)&&C.isInline(t,R),mode:"highest",voids:a});if(c){var[,p]=c;if(C.isEnd(t,s,p)){var d=C.after(t,p);s=d}else if(C.isStart(t,s,p)){var h=C.before(t,p);s=h}}var g=C.above(t,{match:R=>q.isElement(R)&&C.isBlock(t,R),at:s,voids:a}),[,v]=g,m=C.isStart(t,s,v),b=C.isEnd(t,s,v),y=m&&b,x=!m||m&&b,w=!b,[,S]=K.first({children:r},[]),[,E]=K.last({children:r},[]),D=[],P=R=>{var[U,G]=R,W=G.length===0;return W?!1:y?!0:!(x&&T.isAncestor(G,S)&&q.isElement(U)&&!t.isVoid(U)&&!t.isInline(U)||w&&T.isAncestor(G,E)&&q.isElement(U)&&!t.isVoid(U)&&!t.isInline(U))};for(var F of K.nodes({children:r},{pass:P}))P(F)&&D.push(F);var B=[],I=[],_=[],L=!0,z=!1;for(var[N]of D)q.isElement(N)&&!t.isInline(N)?(L=!1,z=!0,I.push(N)):L?B.push(N):_.push(N);var[$]=C.nodes(t,{at:s,match:R=>Q.isText(R)||C.isInline(t,R),mode:"highest",voids:a}),[,Z]=$,te=C.isStart(t,s,Z),oe=C.isEnd(t,s,Z),j=C.pathRef(t,b&&!_.length?T.next(v):v),fe=C.pathRef(t,oe?T.next(Z):Z);V.splitNodes(t,{at:s,match:R=>z?q.isElement(R)&&C.isBlock(t,R):Q.isText(R)||C.isInline(t,R),mode:z?"lowest":"highest",always:z&&(!m||B.length>0)&&(!b||_.length>0),voids:a});var ye=C.pathRef(t,!te||te&&oe?T.next(Z):Z);if(V.insertNodes(t,B,{at:ye.current,match:R=>Q.isText(R)||C.isInline(t,R),mode:"highest",voids:a}),y&&!B.length&&I.length&&!_.length&&V.delete(t,{at:v,voids:a}),V.insertNodes(t,I,{at:j.current,match:R=>q.isElement(R)&&C.isBlock(t,R),mode:"lowest",voids:a}),V.insertNodes(t,_,{at:fe.current,match:R=>Q.isText(R)||C.isInline(t,R),mode:"highest",voids:a}),!n.at){var he;if(_.length>0&&fe.current?he=T.previous(fe.current):I.length>0&&j.current?he=T.previous(j.current):ye.current&&(he=T.previous(ye.current)),he){var We=C.end(t,he);V.select(t,We)}}ye.unref(),j.unref(),fe.unref()}}})},_Y=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=r,{selection:o}=t;if(o){if(n==="anchor")V.select(t,o.anchor);else if(n==="focus")V.select(t,o.focus);else if(n==="start"){var[a]=M.edges(o);V.select(t,a)}else if(n==="end"){var[,s]=M.edges(o);V.select(t,s)}}else return},WY=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},UY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:a="character",reverse:s=!1}=r,{edge:u=null}=r;if(n){u==="start"&&(u=M.isBackward(n)?"focus":"anchor"),u==="end"&&(u=M.isBackward(n)?"anchor":"focus");var{anchor:l,focus:c}=n,p={distance:o,unit:a,ignoreNonSelectable:!0},d={};if(u==null||u==="anchor"){var h=s?C.before(t,l,p):C.after(t,l,p);h&&(d.anchor=h)}if(u==null||u==="focus"){var g=s?C.before(t,c,p):C.after(t,c,p);g&&(d.focus=g)}V.setSelection(t,d)}},KY=(e,t)=>{var{selection:r}=e;if(t=C.range(e,t),r){V.setSelection(e,t);return}if(!M.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(st.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function XT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function YT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?XT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):XT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var qY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:a="both"}=n;if(o){a==="start"&&(a=M.isBackward(o)?"focus":"anchor"),a==="end"&&(a=M.isBackward(o)?"anchor":"focus");var{anchor:s,focus:u}=o,l=a==="anchor"?s:u;V.setSelection(t,{[a==="anchor"?"anchor":"focus"]:YT(YT({},l),r)})}},XY=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var a in t)(a==="anchor"&&t.anchor!=null&&!ve.equals(t.anchor,r.anchor)||a==="focus"&&t.focus!=null&&!ve.equals(t.focus,r.focus)||a!=="anchor"&&a!=="focus"&&t[a]!==r[a])&&(n[a]=r[a],o[a]=t[a]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},YY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1,mode:s="lowest"}=n,{at:u,match:l,select:c}=n;if(K.isNode(r)&&(r=[r]),r.length!==0){var[p]=r;if(u||(u=F3(t),c=!0),c==null&&(c=!1),M.isRange(u))if(o||(u=C.unhangRange(t,u,{voids:a})),M.isCollapsed(u))u=u.anchor;else{var[,d]=M.edges(u),h=C.pointRef(t,d);V.delete(t,{at:u}),u=h.unref()}if(ve.isPoint(u)){l==null&&(Q.isText(p)?l=P=>Q.isText(P):t.isInline(p)?l=P=>Q.isText(P)||C.isInline(t,P):l=P=>q.isElement(P)&&C.isBlock(t,P));var[g]=C.nodes(t,{at:u.path,match:l,mode:s,voids:a});if(g){var[,v]=g,m=C.pathRef(t,v),b=C.isEnd(t,u,v);V.splitNodes(t,{at:u,match:l,mode:s,voids:a});var y=m.unref();u=b?T.next(y):y}else return}var x=T.parent(u),w=u[u.length-1];if(!(!a&&C.void(t,{at:x}))){for(var S of r){var E=x.concat(w);w++,t.apply({type:"insert_node",path:E,node:S}),u=T.next(u)}if(u=T.previous(u),c){var D=C.end(t,u);D&&V.select(t,D)}}}})},JY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:o="lowest",voids:a=!1}=r,{match:s}=r;if(s==null&&(s=T.isPath(n)?cu(t,n):S=>q.isElement(S)&&C.isBlock(t,S)),!!n){var u=C.nodes(t,{at:n,match:s,mode:o,voids:a}),l=Array.from(u,S=>{var[,E]=S;return C.pathRef(t,E)});for(var c of l){var p=c.unref();if(p.length<2)throw new Error("Cannot lift node at a path [".concat(p,"] because it has a depth of less than `2`."));var d=C.node(t,T.parent(p)),[h,g]=d,v=p[p.length-1],{length:m}=h.children;if(m===1){var b=T.next(g);V.moveNodes(t,{at:p,to:b,voids:a}),V.removeNodes(t,{at:g,voids:a})}else if(v===0)V.moveNodes(t,{at:p,to:g,voids:a});else if(v===m-1){var y=T.next(g);V.moveNodes(t,{at:p,to:y,voids:a})}else{var x=T.next(p),w=T.next(g);V.splitNodes(t,{at:x,voids:a}),V.moveNodes(t,{at:p,to:w,voids:a})}}}})},ZY=["text"],QY=["children"],tA=(e,t)=>{if(q.isElement(t)){var r=t;return C.isVoid(e,t)?!0:r.children.length===1?tA(e,r.children[0]):!1}else return!C.isEditor(t)},eJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{match:n,at:o=t.selection}=r,{hanging:a=!1,voids:s=!1,mode:u="lowest"}=r;if(o){if(n==null)if(T.isPath(o)){var[l]=C.parent(t,o);n=I=>l.children.includes(I)}else n=I=>q.isElement(I)&&C.isBlock(t,I);if(!a&&M.isRange(o)&&(o=C.unhangRange(t,o,{voids:s})),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var[,c]=M.edges(o),p=C.pointRef(t,c);V.delete(t,{at:o}),o=p.unref(),r.at==null&&V.select(t,o)}var[d]=C.nodes(t,{at:o,match:n,voids:s,mode:u}),h=C.previous(t,{at:o,match:n,voids:s,mode:u});if(!(!d||!h)){var[g,v]=d,[m,b]=h;if(!(v.length===0||b.length===0)){var y=T.next(b),x=T.common(v,b),w=T.isSibling(v,b),S=Array.from(C.levels(t,{at:v}),I=>{var[_]=I;return _}).slice(x.length).slice(0,-1),E=C.above(t,{at:v,mode:"highest",match:I=>S.includes(I)&&tA(t,I)}),D=E&&C.pathRef(t,E[1]),P,F;if(Q.isText(g)&&Q.isText(m)){var B=ho(g,ZY);F=m.text.length,P=B}else if(q.isElement(g)&&q.isElement(m)){var B=ho(g,QY);F=m.children.length,P=B}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(st.stringify(g)," ").concat(st.stringify(m)));w||V.moveNodes(t,{at:v,to:y,voids:s}),D&&V.removeNodes(t,{at:D.current,voids:s}),q.isElement(m)&&C.isEmpty(t,m)||Q.isText(m)&&m.text===""&&b[b.length-1]!==0?V.removeNodes(t,{at:b,voids:s}):t.apply({type:"merge_node",path:y,position:F,properties:P}),D&&D.unref()}}}})},tJ=(e,t)=>{C.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:a=!1}=t,{match:s}=t;if(n){s==null&&(s=T.isPath(n)?cu(e,n):g=>q.isElement(g)&&C.isBlock(e,g));var u=C.pathRef(e,r),l=C.nodes(e,{at:n,match:s,mode:o,voids:a}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(e,v)});for(var p of c){var d=p.unref(),h=u.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:h}),u.current&&T.isSibling(h,d)&&T.isAfter(h,d)&&(u.current=T.next(u.current))}u.unref()}})},rJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:a="lowest"}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=T.isPath(s)?cu(t,s):g=>q.isElement(g)&&C.isBlock(t,g)),!n&&M.isRange(s)&&(s=C.unhangRange(t,s,{voids:o}));var l=C.nodes(t,{at:s,match:u,mode:a,voids:o}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(t,v)});for(var p of c){var d=p.unref();if(d){var[h]=C.node(t,d);t.apply({type:"remove_node",path:d,node:h})}}}})},nJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{match:o,at:a=t.selection,compare:s,merge:u}=n,{hanging:l=!1,mode:c="lowest",split:p=!1,voids:d=!1}=n;if(a){if(o==null&&(o=T.isPath(a)?cu(t,a):F=>q.isElement(F)&&C.isBlock(t,F)),!l&&M.isRange(a)&&(a=C.unhangRange(t,a,{voids:d})),p&&M.isRange(a)){if(M.isCollapsed(a)&&C.leaf(t,a.anchor)[0].text.length>0)return;var h=C.rangeRef(t,a,{affinity:"inward"}),[g,v]=M.edges(a),m=c==="lowest"?"lowest":"highest",b=C.isEnd(t,v,v.path);V.splitNodes(t,{at:v,match:o,mode:m,voids:d,always:!b});var y=C.isStart(t,g,g.path);V.splitNodes(t,{at:g,match:o,mode:m,voids:d,always:!y}),a=h.unref(),n.at==null&&V.select(t,a)}s||(s=(F,B)=>F!==B);for(var[x,w]of C.nodes(t,{at:a,match:o,mode:c,voids:d})){var S={},E={};if(w.length!==0){var D=!1;for(var P in r)P==="children"||P==="text"||s(r[P],x[P])&&(D=!0,x.hasOwnProperty(P)&&(S[P]=x[P]),u?r[P]!=null&&(E[P]=u(x[P],r[P])):r[P]!=null&&(E[P]=r[P]));D&&t.apply({type:"set_node",path:w,properties:S,newProperties:E})}}}})},oJ=(e,t)=>{if(M.isCollapsed(t))return t.anchor;var[,r]=M.edges(t),n=C.pointRef(e,r);return V.delete(e,{at:t}),n.unref()},iJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection,height:u=0,always:l=!1}=r;if(a==null&&(a=j=>q.isElement(j)&&C.isBlock(t,j)),M.isRange(s)&&(s=oJ(t,s)),T.isPath(s)){var c=s,p=C.point(t,c),[d]=C.parent(t,c);a=j=>j===d,u=p.path.length-c.length+1,s=p,l=!0}if(s){var h=C.pointRef(t,s,{affinity:"backward"}),g;try{var[v]=C.nodes(t,{at:s,match:a,mode:n,voids:o});if(!v)return;var m=C.void(t,{at:s,mode:"highest"}),b=0;if(!o&&m){var[y,x]=m;if(q.isElement(y)&&t.isInline(y)){var w=C.after(t,x);if(!w){var S={text:""},E=T.next(x);V.insertNodes(t,S,{at:E,voids:o}),w=C.point(t,E)}s=w,l=!0}var D=s.path.length-x.length;u=D+1,l=!0}g=C.pointRef(t,s);var P=s.path.length-u,[,F]=v,B=s.path.slice(0,P),I=u===0?s.offset:s.path[P]+b;for(var[_,L]of C.levels(t,{at:B,reverse:!0,voids:o})){var z=!1;if(L.length<F.length||L.length===0||!o&&q.isElement(_)&&C.isVoid(t,_))break;var N=h.current,$=C.isEnd(t,N,L);if(l||!h||!C.isEdge(t,N,L)){z=!0;var Z=K.extractProps(_);t.apply({type:"split_node",path:L,position:I,properties:Z})}I=L[L.length-1]+(z||$?1:0)}if(r.at==null){var te=g.current||C.end(t,[]);V.select(t,te)}}finally{var oe;h.unref(),(oe=g)===null||oe===void 0||oe.unref()}}})},aJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var a of r)o[a]=null;V.setNodes(t,o,n)},sJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:a=!1}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=T.isPath(s)?cu(t,s):g=>q.isElement(g)&&C.isBlock(t,g)),T.isPath(s)&&(s=C.range(t,s));var l=M.isRange(s)?C.rangeRef(t,s):null,c=C.nodes(t,{at:s,match:u,mode:n,voids:a}),p=Array.from(c,g=>{var[,v]=g;return C.pathRef(t,v)}).reverse(),d=function(v){var m=v.unref(),[b]=C.node(t,m),y=C.range(t,m);o&&l&&(y=M.intersection(l.current,y)),V.liftNodes(t,{at:y,match:x=>q.isAncestor(b)&&b.children.includes(x),voids:a})};for(var h of p)d(h);l&&l.unref()}})};function JT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ZT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?JT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):JT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var uJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{mode:o="lowest",split:a=!1,voids:s=!1}=n,{match:u,at:l=t.selection}=n;if(l){if(u==null&&(T.isPath(l)?u=cu(t,l):t.isInline(r)?u=y=>q.isElement(y)&&C.isInline(t,y)||Q.isText(y):u=y=>q.isElement(y)&&C.isBlock(t,y)),a&&M.isRange(l)){var[c,p]=M.edges(l),d=C.rangeRef(t,l,{affinity:"inward"});V.splitNodes(t,{at:p,match:u,voids:s}),V.splitNodes(t,{at:c,match:u,voids:s}),l=d.unref(),n.at==null&&V.select(t,l)}var h=Array.from(C.nodes(t,{at:l,match:t.isInline(r)?y=>q.isElement(y)&&C.isBlock(t,y):y=>C.isEditor(y),mode:"lowest",voids:s}));for(var[,g]of h){var v=M.isRange(l)?M.intersection(l,C.range(t,g)):l;if(v){var m=Array.from(C.nodes(t,{at:v,match:u,mode:o,voids:s}));if(m.length>0){var b=function(){var[y]=m,x=m[m.length-1],[,w]=y,[,S]=x;if(w.length===0&&S.length===0)return"continue";var E=T.equals(w,S)?T.parent(w):T.common(w,S),D=C.range(t,w,S),P=C.node(t,E),[F]=P,B=E.length+1,I=T.next(S.slice(0,B)),_=ZT(ZT({},r),{},{children:[]});V.insertNodes(t,_,{at:I,voids:s}),V.moveNodes(t,{at:D,match:L=>q.isAncestor(F)&&F.children.includes(L),to:I.concat(0),voids:s})}();if(b==="continue")continue}}}}})},_1=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IX(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zX(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jX(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _X(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WX(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NX(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rY(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return oY(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jY(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nY(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return aY(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VX(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NY(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kX(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LX(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $X(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HX(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GX(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _Y(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GY(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WY(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UX(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KX(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qX(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XX(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YX(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yY(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZX(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QX(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eY(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tY(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YY(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sY(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return uY(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lY(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cY(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fY(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pY(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dY(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mY(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hY(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JY(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eJ(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UY(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tJ(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bY(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CY(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xY(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wY(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SY(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PY(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DY(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EY(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RY(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TY(e,...n)},pointRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AY(e,...n)},positions:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FY(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BY(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IY(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OY(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MY(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rJ(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KY(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nJ(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VY(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qY(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XY(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return iJ(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LY(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $Y(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zY(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return aJ(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sJ(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JX(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HY(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return uJ(e,...n)}};return e};i();i();i();i();i();i();i();var kr=[];var rA=function(){return kr.some(function(e){return e.activeTargets.length>0})};i();var nA=function(){return kr.some(function(e){return e.skippedTargets.length>0})};i();var oA="ResizeObserver loop completed with undelivered notifications.",iA=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:oA}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=oA),window.dispatchEvent(e)};i();i();i();i();var ha;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(ha||(ha={}));i();i();var sn=function(e){return Object.freeze(e)};var M3=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,sn(this)}return e}();i();var I3=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,sn(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,s=t.bottom,u=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:a,bottom:s,left:u,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();i();var vc=function(e){return e instanceof SVGElement&&"getBBox"in e},W1=function(e){if(vc(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,s=o.offsetHeight;return!(a||s||e.getClientRects().length)},k3=function(e){var t;if(e instanceof Element)return!0;var r=(t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},aA=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};i();var ga=typeof window<"u"?window:{};var U1=new WeakMap,sA=/auto|scroll/,lJ=/^tb|vertical/,cJ=/msie|trident/i.test(ga.navigator&&ga.navigator.userAgent),An=function(e){return parseFloat(e||"0")},fu=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new M3((r?t:e)||0,(r?e:t)||0)},uA=sn({devicePixelContentBoxSize:fu(),borderBoxSize:fu(),contentBoxSize:fu(),contentRect:new I3(0,0,0,0)}),N3=function(e,t){if(t===void 0&&(t=!1),U1.has(e)&&!t)return U1.get(e);if(W1(e))return U1.set(e,uA),uA;var r=getComputedStyle(e),n=vc(e)&&e.ownerSVGElement&&e.getBBox(),o=!cJ&&r.boxSizing==="border-box",a=lJ.test(r.writingMode||""),s=!n&&sA.test(r.overflowY||""),u=!n&&sA.test(r.overflowX||""),l=n?0:An(r.paddingTop),c=n?0:An(r.paddingRight),p=n?0:An(r.paddingBottom),d=n?0:An(r.paddingLeft),h=n?0:An(r.borderTopWidth),g=n?0:An(r.borderRightWidth),v=n?0:An(r.borderBottomWidth),m=n?0:An(r.borderLeftWidth),b=d+c,y=l+p,x=m+g,w=h+v,S=u?e.offsetHeight-w-e.clientHeight:0,E=s?e.offsetWidth-x-e.clientWidth:0,D=o?b+x:0,P=o?y+w:0,F=n?n.width:An(r.width)-D-E,B=n?n.height:An(r.height)-P-S,I=F+b+E+x,_=B+y+S+w,L=sn({devicePixelContentBoxSize:fu(Math.round(F*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:fu(I,_,a),contentBoxSize:fu(F,B,a),contentRect:new I3(d,l,F,B)});return U1.set(e,L),L},K1=function(e,t,r){var n=N3(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case ha.DEVICE_PIXEL_CONTENT_BOX:return s;case ha.BORDER_BOX:return o;default:return a}};var V3=function(){function e(t){var r=N3(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=sn([r.borderBoxSize]),this.contentBoxSize=sn([r.contentBoxSize]),this.devicePixelContentBoxSize=sn([r.devicePixelContentBoxSize])}return e}();i();var q1=function(e){if(W1(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var lA=function(){var e=1/0,t=[];kr.forEach(function(s){if(s.activeTargets.length!==0){var u=[];s.activeTargets.forEach(function(c){var p=new V3(c.target),d=q1(c.target);u.push(p),c.lastReportedSize=K1(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){s.callback.call(s.observer,u,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e};i();var L3=function(e){kr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(q1(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var cA=function(){var e=0;for(L3(e);rA();)e=lA(),L3(e);return nA()&&iA(),e>0};i();i();var $3,fA=[],fJ=function(){return fA.splice(0).forEach(function(e){return e()})},pA=function(e){if(!$3){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return fJ()}).observe(r,n),$3=function(){r.textContent="".concat(t?t--:t++)}}fA.push(e),$3()};var dA=function(e){pA(function(){requestAnimationFrame(e)})};var X1=0,pJ=function(){return!!X1},dJ=250,mJ={attributes:!0,characterData:!0,childList:!0,subtree:!0},mA=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],hA=function(e){return e===void 0&&(e=0),Date.now()+e},z3=!1,hJ=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=dJ),!z3){z3=!0;var n=hA(t);dA(function(){var o=!1;try{o=cA()}finally{if(z3=!1,t=n-hA(),!pJ())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,mJ)};document.body?r():ga.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),mA.forEach(function(r){return ga.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),mA.forEach(function(r){return ga.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Y1=new hJ,H3=function(e){!X1&&e>0&&Y1.start(),X1+=e,!X1&&Y1.stop()};i();var gJ=function(e){return!vc(e)&&!aA(e)&&getComputedStyle(e).display==="inline"},gA=function(){function e(t,r){this.target=t,this.observedBox=r||ha.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=K1(this.target,this.observedBox,!0);return gJ(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();i();var vA=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var J1=new WeakMap,yA=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},yc=function(){function e(){}return e.connect=function(t,r){var n=new vA(t,r);J1.set(t,n)},e.observe=function(t,r,n){var o=J1.get(t),a=o.observationTargets.length===0;yA(o.observationTargets,r)<0&&(a&&kr.push(o),o.observationTargets.push(new gA(r,n&&n.box)),H3(1),Y1.schedule())},e.unobserve=function(t,r){var n=J1.get(t),o=yA(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&kr.splice(kr.indexOf(n),1),n.observationTargets.splice(o,1),H3(-1))},e.disconnect=function(t){var r=this,n=J1.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}();var G3=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");yc.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!k3(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");yc.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!k3(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");yc.unobserve(this,t)},e.prototype.disconnect=function(){yc.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var em=A(SA()),$A=A(require("react-dom"));function im(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xJ(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function mu(e,t){if(e==null)return{};var r=xJ(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var ev=(0,k.createContext)(null),Ci=()=>{var e=(0,k.useContext)(ev);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},zA=parseInt(k.default.version.split(".")[0],10),wJ=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,DA=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),ar=typeof navigator<"u"&&/Android/.test(navigator.userAgent),xc=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Cc=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),SJ=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),HA=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),DJ=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),EJ=ar&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),PJ=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),TJ=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),AJ=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),tm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gi=(!DJ||!EJ)&&!SJ&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",tv=new WeakMap,rv=new WeakMap,GA=new WeakMap,rm=new WeakMap,U3=new WeakMap,Sc=new WeakMap,ba=new WeakMap,nm=new WeakMap,am=new WeakMap,K3=new WeakMap,va=new WeakMap,ya=new WeakMap,wc=new WeakMap,q3=new WeakMap,nv=new WeakMap,un=new WeakMap,go=new WeakMap,ir=new WeakMap,vi=new WeakMap,yi=new WeakMap,jA=new WeakMap,hu=Symbol("placeholder"),_A=Symbol("mark-placeholder"),RJ=globalThis.Text,ov=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,FJ=e=>bi(e)&&e.nodeType===8,Nr=e=>bi(e)&&e.nodeType===1,bi=e=>{var t=ov(e);return!!t&&e instanceof t.Node},X3=e=>{var t=e&&e.anchorNode&&ov(e.anchorNode);return!!t&&e instanceof t.Selection},WA=e=>bi(e)&&e.nodeType===3,BJ=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,OJ=e=>{var[t,r]=e;if(Nr(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=UA(t,o,n?"backward":"forward"),n=o<r;Nr(t)&&t.childNodes.length;){var a=n?t.childNodes.length-1:0;t=IJ(t,a,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},MJ=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},UA=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],a=t,s=!1,u=!1;(FJ(o)||Nr(o)&&o.childNodes.length===0||Nr(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&u);){if(a>=n.length){s=!0,a=t-1,r="backward";continue}if(a<0){u=!0,a=t+1,r="forward";continue}o=n[a],t=a,a+=r==="forward"?1:-1}return[o,t]},IJ=(e,t,r)=>{var[n]=UA(e,t,r);return n},KA=e=>{var t="";if(WA(e)&&e.nodeValue)return e.nodeValue;if(Nr(e)){for(var r of Array.from(e.childNodes))t+=KA(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
|
|
1825
|
-
`)}return t},kJ=/data-slate-fragment="(.+?)"/m,NJ=e=>{var t=e.getData("text/html"),[,r]=t.match(kJ)||[];return r},iv=(e,t,r)=>{var{target:n}=t;if(Nr(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=H.getWindow(e);if(o.contains(n))return H.hasDOMNode(e,n,{editable:!0});var a=r.find(s=>{var{addedNodes:u,removedNodes:l}=s;for(var c of u)if(c===n||c.contains(n))return!0;for(var p of l)if(p===n||p.contains(n))return!0});return!a||a===t?!1:iv(e,a,r)},VJ=0,Y3=class{constructor(){this.id="".concat(VJ++)}},H={androidPendingDiffs:e=>ir.get(e),androidScheduleFlush:e=>{var t;(t=nv.get(e))===null||t===void 0||t()},blur:e=>{var t=H.toDOMNode(e,e),r=H.findDocumentOrShadowRoot(e);va.set(e,!1),r.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,r=H.findDocumentOrShadowRoot(e),n=r.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&V.deselect(e)},findDocumentOrShadowRoot:e=>{var t=H.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&r.getSelection!=null?r:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:r,clientY:n,target:o}=t;if(r==null||n==null)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var a=H.toSlateNode(e,t.target),s=H.findPath(e,a);if(q.isElement(a)&&C.isVoid(e,a)){var u=o.getBoundingClientRect(),l=e.isInline(a)?r-u.left<u.left+u.width-r:n-u.top<u.top+u.height-n,c=C.point(e,s,{edge:l?"start":"end"}),p=l?C.before(e,c):C.after(e,c);if(p){var d=C.range(e,p);return d}}var h,{document:g}=H.getWindow(e);if(g.caretRangeFromPoint)h=g.caretRangeFromPoint(r,n);else{var v=g.caretPositionFromPoint(r,n);v&&(h=g.createRange(),h.setStart(v.offsetNode,v.offset),h.setEnd(v.offsetNode,v.offset))}if(!h)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var m=H.toSlateRange(e,h,{exactMatch:!1,suppressThrow:!1});return m},findKey:(e,t)=>{var r=nm.get(t);return r||(r=new Y3,nm.set(t,r)),r},findPath:(e,t)=>{for(var r=[],n=t;;){var o=rv.get(n);if(o==null){if(C.isEditor(n))return r;break}var a=tv.get(n);if(a==null)break;r.unshift(a),n=o}throw new Error("Unable to find the path for Slate node: ".concat(st.stringify(t)))},focus:e=>{var t=H.toDOMNode(e,e),r=H.findDocumentOrShadowRoot(e);if(va.set(e,!0),r.activeElement!==t){if(e.selection&&r instanceof Document){var n=r.getSelection(),o=H.toDOMRange(e,e.selection);n?.removeAllRanges(),n?.addRange(o)}t.focus({preventScroll:!0})}},getWindow:e=>{var t=
|
|
1824
|
+
`,o3=(e,t,r)=>{let n=({groupLabel:o,groupOptions:a,disabled:s=!1})=>(0,pa.jsx)("optgroup",{"data-testid":o,disabled:s,label:o,children:o3(a)},o);return e.map(o=>{if(Object.prototype.hasOwnProperty.call(o,"groupLabel"))return n(o);let{label:a,value:s,disabled:u=!1}=o,l=(0,fa.isNonEmptyString)(r)?o[r]:s,c=(0,fa.isNonEmptyString)(t)?o[t]:a;return(0,fa.isBoolean)(l)&&(l=yr(l)),(0,pa.jsx)("option",{disabled:u,value:l,children:c},`${yr(c)}--${yr(l)}`)})},VK=(e,t,r)=>(0,fa.isNotNil)(e)&&!r?o3([{label:e,value:"",disabled:t}]):null,LK=e=>e?null:(0,pa.jsx)(Pe,{size:"md",type:"caret-down"}),mi=(0,CP.forwardRef)(({ariaLabel:e,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,labelName:a="label",multiple:s=!1,options:u,placeholder:l="Please select...",preventPlaceholderSelection:c=!1,required:p=!1,valueName:d="value",...h},g)=>(0,pa.jsxs)(NK,{disabled:t,forceState:r,fullWidth:n,children:[(0,pa.jsxs)(r3,{ref:g,"aria-invalid":o?"true":"false","aria-label":e,disabled:t,forceState:r,hasError:o,multiple:s,required:p,...h,children:[VK(l,c,s),o3(u,a,d)]}),LK(s)]}));mi.displayName="Select_VHS";var i3=require("react/jsx-runtime"),M1=({disabled:e=!1,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:a},label:s,labelDescription:u,labelProps:l={},options:c,placeholder:p,onChangeCustom:d,...h})=>{let g=v=>(0,O1.isNil)(v)?"":(0,O1.isBoolean)(v)?yr(r):v;return(0,i3.jsx)(or,{disabled:e,error:a[t],label:s,labelDescription:u,labelProps:l,name:t,children:(0,i3.jsx)(mi,{"data-testid":`select-${t}`,disabled:e,name:t,onBlur:o,onChange:v=>{n(v),d&&d(v.target.value)},options:c,placeholder:p,value:g(r),...h})})};M1.displayName="FormConnectorSelect_VHS";i();i();var xP=require("react"),su=A(ee());var wP=require("react/jsx-runtime"),I1=({field:{name:e,value:t,onChange:r},form:{setFieldValue:n}={},onChangeCustom:o,valueState:a="",...s})=>((0,xP.useEffect)(()=>{!a&&(0,su.isNil)(t)||a!==t&&(0,su.isNotUndefined)(n)&&n(e,a)},[n,e,a,t]),(0,wP.jsx)(ca,{"data-testid":`input-${e}`,name:e,onChange:u=>{r(u),(0,su.isNotUndefined)(o)&&o(u.target.value)},type:"hidden",value:(0,su.isNil)(t)?"":t,...s}));I1.displayName="FormConnectorHidden_VHS";i();i();var ym=require("react"),tF=A(require("styled-components")),rF=A(ee());i();i();var Si=require("react"),Iv=A(require("styled-components"));i();var Q3=A(PP()),NA=A(l3()),VA=A(iT()),k=A(require("react"));i();i();function aT(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function sT(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function c3(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return sT(r.overflowY,t)||sT(r.overflowX,t)||function(n){var o=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)}(e)}return!1}function N1(e,t,r,n,o,a,s,u){return a<e&&s>t||a>e&&s<t?0:a<=e&&u<=r||s>=t&&u>=r?a-e-n:s>t&&u<r||a<e&&u>r?s-t+o:0}var f3=function(e,t){var r=window,n=t.scrollMode,o=t.block,a=t.inline,s=t.boundary,u=t.skipOverflowHiddenElements,l=typeof s=="function"?s:function(we){return we!==s};if(!aT(e))throw new TypeError("Invalid target");for(var c,p,d=document.scrollingElement||document.documentElement,h=[],g=e;aT(g)&&l(g);){if((g=(p=(c=g).parentElement)==null?c.getRootNode().host||null:p)===d){h.push(g);break}g!=null&&g===document.body&&c3(g)&&!c3(document.documentElement)||g!=null&&c3(g,u)&&h.push(g)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),w=x.height,S=x.width,E=x.top,D=x.right,P=x.bottom,F=x.left,B=o==="start"||o==="nearest"?E:o==="end"?P:E+w/2,I=a==="center"?F+S/2:a==="end"?D:F,_=[],L=0;L<h.length;L++){var z=h[L],N=z.getBoundingClientRect(),$=N.height,Z=N.width,te=N.top,oe=N.right,j=N.bottom,fe=N.left;if(n==="if-needed"&&E>=0&&F>=0&&P<=m&&D<=v&&E>=te&&P<=j&&F>=fe&&D<=oe)return _;var ye=getComputedStyle(z),he=parseInt(ye.borderLeftWidth,10),We=parseInt(ye.borderTopWidth,10),R=parseInt(ye.borderRightWidth,10),U=parseInt(ye.borderBottomWidth,10),G=0,W=0,ce="offsetWidth"in z?z.offsetWidth-z.clientWidth-he-R:0,ae="offsetHeight"in z?z.offsetHeight-z.clientHeight-We-U:0,ge="offsetWidth"in z?z.offsetWidth===0?0:Z/z.offsetWidth:0,xe="offsetHeight"in z?z.offsetHeight===0?0:$/z.offsetHeight:0;if(d===z)G=o==="start"?B:o==="end"?B-m:o==="nearest"?N1(y,y+m,m,We,U,y+B,y+B+w,w):B-m/2,W=a==="start"?I:a==="center"?I-v/2:a==="end"?I-v:N1(b,b+v,v,he,R,b+I,b+I+S,S),G=Math.max(0,G+y),W=Math.max(0,W+b);else{G=o==="start"?B-te-We:o==="end"?B-j+U+ae:o==="nearest"?N1(te,j,$,We,U+ae,B,B+w,w):B-(te+$/2)+ae/2,W=a==="start"?I-fe-he:a==="center"?I-(fe+Z/2)+ce/2:a==="end"?I-oe+R+ce:N1(fe,oe,Z,he,R+ce,I,I+S,S);var Ee=z.scrollLeft,Te=z.scrollTop;B+=Te-(G=Math.max(0,Math.min(Te+G/xe,z.scrollHeight-$/xe+ae))),I+=Ee-(W=Math.max(0,Math.min(Ee+W/ge,z.scrollWidth-Z/ge+ce)))}_.push({el:z,top:G,left:W})}return _};function uT(e){return e===Object(e)&&Object.keys(e).length!==0}function Iq(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,a=n.top,s=n.left;o.scroll&&r?o.scroll({top:a,left:s,behavior:t}):(o.scrollTop=a,o.scrollLeft=s)})}function kq(e){return e===!1?{block:"end",inline:"nearest"}:uT(e)?e:{block:"start",inline:"nearest"}}function Nq(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(uT(t)&&typeof t.behavior=="function")return t.behavior(r?f3(e,t):[]);if(r){var n=kq(t);return Iq(f3(e,n),n.behavior)}}var lT=Nq;i();i();function cT(e){return Object.prototype.toString.call(e)==="[object Object]"}function et(e){var t,r;return cT(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(cT(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}i();function an(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var o,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function hi(e){return!!e&&!!e[Er]}function ma(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===_q}(e)||Array.isArray(e)||!!e[yT]||!!(!((t=e.constructor)===null||t===void 0)&&t[yT])||x3(e)||w3(e))}function dc(e,t,r){r===void 0&&(r=!1),uu(e)===0?(r?Object.keys:T3)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function uu(e){var t=e[Er];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:x3(e)?2:w3(e)?3:0}function g3(e,t){return uu(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Vq(e,t){return uu(e)===2?e.get(t):e[t]}function bT(e,t,r){var n=uu(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Lq(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function x3(e){return Gq&&e instanceof Map}function w3(e){return jq&&e instanceof Set}function da(e){return e.o||e.t}function S3(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Wq(e);delete t[Er];for(var r=T3(t),n=0;n<r.length;n++){var o=r[n],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function D3(e,t){return t===void 0&&(t=!1),E3(e)||hi(e)||!ma(e)||(uu(e)>1&&(e.set=e.add=e.clear=e.delete=$q),Object.freeze(e),t&&dc(e,function(r,n){return D3(n,!0)},!0)),e}function $q(){an(2)}function E3(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Tn(e){var t=Uq[e];return t||an(18,e),t}function fT(){return mc}function p3(e,t){t&&(Tn("Patches"),e.u=[],e.s=[],e.v=t)}function V1(e){v3(e),e.p.forEach(zq),e.p=null}function v3(e){e===mc&&(mc=e.l)}function pT(e){return mc={p:[],l:mc,h:e,m:!0,_:0}}function zq(e){var t=e[Er];t.i===0||t.i===1?t.j():t.g=!0}function d3(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Tn("ES5").S(t,e,n),n?(r[Er].P&&(V1(t),an(4)),ma(e)&&(e=L1(t,e),t.l||$1(t,e)),t.u&&Tn("Patches").M(r[Er].t,e,t.u,t.s)):e=L1(t,r,[]),V1(t),t.u&&t.v(t.u,t.s),e!==CT?e:void 0}function L1(e,t,r){if(E3(t))return t;var n=t[Er];if(!n)return dc(t,function(u,l){return dT(e,n,t,u,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return $1(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=S3(n.k):n.o,a=o,s=!1;n.i===3&&(a=new Set(o),o.clear(),s=!0),dc(a,function(u,l){return dT(e,n,o,u,l,r,s)}),$1(e,o,!1),r&&e.u&&Tn("Patches").N(n,r,e.u,e.s)}return n.o}function dT(e,t,r,n,o,a,s){if(hi(o)){var u=L1(e,o,a&&t&&t.i!==3&&!g3(t.R,n)?a.concat(n):void 0);if(bT(r,n,u),!hi(u))return;e.m=!1}else s&&r.add(o);if(ma(o)&&!E3(o)){if(!e.h.D&&e._<1)return;L1(e,o),t&&t.A.l||$1(e,o)}}function $1(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&D3(t,r)}function m3(e,t){var r=e[Er];return(r?da(r):e)[t]}function mT(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function y3(e){e.P||(e.P=!0,e.l&&y3(e.l))}function h3(e){e.o||(e.o=S3(e.t))}function b3(e,t,r){var n=x3(t)?Tn("MapSet").F(t,r):w3(t)?Tn("MapSet").T(t,r):e.O?function(o,a){var s=Array.isArray(o),u={i:s?1:0,A:a?a.A:fT(),P:!1,I:!1,R:{},l:a,t:o,k:null,o:null,j:null,C:!1},l=u,c=C3;s&&(l=[u],c=pc);var p=Proxy.revocable(l,c),d=p.revoke,h=p.proxy;return u.k=h,u.j=d,h}(t,r):Tn("ES5").J(t,r);return(r?r.A:fT()).p.push(n),n}function Hq(e){return hi(e)||an(22,e),function t(r){if(!ma(r))return r;var n,o=r[Er],a=uu(r);if(o){if(!o.P&&(o.i<4||!Tn("ES5").K(o)))return o.t;o.I=!0,n=hT(r,a),o.I=!1}else n=hT(r,a);return dc(n,function(s,u){o&&Vq(o.t,s)===u||bT(n,s,t(u))}),a===3?new Set(n):n}(e)}function hT(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return S3(e)}var gT,mc,P3=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gq=typeof Map<"u",jq=typeof Set<"u",vT=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",CT=P3?Symbol.for("immer-nothing"):((gT={})["immer-nothing"]=!0,gT),yT=P3?Symbol.for("immer-draftable"):"__$immer_draftable",Er=P3?Symbol.for("immer-state"):"__$immer_state";var _q=""+Object.prototype.constructor,T3=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Wq=Object.getOwnPropertyDescriptors||function(e){var t={};return T3(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Uq={},C3={get:function(e,t){if(t===Er)return e;var r=da(e);if(!g3(r,t))return function(o,a,s){var u,l=mT(a,s);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!ma(n)?n:n===m3(e.t,t)?(h3(e),e.o[t]=b3(e.A.h,n,e)):n},has:function(e,t){return t in da(e)},ownKeys:function(e){return Reflect.ownKeys(da(e))},set:function(e,t,r){var n=mT(da(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=m3(da(e),t),a=o?.[Er];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Lq(r,o)&&(r!==void 0||g3(e.t,t)))return!0;h3(e),y3(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return m3(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,h3(e),y3(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=da(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){an(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){an(12)}},pc={};dc(C3,function(e,t){pc[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),pc.deleteProperty=function(e,t){return pc.set.call(this,e,t,void 0)},pc.set=function(e,t,r){return C3.set.call(this,e[0],t,r,e[0])};var Kq=function(){function e(r){var n=this;this.O=vT,this.D=!0,this.produce=function(o,a,s){if(typeof o=="function"&&typeof a!="function"){var u=a;a=o;var l=n;return function(m){var b=this;m===void 0&&(m=u);for(var y=arguments.length,x=Array(y>1?y-1:0),w=1;w<y;w++)x[w-1]=arguments[w];return l.produce(m,function(S){var E;return(E=a).call.apply(E,[b,S].concat(x))})}}var c;if(typeof a!="function"&&an(6),s!==void 0&&typeof s!="function"&&an(7),ma(o)){var p=pT(n),d=b3(n,o,void 0),h=!0;try{c=a(d),h=!1}finally{h?V1(p):v3(p)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(m){return p3(p,s),d3(m,p)},function(m){throw V1(p),m}):(p3(p,s),d3(c,p))}if(!o||typeof o!="object"){if((c=a(o))===void 0&&(c=o),c===CT&&(c=void 0),n.D&&D3(c,!0),s){var g=[],v=[];Tn("Patches").M(o,c,g,v),s(g,v)}return c}an(21,o)},this.produceWithPatches=function(o,a){if(typeof o=="function")return function(c){for(var p=arguments.length,d=Array(p>1?p-1:0),h=1;h<p;h++)d[h-1]=arguments[h];return n.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(d))})};var s,u,l=n.produce(o,a,function(c,p){s=c,u=p});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,s,u]}):[l,s,u]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){ma(r)||an(8),hi(r)&&(r=Hq(r));var n=pT(this),o=b3(this,r,void 0);return o[Er].C=!0,v3(n),o},t.finishDraft=function(r,n){var o=r&&r[Er],a=o.A;return p3(a,n),d3(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!vT&&an(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var a=n[o];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}o>-1&&(n=n.slice(o+1));var s=Tn("Patches").$;return hi(r)?s(r,n):this.produce(r,function(u){return s(u,n)})},e}(),Pr=new Kq,z1=Pr.produce,bje=Pr.produceWithPatches.bind(Pr),Cje=Pr.setAutoFreeze.bind(Pr),xje=Pr.setUseProxies.bind(Pr),wje=Pr.applyPatches.bind(Pr),A3=Pr.createDraft.bind(Pr),R3=Pr.finishDraft.bind(Pr);var qq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=T.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Xq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=ve.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Yq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=M.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},G1=new WeakMap,j1=new WeakMap,gc=new WeakMap,ZT=new WeakMap,xT=new WeakMap,wT=new WeakMap,ST=new WeakMap,T={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=T.levels(e,t);return r?n=n.slice(1):n=n.slice(0,-1),n},common(e,t){for(var r=[],n=0;n<e.length&&n<t.length;n++){var o=e[n],a=t[n];if(o!==a)break;r.push(o)}return r},compare(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},endsAfter(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return T.equals(n,o)&&a>s},endsAt(e,t){var r=e.length,n=e.slice(0,r),o=t.slice(0,r);return T.equals(n,o)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),a=e[r],s=t[r];return T.equals(n,o)&&a<s},equals(e,t){return e.length===t.length&&e.every((r,n)=>r===t[n])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return T.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&T.compare(e,t)===0},isBefore(e,t){return T.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&T.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&T.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&T.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&T.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="number")},isSibling(e,t){if(e.length!==t.length)return!1;var r=e.slice(0,-1),n=t.slice(0,-1),o=e[e.length-1],a=t[t.length-1];return o!==a&&T.equals(r,n)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=[],o=0;o<=e.length;o++)n.push(e.slice(0,o));return r&&n.reverse(),n},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!T.isAncestor(t,e)&&!T.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e)return null;var n=[...e],{affinity:o="forward"}=r;if(e.length===0)return n;switch(t.type){case"insert_node":{var{path:a}=t;(T.equals(a,n)||T.endsBefore(a,n)||T.isAncestor(a,n))&&(n[a.length-1]+=1);break}case"remove_node":{var{path:s}=t;if(T.equals(s,n)||T.isAncestor(s,n))return null;T.endsBefore(s,n)&&(n[s.length-1]-=1);break}case"merge_node":{var{path:u,position:l}=t;T.equals(u,n)||T.endsBefore(u,n)?n[u.length-1]-=1:T.isAncestor(u,n)&&(n[u.length-1]-=1,n[u.length]+=l);break}case"split_node":{var{path:c,position:p}=t;if(T.equals(c,n)){if(o==="forward")n[n.length-1]+=1;else if(o!=="backward")return null}else T.endsBefore(c,n)?n[c.length-1]+=1:T.isAncestor(c,n)&&e[c.length]>=p&&(n[c.length-1]+=1,n[c.length]-=p);break}case"move_node":{var{path:d,newPath:h}=t;if(T.equals(d,h))return n;if(T.isAncestor(d,n)||T.equals(d,n)){var g=h.slice();return T.endsBefore(d,h)&&d.length<h.length&&(g[d.length-1]-=1),g.concat(n.slice(d.length))}else T.isSibling(d,h)&&(T.isAncestor(h,n)||T.equals(h,n))?T.endsBefore(d,n)?n[d.length-1]-=1:n[d.length-1]+=1:T.endsBefore(h,n)||T.equals(h,n)||T.isAncestor(h,n)?(T.endsBefore(d,n)&&(n[d.length-1]-=1),n[h.length-1]+=1):T.endsBefore(d,n)&&(T.equals(h,n)&&(n[h.length-1]+=1),n[d.length-1]-=1);break}}return n}};function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?DT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):DT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Jq=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,a=K.parent(e,n),s=n[n.length-1];if(s>a.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(n,"] because the destination is past the end of the node."));if(a.children.splice(s,0,o),t)for(var[u,l]of M.points(t))t[l]=ve.transform(u,r);break}case"insert_text":{var{path:c,offset:p,text:d}=r;if(d.length===0)break;var h=K.leaf(e,c),g=h.text.slice(0,p),v=h.text.slice(p);if(h.text=g+d+v,t)for(var[m,b]of M.points(t))t[b]=ve.transform(m,r);break}case"merge_node":{var{path:y}=r,x=K.get(e,y),w=T.previous(y),S=K.get(e,w),E=K.parent(e,y),D=y[y.length-1];if(Q.isText(x)&&Q.isText(S))S.text+=x.text;else if(!Q.isText(x)&&!Q.isText(S))S.children.push(...x.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(st.stringify(x)," ").concat(st.stringify(S)));if(E.children.splice(D,1),t)for(var[P,F]of M.points(t))t[F]=ve.transform(P,r);break}case"move_node":{var{path:B,newPath:I}=r;if(T.isAncestor(B,I))throw new Error("Cannot move a path [".concat(B,"] to new path [").concat(I,"] because the destination is inside itself."));var _=K.get(e,B),L=K.parent(e,B),z=B[B.length-1];L.children.splice(z,1);var N=T.transform(B,r),$=K.get(e,T.parent(N)),Z=N[N.length-1];if($.children.splice(Z,0,_),t)for(var[te,oe]of M.points(t))t[oe]=ve.transform(te,r);break}case"remove_node":{var{path:j}=r,fe=j[j.length-1],ye=K.parent(e,j);if(ye.children.splice(fe,1),t)for(var[he,We]of M.points(t)){var R=ve.transform(he,r);if(t!=null&&R!=null)t[We]=R;else{var U=void 0,G=void 0;for(var[W,ce]of K.texts(e))if(T.compare(ce,j)===-1)U=[W,ce];else{G=[W,ce];break}var ae=!1;U&&G&&(T.equals(G[1],j)?ae=!T.hasPrevious(G[1]):ae=T.common(U[1],j).length<T.common(G[1],j).length),U&&!ae?(he.path=U[1],he.offset=U[0].text.length):G?(he.path=G[1],he.offset=0):t=null}}break}case"remove_text":{var{path:ge,offset:xe,text:Ee}=r;if(Ee.length===0)break;var Te=K.leaf(e,ge),we=Te.text.slice(0,xe),vt=Te.text.slice(xe+Ee.length);if(Te.text=we+vt,t)for(var[yt,Ue]of M.points(t))t[Ue]=ve.transform(yt,r);break}case"set_node":{var{path:dr,properties:Ut,newProperties:Pt}=r;if(dr.length===0)throw new Error("Cannot set properties on the root node!");var mr=K.get(e,dr);for(var O in Pt){if(O==="children"||O==="text")throw new Error('Cannot set the "'.concat(O,'" property of nodes!'));var Y=Pt[O];Y==null?delete mr[O]:mr[O]=Y}for(var re in Ut)Pt.hasOwnProperty(re)||delete mr[re];break}case"set_selection":{var{newProperties:X}=r;if(X==null)t=X;else{if(t==null){if(!M.isRange(X))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(st.stringify(X)," when there is no current selection."));t=hc({},X)}for(var le in X){var Se=X[le];if(Se==null){if(le==="anchor"||le==="focus")throw new Error('Cannot remove the "'.concat(le,'" selection property'));delete t[le]}else t[le]=Se}}break}case"split_node":{var{path:Ae,position:bt,properties:Ao}=r;if(Ae.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Ae,"] because the root node cannot be split."));var qr=K.get(e,Ae),b0=K.parent(e,Ae),B7=Ae[Ae.length-1],$a;if(Q.isText(qr)){var C0=qr.text.slice(0,bt),xI=qr.text.slice(bt);qr.text=C0,$a=hc(hc({},Ao),{},{text:xI})}else{var wI=qr.children.slice(0,bt),SI=qr.children.slice(bt);qr.children=wI,$a=hc(hc({},Ao),{},{children:SI})}if(b0.children.splice(B7+1,0,$a),t)for(var[DI,EI]of M.points(t))t[EI]=ve.transform(DI,r);break}}return t},Zq={transform(e,t){e.children=A3(e.children);var r=e.selection&&A3(e.selection);try{r=Jq(e,r,t)}finally{e.children=R3(e.children),r?e.selection=hi(r)?R3(r):r:e.selection=null}}},Qq={insertNodes(e,t,r){e.insertNodes(t,r)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,r){e.setNodes(t,r)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,r){e.unsetNodes(t,r)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,r){e.wrapNodes(t,r)}},eX={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,r){e.setPoint(t,r)},setSelection(e,t){e.setSelection(t)}},QT=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(et(n)&&et(o)){if(!QT(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(n[a]!==o[a])return!1}else if(n!==o)return!1}for(var s in t)if(e[s]===void 0&&t[s]!==void 0)return!1;return!0};function tX(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ho(e,t){if(e==null)return{};var r=tX(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var rX=["anchor","focus"];function ET(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function nX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ET(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ET(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var M={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return M.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=M.edges(e);return t},equals(e,t){return ve.equals(e.anchor,t.anchor)&&ve.equals(e.focus,t.focus)},includes(e,t){if(M.isRange(t)){if(M.includes(e,t.anchor)||M.includes(e,t.focus))return!0;var[r,n]=M.edges(e),[o,a]=M.edges(t);return ve.isBefore(r,o)&&ve.isAfter(n,a)}var[s,u]=M.edges(e),l=!1,c=!1;return ve.isPoint(t)?(l=ve.compare(t,s)>=0,c=ve.compare(t,u)<=0):(l=T.compare(t,s.path)>=0,c=T.compare(t,u.path)<=0),l&&c},intersection(e,t){var r=ho(e,rX),[n,o]=M.edges(e),[a,s]=M.edges(t),u=ve.isBefore(n,a)?a:n,l=ve.isBefore(o,s)?o:s;return ve.isBefore(l,u)?null:nX({anchor:u,focus:l},r)},isBackward(e){var{anchor:t,focus:r}=e;return ve.isAfter(t,r)},isCollapsed(e){var{anchor:t,focus:r}=e;return ve.equals(t,r)},isExpanded(e){return!M.isCollapsed(e)},isForward(e){return!M.isBackward(e)},isRange(e){return et(e)&&ve.isPoint(e.anchor)&&ve.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=M.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z1(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,a,s;if(o==="inward"){var u=M.isCollapsed(n);M.isForward(n)?(a="forward",s=u?a:"backward"):(a="backward",s=u?a:"forward")}else o==="outward"?M.isForward(n)?(a="backward",s="forward"):(a="forward",s="backward"):(a=o,s=o);var l=ve.transform(n.anchor,t,{affinity:a}),c=ve.transform(n.focus,t,{affinity:s});if(!l||!c)return null;n.anchor=l,n.focus=c})}},PT=e=>et(e)&&K.isNodeList(e.children)&&!C.isEditor(e),q={isAncestor(e){return et(e)&&K.isNodeList(e.children)},isElement:PT,isElementList(e){return Array.isArray(e)&&e.every(t=>q.isElement(t))},isElementProps(e){return e.children!==void 0},isElementType:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return PT(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},oX=["children"],iX=["text"],TT=new WeakMap,K={ancestor(e,t){var r=K.get(e,t);if(Q.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(st.stringify(r)));return r},*ancestors(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of T.ancestors(t,r)){var o=K.ancestor(e,n),a=[o,n];yield a}},child(e,t){if(Q.isText(e))throw new Error("Cannot get the child of a text node: ".concat(st.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(st.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=K.ancestor(e,t),{children:a}=o,s=n?a.length-1:0;n?s>=0:s<a.length;){var u=K.child(o,s),l=t.concat(s);yield[u,l],s=n?s-1:s+1}},common(e,t,r){var n=T.common(t,r),o=K.get(e,n);return[o,n]},descendant(e,t){var r=K.get(e,t);if(C.isEditor(r))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(st.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of K.nodes(e,t))n.length!==0&&(yield[r,n])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of K.nodes(e,t))q.isElement(r)&&(yield[r,n])},extractProps(e){if(q.isAncestor(e)){var t=ho(e,oX);return t}else{var t=ho(e,iX);return t}},first(e,t){for(var r=t.slice(),n=K.get(e,r);n&&!(Q.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(Q.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(st.stringify(e)));var r=z1({children:e.children},n=>{var[o,a]=M.edges(t),s=K.nodes(n,{reverse:!0,pass:h=>{var[,g]=h;return!M.includes(t,g)}});for(var[,u]of s){if(!M.includes(t,u)){var l=K.parent(n,u),c=u[u.length-1];l.children.splice(c,1)}if(T.equals(u,a.path)){var p=K.leaf(n,u);p.text=p.text.slice(0,a.offset)}if(T.equals(u,o.path)){var d=K.leaf(n,u);d.text=d.text.slice(o.offset)}}C.isEditor(n)&&(n.selection=null)});return r.children},get(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(Q.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(st.stringify(e)));r=r.children[o]}return r},has(e,t){for(var r=e,n=0;n<t.length;n++){var o=t[n];if(Q.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return Q.isText(e)||q.isElement(e)||C.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=TT.get(e);if(t!==void 0)return t;var r=e.every(n=>K.isNode(n));return TT.set(e,r),r},last(e,t){for(var r=t.slice(),n=K.get(e,r);n&&!(Q.isText(n)||n.children.length===0);){var o=n.children.length-1;n=n.children[o],r.push(o)}return[n,r]},leaf(e,t){var r=K.get(e,t);if(!Q.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(st.stringify(r)));return r},*levels(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of T.levels(t,r)){var o=K.get(e,n);yield[o,n]}},matches(e,t){return q.isElement(e)&&q.isElementProps(t)&&q.matches(e,t)||Q.isText(e)&&Q.isTextProps(t)&&Q.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:r,reverse:n=!1}=t,{from:o=[],to:a}=t,s=new Set,u=[],l=e;!(a&&(n?T.isBefore(u,a):T.isAfter(u,a)));){if(s.has(l)||(yield[l,u]),!s.has(l)&&!Q.isText(l)&&l.children.length!==0&&(r==null||r([l,u])===!1)){s.add(l);var c=n?l.children.length-1:0;T.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),l=K.get(e,u);continue}if(u.length===0)break;if(!n){var p=T.next(u);if(K.has(e,p)){u=p,l=K.get(e,u);continue}}if(n&&u[u.length-1]!==0){var d=T.previous(u);u=d,l=K.get(e,u);continue}u=T.parent(u),l=K.get(e,u),s.add(l)}},parent(e,t){var r=T.parent(t),n=K.get(e,r);if(Q.isText(n))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return n},string(e){return Q.isText(e)?e.text:e.children.map(K.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of K.nodes(e,t))Q.isText(r)&&(yield[r,n])}};function AT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?AT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):AT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var mo={isNodeOperation(e){return mo.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!et(e))return!1;switch(e.type){case"insert_node":return T.isPath(e.path)&&K.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&T.isPath(e.path);case"merge_node":return typeof e.position=="number"&&T.isPath(e.path)&&et(e.properties);case"move_node":return T.isPath(e.path)&&T.isPath(e.newPath);case"remove_node":return T.isPath(e.path)&&K.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&T.isPath(e.path);case"set_node":return T.isPath(e.path)&&et(e.properties)&&et(e.newProperties);case"set_selection":return e.properties===null&&M.isRange(e.newProperties)||e.newProperties===null&&M.isRange(e.properties)||et(e.properties)&&et(e.newProperties);case"split_node":return T.isPath(e.path)&&typeof e.position=="number"&&et(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>mo.isOperation(t))},isSelectionOperation(e){return mo.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return mo.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return je(je({},e),{},{type:"remove_node"});case"insert_text":return je(je({},e),{},{type:"remove_text"});case"merge_node":return je(je({},e),{},{type:"split_node",path:T.previous(e.path)});case"move_node":{var{newPath:t,path:r}=e;if(T.equals(t,r))return e;if(T.isSibling(r,t))return je(je({},e),{},{path:t,newPath:r});var n=T.transform(r,e),o=T.transform(T.next(r),e);return je(je({},e),{},{path:n,newPath:o})}case"remove_node":return je(je({},e),{},{type:"insert_node"});case"remove_text":return je(je({},e),{},{type:"insert_text"});case"set_node":{var{properties:a,newProperties:s}=e;return je(je({},e),{},{properties:s,newProperties:a})}case"set_selection":{var{properties:u,newProperties:l}=e;return u==null?je(je({},e),{},{properties:l,newProperties:null}):l==null?je(je({},e),{},{properties:null,newProperties:u}):je(je({},e),{},{properties:l,newProperties:u})}case"split_node":return je(je({},e),{},{type:"merge_node",path:T.next(e.path)})}}},RT=new WeakMap,aX=e=>{var t=RT.get(e);if(t!==void 0)return t;if(!et(e))return!1;var r=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertSoftBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isElementReadOnly=="function"&&typeof e.isInline=="function"&&typeof e.isSelectable=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&typeof e.getDirtyPaths=="function"&&(e.marks===null||et(e.marks))&&(e.selection===null||M.isRange(e.selection))&&K.isNodeList(e.children)&&mo.isOperationList(e.operations);return RT.set(e,r),r},C={above(e,t){return e.above(t)},addMark(e,t,r){e.addMark(t,r)},after(e,t,r){return e.after(t,r)},before(e,t,r){return e.before(t,r)},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteBackward(r)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:r="character"}=t;e.deleteForward(r)},deleteFragment(e,t){e.deleteFragment(t)},edges(e,t){return e.edges(t)},elementReadOnly(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.elementReadOnly(t)},end(e,t){return e.end(t)},first(e,t){return e.first(t)},fragment(e,t){return e.fragment(t)},hasBlocks(e,t){return e.hasBlocks(t)},hasInlines(e,t){return e.hasInlines(t)},hasPath(e,t){return e.hasPath(t)},hasTexts(e,t){return e.hasTexts(t)},insertBreak(e){e.insertBreak()},insertFragment(e,t,r){e.insertFragment(t,r)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock(e,t){return e.isBlock(t)},isEdge(e,t,r){return e.isEdge(t,r)},isEditor(e){return aX(e)},isElementReadOnly(e,t){return e.isElementReadOnly(t)},isEmpty(e,t){return e.isEmpty(t)},isEnd(e,t,r){return e.isEnd(t,r)},isInline(e,t){return e.isInline(t)},isNormalizing(e){return e.isNormalizing()},isSelectable(e,t){return e.isSelectable(t)},isStart(e,t,r){return e.isStart(t,r)},isVoid(e,t){return e.isVoid(t)},last(e,t){return e.last(t)},leaf(e,t,r){return e.leaf(t,r)},levels(e,t){return e.levels(t)},marks(e){return e.getMarks()},next(e,t){return e.next(t)},node(e,t,r){return e.node(t,r)},nodes(e,t){return e.nodes(t)},normalize(e,t){e.normalize(t)},parent(e,t,r){return e.parent(t,r)},path(e,t,r){return e.path(t,r)},pathRef(e,t,r){return e.pathRef(t,r)},pathRefs(e){return e.pathRefs()},point(e,t,r){return e.point(t,r)},pointRef(e,t,r){return e.pointRef(t,r)},pointRefs(e){return e.pointRefs()},positions(e,t){return e.positions(t)},previous(e,t){return e.previous(t)},range(e,t,r){return e.range(t,r)},rangeRef(e,t,r){return e.rangeRef(t,r)},rangeRefs(e){return e.rangeRefs()},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start(e,t){return e.start(t)},string(e,t,r){return e.string(t,r)},unhangRange(e,t,r){return e.unhangRange(t,r)},void(e,t){return e.void(t)},withoutNormalizing(e,t){e.withoutNormalizing(t)}};var sX={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(T.isPath)}};function FT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function BT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?FT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):FT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ve={compare(e,t){var r=T.compare(e.path,t.path);return r===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:r},isAfter(e,t){return ve.compare(e,t)===1},isBefore(e,t){return ve.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&T.equals(e.path,t.path)},isPoint(e){return et(e)&&typeof e.offset=="number"&&T.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z1(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:a,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=T.transform(a,t,r);break}case"insert_text":{T.equals(t.path,a)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{T.equals(t.path,a)&&(n.offset+=t.position),n.path=T.transform(a,t,r);break}case"remove_text":{T.equals(t.path,a)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(T.equals(t.path,a)||T.isAncestor(t.path,a))return null;n.path=T.transform(a,t,r);break}case"split_node":{if(T.equals(t.path,a)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=T.transform(a,t,BT(BT({},r),{},{affinity:"forward"})))}else n.path=T.transform(a,t,r);break}}})}},OT=void 0,st={setScrubber(e){OT=e},stringify(e){return JSON.stringify(e,OT)}},uX=["text"],lX=["anchor","focus"];function MT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function po(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?MT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Q={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(a){var s=ho(a,uX);return s}return QT(n?o(e):e,n?o(t):t)},isText(e){return et(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>Q.isText(t))},isTextProps(e){return e.text!==void 0},matches(e,t){for(var r in t)if(r!=="text"&&(!e.hasOwnProperty(r)||e[r]!==t[r]))return!1;return!0},decorations(e,t){var r=[po({},e)];for(var n of t){var o=ho(n,lX),[a,s]=M.edges(n),u=[],l=0,c=a.offset,p=s.offset;for(var d of r){var{length:h}=d.text,g=l;if(l+=h,c<=g&&l<=p){Object.assign(d,o),u.push(d);continue}if(c!==p&&(c===l||p===g)||c>l||p<g||p===g&&g!==0){u.push(d);continue}var v=d,m=void 0,b=void 0;if(p<l){var y=p-g;b=po(po({},v),{},{text:v.text.slice(y)}),v=po(po({},v),{},{text:v.text.slice(0,y)})}if(c>g){var x=c-g;m=po(po({},v),{},{text:v.text.slice(0,x)}),v=po(po({},v),{},{text:v.text.slice(x)})}Object.assign(v,o),m&&u.push(m),u.push(v),b&&u.push(b)}r=u}return r}},F3=e=>e.selection?e.selection:e.children.length>0?C.end(e,[]):[0],cu=(e,t)=>{var[r]=C.node(e,t);return n=>n===r},B3=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?hX(t):t,a=de.None,s=de.None,u=0,l=null,c=null;for(var p of o){var d=p.codePointAt(0);if(!d)break;var h=TX(p,d);if([a,s]=n?[s,h]:[h,a],lu(a,de.ZWJ)&&lu(s,de.ExtPict)&&(n?l=IT(t.substring(0,u)):l=IT(t.substring(0,t.length-u)),!l)||lu(a,de.RI)&&lu(s,de.RI)&&(c!==null?c=!c:n?c=!0:c=OX(t.substring(0,t.length-u)),!c)||a!==de.None&&s!==de.None&&RX(a,s))break;u+=p.length}return u||1},cX=/\s/,fX=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,pX=/['\u2018\u2019]/,dX=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var a=B3(t,r),[s,u]=O3(t,a,r);if(mX(s,u,r))o=!0,n+=a;else if(!o)n+=a;else break;t=u}return n},O3=(e,t,r)=>{if(r){var n=e.length-t;return[e.slice(n,e.length),e.slice(0,n)]}return[e.slice(0,t),e.slice(t)]},mX=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(cX.test(t))return!1;if(pX.test(t)){var o=B3(r,n),[a,s]=O3(r,o,n);if(e(a,s,n))return!0}return!fX.test(t)},hX=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(vX(o.charCodeAt(0))){var a=t.charAt(r-n-1);if(gX(a.charCodeAt(0))){yield a+o,n++;continue}}yield o}},gX=e=>e>=55296&&e<=56319,vX=e=>e>=56320&&e<=57343,de;(function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"})(de||(de={}));var yX=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,bX=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,CX=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,xX=/^[\u1100-\u115F\uA960-\uA97C]$/,wX=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,SX=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,DX=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,EX=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,PX=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,TX=(e,t)=>{var r=de.Any;return e.search(yX)!==-1&&(r|=de.Extend),t===8205&&(r|=de.ZWJ),t>=127462&&t<=127487&&(r|=de.RI),e.search(bX)!==-1&&(r|=de.Prepend),e.search(CX)!==-1&&(r|=de.SpacingMark),e.search(xX)!==-1&&(r|=de.L),e.search(wX)!==-1&&(r|=de.V),e.search(SX)!==-1&&(r|=de.T),e.search(DX)!==-1&&(r|=de.LV),e.search(EX)!==-1&&(r|=de.LVT),e.search(PX)!==-1&&(r|=de.ExtPict),r};function lu(e,t){return(e&t)!==0}var AX=[[de.L,de.L|de.V|de.LV|de.LVT],[de.LV|de.V,de.V|de.T],[de.LVT|de.T,de.T],[de.Any,de.Extend|de.ZWJ],[de.Any,de.SpacingMark],[de.Prepend,de.Any],[de.ZWJ,de.ExtPict],[de.RI,de.RI]];function RX(e,t){return AX.findIndex(r=>lu(e,r[0])&&lu(t,r[1]))===-1}var FX=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,IT=e=>e.search(FX)!==-1,BX=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,OX=e=>{var t=e.match(BX);if(t===null)return!1;var r=t[0].length/2;return r%2===1},MX={delete(e,t){e.delete(t)},insertFragment(e,t,r){e.insertFragment(t,r)},insertText(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(e,()=>{var{voids:n=!1}=r,{at:o=F3(e)}=r;if(T.isPath(o)&&(o=C.range(e,o)),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var a=M.end(o);if(!n&&C.void(e,{at:a}))return;var s=M.start(o),u=C.pointRef(e,s),l=C.pointRef(e,a);V.delete(e,{at:o,voids:n});var c=u.unref(),p=l.unref();o=c||p,V.setSelection(e,{anchor:o,focus:o})}if(!(!n&&C.void(e,{at:o})||C.elementReadOnly(e,{at:o}))){var{path:d,offset:h}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:h,text:t})}})}};function kT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function H1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var V=H1(H1(H1(H1({},Zq),Qq),eX),MX),IX=(e,t)=>{for(var r of C.pathRefs(e))qq.transform(r,t);for(var n of C.pointRefs(e))Xq.transform(n,t);for(var o of C.rangeRefs(e))Yq.transform(o,t);var a=G1.get(e)||[],s=j1.get(e)||new Set,u,l,c=v=>{if(v){var m=v.join(",");l.has(m)||(l.add(m),u.push(v))}};if(T.operationCanTransformPath(t)){u=[],l=new Set;for(var p of a){var d=T.transform(p,t);c(d)}}else u=a,l=s;var h=e.getDirtyPaths(t);for(var g of h)c(g);G1.set(e,u),j1.set(e,l),V.transform(e,t),e.operations.push(t),C.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),gc.get(e)||(gc.set(e,!0),Promise.resolve().then(()=>{gc.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},kX=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":{var{path:r}=t;return T.levels(r)}case"insert_node":{var{node:n,path:o}=t,a=T.levels(o),s=Q.isText(n)?[]:Array.from(K.nodes(n),I=>{var[,_]=I;return o.concat(_)});return[...a,...s]}case"merge_node":{var{path:u}=t,l=T.ancestors(u),c=T.previous(u);return[...l,c]}case"move_node":{var{path:p,newPath:d}=t;if(T.equals(p,d))return[];var h=[],g=[];for(var v of T.ancestors(p)){var m=T.transform(v,t);h.push(m)}for(var b of T.ancestors(d)){var y=T.transform(b,t);g.push(y)}var x=g[g.length-1],w=d[d.length-1],S=x.concat(w);return[...h,...g,S]}case"remove_node":{var{path:E}=t,D=T.ancestors(E);return[...D]}case"split_node":{var{path:P}=t,F=T.levels(P),B=T.next(P);return[...F,B]}default:return[]}},NX=e=>{var{selection:t}=e;return t?K.fragment(e,t):[]},VX=(e,t)=>{var[r,n]=t;if(!Q.isText(r)){if(q.isElement(r)&&r.children.length===0){var o={text:""};V.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var a=C.isEditor(r)?!1:q.isElement(r)&&(e.isInline(r)||r.children.length===0||Q.isText(r.children[0])||e.isInline(r.children[0])),s=0,u=0;u<r.children.length;u++,s++){var l=K.get(e,n);if(!Q.isText(l)){var c=l.children[s],p=l.children[s-1],d=u===r.children.length-1,h=Q.isText(c)||q.isElement(c)&&e.isInline(c);if(h!==a)V.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(q.isElement(c)){if(e.isInline(c)){if(p==null||!Q.isText(p)){var g={text:""};V.insertNodes(e,g,{at:n.concat(s),voids:!0}),s++}else if(d){var v={text:""};V.insertNodes(e,v,{at:n.concat(s+1),voids:!0}),s++}}}else p!=null&&Q.isText(p)&&(Q.equals(c,p,{loose:!0})?(V.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):p.text===""?(V.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(V.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},LX=(e,t)=>{var{iteration:r,initialDirtyPathsLength:n}=t,o=n*42;if(r>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},$X=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:a=t.selection,match:s}=r;if(a){var u=C.path(t,a),l=o==="lowest";for(var[c,p]of C.levels(t,{at:u,voids:n,match:s,reverse:l}))if(!Q.isText(c)){if(M.isRange(a)){if(T.isAncestor(p,a.anchor.path)&&T.isAncestor(p,a.focus.path))return[c,p]}else if(!T.equals(u,p))return[c,p]}}};function NT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function VT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?NT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):NT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var zX=(e,t,r)=>{var{selection:n}=e;if(n){var o=(d,h)=>{if(!Q.isText(d))return!1;var[g,v]=C.parent(e,h);return!e.isVoid(g)||e.markableVoid(g)},a=M.isExpanded(n),s=!1;if(!a){var[u,l]=C.node(e,n);if(u&&o(u,l)){var[c]=C.parent(e,l);s=c&&e.markableVoid(c)}}if(a||s)V.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var p=VT(VT({},C.marks(e)||{}),{},{[t]:r});e.marks=p,gc.get(e)||e.onChange()}}};function LT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function $T(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?LT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var HX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.point(t,r,{edge:"end"}),a=C.end(t,[]),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var p of C.positions(t,$T($T({},n),{},{at:s}))){if(l>u)break;l!==0&&(c=p),l++}return c};function zT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function HT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var GX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.start(t,[]),a=C.point(t,r,{edge:"start"}),s={anchor:o,focus:a},{distance:u=1}=n,l=0,c;for(var p of C.positions(t,HT(HT({},n),{},{at:s,reverse:!0}))){if(l>u)break;l!==0&&(c=p),l++}return c},jX=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&V.delete(e,{unit:t,reverse:!0})},_X=(e,t)=>{var{selection:r}=e;r&&M.isCollapsed(r)&&V.delete(e,{unit:t})},WX=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&M.isExpanded(n)&&V.delete(t,{reverse:r==="backward"})},UX=(e,t)=>[C.start(e,t),C.end(e,t)];function GT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function jT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?GT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var KX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,jT(jT({},r),{},{match:n=>q.isElement(n)&&C.isElementReadOnly(t,n)}))},qX=(e,t)=>C.point(e,t,{edge:"end"}),XX=(e,t)=>{var r=C.path(e,t,{edge:"start"});return C.node(e,r)},YX=(e,t)=>{var r=C.range(e,t);return K.fragment(e,r)};function _T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function WT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_T(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_T(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var JX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,WT(WT({},r),{},{match:n=>q.isElement(n)&&C.isVoid(t,n)}))},ZX=(e,t)=>t.children.some(r=>q.isElement(r)&&C.isBlock(e,r)),QX=(e,t)=>t.children.some(r=>Q.isText(r)||C.isInline(e,r)),eY=(e,t)=>K.has(e,t),tY=(e,t)=>t.children.every(r=>Q.isText(r)),rY=e=>{V.splitNodes(e,{always:!0})},nY=(e,t,r)=>{V.insertNodes(e,t,r)},oY=e=>{V.splitNodes(e,{always:!0})};function UT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function iY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?UT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):UT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var aY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:a}=t;if(o){if(a){var s=iY({text:r},a);V.insertNodes(t,s,{at:n.at,voids:n.voids})}else V.insertText(t,r,n);t.marks=null}},sY=(e,t)=>!e.isInline(t),uY=(e,t,r)=>C.isStart(e,t,r)||C.isEnd(e,t,r),lY=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&Q.isText(n)&&n.text===""&&!e.isVoid(t)},cY=(e,t,r)=>{var n=C.end(e,r);return ve.equals(t,n)},fY=e=>{var t=ZT.get(e);return t===void 0?!0:t},pY=(e,t,r)=>{if(t.offset!==0)return!1;var n=C.start(e,r);return ve.equals(t,n)},dY=(e,t)=>{var r=C.path(e,t,{edge:"end"});return C.node(e,r)},mY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=K.leaf(t,o);return[a,o]};function*hY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:a}=t;if(a==null&&(a=()=>!0),!!r){var s=[],u=C.path(e,r);for(var[l,c]of K.levels(e,u))if(a(l,c)&&(s.push([l,c]),!o&&q.isElement(l)&&C.isVoid(e,l)))break;n&&s.reverse(),yield*s}}var gY=["text"],vY=["text"],yY=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(M.isExpanded(n)){var[o]=C.nodes(t,{match:Q.isText});if(o){var[a]=o,s=ho(a,gY);return s}else return{}}var{anchor:u}=n,{path:l}=u,[c]=C.leaf(t,l);if(u.offset===0){var p=C.previous(t,{at:l,match:Q.isText}),d=C.above(t,{match:y=>q.isElement(y)&&C.isVoid(t,y)&&t.markableVoid(y)});if(!d){var h=C.above(t,{match:y=>q.isElement(y)&&C.isBlock(t,y)});if(p&&h){var[g,v]=p,[,m]=h;T.isAncestor(m,v)&&(c=g)}}}var b=ho(c,vY);return b},bY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=C.after(t,s,{voids:o});if(u){var[,l]=C.last(t,[]),c=[u.path,l];if(T.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(a==null)if(T.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{at:c,match:a,mode:n,voids:o});return d}}},CY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=K.get(t,o);return[a,o]};function*xY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:a=!1,voids:s=!1,ignoreNonSelectable:u=!1}=t,{match:l}=t;if(l||(l=()=>!0),!!r){var c,p;if(sX.isSpan(r))c=r[0],p=r[1];else{var d=C.path(e,r,{edge:"start"}),h=C.path(e,r,{edge:"end"});c=a?h:d,p=a?d:h}var g=K.nodes(e,{reverse:a,from:c,to:p,pass:S=>{var[E]=S;return q.isElement(E)?!!(!s&&(C.isVoid(e,E)||C.isElementReadOnly(e,E))||u&&!C.isSelectable(e,E)):!1}}),v=[],m;for(var[b,y]of g)if(!(u&&q.isElement(b)&&!C.isSelectable(e,b))){var x=m&&T.compare(y,m[1])===0;if(!(n==="highest"&&x)){if(!l(b,y)){if(o&&!x&&Q.isText(b))return;continue}if(n==="lowest"&&x){m=[b,y];continue}var w=n==="lowest"?m:[b,y];w&&(o?v.push(w):yield w),m=[b,y]}}n==="lowest"&&m&&(o?v.push(m):yield m),o&&(yield*v)}}var wY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,a=p=>G1.get(p)||[],s=p=>j1.get(p)||new Set,u=p=>{var d=a(p).pop(),h=d.join(",");return s(p).delete(h),d};if(C.isNormalizing(t)){if(n){var l=Array.from(K.nodes(t),p=>{var[,d]=p;return d}),c=new Set(l.map(p=>p.join(",")));G1.set(t,l),j1.set(t,c)}a(t).length!==0&&C.withoutNormalizing(t,()=>{for(var p of a(t))if(K.has(t,p)){var d=C.node(t,p),[h,g]=d;q.isElement(h)&&h.children.length===0&&t.normalizeNode(d,{operation:o})}for(var v=a(t),m=v.length,b=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:b,initialDirtyPathsLength:m,operation:o}))return;var y=u(t);if(K.has(t,y)){var x=C.node(t,y);t.normalizeNode(x,{operation:o})}b++,v=a(t)}})}},SY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),a=T.parent(o),s=C.node(t,a);return s},DY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=C.pathRefs(t);return l.delete(a),a.current=null,u}},s=C.pathRefs(t);return s.add(a),a},EY=e=>{var t=xT.get(e);return t||(t=new Set,xT.set(e,t)),t},PY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:a}=n;if(T.isPath(r)){if(a==="start"){var[,s]=K.first(t,r);r=s}else if(a==="end"){var[,u]=K.last(t,r);r=u}}return M.isRange(r)&&(a==="start"?r=M.start(r):a==="end"?r=M.end(r):r=T.common(r.anchor.path,r.focus.path)),ve.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},TY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=C.pointRefs(t);return l.delete(a),a.current=null,u}},s=C.pointRefs(t);return s.add(a),a},AY=e=>{var t=wT.get(e);return t||(t=new Set,wT.set(e,t)),t},RY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(T.isPath(r)){var a;if(o==="end"){var[,s]=K.last(t,r);a=s}else{var[,u]=K.first(t,r);a=u}var l=K.get(t,a);if(!Q.isText(l))throw new Error("Cannot get the ".concat(o," point in the node at path [").concat(r,"] because it has no ").concat(o," text node."));return{path:a,offset:o==="end"?l.text.length:0}}if(M.isRange(r)){var[c,p]=M.edges(r);return o==="start"?c:p}return r};function*FY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:a=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var u=C.range(e,r),[l,c]=M.edges(u),p=o?c:l,d=!1,h="",g=0,v=0,m=0;for(var[b,y]of C.nodes(e,{at:r,reverse:o,voids:a,ignoreNonSelectable:s})){if(q.isElement(b)){if(!a&&(e.isVoid(b)||e.isElementReadOnly(b))){yield C.start(e,y);continue}if(e.isInline(b))continue;if(C.hasInlines(e,b)){var x=T.isAncestor(y,c.path)?c:C.end(e,y),w=T.isAncestor(y,l.path)?l:C.start(e,y);h=C.string(e,{anchor:w,focus:x},{voids:a}),d=!0}}if(Q.isText(b)){var S=T.equals(y,p.path);for(S?(v=o?p.offset:b.text.length-p.offset,m=p.offset):(v=b.text.length,m=o?v:0),(S||d||n==="offset")&&(yield{path:y,offset:m},d=!1);;){if(g===0){if(h==="")break;g=E(h,n,o),h=O3(h,g,o)[1]}if(m=o?m-g:m+g,v=v-g,v<0){g=-v;break}g=0,yield{path:y,offset:m}}}}function E(D,P,F){return P==="character"?B3(D,F):P==="word"?dX(D,F):P==="line"||P==="block"?D.length:1}}var BY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection}=r;if(s){var u=C.before(t,s,{voids:o});if(u){var[,l]=C.first(t,[]),c=[u.path,l];if(T.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(a==null)if(T.isPath(s)){var[p]=C.parent(t,s);a=h=>p.children.includes(h)}else a=()=>!0;var[d]=C.nodes(t,{reverse:!0,at:c,match:a,mode:n,voids:o});return d}}},OY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,a={current:r,affinity:o,unref(){var{current:u}=a,l=C.rangeRefs(t);return l.delete(a),a.current=null,u}},s=C.rangeRefs(t);return s.add(a),a},MY=e=>{var t=ST.get(e);return t||(t=new Set,ST.set(e,t)),t},IY=(e,t,r)=>{if(M.isRange(t)&&!r)return t;var n=C.start(e,t),o=C.end(e,r||t);return{anchor:n,focus:o}};function KT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function kY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?KT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):KT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var NY=(e,t)=>{var{selection:r}=e;if(r){var n=(p,d)=>{if(!Q.isText(p))return!1;var[h,g]=C.parent(e,d);return!e.isVoid(h)||e.markableVoid(h)},o=M.isExpanded(r),a=!1;if(!o){var[s,u]=C.node(e,r);if(s&&n(s,u)){var[l]=C.parent(e,u);a=l&&e.markableVoid(l)}}if(o||a)V.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=kY({},C.marks(e)||{});delete c[t],e.marks=c,gc.get(e)||e.onChange()}}},VY=(e,t)=>{ZT.set(e,t)},LY=(e,t)=>C.point(e,t,{edge:"start"}),$Y=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,a=C.range(t,r),[s,u]=M.edges(a),l="";for(var[c,p]of C.nodes(t,{at:a,match:Q.isText,voids:o})){var d=c.text;T.equals(p,u.path)&&(d=d.slice(0,u.offset)),T.equals(p,s.path)&&(d=d.slice(s.offset)),l+=d}return l},zY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[a,s]=M.edges(r);if(a.offset!==0||s.offset!==0||M.isCollapsed(r)||T.hasPrevious(s.path))return r;var u=C.above(t,{at:s,match:v=>q.isElement(v)&&C.isBlock(t,v),voids:o}),l=u?u[1]:[],c=C.start(t,a),p={anchor:c,focus:s},d=!0;for(var[h,g]of C.nodes(t,{at:p,match:Q.isText,reverse:!0,voids:o})){if(d){d=!1;continue}if(h.text!==""||T.isBefore(g,l)){s={path:g,offset:h.text.length};break}}return{anchor:a,focus:s}},HY=(e,t)=>{var r=C.isNormalizing(e);C.setNormalizing(e,!1);try{t()}finally{C.setNormalizing(e,r)}C.normalize(e)},GY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var n,o,{reverse:a=!1,unit:s="character",distance:u=1,voids:l=!1}=r,{at:c=t.selection,hanging:p=!1}=r;if(c){var d=!1;if(M.isRange(c)&&M.isCollapsed(c)&&(d=!0,c=c.anchor),ve.isPoint(c)){var h=C.void(t,{at:c,mode:"highest"});if(!l&&h){var[,g]=h;c=g}else{var v={unit:s,distance:u},m=a?C.before(t,c,v)||C.start(t,[]):C.after(t,c,v)||C.end(t,[]);c={anchor:c,focus:m},p=!0}}if(T.isPath(c)){V.removeNodes(t,{at:c,voids:l});return}if(!M.isCollapsed(c)){if(!p){var[,b]=M.edges(c),y=C.end(t,[]);ve.equals(b,y)||(c=C.unhangRange(t,c,{voids:l}))}var[x,w]=M.edges(c),S=C.above(t,{match:we=>q.isElement(we)&&C.isBlock(t,we),at:x,voids:l}),E=C.above(t,{match:we=>q.isElement(we)&&C.isBlock(t,we),at:w,voids:l}),D=S&&E&&!T.equals(S[1],E[1]),P=T.equals(x.path,w.path),F=l?null:(n=C.void(t,{at:x,mode:"highest"}))!==null&&n!==void 0?n:C.elementReadOnly(t,{at:x,mode:"highest"}),B=l?null:(o=C.void(t,{at:w,mode:"highest"}))!==null&&o!==void 0?o:C.elementReadOnly(t,{at:w,mode:"highest"});if(F){var I=C.before(t,x);I&&S&&T.isAncestor(S[1],I.path)&&(x=I)}if(B){var _=C.after(t,w);_&&E&&T.isAncestor(E[1],_.path)&&(w=_)}var L=[],z;for(var N of C.nodes(t,{at:c,voids:l})){var[$,Z]=N;z&&T.compare(Z,z)===0||(!l&&q.isElement($)&&(C.isVoid(t,$)||C.isElementReadOnly(t,$))||!T.isCommon(Z,x.path)&&!T.isCommon(Z,w.path))&&(L.push(N),z=Z)}var te=Array.from(L,we=>{var[,vt]=we;return C.pathRef(t,vt)}),oe=C.pointRef(t,x),j=C.pointRef(t,w),fe="";if(!P&&!F){var ye=oe.current,[he]=C.leaf(t,ye),{path:We}=ye,{offset:R}=x,U=he.text.slice(R);U.length>0&&(t.apply({type:"remove_text",path:We,offset:R,text:U}),fe=U)}if(te.reverse().map(we=>we.unref()).filter(we=>we!==null).forEach(we=>V.removeNodes(t,{at:we,voids:l})),!B){var G=j.current,[W]=C.leaf(t,G),{path:ce}=G,ae=P?x.offset:0,ge=W.text.slice(ae,w.offset);ge.length>0&&(t.apply({type:"remove_text",path:ce,offset:ae,text:ge}),fe=ge)}!P&&D&&j.current&&oe.current&&V.mergeNodes(t,{at:j.current,hanging:!0,voids:l}),d&&a&&s==="character"&&fe.length>1&&fe.match(/[\u0E00-\u0E7F]+/)&&V.insertText(t,fe.slice(0,fe.length-u));var xe=oe.unref(),Ee=j.unref(),Te=a?xe||Ee:Ee||xe;r.at==null&&Te&&V.select(t,Te)}}})},jY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1}=n,{at:s=F3(t)}=n;if(r.length){if(M.isRange(s))if(o||(s=C.unhangRange(t,s,{voids:a})),M.isCollapsed(s))s=s.anchor;else{var[,u]=M.edges(s);if(!a&&C.void(t,{at:u}))return;var l=C.pointRef(t,u);V.delete(t,{at:s}),s=l.unref()}else T.isPath(s)&&(s=C.start(t,s));if(!(!a&&C.void(t,{at:s}))){var c=C.above(t,{at:s,match:R=>q.isElement(R)&&C.isInline(t,R),mode:"highest",voids:a});if(c){var[,p]=c;if(C.isEnd(t,s,p)){var d=C.after(t,p);s=d}else if(C.isStart(t,s,p)){var h=C.before(t,p);s=h}}var g=C.above(t,{match:R=>q.isElement(R)&&C.isBlock(t,R),at:s,voids:a}),[,v]=g,m=C.isStart(t,s,v),b=C.isEnd(t,s,v),y=m&&b,x=!m||m&&b,w=!b,[,S]=K.first({children:r},[]),[,E]=K.last({children:r},[]),D=[],P=R=>{var[U,G]=R,W=G.length===0;return W?!1:y?!0:!(x&&T.isAncestor(G,S)&&q.isElement(U)&&!t.isVoid(U)&&!t.isInline(U)||w&&T.isAncestor(G,E)&&q.isElement(U)&&!t.isVoid(U)&&!t.isInline(U))};for(var F of K.nodes({children:r},{pass:P}))P(F)&&D.push(F);var B=[],I=[],_=[],L=!0,z=!1;for(var[N]of D)q.isElement(N)&&!t.isInline(N)?(L=!1,z=!0,I.push(N)):L?B.push(N):_.push(N);var[$]=C.nodes(t,{at:s,match:R=>Q.isText(R)||C.isInline(t,R),mode:"highest",voids:a}),[,Z]=$,te=C.isStart(t,s,Z),oe=C.isEnd(t,s,Z),j=C.pathRef(t,b&&!_.length?T.next(v):v),fe=C.pathRef(t,oe?T.next(Z):Z);V.splitNodes(t,{at:s,match:R=>z?q.isElement(R)&&C.isBlock(t,R):Q.isText(R)||C.isInline(t,R),mode:z?"lowest":"highest",always:z&&(!m||B.length>0)&&(!b||_.length>0),voids:a});var ye=C.pathRef(t,!te||te&&oe?T.next(Z):Z);if(V.insertNodes(t,B,{at:ye.current,match:R=>Q.isText(R)||C.isInline(t,R),mode:"highest",voids:a}),y&&!B.length&&I.length&&!_.length&&V.delete(t,{at:v,voids:a}),V.insertNodes(t,I,{at:j.current,match:R=>q.isElement(R)&&C.isBlock(t,R),mode:"lowest",voids:a}),V.insertNodes(t,_,{at:fe.current,match:R=>Q.isText(R)||C.isInline(t,R),mode:"highest",voids:a}),!n.at){var he;if(_.length>0&&fe.current?he=T.previous(fe.current):I.length>0&&j.current?he=T.previous(j.current):ye.current&&(he=T.previous(ye.current)),he){var We=C.end(t,he);V.select(t,We)}}ye.unref(),j.unref(),fe.unref()}}})},_Y=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=r,{selection:o}=t;if(o){if(n==="anchor")V.select(t,o.anchor);else if(n==="focus")V.select(t,o.focus);else if(n==="start"){var[a]=M.edges(o);V.select(t,a)}else if(n==="end"){var[,s]=M.edges(o);V.select(t,s)}}else return},WY=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},UY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:a="character",reverse:s=!1}=r,{edge:u=null}=r;if(n){u==="start"&&(u=M.isBackward(n)?"focus":"anchor"),u==="end"&&(u=M.isBackward(n)?"anchor":"focus");var{anchor:l,focus:c}=n,p={distance:o,unit:a,ignoreNonSelectable:!0},d={};if(u==null||u==="anchor"){var h=s?C.before(t,l,p):C.after(t,l,p);h&&(d.anchor=h)}if(u==null||u==="focus"){var g=s?C.before(t,c,p):C.after(t,c,p);g&&(d.focus=g)}V.setSelection(t,d)}},KY=(e,t)=>{var{selection:r}=e;if(t=C.range(e,t),r){V.setSelection(e,t);return}if(!M.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(st.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function qT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function XT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var qY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:a="both"}=n;if(o){a==="start"&&(a=M.isBackward(o)?"focus":"anchor"),a==="end"&&(a=M.isBackward(o)?"anchor":"focus");var{anchor:s,focus:u}=o,l=a==="anchor"?s:u;V.setSelection(t,{[a==="anchor"?"anchor":"focus"]:XT(XT({},l),r)})}},XY=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var a in t)(a==="anchor"&&t.anchor!=null&&!ve.equals(t.anchor,r.anchor)||a==="focus"&&t.focus!=null&&!ve.equals(t.focus,r.focus)||a!=="anchor"&&a!=="focus"&&t[a]!==r[a])&&(n[a]=r[a],o[a]=t[a]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},YY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:a=!1,mode:s="lowest"}=n,{at:u,match:l,select:c}=n;if(K.isNode(r)&&(r=[r]),r.length!==0){var[p]=r;if(u||(u=F3(t),c=!0),c==null&&(c=!1),M.isRange(u))if(o||(u=C.unhangRange(t,u,{voids:a})),M.isCollapsed(u))u=u.anchor;else{var[,d]=M.edges(u),h=C.pointRef(t,d);V.delete(t,{at:u}),u=h.unref()}if(ve.isPoint(u)){l==null&&(Q.isText(p)?l=P=>Q.isText(P):t.isInline(p)?l=P=>Q.isText(P)||C.isInline(t,P):l=P=>q.isElement(P)&&C.isBlock(t,P));var[g]=C.nodes(t,{at:u.path,match:l,mode:s,voids:a});if(g){var[,v]=g,m=C.pathRef(t,v),b=C.isEnd(t,u,v);V.splitNodes(t,{at:u,match:l,mode:s,voids:a});var y=m.unref();u=b?T.next(y):y}else return}var x=T.parent(u),w=u[u.length-1];if(!(!a&&C.void(t,{at:x}))){for(var S of r){var E=x.concat(w);w++,t.apply({type:"insert_node",path:E,node:S}),u=T.next(u)}if(u=T.previous(u),c){var D=C.end(t,u);D&&V.select(t,D)}}}})},JY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:o="lowest",voids:a=!1}=r,{match:s}=r;if(s==null&&(s=T.isPath(n)?cu(t,n):S=>q.isElement(S)&&C.isBlock(t,S)),!!n){var u=C.nodes(t,{at:n,match:s,mode:o,voids:a}),l=Array.from(u,S=>{var[,E]=S;return C.pathRef(t,E)});for(var c of l){var p=c.unref();if(p.length<2)throw new Error("Cannot lift node at a path [".concat(p,"] because it has a depth of less than `2`."));var d=C.node(t,T.parent(p)),[h,g]=d,v=p[p.length-1],{length:m}=h.children;if(m===1){var b=T.next(g);V.moveNodes(t,{at:p,to:b,voids:a}),V.removeNodes(t,{at:g,voids:a})}else if(v===0)V.moveNodes(t,{at:p,to:g,voids:a});else if(v===m-1){var y=T.next(g);V.moveNodes(t,{at:p,to:y,voids:a})}else{var x=T.next(p),w=T.next(g);V.splitNodes(t,{at:x,voids:a}),V.moveNodes(t,{at:p,to:w,voids:a})}}}})},ZY=["text"],QY=["children"],eA=(e,t)=>{if(q.isElement(t)){var r=t;return C.isVoid(e,t)?!0:r.children.length===1?eA(e,r.children[0]):!1}else return!C.isEditor(t)},eJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{match:n,at:o=t.selection}=r,{hanging:a=!1,voids:s=!1,mode:u="lowest"}=r;if(o){if(n==null)if(T.isPath(o)){var[l]=C.parent(t,o);n=I=>l.children.includes(I)}else n=I=>q.isElement(I)&&C.isBlock(t,I);if(!a&&M.isRange(o)&&(o=C.unhangRange(t,o,{voids:s})),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var[,c]=M.edges(o),p=C.pointRef(t,c);V.delete(t,{at:o}),o=p.unref(),r.at==null&&V.select(t,o)}var[d]=C.nodes(t,{at:o,match:n,voids:s,mode:u}),h=C.previous(t,{at:o,match:n,voids:s,mode:u});if(!(!d||!h)){var[g,v]=d,[m,b]=h;if(!(v.length===0||b.length===0)){var y=T.next(b),x=T.common(v,b),w=T.isSibling(v,b),S=Array.from(C.levels(t,{at:v}),I=>{var[_]=I;return _}).slice(x.length).slice(0,-1),E=C.above(t,{at:v,mode:"highest",match:I=>S.includes(I)&&eA(t,I)}),D=E&&C.pathRef(t,E[1]),P,F;if(Q.isText(g)&&Q.isText(m)){var B=ho(g,ZY);F=m.text.length,P=B}else if(q.isElement(g)&&q.isElement(m)){var B=ho(g,QY);F=m.children.length,P=B}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(st.stringify(g)," ").concat(st.stringify(m)));w||V.moveNodes(t,{at:v,to:y,voids:s}),D&&V.removeNodes(t,{at:D.current,voids:s}),q.isElement(m)&&C.isEmpty(t,m)||Q.isText(m)&&m.text===""&&b[b.length-1]!==0?V.removeNodes(t,{at:b,voids:s}):t.apply({type:"merge_node",path:y,position:F,properties:P}),D&&D.unref()}}}})},tJ=(e,t)=>{C.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:a=!1}=t,{match:s}=t;if(n){s==null&&(s=T.isPath(n)?cu(e,n):g=>q.isElement(g)&&C.isBlock(e,g));var u=C.pathRef(e,r),l=C.nodes(e,{at:n,match:s,mode:o,voids:a}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(e,v)});for(var p of c){var d=p.unref(),h=u.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:h}),u.current&&T.isSibling(h,d)&&T.isAfter(h,d)&&(u.current=T.next(u.current))}u.unref()}})},rJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:a="lowest"}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=T.isPath(s)?cu(t,s):g=>q.isElement(g)&&C.isBlock(t,g)),!n&&M.isRange(s)&&(s=C.unhangRange(t,s,{voids:o}));var l=C.nodes(t,{at:s,match:u,mode:a,voids:o}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(t,v)});for(var p of c){var d=p.unref();if(d){var[h]=C.node(t,d);t.apply({type:"remove_node",path:d,node:h})}}}})},nJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{match:o,at:a=t.selection,compare:s,merge:u}=n,{hanging:l=!1,mode:c="lowest",split:p=!1,voids:d=!1}=n;if(a){if(o==null&&(o=T.isPath(a)?cu(t,a):F=>q.isElement(F)&&C.isBlock(t,F)),!l&&M.isRange(a)&&(a=C.unhangRange(t,a,{voids:d})),p&&M.isRange(a)){if(M.isCollapsed(a)&&C.leaf(t,a.anchor)[0].text.length>0)return;var h=C.rangeRef(t,a,{affinity:"inward"}),[g,v]=M.edges(a),m=c==="lowest"?"lowest":"highest",b=C.isEnd(t,v,v.path);V.splitNodes(t,{at:v,match:o,mode:m,voids:d,always:!b});var y=C.isStart(t,g,g.path);V.splitNodes(t,{at:g,match:o,mode:m,voids:d,always:!y}),a=h.unref(),n.at==null&&V.select(t,a)}s||(s=(F,B)=>F!==B);for(var[x,w]of C.nodes(t,{at:a,match:o,mode:c,voids:d})){var S={},E={};if(w.length!==0){var D=!1;for(var P in r)P==="children"||P==="text"||s(r[P],x[P])&&(D=!0,x.hasOwnProperty(P)&&(S[P]=x[P]),u?r[P]!=null&&(E[P]=u(x[P],r[P])):r[P]!=null&&(E[P]=r[P]));D&&t.apply({type:"set_node",path:w,properties:S,newProperties:E})}}}})},oJ=(e,t)=>{if(M.isCollapsed(t))return t.anchor;var[,r]=M.edges(t),n=C.pointRef(e,r);return V.delete(e,{at:t}),n.unref()},iJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",voids:o=!1}=r,{match:a,at:s=t.selection,height:u=0,always:l=!1}=r;if(a==null&&(a=j=>q.isElement(j)&&C.isBlock(t,j)),M.isRange(s)&&(s=oJ(t,s)),T.isPath(s)){var c=s,p=C.point(t,c),[d]=C.parent(t,c);a=j=>j===d,u=p.path.length-c.length+1,s=p,l=!0}if(s){var h=C.pointRef(t,s,{affinity:"backward"}),g;try{var[v]=C.nodes(t,{at:s,match:a,mode:n,voids:o});if(!v)return;var m=C.void(t,{at:s,mode:"highest"}),b=0;if(!o&&m){var[y,x]=m;if(q.isElement(y)&&t.isInline(y)){var w=C.after(t,x);if(!w){var S={text:""},E=T.next(x);V.insertNodes(t,S,{at:E,voids:o}),w=C.point(t,E)}s=w,l=!0}var D=s.path.length-x.length;u=D+1,l=!0}g=C.pointRef(t,s);var P=s.path.length-u,[,F]=v,B=s.path.slice(0,P),I=u===0?s.offset:s.path[P]+b;for(var[_,L]of C.levels(t,{at:B,reverse:!0,voids:o})){var z=!1;if(L.length<F.length||L.length===0||!o&&q.isElement(_)&&C.isVoid(t,_))break;var N=h.current,$=C.isEnd(t,N,L);if(l||!h||!C.isEdge(t,N,L)){z=!0;var Z=K.extractProps(_);t.apply({type:"split_node",path:L,position:I,properties:Z})}I=L[L.length-1]+(z||$?1:0)}if(r.at==null){var te=g.current||C.end(t,[]);V.select(t,te)}}finally{var oe;h.unref(),(oe=g)===null||oe===void 0||oe.unref()}}})},aJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var a of r)o[a]=null;V.setNodes(t,o,n)},sJ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:a=!1}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=T.isPath(s)?cu(t,s):g=>q.isElement(g)&&C.isBlock(t,g)),T.isPath(s)&&(s=C.range(t,s));var l=M.isRange(s)?C.rangeRef(t,s):null,c=C.nodes(t,{at:s,match:u,mode:n,voids:a}),p=Array.from(c,g=>{var[,v]=g;return C.pathRef(t,v)}).reverse(),d=function(v){var m=v.unref(),[b]=C.node(t,m),y=C.range(t,m);o&&l&&(y=M.intersection(l.current,y)),V.liftNodes(t,{at:y,match:x=>q.isAncestor(b)&&b.children.includes(x),voids:a})};for(var h of p)d(h);l&&l.unref()}})};function YT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function JT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?YT(Object(r),!0).forEach(function(n){zt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):YT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var uJ=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{mode:o="lowest",split:a=!1,voids:s=!1}=n,{match:u,at:l=t.selection}=n;if(l){if(u==null&&(T.isPath(l)?u=cu(t,l):t.isInline(r)?u=y=>q.isElement(y)&&C.isInline(t,y)||Q.isText(y):u=y=>q.isElement(y)&&C.isBlock(t,y)),a&&M.isRange(l)){var[c,p]=M.edges(l),d=C.rangeRef(t,l,{affinity:"inward"});V.splitNodes(t,{at:p,match:u,voids:s}),V.splitNodes(t,{at:c,match:u,voids:s}),l=d.unref(),n.at==null&&V.select(t,l)}var h=Array.from(C.nodes(t,{at:l,match:t.isInline(r)?y=>q.isElement(y)&&C.isBlock(t,y):y=>C.isEditor(y),mode:"lowest",voids:s}));for(var[,g]of h){var v=M.isRange(l)?M.intersection(l,C.range(t,g)):l;if(v){var m=Array.from(C.nodes(t,{at:v,match:u,mode:o,voids:s}));if(m.length>0){var b=function(){var[y]=m,x=m[m.length-1],[,w]=y,[,S]=x;if(w.length===0&&S.length===0)return"continue";var E=T.equals(w,S)?T.parent(w):T.common(w,S),D=C.range(t,w,S),P=C.node(t,E),[F]=P,B=E.length+1,I=T.next(S.slice(0,B)),_=JT(JT({},r),{},{children:[]});V.insertNodes(t,_,{at:I,voids:s}),V.moveNodes(t,{at:D,match:L=>q.isAncestor(F)&&F.children.includes(L),to:I.concat(0),voids:s})}();if(b==="continue")continue}}}}})},_1=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IX(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zX(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jX(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _X(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WX(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NX(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rY(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return oY(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jY(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nY(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return aY(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VX(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NY(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kX(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LX(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $X(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HX(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GX(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _Y(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GY(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WY(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UX(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KX(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qX(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XX(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YX(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yY(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZX(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QX(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eY(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tY(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YY(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sY(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return uY(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lY(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cY(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fY(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pY(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dY(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mY(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hY(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JY(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eJ(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UY(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tJ(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bY(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CY(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xY(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wY(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SY(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PY(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DY(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EY(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RY(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TY(e,...n)},pointRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AY(e,...n)},positions:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FY(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BY(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IY(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OY(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MY(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rJ(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KY(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nJ(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VY(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return qY(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return XY(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return iJ(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LY(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $Y(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zY(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return aJ(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sJ(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JX(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HY(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return uJ(e,...n)}};return e};i();i();i();i();i();i();i();var kr=[];var tA=function(){return kr.some(function(e){return e.activeTargets.length>0})};i();var rA=function(){return kr.some(function(e){return e.skippedTargets.length>0})};i();var nA="ResizeObserver loop completed with undelivered notifications.",oA=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:nA}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=nA),window.dispatchEvent(e)};i();i();i();i();var ha;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(ha||(ha={}));i();i();var sn=function(e){return Object.freeze(e)};var M3=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,sn(this)}return e}();i();var I3=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,sn(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,a=t.right,s=t.bottom,u=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:a,bottom:s,left:u,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();i();var vc=function(e){return e instanceof SVGElement&&"getBBox"in e},W1=function(e){if(vc(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,a=o.offsetWidth,s=o.offsetHeight;return!(a||s||e.getClientRects().length)},k3=function(e){var t;if(e instanceof Element)return!0;var r=(t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},iA=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};i();var ga=typeof window<"u"?window:{};var U1=new WeakMap,aA=/auto|scroll/,lJ=/^tb|vertical/,cJ=/msie|trident/i.test(ga.navigator&&ga.navigator.userAgent),An=function(e){return parseFloat(e||"0")},fu=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new M3((r?t:e)||0,(r?e:t)||0)},sA=sn({devicePixelContentBoxSize:fu(),borderBoxSize:fu(),contentBoxSize:fu(),contentRect:new I3(0,0,0,0)}),N3=function(e,t){if(t===void 0&&(t=!1),U1.has(e)&&!t)return U1.get(e);if(W1(e))return U1.set(e,sA),sA;var r=getComputedStyle(e),n=vc(e)&&e.ownerSVGElement&&e.getBBox(),o=!cJ&&r.boxSizing==="border-box",a=lJ.test(r.writingMode||""),s=!n&&aA.test(r.overflowY||""),u=!n&&aA.test(r.overflowX||""),l=n?0:An(r.paddingTop),c=n?0:An(r.paddingRight),p=n?0:An(r.paddingBottom),d=n?0:An(r.paddingLeft),h=n?0:An(r.borderTopWidth),g=n?0:An(r.borderRightWidth),v=n?0:An(r.borderBottomWidth),m=n?0:An(r.borderLeftWidth),b=d+c,y=l+p,x=m+g,w=h+v,S=u?e.offsetHeight-w-e.clientHeight:0,E=s?e.offsetWidth-x-e.clientWidth:0,D=o?b+x:0,P=o?y+w:0,F=n?n.width:An(r.width)-D-E,B=n?n.height:An(r.height)-P-S,I=F+b+E+x,_=B+y+S+w,L=sn({devicePixelContentBoxSize:fu(Math.round(F*devicePixelRatio),Math.round(B*devicePixelRatio),a),borderBoxSize:fu(I,_,a),contentBoxSize:fu(F,B,a),contentRect:new I3(d,l,F,B)});return U1.set(e,L),L},K1=function(e,t,r){var n=N3(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case ha.DEVICE_PIXEL_CONTENT_BOX:return s;case ha.BORDER_BOX:return o;default:return a}};var V3=function(){function e(t){var r=N3(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=sn([r.borderBoxSize]),this.contentBoxSize=sn([r.contentBoxSize]),this.devicePixelContentBoxSize=sn([r.devicePixelContentBoxSize])}return e}();i();var q1=function(e){if(W1(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var uA=function(){var e=1/0,t=[];kr.forEach(function(s){if(s.activeTargets.length!==0){var u=[];s.activeTargets.forEach(function(c){var p=new V3(c.target),d=q1(c.target);u.push(p),c.lastReportedSize=K1(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){s.callback.call(s.observer,u,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e};i();var L3=function(e){kr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(q1(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var lA=function(){var e=0;for(L3(e);tA();)e=uA(),L3(e);return rA()&&oA(),e>0};i();i();var $3,cA=[],fJ=function(){return cA.splice(0).forEach(function(e){return e()})},fA=function(e){if(!$3){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return fJ()}).observe(r,n),$3=function(){r.textContent="".concat(t?t--:t++)}}cA.push(e),$3()};var pA=function(e){fA(function(){requestAnimationFrame(e)})};var X1=0,pJ=function(){return!!X1},dJ=250,mJ={attributes:!0,characterData:!0,childList:!0,subtree:!0},dA=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],mA=function(e){return e===void 0&&(e=0),Date.now()+e},z3=!1,hJ=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=dJ),!z3){z3=!0;var n=mA(t);pA(function(){var o=!1;try{o=lA()}finally{if(z3=!1,t=n-mA(),!pJ())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,mJ)};document.body?r():ga.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dA.forEach(function(r){return ga.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),dA.forEach(function(r){return ga.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Y1=new hJ,H3=function(e){!X1&&e>0&&Y1.start(),X1+=e,!X1&&Y1.stop()};i();var gJ=function(e){return!vc(e)&&!iA(e)&&getComputedStyle(e).display==="inline"},hA=function(){function e(t,r){this.target=t,this.observedBox=r||ha.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=K1(this.target,this.observedBox,!0);return gJ(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();i();var gA=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var J1=new WeakMap,vA=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},yc=function(){function e(){}return e.connect=function(t,r){var n=new gA(t,r);J1.set(t,n)},e.observe=function(t,r,n){var o=J1.get(t),a=o.observationTargets.length===0;vA(o.observationTargets,r)<0&&(a&&kr.push(o),o.observationTargets.push(new hA(r,n&&n.box)),H3(1),Y1.schedule())},e.unobserve=function(t,r){var n=J1.get(t),o=vA(n.observationTargets,r),a=n.observationTargets.length===1;o>=0&&(a&&kr.splice(kr.indexOf(n),1),n.observationTargets.splice(o,1),H3(-1))},e.disconnect=function(t){var r=this,n=J1.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}();var G3=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");yc.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!k3(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");yc.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!k3(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");yc.unobserve(this,t)},e.prototype.disconnect=function(){yc.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var em=A(wA()),LA=A(require("react-dom"));function im(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xJ(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function mu(e,t){if(e==null)return{};var r=xJ(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var ev=(0,k.createContext)(null),Ci=()=>{var e=(0,k.useContext)(ev);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},$A=parseInt(k.default.version.split(".")[0],10),wJ=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,SA=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),ar=typeof navigator<"u"&&/Android/.test(navigator.userAgent),xc=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Cc=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),SJ=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),zA=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),DJ=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),EJ=ar&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),PJ=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),TJ=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),AJ=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),tm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gi=(!DJ||!EJ)&&!SJ&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",tv=new WeakMap,rv=new WeakMap,HA=new WeakMap,rm=new WeakMap,U3=new WeakMap,Sc=new WeakMap,ba=new WeakMap,nm=new WeakMap,am=new WeakMap,K3=new WeakMap,va=new WeakMap,ya=new WeakMap,wc=new WeakMap,q3=new WeakMap,nv=new WeakMap,un=new WeakMap,go=new WeakMap,ir=new WeakMap,vi=new WeakMap,yi=new WeakMap,GA=new WeakMap,hu=Symbol("placeholder"),jA=Symbol("mark-placeholder"),RJ=globalThis.Text,ov=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,FJ=e=>bi(e)&&e.nodeType===8,Nr=e=>bi(e)&&e.nodeType===1,bi=e=>{var t=ov(e);return!!t&&e instanceof t.Node},X3=e=>{var t=e&&e.anchorNode&&ov(e.anchorNode);return!!t&&e instanceof t.Selection},_A=e=>bi(e)&&e.nodeType===3,BJ=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,OJ=e=>{var[t,r]=e;if(Nr(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=WA(t,o,n?"backward":"forward"),n=o<r;Nr(t)&&t.childNodes.length;){var a=n?t.childNodes.length-1:0;t=IJ(t,a,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},MJ=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},WA=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],a=t,s=!1,u=!1;(FJ(o)||Nr(o)&&o.childNodes.length===0||Nr(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&u);){if(a>=n.length){s=!0,a=t-1,r="backward";continue}if(a<0){u=!0,a=t+1,r="forward";continue}o=n[a],t=a,a+=r==="forward"?1:-1}return[o,t]},IJ=(e,t,r)=>{var[n]=WA(e,t,r);return n},UA=e=>{var t="";if(_A(e)&&e.nodeValue)return e.nodeValue;if(Nr(e)){for(var r of Array.from(e.childNodes))t+=UA(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
|
|
1825
|
+
`)}return t},kJ=/data-slate-fragment="(.+?)"/m,NJ=e=>{var t=e.getData("text/html"),[,r]=t.match(kJ)||[];return r},iv=(e,t,r)=>{var{target:n}=t;if(Nr(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=H.getWindow(e);if(o.contains(n))return H.hasDOMNode(e,n,{editable:!0});var a=r.find(s=>{var{addedNodes:u,removedNodes:l}=s;for(var c of u)if(c===n||c.contains(n))return!0;for(var p of l)if(p===n||p.contains(n))return!0});return!a||a===t?!1:iv(e,a,r)},VJ=0,Y3=class{constructor(){this.id="".concat(VJ++)}},H={androidPendingDiffs:e=>ir.get(e),androidScheduleFlush:e=>{var t;(t=nv.get(e))===null||t===void 0||t()},blur:e=>{var t=H.toDOMNode(e,e),r=H.findDocumentOrShadowRoot(e);va.set(e,!1),r.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,r=H.findDocumentOrShadowRoot(e),n=r.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&V.deselect(e)},findDocumentOrShadowRoot:e=>{var t=H.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&r.getSelection!=null?r:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:r,clientY:n,target:o}=t;if(r==null||n==null)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var a=H.toSlateNode(e,t.target),s=H.findPath(e,a);if(q.isElement(a)&&C.isVoid(e,a)){var u=o.getBoundingClientRect(),l=e.isInline(a)?r-u.left<u.left+u.width-r:n-u.top<u.top+u.height-n,c=C.point(e,s,{edge:l?"start":"end"}),p=l?C.before(e,c):C.after(e,c);if(p){var d=C.range(e,p);return d}}var h,{document:g}=H.getWindow(e);if(g.caretRangeFromPoint)h=g.caretRangeFromPoint(r,n);else{var v=g.caretPositionFromPoint(r,n);v&&(h=g.createRange(),h.setStart(v.offsetNode,v.offset),h.setEnd(v.offsetNode,v.offset))}if(!h)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var m=H.toSlateRange(e,h,{exactMatch:!1,suppressThrow:!1});return m},findKey:(e,t)=>{var r=nm.get(t);return r||(r=new Y3,nm.set(t,r)),r},findPath:(e,t)=>{for(var r=[],n=t;;){var o=rv.get(n);if(o==null){if(C.isEditor(n))return r;break}var a=tv.get(n);if(a==null)break;r.unshift(a),n=o}throw new Error("Unable to find the path for Slate node: ".concat(st.stringify(t)))},focus:e=>{var t=H.toDOMNode(e,e),r=H.findDocumentOrShadowRoot(e);if(va.set(e,!0),r.activeElement!==t){if(e.selection&&r instanceof Document){var n=r.getSelection(),o=H.toDOMRange(e,e.selection);n?.removeAllRanges(),n?.addRange(o)}t.focus({preventScroll:!0})}},getWindow:e=>{var t=HA.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{editable:o=!1}=n,a=H.toDOMNode(t,t),s;try{s=Nr(r)?r:r.parentElement}catch(u){if(!u.message.includes('Permission denied to access property "nodeType"'))throw u}return s?s.closest("[data-slate-editor]")===a&&(!o||s.isContentEditable?!0:typeof s.isContentEditable=="boolean"&&s.closest('[contenteditable="false"]')===a||!!s.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(e,t)=>bi(t)&&H.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>{var{anchor:r,focus:n}=t;return C.hasPath(e,r.path)&&C.hasPath(e,n.path)},hasSelectableTarget:(e,t)=>H.hasEditableTarget(e,t)||H.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>bi(t)&&H.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!ya.get(e),isFocused:e=>!!va.get(e),isReadOnly:e=>!!K3.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(K3.get(e))return!1;var r=H.hasTarget(e,t)&&H.toSlateNode(e,t);return q.isElement(r)&&C.isVoid(e,r)},setFragmentData:(e,t,r)=>e.setFragmentData(t,r),toDOMNode:(e,t)=>{var r=am.get(e),n=C.isEditor(t)?rm.get(e):r?.get(H.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(st.stringify(t)));return n},toDOMPoint:(e,t)=>{var[r]=C.node(e,t.path),n=H.toDOMNode(e,r),o;C.void(e,{at:t})&&(t={path:t.path,offset:0});for(var a="[data-slate-string], [data-slate-zero-width]",s=Array.from(n.querySelectorAll(a)),u=0,l=0;l<s.length;l++){var c=s[l],p=c.childNodes[0];if(!(p==null||p.textContent==null)){var{length:d}=p.textContent,h=c.getAttribute("data-slate-length"),g=h==null?d:parseInt(h,10),v=u+g,m=s[l+1];if(t.offset===v&&m!==null&&m!==void 0&&m.hasAttribute("data-slate-mark-placeholder")){var b,y=m.childNodes[0];o=[y instanceof RJ?y:m,(b=m.textContent)!==null&&b!==void 0&&b.startsWith("\uFEFF")?1:0];break}if(t.offset<=v){var x=Math.min(d,Math.max(0,t.offset-u));o=[p,x];break}u=v}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(st.stringify(t)));return o},toDOMRange:(e,t)=>{var{anchor:r,focus:n}=t,o=M.isBackward(t),a=H.toDOMPoint(e,r),s=M.isCollapsed(t)?a:H.toDOMPoint(e,n),u=H.getWindow(e),l=u.document.createRange(),[c,p]=o?s:a,[d,h]=o?a:s,g=Nr(c)?c:c.parentElement,v=!!g.getAttribute("data-slate-zero-width"),m=Nr(d)?d:d.parentElement,b=!!m.getAttribute("data-slate-zero-width");return l.setStart(c,v?1:p),l.setEnd(d,b?1:h),l},toSlateNode:(e,t)=>{var r=Nr(t)?t:t.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r?Sc.get(r):null;if(!n)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(r));return n},toSlatePoint:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,[a,s]=n?t:OJ(t),u=a.parentNode,l=null,c=0;if(u){var p,d,h=H.toDOMNode(e,e),g=u.closest('[data-slate-void="true"]'),v=g&&h.contains(g)?g:null,m=u.closest("[data-slate-leaf]"),b=null;if(m){if(l=m.closest('[data-slate-node="text"]'),l){var y=H.getWindow(e),x=y.document.createRange();x.setStart(l,0),x.setEnd(a,s);var w=x.cloneContents(),S=[...Array.prototype.slice.call(w.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(w.querySelectorAll("[contenteditable=false]"))];S.forEach(N=>{if(ar&&!n&&N.hasAttribute("data-slate-zero-width")&&N.textContent.length>0&&N.textContext!=="\uFEFF"){N.textContent.startsWith("\uFEFF")&&(N.textContent=N.textContent.slice(1));return}N.parentNode.removeChild(N)}),c=w.textContent.length,b=l}}else if(v){for(var E=v.querySelectorAll("[data-slate-leaf]"),D=0;D<E.length;D++){var P=E[D];if(H.hasDOMNode(e,P)){m=P;break}}m?(l=m.closest('[data-slate-node="text"]'),b=m,c=b.textContent.length,b.querySelectorAll("[data-slate-zero-width]").forEach(N=>{c-=N.textContent.length})):c=1}b&&c===b.textContent.length&&ar&&b.getAttribute("data-slate-zero-width")==="z"&&(p=b.textContent)!==null&&p!==void 0&&p.startsWith("\uFEFF")&&(u.hasAttribute("data-slate-zero-width")||xc&&(d=b.textContent)!==null&&d!==void 0&&d.endsWith(`
|
|
1826
1826
|
|
|
1827
|
-
`))&&c--}if(ar&&!l&&!n){var F=u.hasAttribute("data-slate-node")?u:u.closest("[data-slate-node]");if(F&&H.hasDOMNode(e,F,{editable:!0})){var B=H.toSlateNode(e,F),{path:I,offset:_}=C.start(e,H.findPath(e,B));return F.querySelector("[data-slate-leaf]")||(_=s),{path:I,offset:_}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var L=H.toSlateNode(e,l),z=H.findPath(e,L);return{path:z,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,a=X3(t)?t.anchorNode:t.startContainer,s,u,l,c,p;if(a)if(X3(t)){if(xc&&t.rangeCount>1){l=t.focusNode;var d=t.getRangeAt(0),h=t.getRangeAt(t.rangeCount-1);if(l instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&h.startContainer instanceof HTMLTableRowElement){let E=function(D){return D.childElementCount>0?E(D.children[0]):D};var g=d.startContainer,v=h.startContainer,m=E(g.children[d.startOffset]),b=E(v.children[h.startOffset]);c=0,b.childNodes.length>0?s=b.childNodes[0]:s=b,m.childNodes.length>0?l=m.childNodes[0]:l=m,b instanceof HTMLElement?u=b.innerHTML.length:u=0}else d.startContainer===l?(s=h.endContainer,u=h.endOffset,c=d.startOffset):(s=d.startContainer,u=d.endOffset,c=h.startOffset)}else s=t.anchorNode,u=t.anchorOffset,l=t.focusNode,c=t.focusOffset;HA&&MJ(s)||xc?p=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:p=t.isCollapsed}else s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,p=t.collapsed;if(s==null||l==null||u==null||c==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));if("getAttribute"in l&&l.getAttribute("contenteditable")==="false"&&l.getAttribute("data-slate-void")!=="true"){var y;l=s,c=((y=s.textContent)===null||y===void 0?void 0:y.length)||0}var x=H.toSlatePoint(e,[s,u],{exactMatch:n,suppressThrow:o});if(!x)return null;var w=p?x:H.toSlatePoint(e,[l,c],{exactMatch:n,suppressThrow:o});if(!w)return null;var S={anchor:x,focus:w};return M.isExpanded(S)&&M.isForward(S)&&Nr(l)&&C.void(e,{at:S.focus,mode:"highest"})&&(S=C.unhangRange(e,S,{voids:!0})),S}};function LJ(e,t){var{path:r,diff:n}=t;if(!C.hasPath(e,r))return!1;var o=K.get(e,r);if(!Q.isText(o))return!1;if(n.start!==o.text.length||n.text.length===0)return o.text.slice(n.start,n.start+n.text.length)===n.text;var a=T.next(r);if(!C.hasPath(e,a))return!1;var s=K.get(e,a);return Q.isText(s)&&s.text.startsWith(n.text)}function qA(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((o,a)=>o.slice(0,a.start)+a.text+o.slice(a.end),e)}function $J(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n))return n;return r}function zJ(e,t,r){for(var n=Math.min(e.length,t.length,r),o=0;o<n;o++)if(e.charAt(e.length-o-1)!==t.charAt(t.length-o-1))return o;return n}function XA(e,t){var{start:r,end:n,text:o}=t,a=e.slice(r,n),s=$J(a,o),u=Math.min(a.length-s,o.length-s),l=zJ(a,o,u),c={start:r+s,end:n-l,text:o.slice(s,o.length-l)};return c.start===c.end&&c.text.length===0?null:c}function HJ(e,t,r){var n=Math.min(t.start,r.start),o=Math.max(0,Math.min(t.start+t.text.length,r.end)-r.start),a=qA(e,t,r),s=Math.max(r.start+r.text.length,t.start+t.text.length+(t.start+t.text.length>r.start?r.text.length:0)-o),u=a.slice(n,s),l=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return XA(e,{start:n,end:l,text:u})}function GJ(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function J3(e,t){var{path:r,offset:n}=t;if(!C.hasPath(e,r))return null;var o=K.get(e,r);if(!Q.isText(o))return null;var a=C.above(e,{match:u=>q.isElement(u)&&C.isBlock(e,u),at:r});if(!a)return null;for(;n>o.text.length;){var s=C.next(e,{at:r,match:Q.isText});if(!s||!T.isDescendant(s[1],a[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function EA(e,t){var r=J3(e,t.anchor);if(!r)return null;if(M.isCollapsed(t))return{anchor:r,focus:r};var n=J3(e,t.focus);return n?{anchor:r,focus:n}:null}function Z3(e,t,r){var n=ir.get(e),o=n?.find(p=>{var{path:d}=p;return T.equals(d,t.path)});if(!o||t.offset<=o.diff.start)return ve.transform(t,r,{affinity:"backward"});var{diff:a}=o;if(t.offset<=a.start+a.text.length){var s={path:t.path,offset:a.start},u=ve.transform(s,r,{affinity:"backward"});return u?{path:u.path,offset:u.offset+t.offset-a.start}:null}var l={path:t.path,offset:t.offset-a.text.length+a.end-a.start},c=ve.transform(l,r,{affinity:"backward"});return c?r.type==="split_node"&&T.equals(r.path,t.path)&&l.offset<r.position&&a.start<r.position?c:{path:c.path,offset:c.offset+a.text.length-a.end+a.start}:null}function PA(e,t,r){var n=Z3(e,t.anchor,r);if(!n)return null;if(M.isCollapsed(t))return{anchor:n,focus:n};var o=Z3(e,t.focus,r);return o?{anchor:n,focus:o}:null}function jJ(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!T.equals(t.path,r)||t.offset>=n.end?e:t.offset<=n.start?{diff:{start:t.text.length+n.start,end:t.text.length+n.end,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end+t.text.length,text:n.text},id:o,path:r};case"remove_text":return!T.equals(t.path,r)||t.offset>=n.end?e:t.offset+t.text.length<=n.start?{diff:{start:n.start-t.text.length,end:n.end-t.text.length,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end-t.text.length,text:n.text},id:o,path:r};case"split_node":return!T.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:T.transform(r,t,{affinity:"backward"})}:t.position>n.start?{diff:{start:n.start,end:Math.min(t.position,n.end),text:n.text},id:o,path:r}:{diff:{start:n.start-t.position,end:n.end-t.position,text:n.text},id:o,path:T.transform(r,t,{affinity:"forward"})};case"merge_node":return T.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:T.transform(r,t)}:{diff:n,id:o,path:T.transform(r,t)}}var a=T.transform(r,t);return a?{diff:n,path:a,id:o}:null}function TA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Q1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?TA(Object(r),!0).forEach(function(n){im(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var _J=25,WJ=200,UJ=function(){},KJ=e=>e?.constructor.name==="DataTransfer";function qJ(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,a=null,s=null,u=null,l=0,c=!1,p=()=>{var L=yi.get(t);if(yi.delete(t),L){var{selection:z}=t,N=EA(t,L);N&&(!z||!M.equals(N,z))&&V.select(t,N)}},d=()=>{var L=vi.get(t);if(vi.delete(t),!!L){if(L.at){var z=ve.isPoint(L.at)?J3(t,L.at):EA(t,L.at);if(!z)return;var N=C.range(t,z);(!t.selection||!M.equals(t.selection,N))&&V.select(t,z)}L.run()}},h=()=>{if(s&&(clearTimeout(s),s=null),u&&(clearTimeout(u),u=null),!S()&&!w()){p();return}o||(o=!0,setTimeout(()=>o=!1)),w()&&(o="action");var L=t.selection&&C.rangeRef(t,t.selection,{affinity:"forward"});go.set(t,t.marks),UJ("flush",vi.get(t),ir.get(t));for(var z=S(),N;N=($=ir.get(t))===null||$===void 0?void 0:$[0];){var $,Z,te=un.get(t);te!==void 0&&(un.delete(t),t.marks=te),te&&c===!1&&(c=null);var oe=GJ(N);(!t.selection||!M.equals(t.selection,oe))&&V.select(t,oe),N.diff.text?C.insertText(t,N.diff.text):C.deleteFragment(t),ir.set(t,(Z=ir.get(t))===null||Z===void 0?void 0:Z.filter(ye=>{var{id:he}=ye;return he!==N.id})),LJ(t,N)||(z=!1,vi.delete(t),go.delete(t),o="action",yi.delete(t),r.cancel(),n.cancel(),L?.unref())}var j=L?.unref();if(j&&!yi.get(t)&&(!t.selection||!M.equals(j,t.selection))&&V.select(t,j),w()){d();return}z&&r(),r.flush(),n.flush(),p();var fe=go.get(t);go.delete(t),fe!==void 0&&(t.marks=fe,t.onChange())},g=L=>{a&&clearTimeout(a),a=setTimeout(()=>{ya.set(t,!1),h()},_J)},v=L=>{ya.set(t,!0),a&&(clearTimeout(a),a=null)},m=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,N=U3.get(t);if(N){if(S()||z){N.style.display="none";return}N.style.removeProperty("display")}},b=(L,z)=>{var N,$=(N=ir.get(t))!==null&&N!==void 0?N:[];ir.set(t,$);var Z=K.leaf(t,L),te=$.findIndex(fe=>T.equals(fe.path,L));if(te<0){var oe=XA(Z.text,z);oe&&$.push({path:L,diff:z,id:l++}),m();return}var j=HJ(Z.text,$[te].diff,z);if(!j){$.splice(te,1),m();return}$[te]=Q1(Q1({},$[te]),{},{diff:j})},y=function(z){var{at:N}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,yi.delete(t),r.cancel(),n.cancel(),w()&&h(),vi.set(t,{at:N,run:z}),u=setTimeout(h)},x=L=>{var z;s&&(clearTimeout(s),s=null);var{inputType:N}=L,$=null,Z=L.dataTransfer||L.data||void 0;c!==!1&&N!=="insertText"&&N!=="insertCompositionText"&&(c=!1);var[te]=L.getTargetRanges();te&&($=H.toSlateRange(t,te,{exactMatch:!1,suppressThrow:!0}));var oe=H.getWindow(t),j=oe.getSelection();if(!$&&j&&(te=j,$=H.toSlateRange(t,j,{exactMatch:!1,suppressThrow:!0})),$=(z=$)!==null&&z!==void 0?z:t.selection,!!$){var fe=!0;if(N.startsWith("delete")){if(M.isExpanded($)){var[ye,he]=M.edges($),We=K.leaf(t,ye.path);if(We.text.length===ye.offset&&he.offset===0){var R=C.next(t,{at:ye.path,match:Q.isText});R&&T.equals(R[1],he.path)&&($={anchor:he,focus:he})}}var U=N.endsWith("Backward")?"backward":"forward",[G,W]=M.edges($),[ce,ae]=C.leaf(t,G.path),ge={text:"",start:G.offset,end:W.offset},xe=ir.get(t),Ee=xe?.find(Ae=>T.equals(Ae.path,ae)),Te=Ee?[Ee.diff,ge]:[ge],we=qA(ce.text,...Te);if(we.length===0&&(fe=!1),M.isExpanded($)){if(fe&&T.equals($.anchor.path,$.focus.path)){var vt={path:$.anchor.path,offset:G.offset},yt=C.range(t,vt,vt);return P(yt),b($.anchor.path,{text:"",end:W.offset,start:G.offset})}return y(()=>C.deleteFragment(t,{direction:U}),{at:$})}}switch(N){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return y(()=>C.deleteFragment(t),{at:$});case"deleteContent":case"deleteContentForward":{var{anchor:Ue}=$;if(fe&&M.isCollapsed($)){var dr=K.leaf(t,Ue.path);if(Ue.offset<dr.text.length)return b(Ue.path,{text:"",start:Ue.offset,end:Ue.offset+1})}return y(()=>C.deleteForward(t),{at:$})}case"deleteContentBackward":{var Ut,{anchor:Pt}=$,mr=X3(te)?te.isCollapsed:!!((Ut=te)!==null&&Ut!==void 0&&Ut.collapsed);return fe&&mr&&M.isCollapsed($)&&Pt.offset>0?b(Pt.path,{text:"",start:Pt.offset-1,end:Pt.offset}):y(()=>C.deleteBackward(t),{at:$})}case"deleteEntireSoftLine":return y(()=>{C.deleteBackward(t,{unit:"line"}),C.deleteForward(t,{unit:"line"})},{at:$});case"deleteHardLineBackward":return y(()=>C.deleteBackward(t,{unit:"block"}),{at:$});case"deleteSoftLineBackward":return y(()=>C.deleteBackward(t,{unit:"line"}),{at:$});case"deleteHardLineForward":return y(()=>C.deleteForward(t,{unit:"block"}),{at:$});case"deleteSoftLineForward":return y(()=>C.deleteForward(t,{unit:"line"}),{at:$});case"deleteWordBackward":return y(()=>C.deleteBackward(t,{unit:"word"}),{at:$});case"deleteWordForward":return y(()=>C.deleteForward(t,{unit:"word"}),{at:$});case"insertLineBreak":return y(()=>C.insertSoftBreak(t),{at:$});case"insertParagraph":return y(()=>C.insertBreak(t),{at:$});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(KJ(Z))return y(()=>H.insertData(t,Z),{at:$});var O=Z??"";if(un.get(t)&&(O=O.replace("\uFEFF","")),N==="insertText"&&/.*\n.*\n$/.test(O)&&(O=O.slice(0,-1)),O.includes(`
|
|
1827
|
+
`))&&c--}if(ar&&!l&&!n){var F=u.hasAttribute("data-slate-node")?u:u.closest("[data-slate-node]");if(F&&H.hasDOMNode(e,F,{editable:!0})){var B=H.toSlateNode(e,F),{path:I,offset:_}=C.start(e,H.findPath(e,B));return F.querySelector("[data-slate-leaf]")||(_=s),{path:I,offset:_}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var L=H.toSlateNode(e,l),z=H.findPath(e,L);return{path:z,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,a=X3(t)?t.anchorNode:t.startContainer,s,u,l,c,p;if(a)if(X3(t)){if(xc&&t.rangeCount>1){l=t.focusNode;var d=t.getRangeAt(0),h=t.getRangeAt(t.rangeCount-1);if(l instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&h.startContainer instanceof HTMLTableRowElement){let E=function(D){return D.childElementCount>0?E(D.children[0]):D};var g=d.startContainer,v=h.startContainer,m=E(g.children[d.startOffset]),b=E(v.children[h.startOffset]);c=0,b.childNodes.length>0?s=b.childNodes[0]:s=b,m.childNodes.length>0?l=m.childNodes[0]:l=m,b instanceof HTMLElement?u=b.innerHTML.length:u=0}else d.startContainer===l?(s=h.endContainer,u=h.endOffset,c=d.startOffset):(s=d.startContainer,u=d.endOffset,c=h.startOffset)}else s=t.anchorNode,u=t.anchorOffset,l=t.focusNode,c=t.focusOffset;zA&&MJ(s)||xc?p=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:p=t.isCollapsed}else s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,p=t.collapsed;if(s==null||l==null||u==null||c==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));if("getAttribute"in l&&l.getAttribute("contenteditable")==="false"&&l.getAttribute("data-slate-void")!=="true"){var y;l=s,c=((y=s.textContent)===null||y===void 0?void 0:y.length)||0}var x=H.toSlatePoint(e,[s,u],{exactMatch:n,suppressThrow:o});if(!x)return null;var w=p?x:H.toSlatePoint(e,[l,c],{exactMatch:n,suppressThrow:o});if(!w)return null;var S={anchor:x,focus:w};return M.isExpanded(S)&&M.isForward(S)&&Nr(l)&&C.void(e,{at:S.focus,mode:"highest"})&&(S=C.unhangRange(e,S,{voids:!0})),S}};function LJ(e,t){var{path:r,diff:n}=t;if(!C.hasPath(e,r))return!1;var o=K.get(e,r);if(!Q.isText(o))return!1;if(n.start!==o.text.length||n.text.length===0)return o.text.slice(n.start,n.start+n.text.length)===n.text;var a=T.next(r);if(!C.hasPath(e,a))return!1;var s=K.get(e,a);return Q.isText(s)&&s.text.startsWith(n.text)}function KA(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((o,a)=>o.slice(0,a.start)+a.text+o.slice(a.end),e)}function $J(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n))return n;return r}function zJ(e,t,r){for(var n=Math.min(e.length,t.length,r),o=0;o<n;o++)if(e.charAt(e.length-o-1)!==t.charAt(t.length-o-1))return o;return n}function qA(e,t){var{start:r,end:n,text:o}=t,a=e.slice(r,n),s=$J(a,o),u=Math.min(a.length-s,o.length-s),l=zJ(a,o,u),c={start:r+s,end:n-l,text:o.slice(s,o.length-l)};return c.start===c.end&&c.text.length===0?null:c}function HJ(e,t,r){var n=Math.min(t.start,r.start),o=Math.max(0,Math.min(t.start+t.text.length,r.end)-r.start),a=KA(e,t,r),s=Math.max(r.start+r.text.length,t.start+t.text.length+(t.start+t.text.length>r.start?r.text.length:0)-o),u=a.slice(n,s),l=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return qA(e,{start:n,end:l,text:u})}function GJ(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function J3(e,t){var{path:r,offset:n}=t;if(!C.hasPath(e,r))return null;var o=K.get(e,r);if(!Q.isText(o))return null;var a=C.above(e,{match:u=>q.isElement(u)&&C.isBlock(e,u),at:r});if(!a)return null;for(;n>o.text.length;){var s=C.next(e,{at:r,match:Q.isText});if(!s||!T.isDescendant(s[1],a[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function DA(e,t){var r=J3(e,t.anchor);if(!r)return null;if(M.isCollapsed(t))return{anchor:r,focus:r};var n=J3(e,t.focus);return n?{anchor:r,focus:n}:null}function Z3(e,t,r){var n=ir.get(e),o=n?.find(p=>{var{path:d}=p;return T.equals(d,t.path)});if(!o||t.offset<=o.diff.start)return ve.transform(t,r,{affinity:"backward"});var{diff:a}=o;if(t.offset<=a.start+a.text.length){var s={path:t.path,offset:a.start},u=ve.transform(s,r,{affinity:"backward"});return u?{path:u.path,offset:u.offset+t.offset-a.start}:null}var l={path:t.path,offset:t.offset-a.text.length+a.end-a.start},c=ve.transform(l,r,{affinity:"backward"});return c?r.type==="split_node"&&T.equals(r.path,t.path)&&l.offset<r.position&&a.start<r.position?c:{path:c.path,offset:c.offset+a.text.length-a.end+a.start}:null}function EA(e,t,r){var n=Z3(e,t.anchor,r);if(!n)return null;if(M.isCollapsed(t))return{anchor:n,focus:n};var o=Z3(e,t.focus,r);return o?{anchor:n,focus:o}:null}function jJ(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!T.equals(t.path,r)||t.offset>=n.end?e:t.offset<=n.start?{diff:{start:t.text.length+n.start,end:t.text.length+n.end,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end+t.text.length,text:n.text},id:o,path:r};case"remove_text":return!T.equals(t.path,r)||t.offset>=n.end?e:t.offset+t.text.length<=n.start?{diff:{start:n.start-t.text.length,end:n.end-t.text.length,text:n.text},id:o,path:r}:{diff:{start:n.start,end:n.end-t.text.length,text:n.text},id:o,path:r};case"split_node":return!T.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:T.transform(r,t,{affinity:"backward"})}:t.position>n.start?{diff:{start:n.start,end:Math.min(t.position,n.end),text:n.text},id:o,path:r}:{diff:{start:n.start-t.position,end:n.end-t.position,text:n.text},id:o,path:T.transform(r,t,{affinity:"forward"})};case"merge_node":return T.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:T.transform(r,t)}:{diff:n,id:o,path:T.transform(r,t)}}var a=T.transform(r,t);return a?{diff:n,path:a,id:o}:null}function PA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Q1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?PA(Object(r),!0).forEach(function(n){im(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var _J=25,WJ=200,UJ=function(){},KJ=e=>e?.constructor.name==="DataTransfer";function qJ(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,a=null,s=null,u=null,l=0,c=!1,p=()=>{var L=yi.get(t);if(yi.delete(t),L){var{selection:z}=t,N=DA(t,L);N&&(!z||!M.equals(N,z))&&V.select(t,N)}},d=()=>{var L=vi.get(t);if(vi.delete(t),!!L){if(L.at){var z=ve.isPoint(L.at)?J3(t,L.at):DA(t,L.at);if(!z)return;var N=C.range(t,z);(!t.selection||!M.equals(t.selection,N))&&V.select(t,z)}L.run()}},h=()=>{if(s&&(clearTimeout(s),s=null),u&&(clearTimeout(u),u=null),!S()&&!w()){p();return}o||(o=!0,setTimeout(()=>o=!1)),w()&&(o="action");var L=t.selection&&C.rangeRef(t,t.selection,{affinity:"forward"});go.set(t,t.marks),UJ("flush",vi.get(t),ir.get(t));for(var z=S(),N;N=($=ir.get(t))===null||$===void 0?void 0:$[0];){var $,Z,te=un.get(t);te!==void 0&&(un.delete(t),t.marks=te),te&&c===!1&&(c=null);var oe=GJ(N);(!t.selection||!M.equals(t.selection,oe))&&V.select(t,oe),N.diff.text?C.insertText(t,N.diff.text):C.deleteFragment(t),ir.set(t,(Z=ir.get(t))===null||Z===void 0?void 0:Z.filter(ye=>{var{id:he}=ye;return he!==N.id})),LJ(t,N)||(z=!1,vi.delete(t),go.delete(t),o="action",yi.delete(t),r.cancel(),n.cancel(),L?.unref())}var j=L?.unref();if(j&&!yi.get(t)&&(!t.selection||!M.equals(j,t.selection))&&V.select(t,j),w()){d();return}z&&r(),r.flush(),n.flush(),p();var fe=go.get(t);go.delete(t),fe!==void 0&&(t.marks=fe,t.onChange())},g=L=>{a&&clearTimeout(a),a=setTimeout(()=>{ya.set(t,!1),h()},_J)},v=L=>{ya.set(t,!0),a&&(clearTimeout(a),a=null)},m=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,N=U3.get(t);if(N){if(S()||z){N.style.display="none";return}N.style.removeProperty("display")}},b=(L,z)=>{var N,$=(N=ir.get(t))!==null&&N!==void 0?N:[];ir.set(t,$);var Z=K.leaf(t,L),te=$.findIndex(fe=>T.equals(fe.path,L));if(te<0){var oe=qA(Z.text,z);oe&&$.push({path:L,diff:z,id:l++}),m();return}var j=HJ(Z.text,$[te].diff,z);if(!j){$.splice(te,1),m();return}$[te]=Q1(Q1({},$[te]),{},{diff:j})},y=function(z){var{at:N}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,yi.delete(t),r.cancel(),n.cancel(),w()&&h(),vi.set(t,{at:N,run:z}),u=setTimeout(h)},x=L=>{var z;s&&(clearTimeout(s),s=null);var{inputType:N}=L,$=null,Z=L.dataTransfer||L.data||void 0;c!==!1&&N!=="insertText"&&N!=="insertCompositionText"&&(c=!1);var[te]=L.getTargetRanges();te&&($=H.toSlateRange(t,te,{exactMatch:!1,suppressThrow:!0}));var oe=H.getWindow(t),j=oe.getSelection();if(!$&&j&&(te=j,$=H.toSlateRange(t,j,{exactMatch:!1,suppressThrow:!0})),$=(z=$)!==null&&z!==void 0?z:t.selection,!!$){var fe=!0;if(N.startsWith("delete")){if(M.isExpanded($)){var[ye,he]=M.edges($),We=K.leaf(t,ye.path);if(We.text.length===ye.offset&&he.offset===0){var R=C.next(t,{at:ye.path,match:Q.isText});R&&T.equals(R[1],he.path)&&($={anchor:he,focus:he})}}var U=N.endsWith("Backward")?"backward":"forward",[G,W]=M.edges($),[ce,ae]=C.leaf(t,G.path),ge={text:"",start:G.offset,end:W.offset},xe=ir.get(t),Ee=xe?.find(Ae=>T.equals(Ae.path,ae)),Te=Ee?[Ee.diff,ge]:[ge],we=KA(ce.text,...Te);if(we.length===0&&(fe=!1),M.isExpanded($)){if(fe&&T.equals($.anchor.path,$.focus.path)){var vt={path:$.anchor.path,offset:G.offset},yt=C.range(t,vt,vt);return P(yt),b($.anchor.path,{text:"",end:W.offset,start:G.offset})}return y(()=>C.deleteFragment(t,{direction:U}),{at:$})}}switch(N){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return y(()=>C.deleteFragment(t),{at:$});case"deleteContent":case"deleteContentForward":{var{anchor:Ue}=$;if(fe&&M.isCollapsed($)){var dr=K.leaf(t,Ue.path);if(Ue.offset<dr.text.length)return b(Ue.path,{text:"",start:Ue.offset,end:Ue.offset+1})}return y(()=>C.deleteForward(t),{at:$})}case"deleteContentBackward":{var Ut,{anchor:Pt}=$,mr=X3(te)?te.isCollapsed:!!((Ut=te)!==null&&Ut!==void 0&&Ut.collapsed);return fe&&mr&&M.isCollapsed($)&&Pt.offset>0?b(Pt.path,{text:"",start:Pt.offset-1,end:Pt.offset}):y(()=>C.deleteBackward(t),{at:$})}case"deleteEntireSoftLine":return y(()=>{C.deleteBackward(t,{unit:"line"}),C.deleteForward(t,{unit:"line"})},{at:$});case"deleteHardLineBackward":return y(()=>C.deleteBackward(t,{unit:"block"}),{at:$});case"deleteSoftLineBackward":return y(()=>C.deleteBackward(t,{unit:"line"}),{at:$});case"deleteHardLineForward":return y(()=>C.deleteForward(t,{unit:"block"}),{at:$});case"deleteSoftLineForward":return y(()=>C.deleteForward(t,{unit:"line"}),{at:$});case"deleteWordBackward":return y(()=>C.deleteBackward(t,{unit:"word"}),{at:$});case"deleteWordForward":return y(()=>C.deleteForward(t,{unit:"word"}),{at:$});case"insertLineBreak":return y(()=>C.insertSoftBreak(t),{at:$});case"insertParagraph":return y(()=>C.insertBreak(t),{at:$});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(KJ(Z))return y(()=>H.insertData(t,Z),{at:$});var O=Z??"";if(un.get(t)&&(O=O.replace("\uFEFF","")),N==="insertText"&&/.*\n.*\n$/.test(O)&&(O=O.slice(0,-1)),O.includes(`
|
|
1828
1828
|
`))return y(()=>{var Ae=O.split(`
|
|
1829
|
-
`);Ae.forEach((bt,Ao)=>{bt&&C.insertText(t,bt),Ao!==Ae.length-1&&C.insertSoftBreak(t)})},{at:$});if(T.equals($.anchor.path,$.focus.path)){var[Y,re]=M.edges($),X={start:Y.offset,end:re.offset,text:O};if(O&&c&&N==="insertCompositionText"){var le=c.start+c.text.search(/\S|$/),Se=X.start+X.text.search(/\S|$/);Se===le+1&&X.end===c.start+c.text.length?(X.start-=1,c=null,I()):c=!1}else N==="insertText"?c===null?c=X:c&&M.isCollapsed($)&&c.end+c.text.length===Y.offset?c=Q1(Q1({},c),{},{text:c.text+O}):c=!1:c=!1;if(fe){b(Y.path,X);return}}return y(()=>C.insertText(t,O),{at:$})}}}},w=()=>!!vi.get(t),S=()=>{var L;return!!((L=ir.get(t))!==null&&L!==void 0&&L.length)},E=()=>w()||S(),D=()=>o,P=L=>{yi.set(t,L),s&&(clearTimeout(s),s=null);var{selection:z}=t;if(L){var N=!z||!T.equals(z.anchor.path,L.anchor.path),$=!z||!T.equals(z.anchor.path.slice(0,-1),L.anchor.path.slice(0,-1));(N&&c||$)&&(c=!1),(N||S())&&(s=setTimeout(h,WJ))}},F=()=>{(w()||!S())&&h()},B=L=>{S()||(m(!0),setTimeout(m))},I=()=>{w()||(u=setTimeout(h))},_=L=>{if(!(S()||w())&&L.some(N=>iv(t,N,L))){var z;(z=
|
|
1830
|
-
`?k.default.createElement(
|
|
1831
|
-
`:""),[a]=(0,k.useState)(o);return Dc(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),k.default.createElement(sZ,{ref:n},a)},sZ=(0,k.memo)((0,k.forwardRef)((e,t)=>k.default.createElement("span",{"data-slate-string":!0,ref:t},e.children))),W3=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:n=!1}=e,o={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return n&&(o["data-slate-mark-placeholder"]=!0),k.default.createElement("span",Object.assign({},o),!ar||!r?"\uFEFF":null,r?k.default.createElement("br",null):null)};function uZ(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function FA(e){e.current&&(clearTimeout(e.current),e.current=null)}var lZ=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:a,renderLeaf:s=x=>k.default.createElement(fZ,Object.assign({},x))}=e,u=Ci(),l=(0,k.useRef)(null),c=(0,k.useRef)(null),[p,d]=(0,k.useState)(!1),h=(0,k.useRef)(null),g=(0,k.useCallback)(x=>{if(uZ(l,x==null),x==null){var w;U3.delete(u),(w=t.onPlaceholderResize)===null||w===void 0||w.call(t,null)}else{if(U3.set(u,x),!l.current){var S=window.ResizeObserver||G3;l.current=new S(()=>{var E;(E=t.onPlaceholderResize)===null||E===void 0||E.call(t,x)})}l.current.observe(x),c.current=x}},[c,t,u]),v=k.default.createElement(aZ,{isLast:r,leaf:t,parent:o,text:n}),m=t[hu];if((0,k.useEffect)(()=>(m?h.current||(h.current=setTimeout(()=>{d(!0),h.current=null},300)):(FA(h),d(!1)),()=>FA(h)),[m,d]),m&&p){var b={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:Cc?"inherit":void 0},contentEditable:!1,ref:g}};v=k.default.createElement(k.default.Fragment,null,a(b),v)}var y={"data-slate-leaf":!0};return s({attributes:y,children:v,leaf:t,text:n})},cZ=k.default.memo(lZ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&Q.equals(t.leaf,e.leaf)&&t.leaf[hu]===e.leaf[hu]),fZ=e=>{var{attributes:t,children:r}=e;return k.default.createElement("span",Object.assign({},t),r)},pZ=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:a,text:s}=e,u=Ci(),l=(0,k.useRef)(null),c=Q.decorations(s,t),p=H.findKey(u,s),d=[],h=0;h<c.length;h++){var g=c[h];d.push(k.default.createElement(cZ,{isLast:r&&h===c.length-1,key:"".concat(p.id,"-").concat(h),renderPlaceholder:o,leaf:g,text:s,parent:n,renderLeaf:a}))}var v=(0,k.useCallback)(m=>{var b=am.get(u);m?(b?.set(p,m),ba.set(s,m),Sc.set(m,s)):(b?.delete(p),ba.delete(s),l.current&&Sc.delete(l.current)),l.current=m},[l,u,p,s]);return k.default.createElement("span",{"data-slate-node":"text",ref:v},d)},JA=k.default.memo(pZ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&iZ(t.decorations,e.decorations)),dZ=e=>{var{decorations:t,element:r,renderElement:n=x=>k.default.createElement(hZ,Object.assign({},x)),renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=Ci(),l=vZ(),c=u.isInline(r),p=H.findKey(u,r),d=(0,k.useCallback)(x=>{var w=am.get(u);x?(w?.set(p,x),ba.set(r,x),Sc.set(x,r)):(w?.delete(p),ba.delete(r))},[u,p,r]),h=tR({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}),g={"data-slate-node":"element",ref:d};if(c&&(g["data-slate-inline"]=!0),!c&&C.hasInlines(u,r)){var v=K.string(r),m=(0,Q3.default)(v);m==="rtl"&&(g.dir=m)}if(C.isVoid(u,r)){g["data-slate-void"]=!0,!l&&c&&(g.contentEditable=!1);var b=c?"span":"div",[[y]]=K.texts(r);h=k.default.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},k.default.createElement(JA,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:y})),tv.set(y,0),rv.set(y,r)}return n({attributes:g,children:h,element:r})},mZ=k.default.memo(dZ,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&oZ(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&M.equals(e.selection,t.selection))),hZ=e=>{var{attributes:t,children:r,element:n}=e,o=Ci(),a=o.isInline(n)?"span":"div";return k.default.createElement(a,Object.assign({},t,{style:{position:"relative"}}),r)},ZA=(0,k.createContext)(()=>[]),gZ=()=>(0,k.useContext)(ZA),QA=(0,k.createContext)(!1),eR=()=>(0,k.useContext)(QA),tR=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=gZ(),l=Ci(),c=H.findPath(l,r),p=[],d=q.isElement(r)&&!l.isInline(r)&&C.hasInlines(l,r),h=0;h<r.children.length;h++){var g=c.concat(h),v=r.children[h],m=H.findKey(l,v),b=C.range(l,g),y=s&&M.intersection(b,s),x=u([v,g]);for(var w of t){var S=M.intersection(w,b);S&&x.push(S)}q.isElement(v)?p.push(k.default.createElement(QA.Provider,{key:"provider-".concat(m.id),value:!!y},k.default.createElement(mZ,{decorations:x,element:v,key:m.id,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:y}))):p.push(k.default.createElement(JA,{decorations:x,key:m.id,isLast:d&&h===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:a,text:v})),tv.set(v,h),rv.set(v,r)}return p},rR=(0,k.createContext)(!1),vZ=()=>(0,k.useContext)(rR),nR=(0,k.createContext)(null),sm=()=>{var e=(0,k.useContext)(nR);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function yZ(){var e=Ci(),t=(0,k.useRef)(!1),r=(0,k.useRef)(0),n=(0,k.useCallback)(()=>{if(!t.current){t.current=!0;var o=H.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return(0,k.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var bZ=3,CZ={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},xZ={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},wZ={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},_e=e=>{var t=CZ[e],r=xZ[e],n=wZ[e],o=t&&(0,em.isHotkey)(t),a=r&&(0,em.isHotkey)(r),s=n&&(0,em.isHotkey)(n);return u=>!!(o&&o(u)||DA&&a&&a(u)||!DA&&s&&s(u))},qe={isBold:_e("bold"),isCompose:_e("compose"),isMoveBackward:_e("moveBackward"),isMoveForward:_e("moveForward"),isDeleteBackward:_e("deleteBackward"),isDeleteForward:_e("deleteForward"),isDeleteLineBackward:_e("deleteLineBackward"),isDeleteLineForward:_e("deleteLineForward"),isDeleteWordBackward:_e("deleteWordBackward"),isDeleteWordForward:_e("deleteWordForward"),isExtendBackward:_e("extendBackward"),isExtendForward:_e("extendForward"),isExtendLineBackward:_e("extendLineBackward"),isExtendLineForward:_e("extendLineForward"),isItalic:_e("italic"),isMoveLineBackward:_e("moveLineBackward"),isMoveLineForward:_e("moveLineForward"),isMoveWordBackward:_e("moveWordBackward"),isMoveWordForward:_e("moveWordForward"),isRedo:_e("redo"),isSoftBreak:_e("insertSoftBreak"),isSplitBlock:_e("splitBlock"),isTransposeCharacter:_e("transposeCharacter"),isUndo:_e("undo")},SZ=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var u=s.filter(l=>iv(e,l,s));r.push(...u)}};function a(){r.length>0&&(r.reverse().forEach(s=>{s.type!=="characterData"&&(s.removedNodes.forEach(u=>{s.target.insertBefore(u,s.nextSibling)}),s.addedNodes.forEach(u=>{s.target.removeChild(u)}))}),n())}return{registerMutations:o,restoreDOM:a,clear:n}},DZ={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},om=class extends k.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var t,{node:r}=this.props;if(!r.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");(t=this.mutationObserver)===null||t===void 0||t.observe(r.current,DZ)}componentDidMount(){var{receivedUserInput:t}=this.props,r=this.context;this.manager=SZ(r,t),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var t,r,n,o=(t=this.mutationObserver)===null||t===void 0?void 0:t.takeRecords();if(o!=null&&o.length){var a;(a=this.manager)===null||a===void 0||a.registerMutations(o)}return(r=this.mutationObserver)===null||r===void 0||r.disconnect(),(n=this.manager)===null||n===void 0||n.restoreDOM(),null}componentDidUpdate(){var t;(t=this.manager)===null||t===void 0||t.clear(),this.observe()}componentWillUnmount(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect()}render(){return this.props.children}};om.contextType=ev;var EZ=ar?om:e=>{var{children:t}=e;return k.default.createElement(k.default.Fragment,null,t)},PZ=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],TZ=["text"];function BA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function pu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?BA(Object(r),!0).forEach(function(n){im(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):BA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var AZ=e=>k.default.createElement(k.default.Fragment,null,tR(e)),oR=e=>{var t=(0,k.useCallback)(R=>k.default.createElement(RZ,Object.assign({},R)),[]),{autoFocus:r,decorate:n=FZ,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:u,renderLeaf:l,renderPlaceholder:c=t,scrollSelectionIntoView:p=BZ,style:d={},as:h="div",disableDefaultStyles:g=!1}=e,v=mu(e,PZ),m=sm(),[b,y]=(0,k.useState)(!1),x=(0,k.useRef)(null),w=(0,k.useRef)([]),[S,E]=(0,k.useState)(),{onUserInput:D,receivedUserInput:P}=yZ(),[,F]=(0,k.useReducer)(R=>R+1,0);jA.set(m,F),K3.set(m,s);var B=(0,k.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,k.useEffect)(()=>{x.current&&r&&x.current.focus()},[r]);var I=(0,k.useRef)(),_=(0,k.useMemo)(()=>(0,LA.default)(()=>{var R=I.current;if((ar||!H.isComposing(m))&&(!B.isUpdatingSelection||R!=null&&R.isFlushing())&&!B.isDraggingInternally){var U=H.findDocumentOrShadowRoot(m),{activeElement:G}=U,W=H.toDOMNode(m,m),ce=U.getSelection();if(G===W?(B.latestElement=G,va.set(m,!0)):va.delete(m),!ce)return V.deselect(m);var{anchorNode:ae,focusNode:ge}=ce,xe=H.hasEditableTarget(m,ae)||H.isTargetInsideNonReadonlyVoid(m,ae),Ee=H.hasEditableTarget(m,ge)||H.isTargetInsideNonReadonlyVoid(m,ge);if(xe&&Ee){var Te=H.toSlateRange(m,ce,{exactMatch:!1,suppressThrow:!0});Te&&(!H.isComposing(m)&&!(R!=null&&R.hasPendingChanges())&&!(R!=null&&R.isFlushing())?V.select(m,Te):R?.handleUserSelect(Te))}s&&(!xe||!Ee)&&V.deselect(m)}},100),[m,s,B]),L=(0,k.useMemo)(()=>(0,VA.default)(_,0),[_]);I.current=eZ({node:x,onDOMSelectionChange:_,scheduleOnDOMSelectionChange:L}),Dc(()=>{var R,U,G;x.current&&(G=ov(x.current))?(GA.set(m,G),rm.set(m,x.current),ba.set(m,x.current),Sc.set(x.current,m)):ba.delete(m);var{selection:W}=m,ce=H.findDocumentOrShadowRoot(m),ae=ce.getSelection();if(!(!ae||!H.isFocused(m)||(R=I.current)!==null&&R!==void 0&&R.hasPendingAction())){var ge=we=>{var vt=ae.type!=="None";if(!(!W&&!vt)){var yt=ae.focusNode,Ue;if(xc&&ae.rangeCount>1){var dr=ae.getRangeAt(0),Ut=ae.getRangeAt(ae.rangeCount-1);dr.startContainer===yt?Ue=Ut.endContainer:Ue=dr.startContainer}else Ue=ae.anchorNode;var Pt=rm.get(m),mr=!1;if(Pt.contains(Ue)&&Pt.contains(yt)&&(mr=!0),vt&&mr&&W&&!we){var O=H.toSlateRange(m,ae,{exactMatch:!0,suppressThrow:!0});if(O&&M.equals(O,W)){var Y,re;if(!B.hasMarkPlaceholder||(Y=Ue)!==null&&Y!==void 0&&(re=Y.parentElement)!==null&&re!==void 0&&re.hasAttribute("data-slate-mark-placeholder"))return}}if(W&&!H.hasRange(m,W)){m.selection=H.toSlateRange(m,ae,{exactMatch:!1,suppressThrow:!0});return}B.isUpdatingSelection=!0;var X=W&&H.toDOMRange(m,W);return X?(H.isComposing(m)&&!ar?ae.collapseToEnd():M.isBackward(W)?ae.setBaseAndExtent(X.endContainer,X.endOffset,X.startContainer,X.startOffset):ae.setBaseAndExtent(X.startContainer,X.startOffset,X.endContainer,X.endOffset),p(m,X)):ae.removeAllRanges(),X}};ae.rangeCount<=1&&ge();var xe=((U=I.current)===null||U===void 0?void 0:U.isFlushing())==="action";if(!ar||!xe){setTimeout(()=>{B.isUpdatingSelection=!1});return}var Ee=null,Te=requestAnimationFrame(()=>{if(xe){var we=vt=>{try{var yt=H.toDOMNode(m,m);yt.focus(),ge(vt)}catch{}};we(),Ee=setTimeout(()=>{we(!0),B.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Te),Ee&&clearTimeout(Ee)}}});var z=(0,k.useCallback)(R=>{if(D(),!s&&H.hasEditableTarget(m,R.target)&&!OZ(R,o)){var U;if(I.current)return I.current.handleDOMBeforeInput(R);L.flush(),_.flush();var{selection:G}=m,{inputType:W}=R,ce=R.dataTransfer||R.data||void 0,ae=W==="insertCompositionText"||W==="deleteCompositionText";if(ae&&H.isComposing(m))return;var ge=!1;if(W==="insertText"&&G&&M.isCollapsed(G)&&R.data&&R.data.length===1&&/[a-z ]/i.test(R.data)&&G.anchor.offset!==0){var xe,Ee;ge=!0,m.marks&&(ge=!1);var{anchor:Te}=G,[we,vt]=H.toDOMPoint(m,Te),yt=(xe=we.parentElement)===null||xe===void 0?void 0:xe.closest("a"),Ue=H.getWindow(m);if(ge&&yt&&H.hasDOMNode(m,yt)){var dr,Ut=Ue?.document.createTreeWalker(yt,NodeFilter.SHOW_TEXT).lastChild();Ut===we&&((dr=Ut.textContent)===null||dr===void 0?void 0:dr.length)===vt&&(ge=!1)}if(ge&&we.parentElement&&(Ue==null||(Ee=Ue.getComputedStyle(we.parentElement))===null||Ee===void 0?void 0:Ee.whiteSpace)==="pre"){var Pt=C.above(m,{at:Te.path,match:le=>q.isElement(le)&&C.isBlock(m,le)});Pt&&K.string(Pt[0]).includes(" ")&&(ge=!1)}}if(!W.startsWith("delete")||W.startsWith("deleteBy")){var[mr]=R.getTargetRanges();if(mr){var O=H.toSlateRange(m,mr,{exactMatch:!1,suppressThrow:!1});if(!G||!M.equals(G,O)){ge=!1;var Y=!ae&&m.selection&&C.rangeRef(m,m.selection);V.select(m,O),Y&&wc.set(m,Y)}}}if(ae)return;if(ge||R.preventDefault(),G&&M.isExpanded(G)&&W.startsWith("delete")){var re=W.endsWith("Backward")?"backward":"forward";C.deleteFragment(m,{direction:re});return}switch(W){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{C.deleteFragment(m);break}case"deleteContent":case"deleteContentForward":{C.deleteForward(m);break}case"deleteContentBackward":{C.deleteBackward(m);break}case"deleteEntireSoftLine":{C.deleteBackward(m,{unit:"line"}),C.deleteForward(m,{unit:"line"});break}case"deleteHardLineBackward":{C.deleteBackward(m,{unit:"block"});break}case"deleteSoftLineBackward":{C.deleteBackward(m,{unit:"line"});break}case"deleteHardLineForward":{C.deleteForward(m,{unit:"block"});break}case"deleteSoftLineForward":{C.deleteForward(m,{unit:"line"});break}case"deleteWordBackward":{C.deleteBackward(m,{unit:"word"});break}case"deleteWordForward":{C.deleteForward(m,{unit:"word"});break}case"insertLineBreak":C.insertSoftBreak(m);break;case"insertParagraph":{C.insertBreak(m);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{W==="insertFromComposition"&&H.isComposing(m)&&(y(!1),ya.set(m,!1)),ce?.constructor.name==="DataTransfer"?H.insertData(m,ce):typeof ce=="string"&&(ge?w.current.push(()=>C.insertText(m,ce)):C.insertText(m,ce));break}}var X=(U=wc.get(m))===null||U===void 0?void 0:U.unref();wc.delete(m),X&&(!m.selection||!M.equals(m.selection,X))&&V.select(m,X)}},[m,_,D,o,s,L]),N=(0,k.useCallback)(R=>{R==null?(_.cancel(),L.cancel(),rm.delete(m),ba.delete(m),x.current&&gi&&x.current.removeEventListener("beforeinput",z)):gi&&R.addEventListener("beforeinput",z),x.current=R},[_,L,m,z]);Dc(()=>{var R=H.getWindow(m);return R.document.addEventListener("selectionchange",L),()=>{R.document.removeEventListener("selectionchange",L)}},[L]);var $=n([m,[]]),Z=a&&m.children.length===1&&Array.from(K.texts(m)).length===1&&K.string(m)===""&&!b,te=(0,k.useCallback)(R=>{if(R&&Z){var U;E((U=R.getBoundingClientRect())===null||U===void 0?void 0:U.height)}else E(void 0)},[Z]);if(Z){var oe=C.start(m,[]);$.push({[hu]:!0,placeholder:a,onPlaceholderResize:te,anchor:oe,focus:oe})}var{marks:j}=m;if(B.hasMarkPlaceholder=!1,m.selection&&M.isCollapsed(m.selection)&&j){var{anchor:fe}=m.selection,ye=K.leaf(m,fe.path),he=mu(ye,TZ);if(!Q.equals(ye,j,{loose:!0})){B.hasMarkPlaceholder=!0;var We=Object.fromEntries(Object.keys(he).map(R=>[R,null]));$.push(pu(pu(pu({[_A]:!0},We),j),{},{anchor:fe,focus:fe}))}}return(0,k.useEffect)(()=>{setTimeout(()=>{var{selection:R}=m;if(R){var{anchor:U}=R,G=K.leaf(m,U.path);if(j&&!Q.equals(G,j,{loose:!0})){un.set(m,j);return}}un.delete(m)})}),k.default.createElement(rR.Provider,{value:s},k.default.createElement(ZA.Provider,{value:n},k.default.createElement(EZ,{node:x,receivedUserInput:P},k.default.createElement(h,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:gi||!tm?v.spellCheck:!1,autoCorrect:gi||!tm?v.autoCorrect:"false",autoCapitalize:gi||!tm?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:N,style:pu(pu({},g?{}:pu({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},S?{minHeight:S}:{})),d),onBeforeInput:(0,k.useCallback)(R=>{if(!gi&&!s&&!Ht(R,v.onBeforeInput)&&H.hasSelectableTarget(m,R.target)&&(R.preventDefault(),!H.isComposing(m))){var U=R.data;C.insertText(m,U)}},[v.onBeforeInput,m,s]),onInput:(0,k.useCallback)(R=>{if(!Ht(R,v.onInput)){if(I.current){I.current.handleInput();return}for(var U of w.current)U();w.current=[]}},[v.onInput]),onBlur:(0,k.useCallback)(R=>{if(!(s||B.isUpdatingSelection||!H.hasSelectableTarget(m,R.target)||Ht(R,v.onBlur))){var U=H.findDocumentOrShadowRoot(m);if(B.latestElement!==U.activeElement){var{relatedTarget:G}=R,W=H.toDOMNode(m,m);if(G!==W&&!(Nr(G)&&G.hasAttribute("data-slate-spacer"))){if(G!=null&&bi(G)&&H.hasDOMNode(m,G)){var ce=H.toSlateNode(m,G);if(q.isElement(ce)&&!m.isVoid(ce))return}if(Cc){var ae=U.getSelection();ae?.removeAllRanges()}va.delete(m)}}}},[s,B.isUpdatingSelection,B.latestElement,m,v.onBlur]),onClick:(0,k.useCallback)(R=>{if(H.hasTarget(m,R.target)&&!Ht(R,v.onClick)&&bi(R.target)){var U=H.toSlateNode(m,R.target),G=H.findPath(m,U);if(!C.hasPath(m,G)||K.get(m,G)!==U)return;if(R.detail===bZ&&G.length>=1){var W=G;if(!(q.isElement(U)&&C.isBlock(m,U))){var ce,ae=C.above(m,{match:yt=>q.isElement(yt)&&C.isBlock(m,yt),at:G});W=(ce=ae?.[1])!==null&&ce!==void 0?ce:G.slice(0,1)}var ge=C.range(m,W);V.select(m,ge);return}if(s)return;var xe=C.start(m,G),Ee=C.end(m,G),Te=C.void(m,{at:xe}),we=C.void(m,{at:Ee});if(Te&&we&&T.equals(Te[1],we[1])){var vt=C.range(m,xe);V.select(m,vt)}}},[m,v.onClick,s]),onCompositionEnd:(0,k.useCallback)(R=>{if(H.hasSelectableTarget(m,R.target)){var U;if(H.isComposing(m)&&(y(!1),ya.set(m,!1)),(U=I.current)===null||U===void 0||U.handleCompositionEnd(R),Ht(R,v.onCompositionEnd)||ar)return;if(!Cc&&!PJ&&!wJ&&!AJ&&!TJ&&R.data){var G=un.get(m);un.delete(m),G!==void 0&&(go.set(m,m.marks),m.marks=G),C.insertText(m,R.data);var W=go.get(m);go.delete(m),W!==void 0&&(m.marks=W)}}},[v.onCompositionEnd,m]),onCompositionUpdate:(0,k.useCallback)(R=>{H.hasSelectableTarget(m,R.target)&&!Ht(R,v.onCompositionUpdate)&&(H.isComposing(m)||(y(!0),ya.set(m,!0)))},[v.onCompositionUpdate,m]),onCompositionStart:(0,k.useCallback)(R=>{if(H.hasSelectableTarget(m,R.target)){var U;if((U=I.current)===null||U===void 0||U.handleCompositionStart(R),Ht(R,v.onCompositionStart)||ar)return;y(!0);var{selection:G}=m;if(G){if(M.isExpanded(G)){C.deleteFragment(m);return}var W=C.above(m,{match:ge=>q.isElement(ge)&&C.isInline(m,ge),mode:"highest"});if(W){var[,ce]=W;if(C.isEnd(m,G.anchor,ce)){var ae=C.after(m,ce);V.setSelection(m,{anchor:ae,focus:ae})}}}}},[v.onCompositionStart,m]),onCopy:(0,k.useCallback)(R=>{H.hasSelectableTarget(m,R.target)&&!Ht(R,v.onCopy)&&!OA(R)&&(R.preventDefault(),H.setFragmentData(m,R.clipboardData,"copy"))},[v.onCopy,m]),onCut:(0,k.useCallback)(R=>{if(!s&&H.hasSelectableTarget(m,R.target)&&!Ht(R,v.onCut)&&!OA(R)){R.preventDefault(),H.setFragmentData(m,R.clipboardData,"cut");var{selection:U}=m;if(U)if(M.isExpanded(U))C.deleteFragment(m);else{var G=K.parent(m,U.anchor.path);C.isVoid(m,G)&&V.delete(m)}}},[s,m,v.onCut]),onDragOver:(0,k.useCallback)(R=>{if(H.hasTarget(m,R.target)&&!Ht(R,v.onDragOver)){var U=H.toSlateNode(m,R.target);q.isElement(U)&&C.isVoid(m,U)&&R.preventDefault()}},[v.onDragOver,m]),onDragStart:(0,k.useCallback)(R=>{if(!s&&H.hasTarget(m,R.target)&&!Ht(R,v.onDragStart)){var U=H.toSlateNode(m,R.target),G=H.findPath(m,U),W=q.isElement(U)&&C.isVoid(m,U)||C.void(m,{at:G,voids:!0});if(W){var ce=C.range(m,G);V.select(m,ce)}B.isDraggingInternally=!0,H.setFragmentData(m,R.dataTransfer,"drag")}},[s,m,v.onDragStart,B]),onDrop:(0,k.useCallback)(R=>{if(!s&&H.hasTarget(m,R.target)&&!Ht(R,v.onDrop)){R.preventDefault();var U=m.selection,G=H.findEventRange(m,R),W=R.dataTransfer;V.select(m,G),B.isDraggingInternally&&U&&!M.equals(U,G)&&!C.void(m,{at:G,voids:!0})&&V.delete(m,{at:U}),H.insertData(m,W),H.isFocused(m)||H.focus(m)}B.isDraggingInternally=!1},[s,m,v.onDrop,B]),onDragEnd:(0,k.useCallback)(R=>{!s&&B.isDraggingInternally&&v.onDragEnd&&H.hasTarget(m,R.target)&&v.onDragEnd(R),B.isDraggingInternally=!1},[s,B,v,m]),onFocus:(0,k.useCallback)(R=>{if(!s&&!B.isUpdatingSelection&&H.hasEditableTarget(m,R.target)&&!Ht(R,v.onFocus)){var U=H.toDOMNode(m,m),G=H.findDocumentOrShadowRoot(m);if(B.latestElement=G.activeElement,xc&&R.target!==U){U.focus();return}va.set(m,!0)}},[s,B,m,v.onFocus]),onKeyDown:(0,k.useCallback)(R=>{if(!s&&H.hasEditableTarget(m,R.target)){var U;(U=I.current)===null||U===void 0||U.handleKeyDown(R);var{nativeEvent:G}=R;if(H.isComposing(m)&&G.isComposing===!1&&(ya.set(m,!1),y(!1)),Ht(R,v.onKeyDown)||H.isComposing(m))return;var{selection:W}=m,ce=m.children[W!==null?W.focus.path[0]:0],ae=(0,Q3.default)(K.string(ce))==="rtl";if(qe.isRedo(G)){R.preventDefault();var ge=m;typeof ge.redo=="function"&&ge.redo();return}if(qe.isUndo(G)){R.preventDefault();var xe=m;typeof xe.undo=="function"&&xe.undo();return}if(qe.isMoveLineBackward(G)){R.preventDefault(),V.move(m,{unit:"line",reverse:!0});return}if(qe.isMoveLineForward(G)){R.preventDefault(),V.move(m,{unit:"line"});return}if(qe.isExtendLineBackward(G)){R.preventDefault(),V.move(m,{unit:"line",edge:"focus",reverse:!0});return}if(qe.isExtendLineForward(G)){R.preventDefault(),V.move(m,{unit:"line",edge:"focus"});return}if(qe.isMoveBackward(G)){R.preventDefault(),W&&M.isCollapsed(W)?V.move(m,{reverse:!ae}):V.collapse(m,{edge:"start"});return}if(qe.isMoveForward(G)){R.preventDefault(),W&&M.isCollapsed(W)?V.move(m,{reverse:ae}):V.collapse(m,{edge:"end"});return}if(qe.isMoveWordBackward(G)){R.preventDefault(),W&&M.isExpanded(W)&&V.collapse(m,{edge:"focus"}),V.move(m,{unit:"word",reverse:!ae});return}if(qe.isMoveWordForward(G)){R.preventDefault(),W&&M.isExpanded(W)&&V.collapse(m,{edge:"focus"}),V.move(m,{unit:"word",reverse:ae});return}if(gi){if((HA||Cc)&&W&&(qe.isDeleteBackward(G)||qe.isDeleteForward(G))&&M.isCollapsed(W)){var Ee=K.parent(m,W.anchor.path);if(q.isElement(Ee)&&C.isVoid(m,Ee)&&(C.isInline(m,Ee)||C.isBlock(m,Ee))){R.preventDefault(),C.deleteBackward(m,{unit:"block"});return}}}else{if(qe.isBold(G)||qe.isItalic(G)||qe.isTransposeCharacter(G)){R.preventDefault();return}if(qe.isSoftBreak(G)){R.preventDefault(),C.insertSoftBreak(m);return}if(qe.isSplitBlock(G)){R.preventDefault(),C.insertBreak(m);return}if(qe.isDeleteBackward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m);return}if(qe.isDeleteForward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m);return}if(qe.isDeleteLineBackward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"line"});return}if(qe.isDeleteLineForward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"line"});return}if(qe.isDeleteWordBackward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"word"});return}if(qe.isDeleteWordForward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"word"});return}}}},[s,m,v.onKeyDown]),onPaste:(0,k.useCallback)(R=>{!s&&H.hasEditableTarget(m,R.target)&&!Ht(R,v.onPaste)&&(!gi||BJ(R.nativeEvent)||Cc)&&(R.preventDefault(),H.insertData(m,R.clipboardData))},[s,m,v.onPaste])}),k.default.createElement(AZ,{decorations:$,node:m,renderElement:u,renderPlaceholder:c,renderLeaf:l,selection:m.selection})))))},RZ=e=>{var{attributes:t,children:r}=e;return k.default.createElement("span",Object.assign({},t),r,ar&&k.default.createElement("br",null))},FZ=()=>[],BZ=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&M.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),cT(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},Ht=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},OA=e=>bi(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),OZ=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},iR=(0,k.createContext)(!1),aR=()=>(0,k.useContext)(iR);var MZ=(0,k.createContext)({});function IZ(e){var t=(0,k.useRef)([]).current,r=(0,k.useRef)({editor:e}).current,n=(0,k.useCallback)(a=>{r.editor=a,t.forEach(s=>s(a))},[t,r]),o=(0,k.useMemo)(()=>({getSlate:()=>r.editor,addEventListener:a=>(t.push(a),()=>{t.splice(t.indexOf(a),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var kZ=["editor","children","onChange","initialValue"],sR=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,a=mu(e,kZ),[s,u]=k.default.useState(()=>{if(!K.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(st.stringify(o)));if(!C.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(st.stringify(t)));return t.children=o,Object.assign(t,a),{v:0,editor:t}}),{selectorContext:l,onChange:c}=IZ(t),p=(0,k.useCallback)(()=>{n&&n(t.children),u(g=>({v:g.v+1,editor:t})),c(t)},[t,c,n]);(0,k.useEffect)(()=>(q3.set(t,p),()=>{q3.set(t,()=>{})}),[t,p]);var[d,h]=(0,k.useState)(H.isFocused(t));return(0,k.useEffect)(()=>{h(H.isFocused(t))},[t]),Dc(()=>{var g=()=>h(H.isFocused(t));return zA>=17?(document.addEventListener("focusin",g),document.addEventListener("focusout",g),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",g)}):(document.addEventListener("focus",g,!0),document.addEventListener("blur",g,!0),()=>{document.removeEventListener("focus",g,!0),document.removeEventListener("blur",g,!0)})},[]),k.default.createElement(MZ.Provider,{value:l},k.default.createElement(nR.Provider,{value:s},k.default.createElement(ev.Provider,{value:s.editor},k.default.createElement(iR.Provider,{value:d},r))))};var MA=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},IA=(e,t,r)=>{var n=H.toDOMRange(e,t).getBoundingClientRect(),o=H.toDOMRange(e,r).getBoundingClientRect();return MA(n,o)&&MA(o,n)},NZ=(e,t)=>{var r=C.range(e,M.end(t)),n=Array.from(C.positions(e,{at:t})),o=0,a=n.length,s=Math.floor(a/2);if(IA(e,C.range(e,n[o]),r))return C.range(e,n[o],r);if(n.length<2)return C.range(e,n[n.length-1],r);for(;s!==n.length&&s!==o;)IA(e,C.range(e,n[s]),r)?a=s:o=s,s=Math.floor((o+a)/2);return C.range(e,n[a],r)};function kA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function NA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kA(Object(r),!0).forEach(function(n){im(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var uR=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:a,deleteBackward:s,addMark:u,removeMark:l}=n;return am.set(n,new WeakMap),n.addMark=(c,p)=>{var d,h;(d=nv.get(n))===null||d===void 0||d(),!un.get(n)&&(h=ir.get(n))!==null&&h!==void 0&&h.length&&un.set(n,null),go.delete(n),u(c,p)},n.removeMark=c=>{var p;!un.get(n)&&(p=ir.get(n))!==null&&p!==void 0&&p.length&&un.set(n,null),go.delete(n),l(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&M.isCollapsed(n.selection)){var p=C.above(n,{match:v=>q.isElement(v)&&C.isBlock(n,v),at:n.selection});if(p){var[,d]=p,h=C.range(n,d,n.selection.anchor),g=NZ(n,h);M.isCollapsed(g)||V.delete(n,{at:g})}}},n.apply=c=>{var p=[],d=[],h=ir.get(n);if(h!=null&&h.length){var g=h.map(N=>jJ(N,c)).filter(Boolean);ir.set(n,g)}var v=yi.get(n);v&&yi.set(n,PA(n,v,c));var m=vi.get(n);if(m!=null&&m.at){var b=ve.isPoint(m?.at)?Z3(n,m.at,c):PA(n,m.at,c);vi.set(n,b?NA(NA({},m),{},{at:b}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{p.push(...du(n,c.path));break}case"set_selection":{var y;(y=wc.get(n))===null||y===void 0||y.unref(),wc.delete(n);break}case"insert_node":case"remove_node":{p.push(...du(n,T.parent(c.path)));break}case"merge_node":{var x=T.previous(c.path);p.push(...du(n,x));break}case"move_node":{var w=T.common(T.parent(c.path),T.parent(c.newPath));p.push(...du(n,w));var S;T.isBefore(c.path,c.newPath)?(p.push(...du(n,T.parent(c.path))),S=c.newPath):(p.push(...du(n,T.parent(c.newPath))),S=c.path);var E=K.get(t,T.parent(S)),D=H.findKey(n,E),P=C.pathRef(n,T.parent(S));d.push([P,D]);break}}o(c);for(var[F,B]of p){var[I]=C.node(n,F);nm.set(I,B)}for(var[_,L]of d)if(_.current){var[z]=C.node(n,_.current);nm.set(z,L)}},n.setFragmentData=c=>{var{selection:p}=n;if(p){var[d,h]=M.edges(p),g=C.void(n,{at:d.path}),v=C.void(n,{at:h.path});if(!(M.isCollapsed(p)&&!g)){var m=H.toDOMRange(n,p),b=m.cloneContents(),y=b.childNodes[0];if(b.childNodes.forEach(I=>{I.textContent&&I.textContent.trim()!==""&&(y=I)}),v){var[x]=v,w=m.cloneRange(),S=H.toDOMNode(n,x);w.setEndAfter(S),b=w.cloneContents()}if(g&&(y=b.querySelector("[data-slate-spacer]")),Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach(I=>{var _=I.getAttribute("data-slate-zero-width")==="n";I.textContent=_?`
|
|
1832
|
-
`:""}),
|
|
1833
|
-
The <text> hyperscript tag can only contain text content as children.`);return lm.delete(o),Object.assign(o,t),o}var tQ=e=>(t,r,n)=>{var o=[],a;for(var s of n)M.isRange(s)?a=s:o.push(s);var u=cm(o),l={},c=e();Object.assign(c,r),c.children=u;for(var[p,d]of K.texts(c)){var h=UZ(p),g=qZ(p);if(h!=null){var[v]=h;l.anchor={path:d,offset:v}}if(g!=null){var[m]=g;l.focus={path:d,offset:m}}}if(l.anchor&&!l.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!l.anchor&&l.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return a!=null?c.selection=a:M.isRange(l)&&(c.selection=l),c};function
|
|
1834
|
-
`;if(!hQ(e))return null;let t=wQ(e,
|
|
1829
|
+
`);Ae.forEach((bt,Ao)=>{bt&&C.insertText(t,bt),Ao!==Ae.length-1&&C.insertSoftBreak(t)})},{at:$});if(T.equals($.anchor.path,$.focus.path)){var[Y,re]=M.edges($),X={start:Y.offset,end:re.offset,text:O};if(O&&c&&N==="insertCompositionText"){var le=c.start+c.text.search(/\S|$/),Se=X.start+X.text.search(/\S|$/);Se===le+1&&X.end===c.start+c.text.length?(X.start-=1,c=null,I()):c=!1}else N==="insertText"?c===null?c=X:c&&M.isCollapsed($)&&c.end+c.text.length===Y.offset?c=Q1(Q1({},c),{},{text:c.text+O}):c=!1:c=!1;if(fe){b(Y.path,X);return}}return y(()=>C.insertText(t,O),{at:$})}}}},w=()=>!!vi.get(t),S=()=>{var L;return!!((L=ir.get(t))!==null&&L!==void 0&&L.length)},E=()=>w()||S(),D=()=>o,P=L=>{yi.set(t,L),s&&(clearTimeout(s),s=null);var{selection:z}=t;if(L){var N=!z||!T.equals(z.anchor.path,L.anchor.path),$=!z||!T.equals(z.anchor.path.slice(0,-1),L.anchor.path.slice(0,-1));(N&&c||$)&&(c=!1),(N||S())&&(s=setTimeout(h,WJ))}},F=()=>{(w()||!S())&&h()},B=L=>{S()||(m(!0),setTimeout(m))},I=()=>{w()||(u=setTimeout(h))},_=L=>{if(!(S()||w())&&L.some(N=>iv(t,N,L))){var z;(z=GA.get(t))===null||z===void 0||z()}};return{flush:h,scheduleFlush:I,hasPendingDiffs:S,hasPendingAction:w,hasPendingChanges:E,isFlushing:D,handleUserSelect:P,handleCompositionEnd:g,handleCompositionStart:v,handleDOMBeforeInput:x,handleKeyDown:B,handleDomMutations:_,handleInput:F}}function XJ(){var e=(0,k.useRef)(!1);return(0,k.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e.current}var Dc=tm?k.useLayoutEffect:k.useEffect;function YJ(e,t,r){var[n]=(0,k.useState)(()=>new MutationObserver(t));Dc(()=>{n.takeRecords()}),(0,k.useEffect)(()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return n.observe(e.current,r),()=>n.disconnect()},[n,e,r])}var JJ=["node"];function TA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ZJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?TA(Object(r),!0).forEach(function(n){im(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var QJ={subtree:!0,childList:!0,characterData:!0},eZ=ar?e=>{var{node:t}=e,r=mu(e,JJ);if(!ar)return null;var n=Ci(),o=XJ(),[a]=(0,k.useState)(()=>qJ(ZJ({editor:n},r)));return YJ(t,a.handleDomMutations,QJ),nv.set(n,a.scheduleFlush),o&&a.flush(),a}:()=>null,tZ=["anchor","focus"],rZ=["anchor","focus"],nZ=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),XA=(e,t)=>{var r=mu(e,tZ),n=mu(t,rZ);return e[hu]===t[hu]&&nZ(r,n)},oZ=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],o=t[r];if(!M.equals(n,o)||!XA(n,o))return!1}return!0},iZ=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e[r],o=t[r];if(n.anchor.offset!==o.anchor.offset||n.focus.offset!==o.focus.offset||!XA(n,o))return!1}return!0},aZ=e=>{var{isLast:t,leaf:r,parent:n,text:o}=e,a=Ci(),s=H.findPath(a,o),u=T.parent(s),l=r[jA]===!0;return a.isVoid(n)?k.default.createElement(W3,{length:K.string(n).length}):r.text===""&&n.children[n.children.length-1]===o&&!a.isInline(n)&&C.string(a,u)===""?k.default.createElement(W3,{isLineBreak:!0,isMarkPlaceholder:l}):r.text===""?k.default.createElement(W3,{isMarkPlaceholder:l}):t&&r.text.slice(-1)===`
|
|
1830
|
+
`?k.default.createElement(AA,{isTrailing:!0,text:r.text}):k.default.createElement(AA,{text:r.text})},AA=e=>{var{text:t,isTrailing:r=!1}=e,n=(0,k.useRef)(null),o=()=>"".concat(t??"").concat(r?`
|
|
1831
|
+
`:""),[a]=(0,k.useState)(o);return Dc(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),k.default.createElement(sZ,{ref:n},a)},sZ=(0,k.memo)((0,k.forwardRef)((e,t)=>k.default.createElement("span",{"data-slate-string":!0,ref:t},e.children))),W3=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:n=!1}=e,o={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return n&&(o["data-slate-mark-placeholder"]=!0),k.default.createElement("span",Object.assign({},o),!ar||!r?"\uFEFF":null,r?k.default.createElement("br",null):null)};function uZ(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function RA(e){e.current&&(clearTimeout(e.current),e.current=null)}var lZ=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:a,renderLeaf:s=x=>k.default.createElement(fZ,Object.assign({},x))}=e,u=Ci(),l=(0,k.useRef)(null),c=(0,k.useRef)(null),[p,d]=(0,k.useState)(!1),h=(0,k.useRef)(null),g=(0,k.useCallback)(x=>{if(uZ(l,x==null),x==null){var w;U3.delete(u),(w=t.onPlaceholderResize)===null||w===void 0||w.call(t,null)}else{if(U3.set(u,x),!l.current){var S=window.ResizeObserver||G3;l.current=new S(()=>{var E;(E=t.onPlaceholderResize)===null||E===void 0||E.call(t,x)})}l.current.observe(x),c.current=x}},[c,t,u]),v=k.default.createElement(aZ,{isLast:r,leaf:t,parent:o,text:n}),m=t[hu];if((0,k.useEffect)(()=>(m?h.current||(h.current=setTimeout(()=>{d(!0),h.current=null},300)):(RA(h),d(!1)),()=>RA(h)),[m,d]),m&&p){var b={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:Cc?"inherit":void 0},contentEditable:!1,ref:g}};v=k.default.createElement(k.default.Fragment,null,a(b),v)}var y={"data-slate-leaf":!0};return s({attributes:y,children:v,leaf:t,text:n})},cZ=k.default.memo(lZ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&Q.equals(t.leaf,e.leaf)&&t.leaf[hu]===e.leaf[hu]),fZ=e=>{var{attributes:t,children:r}=e;return k.default.createElement("span",Object.assign({},t),r)},pZ=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:a,text:s}=e,u=Ci(),l=(0,k.useRef)(null),c=Q.decorations(s,t),p=H.findKey(u,s),d=[],h=0;h<c.length;h++){var g=c[h];d.push(k.default.createElement(cZ,{isLast:r&&h===c.length-1,key:"".concat(p.id,"-").concat(h),renderPlaceholder:o,leaf:g,text:s,parent:n,renderLeaf:a}))}var v=(0,k.useCallback)(m=>{var b=am.get(u);m?(b?.set(p,m),ba.set(s,m),Sc.set(m,s)):(b?.delete(p),ba.delete(s),l.current&&Sc.delete(l.current)),l.current=m},[l,u,p,s]);return k.default.createElement("span",{"data-slate-node":"text",ref:v},d)},YA=k.default.memo(pZ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&iZ(t.decorations,e.decorations)),dZ=e=>{var{decorations:t,element:r,renderElement:n=x=>k.default.createElement(hZ,Object.assign({},x)),renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=Ci(),l=vZ(),c=u.isInline(r),p=H.findKey(u,r),d=(0,k.useCallback)(x=>{var w=am.get(u);x?(w?.set(p,x),ba.set(r,x),Sc.set(x,r)):(w?.delete(p),ba.delete(r))},[u,p,r]),h=eR({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}),g={"data-slate-node":"element",ref:d};if(c&&(g["data-slate-inline"]=!0),!c&&C.hasInlines(u,r)){var v=K.string(r),m=(0,Q3.default)(v);m==="rtl"&&(g.dir=m)}if(C.isVoid(u,r)){g["data-slate-void"]=!0,!l&&c&&(g.contentEditable=!1);var b=c?"span":"div",[[y]]=K.texts(r);h=k.default.createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},k.default.createElement(YA,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:y})),tv.set(y,0),rv.set(y,r)}return n({attributes:g,children:h,element:r})},mZ=k.default.memo(dZ,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&oZ(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&M.equals(e.selection,t.selection))),hZ=e=>{var{attributes:t,children:r,element:n}=e,o=Ci(),a=o.isInline(n)?"span":"div";return k.default.createElement(a,Object.assign({},t,{style:{position:"relative"}}),r)},JA=(0,k.createContext)(()=>[]),gZ=()=>(0,k.useContext)(JA),ZA=(0,k.createContext)(!1),QA=()=>(0,k.useContext)(ZA),eR=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:s}=e,u=gZ(),l=Ci(),c=H.findPath(l,r),p=[],d=q.isElement(r)&&!l.isInline(r)&&C.hasInlines(l,r),h=0;h<r.children.length;h++){var g=c.concat(h),v=r.children[h],m=H.findKey(l,v),b=C.range(l,g),y=s&&M.intersection(b,s),x=u([v,g]);for(var w of t){var S=M.intersection(w,b);S&&x.push(S)}q.isElement(v)?p.push(k.default.createElement(ZA.Provider,{key:"provider-".concat(m.id),value:!!y},k.default.createElement(mZ,{decorations:x,element:v,key:m.id,renderElement:n,renderPlaceholder:o,renderLeaf:a,selection:y}))):p.push(k.default.createElement(YA,{decorations:x,key:m.id,isLast:d&&h===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:a,text:v})),tv.set(v,h),rv.set(v,r)}return p},tR=(0,k.createContext)(!1),vZ=()=>(0,k.useContext)(tR),rR=(0,k.createContext)(null),sm=()=>{var e=(0,k.useContext)(rR);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function yZ(){var e=Ci(),t=(0,k.useRef)(!1),r=(0,k.useRef)(0),n=(0,k.useCallback)(()=>{if(!t.current){t.current=!0;var o=H.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return(0,k.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var bZ=3,CZ={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},xZ={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},wZ={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},_e=e=>{var t=CZ[e],r=xZ[e],n=wZ[e],o=t&&(0,em.isHotkey)(t),a=r&&(0,em.isHotkey)(r),s=n&&(0,em.isHotkey)(n);return u=>!!(o&&o(u)||SA&&a&&a(u)||!SA&&s&&s(u))},qe={isBold:_e("bold"),isCompose:_e("compose"),isMoveBackward:_e("moveBackward"),isMoveForward:_e("moveForward"),isDeleteBackward:_e("deleteBackward"),isDeleteForward:_e("deleteForward"),isDeleteLineBackward:_e("deleteLineBackward"),isDeleteLineForward:_e("deleteLineForward"),isDeleteWordBackward:_e("deleteWordBackward"),isDeleteWordForward:_e("deleteWordForward"),isExtendBackward:_e("extendBackward"),isExtendForward:_e("extendForward"),isExtendLineBackward:_e("extendLineBackward"),isExtendLineForward:_e("extendLineForward"),isItalic:_e("italic"),isMoveLineBackward:_e("moveLineBackward"),isMoveLineForward:_e("moveLineForward"),isMoveWordBackward:_e("moveWordBackward"),isMoveWordForward:_e("moveWordForward"),isRedo:_e("redo"),isSoftBreak:_e("insertSoftBreak"),isSplitBlock:_e("splitBlock"),isTransposeCharacter:_e("transposeCharacter"),isUndo:_e("undo")},SZ=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var u=s.filter(l=>iv(e,l,s));r.push(...u)}};function a(){r.length>0&&(r.reverse().forEach(s=>{s.type!=="characterData"&&(s.removedNodes.forEach(u=>{s.target.insertBefore(u,s.nextSibling)}),s.addedNodes.forEach(u=>{s.target.removeChild(u)}))}),n())}return{registerMutations:o,restoreDOM:a,clear:n}},DZ={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},om=class extends k.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var t,{node:r}=this.props;if(!r.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");(t=this.mutationObserver)===null||t===void 0||t.observe(r.current,DZ)}componentDidMount(){var{receivedUserInput:t}=this.props,r=this.context;this.manager=SZ(r,t),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var t,r,n,o=(t=this.mutationObserver)===null||t===void 0?void 0:t.takeRecords();if(o!=null&&o.length){var a;(a=this.manager)===null||a===void 0||a.registerMutations(o)}return(r=this.mutationObserver)===null||r===void 0||r.disconnect(),(n=this.manager)===null||n===void 0||n.restoreDOM(),null}componentDidUpdate(){var t;(t=this.manager)===null||t===void 0||t.clear(),this.observe()}componentWillUnmount(){var t;(t=this.mutationObserver)===null||t===void 0||t.disconnect()}render(){return this.props.children}};om.contextType=ev;var EZ=ar?om:e=>{var{children:t}=e;return k.default.createElement(k.default.Fragment,null,t)},PZ=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],TZ=["text"];function FA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function pu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?FA(Object(r),!0).forEach(function(n){im(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):FA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var AZ=e=>k.default.createElement(k.default.Fragment,null,eR(e)),nR=e=>{var t=(0,k.useCallback)(R=>k.default.createElement(RZ,Object.assign({},R)),[]),{autoFocus:r,decorate:n=FZ,onDOMBeforeInput:o,placeholder:a,readOnly:s=!1,renderElement:u,renderLeaf:l,renderPlaceholder:c=t,scrollSelectionIntoView:p=BZ,style:d={},as:h="div",disableDefaultStyles:g=!1}=e,v=mu(e,PZ),m=sm(),[b,y]=(0,k.useState)(!1),x=(0,k.useRef)(null),w=(0,k.useRef)([]),[S,E]=(0,k.useState)(),{onUserInput:D,receivedUserInput:P}=yZ(),[,F]=(0,k.useReducer)(R=>R+1,0);GA.set(m,F),K3.set(m,s);var B=(0,k.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,k.useEffect)(()=>{x.current&&r&&x.current.focus()},[r]);var I=(0,k.useRef)(),_=(0,k.useMemo)(()=>(0,VA.default)(()=>{var R=I.current;if((ar||!H.isComposing(m))&&(!B.isUpdatingSelection||R!=null&&R.isFlushing())&&!B.isDraggingInternally){var U=H.findDocumentOrShadowRoot(m),{activeElement:G}=U,W=H.toDOMNode(m,m),ce=U.getSelection();if(G===W?(B.latestElement=G,va.set(m,!0)):va.delete(m),!ce)return V.deselect(m);var{anchorNode:ae,focusNode:ge}=ce,xe=H.hasEditableTarget(m,ae)||H.isTargetInsideNonReadonlyVoid(m,ae),Ee=H.hasEditableTarget(m,ge)||H.isTargetInsideNonReadonlyVoid(m,ge);if(xe&&Ee){var Te=H.toSlateRange(m,ce,{exactMatch:!1,suppressThrow:!0});Te&&(!H.isComposing(m)&&!(R!=null&&R.hasPendingChanges())&&!(R!=null&&R.isFlushing())?V.select(m,Te):R?.handleUserSelect(Te))}s&&(!xe||!Ee)&&V.deselect(m)}},100),[m,s,B]),L=(0,k.useMemo)(()=>(0,NA.default)(_,0),[_]);I.current=eZ({node:x,onDOMSelectionChange:_,scheduleOnDOMSelectionChange:L}),Dc(()=>{var R,U,G;x.current&&(G=ov(x.current))?(HA.set(m,G),rm.set(m,x.current),ba.set(m,x.current),Sc.set(x.current,m)):ba.delete(m);var{selection:W}=m,ce=H.findDocumentOrShadowRoot(m),ae=ce.getSelection();if(!(!ae||!H.isFocused(m)||(R=I.current)!==null&&R!==void 0&&R.hasPendingAction())){var ge=we=>{var vt=ae.type!=="None";if(!(!W&&!vt)){var yt=ae.focusNode,Ue;if(xc&&ae.rangeCount>1){var dr=ae.getRangeAt(0),Ut=ae.getRangeAt(ae.rangeCount-1);dr.startContainer===yt?Ue=Ut.endContainer:Ue=dr.startContainer}else Ue=ae.anchorNode;var Pt=rm.get(m),mr=!1;if(Pt.contains(Ue)&&Pt.contains(yt)&&(mr=!0),vt&&mr&&W&&!we){var O=H.toSlateRange(m,ae,{exactMatch:!0,suppressThrow:!0});if(O&&M.equals(O,W)){var Y,re;if(!B.hasMarkPlaceholder||(Y=Ue)!==null&&Y!==void 0&&(re=Y.parentElement)!==null&&re!==void 0&&re.hasAttribute("data-slate-mark-placeholder"))return}}if(W&&!H.hasRange(m,W)){m.selection=H.toSlateRange(m,ae,{exactMatch:!1,suppressThrow:!0});return}B.isUpdatingSelection=!0;var X=W&&H.toDOMRange(m,W);return X?(H.isComposing(m)&&!ar?ae.collapseToEnd():M.isBackward(W)?ae.setBaseAndExtent(X.endContainer,X.endOffset,X.startContainer,X.startOffset):ae.setBaseAndExtent(X.startContainer,X.startOffset,X.endContainer,X.endOffset),p(m,X)):ae.removeAllRanges(),X}};ae.rangeCount<=1&&ge();var xe=((U=I.current)===null||U===void 0?void 0:U.isFlushing())==="action";if(!ar||!xe){setTimeout(()=>{B.isUpdatingSelection=!1});return}var Ee=null,Te=requestAnimationFrame(()=>{if(xe){var we=vt=>{try{var yt=H.toDOMNode(m,m);yt.focus(),ge(vt)}catch{}};we(),Ee=setTimeout(()=>{we(!0),B.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Te),Ee&&clearTimeout(Ee)}}});var z=(0,k.useCallback)(R=>{if(D(),!s&&H.hasEditableTarget(m,R.target)&&!OZ(R,o)){var U;if(I.current)return I.current.handleDOMBeforeInput(R);L.flush(),_.flush();var{selection:G}=m,{inputType:W}=R,ce=R.dataTransfer||R.data||void 0,ae=W==="insertCompositionText"||W==="deleteCompositionText";if(ae&&H.isComposing(m))return;var ge=!1;if(W==="insertText"&&G&&M.isCollapsed(G)&&R.data&&R.data.length===1&&/[a-z ]/i.test(R.data)&&G.anchor.offset!==0){var xe,Ee;ge=!0,m.marks&&(ge=!1);var{anchor:Te}=G,[we,vt]=H.toDOMPoint(m,Te),yt=(xe=we.parentElement)===null||xe===void 0?void 0:xe.closest("a"),Ue=H.getWindow(m);if(ge&&yt&&H.hasDOMNode(m,yt)){var dr,Ut=Ue?.document.createTreeWalker(yt,NodeFilter.SHOW_TEXT).lastChild();Ut===we&&((dr=Ut.textContent)===null||dr===void 0?void 0:dr.length)===vt&&(ge=!1)}if(ge&&we.parentElement&&(Ue==null||(Ee=Ue.getComputedStyle(we.parentElement))===null||Ee===void 0?void 0:Ee.whiteSpace)==="pre"){var Pt=C.above(m,{at:Te.path,match:le=>q.isElement(le)&&C.isBlock(m,le)});Pt&&K.string(Pt[0]).includes(" ")&&(ge=!1)}}if(!W.startsWith("delete")||W.startsWith("deleteBy")){var[mr]=R.getTargetRanges();if(mr){var O=H.toSlateRange(m,mr,{exactMatch:!1,suppressThrow:!1});if(!G||!M.equals(G,O)){ge=!1;var Y=!ae&&m.selection&&C.rangeRef(m,m.selection);V.select(m,O),Y&&wc.set(m,Y)}}}if(ae)return;if(ge||R.preventDefault(),G&&M.isExpanded(G)&&W.startsWith("delete")){var re=W.endsWith("Backward")?"backward":"forward";C.deleteFragment(m,{direction:re});return}switch(W){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{C.deleteFragment(m);break}case"deleteContent":case"deleteContentForward":{C.deleteForward(m);break}case"deleteContentBackward":{C.deleteBackward(m);break}case"deleteEntireSoftLine":{C.deleteBackward(m,{unit:"line"}),C.deleteForward(m,{unit:"line"});break}case"deleteHardLineBackward":{C.deleteBackward(m,{unit:"block"});break}case"deleteSoftLineBackward":{C.deleteBackward(m,{unit:"line"});break}case"deleteHardLineForward":{C.deleteForward(m,{unit:"block"});break}case"deleteSoftLineForward":{C.deleteForward(m,{unit:"line"});break}case"deleteWordBackward":{C.deleteBackward(m,{unit:"word"});break}case"deleteWordForward":{C.deleteForward(m,{unit:"word"});break}case"insertLineBreak":C.insertSoftBreak(m);break;case"insertParagraph":{C.insertBreak(m);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{W==="insertFromComposition"&&H.isComposing(m)&&(y(!1),ya.set(m,!1)),ce?.constructor.name==="DataTransfer"?H.insertData(m,ce):typeof ce=="string"&&(ge?w.current.push(()=>C.insertText(m,ce)):C.insertText(m,ce));break}}var X=(U=wc.get(m))===null||U===void 0?void 0:U.unref();wc.delete(m),X&&(!m.selection||!M.equals(m.selection,X))&&V.select(m,X)}},[m,_,D,o,s,L]),N=(0,k.useCallback)(R=>{R==null?(_.cancel(),L.cancel(),rm.delete(m),ba.delete(m),x.current&&gi&&x.current.removeEventListener("beforeinput",z)):gi&&R.addEventListener("beforeinput",z),x.current=R},[_,L,m,z]);Dc(()=>{var R=H.getWindow(m);return R.document.addEventListener("selectionchange",L),()=>{R.document.removeEventListener("selectionchange",L)}},[L]);var $=n([m,[]]),Z=a&&m.children.length===1&&Array.from(K.texts(m)).length===1&&K.string(m)===""&&!b,te=(0,k.useCallback)(R=>{if(R&&Z){var U;E((U=R.getBoundingClientRect())===null||U===void 0?void 0:U.height)}else E(void 0)},[Z]);if(Z){var oe=C.start(m,[]);$.push({[hu]:!0,placeholder:a,onPlaceholderResize:te,anchor:oe,focus:oe})}var{marks:j}=m;if(B.hasMarkPlaceholder=!1,m.selection&&M.isCollapsed(m.selection)&&j){var{anchor:fe}=m.selection,ye=K.leaf(m,fe.path),he=mu(ye,TZ);if(!Q.equals(ye,j,{loose:!0})){B.hasMarkPlaceholder=!0;var We=Object.fromEntries(Object.keys(he).map(R=>[R,null]));$.push(pu(pu(pu({[jA]:!0},We),j),{},{anchor:fe,focus:fe}))}}return(0,k.useEffect)(()=>{setTimeout(()=>{var{selection:R}=m;if(R){var{anchor:U}=R,G=K.leaf(m,U.path);if(j&&!Q.equals(G,j,{loose:!0})){un.set(m,j);return}}un.delete(m)})}),k.default.createElement(tR.Provider,{value:s},k.default.createElement(JA.Provider,{value:n},k.default.createElement(EZ,{node:x,receivedUserInput:P},k.default.createElement(h,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:gi||!tm?v.spellCheck:!1,autoCorrect:gi||!tm?v.autoCorrect:"false",autoCapitalize:gi||!tm?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:N,style:pu(pu({},g?{}:pu({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},S?{minHeight:S}:{})),d),onBeforeInput:(0,k.useCallback)(R=>{if(!gi&&!s&&!Ht(R,v.onBeforeInput)&&H.hasSelectableTarget(m,R.target)&&(R.preventDefault(),!H.isComposing(m))){var U=R.data;C.insertText(m,U)}},[v.onBeforeInput,m,s]),onInput:(0,k.useCallback)(R=>{if(!Ht(R,v.onInput)){if(I.current){I.current.handleInput();return}for(var U of w.current)U();w.current=[]}},[v.onInput]),onBlur:(0,k.useCallback)(R=>{if(!(s||B.isUpdatingSelection||!H.hasSelectableTarget(m,R.target)||Ht(R,v.onBlur))){var U=H.findDocumentOrShadowRoot(m);if(B.latestElement!==U.activeElement){var{relatedTarget:G}=R,W=H.toDOMNode(m,m);if(G!==W&&!(Nr(G)&&G.hasAttribute("data-slate-spacer"))){if(G!=null&&bi(G)&&H.hasDOMNode(m,G)){var ce=H.toSlateNode(m,G);if(q.isElement(ce)&&!m.isVoid(ce))return}if(Cc){var ae=U.getSelection();ae?.removeAllRanges()}va.delete(m)}}}},[s,B.isUpdatingSelection,B.latestElement,m,v.onBlur]),onClick:(0,k.useCallback)(R=>{if(H.hasTarget(m,R.target)&&!Ht(R,v.onClick)&&bi(R.target)){var U=H.toSlateNode(m,R.target),G=H.findPath(m,U);if(!C.hasPath(m,G)||K.get(m,G)!==U)return;if(R.detail===bZ&&G.length>=1){var W=G;if(!(q.isElement(U)&&C.isBlock(m,U))){var ce,ae=C.above(m,{match:yt=>q.isElement(yt)&&C.isBlock(m,yt),at:G});W=(ce=ae?.[1])!==null&&ce!==void 0?ce:G.slice(0,1)}var ge=C.range(m,W);V.select(m,ge);return}if(s)return;var xe=C.start(m,G),Ee=C.end(m,G),Te=C.void(m,{at:xe}),we=C.void(m,{at:Ee});if(Te&&we&&T.equals(Te[1],we[1])){var vt=C.range(m,xe);V.select(m,vt)}}},[m,v.onClick,s]),onCompositionEnd:(0,k.useCallback)(R=>{if(H.hasSelectableTarget(m,R.target)){var U;if(H.isComposing(m)&&(y(!1),ya.set(m,!1)),(U=I.current)===null||U===void 0||U.handleCompositionEnd(R),Ht(R,v.onCompositionEnd)||ar)return;if(!Cc&&!PJ&&!wJ&&!AJ&&!TJ&&R.data){var G=un.get(m);un.delete(m),G!==void 0&&(go.set(m,m.marks),m.marks=G),C.insertText(m,R.data);var W=go.get(m);go.delete(m),W!==void 0&&(m.marks=W)}}},[v.onCompositionEnd,m]),onCompositionUpdate:(0,k.useCallback)(R=>{H.hasSelectableTarget(m,R.target)&&!Ht(R,v.onCompositionUpdate)&&(H.isComposing(m)||(y(!0),ya.set(m,!0)))},[v.onCompositionUpdate,m]),onCompositionStart:(0,k.useCallback)(R=>{if(H.hasSelectableTarget(m,R.target)){var U;if((U=I.current)===null||U===void 0||U.handleCompositionStart(R),Ht(R,v.onCompositionStart)||ar)return;y(!0);var{selection:G}=m;if(G){if(M.isExpanded(G)){C.deleteFragment(m);return}var W=C.above(m,{match:ge=>q.isElement(ge)&&C.isInline(m,ge),mode:"highest"});if(W){var[,ce]=W;if(C.isEnd(m,G.anchor,ce)){var ae=C.after(m,ce);V.setSelection(m,{anchor:ae,focus:ae})}}}}},[v.onCompositionStart,m]),onCopy:(0,k.useCallback)(R=>{H.hasSelectableTarget(m,R.target)&&!Ht(R,v.onCopy)&&!BA(R)&&(R.preventDefault(),H.setFragmentData(m,R.clipboardData,"copy"))},[v.onCopy,m]),onCut:(0,k.useCallback)(R=>{if(!s&&H.hasSelectableTarget(m,R.target)&&!Ht(R,v.onCut)&&!BA(R)){R.preventDefault(),H.setFragmentData(m,R.clipboardData,"cut");var{selection:U}=m;if(U)if(M.isExpanded(U))C.deleteFragment(m);else{var G=K.parent(m,U.anchor.path);C.isVoid(m,G)&&V.delete(m)}}},[s,m,v.onCut]),onDragOver:(0,k.useCallback)(R=>{if(H.hasTarget(m,R.target)&&!Ht(R,v.onDragOver)){var U=H.toSlateNode(m,R.target);q.isElement(U)&&C.isVoid(m,U)&&R.preventDefault()}},[v.onDragOver,m]),onDragStart:(0,k.useCallback)(R=>{if(!s&&H.hasTarget(m,R.target)&&!Ht(R,v.onDragStart)){var U=H.toSlateNode(m,R.target),G=H.findPath(m,U),W=q.isElement(U)&&C.isVoid(m,U)||C.void(m,{at:G,voids:!0});if(W){var ce=C.range(m,G);V.select(m,ce)}B.isDraggingInternally=!0,H.setFragmentData(m,R.dataTransfer,"drag")}},[s,m,v.onDragStart,B]),onDrop:(0,k.useCallback)(R=>{if(!s&&H.hasTarget(m,R.target)&&!Ht(R,v.onDrop)){R.preventDefault();var U=m.selection,G=H.findEventRange(m,R),W=R.dataTransfer;V.select(m,G),B.isDraggingInternally&&U&&!M.equals(U,G)&&!C.void(m,{at:G,voids:!0})&&V.delete(m,{at:U}),H.insertData(m,W),H.isFocused(m)||H.focus(m)}B.isDraggingInternally=!1},[s,m,v.onDrop,B]),onDragEnd:(0,k.useCallback)(R=>{!s&&B.isDraggingInternally&&v.onDragEnd&&H.hasTarget(m,R.target)&&v.onDragEnd(R),B.isDraggingInternally=!1},[s,B,v,m]),onFocus:(0,k.useCallback)(R=>{if(!s&&!B.isUpdatingSelection&&H.hasEditableTarget(m,R.target)&&!Ht(R,v.onFocus)){var U=H.toDOMNode(m,m),G=H.findDocumentOrShadowRoot(m);if(B.latestElement=G.activeElement,xc&&R.target!==U){U.focus();return}va.set(m,!0)}},[s,B,m,v.onFocus]),onKeyDown:(0,k.useCallback)(R=>{if(!s&&H.hasEditableTarget(m,R.target)){var U;(U=I.current)===null||U===void 0||U.handleKeyDown(R);var{nativeEvent:G}=R;if(H.isComposing(m)&&G.isComposing===!1&&(ya.set(m,!1),y(!1)),Ht(R,v.onKeyDown)||H.isComposing(m))return;var{selection:W}=m,ce=m.children[W!==null?W.focus.path[0]:0],ae=(0,Q3.default)(K.string(ce))==="rtl";if(qe.isRedo(G)){R.preventDefault();var ge=m;typeof ge.redo=="function"&&ge.redo();return}if(qe.isUndo(G)){R.preventDefault();var xe=m;typeof xe.undo=="function"&&xe.undo();return}if(qe.isMoveLineBackward(G)){R.preventDefault(),V.move(m,{unit:"line",reverse:!0});return}if(qe.isMoveLineForward(G)){R.preventDefault(),V.move(m,{unit:"line"});return}if(qe.isExtendLineBackward(G)){R.preventDefault(),V.move(m,{unit:"line",edge:"focus",reverse:!0});return}if(qe.isExtendLineForward(G)){R.preventDefault(),V.move(m,{unit:"line",edge:"focus"});return}if(qe.isMoveBackward(G)){R.preventDefault(),W&&M.isCollapsed(W)?V.move(m,{reverse:!ae}):V.collapse(m,{edge:"start"});return}if(qe.isMoveForward(G)){R.preventDefault(),W&&M.isCollapsed(W)?V.move(m,{reverse:ae}):V.collapse(m,{edge:"end"});return}if(qe.isMoveWordBackward(G)){R.preventDefault(),W&&M.isExpanded(W)&&V.collapse(m,{edge:"focus"}),V.move(m,{unit:"word",reverse:!ae});return}if(qe.isMoveWordForward(G)){R.preventDefault(),W&&M.isExpanded(W)&&V.collapse(m,{edge:"focus"}),V.move(m,{unit:"word",reverse:ae});return}if(gi){if((zA||Cc)&&W&&(qe.isDeleteBackward(G)||qe.isDeleteForward(G))&&M.isCollapsed(W)){var Ee=K.parent(m,W.anchor.path);if(q.isElement(Ee)&&C.isVoid(m,Ee)&&(C.isInline(m,Ee)||C.isBlock(m,Ee))){R.preventDefault(),C.deleteBackward(m,{unit:"block"});return}}}else{if(qe.isBold(G)||qe.isItalic(G)||qe.isTransposeCharacter(G)){R.preventDefault();return}if(qe.isSoftBreak(G)){R.preventDefault(),C.insertSoftBreak(m);return}if(qe.isSplitBlock(G)){R.preventDefault(),C.insertBreak(m);return}if(qe.isDeleteBackward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m);return}if(qe.isDeleteForward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m);return}if(qe.isDeleteLineBackward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"line"});return}if(qe.isDeleteLineForward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"line"});return}if(qe.isDeleteWordBackward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"backward"}):C.deleteBackward(m,{unit:"word"});return}if(qe.isDeleteWordForward(G)){R.preventDefault(),W&&M.isExpanded(W)?C.deleteFragment(m,{direction:"forward"}):C.deleteForward(m,{unit:"word"});return}}}},[s,m,v.onKeyDown]),onPaste:(0,k.useCallback)(R=>{!s&&H.hasEditableTarget(m,R.target)&&!Ht(R,v.onPaste)&&(!gi||BJ(R.nativeEvent)||Cc)&&(R.preventDefault(),H.insertData(m,R.clipboardData))},[s,m,v.onPaste])}),k.default.createElement(AZ,{decorations:$,node:m,renderElement:u,renderPlaceholder:c,renderLeaf:l,selection:m.selection})))))},RZ=e=>{var{attributes:t,children:r}=e;return k.default.createElement("span",Object.assign({},t),r,ar&&k.default.createElement("br",null))},FZ=()=>[],BZ=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&M.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),lT(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},Ht=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},BA=e=>bi(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),OZ=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},oR=(0,k.createContext)(!1),iR=()=>(0,k.useContext)(oR);var MZ=(0,k.createContext)({});function IZ(e){var t=(0,k.useRef)([]).current,r=(0,k.useRef)({editor:e}).current,n=(0,k.useCallback)(a=>{r.editor=a,t.forEach(s=>s(a))},[t,r]),o=(0,k.useMemo)(()=>({getSlate:()=>r.editor,addEventListener:a=>(t.push(a),()=>{t.splice(t.indexOf(a),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var kZ=["editor","children","onChange","initialValue"],aR=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,a=mu(e,kZ),[s,u]=k.default.useState(()=>{if(!K.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(st.stringify(o)));if(!C.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(st.stringify(t)));return t.children=o,Object.assign(t,a),{v:0,editor:t}}),{selectorContext:l,onChange:c}=IZ(t),p=(0,k.useCallback)(()=>{n&&n(t.children),u(g=>({v:g.v+1,editor:t})),c(t)},[t,c,n]);(0,k.useEffect)(()=>(q3.set(t,p),()=>{q3.set(t,()=>{})}),[t,p]);var[d,h]=(0,k.useState)(H.isFocused(t));return(0,k.useEffect)(()=>{h(H.isFocused(t))},[t]),Dc(()=>{var g=()=>h(H.isFocused(t));return $A>=17?(document.addEventListener("focusin",g),document.addEventListener("focusout",g),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",g)}):(document.addEventListener("focus",g,!0),document.addEventListener("blur",g,!0),()=>{document.removeEventListener("focus",g,!0),document.removeEventListener("blur",g,!0)})},[]),k.default.createElement(MZ.Provider,{value:l},k.default.createElement(rR.Provider,{value:s},k.default.createElement(ev.Provider,{value:s.editor},k.default.createElement(oR.Provider,{value:d},r))))};var OA=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},MA=(e,t,r)=>{var n=H.toDOMRange(e,t).getBoundingClientRect(),o=H.toDOMRange(e,r).getBoundingClientRect();return OA(n,o)&&OA(o,n)},NZ=(e,t)=>{var r=C.range(e,M.end(t)),n=Array.from(C.positions(e,{at:t})),o=0,a=n.length,s=Math.floor(a/2);if(MA(e,C.range(e,n[o]),r))return C.range(e,n[o],r);if(n.length<2)return C.range(e,n[n.length-1],r);for(;s!==n.length&&s!==o;)MA(e,C.range(e,n[s]),r)?a=s:o=s,s=Math.floor((o+a)/2);return C.range(e,n[a],r)};function IA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function kA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?IA(Object(r),!0).forEach(function(n){im(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):IA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var sR=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:a,deleteBackward:s,addMark:u,removeMark:l}=n;return am.set(n,new WeakMap),n.addMark=(c,p)=>{var d,h;(d=nv.get(n))===null||d===void 0||d(),!un.get(n)&&(h=ir.get(n))!==null&&h!==void 0&&h.length&&un.set(n,null),go.delete(n),u(c,p)},n.removeMark=c=>{var p;!un.get(n)&&(p=ir.get(n))!==null&&p!==void 0&&p.length&&un.set(n,null),go.delete(n),l(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&M.isCollapsed(n.selection)){var p=C.above(n,{match:v=>q.isElement(v)&&C.isBlock(n,v),at:n.selection});if(p){var[,d]=p,h=C.range(n,d,n.selection.anchor),g=NZ(n,h);M.isCollapsed(g)||V.delete(n,{at:g})}}},n.apply=c=>{var p=[],d=[],h=ir.get(n);if(h!=null&&h.length){var g=h.map(N=>jJ(N,c)).filter(Boolean);ir.set(n,g)}var v=yi.get(n);v&&yi.set(n,EA(n,v,c));var m=vi.get(n);if(m!=null&&m.at){var b=ve.isPoint(m?.at)?Z3(n,m.at,c):EA(n,m.at,c);vi.set(n,b?kA(kA({},m),{},{at:b}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{p.push(...du(n,c.path));break}case"set_selection":{var y;(y=wc.get(n))===null||y===void 0||y.unref(),wc.delete(n);break}case"insert_node":case"remove_node":{p.push(...du(n,T.parent(c.path)));break}case"merge_node":{var x=T.previous(c.path);p.push(...du(n,x));break}case"move_node":{var w=T.common(T.parent(c.path),T.parent(c.newPath));p.push(...du(n,w));var S;T.isBefore(c.path,c.newPath)?(p.push(...du(n,T.parent(c.path))),S=c.newPath):(p.push(...du(n,T.parent(c.newPath))),S=c.path);var E=K.get(t,T.parent(S)),D=H.findKey(n,E),P=C.pathRef(n,T.parent(S));d.push([P,D]);break}}o(c);for(var[F,B]of p){var[I]=C.node(n,F);nm.set(I,B)}for(var[_,L]of d)if(_.current){var[z]=C.node(n,_.current);nm.set(z,L)}},n.setFragmentData=c=>{var{selection:p}=n;if(p){var[d,h]=M.edges(p),g=C.void(n,{at:d.path}),v=C.void(n,{at:h.path});if(!(M.isCollapsed(p)&&!g)){var m=H.toDOMRange(n,p),b=m.cloneContents(),y=b.childNodes[0];if(b.childNodes.forEach(I=>{I.textContent&&I.textContent.trim()!==""&&(y=I)}),v){var[x]=v,w=m.cloneRange(),S=H.toDOMNode(n,x);w.setEndAfter(S),b=w.cloneContents()}if(g&&(y=b.querySelector("[data-slate-spacer]")),Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach(I=>{var _=I.getAttribute("data-slate-zero-width")==="n";I.textContent=_?`
|
|
1832
|
+
`:""}),_A(y)){var E=y.ownerDocument.createElement("span");E.style.whiteSpace="pre",E.appendChild(y),b.appendChild(E),y=E}var D=n.getFragment(),P=JSON.stringify(D),F=window.btoa(encodeURIComponent(P));y.setAttribute("data-slate-fragment",F),c.setData("application/".concat(r),F);var B=b.ownerDocument.createElement("div");return B.appendChild(b),B.setAttribute("hidden","true"),b.ownerDocument.body.appendChild(B),c.setData("text/html",B.innerHTML),c.setData("text/plain",UA(B)),b.ownerDocument.body.removeChild(B),c}}},n.insertData=c=>{n.insertFragmentData(c)||n.insertTextData(c)},n.insertFragmentData=c=>{var p=c.getData("application/".concat(r))||NJ(c);if(p){var d=decodeURIComponent(window.atob(p)),h=JSON.parse(d);return n.insertFragment(h),!0}return!1},n.insertTextData=c=>{var p=c.getData("text/plain");if(p){var d=p.split(/\r\n|\r|\n/),h=!1;for(var g of d)h&&V.splitNodes(n,{always:!0}),n.insertText(g),h=!0;return!0}return!1},n.onChange=c=>{var p=$A<18?LA.default.unstable_batchedUpdates:d=>d();p(()=>{var d=q3.get(n);d&&d(),a(c)})},n},du=(e,t)=>{var r=[];for(var[n,o]of C.levels(e,{at:t})){var a=H.findKey(e,n);r.push([o,a])}return r};i();var VZ={isHistory(e){return et(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||mo.isOperationList(e.redos[0].operations))&&(e.undos.length===0||mo.isOperationList(e.undos[0].operations))}};var av=new WeakMap,sv=new WeakMap,gu={isHistoryEditor(e){return VZ.isHistory(e.history)&&C.isEditor(e)},isMerging(e){return sv.get(e)},isSaving(e){return av.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var r=gu.isMerging(e);sv.set(e,!1),t(),sv.set(e,r)},withoutSaving(e,t){var r=gu.isSaving(e);av.set(e,!1),t(),av.set(e,r)}},uR=e=>{var t=e,{apply:r}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:n}=t,{redos:o}=n;if(o.length>0){var a=o[o.length-1];a.selectionBefore&&V.setSelection(t,a.selectionBefore),gu.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{for(var s of a.operations)t.apply(s)})}),n.redos.pop(),t.writeHistory("undos",a)}},t.undo=()=>{var{history:n}=t,{undos:o}=n;if(o.length>0){var a=o[o.length-1];gu.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{var s=a.operations.map(mo.inverse).reverse();for(var u of s)t.apply(u);a.selectionBefore&&V.setSelection(t,a.selectionBefore)})}),t.writeHistory("redos",a),n.undos.pop()}},t.apply=n=>{var{operations:o,history:a}=t,{undos:s}=a,u=s[s.length-1],l=u&&u.operations[u.operations.length-1],c=gu.isSaving(t),p=gu.isMerging(t);if(c==null&&(c=$Z(n)),c){if(p==null&&(u==null?p=!1:o.length!==0?p=!0:p=LZ(n,l)),u&&p)u.operations.push(n);else{var d={operations:[n],selectionBefore:t.selection};t.writeHistory("undos",d)}for(;s.length>100;)s.shift();a.redos=[]}r(n)},t.writeHistory=(n,o)=>{t.history[n].push(o)},t},LZ=(e,t)=>!!(t&&e.type==="insert_text"&&t.type==="insert_text"&&e.offset===t.offset+t.text.length&&T.equals(e.path,t.path)||t&&e.type==="remove_text"&&t.type==="remove_text"&&e.offset+e.text.length===t.offset&&T.equals(e.path,t.path)),$Z=(e,t)=>e.type!=="set_selection";var QR=A(dR()),Gt=A(ee()),eF=A(Jd());i();i();function Tc(e){"@babel/helpers - typeof";return Tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tc(e)}function jZ(e,t){if(Tc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Tc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _Z(e){var t=jZ(e,"string");return Tc(t)==="symbol"?t:String(t)}function vu(e,t,r){return t=_Z(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gR=new WeakMap,vR=new WeakMap,Ac=class{},yu=class extends Ac{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),vu(this,"offset",void 0),vu(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},bu=class extends Ac{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),vu(this,"offset",void 0),vu(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},WZ=(e,t)=>{var r=e.text.length;gR.set(e,[r,t])},UZ=e=>gR.get(e),KZ=(e,t)=>{var r=e.text.length;vR.set(e,[r,t])},qZ=e=>vR.get(e);function mR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function fv(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mR(Object(r),!0).forEach(function(n){vu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var lm=new WeakSet,cm=e=>{var t=[],r=o=>{if(o!=null){var a=t[t.length-1];if(typeof o=="string"){var s={text:o};lm.add(s),o=s}if(Q.isText(o)){var u=o;Q.isText(a)&&lm.has(a)&&lm.has(u)&&Q.equals(a,u,{loose:!0})?a.text+=u.text:t.push(u)}else if(q.isElement(o))t.push(o);else if(o instanceof Ac){var l=t[t.length-1];Q.isText(l)||(r(""),l=t[t.length-1]),o instanceof yu?WZ(l,o):o instanceof bu&&KZ(l,o)}else throw new Error("Unexpected hyperscript child object: ".concat(o))}};for(var n of e.flat(1/0))r(n);return t};function XZ(e,t,r){return new yu(t)}function YZ(e,t,r){return[new yu(t),new bu(t)]}function yR(e,t,r){return fv(fv({},t),{},{children:cm(r)})}function JZ(e,t,r){return new bu(t)}function ZZ(e,t,r){return cm(r)}function QZ(e,t,r){var n=r.find(a=>a instanceof yu),o=r.find(a=>a instanceof bu);if(!n||n.offset==null||n.path==null)throw new Error("The <selection> hyperscript tag must have an <anchor> tag as a child with `path` and `offset` attributes defined.");if(!o||o.offset==null||o.path==null)throw new Error("The <selection> hyperscript tag must have a <focus> tag as a child with `path` and `offset` attributes defined.");return fv({anchor:{offset:n.offset,path:n.path},focus:{offset:o.offset,path:o.path}},t)}function eQ(e,t,r){var n=cm(r);if(n.length>1)throw new Error("The <text> hyperscript tag must only contain a single node's worth of children.");var[o]=n;if(o==null&&(o={text:""}),!Q.isText(o))throw new Error(`
|
|
1833
|
+
The <text> hyperscript tag can only contain text content as children.`);return lm.delete(o),Object.assign(o,t),o}var tQ=e=>(t,r,n)=>{var o=[],a;for(var s of n)M.isRange(s)?a=s:o.push(s);var u=cm(o),l={},c=e();Object.assign(c,r),c.children=u;for(var[p,d]of K.texts(c)){var h=UZ(p),g=qZ(p);if(h!=null){var[v]=h;l.anchor={path:d,offset:v}}if(g!=null){var[m]=g;l.focus={path:d,offset:m}}}if(l.anchor&&!l.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!l.anchor&&l.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return a!=null?c.selection=a:M.isRange(l)&&(c.selection=l),c};function hR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Pc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hR(Object(r),!0).forEach(function(n){vu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var rQ={anchor:XZ,cursor:YZ,editor:tQ(_1),element:yR,focus:JZ,fragment:ZZ,selection:QZ,text:eQ},nQ=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{elements:r={}}=t,n=iQ(r),o=Pc(Pc(Pc({},rQ),n),t.creators),a=oQ(o);return a},oQ=e=>{var t=function(n,o){for(var a=arguments.length,s=new Array(a>2?a-2:0),u=2;u<a;u++)s[u-2]=arguments[u];var l=e[n];if(!l)throw new Error("No hyperscript creator found for tag: <".concat(n,">"));o==null&&(o={}),et(o)||(s=[o].concat(s),o={}),s=s.filter(p=>!!p).flat();var c=l(n,o,s);return c};return t},iQ=e=>{var t={},r=function(){var a=e[n];if(typeof a!="object")throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(n,"> tag you passed: ").concat(a));t[n]=(s,u,l)=>yR("element",Pc(Pc({},a),u),l)};for(var n in e)r();return t},Cu=nQ();var Me=A(ee());i();var aQ=/["'&<>]/;var fm=e=>{let t=`${e}`,r=aQ.exec(t);if(!r)return t;let n="",o="",a=0,s=0;for(a=r.index;a<t.length;a++){let u=t.charCodeAt(a);u===34?n=""":u===38?n="&":u===39?n="'":u===60?n="<":u===62?n=">":n="",n!==""&&(s!==a&&(o+=t.substring(s,a)),s=a+1,o+=n)}return s!==a?o+t.substring(s,a):o};var dv={text:""},sQ=e=>e.type!=="image",uQ=e=>e.type==="image"&&e.url===void 0,lQ=e=>(0,Me.isNotNil)(e.children)&&e.children.length===1,cQ=e=>Q.isText(e)&&e.text?.trim()==="",fQ=e=>lQ(e)&&cQ(e.children[0]),pQ=e=>e.every(t=>(0,Me.isNil)(t)),dQ=e=>pQ(e)?null:e.join(""),bR=(e,t)=>{let r=e;return r.children&&(r.children=r.children.map(n=>({...bR(n,t),...t}))),r},mQ=e=>{let r=[fm(e.text)];return(0,Me.isNotNil)(e.bold)&&e.bold&&(r.push("</strong>"),r.unshift("<strong>")),(0,Me.isNotNil)(e.italic)&&e.italic&&(r.push("</em>"),r.unshift("<em>")),(0,Me.isNotNil)(e.underline)&&e.underline&&(r.push("</u>"),r.unshift("<u>")),(0,Me.isNotNil)(e.strikethrough)&&e.strikethrough&&(r.push("</s>"),r.unshift("<s>")),(0,Me.isNotNil)(e.code)&&e.code&&(r.push("</code>"),r.unshift("<code>")),r.join("")},CR=e=>{if(sQ(e)&&fQ(e)||uQ(e))return null;if(Q.isText(e))return mQ(e);let t=(0,Me.isNotNil)(e.children)?e.children.map(r=>CR(r)).join(""):"";switch(e.type){case"span":return`<span>${t}</span>`;case"blockquote":return`<blockquote>${t}</blockquote>`;case"paragraph":return`<p>${t}</p>`;case"heading-one":return`<h1>${t}</h1>`;case"heading-two":return`<h2>${t}</h2>`;case"heading-three":return`<h3>${t}</h3>`;case"heading-four":return`<h4>${t}</h4>`;case"heading-five":return`<h5>${t}</h5>`;case"heading-six":return`<h6>${t}</h6>`;case"link":return`<a rel="noopener noreferrer" target="_blank" href="${fm(e.url)}">${t}</a>`;case"numbered-list":return`<ol>${t}</ol>`;case"bulleted-list":return`<ul>${t}</ul>`;case"list-item":return`<li>${t}</li>`;case"image":return`<img src="${fm(e.url)}" />`;case"code":return`<code>${t}</code>`;default:return t}},Ca=e=>{let t=e.map(r=>CR(r));return dQ(t)},pv={SPAN:()=>({type:"span"}),A:e=>({type:"link",url:e.getAttribute("href")}),BLOCKQUOTE:()=>({type:"blockquote"}),H1:()=>({type:"heading-one"}),H2:()=>({type:"heading-two"}),H3:()=>({type:"heading-three"}),H4:()=>({type:"heading-four"}),H5:()=>({type:"heading-five"}),H6:()=>({type:"heading-six"}),LI:()=>({type:"list-item"}),OL:()=>({type:"numbered-list"}),P:()=>({type:"paragraph"}),UL:()=>({type:"bulleted-list"}),IMG:e=>({type:"image",url:e.getAttribute("src")}),CODE:()=>({type:"code"})},xR={DEL:()=>({strikethrough:!0}),S:()=>({strikethrough:!0}),EM:()=>({italic:!0}),I:()=>({italic:!0}),STRONG:()=>({bold:!0}),U:()=>({underline:!0}),CODE:()=>({code:!0})},wR=e=>e.nodeType===3,hQ=e=>e.nodeType===1,SR=e=>e.nodeName==="CODE",DR=(e,t)=>SR(e)&&(0,Me.isNotNil)(t[0])&&!t[0].match(/\n/g),gQ=(e,t)=>!DR(e,t)&&(0,Me.isNotNil)(pv[e.nodeName]),vQ=(e,t)=>DR(e,t)||(0,Me.isNotNil)(xR[e.nodeName]),yQ=e=>(0,Me.isNotNil)(e)&&!(0,Me.isString)(e)&&e.text?.trim()==="",bQ=(e,t)=>{let{nodeName:r}=t;if(r!=="IMG"&&e.length===1&&!(0,Me.isString)(e[0])&&(0,Me.isNotNil)(e[0].text)&&e[0].text?.trim()==="")return Cu("element",pv.P(),dv);let n=pv[r](t);return Cu("element",n,e)},CQ=(e,t)=>{let{nodeName:r}=t,n=xR[r]();return e.map(o=>!(0,Me.isString)(o)&&(0,Me.isNotNil)(o)&&(0,Me.isNotNil)(o.children)?bR(o,n):yQ(o)?Cu("text",{},dv):Cu("text",n,o))},xQ=e=>e.nodeName==="BLOCKQUOTE"||e.nodeName==="OL"||e.nodeName==="UL",wQ=(e,t)=>{let r=[];return SR(e)?r=[...e.childNodes].map(n=>wR(n)?n.textContent:n.outerHTML):xQ(e)?r=[...e.childNodes].filter(n=>n.textContent?.trim()!=="").flatMap(t):r=[...e.childNodes].flatMap(t),r},ER=e=>{if(wR(e))return e.nodeValue?.trim()===""?null:e.textContent;if(e.nodeName==="BR")return`
|
|
1834
|
+
`;if(!hQ(e))return null;let t=wQ(e,ER),r=t.length>0&&t[0]!=null?t:[dv];return e.nodeName==="BODY"?Cu("fragment",{},r):gQ(e,t)?bQ(r,e):vQ(e,r)?CQ(r,e):t},Rc=e=>{if(!e)return;let t=new DOMParser().parseFromString(e,"text/html").body,r=ER(t);if((0,Me.isNotNil)(r)&&(0,Me.isArray)(r)&&(0,Me.isNotNil)(r[0])&&(0,Me.isNotNil)(r[0].text))return[{type:"paragraph",children:[{text:r[0].text}]}];let n=(0,Me.isArray)(r)?r[r.length-1]:void 0;return(0,Me.isArray)(r)&&q.isElement(n)&&n.type!=="paragraph"?[...r,{type:"paragraph",children:[{text:""}]}]:r};i();var xu=A(ee()),xa=require("react/jsx-runtime"),PR=({attributes:e={"data-slate-leaf":!0},children:t,leaf:r={}})=>{let n=t;return(0,xu.isNotNil)(r.bold)&&(n=(0,xa.jsx)("strong",{children:n})),(0,xu.isNotNil)(r.italic)&&(n=(0,xa.jsx)("em",{children:n})),(0,xu.isNotNil)(r.underline)&&(n=(0,xa.jsx)("u",{children:n})),(0,xu.isNotNil)(r.strikethrough)&&(n=(0,xa.jsx)("s",{children:n})),(0,xu.isNotNil)(r.code)&&(n=(0,xa.jsx)("code",{children:n})),(0,xa.jsx)("span",{...e,children:n})};i();var sr=A(require("styled-components")),Bt=require("react/jsx-runtime"),TR=sr.default.span`
|
|
1835
1835
|
display: 'inline-block';
|
|
1836
1836
|
user-select: none;
|
|
1837
1837
|
`,SQ=sr.default.img`
|
|
@@ -1839,7 +1839,7 @@
|
|
|
1839
1839
|
max-height: 10em;
|
|
1840
1840
|
max-width: 100%;
|
|
1841
1841
|
user-select: none;
|
|
1842
|
-
`,
|
|
1842
|
+
`,AR=sr.css`
|
|
1843
1843
|
padding: 0 ${({theme:e})=>e.spacing.space05};
|
|
1844
1844
|
|
|
1845
1845
|
li {
|
|
@@ -1849,9 +1849,9 @@
|
|
|
1849
1849
|
margin: ${({theme:e})=>`${e.spacing.space02} 0`};
|
|
1850
1850
|
}
|
|
1851
1851
|
`,DQ=sr.default.ol`
|
|
1852
|
-
${
|
|
1852
|
+
${AR}
|
|
1853
1853
|
`,EQ=sr.default.ul`
|
|
1854
|
-
${
|
|
1854
|
+
${AR}
|
|
1855
1855
|
`,mv=sr.css`
|
|
1856
1856
|
font-weight: 500;
|
|
1857
1857
|
`,PQ=sr.default.h1`
|
|
@@ -1870,7 +1870,7 @@
|
|
|
1870
1870
|
font-weight: 300;
|
|
1871
1871
|
`,BQ=sr.default.span`
|
|
1872
1872
|
font-weight: 400;
|
|
1873
|
-
`,FR=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=eR(),o=aR();switch(r.type){case"span":return(0,Bt.jsx)(BQ,{...e,children:t});case"blockquote":return(0,Bt.jsx)("blockquote",{...e,children:t});case"bulleted-list":return(0,Bt.jsx)(EQ,{...e,children:t});case"heading-one":return(0,Bt.jsx)(PQ,{...e,children:t});case"heading-two":return(0,Bt.jsx)(TQ,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return(0,Bt.jsx)(AQ,{...e,children:t});case"list-item":return(0,Bt.jsx)("li",{...e,children:t});case"numbered-list":return(0,Bt.jsx)(DQ,{...e,children:t});case"image":return(0,Bt.jsxs)(AR,{...e,children:[(0,Bt.jsx)(AR,{contentEditable:!1,children:(0,Bt.jsx)(SQ,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return(0,Bt.jsx)(FQ,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return(0,Bt.jsx)("code",{...e,children:t});default:return(0,Bt.jsx)(RQ,{...e,children:t})}};i();var XR=A(require("styled-components"));var YR=A(ee());i();i();var yo=A(ee());i();var pm=A(ee()),dm=(e,t)=>{let[r]=C.nodes(e,{match:n=>q.isElement(n)&&n.type===t});return!!r},BR=new Set(["numbered-list","bulleted-list"]),xi=(e,t)=>{let r=dm(e,t),n=BR.has(t);V.unwrapNodes(e,{match:a=>q.isElement(a)&&(0,pm.isNotNil)(a.type)&&BR.has(a.type),split:!0});let o=n?"list-item":t;if(V.setNodes(e,{type:r?"paragraph":o}),!r&&n){let a={type:t,children:[]};V.wrapNodes(e,a)}},mm=(e,t)=>{let r=C.marks(e);return(0,pm.isNonEmptyString)(r&&Object.keys(r).find(n=>n===t))},vo=(e,t)=>{mm(e,t)?C.removeMark(e,t):C.addMark(e,t,!0)};var OR={text:""},OQ=["jpg","png","gif","tiff","bmp","dcm"],MQ=e=>{if(!Bo(e))return!1;let t=OQ.find(r=>e.includes(r));return(0,yo.isNotUndefined)(t)&&!!t},hv=(e,t)=>{if(!t){xi(e,"image");return}if(!MQ(t)){xi(e,"image");return}let r={type:"image",url:t,children:[OR]};V.insertNodes(e,r)},gv=e=>{let{normalizeNode:t,isVoid:r}=e;return e.isVoid=n=>n.type==="image"?!0:r(n),e.normalizeNode=([n,o])=>{if(q.isElement(n)&&n.type==="image"&&n.url!==void 0){let a={type:"paragraph",children:[OR]},s=(0,yo.isNotUndefined)(o[0])?o[0]+1:1;V.insertNodes(e,a,{at:[s]}),V.move(e)}q.isElement(n)&&n.type==="image"&&n.url===void 0&&(0,yo.isNotUndefined)(n.children)&&(0,yo.isNotUndefined)(n.children[0])&&(0,yo.isNotUndefined)(n.children[0].text)&&n.children[0].text.trim()!==""&&V.setNodes(e,{type:"span"},{match:a=>q.isElement(a)&&a.type==="image"&&a.url===void 0&&(0,yo.isNotUndefined)(a.children)&&Q.isText(a.children[0])&&(0,yo.isNotNil)(a.children[0].text)&&a.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};i();var MR=A(ee());var IQ=e=>!!/^#.+$/i.test(e),IR=e=>{let[t]=C.nodes(e,{match:r=>q.isElement(r)&&r.type==="link"});return!!t},kR=e=>{V.unwrapNodes(e,{match:t=>q.isElement(t)&&t.type==="link"})},vv=(e,t)=>{IR(e)&&kR(e);let{selection:r}=e,n=r&&M.isCollapsed(r),o={type:"link",url:t,children:n===!0?[{text:t}]:[]};n===!0?V.insertNodes(e,o):(V.wrapNodes(e,o,{split:!0}),V.collapse(e,{edge:"end"}))},yv=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=a=>a.type==="link"?!0:n(a),e.insertText=a=>{a&&Bo(a)?vv(e,a):r(a)},e.insertData=a=>{let s=a.getData("text/plain");s&&Bo(s)?vv(e,s):t(a)},e.normalizeNode=([a,s])=>{q.isElement(a)&&a.type==="link"&&K.string(a)===""&&(V.unwrapNodes(e,{at:s}),V.select(e,T.next(s))),o([a,s])},e},bv=e=>{if(IR(e))kR(e);else{let t=prompt("Enter the URL of the link:");if(!(0,MR.isNonEmptyString)(t)){vo(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces."),vo(e,"link");return}if(!Bo(t)&&!IQ(t)){alert("The URL provided looks invalid. Try again. Make sure to include the protocol (ex. https://) in the URL."),vo(e,"link");return}e.selection&&vv(e,t)}};i();var NR={...C,isBlck:C.isBlock},kQ={type:"paragraph",children:[{text:"",marks:[]}]},NQ=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",Cv=e=>{let{selection:t}=e,r=t&&M.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",a=NR.above(e,{match:s=>NR.isBlck(e,s)});(r??!1)&&o&&NQ(a[0].children)&&(V.removeNodes(e,{hanging:!0}),V.insertNodes(e,kQ),V.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};i();var ut=Object.freeze({BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",STRIKETHROUGH:"STRIKETHROUGH",HEADING_1:"HEADING_1",HEADING_2:"HEADING_2",BLOCKQUOTE:"BLOCKQUOTE",NUMBERED_LIST:"NUMBERED_LIST",BULLETED_LIST:"BULLETED_LIST",LINK:"LINK",IMAGE:"IMAGE"});i();i();var hm=A(ee());i();var xv={"block-quote":"BlockQuote",bold:"Bold","bulleted-list":"BulletedList",heading:"Heading","heading-two":"HeadingTwo",image:"Image",italic:"Italic",link:"Link","numbered-list":"NumberedList",strikethrough:"Strikethrough",underline:"Underline"};var Mv={};ff(Mv,{BlockQuote:()=>VR,Bold:()=>LR,BulletedList:()=>$R,Heading:()=>zR,HeadingTwo:()=>HR,Image:()=>GR,Italic:()=>jR,Link:()=>_R,NumberedList:()=>WR,Strikethrough:()=>UR,Underline:()=>KR});i();i();var wv=require("react/jsx-runtime"),VR=e=>(0,wv.jsx)("svg",{...e,children:(0,wv.jsx)("path",{d:"M4.2125 11.0375C4.35417 11.1792 4.53333 11.25 4.75 11.25H19.25C19.4667 11.25 19.6458 11.1792 19.7875 11.0375C19.9292 10.8958 20 10.7167 20 10.5C20 10.2833 19.9292 10.1042 19.7875 9.9625C19.6458 9.82083 19.4667 9.75 19.25 9.75H4.75C4.53333 9.75 4.35417 9.82083 4.2125 9.9625C4.07083 10.1042 4 10.2833 4 10.5C4 10.7167 4.07083 10.8958 4.2125 11.0375ZM4.2125 14.0375C4.35417 14.1792 4.53333 14.25 4.75 14.25H12.975C13.1917 14.25 13.3708 14.1792 13.5125 14.0375C13.6542 13.8958 13.725 13.7167 13.725 13.5C13.725 13.2833 13.6542 13.1042 13.5125 12.9625C13.3708 12.8208 13.1917 12.75 12.975 12.75H4.75C4.53333 12.75 4.35417 12.8208 4.2125 12.9625C4.07083 13.1042 4 13.2833 4 13.5C4 13.7167 4.07083 13.8958 4.2125 14.0375ZM1.5 10C1.22386 10 1 10.2239 1 10.5V14C1 14.2761 1.22386 14.5 1.5 14.5C1.77614 14.5 2 14.2761 2 14V10.5C2 10.2239 1.77614 10 1.5 10Z",fill:"currentColor"})});i();var Sv=require("react/jsx-runtime"),LR=e=>(0,Sv.jsx)("svg",{...e,children:(0,Sv.jsx)("path",{d:"M16.9995 11.7C18.354 10.743 19.302 9.17101 19.302 7.71451C19.302 4.48501 16.86 1.99951 13.722 1.99951H4.998V22.0005H14.823C17.7375 22.0005 19.998 19.5705 19.998 16.5855C19.998 14.415 18.798 12.5565 16.998 11.7H16.9995ZM9.186 5.57101H13.371C14.5305 5.57101 15.465 6.52801 15.465 7.71451C15.465 8.89951 14.5305 9.85651 13.3725 9.85651H9.186V5.57101ZM14.07 18.429H9.186V14.1435H14.07C15.228 14.1435 16.1625 15.1005 16.1625 16.2855C16.1625 17.4705 15.228 18.429 14.07 18.429V18.429Z",fill:"currentColor"})});i();var Dv=require("react/jsx-runtime"),$R=e=>(0,Dv.jsx)("svg",{...e,children:(0,Dv.jsx)("path",{d:"M4.0005 10.5C3.1695 10.5 2.5005 11.1705 2.5005 12C2.5005 12.8295 3.1695 13.5 4.0005 13.5C4.83 13.5 5.5005 12.8295 5.5005 12C5.5005 11.1705 4.83 10.5 4.0005 10.5ZM4.0005 4.5C3.1695 4.5 2.5005 5.1705 2.5005 6C2.5005 6.8295 3.1695 7.5 4.0005 7.5C4.83 7.5 5.5005 6.8295 5.5005 6C5.5005 5.1705 4.83 4.5 4.0005 4.5ZM4.0005 16.5C3.1695 16.5 2.5005 17.1795 2.5005 18C2.5005 18.8205 3.18 19.5 4.0005 19.5C4.8195 19.5 5.5005 18.8205 5.5005 18C5.5005 17.1795 4.83 16.5 4.0005 16.5ZM7.0005 19.0005H21V16.9995H7.0005V19.0005ZM7.0005 13.0005H21V10.9995H7.0005V13.0005ZM7.0005 4.9995V7.0005H21V4.9995H7.0005Z",fill:"currentColor"})});i();var Ev=require("react/jsx-runtime"),zR=e=>(0,Ev.jsx)("svg",{...e,children:(0,Ev.jsx)("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});i();var Pv=require("react/jsx-runtime"),HR=e=>(0,Pv.jsx)("svg",{...e,children:(0,Pv.jsx)("path",{d:"M3 17V7H4.5V11.25H9V7H10.5V17H9V12.75H4.5V17H3ZM13.5 17V12.75C13.5 12.3333 13.6458 11.9792 13.9375 11.6875C14.2292 11.3958 14.5833 11.25 15 11.25H19.5V8.5H13.5V7H19.5C19.9167 7 20.2708 7.14583 20.5625 7.4375C20.8542 7.72917 21 8.08333 21 8.5V11.25C21 11.6667 20.8542 12.0208 20.5625 12.3125C20.2708 12.6042 19.9167 12.75 19.5 12.75H15V15.5H21V17H13.5Z",fill:"currentColor"})});i();var Tv=require("react/jsx-runtime"),GR=e=>(0,Tv.jsx)("svg",{...e,children:(0,Tv.jsx)("path",{d:"M21 19.0005V4.9995C21 3.9 20.1 3 19.0005 3H4.9995C3.9 3 3 3.9 3 4.9995V19.0005C3 20.1 3.9 21 4.9995 21H19.0005C20.1 21 21 20.1 21 19.0005ZM8.5005 13.5L10.9995 16.5105L14.5005 12L19.0005 18H4.9995L8.5005 13.5Z",fill:"currentColor"})});i();var Av=require("react/jsx-runtime"),jR=e=>(0,Av.jsx)("svg",{...e,children:(0,Av.jsx)("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});i();var Rv=require("react/jsx-runtime"),_R=e=>(0,Rv.jsx)("svg",{...e,children:(0,Rv.jsx)("path",{d:"M2.28 12C2.28 9.948 3.948 8.28 6 8.28H10.8V6H6C2.688 6 0 8.688 0 12C0 15.312 2.688 18 6 18H10.8V15.72H6C3.948 15.72 2.28 14.052 2.28 12ZM7.2 13.2H16.8V10.8H7.2V13.2ZM18 6H13.2V8.28H18C20.052 8.28 21.72 9.948 21.72 12C21.72 14.052 20.052 15.72 18 15.72H13.2V18H18C21.312 18 24 15.312 24 12C24 8.688 21.312 6 18 6Z",fill:"currentColor"})});i();var Fv=require("react/jsx-runtime"),WR=e=>(0,Fv.jsx)("svg",{...e,children:(0,Fv.jsx)("path",{d:"M3.425 20C3.30833 20 3.20833 19.9583 3.125 19.875C3.04167 19.7917 3 19.6917 3 19.575C3 19.4583 3.04167 19.3583 3.125 19.275C3.20833 19.1917 3.30833 19.15 3.425 19.15H5.1V18.5H4.475C4.35833 18.5 4.25833 18.4583 4.175 18.375C4.09167 18.2917 4.05 18.1917 4.05 18.075C4.05 17.9583 4.09167 17.8583 4.175 17.775C4.25833 17.6917 4.35833 17.65 4.475 17.65H5.1V17H3.425C3.30833 17 3.20833 16.9583 3.125 16.875C3.04167 16.7917 3 16.6917 3 16.575C3 16.4583 3.04167 16.3583 3.125 16.275C3.20833 16.1917 3.30833 16.15 3.425 16.15H5.525C5.64167 16.15 5.74167 16.1917 5.825 16.275C5.90833 16.3583 5.95 16.4583 5.95 16.575V19.575C5.95 19.6917 5.90833 19.7917 5.825 19.875C5.74167 19.9583 5.64167 20 5.525 20H3.425ZM4.475 7.9C4.35833 7.9 4.25833 7.85833 4.175 7.775C4.09167 7.69167 4.05 7.59167 4.05 7.475V4.85H3.425C3.30833 4.85 3.20833 4.80833 3.125 4.725C3.04167 4.64167 3 4.54167 3 4.425C3 4.30833 3.04167 4.20833 3.125 4.125C3.20833 4.04167 3.30833 4 3.425 4H4.475C4.59167 4 4.69167 4.04167 4.775 4.125C4.85833 4.20833 4.9 4.30833 4.9 4.425V7.475C4.9 7.59167 4.85833 7.69167 4.775 7.775C4.69167 7.85833 4.59167 7.9 4.475 7.9V7.9ZM3.425 13.925C3.30833 13.925 3.20833 13.8833 3.125 13.8C3.04167 13.7167 3 13.6167 3 13.5V13.275C3 13.2583 3.03333 13.1667 3.1 13L4.875 10.925H3.425C3.30833 10.925 3.20833 10.8833 3.125 10.8C3.04167 10.7167 3 10.6167 3 10.5C3 10.3833 3.04167 10.2833 3.125 10.2C3.20833 10.1167 3.30833 10.075 3.425 10.075H5.525C5.64167 10.075 5.74167 10.1167 5.825 10.2C5.90833 10.2833 5.95 10.3833 5.95 10.5V10.725C5.95 10.7417 5.91667 10.8333 5.85 11L4.05 13.075H5.525C5.64167 13.075 5.74167 13.1167 5.825 13.2C5.90833 13.2833 5.95 13.3833 5.95 13.5C5.95 13.6167 5.90833 13.7167 5.825 13.8C5.74167 13.8833 5.64167 13.925 5.525 13.925H3.425ZM8.975 18.775C8.75833 18.775 8.57917 18.7042 8.4375 18.5625C8.29583 18.4208 8.225 18.2417 8.225 18.025C8.225 17.8083 8.29583 17.6292 8.4375 17.4875C8.57917 17.3458 8.75833 17.275 8.975 17.275H20.25C20.4667 17.275 20.6458 17.3458 20.7875 17.4875C20.9292 17.6292 21 17.8083 21 18.025C21 18.2417 20.9292 18.4208 20.7875 18.5625C20.6458 18.7042 20.4667 18.775 20.25 18.775H8.975ZM8.975 12.7C8.75833 12.7 8.57917 12.6292 8.4375 12.4875C8.29583 12.3458 8.225 12.1667 8.225 11.95C8.225 11.7333 8.29583 11.5542 8.4375 11.4125C8.57917 11.2708 8.75833 11.2 8.975 11.2H20.25C20.4667 11.2 20.6458 11.2708 20.7875 11.4125C20.9292 11.5542 21 11.7333 21 11.95C21 12.1667 20.9292 12.3458 20.7875 12.4875C20.6458 12.6292 20.4667 12.7 20.25 12.7H8.975ZM8.975 6.625C8.75833 6.625 8.57917 6.55417 8.4375 6.4125C8.29583 6.27083 8.225 6.09167 8.225 5.875C8.225 5.65833 8.29583 5.47917 8.4375 5.3375C8.57917 5.19583 8.75833 5.125 8.975 5.125H20.25C20.4667 5.125 20.6458 5.19583 20.7875 5.3375C20.9292 5.47917 21 5.65833 21 5.875C21 6.09167 20.9292 6.27083 20.7875 6.4125C20.6458 6.55417 20.4667 6.625 20.25 6.625H8.975Z",fill:"currentColor"})});i();var Bv=require("react/jsx-runtime"),UR=e=>(0,Bv.jsx)("svg",{...e,children:(0,Bv.jsx)("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});i();var Ov=require("react/jsx-runtime"),KR=e=>(0,Ov.jsx)("svg",{...e,children:(0,Ov.jsx)("path",{d:"M5 21V19.5H19V21H5ZM12 17C10.3167 17 8.89583 16.425 7.7375 15.275C6.57917 14.125 6 12.7167 6 11.05V3H8V11.1C8 12.2 8.38333 13.125 9.15 13.875C9.91667 14.625 10.8667 15 12 15C13.1333 15 14.0833 14.625 14.85 13.875C15.6167 13.125 16 12.2 16 11.1V3H18V11.05C18 12.7167 17.4208 14.125 16.2625 15.275C15.1042 16.425 13.6833 17 12 17Z",fill:"currentColor"})});var qR=require("react/jsx-runtime"),gm={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},ur=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if((0,hm.isNil)(n))throw new Error("An Icon component requires a `type` prop to be provided");if((0,hm.isNil)(xv[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if((0,hm.isNil)(gm[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=Mv[xv[n]],s={verticalAlign:"middle",...r};return(0,qR.jsx)(a,{"aria-hidden":"true",color:e,height:`${gm[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${gm[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};ur.displayName="Icon_VHS";var Le=require("react/jsx-runtime"),VQ=XR.default.div`
|
|
1873
|
+
`,RR=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=QA(),o=iR();switch(r.type){case"span":return(0,Bt.jsx)(BQ,{...e,children:t});case"blockquote":return(0,Bt.jsx)("blockquote",{...e,children:t});case"bulleted-list":return(0,Bt.jsx)(EQ,{...e,children:t});case"heading-one":return(0,Bt.jsx)(PQ,{...e,children:t});case"heading-two":return(0,Bt.jsx)(TQ,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return(0,Bt.jsx)(AQ,{...e,children:t});case"list-item":return(0,Bt.jsx)("li",{...e,children:t});case"numbered-list":return(0,Bt.jsx)(DQ,{...e,children:t});case"image":return(0,Bt.jsxs)(TR,{...e,children:[(0,Bt.jsx)(TR,{contentEditable:!1,children:(0,Bt.jsx)(SQ,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return(0,Bt.jsx)(FQ,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return(0,Bt.jsx)("code",{...e,children:t});default:return(0,Bt.jsx)(RQ,{...e,children:t})}};i();var qR=A(require("styled-components"));var XR=A(ee());i();i();var yo=A(ee());i();var pm=A(ee()),dm=(e,t)=>{let[r]=C.nodes(e,{match:n=>q.isElement(n)&&n.type===t});return!!r},FR=new Set(["numbered-list","bulleted-list"]),xi=(e,t)=>{let r=dm(e,t),n=FR.has(t);V.unwrapNodes(e,{match:a=>q.isElement(a)&&(0,pm.isNotNil)(a.type)&&FR.has(a.type),split:!0});let o=n?"list-item":t;if(V.setNodes(e,{type:r?"paragraph":o}),!r&&n){let a={type:t,children:[]};V.wrapNodes(e,a)}},mm=(e,t)=>{let r=C.marks(e);return(0,pm.isNonEmptyString)(r&&Object.keys(r).find(n=>n===t))},vo=(e,t)=>{mm(e,t)?C.removeMark(e,t):C.addMark(e,t,!0)};var BR={text:""},OQ=["jpg","png","gif","tiff","bmp","dcm"],MQ=e=>{if(!Bo(e))return!1;let t=OQ.find(r=>e.includes(r));return(0,yo.isNotUndefined)(t)&&!!t},hv=(e,t)=>{if(!t){xi(e,"image");return}if(!MQ(t)){xi(e,"image");return}let r={type:"image",url:t,children:[BR]};V.insertNodes(e,r)},gv=e=>{let{normalizeNode:t,isVoid:r}=e;return e.isVoid=n=>n.type==="image"?!0:r(n),e.normalizeNode=([n,o])=>{if(q.isElement(n)&&n.type==="image"&&n.url!==void 0){let a={type:"paragraph",children:[BR]},s=(0,yo.isNotUndefined)(o[0])?o[0]+1:1;V.insertNodes(e,a,{at:[s]}),V.move(e)}q.isElement(n)&&n.type==="image"&&n.url===void 0&&(0,yo.isNotUndefined)(n.children)&&(0,yo.isNotUndefined)(n.children[0])&&(0,yo.isNotUndefined)(n.children[0].text)&&n.children[0].text.trim()!==""&&V.setNodes(e,{type:"span"},{match:a=>q.isElement(a)&&a.type==="image"&&a.url===void 0&&(0,yo.isNotUndefined)(a.children)&&Q.isText(a.children[0])&&(0,yo.isNotNil)(a.children[0].text)&&a.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};i();var OR=A(ee());var IQ=e=>!!/^#.+$/i.test(e),MR=e=>{let[t]=C.nodes(e,{match:r=>q.isElement(r)&&r.type==="link"});return!!t},IR=e=>{V.unwrapNodes(e,{match:t=>q.isElement(t)&&t.type==="link"})},vv=(e,t)=>{MR(e)&&IR(e);let{selection:r}=e,n=r&&M.isCollapsed(r),o={type:"link",url:t,children:n===!0?[{text:t}]:[]};n===!0?V.insertNodes(e,o):(V.wrapNodes(e,o,{split:!0}),V.collapse(e,{edge:"end"}))},yv=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=a=>a.type==="link"?!0:n(a),e.insertText=a=>{a&&Bo(a)?vv(e,a):r(a)},e.insertData=a=>{let s=a.getData("text/plain");s&&Bo(s)?vv(e,s):t(a)},e.normalizeNode=([a,s])=>{q.isElement(a)&&a.type==="link"&&K.string(a)===""&&(V.unwrapNodes(e,{at:s}),V.select(e,T.next(s))),o([a,s])},e},bv=e=>{if(MR(e))IR(e);else{let t=prompt("Enter the URL of the link:");if(!(0,OR.isNonEmptyString)(t)){vo(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces."),vo(e,"link");return}if(!Bo(t)&&!IQ(t)){alert("The URL provided looks invalid. Try again. Make sure to include the protocol (ex. https://) in the URL."),vo(e,"link");return}e.selection&&vv(e,t)}};i();var kR={...C,isBlck:C.isBlock},kQ={type:"paragraph",children:[{text:"",marks:[]}]},NQ=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",Cv=e=>{let{selection:t}=e,r=t&&M.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",a=kR.above(e,{match:s=>kR.isBlck(e,s)});(r??!1)&&o&&NQ(a[0].children)&&(V.removeNodes(e,{hanging:!0}),V.insertNodes(e,kQ),V.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};i();var ut=Object.freeze({BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",STRIKETHROUGH:"STRIKETHROUGH",HEADING_1:"HEADING_1",HEADING_2:"HEADING_2",BLOCKQUOTE:"BLOCKQUOTE",NUMBERED_LIST:"NUMBERED_LIST",BULLETED_LIST:"BULLETED_LIST",LINK:"LINK",IMAGE:"IMAGE"});i();i();var hm=A(ee());i();var xv={"block-quote":"BlockQuote",bold:"Bold","bulleted-list":"BulletedList",heading:"Heading","heading-two":"HeadingTwo",image:"Image",italic:"Italic",link:"Link","numbered-list":"NumberedList",strikethrough:"Strikethrough",underline:"Underline"};var Mv={};ff(Mv,{BlockQuote:()=>NR,Bold:()=>VR,BulletedList:()=>LR,Heading:()=>$R,HeadingTwo:()=>zR,Image:()=>HR,Italic:()=>GR,Link:()=>jR,NumberedList:()=>_R,Strikethrough:()=>WR,Underline:()=>UR});i();i();var wv=require("react/jsx-runtime"),NR=e=>(0,wv.jsx)("svg",{...e,children:(0,wv.jsx)("path",{d:"M4.2125 11.0375C4.35417 11.1792 4.53333 11.25 4.75 11.25H19.25C19.4667 11.25 19.6458 11.1792 19.7875 11.0375C19.9292 10.8958 20 10.7167 20 10.5C20 10.2833 19.9292 10.1042 19.7875 9.9625C19.6458 9.82083 19.4667 9.75 19.25 9.75H4.75C4.53333 9.75 4.35417 9.82083 4.2125 9.9625C4.07083 10.1042 4 10.2833 4 10.5C4 10.7167 4.07083 10.8958 4.2125 11.0375ZM4.2125 14.0375C4.35417 14.1792 4.53333 14.25 4.75 14.25H12.975C13.1917 14.25 13.3708 14.1792 13.5125 14.0375C13.6542 13.8958 13.725 13.7167 13.725 13.5C13.725 13.2833 13.6542 13.1042 13.5125 12.9625C13.3708 12.8208 13.1917 12.75 12.975 12.75H4.75C4.53333 12.75 4.35417 12.8208 4.2125 12.9625C4.07083 13.1042 4 13.2833 4 13.5C4 13.7167 4.07083 13.8958 4.2125 14.0375ZM1.5 10C1.22386 10 1 10.2239 1 10.5V14C1 14.2761 1.22386 14.5 1.5 14.5C1.77614 14.5 2 14.2761 2 14V10.5C2 10.2239 1.77614 10 1.5 10Z",fill:"currentColor"})});i();var Sv=require("react/jsx-runtime"),VR=e=>(0,Sv.jsx)("svg",{...e,children:(0,Sv.jsx)("path",{d:"M16.9995 11.7C18.354 10.743 19.302 9.17101 19.302 7.71451C19.302 4.48501 16.86 1.99951 13.722 1.99951H4.998V22.0005H14.823C17.7375 22.0005 19.998 19.5705 19.998 16.5855C19.998 14.415 18.798 12.5565 16.998 11.7H16.9995ZM9.186 5.57101H13.371C14.5305 5.57101 15.465 6.52801 15.465 7.71451C15.465 8.89951 14.5305 9.85651 13.3725 9.85651H9.186V5.57101ZM14.07 18.429H9.186V14.1435H14.07C15.228 14.1435 16.1625 15.1005 16.1625 16.2855C16.1625 17.4705 15.228 18.429 14.07 18.429V18.429Z",fill:"currentColor"})});i();var Dv=require("react/jsx-runtime"),LR=e=>(0,Dv.jsx)("svg",{...e,children:(0,Dv.jsx)("path",{d:"M4.0005 10.5C3.1695 10.5 2.5005 11.1705 2.5005 12C2.5005 12.8295 3.1695 13.5 4.0005 13.5C4.83 13.5 5.5005 12.8295 5.5005 12C5.5005 11.1705 4.83 10.5 4.0005 10.5ZM4.0005 4.5C3.1695 4.5 2.5005 5.1705 2.5005 6C2.5005 6.8295 3.1695 7.5 4.0005 7.5C4.83 7.5 5.5005 6.8295 5.5005 6C5.5005 5.1705 4.83 4.5 4.0005 4.5ZM4.0005 16.5C3.1695 16.5 2.5005 17.1795 2.5005 18C2.5005 18.8205 3.18 19.5 4.0005 19.5C4.8195 19.5 5.5005 18.8205 5.5005 18C5.5005 17.1795 4.83 16.5 4.0005 16.5ZM7.0005 19.0005H21V16.9995H7.0005V19.0005ZM7.0005 13.0005H21V10.9995H7.0005V13.0005ZM7.0005 4.9995V7.0005H21V4.9995H7.0005Z",fill:"currentColor"})});i();var Ev=require("react/jsx-runtime"),$R=e=>(0,Ev.jsx)("svg",{...e,children:(0,Ev.jsx)("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});i();var Pv=require("react/jsx-runtime"),zR=e=>(0,Pv.jsx)("svg",{...e,children:(0,Pv.jsx)("path",{d:"M3 17V7H4.5V11.25H9V7H10.5V17H9V12.75H4.5V17H3ZM13.5 17V12.75C13.5 12.3333 13.6458 11.9792 13.9375 11.6875C14.2292 11.3958 14.5833 11.25 15 11.25H19.5V8.5H13.5V7H19.5C19.9167 7 20.2708 7.14583 20.5625 7.4375C20.8542 7.72917 21 8.08333 21 8.5V11.25C21 11.6667 20.8542 12.0208 20.5625 12.3125C20.2708 12.6042 19.9167 12.75 19.5 12.75H15V15.5H21V17H13.5Z",fill:"currentColor"})});i();var Tv=require("react/jsx-runtime"),HR=e=>(0,Tv.jsx)("svg",{...e,children:(0,Tv.jsx)("path",{d:"M21 19.0005V4.9995C21 3.9 20.1 3 19.0005 3H4.9995C3.9 3 3 3.9 3 4.9995V19.0005C3 20.1 3.9 21 4.9995 21H19.0005C20.1 21 21 20.1 21 19.0005ZM8.5005 13.5L10.9995 16.5105L14.5005 12L19.0005 18H4.9995L8.5005 13.5Z",fill:"currentColor"})});i();var Av=require("react/jsx-runtime"),GR=e=>(0,Av.jsx)("svg",{...e,children:(0,Av.jsx)("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});i();var Rv=require("react/jsx-runtime"),jR=e=>(0,Rv.jsx)("svg",{...e,children:(0,Rv.jsx)("path",{d:"M2.28 12C2.28 9.948 3.948 8.28 6 8.28H10.8V6H6C2.688 6 0 8.688 0 12C0 15.312 2.688 18 6 18H10.8V15.72H6C3.948 15.72 2.28 14.052 2.28 12ZM7.2 13.2H16.8V10.8H7.2V13.2ZM18 6H13.2V8.28H18C20.052 8.28 21.72 9.948 21.72 12C21.72 14.052 20.052 15.72 18 15.72H13.2V18H18C21.312 18 24 15.312 24 12C24 8.688 21.312 6 18 6Z",fill:"currentColor"})});i();var Fv=require("react/jsx-runtime"),_R=e=>(0,Fv.jsx)("svg",{...e,children:(0,Fv.jsx)("path",{d:"M3.425 20C3.30833 20 3.20833 19.9583 3.125 19.875C3.04167 19.7917 3 19.6917 3 19.575C3 19.4583 3.04167 19.3583 3.125 19.275C3.20833 19.1917 3.30833 19.15 3.425 19.15H5.1V18.5H4.475C4.35833 18.5 4.25833 18.4583 4.175 18.375C4.09167 18.2917 4.05 18.1917 4.05 18.075C4.05 17.9583 4.09167 17.8583 4.175 17.775C4.25833 17.6917 4.35833 17.65 4.475 17.65H5.1V17H3.425C3.30833 17 3.20833 16.9583 3.125 16.875C3.04167 16.7917 3 16.6917 3 16.575C3 16.4583 3.04167 16.3583 3.125 16.275C3.20833 16.1917 3.30833 16.15 3.425 16.15H5.525C5.64167 16.15 5.74167 16.1917 5.825 16.275C5.90833 16.3583 5.95 16.4583 5.95 16.575V19.575C5.95 19.6917 5.90833 19.7917 5.825 19.875C5.74167 19.9583 5.64167 20 5.525 20H3.425ZM4.475 7.9C4.35833 7.9 4.25833 7.85833 4.175 7.775C4.09167 7.69167 4.05 7.59167 4.05 7.475V4.85H3.425C3.30833 4.85 3.20833 4.80833 3.125 4.725C3.04167 4.64167 3 4.54167 3 4.425C3 4.30833 3.04167 4.20833 3.125 4.125C3.20833 4.04167 3.30833 4 3.425 4H4.475C4.59167 4 4.69167 4.04167 4.775 4.125C4.85833 4.20833 4.9 4.30833 4.9 4.425V7.475C4.9 7.59167 4.85833 7.69167 4.775 7.775C4.69167 7.85833 4.59167 7.9 4.475 7.9V7.9ZM3.425 13.925C3.30833 13.925 3.20833 13.8833 3.125 13.8C3.04167 13.7167 3 13.6167 3 13.5V13.275C3 13.2583 3.03333 13.1667 3.1 13L4.875 10.925H3.425C3.30833 10.925 3.20833 10.8833 3.125 10.8C3.04167 10.7167 3 10.6167 3 10.5C3 10.3833 3.04167 10.2833 3.125 10.2C3.20833 10.1167 3.30833 10.075 3.425 10.075H5.525C5.64167 10.075 5.74167 10.1167 5.825 10.2C5.90833 10.2833 5.95 10.3833 5.95 10.5V10.725C5.95 10.7417 5.91667 10.8333 5.85 11L4.05 13.075H5.525C5.64167 13.075 5.74167 13.1167 5.825 13.2C5.90833 13.2833 5.95 13.3833 5.95 13.5C5.95 13.6167 5.90833 13.7167 5.825 13.8C5.74167 13.8833 5.64167 13.925 5.525 13.925H3.425ZM8.975 18.775C8.75833 18.775 8.57917 18.7042 8.4375 18.5625C8.29583 18.4208 8.225 18.2417 8.225 18.025C8.225 17.8083 8.29583 17.6292 8.4375 17.4875C8.57917 17.3458 8.75833 17.275 8.975 17.275H20.25C20.4667 17.275 20.6458 17.3458 20.7875 17.4875C20.9292 17.6292 21 17.8083 21 18.025C21 18.2417 20.9292 18.4208 20.7875 18.5625C20.6458 18.7042 20.4667 18.775 20.25 18.775H8.975ZM8.975 12.7C8.75833 12.7 8.57917 12.6292 8.4375 12.4875C8.29583 12.3458 8.225 12.1667 8.225 11.95C8.225 11.7333 8.29583 11.5542 8.4375 11.4125C8.57917 11.2708 8.75833 11.2 8.975 11.2H20.25C20.4667 11.2 20.6458 11.2708 20.7875 11.4125C20.9292 11.5542 21 11.7333 21 11.95C21 12.1667 20.9292 12.3458 20.7875 12.4875C20.6458 12.6292 20.4667 12.7 20.25 12.7H8.975ZM8.975 6.625C8.75833 6.625 8.57917 6.55417 8.4375 6.4125C8.29583 6.27083 8.225 6.09167 8.225 5.875C8.225 5.65833 8.29583 5.47917 8.4375 5.3375C8.57917 5.19583 8.75833 5.125 8.975 5.125H20.25C20.4667 5.125 20.6458 5.19583 20.7875 5.3375C20.9292 5.47917 21 5.65833 21 5.875C21 6.09167 20.9292 6.27083 20.7875 6.4125C20.6458 6.55417 20.4667 6.625 20.25 6.625H8.975Z",fill:"currentColor"})});i();var Bv=require("react/jsx-runtime"),WR=e=>(0,Bv.jsx)("svg",{...e,children:(0,Bv.jsx)("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});i();var Ov=require("react/jsx-runtime"),UR=e=>(0,Ov.jsx)("svg",{...e,children:(0,Ov.jsx)("path",{d:"M5 21V19.5H19V21H5ZM12 17C10.3167 17 8.89583 16.425 7.7375 15.275C6.57917 14.125 6 12.7167 6 11.05V3H8V11.1C8 12.2 8.38333 13.125 9.15 13.875C9.91667 14.625 10.8667 15 12 15C13.1333 15 14.0833 14.625 14.85 13.875C15.6167 13.125 16 12.2 16 11.1V3H18V11.05C18 12.7167 17.4208 14.125 16.2625 15.275C15.1042 16.425 13.6833 17 12 17Z",fill:"currentColor"})});var KR=require("react/jsx-runtime"),gm={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},ur=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if((0,hm.isNil)(n))throw new Error("An Icon component requires a `type` prop to be provided");if((0,hm.isNil)(xv[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if((0,hm.isNil)(gm[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let a=Mv[xv[n]],s={verticalAlign:"middle",...r};return(0,KR.jsx)(a,{"aria-hidden":"true",color:e,height:`${gm[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${gm[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};ur.displayName="Icon_VHS";var Le=require("react/jsx-runtime"),VQ=qR.default.div`
|
|
1874
1874
|
background: white;
|
|
1875
1875
|
border-bottom: 1px solid ${({theme:e})=>e.color.grey400};
|
|
1876
1876
|
display: flex;
|
|
@@ -1884,7 +1884,7 @@
|
|
|
1884
1884
|
* did not add to theme because it doesn't interact with any other components
|
|
1885
1885
|
*/
|
|
1886
1886
|
z-index: 1;
|
|
1887
|
-
`,ln=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let a=sm(),s=Be("brandBlue500"),u=o==="block"?dm(a,e):mm(a,e);return(0,Le.jsx)(so,{"aria-pressed":u,colorOverride:u?s:void 0,disabled:r,icon:t,label:e,onClick:p=>{p.preventDefault(),o==="block"?xi(a,e):vo(a,e),n&&n(p)},preventTooltip:!0})},LQ=e=>{if(!e.selection)return"";let t=K.fragment(e,e.selection);return t[0]?K.string(t[0]):""},$Q=e=>LQ(e).trim()==="",
|
|
1887
|
+
`,ln=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let a=sm(),s=Be("brandBlue500"),u=o==="block"?dm(a,e):mm(a,e);return(0,Le.jsx)(so,{"aria-pressed":u,colorOverride:u?s:void 0,disabled:r,icon:t,label:e,onClick:p=>{p.preventDefault(),o==="block"?xi(a,e):vo(a,e),n&&n(p)},preventTooltip:!0})},LQ=e=>{if(!e.selection)return"";let t=K.fragment(e,e.selection);return t[0]?K.string(t[0]):""},$Q=e=>LQ(e).trim()==="",YR=({enabledFormats:e=["BOLD","ITALIC","HEADING_1","LINK","BULLETED_LIST","IMAGE"],disabled:t=!1})=>{let r=sm();return(0,Le.jsxs)(VQ,{children:[e.includes(ut.BOLD)&&(0,Le.jsx)(ln,{buttonType:"mark",disabled:t,format:"bold",icon:(0,Le.jsx)(ur,{type:"bold"})}),e.includes(ut.ITALIC)&&(0,Le.jsx)(ln,{buttonType:"mark",disabled:t,format:"italic",icon:(0,Le.jsx)(ur,{type:"italic"})}),e.includes(ut.HEADING_1)&&(0,Le.jsx)(ln,{buttonType:"block",disabled:t,format:"heading-one",icon:(0,Le.jsx)(ur,{type:"heading"})}),e.includes(ut.HEADING_2)&&(0,Le.jsx)(ln,{buttonType:"block",disabled:t,format:"heading-two",icon:(0,Le.jsx)(ur,{type:"heading-two"})}),e.includes(ut.BULLETED_LIST)&&(0,Le.jsx)(ln,{buttonType:"block",disabled:t,format:"bulleted-list",icon:(0,Le.jsx)(ur,{type:"bulleted-list"})}),e.includes(ut.NUMBERED_LIST)&&(0,Le.jsx)(ln,{buttonType:"block",disabled:t,format:"numbered-list",icon:(0,Le.jsx)(ur,{type:"numbered-list"})}),e.includes(ut.BLOCKQUOTE)&&(0,Le.jsx)(ln,{buttonType:"block",disabled:t,format:"blockquote",icon:(0,Le.jsx)(ur,{type:"block-quote"})}),e.includes(ut.UNDERLINE)&&(0,Le.jsx)(ln,{buttonType:"mark",disabled:t,format:"underline",icon:(0,Le.jsx)(ur,{type:"underline"})}),e.includes(ut.STRIKETHROUGH)&&(0,Le.jsx)(ln,{buttonType:"mark",disabled:t,format:"strikethrough",icon:(0,Le.jsx)(ur,{type:"strikethrough"})}),e.includes(ut.LINK)&&(0,Le.jsx)(ln,{buttonType:"mark",disabled:t||$Q(r),format:"link",icon:(0,Le.jsx)(ur,{type:"link"}),onCustomClick:n=>{n.preventDefault(),bv(r)}}),e.includes(ut.IMAGE)&&(0,Le.jsx)(ln,{buttonType:"block",disabled:t,format:"image",icon:(0,Le.jsx)(ur,{type:"image"}),onCustomClick:n=>{n.preventDefault();let o=prompt("Enter the URL of the image:");(0,XR.isNonEmptyString)(o)&&hv(r,o)}})]})};var wi=require("react/jsx-runtime"),zQ=(0,Iv.default)(nR)`
|
|
1888
1888
|
color: ${({theme:e})=>e.color.grey900};
|
|
1889
1889
|
outline: none; /* prevent blue accessibility outline from appearing on focus */
|
|
1890
1890
|
`,HQ="300px",GQ=Iv.default.div`
|
|
@@ -1901,9 +1901,9 @@
|
|
|
1901
1901
|
strong {
|
|
1902
1902
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
1903
1903
|
}
|
|
1904
|
-
`,
|
|
1904
|
+
`,JR={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},jQ={text:""},ZR=[{type:"paragraph",children:[jQ]}],Fc=({enabledFormats:e=Object.values(ut),value:t=ZR,onChange:r,onBlur:n,placeholder:o="Enter some rich text...",disabled:a=!1,ariaLabelledBy:s,useExternalValue:u,"data-testid":l="vhs-rich-text-editor",height:c,...p})=>{let d=(0,Si.useCallback)(y=>(0,wi.jsx)(RR,{...y}),[]),h=(0,Si.useCallback)(y=>(0,wi.jsx)(PR,{...y}),[]),g=(0,Si.useMemo)(()=>gv(yv(uR(sR(_1())))),[]),v=y=>{if((0,Gt.isNil)(y)||(0,Gt.isNil)(y[0])||(0,Gt.isNil)(y[0].children))return!1;let{text:x}=y[0].children[0];return(0,Gt.isNonEmptyString)(x)};(0,Si.useEffect)(()=>{let y=(0,eF.default)(t,ZR),x=Ca(t),w=Ca(g.children);(y||v(t)&&u&&x!==w)&&(g.children=t,g.selection=null,g.onChange())},[t,g,u]);let m=y=>{let x=g.children;(0,Gt.isNotNil)(n)&&n(x)},b=(0,Si.useCallback)(()=>{let{selection:y}=g;if((0,Gt.isNil)(y)||(0,Gt.isNil)(y.anchor.path[0]))return;let x=g.children[y.anchor.path[0]];if(q.isElement(x)&&x.type==="image"){xi(g,"image"),V.removeNodes(g,{at:y}),V.move(g,{reverse:!0});let w=g.children.filter(S=>S.type==="span")[0];q.isElement(w)&&w.type==="span"&&(0,Gt.isNotNil)(w.children)&&(0,Gt.isNotNil)(w.children[0])&&(0,Gt.isNotNil)(w.children[0].text)&&w.children[0].text.trim()!==""&&V.setNodes(g,{type:"paragraph"},{match:S=>S.type==="span"&&(0,Gt.isNotNil)(S.children)&&Q.isText(S.children[0])&&(0,Gt.isNotNil)(S.children[0].text)&&S.children[0].text.trim()!=="",split:!0,mode:"highest"})}},[g]);return(0,wi.jsx)(GQ,{"data-testid":l,disabled:a,height:c,onClick:()=>H.focus(g),children:(0,wi.jsxs)(aR,{editor:g,initialValue:t,onChange:r,...p,children:[(0,wi.jsx)(YR,{disabled:a,enabledFormats:e}),(0,wi.jsx)(zQ,{"aria-labelledby":s,autoFocus:!1,"data-testid":"editor-content",onBlur:m,onKeyDown:y=>{Object.keys(JR).forEach(x=>{(0,QR.default)(x,y)&&(y.preventDefault(),vo(g,JR[x]))}),y.key==="Enter"&&!y.shiftKey&&Cv(g),(y.key==="Backspace"||y.key==="Clear"||y.key==="Delete")&&b()},placeholder:o,readOnly:a,renderElement:d,renderLeaf:h,spellCheck:!0})]})})};Fc.displayName="RichTextEditor_VHS";var vm=require("react/jsx-runtime"),_Q=tF.default.div`
|
|
1905
1905
|
margin-top: ${({theme:e})=>e.spacing.space02};
|
|
1906
|
-
`,bm=({field:{name:e,value:t,onChange:r},form:{errors:n},label:o,labelDescription:a,labelProps:s={},placeholder:u="",disabled:l=!1,enabledFormats:c=Object.values(ut),useExternalValue:p=!1,height:d=void 0,...h})=>{let[g,v]=(0,ym.useState)(Rc(yr(t))),m=(0,
|
|
1906
|
+
`,bm=({field:{name:e,value:t,onChange:r},form:{errors:n},label:o,labelDescription:a,labelProps:s={},placeholder:u="",disabled:l=!1,enabledFormats:c=Object.values(ut),useExternalValue:p=!1,height:d=void 0,...h})=>{let[g,v]=(0,ym.useState)(Rc(yr(t))),m=(0,rF.isNotUndefined)(o)?`${e}-label-id`:void 0;return(0,ym.useEffect)(()=>{p&&v(Rc(yr(t)))},[p,t]),(0,vm.jsx)(or,{disabled:l,error:n[e],label:o,labelDescription:a,labelId:m,labelProps:s,name:e,children:(0,vm.jsx)(_Q,{"data-testid":`richTextEditor-${e}`,children:(0,vm.jsx)(Fc,{ariaLabelledBy:m,disabled:l,enabledFormats:c,height:d,onChange:b=>{v(b);let y=Ca(b)??"";r(e)(y)},placeholder:u,useExternalValue:p,value:g,...h})})})};bm.displayName="FormConnectorRichTextEditor_VHS";var kv=require("react/jsx-runtime"),WQ=Nv.default.fieldset`
|
|
1907
1907
|
border: 0;
|
|
1908
1908
|
flex-grow: 1;
|
|
1909
1909
|
margin: ${({theme:e})=>`0 0 ${e.spacing.space05}`};
|
|
@@ -1915,9 +1915,9 @@
|
|
|
1915
1915
|
pointer-events: none;
|
|
1916
1916
|
}
|
|
1917
1917
|
}
|
|
1918
|
-
`,UQ=(0,Nv.default)(
|
|
1918
|
+
`,UQ=(0,Nv.default)(yD)`
|
|
1919
1919
|
resize: ${({resize:e})=>e};
|
|
1920
|
-
`,KQ={FormConnectorCheckboxGroup:D1,FormConnectorCustomField:E1,FormConnectorInput:A1,FormConnectorRadioGroup:F1,FormConnectorSelect:M1,FormConnectorHidden:I1,FormConnectorRichTextEditor:bm},Vv=(0,
|
|
1920
|
+
`,KQ={FormConnectorCheckboxGroup:D1,FormConnectorCustomField:E1,FormConnectorInput:A1,FormConnectorRadioGroup:F1,FormConnectorSelect:M1,FormConnectorHidden:I1,FormConnectorRichTextEditor:bm},Vv=(0,nF.forwardRef)(({resize:e="vertical",customComponent:t,direction:r="column",disabled:n=!1,label:o,labelDescription:a,labelProps:s={},name:u="",onChangeCustom:l,options:c,placeholder:p=null,type:d="text",...h},g)=>(0,kv.jsx)(WQ,{disabled:n,id:`fieldset-${u}`,children:(0,kv.jsx)(UQ,{component:KQ[sP[d].component],customComponent:t,direction:r,disabled:n,id:`field-${u}`,innerRef:g,label:o,labelDescription:a,labelProps:s,name:u,onChangeCustom:l,options:c,placeholder:p,resize:e,type:d,...h})}));Vv.displayName="FormField_VHS";i();i();var oF=A(require("styled-components")),iF=A(ee());var wu=require("react/jsx-runtime"),qQ=(0,oF.default)(Qe)`
|
|
1921
1921
|
color: ${({theme:e})=>e.color.grey700};
|
|
1922
1922
|
height: 42px;
|
|
1923
1923
|
position: fixed;
|
|
@@ -1928,14 +1928,14 @@
|
|
|
1928
1928
|
&:hover {
|
|
1929
1929
|
color: ${({theme:e})=>e.color.grey900};
|
|
1930
1930
|
}
|
|
1931
|
-
`,Lv=({content:e,toggle:t,backgroundColor:r,initialShownState:n=!1,onBeforeHide:o,onHide:a})=>{let s=Be("grey100");return(0,wu.jsx)(ia,{initialShownState:n,onBeforeHide:o,onHide:a,render:u=>(0,wu.jsxs)(tn,{backgroundColor:(0,
|
|
1931
|
+
`,Lv=({content:e,toggle:t,backgroundColor:r,initialShownState:n=!1,onBeforeHide:o,onHide:a})=>{let s=Be("grey100");return(0,wu.jsx)(ia,{initialShownState:n,onBeforeHide:o,onHide:a,render:u=>(0,wu.jsxs)(tn,{backgroundColor:(0,iF.isNonEmptyString)(r)?r:s,children:[(0,wu.jsx)(qQ,{noStyle:!0,onClick:u,title:"Close",children:(0,wu.jsx)(b1,{})}),e(u)]}),toggle:t})};Lv.displayName="FullScreenModal_VHS";i();i();var aF=A(require("styled-components")),sF=require("react/jsx-runtime"),XQ=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e===!0)return`
|
|
1932
1932
|
width: 100%;
|
|
1933
1933
|
height: 100%;
|
|
1934
|
-
`},YQ=
|
|
1934
|
+
`},YQ=aF.default.img`
|
|
1935
1935
|
${({fillContainer:e})=>XQ(e)};
|
|
1936
1936
|
object-fit: ${({objFit:e})=>e};
|
|
1937
1937
|
object-position: ${({objPosition:e})=>e};
|
|
1938
|
-
`,$v=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>(0,
|
|
1938
|
+
`,$v=({src:e,alt:t,fill:r=!1,fit:n,loading:o="lazy",position:a,...s})=>(0,sF.jsx)(YQ,{alt:t,fillContainer:r,loading:o,objFit:n,objPosition:a,src:e,...s});$v.displayName="Image_VHS";i();i();var Bc=A(require("styled-components")),uF=A(ee()),Su=require("react/jsx-runtime"),JQ=Bc.default.div`
|
|
1939
1939
|
align-items: center;
|
|
1940
1940
|
display: flex;
|
|
1941
1941
|
gap: ${({theme:e})=>e.spacing.space02};
|
|
@@ -1970,15 +1970,15 @@
|
|
|
1970
1970
|
`,eee=Bc.default.div`
|
|
1971
1971
|
display: flex;
|
|
1972
1972
|
gap: ${({theme:e})=>e.spacing.space01};
|
|
1973
|
-
`,tee=e=>{switch(e){case"ArrowDown":return"\u2193";case"ArrowLeft":return"\u2190";case"ArrowRight":return"\u2192";case"ArrowUp":return"\u2191";case"Alt":return"Alt";case"Cmd":case"Meta":return/Mac|iPhone|iPad/.test(window.navigator.userAgent)?"\u2318":window.navigator.userAgent.includes("Win")?"\u229E":"^";case"Ctrl":return"Ctrl";case"Option":return"\u2325";case"Shift":return"\u21E7";case"Enter":return"\u21B5";case"Space":return"Space";case"Tab":return"Tab";case"Backspace":return"Del";case"Esc":return"Esc";default:return e.toUpperCase()}},zv=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>(0,Su.jsxs)(JQ,{componentStyle:n,fullWidth:r,...o,children:[(0,
|
|
1973
|
+
`,tee=e=>{switch(e){case"ArrowDown":return"\u2193";case"ArrowLeft":return"\u2190";case"ArrowRight":return"\u2192";case"ArrowUp":return"\u2191";case"Alt":return"Alt";case"Cmd":case"Meta":return/Mac|iPhone|iPad/.test(window.navigator.userAgent)?"\u2318":window.navigator.userAgent.includes("Win")?"\u229E":"^";case"Ctrl":return"Ctrl";case"Option":return"\u2325";case"Shift":return"\u21E7";case"Enter":return"\u21B5";case"Space":return"Space";case"Tab":return"Tab";case"Backspace":return"Del";case"Esc":return"Esc";default:return e.toUpperCase()}},zv=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>(0,Su.jsxs)(JQ,{componentStyle:n,fullWidth:r,...o,children:[(0,uF.isNotNil)(e)&&(0,Su.jsx)(QQ,{componentStyle:n,children:e}),(0,Su.jsx)(eee,{children:[...t].map((a,s)=>(0,Su.jsx)(ZQ,{componentStyle:n,children:tee(a)},s))})]});zv.displayName="KeyboardShortcut_VHS";i();i();i();var lF=require("react"),cF=A(require("styled-components")),Du=A(ee());var fF=require("react/jsx-runtime"),ree=e=>e.key==="Enter"||e.key===" "||e.key==="Spacebar",nee=cF.default.span`
|
|
1974
1974
|
${({noStyle:e})=>e?void 0:l1};
|
|
1975
1975
|
|
|
1976
1976
|
&[tabindex] {
|
|
1977
1977
|
${({underlineOnHover:e})=>e?u1:void 0};
|
|
1978
1978
|
}
|
|
1979
|
-
`,Hv=(0,
|
|
1979
|
+
`,Hv=(0,lF.forwardRef)(({children:e,disabled:t=!1,forceState:r,label:n,onClick:o,noStyle:a=!1,underlineOnHover:s=!1,variant:u="primary",...l},c)=>(0,fF.jsx)(nee,{ref:c,"aria-disabled":t,disabledLink:t,forceState:r,noStyle:a,onClick:v=>{(0,Du.isNil)(o)||t||o(v)},onKeyPress:v=>{(0,Du.isNil)(o)||ree(v)&&(v.preventDefault(),o(v))},role:"button",tabIndex:t?void 0:0,underlineOnHover:s,variant:u,...l,children:(0,Du.isNotNil)(e)?e:(0,Du.isNotNil)(n)?n:null}));Hv.displayName="LinkButton_VHS";i();i();var Gv=A(ee()),Di=A(require("styled-components"));i();var pF=A(require("styled-components")),dF=A(ee()),mF=require("react/jsx-runtime"),oee=pF.default.li`
|
|
1980
1980
|
margin-bottom: ${({theme:e})=>e.spacing.space02};
|
|
1981
|
-
`,wa=({children:e})=>(0,
|
|
1981
|
+
`,wa=({children:e})=>(0,dF.isNil)(e)?null:(0,mF.jsx)(oee,{children:e});wa.displayName="ListItem_VHS";var Mc=require("react/jsx-runtime"),Cm=Di.css`
|
|
1982
1982
|
overflow: hidden;
|
|
1983
1983
|
padding-left: 0;
|
|
1984
1984
|
vertical-align: bottom;
|
|
@@ -2055,7 +2055,7 @@
|
|
|
2055
2055
|
li ol {
|
|
2056
2056
|
margin-bottom: 0;
|
|
2057
2057
|
}
|
|
2058
|
-
`,
|
|
2058
|
+
`,hF=(e,t,{...r})=>(0,Mc.jsx)(lee,{as:t==="ordered"?"ol":"ul",variant:t,...r,children:e}),gF=(e,t,r)=>{let n=0,o=e.map((a,s)=>{let u=a,l=e[s+1],c=`item-${n+=1}`;return Array.isArray(l)?(0,Mc.jsxs)(wa,{children:[u,gF(l,t,r)]},c):Array.isArray(u)?null:(0,Mc.jsx)(wa,{children:u},c)});return hF(o,t,r)},Oc=({children:e,items:t,variant:r,...n})=>{let o=r??"bullets";return(0,Gv.isNotNil)(e)?Array.isArray(e)&&!e.length?null:hF(e,o,n):(0,Gv.isNotNil)(t)&&t.length?gF(t,o,n):null};Oc.displayName="List_VHS";i();i();var xm=A(require("styled-components")),vF=A(ee()),Ic=require("react/jsx-runtime"),cee=e=>{if(e==="bottom")return"flex-end";if(e==="middle")return"center";if(e==="top")return"flex-start"},yF=xm.default.div`
|
|
2059
2059
|
align-items: flex-start;
|
|
2060
2060
|
display: flex;
|
|
2061
2061
|
flex-direction: row;
|
|
@@ -2067,7 +2067,7 @@
|
|
|
2067
2067
|
min-width: 0;
|
|
2068
2068
|
|
|
2069
2069
|
/* this allows deeply nested media objects to have a little separation */
|
|
2070
|
-
> ${
|
|
2070
|
+
> ${yF} {
|
|
2071
2071
|
margin-top: 1rem;
|
|
2072
2072
|
}
|
|
2073
2073
|
`,pee=xm.default.div`
|
|
@@ -2083,7 +2083,7 @@
|
|
|
2083
2083
|
which in turn throws off perfect centering */
|
|
2084
2084
|
vertical-align: bottom;
|
|
2085
2085
|
}
|
|
2086
|
-
`,jv=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...a})=>(0,Ic.jsxs)(bF,{...a,children:[(0,yF.isNotNil)(n)?(0,Ic.jsx)(pee,{align:t,gap:r,placement:e,children:n}):null,(0,Ic.jsx)(fee,{align:t,children:o})]});jv.displayName="MediaObject_VHS";i();var wM=require("react"),Vn=A(require("styled-components"));i();var ft=A(require("react"),1);i();function be(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}i();var CF=A(require("react"),1);function dee(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Sa(...e){return t=>e.forEach(r=>dee(r,t))}function tt(...e){return CF.useCallback(Sa(...e),e)}i();var bo=A(require("react"),1),xF=require("react/jsx-runtime");function Bn(e,t=[]){let r=[];function n(a,s){let u=bo.createContext(s),l=r.length;r=[...r,s];function c(d){let{scope:h,children:g,...v}=d,m=h?.[e][l]||u,b=bo.useMemo(()=>v,Object.values(v));return(0,xF.jsx)(m.Provider,{value:b,children:g})}function p(d,h){let g=h?.[e][l]||u,v=bo.useContext(g);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,p]}let o=()=>{let a=r.map(s=>bo.createContext(s));return function(u){let l=u?.[e]||a;return bo.useMemo(()=>({[`__scope${e}`]:{...u,[e]:l}}),[u,l])}};return o.scopeName=e,[n,mee(o,...t)]}function mee(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){let s=n.reduce((u,{useScope:l,scopeName:c})=>{let d=l(a)[`__scope${c}`];return{...u,...d}},{});return bo.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}i();var Ei=A(require("react"),1);i();var Eu=A(require("react"),1);function lt(e){let t=Eu.useRef(e);return Eu.useEffect(()=>{t.current=e}),Eu.useMemo(()=>(...r)=>t.current?.(...r),[])}function kc({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=hee({defaultProp:t,onChange:r}),a=e!==void 0,s=a?e:n,u=lt(r),l=Ei.useCallback(c=>{if(a){let d=typeof c=="function"?c(e):c;d!==e&&u(d)}else o(c)},[a,e,o,u]);return[s,l]}function hee({defaultProp:e,onChange:t}){let r=Ei.useState(e),[n]=r,o=Ei.useRef(n),a=lt(t);return Ei.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}i();var wF=A(require("react"),1),SF=A(require("react-dom"),1);i();var Et=A(require("react"),1);var Pu=require("react/jsx-runtime"),Pi=Et.forwardRef((e,t)=>{let{children:r,...n}=e,o=Et.Children.toArray(r),a=o.find(vee);if(a){let s=a.props.children,u=o.map(l=>l===a?Et.Children.count(s)>1?Et.Children.only(null):Et.isValidElement(s)?s.props.children:null:l);return(0,Pu.jsx)(_v,{...n,ref:t,children:Et.isValidElement(s)?Et.cloneElement(s,void 0,u):null})}return(0,Pu.jsx)(_v,{...n,ref:t,children:r})});Pi.displayName="Slot";var _v=Et.forwardRef((e,t)=>{let{children:r,...n}=e;if(Et.isValidElement(r)){let o=bee(r);return Et.cloneElement(r,{...yee(n,r.props),ref:t?Sa(t,o):o})}return Et.Children.count(r)>1?Et.Children.only(null):null});_v.displayName="SlotClone";var gee=({children:e})=>(0,Pu.jsx)(Pu.Fragment,{children:e});function vee(e){return Et.isValidElement(e)&&e.type===gee}function yee(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...u)=>{a(...u),o(...u)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function bee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var DF=require("react/jsx-runtime"),Cee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Xe=Cee.reduce((e,t)=>{let r=wF.forwardRef((n,o)=>{let{asChild:a,...s}=n,u=a?Pi:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,DF.jsx)(u,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function wm(e,t){e&&SF.flushSync(()=>e.dispatchEvent(t))}i();var ie=A(require("react"),1);i();var Ti=A(require("react"),1);var Sm=require("react/jsx-runtime");function Dm(e){let t=e+"CollectionProvider",[r,n]=Bn(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{let{scope:v,children:m}=g,b=Ti.default.useRef(null),y=Ti.default.useRef(new Map).current;return(0,Sm.jsx)(o,{scope:v,itemMap:y,collectionRef:b,children:m})};s.displayName=t;let u=e+"CollectionSlot",l=Ti.default.forwardRef((g,v)=>{let{scope:m,children:b}=g,y=a(u,m),x=tt(v,y.collectionRef);return(0,Sm.jsx)(Pi,{ref:x,children:b})});l.displayName=u;let c=e+"CollectionItemSlot",p="data-radix-collection-item",d=Ti.default.forwardRef((g,v)=>{let{scope:m,children:b,...y}=g,x=Ti.default.useRef(null),w=tt(v,x),S=a(c,m);return Ti.default.useEffect(()=>(S.itemMap.set(x,{ref:x,...y}),()=>void S.itemMap.delete(x))),(0,Sm.jsx)(Pi,{[p]:"",ref:w,children:b})});d.displayName=c;function h(g){let v=a(e+"CollectionConsumer",g);return Ti.default.useCallback(()=>{let b=v.collectionRef.current;if(!b)return[];let y=Array.from(b.querySelectorAll(`[${p}]`));return Array.from(v.itemMap.values()).sort((S,E)=>y.indexOf(S.ref.current)-y.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},h,n]}i();var Em=A(require("react"),1),xee=require("react/jsx-runtime"),wee=Em.createContext(void 0);function Pm(e){let t=Em.useContext(wee);return e||t||"ltr"}i();var Ye=A(require("react"),1);i();var EF=A(require("react"),1);function PF(e,t=globalThis?.document){let r=lt(e);EF.useEffect(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Uv=require("react/jsx-runtime"),See="DismissableLayer",Wv="dismissableLayer.update",Dee="dismissableLayer.pointerDownOutside",Eee="dismissableLayer.focusOutside",TF,RF=Ye.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kv=Ye.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:u,...l}=e,c=Ye.useContext(RF),[p,d]=Ye.useState(null),h=p?.ownerDocument??globalThis?.document,[,g]=Ye.useState({}),v=tt(t,P=>d(P)),m=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(b),x=p?m.indexOf(p):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,S=x>=y,E=Aee(P=>{let F=P.target,B=[...c.branches].some(I=>I.contains(F));!S||B||(o?.(P),s?.(P),P.defaultPrevented||u?.())},h),D=Ree(P=>{let F=P.target;[...c.branches].some(I=>I.contains(F))||(a?.(P),s?.(P),P.defaultPrevented||u?.())},h);return PF(P=>{x===c.layers.size-1&&(n?.(P),!P.defaultPrevented&&u&&(P.preventDefault(),u()))},h),Ye.useEffect(()=>{if(p)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(TF=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(p)),c.layers.add(p),AF(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=TF)}},[p,h,r,c]),Ye.useEffect(()=>()=>{p&&(c.layers.delete(p),c.layersWithOutsidePointerEventsDisabled.delete(p),AF())},[p,c]),Ye.useEffect(()=>{let P=()=>g({});return document.addEventListener(Wv,P),()=>document.removeEventListener(Wv,P)},[]),(0,Uv.jsx)(Xe.div,{...l,ref:v,style:{pointerEvents:w?S?"auto":"none":void 0,...e.style},onFocusCapture:be(e.onFocusCapture,D.onFocusCapture),onBlurCapture:be(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:be(e.onPointerDownCapture,E.onPointerDownCapture)})});Kv.displayName=See;var Pee="DismissableLayerBranch",Tee=Ye.forwardRef((e,t)=>{let r=Ye.useContext(RF),n=Ye.useRef(null),o=tt(t,n);return Ye.useEffect(()=>{let a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),(0,Uv.jsx)(Xe.div,{...e,ref:o})});Tee.displayName=Pee;function Aee(e,t=globalThis?.document){let r=lt(e),n=Ye.useRef(!1),o=Ye.useRef(()=>{});return Ye.useEffect(()=>{let a=u=>{if(u.target&&!n.current){let c=function(){FF(Dee,r,p,{discrete:!0})};var l=c;let p={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Ree(e,t=globalThis?.document){let r=lt(e),n=Ye.useRef(!1);return Ye.useEffect(()=>{let o=a=>{a.target&&!n.current&&FF(Eee,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function AF(){let e=new CustomEvent(Wv);document.dispatchEvent(e)}function FF(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?wm(o,a):o.dispatchEvent(a)}i();var OF=A(require("react"),1),qv=0;function MF(){OF.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??BF()),document.body.insertAdjacentElement("beforeend",e[1]??BF()),qv++,()=>{qv===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),qv--}},[])}function BF(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}i();var Vr=A(require("react"),1);var LF=require("react/jsx-runtime"),Xv="focusScope.autoFocusOnMount",Yv="focusScope.autoFocusOnUnmount",IF={bubbles:!1,cancelable:!0},Fee="FocusScope",Jv=Vr.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[u,l]=Vr.useState(null),c=lt(o),p=lt(a),d=Vr.useRef(null),h=tt(t,m=>l(m)),g=Vr.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Vr.useEffect(()=>{if(n){let x=function(D){if(g.paused||!u)return;let P=D.target;u.contains(P)?d.current=P:Ai(d.current,{select:!0})},w=function(D){if(g.paused||!u)return;let P=D.relatedTarget;P!==null&&(u.contains(P)||Ai(d.current,{select:!0}))},S=function(D){if(document.activeElement===document.body)for(let F of D)F.removedNodes.length>0&&Ai(u)};var m=x,b=w,y=S;document.addEventListener("focusin",x),document.addEventListener("focusout",w);let E=new MutationObserver(S);return u&&E.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",w),E.disconnect()}}},[n,u,g.paused]),Vr.useEffect(()=>{if(u){NF.add(g);let m=document.activeElement;if(!u.contains(m)){let y=new CustomEvent(Xv,IF);u.addEventListener(Xv,c),u.dispatchEvent(y),y.defaultPrevented||(Bee(Nee($F(u)),{select:!0}),document.activeElement===m&&Ai(u))}return()=>{u.removeEventListener(Xv,c),setTimeout(()=>{let y=new CustomEvent(Yv,IF);u.addEventListener(Yv,p),u.dispatchEvent(y),y.defaultPrevented||Ai(m??document.body,{select:!0}),u.removeEventListener(Yv,p),NF.remove(g)},0)}}},[u,c,p,g]);let v=Vr.useCallback(m=>{if(!r&&!n||g.paused)return;let b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(b&&y){let x=m.currentTarget,[w,S]=Oee(x);w&&S?!m.shiftKey&&y===S?(m.preventDefault(),r&&Ai(w,{select:!0})):m.shiftKey&&y===w&&(m.preventDefault(),r&&Ai(S,{select:!0})):y===x&&m.preventDefault()}},[r,n,g.paused]);return(0,LF.jsx)(Xe.div,{tabIndex:-1,...s,ref:h,onKeyDown:v})});Jv.displayName=Fee;function Bee(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Ai(n,{select:t}),document.activeElement!==r)return}function Oee(e){let t=$F(e),r=kF(t,e),n=kF(t.reverse(),e);return[r,n]}function $F(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function kF(e,t){for(let r of e)if(!Mee(r,{upTo:t}))return r}function Mee(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Iee(e){return e instanceof HTMLInputElement&&"select"in e}function Ai(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Iee(e)&&t&&e.select()}}var NF=kee();function kee(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=VF(e,t),e.unshift(t)},remove(t){e=VF(e,t),e[0]?.resume()}}}function VF(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Nee(e){return e.filter(t=>t.tagName!=="A")}i();var Tm=A(require("react"),1);i();var zF=A(require("react"),1),Lr=globalThis?.document?zF.useLayoutEffect:()=>{};var Vee=Tm.useId||(()=>{}),Lee=0;function Ri(e){let[t,r]=Tm.useState(Vee());return Lr(()=>{e||r(n=>n??String(Lee++))},[e]),e||(t?`radix-${t}`:"")}i();var Tr=A(require("react"),1);i();i();i();i();var HF=["top","right","bottom","left"];var $r=Math.min,jt=Math.max,Vc=Math.round,Lc=Math.floor,Co=e=>({x:e,y:e}),$ee={left:"right",right:"left",bottom:"top",top:"bottom"},zee={start:"end",end:"start"};function Rm(e,t,r){return jt(e,$r(t,r))}function On(e,t){return typeof e=="function"?e(t):e}function Mn(e){return e.split("-")[0]}function Da(e){return e.split("-")[1]}function Fm(e){return e==="x"?"y":"x"}function Bm(e){return e==="y"?"height":"width"}function xo(e){return["top","bottom"].includes(Mn(e))?"y":"x"}function Om(e){return Fm(xo(e))}function GF(e,t,r){r===void 0&&(r=!1);let n=Da(e),o=Om(e),a=Bm(o),s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Nc(s)),[s,Nc(s)]}function jF(e){let t=Nc(e);return[Am(e),t,Am(t)]}function Am(e){return e.replace(/start|end/g,t=>zee[t])}function Hee(e,t,r){let n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function _F(e,t,r,n){let o=Da(e),a=Hee(Mn(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(Am)))),a}function Nc(e){return e.replace(/left|right|bottom|top/g,t=>$ee[t])}function Gee(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zv(e){return typeof e!="number"?Gee(e):{top:e,right:e,bottom:e,left:e}}function Ea(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function WF(e,t,r){let{reference:n,floating:o}=e,a=xo(t),s=Om(t),u=Bm(s),l=Mn(t),c=a==="y",p=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,h=n[u]/2-o[u]/2,g;switch(l){case"top":g={x:p,y:n.y-o.height};break;case"bottom":g={x:p,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:d};break;case"left":g={x:n.x-o.width,y:d};break;default:g={x:n.x,y:n.y}}switch(Da(t)){case"start":g[s]-=h*(r&&c?-1:1);break;case"end":g[s]+=h*(r&&c?-1:1);break}return g}var qF=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,u=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:d}=WF(c,n,l),h=n,g={},v=0;for(let m=0;m<u.length;m++){let{name:b,fn:y}=u[m],{x,y:w,data:S,reset:E}=await y({x:p,y:d,initialPlacement:n,placement:h,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});p=x??p,d=w??d,g={...g,[b]:{...g[b],...S}},E&&v<=50&&(v++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(c=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:p,y:d}=WF(c,h,l)),m=-1)}return{x:p,y:d,placement:h,strategy:o,middlewareData:g}};async function Tu(e,t){var r;t===void 0&&(t={});let{x:n,y:o,platform:a,rects:s,elements:u,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:h=!1,padding:g=0}=On(t,e),v=Zv(g),b=u[h?d==="floating"?"reference":"floating":d],y=Ea(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(b)))==null||r?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(u.floating)),boundary:c,rootBoundary:p,strategy:l})),x=d==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Ea(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:x,offsetParent:w,strategy:l}):x);return{top:(y.top-E.top+v.top)/S.y,bottom:(E.bottom-y.bottom+v.bottom)/S.y,left:(y.left-E.left+v.left)/S.x,right:(E.right-y.right+v.right)/S.x}}var XF=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:a,platform:s,elements:u,middlewareData:l}=t,{element:c,padding:p=0}=On(e,t)||{};if(c==null)return{};let d=Zv(p),h={x:r,y:n},g=Om(o),v=Bm(g),m=await s.getDimensions(c),b=g==="y",y=b?"top":"left",x=b?"bottom":"right",w=b?"clientHeight":"clientWidth",S=a.reference[v]+a.reference[g]-h[g]-a.floating[v],E=h[g]-a.reference[g],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c)),P=D?D[w]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=u.floating[w]||a.floating[v]);let F=S/2-E/2,B=P/2-m[v]/2-1,I=$r(d[y],B),_=$r(d[x],B),L=I,z=P-m[v]-_,N=P/2-m[v]/2+F,$=Rm(L,N,z),Z=!l.arrow&&Da(o)!=null&&N!==$&&a.reference[v]/2-(N<L?I:_)-m[v]/2<0,te=Z?N<L?N-L:N-z:0;return{[g]:h[g]+te,data:{[g]:$,centerOffset:N-$-te,...Z&&{alignmentOffset:te}},reset:Z}}});var YF=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;let{placement:o,middlewareData:a,rects:s,initialPlacement:u,platform:l,elements:c}=t,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...b}=On(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let y=Mn(o),x=xo(u),w=Mn(u)===u,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),E=h||(w||!m?[Nc(u)]:jF(u)),D=v!=="none";!h&&D&&E.push(..._F(u,m,v,S));let P=[u,...E],F=await Tu(t,b),B=[],I=((n=a.flip)==null?void 0:n.overflows)||[];if(p&&B.push(F[y]),d){let N=GF(o,s,S);B.push(F[N[0]],F[N[1]])}if(I=[...I,{placement:o,overflows:B}],!B.every(N=>N<=0)){var _,L;let N=(((_=a.flip)==null?void 0:_.index)||0)+1,$=P[N];if($)return{data:{index:N,overflows:I},reset:{placement:$}};let Z=(L=I.filter(te=>te.overflows[0]<=0).sort((te,oe)=>te.overflows[1]-oe.overflows[1])[0])==null?void 0:L.placement;if(!Z)switch(g){case"bestFit":{var z;let te=(z=I.filter(oe=>{if(D){let j=xo(oe.placement);return j===x||j==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(j=>j>0).reduce((j,fe)=>j+fe,0)]).sort((oe,j)=>oe[1]-j[1])[0])==null?void 0:z[0];te&&(Z=te);break}case"initialPlacement":Z=u;break}if(o!==Z)return{reset:{placement:Z}}}return{}}}};function UF(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function KF(e){return HF.some(t=>e[t]>=0)}var JF=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=On(e,t);switch(n){case"referenceHidden":{let a=await Tu(t,{...o,elementContext:"reference"}),s=UF(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:KF(s)}}}case"escaped":{let a=await Tu(t,{...o,altBoundary:!0}),s=UF(a,r.floating);return{data:{escapedOffsets:s,escaped:KF(s)}}}default:return{}}}}};async function jee(e,t){let{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Mn(r),u=Da(r),l=xo(r)==="y",c=["left","top"].includes(s)?-1:1,p=a&&l?-1:1,d=On(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return u&&typeof v=="number"&&(g=u==="end"?v*-1:v),l?{x:g*p,y:h*c}:{x:h*c,y:g*p}}var ZF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:a,placement:s,middlewareData:u}=t,l=await jee(t,e);return s===((r=u.offset)==null?void 0:r.placement)&&(n=u.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:s}}}}},QF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:b=>{let{x:y,y:x}=b;return{x:y,y:x}}},...l}=On(e,t),c={x:r,y:n},p=await Tu(t,l),d=xo(Mn(o)),h=Fm(d),g=c[h],v=c[d];if(a){let b=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=g+p[b],w=g-p[y];g=Rm(x,g,w)}if(s){let b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",x=v+p[b],w=v-p[y];v=Rm(x,v,w)}let m=u.fn({...t,[h]:g,[d]:v});return{...m,data:{x:m.x-r,y:m.y-n}}}}},eB=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:u=0,mainAxis:l=!0,crossAxis:c=!0}=On(e,t),p={x:r,y:n},d=xo(o),h=Fm(d),g=p[h],v=p[d],m=On(u,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let w=h==="y"?"height":"width",S=a.reference[h]-a.floating[w]+b.mainAxis,E=a.reference[h]+a.reference[w]-b.mainAxis;g<S?g=S:g>E&&(g=E)}if(c){var y,x;let w=h==="y"?"width":"height",S=["top","left"].includes(Mn(o)),E=a.reference[d]-a.floating[w]+(S&&((y=s.offset)==null?void 0:y[d])||0)+(S?0:b.crossAxis),D=a.reference[d]+a.reference[w]+(S?0:((x=s.offset)==null?void 0:x[d])||0)-(S?b.crossAxis:0);v<E?v=E:v>D&&(v=D)}return{[h]:g,[d]:v}}}},tB=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:n,platform:o,elements:a}=t,{apply:s=()=>{},...u}=On(e,t),l=await Tu(t,u),c=Mn(r),p=Da(r),d=xo(r)==="y",{width:h,height:g}=n.floating,v,m;c==="top"||c==="bottom"?(v=c,m=p===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,v=p==="end"?"top":"bottom");let b=g-l.top-l.bottom,y=h-l.left-l.right,x=$r(g-l[v],b),w=$r(h-l[m],y),S=!t.middlewareData.shift,E=x,D=w;if(d?D=p||S?$r(w,y):y:E=p||S?$r(x,b):b,S&&!p){let F=jt(l.left,0),B=jt(l.right,0),I=jt(l.top,0),_=jt(l.bottom,0);d?D=h-2*(F!==0||B!==0?F+B:jt(l.left,l.right)):E=g-2*(I!==0||_!==0?I+_:jt(l.top,l.bottom))}await s({...t,availableWidth:D,availableHeight:E});let P=await o.getDimensions(a.floating);return h!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}};i();function Ta(e){return nB(e)?(e.nodeName||"").toLowerCase():"#document"}function lr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function In(e){var t;return(t=(nB(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function nB(e){return e instanceof Node||e instanceof lr(e).Node}function zr(e){return e instanceof Element||e instanceof lr(e).Element}function cn(e){return e instanceof HTMLElement||e instanceof lr(e).HTMLElement}function rB(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lr(e).ShadowRoot}function Au(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=Hr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function oB(e){return["table","td","th"].includes(Ta(e))}function $c(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Mm(e){let t=Im(),r=zr(e)?Hr(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function iB(e){let t=wo(e);for(;cn(t)&&!Aa(t);){if(Mm(t))return t;if($c(t))return null;t=wo(t)}return null}function Im(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Aa(e){return["html","body","#document"].includes(Ta(e))}function Hr(e){return lr(e).getComputedStyle(e)}function zc(e){return zr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wo(e){if(Ta(e)==="html")return e;let t=e.assignedSlot||e.parentNode||rB(e)&&e.host||In(e);return rB(t)?t.host:t}function aB(e){let t=wo(e);return Aa(t)?e.ownerDocument?e.ownerDocument.body:e.body:cn(t)&&Au(t)?t:aB(t)}function Pa(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let o=aB(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=lr(o);return a?t.concat(s,s.visualViewport||[],Au(o)?o:[],s.frameElement&&r?Pa(s.frameElement):[]):t.concat(o,Pa(o,[],r))}function lB(e){let t=Hr(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=cn(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,u=Vc(r)!==a||Vc(n)!==s;return u&&(r=a,n=s),{width:r,height:n,$:u}}function e4(e){return zr(e)?e:e.contextElement}function Ru(e){let t=e4(e);if(!cn(t))return Co(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=lB(t),s=(a?Vc(r.width):r.width)/n,u=(a?Vc(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}var _ee=Co(0);function cB(e){let t=lr(e);return!Im()||!t.visualViewport?_ee:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Wee(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==lr(e)?!1:t}function Ra(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let o=e.getBoundingClientRect(),a=e4(e),s=Co(1);t&&(n?zr(n)&&(s=Ru(n)):s=Ru(e));let u=Wee(a,r,n)?cB(a):Co(0),l=(o.left+u.x)/s.x,c=(o.top+u.y)/s.y,p=o.width/s.x,d=o.height/s.y;if(a){let h=lr(a),g=n&&zr(n)?lr(n):n,v=h,m=v.frameElement;for(;m&&n&&g!==v;){let b=Ru(m),y=m.getBoundingClientRect(),x=Hr(m),w=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,S=y.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;l*=b.x,c*=b.y,p*=b.x,d*=b.y,l+=w,c+=S,v=lr(m),m=v.frameElement}}return Ea({width:p,height:d,x:l,y:c})}function Uee(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,a=o==="fixed",s=In(n),u=t?$c(t.floating):!1;if(n===s||u&&a)return r;let l={scrollLeft:0,scrollTop:0},c=Co(1),p=Co(0),d=cn(n);if((d||!d&&!a)&&((Ta(n)!=="body"||Au(s))&&(l=zc(n)),cn(n))){let h=Ra(n);c=Ru(n),p.x=h.x+n.clientLeft,p.y=h.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+p.x,y:r.y*c.y-l.scrollTop*c.y+p.y}}function Kee(e){return Array.from(e.getClientRects())}function fB(e){return Ra(In(e)).left+zc(e).scrollLeft}function qee(e){let t=In(e),r=zc(e),n=e.ownerDocument.body,o=jt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=jt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+fB(e),u=-r.scrollTop;return Hr(n).direction==="rtl"&&(s+=jt(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:u}}function Xee(e,t){let r=lr(e),n=In(e),o=r.visualViewport,a=n.clientWidth,s=n.clientHeight,u=0,l=0;if(o){a=o.width,s=o.height;let c=Im();(!c||c&&t==="fixed")&&(u=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:u,y:l}}function Yee(e,t){let r=Ra(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=cn(e)?Ru(e):Co(1),s=e.clientWidth*a.x,u=e.clientHeight*a.y,l=o*a.x,c=n*a.y;return{width:s,height:u,x:l,y:c}}function sB(e,t,r){let n;if(t==="viewport")n=Xee(e,r);else if(t==="document")n=qee(In(e));else if(zr(t))n=Yee(t,r);else{let o=cB(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Ea(n)}function pB(e,t){let r=wo(e);return r===t||!zr(r)||Aa(r)?!1:Hr(r).position==="fixed"||pB(r,t)}function Jee(e,t){let r=t.get(e);if(r)return r;let n=Pa(e,[],!1).filter(u=>zr(u)&&Ta(u)!=="body"),o=null,a=Hr(e).position==="fixed",s=a?wo(e):e;for(;zr(s)&&!Aa(s);){let u=Hr(s),l=Mm(s);!l&&u.position==="fixed"&&(o=null),(a?!l&&!o:!l&&u.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Au(s)&&!l&&pB(e,s))?n=n.filter(p=>p!==s):o=u,s=wo(s)}return t.set(e,n),n}function Zee(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?$c(t)?[]:Jee(t,this._c):[].concat(r),n],u=s[0],l=s.reduce((c,p)=>{let d=sB(t,p,o);return c.top=jt(d.top,c.top),c.right=$r(d.right,c.right),c.bottom=$r(d.bottom,c.bottom),c.left=jt(d.left,c.left),c},sB(t,u,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Qee(e){let{width:t,height:r}=lB(e);return{width:t,height:r}}function ete(e,t,r){let n=cn(t),o=In(t),a=r==="fixed",s=Ra(e,!0,a,t),u={scrollLeft:0,scrollTop:0},l=Co(0);if(n||!n&&!a)if((Ta(t)!=="body"||Au(o))&&(u=zc(t)),n){let d=Ra(t,!0,a,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&(l.x=fB(o));let c=s.left+u.scrollLeft-l.x,p=s.top+u.scrollTop-l.y;return{x:c,y:p,width:s.width,height:s.height}}function Qv(e){return Hr(e).position==="static"}function uB(e,t){return!cn(e)||Hr(e).position==="fixed"?null:t?t(e):e.offsetParent}function dB(e,t){let r=lr(e);if($c(e))return r;if(!cn(e)){let o=wo(e);for(;o&&!Aa(o);){if(zr(o)&&!Qv(o))return o;o=wo(o)}return r}let n=uB(e,t);for(;n&&oB(n)&&Qv(n);)n=uB(n,t);return n&&Aa(n)&&Qv(n)&&!Mm(n)?r:n||iB(e)||r}var tte=async function(e){let t=this.getOffsetParent||dB,r=this.getDimensions,n=await r(e.floating);return{reference:ete(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function rte(e){return Hr(e).direction==="rtl"}var mB={convertOffsetParentRelativeRectToViewportRelativeRect:Uee,getDocumentElement:In,getClippingRect:Zee,getOffsetParent:dB,getElementRects:tte,getClientRects:Kee,getDimensions:Qee,getScale:Ru,isElement:zr,isRTL:rte};function nte(e,t){let r=null,n,o=In(e);function a(){var u;clearTimeout(n),(u=r)==null||u.disconnect(),r=null}function s(u,l){u===void 0&&(u=!1),l===void 0&&(l=1),a();let{left:c,top:p,width:d,height:h}=e.getBoundingClientRect();if(u||t(),!d||!h)return;let g=Lc(p),v=Lc(o.clientWidth-(c+d)),m=Lc(o.clientHeight-(p+h)),b=Lc(c),x={rootMargin:-g+"px "+-v+"px "+-m+"px "+-b+"px",threshold:jt(0,$r(1,l))||1},w=!0;function S(E){let D=E[0].intersectionRatio;if(D!==l){if(!w)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(S,{...x,root:o.ownerDocument})}catch{r=new IntersectionObserver(S,x)}r.observe(e)}return s(!0),a}function t4(e,t,r,n){n===void 0&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=e4(e),p=o||a?[...c?Pa(c):[],...Pa(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),a&&y.addEventListener("resize",r)});let d=c&&u?nte(c,r):null,h=-1,g=null;s&&(g=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),r()}),c&&!l&&g.observe(c),g.observe(t));let v,m=l?Ra(e):null;l&&b();function b(){let y=Ra(e);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&r(),m=y,v=requestAnimationFrame(b)}return r(),()=>{var y;p.forEach(x=>{o&&x.removeEventListener("scroll",r),a&&x.removeEventListener("resize",r)}),d?.(),(y=g)==null||y.disconnect(),g=null,l&&cancelAnimationFrame(v)}}var hB=ZF;var gB=QF,vB=YF,yB=tB,bB=JF,r4=XF;var CB=eB,n4=(e,t,r)=>{let n=new Map,o={platform:mB,...r},a={...o.platform,_c:n};return qF(e,t,{...o,platform:a})};var at=A(require("react"),1),Vm=require("react"),SB=A(require("react-dom"),1),km=typeof document<"u"?Vm.useLayoutEffect:Vm.useEffect;function Nm(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Nm(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){let a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Nm(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function DB(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xB(e,t){let r=DB(e);return Math.round(t*r)/r}function wB(e){let t=at.useRef(e);return km(()=>{t.current=e}),t}function EB(e){e===void 0&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:u=!0,whileElementsMounted:l,open:c}=e,[p,d]=at.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,g]=at.useState(n);Nm(h,n)||g(n);let[v,m]=at.useState(null),[b,y]=at.useState(null),x=at.useCallback(te=>{te!==D.current&&(D.current=te,m(te))},[]),w=at.useCallback(te=>{te!==P.current&&(P.current=te,y(te))},[]),S=a||v,E=s||b,D=at.useRef(null),P=at.useRef(null),F=at.useRef(p),B=l!=null,I=wB(l),_=wB(o),L=at.useCallback(()=>{if(!D.current||!P.current)return;let te={placement:t,strategy:r,middleware:h};_.current&&(te.platform=_.current),n4(D.current,P.current,te).then(oe=>{let j={...oe,isPositioned:!0};z.current&&!Nm(F.current,j)&&(F.current=j,SB.flushSync(()=>{d(j)}))})},[h,t,r,_]);km(()=>{c===!1&&F.current.isPositioned&&(F.current.isPositioned=!1,d(te=>({...te,isPositioned:!1})))},[c]);let z=at.useRef(!1);km(()=>(z.current=!0,()=>{z.current=!1}),[]),km(()=>{if(S&&(D.current=S),E&&(P.current=E),S&&E){if(I.current)return I.current(S,E,L);L()}},[S,E,L,I,B]);let N=at.useMemo(()=>({reference:D,floating:P,setReference:x,setFloating:w}),[x,w]),$=at.useMemo(()=>({reference:S,floating:E}),[S,E]),Z=at.useMemo(()=>{let te={position:r,left:0,top:0};if(!$.floating)return te;let oe=xB($.floating,p.x),j=xB($.floating,p.y);return u?{...te,transform:"translate("+oe+"px, "+j+"px)",...DB($.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:oe,top:j}},[r,u,$.floating,p.x,p.y]);return at.useMemo(()=>({...p,update:L,refs:N,elements:$,floatingStyles:Z}),[p,L,N,$,Z])}var ote=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){let{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?r4({element:n.current,padding:o}).fn(r):{}:n?r4({element:n,padding:o}).fn(r):{}}}},PB=(e,t)=>({...hB(e),options:[e,t]}),TB=(e,t)=>({...gB(e),options:[e,t]}),AB=(e,t)=>({...CB(e),options:[e,t]}),RB=(e,t)=>({...vB(e),options:[e,t]}),FB=(e,t)=>({...yB(e),options:[e,t]});var BB=(e,t)=>({...bB(e),options:[e,t]});var OB=(e,t)=>({...ote(e),options:[e,t]});i();var MB=A(require("react"),1);var o4=require("react/jsx-runtime"),ite="Arrow",IB=MB.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,o4.jsx)(Xe.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,o4.jsx)("polygon",{points:"0,0 30,0 15,10"})})});IB.displayName=ite;var kB=IB;i();var NB=A(require("react"),1);function VB(e){let[t,r]=NB.useState(void 0);return Lr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;let a=o[0],s,u;if("borderBoxSize"in a){let l=a.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,u=c.blockSize}else s=e.offsetWidth,u=e.offsetHeight;r({width:s,height:u})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Fi=require("react/jsx-runtime");var i4="Popper",[LB,a4]=Bn(i4),[ste,$B]=LB(i4),zB=e=>{let{__scopePopper:t,children:r}=e,[n,o]=Tr.useState(null);return(0,Fi.jsx)(ste,{scope:t,anchor:n,onAnchorChange:o,children:r})};zB.displayName=i4;var HB="PopperAnchor",GB=Tr.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,a=$B(HB,r),s=Tr.useRef(null),u=tt(t,s);return Tr.useEffect(()=>{a.onAnchorChange(n?.current||s.current)}),n?null:(0,Fi.jsx)(Xe.div,{...o,ref:u})});GB.displayName=HB;var s4="PopperContent",[ute,lte]=LB(s4),jB=Tr.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:u=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:p=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:g="optimized",onPlaced:v,...m}=e,b=$B(s4,r),[y,x]=Tr.useState(null),w=tt(t,W=>x(W)),[S,E]=Tr.useState(null),D=VB(S),P=D?.width??0,F=D?.height??0,B=n+(a!=="center"?"-"+a:""),I=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},_=Array.isArray(c)?c:[c],L=_.length>0,z={padding:I,boundary:_.filter(fte),altBoundary:L},{refs:N,floatingStyles:$,placement:Z,isPositioned:te,middlewareData:oe}=EB({strategy:"fixed",placement:B,whileElementsMounted:(...W)=>t4(...W,{animationFrame:g==="always"}),elements:{reference:b.anchor},middleware:[PB({mainAxis:o+F,alignmentAxis:s}),l&&TB({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?AB():void 0,...z}),l&&RB({...z}),FB({...z,apply:({elements:W,rects:ce,availableWidth:ae,availableHeight:ge})=>{let{width:xe,height:Ee}=ce.reference,Te=W.floating.style;Te.setProperty("--radix-popper-available-width",`${ae}px`),Te.setProperty("--radix-popper-available-height",`${ge}px`),Te.setProperty("--radix-popper-anchor-width",`${xe}px`),Te.setProperty("--radix-popper-anchor-height",`${Ee}px`)}}),S&&OB({element:S,padding:u}),pte({arrowWidth:P,arrowHeight:F}),h&&BB({strategy:"referenceHidden",...z})]}),[j,fe]=UB(Z),ye=lt(v);Lr(()=>{te&&ye?.()},[te,ye]);let he=oe.arrow?.x,We=oe.arrow?.y,R=oe.arrow?.centerOffset!==0,[U,G]=Tr.useState();return Lr(()=>{y&&G(window.getComputedStyle(y).zIndex)},[y]),(0,Fi.jsx)("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:te?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[oe.transformOrigin?.x,oe.transformOrigin?.y].join(" "),...oe.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,Fi.jsx)(ute,{scope:r,placedSide:j,onArrowChange:E,arrowX:he,arrowY:We,shouldHideArrow:R,children:(0,Fi.jsx)(Xe.div,{"data-side":j,"data-align":fe,...m,ref:w,style:{...m.style,animation:te?void 0:"none"}})})})});jB.displayName=s4;var _B="PopperArrow",cte={top:"bottom",right:"left",bottom:"top",left:"right"},WB=Tr.forwardRef(function(t,r){let{__scopePopper:n,...o}=t,a=lte(_B,n),s=cte[a.placedSide];return(0,Fi.jsx)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:(0,Fi.jsx)(kB,{...o,ref:r,style:{...o.style,display:"block"}})})});WB.displayName=_B;function fte(e){return e!==null}var pte=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,u=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[c,p]=UB(r),d={start:"0%",center:"50%",end:"100%"}[p],h=(o.arrow?.x??0)+u/2,g=(o.arrow?.y??0)+l/2,v="",m="";return c==="bottom"?(v=s?d:`${h}px`,m=`${-l}px`):c==="top"?(v=s?d:`${h}px`,m=`${n.floating.height+l}px`):c==="right"?(v=`${-l}px`,m=s?d:`${g}px`):c==="left"&&(v=`${n.floating.width+l}px`,m=s?d:`${g}px`),{data:{x:v,y:m}}}});function UB(e){let[t,r="center"]=e.split("-");return[t,r]}var u4=zB,KB=GB,qB=jB,XB=WB;i();var Lm=A(require("react"),1),YB=A(require("react-dom"),1);var JB=require("react/jsx-runtime"),mte="Portal",l4=Lm.forwardRef((e,t)=>{let{container:r,...n}=e,[o,a]=Lm.useState(!1);Lr(()=>a(!0),[]);let s=r||o&&globalThis?.document?.body;return s?YB.default.createPortal((0,JB.jsx)(Xe.div,{...n,ref:t}),s):null});l4.displayName=mte;i();var cr=A(require("react"),1),ZB=A(require("react-dom"),1);var QB=A(require("react"),1);function hte(e,t){return QB.useReducer((r,n)=>t[r][n]??r,e)}var Fu=e=>{let{present:t,children:r}=e,n=gte(t),o=typeof r=="function"?r({present:n.isPresent}):cr.Children.only(r),a=tt(n.ref,vte(o));return typeof r=="function"||n.isPresent?cr.cloneElement(o,{ref:a}):null};Fu.displayName="Presence";function gte(e){let[t,r]=cr.useState(),n=cr.useRef({}),o=cr.useRef(e),a=cr.useRef("none"),s=e?"mounted":"unmounted",[u,l]=hte(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return cr.useEffect(()=>{let c=$m(n.current);a.current=u==="mounted"?c:"none"},[u]),Lr(()=>{let c=n.current,p=o.current;if(p!==e){let h=a.current,g=$m(c);e?l("MOUNT"):g==="none"||c?.display==="none"?l("UNMOUNT"):l(p&&h!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Lr(()=>{if(t){let c=d=>{let g=$m(n.current).includes(d.animationName);d.target===t&&g&&ZB.flushSync(()=>l("ANIMATION_END"))},p=d=>{d.target===t&&(a.current=$m(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:cr.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function $m(e){return e?.animationName||"none"}function vte(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}i();var ht=A(require("react"),1);var Bi=require("react/jsx-runtime"),c4="rovingFocusGroup.onEntryFocus",yte={bubbles:!1,cancelable:!0},zm="RovingFocusGroup",[f4,eO,bte]=Dm(zm),[Cte,p4]=Bn(zm,[bte]),[xte,wte]=Cte(zm),tO=ht.forwardRef((e,t)=>(0,Bi.jsx)(f4.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,Bi.jsx)(f4.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,Bi.jsx)(Ste,{...e,ref:t})})}));tO.displayName=zm;var Ste=ht.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:p=!1,...d}=e,h=ht.useRef(null),g=tt(t,h),v=Pm(a),[m=null,b]=kc({prop:s,defaultProp:u,onChange:l}),[y,x]=ht.useState(!1),w=lt(c),S=eO(r),E=ht.useRef(!1),[D,P]=ht.useState(0);return ht.useEffect(()=>{let F=h.current;if(F)return F.addEventListener(c4,w),()=>F.removeEventListener(c4,w)},[w]),(0,Bi.jsx)(xte,{scope:r,orientation:n,dir:v,loop:o,currentTabStopId:m,onItemFocus:ht.useCallback(F=>b(F),[b]),onItemShiftTab:ht.useCallback(()=>x(!0),[]),onFocusableItemAdd:ht.useCallback(()=>P(F=>F+1),[]),onFocusableItemRemove:ht.useCallback(()=>P(F=>F-1),[]),children:(0,Bi.jsx)(Xe.div,{tabIndex:y||D===0?-1:0,"data-orientation":n,...d,ref:g,style:{outline:"none",...e.style},onMouseDown:be(e.onMouseDown,()=>{E.current=!0}),onFocus:be(e.onFocus,F=>{let B=!E.current;if(F.target===F.currentTarget&&B&&!y){let I=new CustomEvent(c4,yte);if(F.currentTarget.dispatchEvent(I),!I.defaultPrevented){let _=S().filter(Z=>Z.focusable),L=_.find(Z=>Z.active),z=_.find(Z=>Z.id===m),$=[L,z,..._].filter(Boolean).map(Z=>Z.ref.current);oO($,p)}}E.current=!1}),onBlur:be(e.onBlur,()=>x(!1))})})}),rO="RovingFocusGroupItem",nO=ht.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...s}=e,u=Ri(),l=a||u,c=wte(rO,r),p=c.currentTabStopId===l,d=eO(r),{onFocusableItemAdd:h,onFocusableItemRemove:g}=c;return ht.useEffect(()=>{if(n)return h(),()=>g()},[n,h,g]),(0,Bi.jsx)(f4.ItemSlot,{scope:r,id:l,focusable:n,active:o,children:(0,Bi.jsx)(Xe.span,{tabIndex:p?0:-1,"data-orientation":c.orientation,...s,ref:t,onMouseDown:be(e.onMouseDown,v=>{n?c.onItemFocus(l):v.preventDefault()}),onFocus:be(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:be(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){c.onItemShiftTab();return}if(v.target!==v.currentTarget)return;let m=Pte(v,c.orientation,c.dir);if(m!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let y=d().filter(x=>x.focusable).map(x=>x.ref.current);if(m==="last")y.reverse();else if(m==="prev"||m==="next"){m==="prev"&&y.reverse();let x=y.indexOf(v.currentTarget);y=c.loop?Tte(y,x+1):y.slice(x+1)}setTimeout(()=>oO(y))}})})})});nO.displayName=rO;var Dte={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ete(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Pte(e,t,r){let n=Ete(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Dte[n]}function oO(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function Tte(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var iO=tO,aO=nO;i();var Rte=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Bu=new WeakMap,Hm=new WeakMap,Gm={},d4=0,sO=function(e){return e&&(e.host||sO(e.parentNode))},Fte=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=sO(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Bte=function(e,t,r,n){var o=Fte(t,Array.isArray(e)?e:[e]);Gm[r]||(Gm[r]=new WeakMap);var a=Gm[r],s=[],u=new Set,l=new Set(o),c=function(d){!d||u.has(d)||(u.add(d),c(d.parentNode))};o.forEach(c);var p=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(h){if(u.has(h))p(h);else try{var g=h.getAttribute(n),v=g!==null&&g!=="false",m=(Bu.get(h)||0)+1,b=(a.get(h)||0)+1;Bu.set(h,m),a.set(h,b),s.push(h),m===1&&v&&Hm.set(h,!0),b===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return p(t),u.clear(),d4++,function(){s.forEach(function(d){var h=Bu.get(d)-1,g=a.get(d)-1;Bu.set(d,h),a.set(d,g),h||(Hm.has(d)||d.removeAttribute(n),Hm.delete(d)),g||d.removeAttribute(r)}),d4--,d4||(Bu=new WeakMap,Bu=new WeakMap,Hm=new WeakMap,Gm={})}},uO=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Rte(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Bte(n,o,r,"aria-hidden")):function(){return null}};i();i();i();var kn=function(){return kn=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},kn.apply(this,arguments)};function lO(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function cO(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var Km=A(require("react"));i();var Ot=A(require("react"));i();var Fa="right-scroll-bar-position",Ba="width-before-scroll-bar",m4="with-scroll-bars-hidden",h4="--removed-body-scroll-bar-size";i();i();function jm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}i();var fO=require("react");function pO(e,t){var r=(0,fO.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}i();var _m=A(require("react"));var Ote=typeof window<"u"?_m.useLayoutEffect:_m.useEffect,dO=new WeakMap;function g4(e,t){var r=pO(t||null,function(n){return e.forEach(function(o){return jm(o,n)})});return Ote(function(){var n=dO.get(r);if(n){var o=new Set(n),a=new Set(e),s=r.current;o.forEach(function(u){a.has(u)||jm(u,null)}),a.forEach(function(u){o.has(u)||jm(u,s)})}dO.set(r,e)},[e]),r}i();i();i();var Ou=function(){return Ou=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Ou.apply(this,arguments)};function mO(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}i();function Mte(e){return e}function Ite(e,t){t===void 0&&(t=Mte);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(u){return u!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(u){return a(u)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var u=r;r=[],u.forEach(a),s=r}var l=function(){var p=s;s=[],p.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(p){s.push(p),c()},filter:function(p){return s=s.filter(p),r}}}};return o}function v4(e){e===void 0&&(e={});var t=Ite(null);return t.options=Ou({async:!0,ssr:!1},e),t}i();var hO=A(require("react")),gO=function(e){var t=e.sideCar,r=mO(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return hO.createElement(n,Ou({},r))};gO.isSideCarExport=!0;function y4(e,t){return e.useMedium(t),gO}var Wm=v4();var b4=function(){},Hc=Ot.forwardRef(function(e,t){var r=Ot.useRef(null),n=Ot.useState({onScrollCapture:b4,onWheelCapture:b4,onTouchMoveCapture:b4}),o=n[0],a=n[1],s=e.forwardProps,u=e.children,l=e.className,c=e.removeScrollBar,p=e.enabled,d=e.shards,h=e.sideCar,g=e.noIsolation,v=e.inert,m=e.allowPinchZoom,b=e.as,y=b===void 0?"div":b,x=e.gapMode,w=lO(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=h,E=g4([r,t]),D=kn(kn({},w),o);return Ot.createElement(Ot.Fragment,null,p&&Ot.createElement(S,{sideCar:Wm,removeScrollBar:c,shards:d,noIsolation:g,inert:v,setCallbacks:a,allowPinchZoom:!!m,lockRef:r,gapMode:x}),s?Ot.cloneElement(Ot.Children.only(u),kn(kn({},D),{ref:E})):Ot.createElement(y,kn({},D,{className:l,ref:E}),u))});Hc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Hc.classNames={fullWidth:Ba,zeroRight:Fa};i();i();var He=A(require("react"));i();i();var Iu=A(require("react"));i();i();i();var bO=A(require("react"));i();i();var vO;var yO=function(){if(vO)return vO;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function kte(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yO();return t&&e.setAttribute("nonce",t),e}function Nte(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Vte(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var C4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=kte())&&(Nte(t,r),Vte(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var x4=function(){var e=C4();return function(t,r){bO.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var Gc=function(){var e=x4(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t};i();var Lte={left:0,top:0,right:0,gap:0},w4=function(e){return parseInt(e||"",10)||0},$te=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[w4(r),w4(n),w4(o)]},S4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Lte;var t=$te(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}};var zte=Gc(),Mu="data-scroll-locked",Hte=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,u=e.gap;return r===void 0&&(r="margin"),`
|
|
2086
|
+
`,jv=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...a})=>(0,Ic.jsxs)(yF,{...a,children:[(0,vF.isNotNil)(n)?(0,Ic.jsx)(pee,{align:t,gap:r,placement:e,children:n}):null,(0,Ic.jsx)(fee,{align:t,children:o})]});jv.displayName="MediaObject_VHS";i();var xM=require("react"),Vn=A(require("styled-components"));i();var ft=A(require("react"),1);i();function be(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}i();var bF=A(require("react"),1);function dee(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Sa(...e){return t=>e.forEach(r=>dee(r,t))}function tt(...e){return bF.useCallback(Sa(...e),e)}i();var bo=A(require("react"),1),CF=require("react/jsx-runtime");function Bn(e,t=[]){let r=[];function n(a,s){let u=bo.createContext(s),l=r.length;r=[...r,s];function c(d){let{scope:h,children:g,...v}=d,m=h?.[e][l]||u,b=bo.useMemo(()=>v,Object.values(v));return(0,CF.jsx)(m.Provider,{value:b,children:g})}function p(d,h){let g=h?.[e][l]||u,v=bo.useContext(g);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${a}\``)}return c.displayName=a+"Provider",[c,p]}let o=()=>{let a=r.map(s=>bo.createContext(s));return function(u){let l=u?.[e]||a;return bo.useMemo(()=>({[`__scope${e}`]:{...u,[e]:l}}),[u,l])}};return o.scopeName=e,[n,mee(o,...t)]}function mee(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){let s=n.reduce((u,{useScope:l,scopeName:c})=>{let d=l(a)[`__scope${c}`];return{...u,...d}},{});return bo.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}i();var Ei=A(require("react"),1);i();var Eu=A(require("react"),1);function lt(e){let t=Eu.useRef(e);return Eu.useEffect(()=>{t.current=e}),Eu.useMemo(()=>(...r)=>t.current?.(...r),[])}function kc({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=hee({defaultProp:t,onChange:r}),a=e!==void 0,s=a?e:n,u=lt(r),l=Ei.useCallback(c=>{if(a){let d=typeof c=="function"?c(e):c;d!==e&&u(d)}else o(c)},[a,e,o,u]);return[s,l]}function hee({defaultProp:e,onChange:t}){let r=Ei.useState(e),[n]=r,o=Ei.useRef(n),a=lt(t);return Ei.useEffect(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}i();var xF=A(require("react"),1),wF=A(require("react-dom"),1);i();var Et=A(require("react"),1);var Pu=require("react/jsx-runtime"),Pi=Et.forwardRef((e,t)=>{let{children:r,...n}=e,o=Et.Children.toArray(r),a=o.find(vee);if(a){let s=a.props.children,u=o.map(l=>l===a?Et.Children.count(s)>1?Et.Children.only(null):Et.isValidElement(s)?s.props.children:null:l);return(0,Pu.jsx)(_v,{...n,ref:t,children:Et.isValidElement(s)?Et.cloneElement(s,void 0,u):null})}return(0,Pu.jsx)(_v,{...n,ref:t,children:r})});Pi.displayName="Slot";var _v=Et.forwardRef((e,t)=>{let{children:r,...n}=e;if(Et.isValidElement(r)){let o=bee(r);return Et.cloneElement(r,{...yee(n,r.props),ref:t?Sa(t,o):o})}return Et.Children.count(r)>1?Et.Children.only(null):null});_v.displayName="SlotClone";var gee=({children:e})=>(0,Pu.jsx)(Pu.Fragment,{children:e});function vee(e){return Et.isValidElement(e)&&e.type===gee}function yee(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...u)=>{a(...u),o(...u)}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}function bee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var SF=require("react/jsx-runtime"),Cee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Xe=Cee.reduce((e,t)=>{let r=xF.forwardRef((n,o)=>{let{asChild:a,...s}=n,u=a?Pi:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,SF.jsx)(u,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function wm(e,t){e&&wF.flushSync(()=>e.dispatchEvent(t))}i();var ie=A(require("react"),1);i();var Ti=A(require("react"),1);var Sm=require("react/jsx-runtime");function Dm(e){let t=e+"CollectionProvider",[r,n]=Bn(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{let{scope:v,children:m}=g,b=Ti.default.useRef(null),y=Ti.default.useRef(new Map).current;return(0,Sm.jsx)(o,{scope:v,itemMap:y,collectionRef:b,children:m})};s.displayName=t;let u=e+"CollectionSlot",l=Ti.default.forwardRef((g,v)=>{let{scope:m,children:b}=g,y=a(u,m),x=tt(v,y.collectionRef);return(0,Sm.jsx)(Pi,{ref:x,children:b})});l.displayName=u;let c=e+"CollectionItemSlot",p="data-radix-collection-item",d=Ti.default.forwardRef((g,v)=>{let{scope:m,children:b,...y}=g,x=Ti.default.useRef(null),w=tt(v,x),S=a(c,m);return Ti.default.useEffect(()=>(S.itemMap.set(x,{ref:x,...y}),()=>void S.itemMap.delete(x))),(0,Sm.jsx)(Pi,{[p]:"",ref:w,children:b})});d.displayName=c;function h(g){let v=a(e+"CollectionConsumer",g);return Ti.default.useCallback(()=>{let b=v.collectionRef.current;if(!b)return[];let y=Array.from(b.querySelectorAll(`[${p}]`));return Array.from(v.itemMap.values()).sort((S,E)=>y.indexOf(S.ref.current)-y.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},h,n]}i();var Em=A(require("react"),1),xee=require("react/jsx-runtime"),wee=Em.createContext(void 0);function Pm(e){let t=Em.useContext(wee);return e||t||"ltr"}i();var Ye=A(require("react"),1);i();var DF=A(require("react"),1);function EF(e,t=globalThis?.document){let r=lt(e);DF.useEffect(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Uv=require("react/jsx-runtime"),See="DismissableLayer",Wv="dismissableLayer.update",Dee="dismissableLayer.pointerDownOutside",Eee="dismissableLayer.focusOutside",PF,AF=Ye.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kv=Ye.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:u,...l}=e,c=Ye.useContext(AF),[p,d]=Ye.useState(null),h=p?.ownerDocument??globalThis?.document,[,g]=Ye.useState({}),v=tt(t,P=>d(P)),m=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(b),x=p?m.indexOf(p):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,S=x>=y,E=Aee(P=>{let F=P.target,B=[...c.branches].some(I=>I.contains(F));!S||B||(o?.(P),s?.(P),P.defaultPrevented||u?.())},h),D=Ree(P=>{let F=P.target;[...c.branches].some(I=>I.contains(F))||(a?.(P),s?.(P),P.defaultPrevented||u?.())},h);return EF(P=>{x===c.layers.size-1&&(n?.(P),!P.defaultPrevented&&u&&(P.preventDefault(),u()))},h),Ye.useEffect(()=>{if(p)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(PF=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(p)),c.layers.add(p),TF(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=PF)}},[p,h,r,c]),Ye.useEffect(()=>()=>{p&&(c.layers.delete(p),c.layersWithOutsidePointerEventsDisabled.delete(p),TF())},[p,c]),Ye.useEffect(()=>{let P=()=>g({});return document.addEventListener(Wv,P),()=>document.removeEventListener(Wv,P)},[]),(0,Uv.jsx)(Xe.div,{...l,ref:v,style:{pointerEvents:w?S?"auto":"none":void 0,...e.style},onFocusCapture:be(e.onFocusCapture,D.onFocusCapture),onBlurCapture:be(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:be(e.onPointerDownCapture,E.onPointerDownCapture)})});Kv.displayName=See;var Pee="DismissableLayerBranch",Tee=Ye.forwardRef((e,t)=>{let r=Ye.useContext(AF),n=Ye.useRef(null),o=tt(t,n);return Ye.useEffect(()=>{let a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),(0,Uv.jsx)(Xe.div,{...e,ref:o})});Tee.displayName=Pee;function Aee(e,t=globalThis?.document){let r=lt(e),n=Ye.useRef(!1),o=Ye.useRef(()=>{});return Ye.useEffect(()=>{let a=u=>{if(u.target&&!n.current){let c=function(){RF(Dee,r,p,{discrete:!0})};var l=c;let p={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Ree(e,t=globalThis?.document){let r=lt(e),n=Ye.useRef(!1);return Ye.useEffect(()=>{let o=a=>{a.target&&!n.current&&RF(Eee,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function TF(){let e=new CustomEvent(Wv);document.dispatchEvent(e)}function RF(e,t,r,{discrete:n}){let o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?wm(o,a):o.dispatchEvent(a)}i();var BF=A(require("react"),1),qv=0;function OF(){BF.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??FF()),document.body.insertAdjacentElement("beforeend",e[1]??FF()),qv++,()=>{qv===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),qv--}},[])}function FF(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}i();var Vr=A(require("react"),1);var VF=require("react/jsx-runtime"),Xv="focusScope.autoFocusOnMount",Yv="focusScope.autoFocusOnUnmount",MF={bubbles:!1,cancelable:!0},Fee="FocusScope",Jv=Vr.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[u,l]=Vr.useState(null),c=lt(o),p=lt(a),d=Vr.useRef(null),h=tt(t,m=>l(m)),g=Vr.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Vr.useEffect(()=>{if(n){let x=function(D){if(g.paused||!u)return;let P=D.target;u.contains(P)?d.current=P:Ai(d.current,{select:!0})},w=function(D){if(g.paused||!u)return;let P=D.relatedTarget;P!==null&&(u.contains(P)||Ai(d.current,{select:!0}))},S=function(D){if(document.activeElement===document.body)for(let F of D)F.removedNodes.length>0&&Ai(u)};var m=x,b=w,y=S;document.addEventListener("focusin",x),document.addEventListener("focusout",w);let E=new MutationObserver(S);return u&&E.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",w),E.disconnect()}}},[n,u,g.paused]),Vr.useEffect(()=>{if(u){kF.add(g);let m=document.activeElement;if(!u.contains(m)){let y=new CustomEvent(Xv,MF);u.addEventListener(Xv,c),u.dispatchEvent(y),y.defaultPrevented||(Bee(Nee(LF(u)),{select:!0}),document.activeElement===m&&Ai(u))}return()=>{u.removeEventListener(Xv,c),setTimeout(()=>{let y=new CustomEvent(Yv,MF);u.addEventListener(Yv,p),u.dispatchEvent(y),y.defaultPrevented||Ai(m??document.body,{select:!0}),u.removeEventListener(Yv,p),kF.remove(g)},0)}}},[u,c,p,g]);let v=Vr.useCallback(m=>{if(!r&&!n||g.paused)return;let b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(b&&y){let x=m.currentTarget,[w,S]=Oee(x);w&&S?!m.shiftKey&&y===S?(m.preventDefault(),r&&Ai(w,{select:!0})):m.shiftKey&&y===w&&(m.preventDefault(),r&&Ai(S,{select:!0})):y===x&&m.preventDefault()}},[r,n,g.paused]);return(0,VF.jsx)(Xe.div,{tabIndex:-1,...s,ref:h,onKeyDown:v})});Jv.displayName=Fee;function Bee(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Ai(n,{select:t}),document.activeElement!==r)return}function Oee(e){let t=LF(e),r=IF(t,e),n=IF(t.reverse(),e);return[r,n]}function LF(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function IF(e,t){for(let r of e)if(!Mee(r,{upTo:t}))return r}function Mee(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Iee(e){return e instanceof HTMLInputElement&&"select"in e}function Ai(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Iee(e)&&t&&e.select()}}var kF=kee();function kee(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=NF(e,t),e.unshift(t)},remove(t){e=NF(e,t),e[0]?.resume()}}}function NF(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Nee(e){return e.filter(t=>t.tagName!=="A")}i();var Tm=A(require("react"),1);i();var $F=A(require("react"),1),Lr=globalThis?.document?$F.useLayoutEffect:()=>{};var Vee=Tm.useId||(()=>{}),Lee=0;function Ri(e){let[t,r]=Tm.useState(Vee());return Lr(()=>{e||r(n=>n??String(Lee++))},[e]),e||(t?`radix-${t}`:"")}i();var Tr=A(require("react"),1);i();i();i();i();var zF=["top","right","bottom","left"];var $r=Math.min,jt=Math.max,Vc=Math.round,Lc=Math.floor,Co=e=>({x:e,y:e}),$ee={left:"right",right:"left",bottom:"top",top:"bottom"},zee={start:"end",end:"start"};function Rm(e,t,r){return jt(e,$r(t,r))}function On(e,t){return typeof e=="function"?e(t):e}function Mn(e){return e.split("-")[0]}function Da(e){return e.split("-")[1]}function Fm(e){return e==="x"?"y":"x"}function Bm(e){return e==="y"?"height":"width"}function xo(e){return["top","bottom"].includes(Mn(e))?"y":"x"}function Om(e){return Fm(xo(e))}function HF(e,t,r){r===void 0&&(r=!1);let n=Da(e),o=Om(e),a=Bm(o),s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Nc(s)),[s,Nc(s)]}function GF(e){let t=Nc(e);return[Am(e),t,Am(t)]}function Am(e){return e.replace(/start|end/g,t=>zee[t])}function Hee(e,t,r){let n=["left","right"],o=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:s;default:return[]}}function jF(e,t,r,n){let o=Da(e),a=Hee(Mn(e),r==="start",n);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(Am)))),a}function Nc(e){return e.replace(/left|right|bottom|top/g,t=>$ee[t])}function Gee(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zv(e){return typeof e!="number"?Gee(e):{top:e,right:e,bottom:e,left:e}}function Ea(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function _F(e,t,r){let{reference:n,floating:o}=e,a=xo(t),s=Om(t),u=Bm(s),l=Mn(t),c=a==="y",p=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,h=n[u]/2-o[u]/2,g;switch(l){case"top":g={x:p,y:n.y-o.height};break;case"bottom":g={x:p,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:d};break;case"left":g={x:n.x-o.width,y:d};break;default:g={x:n.x,y:n.y}}switch(Da(t)){case"start":g[s]-=h*(r&&c?-1:1);break;case"end":g[s]+=h*(r&&c?-1:1);break}return g}var KF=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:s}=r,u=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:d}=_F(c,n,l),h=n,g={},v=0;for(let m=0;m<u.length;m++){let{name:b,fn:y}=u[m],{x,y:w,data:S,reset:E}=await y({x:p,y:d,initialPlacement:n,placement:h,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});p=x??p,d=w??d,g={...g,[b]:{...g[b],...S}},E&&v<=50&&(v++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(c=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:p,y:d}=_F(c,h,l)),m=-1)}return{x:p,y:d,placement:h,strategy:o,middlewareData:g}};async function Tu(e,t){var r;t===void 0&&(t={});let{x:n,y:o,platform:a,rects:s,elements:u,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:h=!1,padding:g=0}=On(t,e),v=Zv(g),b=u[h?d==="floating"?"reference":"floating":d],y=Ea(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(b)))==null||r?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(u.floating)),boundary:c,rootBoundary:p,strategy:l})),x=d==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Ea(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:x,offsetParent:w,strategy:l}):x);return{top:(y.top-E.top+v.top)/S.y,bottom:(E.bottom-y.bottom+v.bottom)/S.y,left:(y.left-E.left+v.left)/S.x,right:(E.right-y.right+v.right)/S.x}}var qF=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:a,platform:s,elements:u,middlewareData:l}=t,{element:c,padding:p=0}=On(e,t)||{};if(c==null)return{};let d=Zv(p),h={x:r,y:n},g=Om(o),v=Bm(g),m=await s.getDimensions(c),b=g==="y",y=b?"top":"left",x=b?"bottom":"right",w=b?"clientHeight":"clientWidth",S=a.reference[v]+a.reference[g]-h[g]-a.floating[v],E=h[g]-a.reference[g],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c)),P=D?D[w]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=u.floating[w]||a.floating[v]);let F=S/2-E/2,B=P/2-m[v]/2-1,I=$r(d[y],B),_=$r(d[x],B),L=I,z=P-m[v]-_,N=P/2-m[v]/2+F,$=Rm(L,N,z),Z=!l.arrow&&Da(o)!=null&&N!==$&&a.reference[v]/2-(N<L?I:_)-m[v]/2<0,te=Z?N<L?N-L:N-z:0;return{[g]:h[g]+te,data:{[g]:$,centerOffset:N-$-te,...Z&&{alignmentOffset:te}},reset:Z}}});var XF=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;let{placement:o,middlewareData:a,rects:s,initialPlacement:u,platform:l,elements:c}=t,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...b}=On(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let y=Mn(o),x=xo(u),w=Mn(u)===u,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),E=h||(w||!m?[Nc(u)]:GF(u)),D=v!=="none";!h&&D&&E.push(...jF(u,m,v,S));let P=[u,...E],F=await Tu(t,b),B=[],I=((n=a.flip)==null?void 0:n.overflows)||[];if(p&&B.push(F[y]),d){let N=HF(o,s,S);B.push(F[N[0]],F[N[1]])}if(I=[...I,{placement:o,overflows:B}],!B.every(N=>N<=0)){var _,L;let N=(((_=a.flip)==null?void 0:_.index)||0)+1,$=P[N];if($)return{data:{index:N,overflows:I},reset:{placement:$}};let Z=(L=I.filter(te=>te.overflows[0]<=0).sort((te,oe)=>te.overflows[1]-oe.overflows[1])[0])==null?void 0:L.placement;if(!Z)switch(g){case"bestFit":{var z;let te=(z=I.filter(oe=>{if(D){let j=xo(oe.placement);return j===x||j==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(j=>j>0).reduce((j,fe)=>j+fe,0)]).sort((oe,j)=>oe[1]-j[1])[0])==null?void 0:z[0];te&&(Z=te);break}case"initialPlacement":Z=u;break}if(o!==Z)return{reset:{placement:Z}}}return{}}}};function WF(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function UF(e){return zF.some(t=>e[t]>=0)}var YF=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=On(e,t);switch(n){case"referenceHidden":{let a=await Tu(t,{...o,elementContext:"reference"}),s=WF(a,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:UF(s)}}}case"escaped":{let a=await Tu(t,{...o,altBoundary:!0}),s=WF(a,r.floating);return{data:{escapedOffsets:s,escaped:UF(s)}}}default:return{}}}}};async function jee(e,t){let{placement:r,platform:n,elements:o}=e,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=Mn(r),u=Da(r),l=xo(r)==="y",c=["left","top"].includes(s)?-1:1,p=a&&l?-1:1,d=On(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return u&&typeof v=="number"&&(g=u==="end"?v*-1:v),l?{x:g*p,y:h*c}:{x:h*c,y:g*p}}var JF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:a,placement:s,middlewareData:u}=t,l=await jee(t,e);return s===((r=u.offset)==null?void 0:r.placement)&&(n=u.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:s}}}}},ZF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:b=>{let{x:y,y:x}=b;return{x:y,y:x}}},...l}=On(e,t),c={x:r,y:n},p=await Tu(t,l),d=xo(Mn(o)),h=Fm(d),g=c[h],v=c[d];if(a){let b=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=g+p[b],w=g-p[y];g=Rm(x,g,w)}if(s){let b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",x=v+p[b],w=v-p[y];v=Rm(x,v,w)}let m=u.fn({...t,[h]:g,[d]:v});return{...m,data:{x:m.x-r,y:m.y-n}}}}},QF=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:a,middlewareData:s}=t,{offset:u=0,mainAxis:l=!0,crossAxis:c=!0}=On(e,t),p={x:r,y:n},d=xo(o),h=Fm(d),g=p[h],v=p[d],m=On(u,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let w=h==="y"?"height":"width",S=a.reference[h]-a.floating[w]+b.mainAxis,E=a.reference[h]+a.reference[w]-b.mainAxis;g<S?g=S:g>E&&(g=E)}if(c){var y,x;let w=h==="y"?"width":"height",S=["top","left"].includes(Mn(o)),E=a.reference[d]-a.floating[w]+(S&&((y=s.offset)==null?void 0:y[d])||0)+(S?0:b.crossAxis),D=a.reference[d]+a.reference[w]+(S?0:((x=s.offset)==null?void 0:x[d])||0)-(S?b.crossAxis:0);v<E?v=E:v>D&&(v=D)}return{[h]:g,[d]:v}}}},eB=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:n,platform:o,elements:a}=t,{apply:s=()=>{},...u}=On(e,t),l=await Tu(t,u),c=Mn(r),p=Da(r),d=xo(r)==="y",{width:h,height:g}=n.floating,v,m;c==="top"||c==="bottom"?(v=c,m=p===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,v=p==="end"?"top":"bottom");let b=g-l.top-l.bottom,y=h-l.left-l.right,x=$r(g-l[v],b),w=$r(h-l[m],y),S=!t.middlewareData.shift,E=x,D=w;if(d?D=p||S?$r(w,y):y:E=p||S?$r(x,b):b,S&&!p){let F=jt(l.left,0),B=jt(l.right,0),I=jt(l.top,0),_=jt(l.bottom,0);d?D=h-2*(F!==0||B!==0?F+B:jt(l.left,l.right)):E=g-2*(I!==0||_!==0?I+_:jt(l.top,l.bottom))}await s({...t,availableWidth:D,availableHeight:E});let P=await o.getDimensions(a.floating);return h!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}};i();function Ta(e){return rB(e)?(e.nodeName||"").toLowerCase():"#document"}function lr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function In(e){var t;return(t=(rB(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rB(e){return e instanceof Node||e instanceof lr(e).Node}function zr(e){return e instanceof Element||e instanceof lr(e).Element}function cn(e){return e instanceof HTMLElement||e instanceof lr(e).HTMLElement}function tB(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lr(e).ShadowRoot}function Au(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=Hr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function nB(e){return["table","td","th"].includes(Ta(e))}function $c(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Mm(e){let t=Im(),r=zr(e)?Hr(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function oB(e){let t=wo(e);for(;cn(t)&&!Aa(t);){if(Mm(t))return t;if($c(t))return null;t=wo(t)}return null}function Im(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Aa(e){return["html","body","#document"].includes(Ta(e))}function Hr(e){return lr(e).getComputedStyle(e)}function zc(e){return zr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wo(e){if(Ta(e)==="html")return e;let t=e.assignedSlot||e.parentNode||tB(e)&&e.host||In(e);return tB(t)?t.host:t}function iB(e){let t=wo(e);return Aa(t)?e.ownerDocument?e.ownerDocument.body:e.body:cn(t)&&Au(t)?t:iB(t)}function Pa(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let o=iB(e),a=o===((n=e.ownerDocument)==null?void 0:n.body),s=lr(o);return a?t.concat(s,s.visualViewport||[],Au(o)?o:[],s.frameElement&&r?Pa(s.frameElement):[]):t.concat(o,Pa(o,[],r))}function uB(e){let t=Hr(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=cn(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,u=Vc(r)!==a||Vc(n)!==s;return u&&(r=a,n=s),{width:r,height:n,$:u}}function e4(e){return zr(e)?e:e.contextElement}function Ru(e){let t=e4(e);if(!cn(t))return Co(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=uB(t),s=(a?Vc(r.width):r.width)/n,u=(a?Vc(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}var _ee=Co(0);function lB(e){let t=lr(e);return!Im()||!t.visualViewport?_ee:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Wee(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==lr(e)?!1:t}function Ra(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let o=e.getBoundingClientRect(),a=e4(e),s=Co(1);t&&(n?zr(n)&&(s=Ru(n)):s=Ru(e));let u=Wee(a,r,n)?lB(a):Co(0),l=(o.left+u.x)/s.x,c=(o.top+u.y)/s.y,p=o.width/s.x,d=o.height/s.y;if(a){let h=lr(a),g=n&&zr(n)?lr(n):n,v=h,m=v.frameElement;for(;m&&n&&g!==v;){let b=Ru(m),y=m.getBoundingClientRect(),x=Hr(m),w=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,S=y.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;l*=b.x,c*=b.y,p*=b.x,d*=b.y,l+=w,c+=S,v=lr(m),m=v.frameElement}}return Ea({width:p,height:d,x:l,y:c})}function Uee(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,a=o==="fixed",s=In(n),u=t?$c(t.floating):!1;if(n===s||u&&a)return r;let l={scrollLeft:0,scrollTop:0},c=Co(1),p=Co(0),d=cn(n);if((d||!d&&!a)&&((Ta(n)!=="body"||Au(s))&&(l=zc(n)),cn(n))){let h=Ra(n);c=Ru(n),p.x=h.x+n.clientLeft,p.y=h.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+p.x,y:r.y*c.y-l.scrollTop*c.y+p.y}}function Kee(e){return Array.from(e.getClientRects())}function cB(e){return Ra(In(e)).left+zc(e).scrollLeft}function qee(e){let t=In(e),r=zc(e),n=e.ownerDocument.body,o=jt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=jt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+cB(e),u=-r.scrollTop;return Hr(n).direction==="rtl"&&(s+=jt(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:s,y:u}}function Xee(e,t){let r=lr(e),n=In(e),o=r.visualViewport,a=n.clientWidth,s=n.clientHeight,u=0,l=0;if(o){a=o.width,s=o.height;let c=Im();(!c||c&&t==="fixed")&&(u=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:u,y:l}}function Yee(e,t){let r=Ra(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=cn(e)?Ru(e):Co(1),s=e.clientWidth*a.x,u=e.clientHeight*a.y,l=o*a.x,c=n*a.y;return{width:s,height:u,x:l,y:c}}function aB(e,t,r){let n;if(t==="viewport")n=Xee(e,r);else if(t==="document")n=qee(In(e));else if(zr(t))n=Yee(t,r);else{let o=lB(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Ea(n)}function fB(e,t){let r=wo(e);return r===t||!zr(r)||Aa(r)?!1:Hr(r).position==="fixed"||fB(r,t)}function Jee(e,t){let r=t.get(e);if(r)return r;let n=Pa(e,[],!1).filter(u=>zr(u)&&Ta(u)!=="body"),o=null,a=Hr(e).position==="fixed",s=a?wo(e):e;for(;zr(s)&&!Aa(s);){let u=Hr(s),l=Mm(s);!l&&u.position==="fixed"&&(o=null),(a?!l&&!o:!l&&u.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Au(s)&&!l&&fB(e,s))?n=n.filter(p=>p!==s):o=u,s=wo(s)}return t.set(e,n),n}function Zee(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?$c(t)?[]:Jee(t,this._c):[].concat(r),n],u=s[0],l=s.reduce((c,p)=>{let d=aB(t,p,o);return c.top=jt(d.top,c.top),c.right=$r(d.right,c.right),c.bottom=$r(d.bottom,c.bottom),c.left=jt(d.left,c.left),c},aB(t,u,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Qee(e){let{width:t,height:r}=uB(e);return{width:t,height:r}}function ete(e,t,r){let n=cn(t),o=In(t),a=r==="fixed",s=Ra(e,!0,a,t),u={scrollLeft:0,scrollTop:0},l=Co(0);if(n||!n&&!a)if((Ta(t)!=="body"||Au(o))&&(u=zc(t)),n){let d=Ra(t,!0,a,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&(l.x=cB(o));let c=s.left+u.scrollLeft-l.x,p=s.top+u.scrollTop-l.y;return{x:c,y:p,width:s.width,height:s.height}}function Qv(e){return Hr(e).position==="static"}function sB(e,t){return!cn(e)||Hr(e).position==="fixed"?null:t?t(e):e.offsetParent}function pB(e,t){let r=lr(e);if($c(e))return r;if(!cn(e)){let o=wo(e);for(;o&&!Aa(o);){if(zr(o)&&!Qv(o))return o;o=wo(o)}return r}let n=sB(e,t);for(;n&&nB(n)&&Qv(n);)n=sB(n,t);return n&&Aa(n)&&Qv(n)&&!Mm(n)?r:n||oB(e)||r}var tte=async function(e){let t=this.getOffsetParent||pB,r=this.getDimensions,n=await r(e.floating);return{reference:ete(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function rte(e){return Hr(e).direction==="rtl"}var dB={convertOffsetParentRelativeRectToViewportRelativeRect:Uee,getDocumentElement:In,getClippingRect:Zee,getOffsetParent:pB,getElementRects:tte,getClientRects:Kee,getDimensions:Qee,getScale:Ru,isElement:zr,isRTL:rte};function nte(e,t){let r=null,n,o=In(e);function a(){var u;clearTimeout(n),(u=r)==null||u.disconnect(),r=null}function s(u,l){u===void 0&&(u=!1),l===void 0&&(l=1),a();let{left:c,top:p,width:d,height:h}=e.getBoundingClientRect();if(u||t(),!d||!h)return;let g=Lc(p),v=Lc(o.clientWidth-(c+d)),m=Lc(o.clientHeight-(p+h)),b=Lc(c),x={rootMargin:-g+"px "+-v+"px "+-m+"px "+-b+"px",threshold:jt(0,$r(1,l))||1},w=!0;function S(E){let D=E[0].intersectionRatio;if(D!==l){if(!w)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(S,{...x,root:o.ownerDocument})}catch{r=new IntersectionObserver(S,x)}r.observe(e)}return s(!0),a}function t4(e,t,r,n){n===void 0&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=e4(e),p=o||a?[...c?Pa(c):[],...Pa(t)]:[];p.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),a&&y.addEventListener("resize",r)});let d=c&&u?nte(c,r):null,h=-1,g=null;s&&(g=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),r()}),c&&!l&&g.observe(c),g.observe(t));let v,m=l?Ra(e):null;l&&b();function b(){let y=Ra(e);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&r(),m=y,v=requestAnimationFrame(b)}return r(),()=>{var y;p.forEach(x=>{o&&x.removeEventListener("scroll",r),a&&x.removeEventListener("resize",r)}),d?.(),(y=g)==null||y.disconnect(),g=null,l&&cancelAnimationFrame(v)}}var mB=JF;var hB=ZF,gB=XF,vB=eB,yB=YF,r4=qF;var bB=QF,n4=(e,t,r)=>{let n=new Map,o={platform:dB,...r},a={...o.platform,_c:n};return KF(e,t,{...o,platform:a})};var at=A(require("react"),1),Vm=require("react"),wB=A(require("react-dom"),1),km=typeof document<"u"?Vm.useLayoutEffect:Vm.useEffect;function Nm(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Nm(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){let a=o[n];if(!(a==="_owner"&&e.$$typeof)&&!Nm(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function SB(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function CB(e,t){let r=SB(e);return Math.round(t*r)/r}function xB(e){let t=at.useRef(e);return km(()=>{t.current=e}),t}function DB(e){e===void 0&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:u=!0,whileElementsMounted:l,open:c}=e,[p,d]=at.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,g]=at.useState(n);Nm(h,n)||g(n);let[v,m]=at.useState(null),[b,y]=at.useState(null),x=at.useCallback(te=>{te!==D.current&&(D.current=te,m(te))},[]),w=at.useCallback(te=>{te!==P.current&&(P.current=te,y(te))},[]),S=a||v,E=s||b,D=at.useRef(null),P=at.useRef(null),F=at.useRef(p),B=l!=null,I=xB(l),_=xB(o),L=at.useCallback(()=>{if(!D.current||!P.current)return;let te={placement:t,strategy:r,middleware:h};_.current&&(te.platform=_.current),n4(D.current,P.current,te).then(oe=>{let j={...oe,isPositioned:!0};z.current&&!Nm(F.current,j)&&(F.current=j,wB.flushSync(()=>{d(j)}))})},[h,t,r,_]);km(()=>{c===!1&&F.current.isPositioned&&(F.current.isPositioned=!1,d(te=>({...te,isPositioned:!1})))},[c]);let z=at.useRef(!1);km(()=>(z.current=!0,()=>{z.current=!1}),[]),km(()=>{if(S&&(D.current=S),E&&(P.current=E),S&&E){if(I.current)return I.current(S,E,L);L()}},[S,E,L,I,B]);let N=at.useMemo(()=>({reference:D,floating:P,setReference:x,setFloating:w}),[x,w]),$=at.useMemo(()=>({reference:S,floating:E}),[S,E]),Z=at.useMemo(()=>{let te={position:r,left:0,top:0};if(!$.floating)return te;let oe=CB($.floating,p.x),j=CB($.floating,p.y);return u?{...te,transform:"translate("+oe+"px, "+j+"px)",...SB($.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:oe,top:j}},[r,u,$.floating,p.x,p.y]);return at.useMemo(()=>({...p,update:L,refs:N,elements:$,floatingStyles:Z}),[p,L,N,$,Z])}var ote=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){let{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?r4({element:n.current,padding:o}).fn(r):{}:n?r4({element:n,padding:o}).fn(r):{}}}},EB=(e,t)=>({...mB(e),options:[e,t]}),PB=(e,t)=>({...hB(e),options:[e,t]}),TB=(e,t)=>({...bB(e),options:[e,t]}),AB=(e,t)=>({...gB(e),options:[e,t]}),RB=(e,t)=>({...vB(e),options:[e,t]});var FB=(e,t)=>({...yB(e),options:[e,t]});var BB=(e,t)=>({...ote(e),options:[e,t]});i();var OB=A(require("react"),1);var o4=require("react/jsx-runtime"),ite="Arrow",MB=OB.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,o4.jsx)(Xe.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,o4.jsx)("polygon",{points:"0,0 30,0 15,10"})})});MB.displayName=ite;var IB=MB;i();var kB=A(require("react"),1);function NB(e){let[t,r]=kB.useState(void 0);return Lr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;let a=o[0],s,u;if("borderBoxSize"in a){let l=a.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,u=c.blockSize}else s=e.offsetWidth,u=e.offsetHeight;r({width:s,height:u})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Fi=require("react/jsx-runtime");var i4="Popper",[VB,a4]=Bn(i4),[ste,LB]=VB(i4),$B=e=>{let{__scopePopper:t,children:r}=e,[n,o]=Tr.useState(null);return(0,Fi.jsx)(ste,{scope:t,anchor:n,onAnchorChange:o,children:r})};$B.displayName=i4;var zB="PopperAnchor",HB=Tr.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,a=LB(zB,r),s=Tr.useRef(null),u=tt(t,s);return Tr.useEffect(()=>{a.onAnchorChange(n?.current||s.current)}),n?null:(0,Fi.jsx)(Xe.div,{...o,ref:u})});HB.displayName=zB;var s4="PopperContent",[ute,lte]=VB(s4),GB=Tr.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:u=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:p=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:g="optimized",onPlaced:v,...m}=e,b=LB(s4,r),[y,x]=Tr.useState(null),w=tt(t,W=>x(W)),[S,E]=Tr.useState(null),D=NB(S),P=D?.width??0,F=D?.height??0,B=n+(a!=="center"?"-"+a:""),I=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},_=Array.isArray(c)?c:[c],L=_.length>0,z={padding:I,boundary:_.filter(fte),altBoundary:L},{refs:N,floatingStyles:$,placement:Z,isPositioned:te,middlewareData:oe}=DB({strategy:"fixed",placement:B,whileElementsMounted:(...W)=>t4(...W,{animationFrame:g==="always"}),elements:{reference:b.anchor},middleware:[EB({mainAxis:o+F,alignmentAxis:s}),l&&PB({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?TB():void 0,...z}),l&&AB({...z}),RB({...z,apply:({elements:W,rects:ce,availableWidth:ae,availableHeight:ge})=>{let{width:xe,height:Ee}=ce.reference,Te=W.floating.style;Te.setProperty("--radix-popper-available-width",`${ae}px`),Te.setProperty("--radix-popper-available-height",`${ge}px`),Te.setProperty("--radix-popper-anchor-width",`${xe}px`),Te.setProperty("--radix-popper-anchor-height",`${Ee}px`)}}),S&&BB({element:S,padding:u}),pte({arrowWidth:P,arrowHeight:F}),h&&FB({strategy:"referenceHidden",...z})]}),[j,fe]=WB(Z),ye=lt(v);Lr(()=>{te&&ye?.()},[te,ye]);let he=oe.arrow?.x,We=oe.arrow?.y,R=oe.arrow?.centerOffset!==0,[U,G]=Tr.useState();return Lr(()=>{y&&G(window.getComputedStyle(y).zIndex)},[y]),(0,Fi.jsx)("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:te?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[oe.transformOrigin?.x,oe.transformOrigin?.y].join(" "),...oe.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,Fi.jsx)(ute,{scope:r,placedSide:j,onArrowChange:E,arrowX:he,arrowY:We,shouldHideArrow:R,children:(0,Fi.jsx)(Xe.div,{"data-side":j,"data-align":fe,...m,ref:w,style:{...m.style,animation:te?void 0:"none"}})})})});GB.displayName=s4;var jB="PopperArrow",cte={top:"bottom",right:"left",bottom:"top",left:"right"},_B=Tr.forwardRef(function(t,r){let{__scopePopper:n,...o}=t,a=lte(jB,n),s=cte[a.placedSide];return(0,Fi.jsx)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:(0,Fi.jsx)(IB,{...o,ref:r,style:{...o.style,display:"block"}})})});_B.displayName=jB;function fte(e){return e!==null}var pte=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,u=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[c,p]=WB(r),d={start:"0%",center:"50%",end:"100%"}[p],h=(o.arrow?.x??0)+u/2,g=(o.arrow?.y??0)+l/2,v="",m="";return c==="bottom"?(v=s?d:`${h}px`,m=`${-l}px`):c==="top"?(v=s?d:`${h}px`,m=`${n.floating.height+l}px`):c==="right"?(v=`${-l}px`,m=s?d:`${g}px`):c==="left"&&(v=`${n.floating.width+l}px`,m=s?d:`${g}px`),{data:{x:v,y:m}}}});function WB(e){let[t,r="center"]=e.split("-");return[t,r]}var u4=$B,UB=HB,KB=GB,qB=_B;i();var Lm=A(require("react"),1),XB=A(require("react-dom"),1);var YB=require("react/jsx-runtime"),mte="Portal",l4=Lm.forwardRef((e,t)=>{let{container:r,...n}=e,[o,a]=Lm.useState(!1);Lr(()=>a(!0),[]);let s=r||o&&globalThis?.document?.body;return s?XB.default.createPortal((0,YB.jsx)(Xe.div,{...n,ref:t}),s):null});l4.displayName=mte;i();var cr=A(require("react"),1),JB=A(require("react-dom"),1);var ZB=A(require("react"),1);function hte(e,t){return ZB.useReducer((r,n)=>t[r][n]??r,e)}var Fu=e=>{let{present:t,children:r}=e,n=gte(t),o=typeof r=="function"?r({present:n.isPresent}):cr.Children.only(r),a=tt(n.ref,vte(o));return typeof r=="function"||n.isPresent?cr.cloneElement(o,{ref:a}):null};Fu.displayName="Presence";function gte(e){let[t,r]=cr.useState(),n=cr.useRef({}),o=cr.useRef(e),a=cr.useRef("none"),s=e?"mounted":"unmounted",[u,l]=hte(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return cr.useEffect(()=>{let c=$m(n.current);a.current=u==="mounted"?c:"none"},[u]),Lr(()=>{let c=n.current,p=o.current;if(p!==e){let h=a.current,g=$m(c);e?l("MOUNT"):g==="none"||c?.display==="none"?l("UNMOUNT"):l(p&&h!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Lr(()=>{if(t){let c=d=>{let g=$m(n.current).includes(d.animationName);d.target===t&&g&&JB.flushSync(()=>l("ANIMATION_END"))},p=d=>{d.target===t&&(a.current=$m(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:cr.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function $m(e){return e?.animationName||"none"}function vte(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}i();var ht=A(require("react"),1);var Bi=require("react/jsx-runtime"),c4="rovingFocusGroup.onEntryFocus",yte={bubbles:!1,cancelable:!0},zm="RovingFocusGroup",[f4,QB,bte]=Dm(zm),[Cte,p4]=Bn(zm,[bte]),[xte,wte]=Cte(zm),eO=ht.forwardRef((e,t)=>(0,Bi.jsx)(f4.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,Bi.jsx)(f4.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,Bi.jsx)(Ste,{...e,ref:t})})}));eO.displayName=zm;var Ste=ht.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:p=!1,...d}=e,h=ht.useRef(null),g=tt(t,h),v=Pm(a),[m=null,b]=kc({prop:s,defaultProp:u,onChange:l}),[y,x]=ht.useState(!1),w=lt(c),S=QB(r),E=ht.useRef(!1),[D,P]=ht.useState(0);return ht.useEffect(()=>{let F=h.current;if(F)return F.addEventListener(c4,w),()=>F.removeEventListener(c4,w)},[w]),(0,Bi.jsx)(xte,{scope:r,orientation:n,dir:v,loop:o,currentTabStopId:m,onItemFocus:ht.useCallback(F=>b(F),[b]),onItemShiftTab:ht.useCallback(()=>x(!0),[]),onFocusableItemAdd:ht.useCallback(()=>P(F=>F+1),[]),onFocusableItemRemove:ht.useCallback(()=>P(F=>F-1),[]),children:(0,Bi.jsx)(Xe.div,{tabIndex:y||D===0?-1:0,"data-orientation":n,...d,ref:g,style:{outline:"none",...e.style},onMouseDown:be(e.onMouseDown,()=>{E.current=!0}),onFocus:be(e.onFocus,F=>{let B=!E.current;if(F.target===F.currentTarget&&B&&!y){let I=new CustomEvent(c4,yte);if(F.currentTarget.dispatchEvent(I),!I.defaultPrevented){let _=S().filter(Z=>Z.focusable),L=_.find(Z=>Z.active),z=_.find(Z=>Z.id===m),$=[L,z,..._].filter(Boolean).map(Z=>Z.ref.current);nO($,p)}}E.current=!1}),onBlur:be(e.onBlur,()=>x(!1))})})}),tO="RovingFocusGroupItem",rO=ht.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:a,...s}=e,u=Ri(),l=a||u,c=wte(tO,r),p=c.currentTabStopId===l,d=QB(r),{onFocusableItemAdd:h,onFocusableItemRemove:g}=c;return ht.useEffect(()=>{if(n)return h(),()=>g()},[n,h,g]),(0,Bi.jsx)(f4.ItemSlot,{scope:r,id:l,focusable:n,active:o,children:(0,Bi.jsx)(Xe.span,{tabIndex:p?0:-1,"data-orientation":c.orientation,...s,ref:t,onMouseDown:be(e.onMouseDown,v=>{n?c.onItemFocus(l):v.preventDefault()}),onFocus:be(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:be(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){c.onItemShiftTab();return}if(v.target!==v.currentTarget)return;let m=Pte(v,c.orientation,c.dir);if(m!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let y=d().filter(x=>x.focusable).map(x=>x.ref.current);if(m==="last")y.reverse();else if(m==="prev"||m==="next"){m==="prev"&&y.reverse();let x=y.indexOf(v.currentTarget);y=c.loop?Tte(y,x+1):y.slice(x+1)}setTimeout(()=>nO(y))}})})})});rO.displayName=tO;var Dte={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ete(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Pte(e,t,r){let n=Ete(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Dte[n]}function nO(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function Tte(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var oO=eO,iO=rO;i();var Rte=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Bu=new WeakMap,Hm=new WeakMap,Gm={},d4=0,aO=function(e){return e&&(e.host||aO(e.parentNode))},Fte=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=aO(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},Bte=function(e,t,r,n){var o=Fte(t,Array.isArray(e)?e:[e]);Gm[r]||(Gm[r]=new WeakMap);var a=Gm[r],s=[],u=new Set,l=new Set(o),c=function(d){!d||u.has(d)||(u.add(d),c(d.parentNode))};o.forEach(c);var p=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(h){if(u.has(h))p(h);else try{var g=h.getAttribute(n),v=g!==null&&g!=="false",m=(Bu.get(h)||0)+1,b=(a.get(h)||0)+1;Bu.set(h,m),a.set(h,b),s.push(h),m===1&&v&&Hm.set(h,!0),b===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return p(t),u.clear(),d4++,function(){s.forEach(function(d){var h=Bu.get(d)-1,g=a.get(d)-1;Bu.set(d,h),a.set(d,g),h||(Hm.has(d)||d.removeAttribute(n),Hm.delete(d)),g||d.removeAttribute(r)}),d4--,d4||(Bu=new WeakMap,Bu=new WeakMap,Hm=new WeakMap,Gm={})}},sO=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||Rte(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Bte(n,o,r,"aria-hidden")):function(){return null}};i();i();i();var kn=function(){return kn=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},kn.apply(this,arguments)};function uO(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function lO(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var Km=A(require("react"));i();var Ot=A(require("react"));i();var Fa="right-scroll-bar-position",Ba="width-before-scroll-bar",m4="with-scroll-bars-hidden",h4="--removed-body-scroll-bar-size";i();i();function jm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}i();var cO=require("react");function fO(e,t){var r=(0,cO.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}i();var _m=A(require("react"));var Ote=typeof window<"u"?_m.useLayoutEffect:_m.useEffect,pO=new WeakMap;function g4(e,t){var r=fO(t||null,function(n){return e.forEach(function(o){return jm(o,n)})});return Ote(function(){var n=pO.get(r);if(n){var o=new Set(n),a=new Set(e),s=r.current;o.forEach(function(u){a.has(u)||jm(u,null)}),a.forEach(function(u){o.has(u)||jm(u,s)})}pO.set(r,e)},[e]),r}i();i();i();var Ou=function(){return Ou=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Ou.apply(this,arguments)};function dO(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}i();function Mte(e){return e}function Ite(e,t){t===void 0&&(t=Mte);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(u){return u!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(u){return a(u)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var u=r;r=[],u.forEach(a),s=r}var l=function(){var p=s;s=[],p.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(p){s.push(p),c()},filter:function(p){return s=s.filter(p),r}}}};return o}function v4(e){e===void 0&&(e={});var t=Ite(null);return t.options=Ou({async:!0,ssr:!1},e),t}i();var mO=A(require("react")),hO=function(e){var t=e.sideCar,r=dO(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return mO.createElement(n,Ou({},r))};hO.isSideCarExport=!0;function y4(e,t){return e.useMedium(t),hO}var Wm=v4();var b4=function(){},Hc=Ot.forwardRef(function(e,t){var r=Ot.useRef(null),n=Ot.useState({onScrollCapture:b4,onWheelCapture:b4,onTouchMoveCapture:b4}),o=n[0],a=n[1],s=e.forwardProps,u=e.children,l=e.className,c=e.removeScrollBar,p=e.enabled,d=e.shards,h=e.sideCar,g=e.noIsolation,v=e.inert,m=e.allowPinchZoom,b=e.as,y=b===void 0?"div":b,x=e.gapMode,w=uO(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=h,E=g4([r,t]),D=kn(kn({},w),o);return Ot.createElement(Ot.Fragment,null,p&&Ot.createElement(S,{sideCar:Wm,removeScrollBar:c,shards:d,noIsolation:g,inert:v,setCallbacks:a,allowPinchZoom:!!m,lockRef:r,gapMode:x}),s?Ot.cloneElement(Ot.Children.only(u),kn(kn({},D),{ref:E})):Ot.createElement(y,kn({},D,{className:l,ref:E}),u))});Hc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Hc.classNames={fullWidth:Ba,zeroRight:Fa};i();i();var He=A(require("react"));i();i();var Iu=A(require("react"));i();i();i();var yO=A(require("react"));i();i();var gO;var vO=function(){if(gO)return gO;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function kte(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=vO();return t&&e.setAttribute("nonce",t),e}function Nte(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Vte(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var C4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=kte())&&(Nte(t,r),Vte(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var x4=function(){var e=C4();return function(t,r){yO.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var Gc=function(){var e=x4(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t};i();var Lte={left:0,top:0,right:0,gap:0},w4=function(e){return parseInt(e||"",10)||0},$te=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[w4(r),w4(n),w4(o)]},S4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Lte;var t=$te(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}};var zte=Gc(),Mu="data-scroll-locked",Hte=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,u=e.gap;return r===void 0&&(r="margin"),`
|
|
2087
2087
|
.`.concat(m4,` {
|
|
2088
2088
|
overflow: hidden `).concat(n,`;
|
|
2089
2089
|
padding-right: `).concat(u,"px ").concat(n,`;
|
|
@@ -2120,10 +2120,10 @@
|
|
|
2120
2120
|
body[`).concat(Mu,`] {
|
|
2121
2121
|
`).concat(h4,": ").concat(u,`px;
|
|
2122
2122
|
}
|
|
2123
|
-
`)},
|
|
2123
|
+
`)},bO=function(){var e=parseInt(document.body.getAttribute(Mu)||"0",10);return isFinite(e)?e:0},Gte=function(){Iu.useEffect(function(){return document.body.setAttribute(Mu,(bO()+1).toString()),function(){var e=bO()-1;e<=0?document.body.removeAttribute(Mu):document.body.setAttribute(Mu,e.toString())}},[])},D4=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;Gte();var a=Iu.useMemo(function(){return S4(o)},[o]);return Iu.createElement(zte,{styles:Hte(a,!t,o,r?"":"!important")})};i();var E4=!1;if(typeof window<"u")try{jc=Object.defineProperty({},"passive",{get:function(){return E4=!0,!0}}),window.addEventListener("test",jc,jc),window.removeEventListener("test",jc,jc)}catch{E4=!1}var jc,Oa=E4?{passive:!1}:!1;i();var jte=function(e){return e.tagName==="TEXTAREA"},CO=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!jte(e)&&r[t]==="visible")},_te=function(e){return CO(e,"overflowY")},Wte=function(e){return CO(e,"overflowX")},P4=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=xO(e,n);if(o){var a=wO(e,n),s=a[1],u=a[2];if(s>u)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Ute=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Kte=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},xO=function(e,t){return e==="v"?_te(t):Wte(t)},wO=function(e,t){return e==="v"?Ute(t):Kte(t)},qte=function(e,t){return e==="h"&&t==="rtl"?-1:1},SO=function(e,t,r,n,o){var a=qte(e,window.getComputedStyle(t).direction),s=a*n,u=r.target,l=t.contains(u),c=!1,p=s>0,d=0,h=0;do{var g=wO(e,u),v=g[0],m=g[1],b=g[2],y=m-b-a*v;(v||y)&&xO(e,u)&&(d+=y,h+=v),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return(p&&(o&&Math.abs(d)<1||!o&&s>d)||!p&&(o&&Math.abs(h)<1||!o&&-s>h))&&(c=!0),c};var Um=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},DO=function(e){return[e.deltaX,e.deltaY]},EO=function(e){return e&&"current"in e?e.current:e},Xte=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Yte=function(e){return`
|
|
2124
2124
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
2125
2125
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
2126
|
-
`)},Jte=0,ku=[];function TO(e){var t=He.useRef([]),r=He.useRef([0,0]),n=He.useRef(),o=He.useState(Jte++)[0],a=He.useState(Gc)[0],s=He.useRef(e);He.useEffect(function(){s.current=e},[e]),He.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=cO([e.lockRef.current],(e.shards||[]).map(PO),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=He.useCallback(function(m,b){if("touches"in m&&m.touches.length===2)return!s.current.allowPinchZoom;var y=Um(m),x=r.current,w="deltaX"in m?m.deltaX:x[0]-y[0],S="deltaY"in m?m.deltaY:x[1]-y[1],E,D=m.target,P=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in m&&P==="h"&&D.type==="range")return!1;var F=P4(P,D);if(!F)return!0;if(F?E=P:(E=P==="v"?"h":"v",F=P4(P,D)),!F)return!1;if(!n.current&&"changedTouches"in m&&(w||S)&&(n.current=E),!E)return!0;var B=n.current||E;return DO(B,b,m,B==="h"?w:S,!0)},[]),l=He.useCallback(function(m){var b=m;if(!(!ku.length||ku[ku.length-1]!==a)){var y="deltaY"in b?EO(b):Um(b),x=t.current.filter(function(E){return E.name===b.type&&(E.target===b.target||b.target===E.shadowParent)&&Xte(E.delta,y)})[0];if(x&&x.should){b.cancelable&&b.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(PO).filter(Boolean).filter(function(E){return E.contains(b.target)}),S=w.length>0?u(b,w[0]):!s.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),c=He.useCallback(function(m,b,y,x){var w={name:m,delta:b,target:y,should:x,shadowParent:Zte(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),p=He.useCallback(function(m){r.current=Um(m),n.current=void 0},[]),d=He.useCallback(function(m){c(m.type,EO(m),m.target,u(m,e.lockRef.current))},[]),h=He.useCallback(function(m){c(m.type,Um(m),m.target,u(m,e.lockRef.current))},[]);He.useEffect(function(){return ku.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,Oa),document.addEventListener("touchmove",l,Oa),document.addEventListener("touchstart",p,Oa),function(){ku=ku.filter(function(m){return m!==a}),document.removeEventListener("wheel",l,Oa),document.removeEventListener("touchmove",l,Oa),document.removeEventListener("touchstart",p,Oa)}},[]);var g=e.removeScrollBar,v=e.inert;return He.createElement(He.Fragment,null,v?He.createElement(a,{styles:Yte(o)}):null,g?He.createElement(D4,{gapMode:e.gapMode}):null)}function Zte(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var AO=y4(Wm,TO);var RO=Km.forwardRef(function(e,t){return Km.createElement(Hc,kn({},e,{ref:t,sideCar:AO}))});RO.classNames=Hc.classNames;var T4=RO;var pe=require("react/jsx-runtime"),A4=["Enter"," "],Qte=["ArrowDown","PageUp","Home"],BO=["ArrowUp","PageDown","End"],ere=[...Qte,...BO],tre={ltr:[...A4,"ArrowRight"],rtl:[...A4,"ArrowLeft"]},rre={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Kc="Menu",[Wc,nre,ore]=Dm(Kc),[Ma,R4]=Bn(Kc,[ore,a4,p4]),qc=a4(),OO=p4(),[MO,Oi]=Ma(Kc),[ire,Xc]=Ma(Kc),IO=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:a,modal:s=!0}=e,u=qc(t),[l,c]=ie.useState(null),p=ie.useRef(!1),d=lt(a),h=Pm(o);return ie.useEffect(()=>{let g=()=>{p.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>p.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),(0,pe.jsx)(u4,{...u,children:(0,pe.jsx)(MO,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:c,children:(0,pe.jsx)(ire,{scope:t,onClose:ie.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:p,dir:h,modal:s,children:n})})})};IO.displayName=Kc;var are="MenuAnchor",F4=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=qc(r);return(0,pe.jsx)(KB,{...o,...n,ref:t})});F4.displayName=are;var B4="MenuPortal",[sre,kO]=Ma(B4,{forceMount:void 0}),NO=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=Oi(B4,t);return(0,pe.jsx)(sre,{scope:t,forceMount:r,children:(0,pe.jsx)(Fu,{present:r||a.open,children:(0,pe.jsx)(l4,{asChild:!0,container:o,children:n})})})};NO.displayName=B4;var Gr="MenuContent",[ure,O4]=Ma(Gr),VO=ie.forwardRef((e,t)=>{let r=kO(Gr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=Oi(Gr,e.__scopeMenu),s=Xc(Gr,e.__scopeMenu);return(0,pe.jsx)(Wc.Provider,{scope:e.__scopeMenu,children:(0,pe.jsx)(Fu,{present:n||a.open,children:(0,pe.jsx)(Wc.Slot,{scope:e.__scopeMenu,children:s.modal?(0,pe.jsx)(lre,{...o,ref:t}):(0,pe.jsx)(cre,{...o,ref:t})})})})}),lre=ie.forwardRef((e,t)=>{let r=Oi(Gr,e.__scopeMenu),n=ie.useRef(null),o=tt(t,n);return ie.useEffect(()=>{let a=n.current;if(a)return uO(a)},[]),(0,pe.jsx)(M4,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:be(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),cre=ie.forwardRef((e,t)=>{let r=Oi(Gr,e.__scopeMenu);return(0,pe.jsx)(M4,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),M4=ie.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,disableOutsideScroll:v,...m}=e,b=Oi(Gr,r),y=Xc(Gr,r),x=qc(r),w=OO(r),S=nre(r),[E,D]=ie.useState(null),P=ie.useRef(null),F=tt(t,P,b.onContentChange),B=ie.useRef(0),I=ie.useRef(""),_=ie.useRef(0),L=ie.useRef(null),z=ie.useRef("right"),N=ie.useRef(0),$=v?T4:ie.Fragment,Z=v?{as:Pi,allowPinchZoom:!0}:void 0,te=j=>{let fe=I.current+j,ye=S().filter(W=>!W.disabled),he=document.activeElement,We=ye.find(W=>W.ref.current===he)?.textValue,R=ye.map(W=>W.textValue),U=wre(R,fe,We),G=ye.find(W=>W.textValue===U)?.ref.current;(function W(ce){I.current=ce,window.clearTimeout(B.current),ce!==""&&(B.current=window.setTimeout(()=>W(""),1e3))})(fe),G&&setTimeout(()=>G.focus())};ie.useEffect(()=>()=>window.clearTimeout(B.current),[]),MF();let oe=ie.useCallback(j=>z.current===L.current?.side&&Dre(j,L.current?.area),[]);return(0,pe.jsx)(ure,{scope:r,searchRef:I,onItemEnter:ie.useCallback(j=>{oe(j)&&j.preventDefault()},[oe]),onItemLeave:ie.useCallback(j=>{oe(j)||(P.current?.focus(),D(null))},[oe]),onTriggerLeave:ie.useCallback(j=>{oe(j)&&j.preventDefault()},[oe]),pointerGraceTimerRef:_,onPointerGraceIntentChange:ie.useCallback(j=>{L.current=j},[]),children:(0,pe.jsx)($,{...Z,children:(0,pe.jsx)(Jv,{asChild:!0,trapped:o,onMountAutoFocus:be(a,j=>{j.preventDefault(),P.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,pe.jsx)(Kv,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,children:(0,pe.jsx)(iO,{asChild:!0,...w,dir:y.dir,orientation:"vertical",loop:n,currentTabStopId:E,onCurrentTabStopIdChange:D,onEntryFocus:be(l,j=>{y.isUsingKeyboardRef.current||j.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,pe.jsx)(qB,{role:"menu","aria-orientation":"vertical","data-state":eM(b.open),"data-radix-menu-content":"",dir:y.dir,...x,...m,ref:F,style:{outline:"none",...m.style},onKeyDown:be(m.onKeyDown,j=>{let ye=j.target.closest("[data-radix-menu-content]")===j.currentTarget,he=j.ctrlKey||j.altKey||j.metaKey,We=j.key.length===1;ye&&(j.key==="Tab"&&j.preventDefault(),!he&&We&&te(j.key));let R=P.current;if(j.target!==R||!ere.includes(j.key))return;j.preventDefault();let G=S().filter(W=>!W.disabled).map(W=>W.ref.current);BO.includes(j.key)&&G.reverse(),Cre(G)}),onBlur:be(e.onBlur,j=>{j.currentTarget.contains(j.target)||(window.clearTimeout(B.current),I.current="")}),onPointerMove:be(e.onPointerMove,Uc(j=>{let fe=j.target,ye=N.current!==j.clientX;if(j.currentTarget.contains(fe)&&ye){let he=j.clientX>N.current?"right":"left";z.current=he,N.current=j.clientX}}))})})})})})})});VO.displayName=Gr;var fre="MenuGroup",I4=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,pe.jsx)(Xe.div,{role:"group",...n,ref:t})});I4.displayName=fre;var pre="MenuLabel",LO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,pe.jsx)(Xe.div,{...n,ref:t})});LO.displayName=pre;var qm="MenuItem",FO="menu.itemSelect",Ym=ie.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...o}=e,a=ie.useRef(null),s=Xc(qm,e.__scopeMenu),u=O4(qm,e.__scopeMenu),l=tt(t,a),c=ie.useRef(!1),p=()=>{let d=a.current;if(!r&&d){let h=new CustomEvent(FO,{bubbles:!0,cancelable:!0});d.addEventListener(FO,g=>n?.(g),{once:!0}),wm(d,h),h.defaultPrevented?c.current=!1:s.onClose()}};return(0,pe.jsx)($O,{...o,ref:l,disabled:r,onClick:be(e.onClick,p),onPointerDown:d=>{e.onPointerDown?.(d),c.current=!0},onPointerUp:be(e.onPointerUp,d=>{c.current||d.currentTarget?.click()}),onKeyDown:be(e.onKeyDown,d=>{let h=u.searchRef.current!=="";r||h&&d.key===" "||A4.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});Ym.displayName=qm;var $O=ie.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:o,...a}=e,s=O4(qm,r),u=OO(r),l=ie.useRef(null),c=tt(t,l),[p,d]=ie.useState(!1),[h,g]=ie.useState("");return ie.useEffect(()=>{let v=l.current;v&&g((v.textContent??"").trim())},[a.children]),(0,pe.jsx)(Wc.ItemSlot,{scope:r,disabled:n,textValue:o??h,children:(0,pe.jsx)(aO,{asChild:!0,...u,focusable:!n,children:(0,pe.jsx)(Xe.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...a,ref:c,onPointerMove:be(e.onPointerMove,Uc(v=>{n?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:be(e.onPointerLeave,Uc(v=>s.onItemLeave(v))),onFocus:be(e.onFocus,()=>d(!0)),onBlur:be(e.onBlur,()=>d(!1))})})})}),dre="MenuCheckboxItem",zO=ie.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return(0,pe.jsx)(WO,{scope:e.__scopeMenu,checked:r,children:(0,pe.jsx)(Ym,{role:"menuitemcheckbox","aria-checked":Xm(r)?"mixed":r,...o,ref:t,"data-state":V4(r),onSelect:be(o.onSelect,()=>n?.(Xm(r)?!0:!r),{checkForDefaultPrevented:!1})})})});zO.displayName=dre;var HO="MenuRadioGroup",[mre,hre]=Ma(HO,{value:void 0,onValueChange:()=>{}}),GO=ie.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,a=lt(n);return(0,pe.jsx)(mre,{scope:e.__scopeMenu,value:r,onValueChange:a,children:(0,pe.jsx)(I4,{...o,ref:t})})});GO.displayName=HO;var jO="MenuRadioItem",_O=ie.forwardRef((e,t)=>{let{value:r,...n}=e,o=hre(jO,e.__scopeMenu),a=r===o.value;return(0,pe.jsx)(WO,{scope:e.__scopeMenu,checked:a,children:(0,pe.jsx)(Ym,{role:"menuitemradio","aria-checked":a,...n,ref:t,"data-state":V4(a),onSelect:be(n.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});_O.displayName=jO;var k4="MenuItemIndicator",[WO,gre]=Ma(k4,{checked:!1}),UO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,a=gre(k4,r);return(0,pe.jsx)(Fu,{present:n||Xm(a.checked)||a.checked===!0,children:(0,pe.jsx)(Xe.span,{...o,ref:t,"data-state":V4(a.checked)})})});UO.displayName=k4;var vre="MenuSeparator",KO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,pe.jsx)(Xe.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});KO.displayName=vre;var yre="MenuArrow",qO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=qc(r);return(0,pe.jsx)(XB,{...o,...n,ref:t})});qO.displayName=yre;var N4="MenuSub",[bre,XO]=Ma(N4),YO=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,a=Oi(N4,t),s=qc(t),[u,l]=ie.useState(null),[c,p]=ie.useState(null),d=lt(o);return ie.useEffect(()=>(a.open===!1&&d(!1),()=>d(!1)),[a.open,d]),(0,pe.jsx)(u4,{...s,children:(0,pe.jsx)(MO,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:p,children:(0,pe.jsx)(bre,{scope:t,contentId:Ri(),triggerId:Ri(),trigger:u,onTriggerChange:l,children:r})})})};YO.displayName=N4;var _c="MenuSubTrigger",JO=ie.forwardRef((e,t)=>{let r=Oi(_c,e.__scopeMenu),n=Xc(_c,e.__scopeMenu),o=XO(_c,e.__scopeMenu),a=O4(_c,e.__scopeMenu),s=ie.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:l}=a,c={__scopeMenu:e.__scopeMenu},p=ie.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return ie.useEffect(()=>p,[p]),ie.useEffect(()=>{let d=u.current;return()=>{window.clearTimeout(d),l(null)}},[u,l]),(0,pe.jsx)(F4,{asChild:!0,...c,children:(0,pe.jsx)($O,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":eM(r.open),...e,ref:Sa(t,o.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:be(e.onPointerMove,Uc(d=>{a.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!s.current&&(a.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100))})),onPointerLeave:be(e.onPointerLeave,Uc(d=>{p();let h=r.content?.getBoundingClientRect();if(h){let g=r.content?.dataset.side,v=g==="right",m=v?-5:5,b=h[v?"left":"right"],y=h[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:b,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:b,y:h.bottom}],side:g}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(d),d.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:be(e.onKeyDown,d=>{let h=a.searchRef.current!=="";e.disabled||h&&d.key===" "||tre[n.dir].includes(d.key)&&(r.onOpenChange(!0),r.content?.focus(),d.preventDefault())})})})});JO.displayName=_c;var ZO="MenuSubContent",QO=ie.forwardRef((e,t)=>{let r=kO(Gr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=Oi(Gr,e.__scopeMenu),s=Xc(Gr,e.__scopeMenu),u=XO(ZO,e.__scopeMenu),l=ie.useRef(null),c=tt(t,l);return(0,pe.jsx)(Wc.Provider,{scope:e.__scopeMenu,children:(0,pe.jsx)(Fu,{present:n||a.open,children:(0,pe.jsx)(Wc.Slot,{scope:e.__scopeMenu,children:(0,pe.jsx)(M4,{id:u.contentId,"aria-labelledby":u.triggerId,...o,ref:c,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{s.isUsingKeyboardRef.current&&l.current?.focus(),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:be(e.onFocusOutside,p=>{p.target!==u.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:be(e.onEscapeKeyDown,p=>{s.onClose(),p.preventDefault()}),onKeyDown:be(e.onKeyDown,p=>{let d=p.currentTarget.contains(p.target),h=rre[s.dir].includes(p.key);d&&h&&(a.onOpenChange(!1),u.trigger?.focus(),p.preventDefault())})})})})})});QO.displayName=ZO;function eM(e){return e?"open":"closed"}function Xm(e){return e==="indeterminate"}function V4(e){return Xm(e)?"indeterminate":e?"checked":"unchecked"}function Cre(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function xre(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function wre(e,t,r){let o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=r?e.indexOf(r):-1,s=xre(e,Math.max(a,0));o.length===1&&(s=s.filter(c=>c!==r));let l=s.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}function Sre(e,t){let{x:r,y:n}=e,o=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){let u=t[a].x,l=t[a].y,c=t[s].x,p=t[s].y;l>n!=p>n&&r<(c-u)*(n-l)/(p-l)+u&&(o=!o)}return o}function Dre(e,t){if(!t)return!1;let r={x:e.clientX,y:e.clientY};return Sre(r,t)}function Uc(e){return t=>t.pointerType==="mouse"?e(t):void 0}var tM=IO,rM=F4,nM=NO,oM=VO,iM=I4,aM=LO,sM=Ym,uM=zO,lM=GO,cM=_O,fM=UO,pM=KO,dM=qO,mM=YO,hM=JO,gM=QO;var ct=require("react/jsx-runtime"),L4="DropdownMenu",[Pre,BZe]=Bn(L4,[R4]),Mt=R4(),[Tre,vM]=Pre(L4),$4=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:a,onOpenChange:s,modal:u=!0}=e,l=Mt(t),c=ft.useRef(null),[p=!1,d]=kc({prop:o,defaultProp:a,onChange:s});return(0,ct.jsx)(Tre,{scope:t,triggerId:Ri(),triggerRef:c,contentId:Ri(),open:p,onOpenChange:d,onOpenToggle:ft.useCallback(()=>d(h=>!h),[d]),modal:u,children:(0,ct.jsx)(tM,{...l,open:p,onOpenChange:d,dir:n,modal:u,children:r})})};$4.displayName=L4;var yM="DropdownMenuTrigger",z4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,a=vM(yM,r),s=Mt(r);return(0,ct.jsx)(rM,{asChild:!0,...s,children:(0,ct.jsx)(Xe.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:Sa(t,a.triggerRef),onPointerDown:be(e.onPointerDown,u=>{!n&&u.button===0&&u.ctrlKey===!1&&(a.onOpenToggle(),a.open||u.preventDefault())}),onKeyDown:be(e.onKeyDown,u=>{n||(["Enter"," "].includes(u.key)&&a.onOpenToggle(),u.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})})});z4.displayName=yM;var Are="DropdownMenuPortal",Jm=e=>{let{__scopeDropdownMenu:t,...r}=e,n=Mt(t);return(0,ct.jsx)(nM,{...n,...r})};Jm.displayName=Are;var bM="DropdownMenuContent",H4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=vM(bM,r),a=Mt(r),s=ft.useRef(!1);return(0,ct.jsx)(oM,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...n,ref:t,onCloseAutoFocus:be(e.onCloseAutoFocus,u=>{s.current||o.triggerRef.current?.focus(),s.current=!1,u.preventDefault()}),onInteractOutside:be(e.onInteractOutside,u=>{let l=u.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,p=l.button===2||c;(!o.modal||p)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});H4.displayName=bM;var Rre="DropdownMenuGroup",G4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(iM,{...o,...n,ref:t})});G4.displayName=Rre;var Fre="DropdownMenuLabel",j4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(aM,{...o,...n,ref:t})});j4.displayName=Fre;var Bre="DropdownMenuItem",Zm=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(sM,{...o,...n,ref:t})});Zm.displayName=Bre;var Ore="DropdownMenuCheckboxItem",_4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(uM,{...o,...n,ref:t})});_4.displayName=Ore;var Mre="DropdownMenuRadioGroup",W4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(lM,{...o,...n,ref:t})});W4.displayName=Mre;var Ire="DropdownMenuRadioItem",U4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(cM,{...o,...n,ref:t})});U4.displayName=Ire;var kre="DropdownMenuItemIndicator",Qm=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(fM,{...o,...n,ref:t})});Qm.displayName=kre;var Nre="DropdownMenuSeparator",Vre=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(pM,{...o,...n,ref:t})});Vre.displayName=Nre;var Lre="DropdownMenuArrow",$re=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(dM,{...o,...n,ref:t})});$re.displayName=Lre;var CM=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,s=Mt(t),[u=!1,l]=kc({prop:n,defaultProp:a,onChange:o});return(0,ct.jsx)(mM,{...s,open:u,onOpenChange:l,children:r})},zre="DropdownMenuSubTrigger",K4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(hM,{...o,...n,ref:t})});K4.displayName=zre;var Hre="DropdownMenuSubContent",q4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(gM,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});q4.displayName=Hre;var Jc=A(ee());i();var rt=A(ee()),Nn=A(require("styled-components"));var De=require("react/jsx-runtime"),xM="0.04",X4="0.08",Gre=Nn.css`
|
|
2126
|
+
`)},Jte=0,ku=[];function PO(e){var t=He.useRef([]),r=He.useRef([0,0]),n=He.useRef(),o=He.useState(Jte++)[0],a=He.useState(Gc)[0],s=He.useRef(e);He.useEffect(function(){s.current=e},[e]),He.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=lO([e.lockRef.current],(e.shards||[]).map(EO),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=He.useCallback(function(m,b){if("touches"in m&&m.touches.length===2)return!s.current.allowPinchZoom;var y=Um(m),x=r.current,w="deltaX"in m?m.deltaX:x[0]-y[0],S="deltaY"in m?m.deltaY:x[1]-y[1],E,D=m.target,P=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in m&&P==="h"&&D.type==="range")return!1;var F=P4(P,D);if(!F)return!0;if(F?E=P:(E=P==="v"?"h":"v",F=P4(P,D)),!F)return!1;if(!n.current&&"changedTouches"in m&&(w||S)&&(n.current=E),!E)return!0;var B=n.current||E;return SO(B,b,m,B==="h"?w:S,!0)},[]),l=He.useCallback(function(m){var b=m;if(!(!ku.length||ku[ku.length-1]!==a)){var y="deltaY"in b?DO(b):Um(b),x=t.current.filter(function(E){return E.name===b.type&&(E.target===b.target||b.target===E.shadowParent)&&Xte(E.delta,y)})[0];if(x&&x.should){b.cancelable&&b.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(EO).filter(Boolean).filter(function(E){return E.contains(b.target)}),S=w.length>0?u(b,w[0]):!s.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),c=He.useCallback(function(m,b,y,x){var w={name:m,delta:b,target:y,should:x,shadowParent:Zte(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),p=He.useCallback(function(m){r.current=Um(m),n.current=void 0},[]),d=He.useCallback(function(m){c(m.type,DO(m),m.target,u(m,e.lockRef.current))},[]),h=He.useCallback(function(m){c(m.type,Um(m),m.target,u(m,e.lockRef.current))},[]);He.useEffect(function(){return ku.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,Oa),document.addEventListener("touchmove",l,Oa),document.addEventListener("touchstart",p,Oa),function(){ku=ku.filter(function(m){return m!==a}),document.removeEventListener("wheel",l,Oa),document.removeEventListener("touchmove",l,Oa),document.removeEventListener("touchstart",p,Oa)}},[]);var g=e.removeScrollBar,v=e.inert;return He.createElement(He.Fragment,null,v?He.createElement(a,{styles:Yte(o)}):null,g?He.createElement(D4,{gapMode:e.gapMode}):null)}function Zte(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var TO=y4(Wm,PO);var AO=Km.forwardRef(function(e,t){return Km.createElement(Hc,kn({},e,{ref:t,sideCar:TO}))});AO.classNames=Hc.classNames;var T4=AO;var pe=require("react/jsx-runtime"),A4=["Enter"," "],Qte=["ArrowDown","PageUp","Home"],FO=["ArrowUp","PageDown","End"],ere=[...Qte,...FO],tre={ltr:[...A4,"ArrowRight"],rtl:[...A4,"ArrowLeft"]},rre={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Kc="Menu",[Wc,nre,ore]=Dm(Kc),[Ma,R4]=Bn(Kc,[ore,a4,p4]),qc=a4(),BO=p4(),[OO,Oi]=Ma(Kc),[ire,Xc]=Ma(Kc),MO=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:a,modal:s=!0}=e,u=qc(t),[l,c]=ie.useState(null),p=ie.useRef(!1),d=lt(a),h=Pm(o);return ie.useEffect(()=>{let g=()=>{p.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>p.current=!1;return document.addEventListener("keydown",g,{capture:!0}),()=>{document.removeEventListener("keydown",g,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),(0,pe.jsx)(u4,{...u,children:(0,pe.jsx)(OO,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:c,children:(0,pe.jsx)(ire,{scope:t,onClose:ie.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:p,dir:h,modal:s,children:n})})})};MO.displayName=Kc;var are="MenuAnchor",F4=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=qc(r);return(0,pe.jsx)(UB,{...o,...n,ref:t})});F4.displayName=are;var B4="MenuPortal",[sre,IO]=Ma(B4,{forceMount:void 0}),kO=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=Oi(B4,t);return(0,pe.jsx)(sre,{scope:t,forceMount:r,children:(0,pe.jsx)(Fu,{present:r||a.open,children:(0,pe.jsx)(l4,{asChild:!0,container:o,children:n})})})};kO.displayName=B4;var Gr="MenuContent",[ure,O4]=Ma(Gr),NO=ie.forwardRef((e,t)=>{let r=IO(Gr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=Oi(Gr,e.__scopeMenu),s=Xc(Gr,e.__scopeMenu);return(0,pe.jsx)(Wc.Provider,{scope:e.__scopeMenu,children:(0,pe.jsx)(Fu,{present:n||a.open,children:(0,pe.jsx)(Wc.Slot,{scope:e.__scopeMenu,children:s.modal?(0,pe.jsx)(lre,{...o,ref:t}):(0,pe.jsx)(cre,{...o,ref:t})})})})}),lre=ie.forwardRef((e,t)=>{let r=Oi(Gr,e.__scopeMenu),n=ie.useRef(null),o=tt(t,n);return ie.useEffect(()=>{let a=n.current;if(a)return sO(a)},[]),(0,pe.jsx)(M4,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:be(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),cre=ie.forwardRef((e,t)=>{let r=Oi(Gr,e.__scopeMenu);return(0,pe.jsx)(M4,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),M4=ie.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,disableOutsideScroll:v,...m}=e,b=Oi(Gr,r),y=Xc(Gr,r),x=qc(r),w=BO(r),S=nre(r),[E,D]=ie.useState(null),P=ie.useRef(null),F=tt(t,P,b.onContentChange),B=ie.useRef(0),I=ie.useRef(""),_=ie.useRef(0),L=ie.useRef(null),z=ie.useRef("right"),N=ie.useRef(0),$=v?T4:ie.Fragment,Z=v?{as:Pi,allowPinchZoom:!0}:void 0,te=j=>{let fe=I.current+j,ye=S().filter(W=>!W.disabled),he=document.activeElement,We=ye.find(W=>W.ref.current===he)?.textValue,R=ye.map(W=>W.textValue),U=wre(R,fe,We),G=ye.find(W=>W.textValue===U)?.ref.current;(function W(ce){I.current=ce,window.clearTimeout(B.current),ce!==""&&(B.current=window.setTimeout(()=>W(""),1e3))})(fe),G&&setTimeout(()=>G.focus())};ie.useEffect(()=>()=>window.clearTimeout(B.current),[]),OF();let oe=ie.useCallback(j=>z.current===L.current?.side&&Dre(j,L.current?.area),[]);return(0,pe.jsx)(ure,{scope:r,searchRef:I,onItemEnter:ie.useCallback(j=>{oe(j)&&j.preventDefault()},[oe]),onItemLeave:ie.useCallback(j=>{oe(j)||(P.current?.focus(),D(null))},[oe]),onTriggerLeave:ie.useCallback(j=>{oe(j)&&j.preventDefault()},[oe]),pointerGraceTimerRef:_,onPointerGraceIntentChange:ie.useCallback(j=>{L.current=j},[]),children:(0,pe.jsx)($,{...Z,children:(0,pe.jsx)(Jv,{asChild:!0,trapped:o,onMountAutoFocus:be(a,j=>{j.preventDefault(),P.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,pe.jsx)(Kv,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:h,onDismiss:g,children:(0,pe.jsx)(oO,{asChild:!0,...w,dir:y.dir,orientation:"vertical",loop:n,currentTabStopId:E,onCurrentTabStopIdChange:D,onEntryFocus:be(l,j=>{y.isUsingKeyboardRef.current||j.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,pe.jsx)(KB,{role:"menu","aria-orientation":"vertical","data-state":QO(b.open),"data-radix-menu-content":"",dir:y.dir,...x,...m,ref:F,style:{outline:"none",...m.style},onKeyDown:be(m.onKeyDown,j=>{let ye=j.target.closest("[data-radix-menu-content]")===j.currentTarget,he=j.ctrlKey||j.altKey||j.metaKey,We=j.key.length===1;ye&&(j.key==="Tab"&&j.preventDefault(),!he&&We&&te(j.key));let R=P.current;if(j.target!==R||!ere.includes(j.key))return;j.preventDefault();let G=S().filter(W=>!W.disabled).map(W=>W.ref.current);FO.includes(j.key)&&G.reverse(),Cre(G)}),onBlur:be(e.onBlur,j=>{j.currentTarget.contains(j.target)||(window.clearTimeout(B.current),I.current="")}),onPointerMove:be(e.onPointerMove,Uc(j=>{let fe=j.target,ye=N.current!==j.clientX;if(j.currentTarget.contains(fe)&&ye){let he=j.clientX>N.current?"right":"left";z.current=he,N.current=j.clientX}}))})})})})})})});NO.displayName=Gr;var fre="MenuGroup",I4=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,pe.jsx)(Xe.div,{role:"group",...n,ref:t})});I4.displayName=fre;var pre="MenuLabel",VO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,pe.jsx)(Xe.div,{...n,ref:t})});VO.displayName=pre;var qm="MenuItem",RO="menu.itemSelect",Ym=ie.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...o}=e,a=ie.useRef(null),s=Xc(qm,e.__scopeMenu),u=O4(qm,e.__scopeMenu),l=tt(t,a),c=ie.useRef(!1),p=()=>{let d=a.current;if(!r&&d){let h=new CustomEvent(RO,{bubbles:!0,cancelable:!0});d.addEventListener(RO,g=>n?.(g),{once:!0}),wm(d,h),h.defaultPrevented?c.current=!1:s.onClose()}};return(0,pe.jsx)(LO,{...o,ref:l,disabled:r,onClick:be(e.onClick,p),onPointerDown:d=>{e.onPointerDown?.(d),c.current=!0},onPointerUp:be(e.onPointerUp,d=>{c.current||d.currentTarget?.click()}),onKeyDown:be(e.onKeyDown,d=>{let h=u.searchRef.current!=="";r||h&&d.key===" "||A4.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});Ym.displayName=qm;var LO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:o,...a}=e,s=O4(qm,r),u=BO(r),l=ie.useRef(null),c=tt(t,l),[p,d]=ie.useState(!1),[h,g]=ie.useState("");return ie.useEffect(()=>{let v=l.current;v&&g((v.textContent??"").trim())},[a.children]),(0,pe.jsx)(Wc.ItemSlot,{scope:r,disabled:n,textValue:o??h,children:(0,pe.jsx)(iO,{asChild:!0,...u,focusable:!n,children:(0,pe.jsx)(Xe.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...a,ref:c,onPointerMove:be(e.onPointerMove,Uc(v=>{n?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:be(e.onPointerLeave,Uc(v=>s.onItemLeave(v))),onFocus:be(e.onFocus,()=>d(!0)),onBlur:be(e.onBlur,()=>d(!1))})})})}),dre="MenuCheckboxItem",$O=ie.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return(0,pe.jsx)(_O,{scope:e.__scopeMenu,checked:r,children:(0,pe.jsx)(Ym,{role:"menuitemcheckbox","aria-checked":Xm(r)?"mixed":r,...o,ref:t,"data-state":V4(r),onSelect:be(o.onSelect,()=>n?.(Xm(r)?!0:!r),{checkForDefaultPrevented:!1})})})});$O.displayName=dre;var zO="MenuRadioGroup",[mre,hre]=Ma(zO,{value:void 0,onValueChange:()=>{}}),HO=ie.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,a=lt(n);return(0,pe.jsx)(mre,{scope:e.__scopeMenu,value:r,onValueChange:a,children:(0,pe.jsx)(I4,{...o,ref:t})})});HO.displayName=zO;var GO="MenuRadioItem",jO=ie.forwardRef((e,t)=>{let{value:r,...n}=e,o=hre(GO,e.__scopeMenu),a=r===o.value;return(0,pe.jsx)(_O,{scope:e.__scopeMenu,checked:a,children:(0,pe.jsx)(Ym,{role:"menuitemradio","aria-checked":a,...n,ref:t,"data-state":V4(a),onSelect:be(n.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});jO.displayName=GO;var k4="MenuItemIndicator",[_O,gre]=Ma(k4,{checked:!1}),WO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,a=gre(k4,r);return(0,pe.jsx)(Fu,{present:n||Xm(a.checked)||a.checked===!0,children:(0,pe.jsx)(Xe.span,{...o,ref:t,"data-state":V4(a.checked)})})});WO.displayName=k4;var vre="MenuSeparator",UO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,pe.jsx)(Xe.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});UO.displayName=vre;var yre="MenuArrow",KO=ie.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=qc(r);return(0,pe.jsx)(qB,{...o,...n,ref:t})});KO.displayName=yre;var N4="MenuSub",[bre,qO]=Ma(N4),XO=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,a=Oi(N4,t),s=qc(t),[u,l]=ie.useState(null),[c,p]=ie.useState(null),d=lt(o);return ie.useEffect(()=>(a.open===!1&&d(!1),()=>d(!1)),[a.open,d]),(0,pe.jsx)(u4,{...s,children:(0,pe.jsx)(OO,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:p,children:(0,pe.jsx)(bre,{scope:t,contentId:Ri(),triggerId:Ri(),trigger:u,onTriggerChange:l,children:r})})})};XO.displayName=N4;var _c="MenuSubTrigger",YO=ie.forwardRef((e,t)=>{let r=Oi(_c,e.__scopeMenu),n=Xc(_c,e.__scopeMenu),o=qO(_c,e.__scopeMenu),a=O4(_c,e.__scopeMenu),s=ie.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:l}=a,c={__scopeMenu:e.__scopeMenu},p=ie.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return ie.useEffect(()=>p,[p]),ie.useEffect(()=>{let d=u.current;return()=>{window.clearTimeout(d),l(null)}},[u,l]),(0,pe.jsx)(F4,{asChild:!0,...c,children:(0,pe.jsx)(LO,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":QO(r.open),...e,ref:Sa(t,o.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:be(e.onPointerMove,Uc(d=>{a.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!s.current&&(a.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100))})),onPointerLeave:be(e.onPointerLeave,Uc(d=>{p();let h=r.content?.getBoundingClientRect();if(h){let g=r.content?.dataset.side,v=g==="right",m=v?-5:5,b=h[v?"left":"right"],y=h[v?"right":"left"];a.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:b,y:h.top},{x:y,y:h.top},{x:y,y:h.bottom},{x:b,y:h.bottom}],side:g}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(d),d.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:be(e.onKeyDown,d=>{let h=a.searchRef.current!=="";e.disabled||h&&d.key===" "||tre[n.dir].includes(d.key)&&(r.onOpenChange(!0),r.content?.focus(),d.preventDefault())})})})});YO.displayName=_c;var JO="MenuSubContent",ZO=ie.forwardRef((e,t)=>{let r=IO(Gr,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=Oi(Gr,e.__scopeMenu),s=Xc(Gr,e.__scopeMenu),u=qO(JO,e.__scopeMenu),l=ie.useRef(null),c=tt(t,l);return(0,pe.jsx)(Wc.Provider,{scope:e.__scopeMenu,children:(0,pe.jsx)(Fu,{present:n||a.open,children:(0,pe.jsx)(Wc.Slot,{scope:e.__scopeMenu,children:(0,pe.jsx)(M4,{id:u.contentId,"aria-labelledby":u.triggerId,...o,ref:c,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{s.isUsingKeyboardRef.current&&l.current?.focus(),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:be(e.onFocusOutside,p=>{p.target!==u.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:be(e.onEscapeKeyDown,p=>{s.onClose(),p.preventDefault()}),onKeyDown:be(e.onKeyDown,p=>{let d=p.currentTarget.contains(p.target),h=rre[s.dir].includes(p.key);d&&h&&(a.onOpenChange(!1),u.trigger?.focus(),p.preventDefault())})})})})})});ZO.displayName=JO;function QO(e){return e?"open":"closed"}function Xm(e){return e==="indeterminate"}function V4(e){return Xm(e)?"indeterminate":e?"checked":"unchecked"}function Cre(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function xre(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function wre(e,t,r){let o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=r?e.indexOf(r):-1,s=xre(e,Math.max(a,0));o.length===1&&(s=s.filter(c=>c!==r));let l=s.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}function Sre(e,t){let{x:r,y:n}=e,o=!1;for(let a=0,s=t.length-1;a<t.length;s=a++){let u=t[a].x,l=t[a].y,c=t[s].x,p=t[s].y;l>n!=p>n&&r<(c-u)*(n-l)/(p-l)+u&&(o=!o)}return o}function Dre(e,t){if(!t)return!1;let r={x:e.clientX,y:e.clientY};return Sre(r,t)}function Uc(e){return t=>t.pointerType==="mouse"?e(t):void 0}var eM=MO,tM=F4,rM=kO,nM=NO,oM=I4,iM=VO,aM=Ym,sM=$O,uM=HO,lM=jO,cM=WO,fM=UO,pM=KO,dM=XO,mM=YO,hM=ZO;var ct=require("react/jsx-runtime"),L4="DropdownMenu",[Pre,BZe]=Bn(L4,[R4]),Mt=R4(),[Tre,gM]=Pre(L4),$4=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:a,onOpenChange:s,modal:u=!0}=e,l=Mt(t),c=ft.useRef(null),[p=!1,d]=kc({prop:o,defaultProp:a,onChange:s});return(0,ct.jsx)(Tre,{scope:t,triggerId:Ri(),triggerRef:c,contentId:Ri(),open:p,onOpenChange:d,onOpenToggle:ft.useCallback(()=>d(h=>!h),[d]),modal:u,children:(0,ct.jsx)(eM,{...l,open:p,onOpenChange:d,dir:n,modal:u,children:r})})};$4.displayName=L4;var vM="DropdownMenuTrigger",z4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,a=gM(vM,r),s=Mt(r);return(0,ct.jsx)(tM,{asChild:!0,...s,children:(0,ct.jsx)(Xe.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:Sa(t,a.triggerRef),onPointerDown:be(e.onPointerDown,u=>{!n&&u.button===0&&u.ctrlKey===!1&&(a.onOpenToggle(),a.open||u.preventDefault())}),onKeyDown:be(e.onKeyDown,u=>{n||(["Enter"," "].includes(u.key)&&a.onOpenToggle(),u.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})})});z4.displayName=vM;var Are="DropdownMenuPortal",Jm=e=>{let{__scopeDropdownMenu:t,...r}=e,n=Mt(t);return(0,ct.jsx)(rM,{...n,...r})};Jm.displayName=Are;var yM="DropdownMenuContent",H4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=gM(yM,r),a=Mt(r),s=ft.useRef(!1);return(0,ct.jsx)(nM,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...n,ref:t,onCloseAutoFocus:be(e.onCloseAutoFocus,u=>{s.current||o.triggerRef.current?.focus(),s.current=!1,u.preventDefault()}),onInteractOutside:be(e.onInteractOutside,u=>{let l=u.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,p=l.button===2||c;(!o.modal||p)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});H4.displayName=yM;var Rre="DropdownMenuGroup",G4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(oM,{...o,...n,ref:t})});G4.displayName=Rre;var Fre="DropdownMenuLabel",j4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(iM,{...o,...n,ref:t})});j4.displayName=Fre;var Bre="DropdownMenuItem",Zm=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(aM,{...o,...n,ref:t})});Zm.displayName=Bre;var Ore="DropdownMenuCheckboxItem",_4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(sM,{...o,...n,ref:t})});_4.displayName=Ore;var Mre="DropdownMenuRadioGroup",W4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(uM,{...o,...n,ref:t})});W4.displayName=Mre;var Ire="DropdownMenuRadioItem",U4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(lM,{...o,...n,ref:t})});U4.displayName=Ire;var kre="DropdownMenuItemIndicator",Qm=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(cM,{...o,...n,ref:t})});Qm.displayName=kre;var Nre="DropdownMenuSeparator",Vre=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(fM,{...o,...n,ref:t})});Vre.displayName=Nre;var Lre="DropdownMenuArrow",$re=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(pM,{...o,...n,ref:t})});$re.displayName=Lre;var bM=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,s=Mt(t),[u=!1,l]=kc({prop:n,defaultProp:a,onChange:o});return(0,ct.jsx)(dM,{...s,open:u,onOpenChange:l,children:r})},zre="DropdownMenuSubTrigger",K4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(mM,{...o,...n,ref:t})});K4.displayName=zre;var Hre="DropdownMenuSubContent",q4=ft.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Mt(r);return(0,ct.jsx)(hM,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});q4.displayName=Hre;var Jc=A(ee());i();var rt=A(ee()),Nn=A(require("styled-components"));var De=require("react/jsx-runtime"),CM="0.04",X4="0.08",Gre=Nn.css`
|
|
2127
2127
|
color: ${({theme:e})=>e.color.error700};
|
|
2128
2128
|
|
|
2129
2129
|
&:focus,
|
|
@@ -2132,7 +2132,7 @@
|
|
|
2132
2132
|
}
|
|
2133
2133
|
|
|
2134
2134
|
&:hover:not([aria-disabled]) {
|
|
2135
|
-
background-color: ${({theme:e})=>Je(
|
|
2135
|
+
background-color: ${({theme:e})=>Je(CM,e.color.error100)};
|
|
2136
2136
|
}
|
|
2137
2137
|
`,jre=Nn.css`
|
|
2138
2138
|
color: ${({theme:e})=>e.color.purple600};
|
|
@@ -2143,7 +2143,7 @@
|
|
|
2143
2143
|
}
|
|
2144
2144
|
|
|
2145
2145
|
&:hover:not([aria-disabled]) {
|
|
2146
|
-
background-color: ${({theme:e})=>Je(
|
|
2146
|
+
background-color: ${({theme:e})=>Je(CM,e.color.purple100)};
|
|
2147
2147
|
}
|
|
2148
2148
|
`,_re=e=>{switch(e){case"dangerous":return Gre;case"pricing":return jre;default:return null}},e0=Nn.default.div`
|
|
2149
2149
|
${Yo};
|
|
@@ -2223,7 +2223,7 @@
|
|
|
2223
2223
|
opacity: 0;
|
|
2224
2224
|
transform: scale(.97) translateY(-8px);
|
|
2225
2225
|
}
|
|
2226
|
-
`,
|
|
2226
|
+
`,wM=Vn.css`
|
|
2227
2227
|
animation: ${Xre} ${({theme:e})=>e.duration.productive.moderate}
|
|
2228
2228
|
${({theme:e})=>e.easing.entrance.productive};
|
|
2229
2229
|
background: white;
|
|
@@ -2253,9 +2253,9 @@
|
|
|
2253
2253
|
margin: ${({theme:e})=>e.spacing.space02} 0;
|
|
2254
2254
|
}
|
|
2255
2255
|
`,Jre=(0,Vn.default)(H4)`
|
|
2256
|
-
${
|
|
2256
|
+
${wM}
|
|
2257
2257
|
`,Zre=(0,Vn.default)(q4)`
|
|
2258
|
-
${
|
|
2258
|
+
${wM}
|
|
2259
2259
|
|
|
2260
2260
|
${ke.smAndDown} {
|
|
2261
2261
|
transform: translateX(-100%) !important;
|
|
@@ -2264,7 +2264,7 @@
|
|
|
2264
2264
|
margin-left: ${({theme:e})=>e.spacing.space03};
|
|
2265
2265
|
`,ene=(0,Vn.default)(j4)`
|
|
2266
2266
|
padding: ${Yc};
|
|
2267
|
-
`,tne=({children:e,...t})=>{let r=Be("grey700");return(0,It.jsx)(ene,{asChild:!0,children:(0,It.jsx)(nr,{colorOverride:r,variant:"overline",...t,children:e})})},rne=W4,nne=({label:e,icon:t,description:r,children:n})=>{let{isSmAndUp:o}=vn(),[a,s]=(0,
|
|
2267
|
+
`,tne=({children:e,...t})=>{let r=Be("grey700");return(0,It.jsx)(ene,{asChild:!0,children:(0,It.jsx)(nr,{colorOverride:r,variant:"overline",...t,children:e})})},rne=W4,nne=({label:e,icon:t,description:r,children:n})=>{let{isSmAndUp:o}=vn(),[a,s]=(0,xM.useState)(!1);return o?(0,It.jsxs)(bM,{children:[(0,It.jsx)(o0,{description:r,icon:t,label:e}),(0,It.jsx)(Jm,{children:(0,It.jsx)(Zre,{children:n})})]}):(0,It.jsxs)(G4,{children:[(0,It.jsx)(o0,{description:r,icon:t,label:e,onClick:u=>{u.preventDefault(),s(l=>!l)}}),(0,It.jsx)(Qre,{children:a?n:null})]})},SM=({align:e="start",children:t,trigger:r,label:n,isOpen:o,triggerProps:a={},onOpenChange:s,onInteractOutside:u,...l})=>(0,It.jsxs)($4,{modal:!1,...(0,Jc.isNotNil)(s)&&(0,Jc.isNotNil)(o)?{open:o,onOpenChange:s}:{},children:[(0,It.jsx)(z4,{asChild:!0,children:(0,Jc.isNotUndefined)(r)?r:(0,It.jsx)(Qe,{"aria-expanded":o,forceState:o?"active":void 0,iconName:"caret-down",iconPosition:"end",...a,children:n})}),(0,It.jsx)(Jm,{children:(0,It.jsx)(Jre,{...l,align:e,onInteractOutside:u,sideOffset:6,children:t})})]});SM.displayName="Menu_VHS";i();i();var jr=require("react"),Qc=A(ee()),Lu=A(require("styled-components"));i();i();var ka=require("react"),Vu=A(require("styled-components"));var Ia=A(ee());var So=require("react/jsx-runtime"),EM=["fullWidth","maxItem"],Nu="8px",PM="0.08",one=e=>EM.includes(e)?null:e,ine=Vu.default.div`
|
|
2268
2268
|
background: white;
|
|
2269
2269
|
border-radius: 4px 4px 0 0;
|
|
2270
2270
|
box-shadow: ${({theme:e})=>e.shadow.elevation2};
|
|
@@ -2287,7 +2287,7 @@
|
|
|
2287
2287
|
}
|
|
2288
2288
|
|
|
2289
2289
|
&:focus {
|
|
2290
|
-
background-color: ${({theme:e})=>Je(
|
|
2290
|
+
background-color: ${({theme:e})=>Je(PM,e.color.red100)};
|
|
2291
2291
|
color: ${({theme:e})=>e.color.red600};
|
|
2292
2292
|
}
|
|
2293
2293
|
}
|
|
@@ -2306,7 +2306,7 @@
|
|
|
2306
2306
|
opacity: 1;
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
2309
|
-
`,
|
|
2309
|
+
`,DM=Vu.default.div`
|
|
2310
2310
|
/* divider */
|
|
2311
2311
|
hr {
|
|
2312
2312
|
border-top: 1px solid ${({theme:e})=>e.color.grey300};
|
|
@@ -2360,7 +2360,7 @@
|
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
2362
2362
|
&:focus {
|
|
2363
|
-
background-color: ${({theme:e})=>Je(
|
|
2363
|
+
background-color: ${({theme:e})=>Je(PM,e.color.grey200)};
|
|
2364
2364
|
}
|
|
2365
2365
|
}
|
|
2366
2366
|
|
|
@@ -2369,7 +2369,7 @@
|
|
|
2369
2369
|
${({variant:e})=>e==="dangerous"?ane:null}
|
|
2370
2370
|
${({disabled:e})=>(0,Ia.isNotNil)(e)&&e?sne:null}
|
|
2371
2371
|
}
|
|
2372
|
-
`,i0=(0,ka.forwardRef)(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:a,onOpen:s,onClose:u,...l},c)=>{let p=(0,ka.useRef)(),d=(0,Ia.isNotNil)(o)?o:()=>{};_s(p,d);let h=js([p,c]);if((0,ka.useEffect)(()=>(s&&s(),()=>{u&&u()}),[s,u]),(0,ka.useEffect)(()=>{let m=b=>{b.key==="Escape"&&a&&a(b)};return document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[a]),e?.length==null)return null;let g=e.map(m=>{let{disabled:b,variant:y}=m.props,x=(0,Ia.isNotNil)(b)?b:!1,w=(0,Ia.isNonEmptyString)(y)?y:void 0,S=`wrapper-${m.key}`;return(0,So.jsx)(
|
|
2372
|
+
`,i0=(0,ka.forwardRef)(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:a,onOpen:s,onClose:u,...l},c)=>{let p=(0,ka.useRef)(),d=(0,Ia.isNotNil)(o)?o:()=>{};_s(p,d);let h=js([p,c]);if((0,ka.useEffect)(()=>(s&&s(),()=>{u&&u()}),[s,u]),(0,ka.useEffect)(()=>{let m=b=>{b.key==="Escape"&&a&&a(b)};return document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[a]),e?.length==null)return null;let g=e.map(m=>{let{disabled:b,variant:y}=m.props,x=(0,Ia.isNotNil)(b)?b:!1,w=(0,Ia.isNonEmptyString)(y)?y:void 0,S=`wrapper-${m.key}`;return(0,So.jsx)(DM,{disabled:x,variant:w,children:m},S)});return(0,So.jsxs)(ine,{ref:h,menuWidth:r,onClick:n,...l,children:[(0,Ia.isNotNil)(t)?(0,So.jsxs)(So.Fragment,{children:[t,(0,So.jsx)(DM,{children:(0,So.jsx)(oc,{})})]}):null,g]})});i0.displayName="Menu_VHS";i();var J4=A(require("styled-components")),TM=A(ee());var Zc=require("react/jsx-runtime"),une=J4.default.div`
|
|
2373
2373
|
align-items: center;
|
|
2374
2374
|
display: flex;
|
|
2375
2375
|
gap: ${({theme:e})=>e.spacing.space02};
|
|
@@ -2380,11 +2380,11 @@
|
|
|
2380
2380
|
font-size: 20px;
|
|
2381
2381
|
font-weight: 700;
|
|
2382
2382
|
line-height: 24px;
|
|
2383
|
-
`,
|
|
2383
|
+
`,AM=({label:e,onCloseClick:t,overrideMenuHeader:r=void 0})=>(0,Zc.jsxs)(une,{children:[(0,TM.isNotNil)(r)?r:(0,Zc.jsx)(lne,{children:e||"Menu"}),(0,Zc.jsx)(Xs,{onClick:t})]});var Mi=require("react/jsx-runtime"),RM=8,cne=Lu.css`
|
|
2384
2384
|
bottom: 0;
|
|
2385
|
-
margin-bottom: ${({dropdownButtonHeight:e})=>e+
|
|
2385
|
+
margin-bottom: ${({dropdownButtonHeight:e})=>e+RM}px;
|
|
2386
2386
|
`,fne=Lu.css`
|
|
2387
|
-
margin-top: ${({dropdownButtonHeight:e})=>e+
|
|
2387
|
+
margin-top: ${({dropdownButtonHeight:e})=>e+RM}px;
|
|
2388
2388
|
top: 0;
|
|
2389
2389
|
`,pne=(0,Lu.default)(i0)`
|
|
2390
2390
|
animation-duration: ${({theme:e})=>e.duration.productive.fast};
|
|
@@ -2412,7 +2412,7 @@
|
|
|
2412
2412
|
|
|
2413
2413
|
/* prevent dropdown button from wrapping underneath main button */
|
|
2414
2414
|
position: relative;
|
|
2415
|
-
`,Z4=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:a,onMenuClosed:s,disabled:u=!1,iconButtonComponent:l,overrideMenuHeader:c,size:p="lg",...d})=>{let[h,g,,v]=td(!1),[m,b]=(0,jr.useState)(!1),[y,x]=(0,jr.useState)(0),w=(0,jr.useRef)(null),{isXsAndDown:S}=vn();(0,jr.useLayoutEffect)(()=>{w.current&&x(w.current.offsetHeight)},[w]);let E=B=>{!h||(0,Qc.isNotNil)(B)&&_n(w.current?.contains(B.target))||(v(),(0,Qc.isFunction)(s)&&s(),w.current?.focus())},D=(0,jr.useCallback)(()=>{b(!0),g()},[g]),P=(0,jr.useCallback)(B=>{a&&a(B),D()},[a,D]),F=()=>(0,Mi.jsx)(Qe,{ref:w,"aria-expanded":h,disabled:u,forceState:h?"active":void 0,iconName:"caret-down",iconPosition:"end",label:e,onClick:P,size:p,...d});return(0,Qc.isNotNil)(l)&&(F=()=>(0,jr.cloneElement)(l,{label:e,onClick:P,ref:w,disabled:u,"aria-expanded":h,...d})),(0,Mi.jsxs)(dne,{children:[(0,Mi.jsx)(F,{}),(0,Mi.jsx)(pne,{dropdownButtonHeight:y,isMenuVisible:h,items:m?r:[],menuAlignment:t,menuHeader:S?(0,Mi.jsx)(
|
|
2415
|
+
`,Z4=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:a,onMenuClosed:s,disabled:u=!1,iconButtonComponent:l,overrideMenuHeader:c,size:p="lg",...d})=>{let[h,g,,v]=td(!1),[m,b]=(0,jr.useState)(!1),[y,x]=(0,jr.useState)(0),w=(0,jr.useRef)(null),{isXsAndDown:S}=vn();(0,jr.useLayoutEffect)(()=>{w.current&&x(w.current.offsetHeight)},[w]);let E=B=>{!h||(0,Qc.isNotNil)(B)&&_n(w.current?.contains(B.target))||(v(),(0,Qc.isFunction)(s)&&s(),w.current?.focus())},D=(0,jr.useCallback)(()=>{b(!0),g()},[g]),P=(0,jr.useCallback)(B=>{a&&a(B),D()},[a,D]),F=()=>(0,Mi.jsx)(Qe,{ref:w,"aria-expanded":h,disabled:u,forceState:h?"active":void 0,iconName:"caret-down",iconPosition:"end",label:e,onClick:P,size:p,...d});return(0,Qc.isNotNil)(l)&&(F=()=>(0,jr.cloneElement)(l,{label:e,onClick:P,ref:w,disabled:u,"aria-expanded":h,...d})),(0,Mi.jsxs)(dne,{children:[(0,Mi.jsx)(F,{}),(0,Mi.jsx)(pne,{dropdownButtonHeight:y,isMenuVisible:h,items:m?r:[],menuAlignment:t,menuHeader:S?(0,Mi.jsx)(AM,{label:e,onCloseClick:E,overrideMenuHeader:c}):null,menuPosition:n,onClick:E,onClickOutside:E,onPressEsc:E,width:o}),S&&h?(0,Mi.jsx)(tn,{}):null]})};Z4.displayName="MenuButton_VHS";i();var Ii=require("react"),Q4=A(require("styled-components")),Do=A(ee()),NM=require("react-dom");i();var FM=A(require("styled-components"));var BM=FM.default.div`
|
|
2416
2416
|
background-color: white;
|
|
2417
2417
|
box-sizing: border-box;
|
|
2418
2418
|
display: flex;
|
|
@@ -2433,14 +2433,14 @@
|
|
|
2433
2433
|
min-width: ${({width:e})=>e??"480px"};
|
|
2434
2434
|
width: min-content;
|
|
2435
2435
|
}
|
|
2436
|
-
`;i();var
|
|
2436
|
+
`;i();var OM=A(ee()),a0=require("react"),MM=(0,a0.createContext)(void 0),IM=MM.Provider,kM=()=>{let e=(0,a0.useContext)(MM);if((0,OM.isNotUndefined)(e))return e;throw new Error("useModalClose must be used within a ModalCloseProvider")};var Na=require("react/jsx-runtime"),mne=(0,Q4.default)(tn)`
|
|
2437
2437
|
display: flex;
|
|
2438
2438
|
`,hne=Q4.default.div`
|
|
2439
2439
|
align-items: stretch;
|
|
2440
2440
|
display: flex;
|
|
2441
2441
|
flex-direction: column;
|
|
2442
2442
|
width: 100%;
|
|
2443
|
-
`,gne=e=>(0,Do.isNotNil)(e)&&(0,Do.hasKey)(e,"current")&&(0,Do.isNotNil)(e.current),vne=e=>{(0,Ii.useEffect)(()=>{let t=document.activeElement;if(gne(e)){let r=e.current;(0,Do.isNotNil)(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},e7=(0,Ii.forwardRef)(({alignHorizontal:e="center",alignVertical:t="center",children:r,className:n,fullHeight:o=!1,initialFocusRef:a,onRequestClose:s,shouldCloseOnClickOutside:u=!0,width:l,...c},p)=>{vne(p);let d=(0,Ii.useRef)(null),h=ad(!0,{focusSelector:a?.current});return _s(d,()=>{s&&u&&s()}),qd(c.isOpen),Kd("Escape",g=>{s&&s(),g.preventDefault()}),(0,Na.jsx)(
|
|
2443
|
+
`,gne=e=>(0,Do.isNotNil)(e)&&(0,Do.hasKey)(e,"current")&&(0,Do.isNotNil)(e.current),vne=e=>{(0,Ii.useEffect)(()=>{let t=document.activeElement;if(gne(e)){let r=e.current;(0,Do.isNotNil)(r)&&r.focus()}return()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},e7=(0,Ii.forwardRef)(({alignHorizontal:e="center",alignVertical:t="center",children:r,className:n,fullHeight:o=!1,initialFocusRef:a,onRequestClose:s,shouldCloseOnClickOutside:u=!0,width:l,...c},p)=>{vne(p);let d=(0,Ii.useRef)(null),h=ad(!0,{focusSelector:a?.current});return _s(d,()=>{s&&u&&s()}),qd(c.isOpen),Kd("Escape",g=>{s&&s(),g.preventDefault()}),(0,Na.jsx)(IM,{value:s,children:(0,Na.jsx)(mne,{alignHorizontal:e,alignVertical:t,children:(0,Na.jsx)(BM,{ref:h,"aria-modal":"true",fullHeight:o,role:"dialog",tabIndex:-1,width:l,...c,children:(0,Na.jsx)(hne,{ref:d,children:r})})})})});e7.displayName="ModalContent_VHS";var yne=e=>{let{id:t,...r}=e,n=document.createElement("div");n.classList.add("Modal"),(0,Do.isNotUndefined)(e.className)&&n.classList.add(e.className),(0,Do.isNotUndefined)(t)&&(n.id=t);let o=(0,Ii.useRef)(n);return(0,Ii.useEffect)(()=>{let a=o.current;return document.body.appendChild(a),()=>a.remove()},[]),(0,NM.createPortal)((0,Na.jsx)(Gl,{children:e.isOpen?(0,Na.jsx)(e7,{ref:o,...r}):null}),o.current)};i();var ef=A(require("styled-components"));var t7=require("react/jsx-runtime"),bne=ef.default.div`
|
|
2444
2444
|
align-items: center;
|
|
2445
2445
|
display: flex;
|
|
2446
2446
|
padding: ${({theme:e})=>e.spacing.space04} ${({theme:e})=>e.spacing.space04};
|
|
@@ -2457,11 +2457,11 @@
|
|
|
2457
2457
|
right: ${({theme:e})=>e.spacing.space04};
|
|
2458
2458
|
top: ${({theme:e})=>e.spacing.space04};
|
|
2459
2459
|
z-index: ${({theme:e})=>e.zIndex.ModalCloseButton};
|
|
2460
|
-
`,Sne=({onClick:e,...t})=>{let r=
|
|
2460
|
+
`,Sne=({onClick:e,...t})=>{let r=kM();return(0,t7.jsx)(wne,{"aria-label":"Close",icon:(0,t7.jsx)(Pe,{size:"sm",type:"close"}),onClick:r,preventTooltip:!0,...t})};i();i();var VM=A(require("styled-components")),LM=require("react/jsx-runtime"),Dne=VM.default.div`
|
|
2461
2461
|
background-color: white;
|
|
2462
2462
|
border-radius: 8px;
|
|
2463
2463
|
box-shadow: ${({theme:e,elevationToken:t})=>e.shadow[t]};
|
|
2464
|
-
`,r7=({children:e,elevation:t=1,...r})=>{let n=`elevation${t}`;return(0
|
|
2464
|
+
`,r7=({children:e,elevation:t=1,...r})=>{let n=`elevation${t}`;return(0,LM.jsx)(Dne,{...r,elevationToken:n,children:e})};r7.displayName="Paper_VHS";i();i();var tf=A(require("styled-components")),$u=require("react/jsx-runtime"),n7="8px",Ene=tf.default.div`
|
|
2465
2465
|
display: flex;
|
|
2466
2466
|
`,Pne=tf.default.div`
|
|
2467
2467
|
align-self: center;
|
|
@@ -2483,7 +2483,7 @@
|
|
|
2483
2483
|
margin-right: ${({theme:e})=>e.spacing.space04};
|
|
2484
2484
|
text-align: right;
|
|
2485
2485
|
width: 5ch;
|
|
2486
|
-
`,o7=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,labelColorOverride:n=void 0,meterBgColorOverride:o=void 0,...a})=>{let s=Math.round(t*100);return(0,$u.jsxs)(Ene,{"aria-label":"Progress","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":s,"data-testid":"progress-bar",role:"progressbar",...a,children:[e?(0,$u.jsxs)(Ane,{"data-testid":"progress-bar-label",labelColorOverride:n,children:[s,"%"]}):null,(0,$u.jsx)(Pne,{meterBgColorOverride:o,children:(0,$u.jsx)(Tne,{colorOverride:r,progress:t})})]})};o7.displayName="ProgressBar_VHS";i();i();var To=require("react"),Wr=A(require("styled-components"));i();i();var Wt=require("react"),_r=A(ee()),
|
|
2486
|
+
`,o7=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,labelColorOverride:n=void 0,meterBgColorOverride:o=void 0,...a})=>{let s=Math.round(t*100);return(0,$u.jsxs)(Ene,{"aria-label":"Progress","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":s,"data-testid":"progress-bar",role:"progressbar",...a,children:[e?(0,$u.jsxs)(Ane,{"data-testid":"progress-bar-label",labelColorOverride:n,children:[s,"%"]}):null,(0,$u.jsx)(Pne,{meterBgColorOverride:o,children:(0,$u.jsx)(Tne,{colorOverride:r,progress:t})})]})};o7.displayName="ProgressBar_VHS";i();i();var To=require("react"),Wr=A(require("styled-components"));i();i();var Wt=require("react"),_r=A(ee()),_M=A(require("styled-components"));i();i();var Eo=A(require("styled-components"));var i7=A(ee());var _t=require("react/jsx-runtime"),s0=45,Rne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a7=7,$M=e=>e[0]instanceof Date||e[6]instanceof Date,Fne=e=>{let t={start:Uu(Xr(e)),end:E0(Xr(e))};return $7(t)},zM=()=>Array.from({length:a7},()=>[]),Bne=e=>{let t=[],r=(0,i7.isNotNil)(e[0])?z7(e[0]):0,n=zM();for(let o=0;o<e.length;o++){let a=(o+r)%a7;a===0&&$M(n)&&(t.push(n),n=zM()),n[a]=e[o]}return $M(n)&&t.push(n),t},One=Eo.default.div`
|
|
2487
2487
|
cursor: not-allowed;
|
|
2488
2488
|
padding-top: ${({theme:e})=>e.spacing.space04};
|
|
2489
2489
|
width: ${s0*a7}px;
|
|
@@ -2525,7 +2525,7 @@
|
|
|
2525
2525
|
`,l0=Eo.default.span`
|
|
2526
2526
|
position: relative;
|
|
2527
2527
|
z-index: 1;
|
|
2528
|
-
`,
|
|
2528
|
+
`,HM=Eo.default.button`
|
|
2529
2529
|
background: none;
|
|
2530
2530
|
border: none;
|
|
2531
2531
|
color: ${e=>e.theme.color.grey500};
|
|
@@ -2535,7 +2535,7 @@
|
|
|
2535
2535
|
color: ${e=>e.theme.color.grey300};
|
|
2536
2536
|
cursor: not-allowed;
|
|
2537
2537
|
}
|
|
2538
|
-
`,c0=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:a=!1,renderDay:s})=>{let u=Bne(Fne(e)),l=Uu(_u(e,1)),c=E0(_u(e,-1)),p=D=>r?H7(D,r):!1,d=D=>a?G7(D):!1,h=D=>t?fn(D,t):!1,g=D=>p(D)||d(D)||h(D),v=D=>D.toLocaleDateString("en-US",{day:"numeric"}),m=D=>s?s({day:D,isDisabled:g(D),formattedDay:v(D)}):(0,_t.jsx)(u0,{"data-day":v(D),disabled:g(D),children:(0,_t.jsx)(l0,{children:v(D)})},D),b={start:t??D0(new Date,-5),end:a?new Date:D0(new Date,5)},y=e.getFullYear(),x=()=>{let D=new Intl.DateTimeFormat("en",{month:"long"});return P0(b).filter(P=>P.getFullYear()===e.getFullYear()).map(P=>({value:P.getMonth(),label:D.format(P)}))},w=()=>Object.values(P0(b).map(D=>({value:D.getFullYear(),label:D.getFullYear()})).reduce((D,P)=>(0,i7.isNotNil)(D[P.value])?D:{...D,[P.value]:P},{})),S=x(),E=w();return(0,_t.jsxs)(One,{"data-testid":"calendar-test-identifier",children:[(0,_t.jsxs)(Mne,{children:[(0,_t.jsx)(
|
|
2538
|
+
`,c0=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:a=!1,renderDay:s})=>{let u=Bne(Fne(e)),l=Uu(_u(e,1)),c=E0(_u(e,-1)),p=D=>r?H7(D,r):!1,d=D=>a?G7(D):!1,h=D=>t?fn(D,t):!1,g=D=>p(D)||d(D)||h(D),v=D=>D.toLocaleDateString("en-US",{day:"numeric"}),m=D=>s?s({day:D,isDisabled:g(D),formattedDay:v(D)}):(0,_t.jsx)(u0,{"data-day":v(D),disabled:g(D),children:(0,_t.jsx)(l0,{children:v(D)})},D),b={start:t??D0(new Date,-5),end:a?new Date:D0(new Date,5)},y=e.getFullYear(),x=()=>{let D=new Intl.DateTimeFormat("en",{month:"long"});return P0(b).filter(P=>P.getFullYear()===e.getFullYear()).map(P=>({value:P.getMonth(),label:D.format(P)}))},w=()=>Object.values(P0(b).map(D=>({value:D.getFullYear(),label:D.getFullYear()})).reduce((D,P)=>(0,i7.isNotNil)(D[P.value])?D:{...D,[P.value]:P},{})),S=x(),E=w();return(0,_t.jsxs)(One,{"data-testid":"calendar-test-identifier",children:[(0,_t.jsxs)(Mne,{children:[(0,_t.jsx)(HM,{"aria-label":"Previous month","data-testid":"month-prev",disabled:h(c),onClick:()=>{n&&n(c)},style:{transform:"translateX(-5px)"},type:"button",children:(0,_t.jsx)(Pe,{size:"md",type:"caret-left"})}),(0,_t.jsx)(mi,{"aria-label":"Select month","data-testid":"monthSelect",fullWidth:!1,onChange:D=>{let P=D.target.value,F=new Date(y,Number(P));n&&(d(F)?n(new Date):h(F)?n(t):n(F))},options:S,placeholder:null,value:e.getMonth()}),(0,_t.jsx)(mi,{"aria-label":"Select year","data-testid":"yearSelect",fullWidth:!1,onChange:D=>{let P=e.getMonth(),F=D.target.value,B=new Date(Number(F),P);n&&(d(B)?n(new Date):h(B)?n(t):n(B))},options:E,placeholder:null,value:e.getFullYear()}),(0,_t.jsx)(HM,{"aria-label":"Next month","data-testid":"month-next",disabled:d(l),onClick:()=>{n&&n(l)},style:{transform:"translateX(4px)"},type:"button",children:(0,_t.jsx)(Pe,{size:"md",type:"caret-right"})})]}),(0,_t.jsxs)(Ine,{"aria-label":"Day selection grid",onMouseLeave:o,role:"button",children:[Rne.map(D=>(0,_t.jsx)(Nne,{children:D},D)),u.map(D=>D.map(P=>P instanceof Date?m(P):(0,_t.jsx)(kne,{},Math.random())))]})]})};c0.displayName="Calendar_VHS";var f0=require("react/jsx-runtime"),Vne=(0,_M.default)(u0)`
|
|
2539
2539
|
${e=>e.isBeginning&&!e.isInRange&&`
|
|
2540
2540
|
border-top-right-radius: 0;
|
|
2541
2541
|
border-bottom-right-radius: 0;
|
|
@@ -2603,14 +2603,14 @@
|
|
|
2603
2603
|
background: ${e.theme.color.brandBlue500};
|
|
2604
2604
|
}
|
|
2605
2605
|
`}
|
|
2606
|
-
`,zu=e=>{if((0,_r.isNil)(e))return!1;let{start:t,end:r}=e;return t instanceof Date&&r instanceof Date&&fn(t,r)},
|
|
2606
|
+
`,zu=e=>{if((0,_r.isNil)(e))return!1;let{start:t,end:r}=e;return t instanceof Date&&r instanceof Date&&fn(t,r)},GM=(e,t)=>(0,_r.isNil)(e)||L7(e.end,e.start)<2?!1:j7(t,{start:w0(e.start,1),end:w0(e.end,-1)}),WM=(e,t)=>{if(e instanceof Date&&(0,_r.isNotNil)(t)){let[r,n]=[e,t].sort(df);if((0,_r.isNotNil)(r)&&(0,_r.isNotNil)(n))return{start:r,end:Ha(n)}}},jM=(e,t)=>{let[r,n]=(0,Wt.useState)();return(0,Wt.useEffect)(()=>{n(WM(e,t))},[e,t,n]),r},rf=({range:e={end:new Date,start:new Date},rangePartToShow:t="",onChange:r,onIsValidChange:n=()=>{},earliestDate:o,latestDate:a,shouldPreventFuture:s=!1})=>{let u=(0,Wt.useMemo)(()=>Uu(new Date),[]),l=(0,_r.isNotNil)(e.end)?e.end:u,[c,p]=(0,Wt.useState)(l),[{firstDate:d,secondDate:h},g]=(0,Wt.useState)({}),[v,m]=(0,Wt.useState)(),b=jM(d,h),y=Ws(b),x=jM(!zu(b)&&d,v),w=(0,Wt.useMemo)(()=>Al(100,n),[n]),S=(0,Wt.useMemo)(()=>Al(0,p),[]);(0,Wt.useEffect)(()=>{S(e.end)},[]),(0,Wt.useEffect)(()=>{if(!(!b||!y)&&t){let D=b[t];S(D)}},[t,b,y,S]),(0,Wt.useEffect)(()=>{w(zu(b))},[b,w]),(0,Wt.useEffect)(()=>{if(zu(e)){let D;y&&!R0(e.start,y.start)&&(D=e.start),y&&!R0(e.end,y.end)&&(D=e.end),D&&S(D),g({firstDate:e.start,secondDate:e.end})}},[e,y,S]);let E=D=>{let P=(0,_r.isNotNil)(d)&&hr(d,D)||(0,_r.isNotNil)(h)&&hr(h,D),F=GM(b,D),B=!b&&GM(x,D),I=D.toLocaleDateString("en-US"),_=(0,_r.isNotNil)(v)?hr(D,v):!1,L=!!(b&&hr(b.start,D)||x&&hr(x.start,D)),z=!!(b&&hr(b.end,D)||x&&hr(x.end,D));return{isActive:P,isBeginning:L,isEnd:z,isInRange:F,isInTempRange:B,isHovered:_,val:I}};return(0,f0.jsx)(c0,{displayDate:c,earliestDate:o,latestDate:a,onDisplayDateChange:S,onMouseLeave:()=>{m(void 0)},renderDay:({day:D,isDisabled:P,formattedDay:F})=>{let B=E(D);return(0,f0.jsx)(Vne,{...B,"data-day":F,"data-is-beginning":B.isBeginning,"data-is-end":B.isEnd,"data-is-in-temp-range":B.isInTempRange,disabled:P,onClick:()=>{let I=D,_=D;d&&h?_=void 0:d?I=d:_=h,g({firstDate:I,secondDate:_});let L=WM(I,_);zu(L)&&r&&r(L),m(void 0)},onMouseOver:()=>{d&&!P&&m(D)},children:(0,f0.jsx)(l0,{children:F})},D)},shouldPreventFuture:s})};rf.displayName="RangeSelectorCalendar_VHS";i();i();var pr=require("react"),uI=A(require("styled-components"));var fr=A(ee());i();var u7=A(require("styled-components")),s7=require("react/jsx-runtime"),Lne=u7.default.ul`
|
|
2607
2607
|
list-style: none;
|
|
2608
2608
|
margin: 0;
|
|
2609
2609
|
padding: 0;
|
|
2610
2610
|
`,$ne=u7.default.li`
|
|
2611
2611
|
color: ${e=>e.theme.color.error600};
|
|
2612
2612
|
font-size: 12px;
|
|
2613
|
-
`,
|
|
2613
|
+
`,UM=({messages:e=[]})=>(0,s7.jsx)(Lne,{children:e.map(t=>(0,s7.jsx)($ne,{children:t},t))});i();var ki=" - ",Po=`mm/dd/yyyy${ki}mm/dd/yyyy`,zne=[{type:"month",id:"month1"},{type:"day",id:"day1"},{type:"year",id:"year1"},{type:"skip"},{type:"month",id:"month2"},{type:"day",id:"day2"},{type:"year",id:"year2"}],Hne=e=>{let t={month:2,day:2,year:4,skip:ki.length-2},r=0;return e.map(({type:n,id:o},a)=>{let s=r+(a===0?0:1),u=s+t[n];return r=u,{start:s,end:u,type:n,id:o}})},Ni=Hne(zne);i();var Gne=new Set(["Enter","Backspace","Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","/"]),p0=e=>/^[0-9]$/i.test(e.key),jne=e=>Gne.has(e.key),KM=e=>p0(e)||jne(e),l7=({key:e,shiftKey:t})=>e==="Tab"&&!t||e==="/"||e==="ArrowRight",c7=({key:e,shiftKey:t})=>e==="ArrowLeft"||e==="Tab"&&t,f7=e=>e.key==="ArrowUp"||e.key==="ArrowDown",p7=e=>e.key==="Backspace",qM=e=>p0(e)||f7(e)||p7(e),XM=e=>c7(e)||l7(e);i();var Ln=A(ee());var $n=e=>{let[t,r]=e.split(ki),n="",o="",a="",s="",u="",l="";(0,Ln.isNotNil)(t)&&([n,o,a]=t.split("/")),(0,Ln.isNotNil)(r)&&([s,u,l]=r.split("/"));let c=(0,Ln.isNonEmptyString)(n)?n:"",p=(0,Ln.isNonEmptyString)(o)?o:"",d=(0,Ln.isNonEmptyString)(a)?a:"",h=(0,Ln.isNonEmptyString)(s)?s:"",g=(0,Ln.isNonEmptyString)(u)?u:"",v=(0,Ln.isNonEmptyString)(l)?l:"";return{month1:c,day1:p,year1:d,month2:h,day2:g,year2:v}},nf=e=>{if(!Wu(e))return"";try{return new Intl.DateTimeFormat(["en-US"],{year:"numeric",month:"2-digit",day:"2-digit",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}).format(e)}catch{return""}},d0=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=e;return`${t}/${r}/${n}${ki}${o}/${a}/${s}`},m0=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:a,year2:s}=$n(e);try{let u=Xr(new Date(Number(n),Number(t)-1,Number(r))),l=Ha(new Date(Number(s),Number(o)-1,Number(a)));return{start:u,end:l}}catch{return}},d7=({start:e,end:t})=>{let r={month:"2-digit",day:"2-digit",year:"numeric"},n=e.toLocaleDateString("en-US",r),o=t.toLocaleDateString("en-US",r);return`${n}${ki}${o}`};i();var m7=A(Jd());i();var of=A(ee());var Hu,YM=e=>{(0,of.isNotNil)(Hu)&&(e.preventDefault(),clearTimeout(Hu),Hu=void 0),Hu=setTimeout(()=>{clearTimeout(Hu),Hu=void 0},200)},JM=({start:e,end:t})=>Wu(e)&&Wu(t),ZM=([e],t)=>{let r=t.find(n=>n.start===e);return(0,of.isNotNil)(r)&&(0,of.isNotNil)(r.id)?r.id:""},af=(e,t)=>{let r=t.substring(0,t.length-1),n=t.charAt(t.length-1),o=12,a=31;switch(r){case"month":return o;case"year":return A0(new Date);case"day":if(e[`month${n}`]!=="mm"){let u=e[`month${n}`]-1;if(e[`year${n}`]!=="yyyy"){let l=e[`year${n}`];return T0(new Date(l,u))}return T0(new Date(A0(new Date),u))}return a;default:return 0}},QM=({range:e,maxDate:t,minDate:r})=>{let n=nf(e.start),o=nf(e.end),a=[];if((0,of.isNotNil)(t)){let s=nf(t);fn(t,e.start)&&a.push(`${n} is after maximum of ${s}`),fn(t,e.end)&&a.push(`${o} is after maximum of ${s}`)}if(r){let s=nf(r);fn(e.start,r)&&a.push(`${n} is before minimum of ${s}`),fn(e.end,r)&&a.push(`${o} is before minimum of ${s}`)}return(fn(e.end,e.start)||hr(e.end,e.start))&&a.push("start date must come before end date"),a},eI=e=>{let[t,r]=[e.start,e.end].sort(df);return{start:t,end:r}};i();var Vi=A(ee());var _ne=e=>{let t=e.current?.selectionStart,r=e.current?.selectionEnd;return{startPos:t,endPos:r}},tI=(e,t,r)=>{let n=e.current;n&&n.setSelectionRange(t,r)},sf=(e,t,r)=>{let n=r.findIndex(a=>a.start===e[0]),o=r[n+t];return o&&o.type==="skip"&&(o=r[n+t*2]),o?[o.start,o.end]:e},rI=(e,t)=>{let r=_ne(e);for(let n=0;n<t.length;n++){if((0,Vi.isUndefined)(t[n]))return[];let{start:o,end:a,type:s}=t[n];if((0,Vi.isNotNil)(r.startPos)&&r.startPos>o-1&&r.startPos<=a)return s==="skip"&&(0,Vi.isNotUndefined)(t[n+1])?[t[n+1].start,t[n+1].end]:[o,a]}return[]},nI=e=>{let t=$n(e),r=$n(Po),n=["month1","day1","year1","month2","day2","year2"];for(let o=0;o<n.length;o++){if((0,Vi.isUndefined)(n[o]))return-1;if(t[n[o]]===r[n[o]])return o}return-1},oI=([,e])=>{let t=Po.indexOf(ki);return e===-1?"":(0,Vi.isNotUndefined)(e)&&e<=t?"start":"end"};var iI=e=>{let t={...e},r=n=>`${n}`.padStart(2,"0");return e.day1!=="dd"&&(t.day1=r(Math.min(Number(e.day1),af(e,"day1")))),e.day2!=="dd"&&(t.day2=r(Math.min(Number(e.day2),af(e,"day2")))),t},Wne=(e,t,r,n,o)=>{let a=$n(Po)[t],s=a.length,u=m=>`${m}`.padStart(s,"0"),l=m=>({...e,[t]:u(m)}),c=e[t],p=c===a;if(o===0)return l(u(n));let d=af(e,t),h=`${Number.parseInt(c,10)}`,g=`${h}${n}`,v=h.length===s;return p&&r!=="year"||v?l(n):Number.parseInt(g,10)>d?l(d):l(g)},Une=(e,t,r)=>{let n=Number.parseInt(e,10);Number.isNaN(n)&&(n=0);let o=n+r;return o<=0||o>t?n:o},Kne=(e,t,r)=>{let o=$n(Po)[t].length,a=c=>`${c}`.padStart(o,"0"),s=c=>({...e,[t]:a(c)}),u=e[t],l=af(e,t);return s(a(Une(u,l,r)))},aI=({event:e,currentSelection:t,keyCount:r,valueParts:n,selectionLength:o})=>{let a="",s=r,u=!1,l=ZM(t,Ni),c=l.substring(0,l.length-1);if(p0(e)){e.preventDefault();let p=Wne(n,l,c,e.key,r),d=iI(p);a=d0(d),s+=1,u=o===s}if(f7(e)){e.preventDefault();let p=e.key==="ArrowUp"?1:-1,d=Kne(n,l,p),h=iI(d);a=d0(h),s=0,u=!0}if(p7(e)){e.preventDefault();let p=$n(Po);a=d0({...n,[l]:p[l]}),s=0}return{nextValue:a,nextKeyCount:s,shouldApply:u}},sI=({event:e,currentSelection:t})=>{let r;return l7(e)&&(r=sf(t,1,Ni),(0,m7.default)(r,t)||e.preventDefault()),c7(e)&&(r=sf(t,-1,Ni),(0,m7.default)(r,t)||e.preventDefault()),{nextSelection:r,nextKeyCount:0}};var uf=require("react/jsx-runtime"),qne=uI.default.input`
|
|
2614
2614
|
border: 1px solid ${e=>e.theme.color.grey400};
|
|
2615
2615
|
border-radius: 4px;
|
|
2616
2616
|
color: ${e=>e.theme.color.grey800};
|
|
@@ -2623,10 +2623,10 @@
|
|
|
2623
2623
|
&:focus {
|
|
2624
2624
|
border: 1px solid ${e=>e.theme.color.brandBlue500};
|
|
2625
2625
|
}
|
|
2626
|
-
`,Xne=({latestDate:e,shouldPreventFuture:t})=>e||(t?Ha(new Date):void 0),lf=({onChange:e,onSelectedRangePartChange:t,range:r,earliestDate:n,latestDate:o,shouldPreventFuture:a=!1,width:s="100%",onErrorChange:u})=>{let[l,c]=(0,pr.useState)(Po),[p,d]=(0,pr.useState)(0),[h,g]=(0,pr.useState)([]),v=(0,pr.useRef)(null),[m,b]=(0,pr.useState)([0,-1]),y=(0,fr.isUndefined)(m)||(0,fr.isUndefined)(m[1])||(0,fr.isUndefined)(m[0])?0:m[1]-m[0],x=$n(l),w=(0,pr.useCallback)(S=>{let E=
|
|
2626
|
+
`,Xne=({latestDate:e,shouldPreventFuture:t})=>e||(t?Ha(new Date):void 0),lf=({onChange:e,onSelectedRangePartChange:t,range:r,earliestDate:n,latestDate:o,shouldPreventFuture:a=!1,width:s="100%",onErrorChange:u})=>{let[l,c]=(0,pr.useState)(Po),[p,d]=(0,pr.useState)(0),[h,g]=(0,pr.useState)([]),v=(0,pr.useRef)(null),[m,b]=(0,pr.useState)([0,-1]),y=(0,fr.isUndefined)(m)||(0,fr.isUndefined)(m[1])||(0,fr.isUndefined)(m[0])?0:m[1]-m[0],x=$n(l),w=(0,pr.useCallback)(S=>{let E=QM({range:S,maxDate:Xne({latestDate:o,shouldPreventFuture:a}),minDate:n});JM(S)&&(c(d7(S)),!E.length&&(0,fr.isNotUndefined)(e)&&e(eI(S))),g(E)},[n,o,a,e]);return(0,pr.useEffect)(()=>{g([]),c(d7(r))},[r]),(0,pr.useEffect)(()=>{(0,fr.isNotUndefined)(u)&&u(h)},[h,u]),(0,pr.useEffect)(()=>{if(y===p){d(0);let S=sf(m,1,Ni);b(S)}},[p,m,y]),(0,pr.useEffect)(()=>{tI(v,m[0],m[1]),(0,fr.isNotUndefined)(t)&&t(oI(m))},[m,l,v,t]),(0,uf.jsxs)("div",{children:[!!h.length&&(0,uf.jsx)(UM,{messages:h}),(0,uf.jsx)(qne,{ref:v,"data-testid":"range-selector-input",onBlur:()=>{if(p!==y&&p!==0){let S=m0(l);(0,fr.isNotNil)(S)&&w(S)}b([0,-1])},onFocus:()=>{if(nI(l)!==-1){let E=Ni[0];if((0,fr.isNotNil)(E)){let{start:D,end:P}=E;b([D,P])}}},onKeyDown:S=>{let E={event:S,currentSelection:m,keyCount:p,valueParts:x,selectionLength:y};if(!KM(S)){S.preventDefault();return}if(qM(S)){let{nextValue:D,nextKeyCount:P,shouldApply:F}=aI(E),B=m0(D);F&&(0,fr.isNotUndefined)(B)?w(B):c(D),d(P)}if(XM(S)){let{nextSelection:D,nextKeyCount:P}=sI(E);(0,fr.isNotUndefined)(D)&&b(D),d(P);let F=m0(l);(0,fr.isNotUndefined)(F)&&w(F)}},onMouseDown:YM,onMouseUp:()=>{d(0),b(rI(v,Ni))},readOnly:!0,type:"text",value:l,width:s})]})};lf.displayName="RangeSelectorInput_VHS";var Ge=require("react/jsx-runtime"),Yne=Wr.default.div`
|
|
2627
2627
|
text-align: left;
|
|
2628
2628
|
width: 240px;
|
|
2629
|
-
`,Jne=({tooltipText:e})=>(0,Ge.jsx)(sa,{direction:"right",label:(0,Ge.jsx)(Yne,{children:e}),shouldWrap:!0,children:(0,Ge.jsx)(Pe,{size:"md",style:{verticalAlign:"text-bottom"},type:"question-mark"})}),
|
|
2629
|
+
`,Jne=({tooltipText:e})=>(0,Ge.jsx)(sa,{direction:"right",label:(0,Ge.jsx)(Yne,{children:e}),shouldWrap:!0,children:(0,Ge.jsx)(Pe,{size:"md",style:{verticalAlign:"text-bottom"},type:"question-mark"})}),lI=e=>e.toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}),Zne=({start:e,end:t})=>`${lI(e)} - ${lI(t)}`,Qne=(e,t)=>hr(e.start,t.start)&&hr(e.end,t.end),eoe=Wr.default.div`
|
|
2630
2630
|
padding: ${({theme:e})=>`0 ${e.spacing.space03}`};
|
|
2631
2631
|
`,toe=Wr.default.div`
|
|
2632
2632
|
position: relative;
|
|
@@ -2710,14 +2710,14 @@
|
|
|
2710
2710
|
visibility: hidden;
|
|
2711
2711
|
width: calc(100% + 40px);
|
|
2712
2712
|
}
|
|
2713
|
-
`,h7=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=Zne,fullWidth:a=!1,footerText:s,onChange:u,presets:l=[],range:c={end:new Date,start:new Date},shouldPreventFuture:p=!1,...d})=>{let[h,g]=(0,To.useState)(c),[v,m]=(0,To.useState)(!1),[b,y]=(0,To.useState)(!0),[x,w]=(0,To.useState)("end"),[S,E]=(0,To.useState)([]),D=gn();return(0,To.useEffect)(()=>{g(c)},[c]),(0,To.useEffect)(()=>{let F=()=>{m(!1),g(c)};return v&&window.addEventListener("click",F),()=>{window.removeEventListener("click",F)}},[v,c,g]),(0,Ge.jsxs)(toe,{"data-testid":"rangeselector-test-identifer",onClick:F=>F.stopPropagation(),children:[(0,Ge.jsx)(roe,{...d,"data-testid":"trigger",fullWidth:a,icon:(0,Ge.jsx)(Pe,{size:"sm",type:"caret-down"}),iconPosition:"end",inputButtonOverride:t==="input",onClick:()=>m(!v),textAlign:"left",variant:t==="input"?"tertiary":t,children:o(c)}),v?(0,Ge.jsxs)(ioe,{align:e,hasPresets:!!l.length,children:[(0,Ge.jsxs)(aoe,{children:[!!l.length&&(0,Ge.jsx)(Oc,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${D.color.grey400}`,padding:"12px"},variant:"unbulleted",children:l.map(({label:F,value:B,tooltipText:I})=>(0,Ge.jsx)(wa,{children:(0,Ge.jsx)(noe,{"data-testid":F?.replaceAll(" ","_"),isActive:Qne(h,B),onClick:()=>{g(B)},children:(0,Ge.jsxs)(loe,{"data-title":`${F}___`,children:[F," ",I!==void 0?(0,Ge.jsx)(Jne,{tooltipText:I}):null]})})},F))}),(0,Ge.jsx)(soe,{children:(0,Ge.jsxs)(eoe,{children:[(0,Ge.jsx)(lf,{earliestDate:r,latestDate:n,onChange:F=>{g(F)},onErrorChange:E,onSelectedRangePartChange:w,range:h,shouldPreventFuture:p,width:"100%"}),(0,Ge.jsx)(rf,{earliestDate:r,latestDate:n,onChange:F=>{g(F)},onIsValidChange:y,range:h,rangePartToShow:x,shouldPreventFuture:p})]})})]}),(0,Ge.jsx)(ooe,{}),(0,Ge.jsxs)(uoe,{children:[(0,Ge.jsx)("div",{children:s}),(0,Ge.jsxs)(io,{align:"right",children:[(0,Ge.jsx)(Qe,{onClick:()=>{g(c),m(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),(0,Ge.jsx)(Qe,{"data-testid":"apply-button",disabled:!!S.length||!b,onMouseUp:()=>{u&&u(h),m(!1)},children:"Apply"})]})]})]}):null]})};h7.displayName="RangeSelector_VHS";i();i();var ju=A(require("styled-components"));i();i();i();i();function h0(e,t){return h0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},h0(e,t)}function fI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h0(e,t)}var La=A(require("react"),1);function g7(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function v7(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function g0(e){return e!==null&&e.length===1?e[0]:e.slice()}function v0(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function Va(e,t){return y7(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function y7(e,t){let r=(e-t.min)%t.step,n=e-r;return 2*Math.abs(r)>=t.step&&(n+=r>0?t.step:-t.step),parseFloat(n.toFixed(5))}var b7=function(e){function t(n){var o;(o=e.call(this,n)||this).onKeyUp=()=>{o.onEnd()},o.onMouseUp=()=>{o.onEnd(o.getMouseEventMap())},o.onTouchEnd=u=>{u.preventDefault(),o.onEnd(o.getTouchEventMap())},o.onBlur=()=>{o.setState({index:-1},o.onEnd(o.getKeyDownEventMap()))},o.onMouseMove=u=>{o.setState({pending:!0});let l=o.getMousePosition(u),c=o.getDiffPosition(l[0]),p=o.getValueFromPosition(c);o.move(p)},o.onTouchMove=u=>{if(u.touches.length>1)return;o.setState({pending:!0});let l=o.getTouchPosition(u);if(o.isScrolling===void 0){let d=l[0]-o.startPosition[0],h=l[1]-o.startPosition[1];o.isScrolling=Math.abs(h)>Math.abs(d)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(l[0]),p=o.getValueFromPosition(c);o.move(p)},o.onKeyDown=u=>{if(!(u.ctrlKey||u.shiftKey||u.altKey||u.metaKey))switch(o.setState({pending:!0}),u.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":u.preventDefault(),o.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":u.preventDefault(),o.moveUpByStep();break;case"Home":u.preventDefault(),o.move(o.props.min);break;case"End":u.preventDefault(),o.move(o.props.max);break;case"PageDown":u.preventDefault(),o.moveDownByStep(o.props.pageFn(o.props.step));break;case"PageUp":u.preventDefault(),o.moveUpByStep(o.props.pageFn(o.props.step))}},o.onSliderMouseDown=u=>{if(!o.props.disabled&&u.button!==2){if(o.setState({pending:!0}),!o.props.snapDragDisabled){let l=o.getMousePosition(u);o.forceValueFromPosition(l[0],c=>{o.start(c,l[0]),v0(o.getMouseEventMap())})}g7(u)}},o.onSliderClick=u=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let l=o.getMousePosition(u),c=Va(o.calcValue(o.calcOffsetFromPosition(l[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=u=>l=>{o.props.disabled||(o.start(u),v0(o.getKeyDownEventMap()),g7(l))},o.createOnMouseDown=u=>l=>{if(o.props.disabled||l.button===2)return;o.setState({pending:!0});let c=o.getMousePosition(l);o.start(u,c[0]),v0(o.getMouseEventMap()),g7(l)},o.createOnTouchStart=u=>l=>{if(o.props.disabled||l.touches.length>1)return;o.setState({pending:!0});let c=o.getTouchPosition(l);o.startPosition=c,o.isScrolling=void 0,o.start(u,c[0]),v0(o.getTouchEventMap()),function(p){p.stopPropagation&&p.stopPropagation()}(l)},o.handleResize=()=>{let u=window.setTimeout(()=>{o.pendingResizeTimeouts.shift(),o.resize()},0);o.pendingResizeTimeouts.push(u)},o.renderThumb=(u,l)=>{let c=o.props.thumbClassName+" "+o.props.thumbClassName+"-"+l+" "+(o.state.index===l?o.props.thumbActiveClassName:""),p={ref:h=>{o["thumb"+l]=h},key:o.props.thumbClassName+"-"+l,className:c,style:u,onMouseDown:o.createOnMouseDown(l),onTouchStart:o.createOnTouchStart(l),onFocus:o.createOnKeyDown(l),tabIndex:0,role:"slider","aria-orientation":o.props.orientation,"aria-valuenow":o.state.value[l],"aria-valuemin":o.props.min,"aria-valuemax":o.props.max,"aria-label":Array.isArray(o.props.ariaLabel)?o.props.ariaLabel[l]:o.props.ariaLabel,"aria-labelledby":Array.isArray(o.props.ariaLabelledby)?o.props.ariaLabelledby[l]:o.props.ariaLabelledby,"aria-disabled":o.props.disabled},d={index:l,value:g0(o.state.value),valueNow:o.state.value[l]};return o.props.ariaValuetext&&(p["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(d)),o.props.renderThumb(p,d)},o.renderTrack=(u,l,c)=>{let p={key:o.props.trackClassName+"-"+u,className:o.props.trackClassName+" "+o.props.trackClassName+"-"+u,style:o.buildTrackStyle(l,o.state.upperBound-c)},d={index:u,value:g0(o.state.value)};return o.props.renderTrack(p,d)};let a=v7(n.value);a.length||(a=v7(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let u=0;u<a.length;u+=1)a[u]=Va(a[u],n),s.push(u);return o.resizeObserver=null,o.resizeElementRef=La.default.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:a,zIndices:s},o}fI(t,e);var r=t.prototype;return r.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(n,o){let a=v7(n.value);return a.length?o.pending?null:{value:a.map(s=>Va(s,n))}:null},r.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},r.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},r.onEnd=function(n){n&&function(o){Object.keys(o).forEach(a=>{typeof document<"u"&&document.removeEventListener(a,o[a],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return g0(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,a=-1,{value:s}=this.state,u=s.length;for(let l=0;l<u;l+=1){let c=this.calcOffset(s[l]),p=Math.abs(n-c);p<o&&(o=p,a=l)}return a},r.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},r.getTouchPosition=function(n){let o=n.touches[0];return[o["page"+this.axisKey()],o["page"+this.orthogonalAxisKey()]]},r.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},r.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},r.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},r.getValueFromPosition=function(n){let o=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return Va(this.state.startValue+o,this.props)},r.getDiffPosition=function(n){let o=n-this.state.startPosition;return this.props.invert&&(o*=-1),o},r.resize=function(){let{slider:n,thumb0:o}=this;if(!n||!o)return;let a=this.sizeKey(),s=n.getBoundingClientRect(),u=n[a],l=s[this.posMaxKey()],c=s[this.posMinKey()],p=o.getBoundingClientRect()[a.replace("client","").toLowerCase()],d=u-p,h=Math.abs(l-c);this.state.upperBound===d&&this.state.sliderLength===h&&this.state.thumbSize===p||this.setState({upperBound:d,sliderLength:h,thumbSize:p})},r.calcOffset=function(n){let o=this.props.max-this.props.min;return o===0?0:(n-this.props.min)/o*this.state.upperBound},r.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},r.calcOffsetFromPosition=function(n){let{slider:o}=this,a=o.getBoundingClientRect(),s=a[this.posMaxKey()],u=a[this.posMinKey()],l=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?s:u));return this.props.invert&&(l=this.state.sliderLength-l),l-=this.state.thumbSize/2,l},r.forceValueFromPosition=function(n,o){let a=this.calcOffsetFromPosition(n),s=this.getClosestIndex(a),u=Va(this.calcValue(a),this.props),l=this.state.value.slice();l[s]=u;for(let c=0;c<l.length-1;c+=1)if(l[c+1]-l[c]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:l},()=>{o(s),this.fireChangeEvent("onChange")})},r.clearPendingResizeTimeouts=function(){do{let n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},r.start=function(n,o){let a=this["thumb"+n];a&&a.focus();let{zIndices:s}=this.state;s.splice(s.indexOf(n),1),s.push(n),this.setState(u=>({startValue:u.value[n],startPosition:o!==void 0?o:u.startPosition,index:n,zIndices:s}))},r.moveUpByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Va(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(a,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Va(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(a,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:a}=this.state,{length:s}=o,u=o[a];if(n===u)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:l,max:c,min:p,minDistance:d}=this.props;if(!l){if(a>0){let h=o[a-1];n<h+d&&(n=h+d)}if(a<s-1){let h=o[a+1];n>h-d&&(n=h-d)}}o[a]=n,l&&s>1&&(n>u?(this.pushSucceeding(o,d,a),function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m-b*v;g[h-1-b]>y&&(g[h-1-b]=y)}}(s,o,d,c)):n<u&&(this.pushPreceding(o,d,a),function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m+b*v;g[b]<y&&(g[b]=y)}}(s,o,d,p))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,a){let s,u;for(s=a,u=n[s]+o;n[s+1]!==null&&u>n[s+1];s+=1,u=n[s]+o)n[s+1]=y7(u,this.props)},r.pushPreceding=function(n,o,a){for(let s=a,u=n[s]-o;n[s-1]!==null&&u<n[s-1];s-=1,u=n[s]-o)n[s-1]=y7(u,this.props)},r.axisKey=function(){return this.props.orientation==="vertical"?"Y":"X"},r.orthogonalAxisKey=function(){return this.props.orientation==="vertical"?"X":"Y"},r.posMinKey=function(){return this.props.orientation==="vertical"?this.props.invert?"bottom":"top":this.props.invert?"right":"left"},r.posMaxKey=function(){return this.props.orientation==="vertical"?this.props.invert?"top":"bottom":this.props.invert?"left":"right"},r.sizeKey=function(){return this.props.orientation==="vertical"?"clientHeight":"clientWidth"},r.fireChangeEvent=function(n){this.props[n]&&this.props[n](g0(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let a={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return a[this.posMinKey()]=n+"px",a},r.buildTrackStyle=function(n,o){let a={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return a[this.posMinKey()]=n,a[this.posMaxKey()]=o,a},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,a=[];for(let u=0;u<o;u+=1)a[u]=this.buildThumbStyle(n[u],u);let s=[];for(let u=0;u<o;u+=1)s[u]=this.renderThumb(a[u],u);return s},r.renderTracks=function(n){let o=[],a=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<a;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(a+1,n[a],this.state.upperBound)),o},r.renderMarks=function(){let{marks:n}=this.props,o=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:o}).map((a,s)=>s):typeof n=="number"&&(n=Array.from({length:o}).map((a,s)=>s).filter(a=>a%n==0)),n.map(parseFloat).sort((a,s)=>a-s).map(a=>{let s=this.calcOffset(a),u={key:a,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(u)})},r.render=function(){let n=[],{value:o}=this.state,a=o.length;for(let c=0;c<a;c+=1)n[c]=this.calcOffset(o[c],c);let s=this.props.withTracks?this.renderTracks(n):null,u=this.renderThumbs(n),l=this.props.marks?this.renderMarks():null;return La.default.createElement("div",{ref:c=>{this.slider=c,this.resizeElementRef.current=c},style:{position:"relative"},className:this.props.className+(this.props.disabled?" disabled":""),onMouseDown:this.onSliderMouseDown,onClick:this.onSliderClick},s,u,l)},t}(La.default.Component);b7.displayName="ReactSlider",b7.defaultProps={min:0,max:100,step:1,pageFn:e=>10*e,minDistance:0,defaultValue:0,orientation:"horizontal",className:"slider",thumbClassName:"thumb",thumbActiveClassName:"active",trackClassName:"track",markClassName:"mark",withTracks:!0,pearling:!1,disabled:!1,snapDragDisabled:!1,invert:!1,marks:[],renderThumb:e=>La.default.createElement("div",e),renderTrack:e=>La.default.createElement("div",e),renderMark:e=>La.default.createElement("span",e)};var C7=b7;var gt=A(ee()),Gu=require("react/jsx-runtime"),pI="4px",coe=ju.css`
|
|
2713
|
+
`,h7=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=Zne,fullWidth:a=!1,footerText:s,onChange:u,presets:l=[],range:c={end:new Date,start:new Date},shouldPreventFuture:p=!1,...d})=>{let[h,g]=(0,To.useState)(c),[v,m]=(0,To.useState)(!1),[b,y]=(0,To.useState)(!0),[x,w]=(0,To.useState)("end"),[S,E]=(0,To.useState)([]),D=gn();return(0,To.useEffect)(()=>{g(c)},[c]),(0,To.useEffect)(()=>{let F=()=>{m(!1),g(c)};return v&&window.addEventListener("click",F),()=>{window.removeEventListener("click",F)}},[v,c,g]),(0,Ge.jsxs)(toe,{"data-testid":"rangeselector-test-identifer",onClick:F=>F.stopPropagation(),children:[(0,Ge.jsx)(roe,{...d,"data-testid":"trigger",fullWidth:a,icon:(0,Ge.jsx)(Pe,{size:"sm",type:"caret-down"}),iconPosition:"end",inputButtonOverride:t==="input",onClick:()=>m(!v),textAlign:"left",variant:t==="input"?"tertiary":t,children:o(c)}),v?(0,Ge.jsxs)(ioe,{align:e,hasPresets:!!l.length,children:[(0,Ge.jsxs)(aoe,{children:[!!l.length&&(0,Ge.jsx)(Oc,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${D.color.grey400}`,padding:"12px"},variant:"unbulleted",children:l.map(({label:F,value:B,tooltipText:I})=>(0,Ge.jsx)(wa,{children:(0,Ge.jsx)(noe,{"data-testid":F?.replaceAll(" ","_"),isActive:Qne(h,B),onClick:()=>{g(B)},children:(0,Ge.jsxs)(loe,{"data-title":`${F}___`,children:[F," ",I!==void 0?(0,Ge.jsx)(Jne,{tooltipText:I}):null]})})},F))}),(0,Ge.jsx)(soe,{children:(0,Ge.jsxs)(eoe,{children:[(0,Ge.jsx)(lf,{earliestDate:r,latestDate:n,onChange:F=>{g(F)},onErrorChange:E,onSelectedRangePartChange:w,range:h,shouldPreventFuture:p,width:"100%"}),(0,Ge.jsx)(rf,{earliestDate:r,latestDate:n,onChange:F=>{g(F)},onIsValidChange:y,range:h,rangePartToShow:x,shouldPreventFuture:p})]})})]}),(0,Ge.jsx)(ooe,{}),(0,Ge.jsxs)(uoe,{children:[(0,Ge.jsx)("div",{children:s}),(0,Ge.jsxs)(io,{align:"right",children:[(0,Ge.jsx)(Qe,{onClick:()=>{g(c),m(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),(0,Ge.jsx)(Qe,{"data-testid":"apply-button",disabled:!!S.length||!b,onMouseUp:()=>{u&&u(h),m(!1)},children:"Apply"})]})]})]}):null]})};h7.displayName="RangeSelector_VHS";i();i();var ju=A(require("styled-components"));i();i();i();i();function h0(e,t){return h0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},h0(e,t)}function cI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h0(e,t)}var La=A(require("react"),1);function g7(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function v7(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function g0(e){return e!==null&&e.length===1?e[0]:e.slice()}function v0(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function Va(e,t){return y7(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function y7(e,t){let r=(e-t.min)%t.step,n=e-r;return 2*Math.abs(r)>=t.step&&(n+=r>0?t.step:-t.step),parseFloat(n.toFixed(5))}var b7=function(e){function t(n){var o;(o=e.call(this,n)||this).onKeyUp=()=>{o.onEnd()},o.onMouseUp=()=>{o.onEnd(o.getMouseEventMap())},o.onTouchEnd=u=>{u.preventDefault(),o.onEnd(o.getTouchEventMap())},o.onBlur=()=>{o.setState({index:-1},o.onEnd(o.getKeyDownEventMap()))},o.onMouseMove=u=>{o.setState({pending:!0});let l=o.getMousePosition(u),c=o.getDiffPosition(l[0]),p=o.getValueFromPosition(c);o.move(p)},o.onTouchMove=u=>{if(u.touches.length>1)return;o.setState({pending:!0});let l=o.getTouchPosition(u);if(o.isScrolling===void 0){let d=l[0]-o.startPosition[0],h=l[1]-o.startPosition[1];o.isScrolling=Math.abs(h)>Math.abs(d)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(l[0]),p=o.getValueFromPosition(c);o.move(p)},o.onKeyDown=u=>{if(!(u.ctrlKey||u.shiftKey||u.altKey||u.metaKey))switch(o.setState({pending:!0}),u.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":u.preventDefault(),o.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":u.preventDefault(),o.moveUpByStep();break;case"Home":u.preventDefault(),o.move(o.props.min);break;case"End":u.preventDefault(),o.move(o.props.max);break;case"PageDown":u.preventDefault(),o.moveDownByStep(o.props.pageFn(o.props.step));break;case"PageUp":u.preventDefault(),o.moveUpByStep(o.props.pageFn(o.props.step))}},o.onSliderMouseDown=u=>{if(!o.props.disabled&&u.button!==2){if(o.setState({pending:!0}),!o.props.snapDragDisabled){let l=o.getMousePosition(u);o.forceValueFromPosition(l[0],c=>{o.start(c,l[0]),v0(o.getMouseEventMap())})}g7(u)}},o.onSliderClick=u=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let l=o.getMousePosition(u),c=Va(o.calcValue(o.calcOffsetFromPosition(l[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=u=>l=>{o.props.disabled||(o.start(u),v0(o.getKeyDownEventMap()),g7(l))},o.createOnMouseDown=u=>l=>{if(o.props.disabled||l.button===2)return;o.setState({pending:!0});let c=o.getMousePosition(l);o.start(u,c[0]),v0(o.getMouseEventMap()),g7(l)},o.createOnTouchStart=u=>l=>{if(o.props.disabled||l.touches.length>1)return;o.setState({pending:!0});let c=o.getTouchPosition(l);o.startPosition=c,o.isScrolling=void 0,o.start(u,c[0]),v0(o.getTouchEventMap()),function(p){p.stopPropagation&&p.stopPropagation()}(l)},o.handleResize=()=>{let u=window.setTimeout(()=>{o.pendingResizeTimeouts.shift(),o.resize()},0);o.pendingResizeTimeouts.push(u)},o.renderThumb=(u,l)=>{let c=o.props.thumbClassName+" "+o.props.thumbClassName+"-"+l+" "+(o.state.index===l?o.props.thumbActiveClassName:""),p={ref:h=>{o["thumb"+l]=h},key:o.props.thumbClassName+"-"+l,className:c,style:u,onMouseDown:o.createOnMouseDown(l),onTouchStart:o.createOnTouchStart(l),onFocus:o.createOnKeyDown(l),tabIndex:0,role:"slider","aria-orientation":o.props.orientation,"aria-valuenow":o.state.value[l],"aria-valuemin":o.props.min,"aria-valuemax":o.props.max,"aria-label":Array.isArray(o.props.ariaLabel)?o.props.ariaLabel[l]:o.props.ariaLabel,"aria-labelledby":Array.isArray(o.props.ariaLabelledby)?o.props.ariaLabelledby[l]:o.props.ariaLabelledby,"aria-disabled":o.props.disabled},d={index:l,value:g0(o.state.value),valueNow:o.state.value[l]};return o.props.ariaValuetext&&(p["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(d)),o.props.renderThumb(p,d)},o.renderTrack=(u,l,c)=>{let p={key:o.props.trackClassName+"-"+u,className:o.props.trackClassName+" "+o.props.trackClassName+"-"+u,style:o.buildTrackStyle(l,o.state.upperBound-c)},d={index:u,value:g0(o.state.value)};return o.props.renderTrack(p,d)};let a=v7(n.value);a.length||(a=v7(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let u=0;u<a.length;u+=1)a[u]=Va(a[u],n),s.push(u);return o.resizeObserver=null,o.resizeElementRef=La.default.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:a,zIndices:s},o}cI(t,e);var r=t.prototype;return r.componentDidMount=function(){typeof window<"u"&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(n,o){let a=v7(n.value);return a.length?o.pending?null:{value:a.map(s=>Va(s,n))}:null},r.componentDidUpdate=function(){this.state.upperBound===0&&this.resize()},r.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},r.onEnd=function(n){n&&function(o){Object.keys(o).forEach(a=>{typeof document<"u"&&document.removeEventListener(a,o[a],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return g0(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,a=-1,{value:s}=this.state,u=s.length;for(let l=0;l<u;l+=1){let c=this.calcOffset(s[l]),p=Math.abs(n-c);p<o&&(o=p,a=l)}return a},r.getMousePosition=function(n){return[n["page"+this.axisKey()],n["page"+this.orthogonalAxisKey()]]},r.getTouchPosition=function(n){let o=n.touches[0];return[o["page"+this.axisKey()],o["page"+this.orthogonalAxisKey()]]},r.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},r.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},r.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},r.getValueFromPosition=function(n){let o=n/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return Va(this.state.startValue+o,this.props)},r.getDiffPosition=function(n){let o=n-this.state.startPosition;return this.props.invert&&(o*=-1),o},r.resize=function(){let{slider:n,thumb0:o}=this;if(!n||!o)return;let a=this.sizeKey(),s=n.getBoundingClientRect(),u=n[a],l=s[this.posMaxKey()],c=s[this.posMinKey()],p=o.getBoundingClientRect()[a.replace("client","").toLowerCase()],d=u-p,h=Math.abs(l-c);this.state.upperBound===d&&this.state.sliderLength===h&&this.state.thumbSize===p||this.setState({upperBound:d,sliderLength:h,thumbSize:p})},r.calcOffset=function(n){let o=this.props.max-this.props.min;return o===0?0:(n-this.props.min)/o*this.state.upperBound},r.calcValue=function(n){return n/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},r.calcOffsetFromPosition=function(n){let{slider:o}=this,a=o.getBoundingClientRect(),s=a[this.posMaxKey()],u=a[this.posMinKey()],l=n-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?s:u));return this.props.invert&&(l=this.state.sliderLength-l),l-=this.state.thumbSize/2,l},r.forceValueFromPosition=function(n,o){let a=this.calcOffsetFromPosition(n),s=this.getClosestIndex(a),u=Va(this.calcValue(a),this.props),l=this.state.value.slice();l[s]=u;for(let c=0;c<l.length-1;c+=1)if(l[c+1]-l[c]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:l},()=>{o(s),this.fireChangeEvent("onChange")})},r.clearPendingResizeTimeouts=function(){do{let n=this.pendingResizeTimeouts.shift();clearTimeout(n)}while(this.pendingResizeTimeouts.length)},r.start=function(n,o){let a=this["thumb"+n];a&&a.focus();let{zIndices:s}=this.state;s.splice(s.indexOf(n),1),s.push(n),this.setState(u=>({startValue:u.value[n],startPosition:o!==void 0?o:u.startPosition,index:n,zIndices:s}))},r.moveUpByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Va(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(a,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],a=Va(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(a,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:a}=this.state,{length:s}=o,u=o[a];if(n===u)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:l,max:c,min:p,minDistance:d}=this.props;if(!l){if(a>0){let h=o[a-1];n<h+d&&(n=h+d)}if(a<s-1){let h=o[a+1];n>h-d&&(n=h-d)}}o[a]=n,l&&s>1&&(n>u?(this.pushSucceeding(o,d,a),function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m-b*v;g[h-1-b]>y&&(g[h-1-b]=y)}}(s,o,d,c)):n<u&&(this.pushPreceding(o,d,a),function(h,g,v,m){for(let b=0;b<h;b+=1){let y=m+b*v;g[b]<y&&(g[b]=y)}}(s,o,d,p))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,a){let s,u;for(s=a,u=n[s]+o;n[s+1]!==null&&u>n[s+1];s+=1,u=n[s]+o)n[s+1]=y7(u,this.props)},r.pushPreceding=function(n,o,a){for(let s=a,u=n[s]-o;n[s-1]!==null&&u<n[s-1];s-=1,u=n[s]-o)n[s-1]=y7(u,this.props)},r.axisKey=function(){return this.props.orientation==="vertical"?"Y":"X"},r.orthogonalAxisKey=function(){return this.props.orientation==="vertical"?"X":"Y"},r.posMinKey=function(){return this.props.orientation==="vertical"?this.props.invert?"bottom":"top":this.props.invert?"right":"left"},r.posMaxKey=function(){return this.props.orientation==="vertical"?this.props.invert?"top":"bottom":this.props.invert?"left":"right"},r.sizeKey=function(){return this.props.orientation==="vertical"?"clientHeight":"clientWidth"},r.fireChangeEvent=function(n){this.props[n]&&this.props[n](g0(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let a={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return a[this.posMinKey()]=n+"px",a},r.buildTrackStyle=function(n,o){let a={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return a[this.posMinKey()]=n,a[this.posMaxKey()]=o,a},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,a=[];for(let u=0;u<o;u+=1)a[u]=this.buildThumbStyle(n[u],u);let s=[];for(let u=0;u<o;u+=1)s[u]=this.renderThumb(a[u],u);return s},r.renderTracks=function(n){let o=[],a=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<a;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(a+1,n[a],this.state.upperBound)),o},r.renderMarks=function(){let{marks:n}=this.props,o=this.props.max-this.props.min+1;return typeof n=="boolean"?n=Array.from({length:o}).map((a,s)=>s):typeof n=="number"&&(n=Array.from({length:o}).map((a,s)=>s).filter(a=>a%n==0)),n.map(parseFloat).sort((a,s)=>a-s).map(a=>{let s=this.calcOffset(a),u={key:a,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(u)})},r.render=function(){let n=[],{value:o}=this.state,a=o.length;for(let c=0;c<a;c+=1)n[c]=this.calcOffset(o[c],c);let s=this.props.withTracks?this.renderTracks(n):null,u=this.renderThumbs(n),l=this.props.marks?this.renderMarks():null;return La.default.createElement("div",{ref:c=>{this.slider=c,this.resizeElementRef.current=c},style:{position:"relative"},className:this.props.className+(this.props.disabled?" disabled":""),onMouseDown:this.onSliderMouseDown,onClick:this.onSliderClick},s,u,l)},t}(La.default.Component);b7.displayName="ReactSlider",b7.defaultProps={min:0,max:100,step:1,pageFn:e=>10*e,minDistance:0,defaultValue:0,orientation:"horizontal",className:"slider",thumbClassName:"thumb",thumbActiveClassName:"active",trackClassName:"track",markClassName:"mark",withTracks:!0,pearling:!1,disabled:!1,snapDragDisabled:!1,invert:!1,marks:[],renderThumb:e=>La.default.createElement("div",e),renderTrack:e=>La.default.createElement("div",e),renderMark:e=>La.default.createElement("span",e)};var C7=b7;var gt=A(ee()),Gu=require("react/jsx-runtime"),fI="4px",coe=ju.css`
|
|
2714
2714
|
opacity: 0.5;
|
|
2715
2715
|
|
|
2716
2716
|
& * {
|
|
2717
2717
|
pointer-events: none;
|
|
2718
2718
|
}
|
|
2719
2719
|
`,foe=ju.default.div`
|
|
2720
|
-
padding-bottom: ${
|
|
2720
|
+
padding-bottom: ${fI};
|
|
2721
2721
|
width: 100%;
|
|
2722
2722
|
${({disabled:e})=>e?coe:null}
|
|
2723
2723
|
`,poe=ju.default.div`
|
|
@@ -2749,8 +2749,8 @@
|
|
|
2749
2749
|
`,doe=e=>{let t=e.index===0;if(Array.isArray(e.value)){let r=e.value;r.length>1&&(t=e.index>0&&e.index<r.length)}return t},moe=ju.default.div`
|
|
2750
2750
|
background: ${({isFilledTrack:e,theme:t})=>e?t.color.brandBlue500:t.color.grey400};
|
|
2751
2751
|
border-radius: 999px;
|
|
2752
|
-
height: ${
|
|
2753
|
-
`,x7=({ariaLabel:e,ariaLabelledby:t,ariaValuetext:r,disabled:n=!1,defaultValue:o=0,max:a=100,min:s=0,onChange:u,step:l=1,value:c,"data-testid":p,...d})=>{(0,gt.isNonEmptyString)(e)||(0,gt.isNonEmptyString)(t)||console.warn("VHS Slider: Sliders are required to have an accessible name. Add a label using the ariaLabel or ariaLabelledby prop.");let h=(0,gt.isNotNil)(p)?p:"vhs-slider";return(0,Gu.jsx)(foe,{...d,"data-testid":h,disabled:n,children:(0,Gu.jsx)(C7,{ariaLabel:(0,gt.isString)(e)||(0,gt.isNonEmptyArray)(e)?e:void 0,ariaLabelledby:(0,gt.isString)(t)||(0,gt.isNonEmptyArray)(t)?t:void 0,ariaValuetext:(0,gt.isFunction)(r)?g=>r(g):r,defaultValue:(0,gt.isNumber)(o)||(0,gt.isNonEmptyArray)(o)?o:void 0,disabled:n,marks:l,max:a,min:s,onChange:u,renderMark:g=>{let{key:v,...m}=g;return(0,Gu.jsx)("div",{...m,"data-testid":`${h}-mark-${g.key+s}`},v)},renderThumb:(g,v)=>{let{key:m,...b}=g;return(0,Gu.jsx)(poe,{...b,"data-testid":`${h}-thumb-${v.index}`},m)},renderTrack:(g,v)=>{let{key:m,...b}=g;return(0,Gu.jsx)(moe,{...b,"data-testid":`${h}-track-${v.index}`,isFilledTrack:doe(v)},m)},step:l,value:(0,gt.isNumber)(c)||(0,gt.isNonEmptyArray)(c)?c:void 0})})};x7.displayName="Slider_VHS";i();i();var
|
|
2752
|
+
height: ${fI};
|
|
2753
|
+
`,x7=({ariaLabel:e,ariaLabelledby:t,ariaValuetext:r,disabled:n=!1,defaultValue:o=0,max:a=100,min:s=0,onChange:u,step:l=1,value:c,"data-testid":p,...d})=>{(0,gt.isNonEmptyString)(e)||(0,gt.isNonEmptyString)(t)||console.warn("VHS Slider: Sliders are required to have an accessible name. Add a label using the ariaLabel or ariaLabelledby prop.");let h=(0,gt.isNotNil)(p)?p:"vhs-slider";return(0,Gu.jsx)(foe,{...d,"data-testid":h,disabled:n,children:(0,Gu.jsx)(C7,{ariaLabel:(0,gt.isString)(e)||(0,gt.isNonEmptyArray)(e)?e:void 0,ariaLabelledby:(0,gt.isString)(t)||(0,gt.isNonEmptyArray)(t)?t:void 0,ariaValuetext:(0,gt.isFunction)(r)?g=>r(g):r,defaultValue:(0,gt.isNumber)(o)||(0,gt.isNonEmptyArray)(o)?o:void 0,disabled:n,marks:l,max:a,min:s,onChange:u,renderMark:g=>{let{key:v,...m}=g;return(0,Gu.jsx)("div",{...m,"data-testid":`${h}-mark-${g.key+s}`},v)},renderThumb:(g,v)=>{let{key:m,...b}=g;return(0,Gu.jsx)(poe,{...b,"data-testid":`${h}-thumb-${v.index}`},m)},renderTrack:(g,v)=>{let{key:m,...b}=g;return(0,Gu.jsx)(moe,{...b,"data-testid":`${h}-track-${v.index}`,isFilledTrack:doe(v)},m)},step:l,value:(0,gt.isNumber)(c)||(0,gt.isNonEmptyArray)(c)?c:void 0})})};x7.displayName="Slider_VHS";i();i();var pI=require("react"),dI=A(require("styled-components")),mI=require("react/jsx-runtime"),hoe=dI.default.div`
|
|
2754
2754
|
display: flex;
|
|
2755
2755
|
flex-direction: ${({direction:e})=>e==="horizontal"?"row":"column"};
|
|
2756
2756
|
gap: ${({gap:e,theme:t})=>t.spacing[e]};
|
|
@@ -2758,7 +2758,7 @@
|
|
|
2758
2758
|
> * {
|
|
2759
2759
|
flex: 1;
|
|
2760
2760
|
}
|
|
2761
|
-
`,w7=(0,
|
|
2761
|
+
`,w7=(0,pI.forwardRef)(({renderAs:e="div",direction:t="vertical",gap:r="space02",...n},o)=>(0,mI.jsx)(hoe,{...n,ref:o,as:e,direction:t,gap:r}));w7.displayName="Stack_VHS";i();i();var E7=A(require("styled-components")),D7=require("react/jsx-runtime"),S7=E7.default.button`
|
|
2762
2762
|
background-color: white;
|
|
2763
2763
|
border-color: ${({theme:e})=>e.color.grey700};
|
|
2764
2764
|
border-radius: 20px;
|
|
@@ -2871,7 +2871,7 @@
|
|
|
2871
2871
|
padding: 0 ${({theme:e})=>e.spacing.space01};
|
|
2872
2872
|
position: absolute;
|
|
2873
2873
|
right: 0;
|
|
2874
|
-
z-index:
|
|
2874
|
+
z-index: 1;
|
|
2875
2875
|
`,xoe=$i.default.div`
|
|
2876
2876
|
align-self: center;
|
|
2877
2877
|
aspect-ratio: 1;
|
|
@@ -2902,15 +2902,15 @@
|
|
|
2902
2902
|
grid-column: 2;
|
|
2903
2903
|
${({total:e})=>e===2&&"grid-row: 1 / 3;"}
|
|
2904
2904
|
}
|
|
2905
|
-
`,T7=({bottomRightText:e,thumbnailUrl:t,thumbnailImageType:r="square",icon:n,bottomRightIcon:o,width:a="auto",gradientBackground:s="defaultMidOne",iconColor:u="white",...l})=>{let c=Array.isArray(t)?t[0]:t;return(0,Ar.jsxs)(voe,{backgroundUrl:r==="square"&&(0,Li.isNotNil)(c)?`url(${c})`:"",gradientBackground:s,width:a,...l,children:[(0,Li.isNotNil)(e)?(0,Ar.jsxs)(Coe,{children:[o?(0,Ar.jsx)(Pe,{size:"sm",type:o}):null,(0,Ar.jsx)("span",{children:e})]}):null,(0,Li.isNotNil)(n)&&(0,Ar.jsx)(xoe,{children:(0,Ar.jsx)(Pe,{color:u,type:n})}),!Array.isArray(t)&&(0,Li.isNotNil)(r)&&(0,Li.isNotNil)(t)&&(0,Ar.jsx)(woe,{thumbnailImageType:r,thumbnailUrl:t}),Array.isArray(t)&&(0,Li.isNotNil)(r)&&(0,Li.isNotNil)(t)&&(0,Ar.jsx)(Soe,{"data-testid":"thumbnail-collage",children:t.map((p,d)=>(0,Ar.jsx)(Doe,{thumbnailUrl:p,total:t.length},`${p}${d}`))})]})};T7.displayName="Thumbnail_VHS";i();i();var A7=A(require("styled-components")),
|
|
2905
|
+
`,T7=({bottomRightText:e,thumbnailUrl:t,thumbnailImageType:r="square",icon:n,bottomRightIcon:o,width:a="auto",gradientBackground:s="defaultMidOne",iconColor:u="white",...l})=>{let c=Array.isArray(t)?t[0]:t;return(0,Ar.jsxs)(voe,{backgroundUrl:r==="square"&&(0,Li.isNotNil)(c)?`url(${c})`:"",gradientBackground:s,width:a,...l,children:[(0,Li.isNotNil)(e)?(0,Ar.jsxs)(Coe,{children:[o?(0,Ar.jsx)(Pe,{size:"sm",type:o}):null,(0,Ar.jsx)("span",{children:e})]}):null,(0,Li.isNotNil)(n)&&(0,Ar.jsx)(xoe,{children:(0,Ar.jsx)(Pe,{color:u,type:n})}),!Array.isArray(t)&&(0,Li.isNotNil)(r)&&(0,Li.isNotNil)(t)&&(0,Ar.jsx)(woe,{thumbnailImageType:r,thumbnailUrl:t}),Array.isArray(t)&&(0,Li.isNotNil)(r)&&(0,Li.isNotNil)(t)&&(0,Ar.jsx)(Soe,{"data-testid":"thumbnail-collage",children:t.map((p,d)=>(0,Ar.jsx)(Doe,{thumbnailUrl:p,total:t.length},`${p}${d}`))})]})};T7.displayName="Thumbnail_VHS";i();i();var A7=A(require("styled-components")),gI=A(ee());var y0=require("react/jsx-runtime"),Eoe=A7.default.div`
|
|
2906
2906
|
display: grid;
|
|
2907
2907
|
grid-template-columns: 3fr 2fr;
|
|
2908
2908
|
grid-template-rows: 1fr 1fr;
|
|
2909
2909
|
width: 100%;
|
|
2910
2910
|
grid-gap: ${({theme:e})=>e.spacing.space01};
|
|
2911
2911
|
height: 100%;
|
|
2912
|
-
`,
|
|
2913
|
-
${({thumbnailUrl:e})=>(0,
|
|
2912
|
+
`,hI=A7.default.div`
|
|
2913
|
+
${({thumbnailUrl:e})=>(0,gI.isNotNil)(e)&&`background-image: url(${e})`};
|
|
2914
2914
|
${({backgroundGradient:e})=>e&&gr(e)};
|
|
2915
2915
|
background-position: center;
|
|
2916
2916
|
background-size: cover;
|
|
@@ -2933,7 +2933,7 @@
|
|
|
2933
2933
|
grid-row: 1 / 3;
|
|
2934
2934
|
}
|
|
2935
2935
|
}
|
|
2936
|
-
`,
|
|
2936
|
+
`,vI=({thumbnailUrls:e,gradientBackground:t="defaultMidOne",...r})=>(0,y0.jsx)(Eoe,{role:"presentation",...r,children:e.length?e.map(n=>(0,y0.jsx)(hI,{thumbnailUrl:n},n)):(0,y0.jsx)(hI,{backgroundGradient:t})});i();i();var yI=A(require("styled-components"));var Ur=require("react/jsx-runtime"),Poe=yI.default.svg`
|
|
2937
2937
|
height: ${({height:e})=>`${e}px`};
|
|
2938
2938
|
|
|
2939
2939
|
/* ensure it will always fit on mobile */
|
|
@@ -2967,7 +2967,7 @@
|
|
|
2967
2967
|
3h5.8v16.78h3.08V3h5.91V.22H83.72zm18.12 16.79h3.07V.25h-3.07zm25.31
|
|
2968
2968
|
0H124l-2.56-5.69h-8L111 19.78h-3.18l.1-.22L116.25.14h2.14zM117.3
|
|
2969
2969
|
4.93l-2.64 6.39h5.49z
|
|
2970
|
-
`})}),Roe=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",R7=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:a=!0,title:s="Wistia",variant:u="standard",...l}={})=>{let[c]=Be(["brandBlue500"]),p={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=p[u].brandmark,h=p[u].logotype;if(!e&&!a)return null;let g=(0,Ur.jsxs)(Poe,{height:r,hoverColor:n,role:"img",title:"Wistia Logo",viewBox:Roe(!!e,!!a),xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,Ur.jsx)("title",{children:s}),e?(0,Ur.jsx)(Toe,{brandmarkColor:d}):null,a?(0,Ur.jsx)(Aoe,{logotypeColor:h}):null]});return o!==void 0?(0,Ur.jsx)("a",{href:o,children:g}):g};R7.displayName="WistiaLogo_VHS";i();i();var
|
|
2970
|
+
`})}),Roe=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",R7=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:a=!0,title:s="Wistia",variant:u="standard",...l}={})=>{let[c]=Be(["brandBlue500"]),p={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=p[u].brandmark,h=p[u].logotype;if(!e&&!a)return null;let g=(0,Ur.jsxs)(Poe,{height:r,hoverColor:n,role:"img",title:"Wistia Logo",viewBox:Roe(!!e,!!a),xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,Ur.jsx)("title",{children:s}),e?(0,Ur.jsx)(Toe,{brandmarkColor:d}):null,a?(0,Ur.jsx)(Aoe,{logotypeColor:h}):null]});return o!==void 0?(0,Ur.jsx)("a",{href:o,children:g}):g};R7.displayName="WistiaLogo_VHS";i();i();var bI=A(require("styled-components")),CI=A(ee()),Kr=require("react/jsx-runtime"),Foe=(e,t)=>t?(0,Kr.jsx)("g",{fill:e,children:(0,Kr.jsx)("path",{d:"M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z"})}):(0,Kr.jsx)("g",{fill:e,children:(0,Kr.jsx)("path",{d:"M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z"})}),Boe=(e,t)=>t?null:(0,Kr.jsx)("g",{fill:e,children:(0,Kr.jsx)("path",{d:"M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z"})}),Ooe=e=>e?"0 0 34.4 26.78":"0 0 144 31.47",Moe=bI.default.svg`
|
|
2971
2971
|
height: ${({height:e})=>`${e}px`};
|
|
2972
2972
|
|
|
2973
2973
|
/* ensure it will always fit on mobile */
|
|
@@ -2979,7 +2979,7 @@
|
|
|
2979
2979
|
${({hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
|
|
2980
2980
|
}
|
|
2981
2981
|
}
|
|
2982
|
-
`,F7=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:a="Wistia Logo",variant:s="standard",...u})=>{let l="#2949e5",c="#000934",p="#ffffff",d={standard:{brandmark:l,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:p,logotype:p}},h=d[s].brandmark,g=d[s].logotype,v=(0,Kr.jsxs)(Moe,{height:t,hoverColor:r,role:"img",viewBox:Ooe(o),xmlns:"http://www.w3.org/2000/svg",...u,children:[(0,Kr.jsx)("title",{children:a}),(0,
|
|
2982
|
+
`,F7=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:a="Wistia Logo",variant:s="standard",...u})=>{let l="#2949e5",c="#000934",p="#ffffff",d={standard:{brandmark:l,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:p,logotype:p}},h=d[s].brandmark,g=d[s].logotype,v=(0,Kr.jsxs)(Moe,{height:t,hoverColor:r,role:"img",viewBox:Ooe(o),xmlns:"http://www.w3.org/2000/svg",...u,children:[(0,Kr.jsx)("title",{children:a}),(0,CI.isNotNil)(e)?(0,Kr.jsx)("desc",{children:e}):null,Foe(h,o),Boe(g,o)]});return n!==void 0?(0,Kr.jsx)("a",{href:n,children:v}):v};F7.displayName="WistiaLogoNew_VHS";
|
|
2983
2983
|
/*! Bundled license information:
|
|
2984
2984
|
|
|
2985
2985
|
react-is/cjs/react-is.production.min.js:
|