@wistia/vhs 2.51.0-beta.4396db3b.6b63b17 → 2.51.0-beta.5e6c671c.1fa7faf
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/components/Icon/icons/InviteIcon.d.ts.map +1 -1
- package/dist/index.cjs +112 -112
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +121 -121
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license VHS v2.51.0-beta.
|
|
3
|
+
* @license VHS v2.51.0-beta.5e6c671c.1fa7faf
|
|
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
|
-
var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDescriptor;var _F=Object.getOwnPropertyNames;var WF=Object.getPrototypeOf,UF=Object.prototype.hasOwnProperty;var c1=(e,t)=>()=>(e&&(t=e(e=0)),t);var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),f1=(e,t)=>{for(var r in t)ul(e,r,{get:t[r],enumerable:!0})},l3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of _F(t))!UF.call(e,o)&&o!==r&&ul(e,o,{get:()=>t[o],enumerable:!(n=jF(t,o))||n.enumerable});return e};var dr=(e,t,r)=>(r=e!=null?GF(WF(e)):{},l3(t||!e||!e.__esModule?ul(r,"default",{value:e,enumerable:!0}):r,e)),KF=e=>l3(ul({},"__esModule",{value:!0}),e);import*as p from"react";var a=c1(()=>{"use strict"});var o5=Oe((rce,N1)=>{a();var n5=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);n5?(I1=new Uint8Array(16),N1.exports=function(){return n5(I1),I1}):(k1=new Array(16),N1.exports=function(){for(var t=0,r;t<16;t++)t&3||(r=Math.random()*4294967296),k1[t]=r>>>((t&3)<<3)&255;return k1});var I1,k1});var s5=Oe((oce,a5)=>{a();var i5=[];for(Ms=0;Ms<256;++Ms)i5[Ms]=(Ms+256).toString(16).substr(1);var Ms;function uR(e,t){var r=t||0,n=i5;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("")}a5.exports=uR});var l5=Oe((ace,u5)=>{a();var lR=o5(),cR=s5();function fR(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||lR)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var i=0;i<16;++i)t[n+i]=o[i];return t||cR(o)}u5.exports=fR});var g5=Oe((Tce,h5)=>{a();h5.exports={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 y5=Oe((Ace,v5)=>{a();var yR=g5();v5.exports={designTokens:yR}});var N8=Oe((Tbe,k8)=>{"use strict";a();var M8=Array.isArray,I8=Object.keys,xV=Object.prototype.hasOwnProperty,wV=typeof Element<"u";function Sm(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=M8(e),n=M8(t),o,i,s;if(r&&n){if(i=e.length,i!=t.length)return!1;for(o=i;o--!==0;)if(!Sm(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,f=t instanceof RegExp;if(c!=f)return!1;if(c&&f)return e.toString()==t.toString();var d=I8(e);if(i=d.length,i!==I8(t).length)return!1;for(o=i;o--!==0;)if(!xV.call(t,d[o]))return!1;if(wV&&e instanceof Element&&t instanceof Element)return e===t;for(o=i;o--!==0;)if(s=d[o],!(s==="_owner"&&e.$$typeof)&&!Sm(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}k8.exports=function(t,r){try{return Sm(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 X8=Oe(Pe=>{"use strict";a();var ft=typeof Symbol=="function"&&Symbol.for,Pm=ft?Symbol.for("react.element"):60103,Am=ft?Symbol.for("react.portal"):60106,ic=ft?Symbol.for("react.fragment"):60107,ac=ft?Symbol.for("react.strict_mode"):60108,sc=ft?Symbol.for("react.profiler"):60114,uc=ft?Symbol.for("react.provider"):60109,lc=ft?Symbol.for("react.context"):60110,Om=ft?Symbol.for("react.async_mode"):60111,cc=ft?Symbol.for("react.concurrent_mode"):60111,fc=ft?Symbol.for("react.forward_ref"):60112,pc=ft?Symbol.for("react.suspense"):60113,HV=ft?Symbol.for("react.suspense_list"):60120,dc=ft?Symbol.for("react.memo"):60115,mc=ft?Symbol.for("react.lazy"):60116,GV=ft?Symbol.for("react.block"):60121,jV=ft?Symbol.for("react.fundamental"):60117,_V=ft?Symbol.for("react.responder"):60118,WV=ft?Symbol.for("react.scope"):60119;function or(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Pm:switch(e=e.type,e){case Om:case cc:case ic:case sc:case ac:case pc:return e;default:switch(e=e&&e.$$typeof,e){case lc:case fc:case mc:case dc:case uc:return e;default:return t}}case Am:return t}}}function q8(e){return or(e)===cc}Pe.AsyncMode=Om;Pe.ConcurrentMode=cc;Pe.ContextConsumer=lc;Pe.ContextProvider=uc;Pe.Element=Pm;Pe.ForwardRef=fc;Pe.Fragment=ic;Pe.Lazy=mc;Pe.Memo=dc;Pe.Portal=Am;Pe.Profiler=sc;Pe.StrictMode=ac;Pe.Suspense=pc;Pe.isAsyncMode=function(e){return q8(e)||or(e)===Om};Pe.isConcurrentMode=q8;Pe.isContextConsumer=function(e){return or(e)===lc};Pe.isContextProvider=function(e){return or(e)===uc};Pe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pm};Pe.isForwardRef=function(e){return or(e)===fc};Pe.isFragment=function(e){return or(e)===ic};Pe.isLazy=function(e){return or(e)===mc};Pe.isMemo=function(e){return or(e)===dc};Pe.isPortal=function(e){return or(e)===Am};Pe.isProfiler=function(e){return or(e)===sc};Pe.isStrictMode=function(e){return or(e)===ac};Pe.isSuspense=function(e){return or(e)===pc};Pe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ic||e===cc||e===sc||e===ac||e===pc||e===HV||typeof e=="object"&&e!==null&&(e.$$typeof===mc||e.$$typeof===dc||e.$$typeof===uc||e.$$typeof===lc||e.$$typeof===fc||e.$$typeof===jV||e.$$typeof===_V||e.$$typeof===WV||e.$$typeof===GV)};Pe.typeOf=or});var J8=Oe((vCe,Y8)=>{"use strict";a();Y8.exports=X8()});var oy=Oe((bCe,ny)=>{"use strict";a();var Fm=J8(),UV={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KV={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},qV={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ty={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$m={};$m[Fm.ForwardRef]=qV;$m[Fm.Memo]=ty;function Z8(e){return Fm.isMemo(e)?ty:$m[e.$$typeof]||UV}var XV=Object.defineProperty,YV=Object.getOwnPropertyNames,Q8=Object.getOwnPropertySymbols,JV=Object.getOwnPropertyDescriptor,ZV=Object.getPrototypeOf,ey=Object.prototype;function ry(e,t,r){if(typeof t!="string"){if(ey){var n=ZV(t);n&&n!==ey&&ry(e,n,r)}var o=YV(t);Q8&&(o=o.concat(Q8(t)));for(var i=Z8(e),s=Z8(t),u=0;u<o.length;++u){var l=o[u];if(!KV[l]&&!(r&&r[l])&&!(s&&s[l])&&!(i&&i[l])){var c=JV(t,l);try{XV(e,l,c)}catch{}}}}return e}ny.exports=ry});var bc=Oe((swe,dy)=>{a();var LL=typeof Element<"u",zL=typeof Map=="function",HL=typeof Set=="function",GL=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function yc(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(!yc(e[n],t[n]))return!1;return!0}var i;if(zL&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;for(i=e.entries();!(n=i.next()).done;)if(!yc(n.value[1],t.get(n.value[0])))return!1;return!0}if(HL&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(GL&&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(LL&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!yc(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}dy.exports=function(t,r){try{return yc(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});function ky(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ny=c1(()=>{a()});var Vy={};f1(Vy,{default:()=>vz});var gz,vz,Ly=c1(()=>{a();Ny();gz=/^((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)-.*))$/,vz=ky(function(e){return gz.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var tS=Oe((rYe,eS)=>{"use strict";a();eS.exports=bK;var Zw="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",Qw="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",vK=new RegExp("^[^"+Qw+"]*["+Zw+"]"),yK=new RegExp("^[^"+Zw+"]*["+Qw+"]");function bK(e){return e=String(e||""),vK.test(e)?"rtl":yK.test(e)?"ltr":"neutral"}});var Sp=Oe((oYe,rS)=>{a();function CK(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}rS.exports=CK});var oS=Oe((aYe,nS)=>{a();var xK=typeof window=="object"&&window&&window.Object===Object&&window;nS.exports=xK});var Ch=Oe((uYe,iS)=>{a();var wK=oS(),SK=typeof self=="object"&&self&&self.Object===Object&&self,DK=wK||SK||Function("return this")();iS.exports=DK});var sS=Oe((cYe,aS)=>{a();var EK=Ch(),TK=function(){return EK.Date.now()};aS.exports=TK});var lS=Oe((pYe,uS)=>{a();var PK=/\s/;function AK(e){for(var t=e.length;t--&&PK.test(e.charAt(t)););return t}uS.exports=AK});var fS=Oe((mYe,cS)=>{a();var OK=lS(),FK=/^\s+/;function $K(e){return e&&e.slice(0,OK(e)+1).replace(FK,"")}cS.exports=$K});var xh=Oe((gYe,pS)=>{a();var RK=Ch(),BK=RK.Symbol;pS.exports=BK});var gS=Oe((yYe,hS)=>{a();var dS=xh(),mS=Object.prototype,MK=mS.hasOwnProperty,IK=mS.toString,bu=dS?dS.toStringTag:void 0;function kK(e){var t=MK.call(e,bu),r=e[bu];try{e[bu]=void 0;var n=!0}catch{}var o=IK.call(e);return n&&(t?e[bu]=r:delete e[bu]),o}hS.exports=kK});var yS=Oe((CYe,vS)=>{a();var NK=Object.prototype,VK=NK.toString;function LK(e){return VK.call(e)}vS.exports=LK});var wS=Oe((wYe,xS)=>{a();var bS=xh(),zK=gS(),HK=yS(),GK="[object Null]",jK="[object Undefined]",CS=bS?bS.toStringTag:void 0;function _K(e){return e==null?e===void 0?jK:GK:CS&&CS in Object(e)?zK(e):HK(e)}xS.exports=_K});var DS=Oe((DYe,SS)=>{a();function WK(e){return e!=null&&typeof e=="object"}SS.exports=WK});var TS=Oe((TYe,ES)=>{a();var UK=wS(),KK=DS(),qK="[object Symbol]";function XK(e){return typeof e=="symbol"||KK(e)&&UK(e)==qK}ES.exports=XK});var FS=Oe((AYe,OS)=>{a();var YK=fS(),PS=Sp(),JK=TS(),AS=NaN,ZK=/^[-+]0x[0-9a-f]+$/i,QK=/^0b[01]+$/i,eq=/^0o[0-7]+$/i,tq=parseInt;function rq(e){if(typeof e=="number")return e;if(JK(e))return AS;if(PS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=PS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=YK(e);var r=QK.test(e);return r||eq.test(e)?tq(e.slice(2),r?2:8):ZK.test(e)?AS:+e}OS.exports=rq});var Sh=Oe((FYe,RS)=>{a();var nq=Sp(),wh=sS(),$S=FS(),oq="Expected a function",iq=Math.max,aq=Math.min;function sq(e,t,r){var n,o,i,s,u,l,c=0,f=!1,d=!1,m=!0;if(typeof e!="function")throw new TypeError(oq);t=$S(t)||0,nq(r)&&(f=!!r.leading,d="maxWait"in r,i=d?iq($S(r.maxWait)||0,t):i,m="trailing"in r?!!r.trailing:m);function g(D){var T=n,O=o;return n=o=void 0,c=D,s=e.apply(O,T),s}function v(D){return c=D,u=setTimeout(b,t),f?g(D):s}function h(D){var T=D-l,O=D-c,F=t-T;return d?aq(F,i-O):F}function y(D){var T=D-l,O=D-c;return l===void 0||T>=t||T<0||d&&O>=i}function b(){var D=wh();if(y(D))return x(D);u=setTimeout(b,h(D))}function x(D){return u=void 0,m&&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(wh())}function E(){var D=wh(),T=y(D);if(n=arguments,o=this,l=D,T){if(u===void 0)return v(l);if(d)return clearTimeout(u),u=setTimeout(b,t),g(l)}return u===void 0&&(u=setTimeout(b,t)),s}return E.cancel=w,E.flush=S,E}RS.exports=sq});var MS=Oe((RYe,BS)=>{a();var uq=Sh(),lq=Sp(),cq="Expected a function";function fq(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(cq);return lq(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),uq(e,t,{leading:n,maxWait:t,trailing:o})}BS.exports=fq});var JD=Oe(qr=>{"use strict";a();Object.defineProperty(qr,"__esModule",{value:!0});var XY=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),n2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},YY={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:XY?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},KD={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(Pu=1;Pu<20;Pu++)KD["f"+Pu]=111+Pu;var Pu;function zp(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return qD(s,t)}),o=function(u){return n.some(function(l){return XD(l,u)})},i=r==null?o:o(r);return i}function JY(e,t){return zp(e,t)}function ZY(e,t){return zp(e,{byKey:!0},t)}function qD(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),i=o.length;for(var s in n2)n[n2[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var f=o[Symbol.iterator](),d;!(u=(d=f.next()).done);u=!0){var m=d.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=o2(m),h=n2[v];(i===1||!h)&&(r?n.key=v:n.which=YD(m)),h&&(n[h]=g?null:!0)}}catch(y){l=!0,c=y}finally{try{!u&&f.return&&f.return()}finally{if(l)throw c}}return n}function XD(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 YD(e){e=o2(e);var t=KD[e]||e.toUpperCase().charCodeAt(0);return t}function o2(e){return e=e.toLowerCase(),e=YY[e]||e,e}qr.default=zp;qr.isHotkey=zp;qr.isCodeHotkey=JY;qr.isKeyHotkey=ZY;qr.parseHotkey=qD;qr.compareHotkey=XD;qr.toKeyCode=YD;qr.toKeyName=o2});var HE=Oe(Xr=>{"use strict";a();Object.defineProperty(Xr,"__esModule",{value:!0});var DZ=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),w2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},NE={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:DZ?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},S2={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(Bu=1;Bu<20;Bu++)S2["f"+Bu]=111+Bu;var Bu;function Jp(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return VE(s,t)}),o=function(u){return n.some(function(l){return LE(l,u)})},i=r==null?o:o(r);return i}function EZ(e,t){return Jp(e,t)}function TZ(e,t){return Jp(e,{byKey:!0},t)}function VE(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),i=o.length;for(var s in w2)n[w2[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var f=o[Symbol.iterator](),d;!(u=(d=f.next()).done);u=!0){var m=d.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=D2(m),h=w2[v];if(m.length>1&&!h&&!NE[m]&&!S2[v])throw new TypeError('Unknown modifier: "'+m+'"');(i===1||!h)&&(r?n.key=v:n.which=zE(m)),h&&(n[h]=g?null:!0)}}catch(y){l=!0,c=y}finally{try{!u&&f.return&&f.return()}finally{if(l)throw c}}return n}function LE(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 zE(e){e=D2(e);var t=S2[e]||e.toUpperCase().charCodeAt(0);return t}function D2(e){return e=e.toLowerCase(),e=NE[e]||e,e}Xr.default=Jp;Xr.isHotkey=Jp;Xr.isCodeHotkey=EZ;Xr.isKeyHotkey=TZ;Xr.parseHotkey=VE;Xr.compareHotkey=LE;Xr.toKeyCode=zE;Xr.toKeyName=D2});a();a();a();var bs=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(i=>{throw i instanceof Error?i: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(i){console.error("error",i)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};a();a();a();var qF=e=>e===null;var lt=e=>e===void 0,J=e=>!lt(e),de=e=>qF(e)||lt(e),R=e=>!de(e),gt=e=>typeof e=="string",XF=e=>gt(e)&&e==="",be=e=>gt(e)&&!XF(e),p1=e=>typeof e=="number",YF=e=>R(e)&&typeof e=="object"&&!(e instanceof Array);var JF=e=>YF(e)&&Object.keys(e).length>0,Oo=e=>R(e)&&typeof e=="object"&&e instanceof Array;var Cs=e=>Oo(e)&&e.length>0,Fo=e=>R(e)&&typeof e=="function",ll=e=>R(e)&&typeof e=="boolean";var c3=(e,t)=>JF(e)&&t in e;a();a();function ie(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)}a();function $o(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function d1(e,t){let r=ie(e);return isNaN(t)?$o(e,NaN):(t&&r.setDate(r.getDate()+t),r)}a();function xs(e,t){let r=ie(e);if(isNaN(t))return $o(e,NaN);if(!t)return r;let n=r.getDate(),o=$o(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);let i=o.getDate();return n>=i?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}a();var ZF=Math.pow(10,8)*24*60*60*1e3,rae=-ZF;var f3=864e5;var QF=3600;var p3=QF*24,nae=p3*7,e$=p3*365.2425,t$=e$/12,oae=t$*3;a();a();function xr(e){let t=ie(e);return t.setHours(0,0,0,0),t}a();function m1(e){let t=ie(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 cl(e,t){let r=xr(e),n=xr(t),o=+r-m1(r),i=+n-m1(n);return Math.round((o-i)/f3)}a();function h1(e,t){return xs(e,t*12)}a();function fl(e,t){let r=ie(e),n=ie(t),o=r.getTime()-n.getTime();return o<0?-1:o>0?1:o}a();function er(e,t){let r=xr(e),n=xr(t);return+r==+n}a();a();function d3(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ws(e){if(!d3(e)&&typeof e!="number")return!1;let t=ie(e);return!isNaN(Number(t))}a();function h3(e,t){let r=ie(e),n=ie(t),o=m3(r,n),i=Math.abs(cl(r,n));r.setDate(r.getDate()-o*i);let s=+(m3(r,n)===-o),u=o*(i-s);return u===0?0:u}function m3(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}a();function Mi(e){let t=ie(e);return t.setHours(23,59,59,999),t}a();function g1(e){let t=ie(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}a();function g3(e,t){let r=ie(e.start),n=ie(e.end),o=+r>+n,i=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<=i;)l.push(ie(s)),s.setDate(s.getDate()+u),s.setHours(0,0,0,0);return o?l.reverse():l}a();function v1(e,t){let r=ie(e.start),n=ie(e.end),o=+r>+n,i=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<=i;)l.push(ie(s)),s.setMonth(s.getMonth()+u);return o?l.reverse():l}a();function Ss(e){let t=ie(e);return t.setDate(1),t.setHours(0,0,0,0),t}a();function v3(e){return ie(e).getDay()}a();function y1(e){let t=ie(e),r=t.getFullYear(),n=t.getMonth(),o=$o(e,0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}a();function b1(e){return ie(e).getFullYear()}a();function y3(e,t){let r=ie(e),n=ie(t);return r.getTime()>n.getTime()}a();function Mr(e,t){let r=ie(e),n=ie(t);return+r<+n}a();function C1(e,t){let r=ie(e),n=ie(t);return+r==+n}a();function b3(e){return+ie(e)>Date.now()}a();function C3(e,t){let r=+ie(e),[n,o]=[+ie(t.start),+ie(t.end)].sort((i,s)=>i-s);return r>=n&&r<=o}var w3=1e3,x1=60,Es=60,x3=30,mr=["en-US"],un=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Ds=e=>e.toString().padStart(2,"0"),wr=e=>e instanceof Date,ln=e=>!wr(e)||e.getTime()===0,S3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},D3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},E3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{let o=new Intl.DateTimeFormat(mr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((i,s)=>(i[s.type]=s.value,i),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},T3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},P3=(e,{timeZone:t=un}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(mr,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},A3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},pl=(e,{timeZone:t=un}={})=>{if(de(e))return"";let r=new Date(e);if(ln(r))return"";try{return new Intl.DateTimeFormat(mr,{dateStyle:"medium",timeStyle:"short",timeZone:t}).format(r)}catch(n){return console.error(n),""}},O3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{let{year:r,month:n,day:o,hour:i,minute:s,dayPeriod:u}=new Intl.DateTimeFormat(mr,{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}, ${i}:${s} ${u}`}catch(r){return console.error(r),""}},F3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},$3=(e,{nowAnchor:t=new Date}={})=>{if(ln(e))return"";let r=(t.valueOf()-e.valueOf())/(x1*w3),n=Math.round(r),o=cl(t,e);return r<0?pl(e):r<1?"< 1 minute ago":n<2?"1 minute ago":n<=Es?`${n} minutes ago`:o===0?`Today, ${Intl.DateTimeFormat(mr,{timeStyle:"short"}).format(e)}`:o===1?`Yesterday, ${Intl.DateTimeFormat(mr,{timeStyle:"short"}).format(e)}`:e.getFullYear()===t.getFullYear()?Intl.DateTimeFormat(mr,{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"}).format(e):pl(e)},R3=e=>{let t=e.getTimezoneOffset()/Es*-1,r=Math.round(t),n=(t-r)*Es,o=r>=0?"+":"",i=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${i}:${s}`},Ts=e=>{let t=Math.floor(e/w3),r=Math.floor(t/x1),n=Math.floor(r/Es),o=t-r*x1,i=r-n*Es;return{seconds:o,minutes:i,hours:n}},B3=e=>{let{hours:t,minutes:r,seconds:n}=Ts(e);return t<1?`${r}:${Ds(n)}`:`${t}:${Ds(r)}:${Ds(n)}`},M3=e=>{let{hours:t,minutes:r,seconds:n}=Ts(e);return`${t}:${Ds(r)}:${Ds(n)}`},w1=e=>wr(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,dl=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:i}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,i??0):null},S1=e=>dl(e)?.toISOString()??null,I3=(e,t=!0)=>{let r=e.getMinutes()<=x3,n=r?e.getHours():e.getHours()+1,o=r?x3:0,i={...w1(e),hours:n,minutes:o};return t?S1(i):dl(i)},k3=e=>{let{seconds:t,minutes:r,hours:n}=Ts(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var Ase={isDate:wr,dateOnlyString:S3,dateOnlyStringNumeric:D3,dateOnlyISOString:E3,monthDayStringNumeric:T3,dayOfWeekString:P3,timeOnlyString:A3,dateTimeString:pl,dateTimeStringForSentence:O3,dateOnlyStringForSentence:F3,timeAgoString:$3,dateUTCOffset:R3,buildTimeDuration:Ts,mediaDurationString:B3,sessionDurationString:M3,dateToDateTime:w1,dateTimeToDate:dl,dateTimeToISO:S1,dateTimeRounded:I3,millisecondsToDurationISOString:k3};a();a();import{css as xt}from"styled-components";var D1={defaultDarkOne:xt`
|
|
10
|
+
var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDescriptor;var _F=Object.getOwnPropertyNames;var WF=Object.getPrototypeOf,UF=Object.prototype.hasOwnProperty;var c1=(e,t)=>()=>(e&&(t=e(e=0)),t);var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),f1=(e,t)=>{for(var r in t)ul(e,r,{get:t[r],enumerable:!0})},l3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of _F(t))!UF.call(e,o)&&o!==r&&ul(e,o,{get:()=>t[o],enumerable:!(n=jF(t,o))||n.enumerable});return e};var dr=(e,t,r)=>(r=e!=null?GF(WF(e)):{},l3(t||!e||!e.__esModule?ul(r,"default",{value:e,enumerable:!0}):r,e)),KF=e=>l3(ul({},"__esModule",{value:!0}),e);import*as p from"react";var a=c1(()=>{"use strict"});var o5=Oe((rce,N1)=>{a();var n5=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);n5?(I1=new Uint8Array(16),N1.exports=function(){return n5(I1),I1}):(k1=new Array(16),N1.exports=function(){for(var t=0,r;t<16;t++)t&3||(r=Math.random()*4294967296),k1[t]=r>>>((t&3)<<3)&255;return k1});var I1,k1});var s5=Oe((oce,a5)=>{a();var i5=[];for(Ms=0;Ms<256;++Ms)i5[Ms]=(Ms+256).toString(16).substr(1);var Ms;function u$(e,t){var r=t||0,n=i5;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("")}a5.exports=u$});var l5=Oe((ace,u5)=>{a();var l$=o5(),c$=s5();function f$(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||l$)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t)for(var i=0;i<16;++i)t[n+i]=o[i];return t||c$(o)}u5.exports=f$});var g5=Oe((Tce,h5)=>{a();h5.exports={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 y5=Oe((Ace,v5)=>{a();var y$=g5();v5.exports={designTokens:y$}});var N8=Oe((Tbe,k8)=>{"use strict";a();var M8=Array.isArray,I8=Object.keys,xV=Object.prototype.hasOwnProperty,wV=typeof Element<"u";function Sm(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=M8(e),n=M8(t),o,i,s;if(r&&n){if(i=e.length,i!=t.length)return!1;for(o=i;o--!==0;)if(!Sm(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,f=t instanceof RegExp;if(c!=f)return!1;if(c&&f)return e.toString()==t.toString();var d=I8(e);if(i=d.length,i!==I8(t).length)return!1;for(o=i;o--!==0;)if(!xV.call(t,d[o]))return!1;if(wV&&e instanceof Element&&t instanceof Element)return e===t;for(o=i;o--!==0;)if(s=d[o],!(s==="_owner"&&e.$$typeof)&&!Sm(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}k8.exports=function(t,r){try{return Sm(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 X8=Oe(Pe=>{"use strict";a();var ft=typeof Symbol=="function"&&Symbol.for,Pm=ft?Symbol.for("react.element"):60103,Am=ft?Symbol.for("react.portal"):60106,ic=ft?Symbol.for("react.fragment"):60107,ac=ft?Symbol.for("react.strict_mode"):60108,sc=ft?Symbol.for("react.profiler"):60114,uc=ft?Symbol.for("react.provider"):60109,lc=ft?Symbol.for("react.context"):60110,Om=ft?Symbol.for("react.async_mode"):60111,cc=ft?Symbol.for("react.concurrent_mode"):60111,fc=ft?Symbol.for("react.forward_ref"):60112,pc=ft?Symbol.for("react.suspense"):60113,HV=ft?Symbol.for("react.suspense_list"):60120,dc=ft?Symbol.for("react.memo"):60115,mc=ft?Symbol.for("react.lazy"):60116,GV=ft?Symbol.for("react.block"):60121,jV=ft?Symbol.for("react.fundamental"):60117,_V=ft?Symbol.for("react.responder"):60118,WV=ft?Symbol.for("react.scope"):60119;function or(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Pm:switch(e=e.type,e){case Om:case cc:case ic:case sc:case ac:case pc:return e;default:switch(e=e&&e.$$typeof,e){case lc:case fc:case mc:case dc:case uc:return e;default:return t}}case Am:return t}}}function q8(e){return or(e)===cc}Pe.AsyncMode=Om;Pe.ConcurrentMode=cc;Pe.ContextConsumer=lc;Pe.ContextProvider=uc;Pe.Element=Pm;Pe.ForwardRef=fc;Pe.Fragment=ic;Pe.Lazy=mc;Pe.Memo=dc;Pe.Portal=Am;Pe.Profiler=sc;Pe.StrictMode=ac;Pe.Suspense=pc;Pe.isAsyncMode=function(e){return q8(e)||or(e)===Om};Pe.isConcurrentMode=q8;Pe.isContextConsumer=function(e){return or(e)===lc};Pe.isContextProvider=function(e){return or(e)===uc};Pe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pm};Pe.isForwardRef=function(e){return or(e)===fc};Pe.isFragment=function(e){return or(e)===ic};Pe.isLazy=function(e){return or(e)===mc};Pe.isMemo=function(e){return or(e)===dc};Pe.isPortal=function(e){return or(e)===Am};Pe.isProfiler=function(e){return or(e)===sc};Pe.isStrictMode=function(e){return or(e)===ac};Pe.isSuspense=function(e){return or(e)===pc};Pe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ic||e===cc||e===sc||e===ac||e===pc||e===HV||typeof e=="object"&&e!==null&&(e.$$typeof===mc||e.$$typeof===dc||e.$$typeof===uc||e.$$typeof===lc||e.$$typeof===fc||e.$$typeof===jV||e.$$typeof===_V||e.$$typeof===WV||e.$$typeof===GV)};Pe.typeOf=or});var J8=Oe((vCe,Y8)=>{"use strict";a();Y8.exports=X8()});var oy=Oe((bCe,ny)=>{"use strict";a();var Fm=J8(),UV={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KV={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},qV={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ty={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rm={};Rm[Fm.ForwardRef]=qV;Rm[Fm.Memo]=ty;function Z8(e){return Fm.isMemo(e)?ty:Rm[e.$$typeof]||UV}var XV=Object.defineProperty,YV=Object.getOwnPropertyNames,Q8=Object.getOwnPropertySymbols,JV=Object.getOwnPropertyDescriptor,ZV=Object.getPrototypeOf,ey=Object.prototype;function ry(e,t,r){if(typeof t!="string"){if(ey){var n=ZV(t);n&&n!==ey&&ry(e,n,r)}var o=YV(t);Q8&&(o=o.concat(Q8(t)));for(var i=Z8(e),s=Z8(t),u=0;u<o.length;++u){var l=o[u];if(!KV[l]&&!(r&&r[l])&&!(s&&s[l])&&!(i&&i[l])){var c=JV(t,l);try{XV(e,l,c)}catch{}}}}return e}ny.exports=ry});var bc=Oe((swe,dy)=>{a();var LL=typeof Element<"u",zL=typeof Map=="function",HL=typeof Set=="function",GL=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function yc(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(!yc(e[n],t[n]))return!1;return!0}var i;if(zL&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;for(i=e.entries();!(n=i.next()).done;)if(!yc(n.value[1],t.get(n.value[0])))return!1;return!0}if(HL&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(GL&&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(LL&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!yc(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}dy.exports=function(t,r){try{return yc(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});function ky(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ny=c1(()=>{a()});var Vy={};f1(Vy,{default:()=>vz});var gz,vz,Ly=c1(()=>{a();Ny();gz=/^((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)-.*))$/,vz=ky(function(e){return gz.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var tS=Oe((rYe,eS)=>{"use strict";a();eS.exports=bK;var Zw="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",Qw="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",vK=new RegExp("^[^"+Qw+"]*["+Zw+"]"),yK=new RegExp("^[^"+Zw+"]*["+Qw+"]");function bK(e){return e=String(e||""),vK.test(e)?"rtl":yK.test(e)?"ltr":"neutral"}});var Sp=Oe((oYe,rS)=>{a();function CK(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}rS.exports=CK});var oS=Oe((aYe,nS)=>{a();var xK=typeof window=="object"&&window&&window.Object===Object&&window;nS.exports=xK});var Ch=Oe((uYe,iS)=>{a();var wK=oS(),SK=typeof self=="object"&&self&&self.Object===Object&&self,DK=wK||SK||Function("return this")();iS.exports=DK});var sS=Oe((cYe,aS)=>{a();var EK=Ch(),TK=function(){return EK.Date.now()};aS.exports=TK});var lS=Oe((pYe,uS)=>{a();var PK=/\s/;function AK(e){for(var t=e.length;t--&&PK.test(e.charAt(t)););return t}uS.exports=AK});var fS=Oe((mYe,cS)=>{a();var OK=lS(),FK=/^\s+/;function RK(e){return e&&e.slice(0,OK(e)+1).replace(FK,"")}cS.exports=RK});var xh=Oe((gYe,pS)=>{a();var $K=Ch(),BK=$K.Symbol;pS.exports=BK});var gS=Oe((yYe,hS)=>{a();var dS=xh(),mS=Object.prototype,MK=mS.hasOwnProperty,IK=mS.toString,bu=dS?dS.toStringTag:void 0;function kK(e){var t=MK.call(e,bu),r=e[bu];try{e[bu]=void 0;var n=!0}catch{}var o=IK.call(e);return n&&(t?e[bu]=r:delete e[bu]),o}hS.exports=kK});var yS=Oe((CYe,vS)=>{a();var NK=Object.prototype,VK=NK.toString;function LK(e){return VK.call(e)}vS.exports=LK});var wS=Oe((wYe,xS)=>{a();var bS=xh(),zK=gS(),HK=yS(),GK="[object Null]",jK="[object Undefined]",CS=bS?bS.toStringTag:void 0;function _K(e){return e==null?e===void 0?jK:GK:CS&&CS in Object(e)?zK(e):HK(e)}xS.exports=_K});var DS=Oe((DYe,SS)=>{a();function WK(e){return e!=null&&typeof e=="object"}SS.exports=WK});var TS=Oe((TYe,ES)=>{a();var UK=wS(),KK=DS(),qK="[object Symbol]";function XK(e){return typeof e=="symbol"||KK(e)&&UK(e)==qK}ES.exports=XK});var FS=Oe((AYe,OS)=>{a();var YK=fS(),PS=Sp(),JK=TS(),AS=NaN,ZK=/^[-+]0x[0-9a-f]+$/i,QK=/^0b[01]+$/i,eq=/^0o[0-7]+$/i,tq=parseInt;function rq(e){if(typeof e=="number")return e;if(JK(e))return AS;if(PS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=PS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=YK(e);var r=QK.test(e);return r||eq.test(e)?tq(e.slice(2),r?2:8):ZK.test(e)?AS:+e}OS.exports=rq});var Sh=Oe((FYe,$S)=>{a();var nq=Sp(),wh=sS(),RS=FS(),oq="Expected a function",iq=Math.max,aq=Math.min;function sq(e,t,r){var n,o,i,s,u,l,c=0,f=!1,d=!1,m=!0;if(typeof e!="function")throw new TypeError(oq);t=RS(t)||0,nq(r)&&(f=!!r.leading,d="maxWait"in r,i=d?iq(RS(r.maxWait)||0,t):i,m="trailing"in r?!!r.trailing:m);function g(D){var T=n,O=o;return n=o=void 0,c=D,s=e.apply(O,T),s}function v(D){return c=D,u=setTimeout(b,t),f?g(D):s}function h(D){var T=D-l,O=D-c,F=t-T;return d?aq(F,i-O):F}function y(D){var T=D-l,O=D-c;return l===void 0||T>=t||T<0||d&&O>=i}function b(){var D=wh();if(y(D))return x(D);u=setTimeout(b,h(D))}function x(D){return u=void 0,m&&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(wh())}function E(){var D=wh(),T=y(D);if(n=arguments,o=this,l=D,T){if(u===void 0)return v(l);if(d)return clearTimeout(u),u=setTimeout(b,t),g(l)}return u===void 0&&(u=setTimeout(b,t)),s}return E.cancel=w,E.flush=S,E}$S.exports=sq});var MS=Oe(($Ye,BS)=>{a();var uq=Sh(),lq=Sp(),cq="Expected a function";function fq(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(cq);return lq(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),uq(e,t,{leading:n,maxWait:t,trailing:o})}BS.exports=fq});var JD=Oe(qr=>{"use strict";a();Object.defineProperty(qr,"__esModule",{value:!0});var XY=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),n2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},YY={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:XY?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},KD={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(Pu=1;Pu<20;Pu++)KD["f"+Pu]=111+Pu;var Pu;function zp(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return qD(s,t)}),o=function(u){return n.some(function(l){return XD(l,u)})},i=r==null?o:o(r);return i}function JY(e,t){return zp(e,t)}function ZY(e,t){return zp(e,{byKey:!0},t)}function qD(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),i=o.length;for(var s in n2)n[n2[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var f=o[Symbol.iterator](),d;!(u=(d=f.next()).done);u=!0){var m=d.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=o2(m),h=n2[v];(i===1||!h)&&(r?n.key=v:n.which=YD(m)),h&&(n[h]=g?null:!0)}}catch(y){l=!0,c=y}finally{try{!u&&f.return&&f.return()}finally{if(l)throw c}}return n}function XD(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 YD(e){e=o2(e);var t=KD[e]||e.toUpperCase().charCodeAt(0);return t}function o2(e){return e=e.toLowerCase(),e=YY[e]||e,e}qr.default=zp;qr.isHotkey=zp;qr.isCodeHotkey=JY;qr.isKeyHotkey=ZY;qr.parseHotkey=qD;qr.compareHotkey=XD;qr.toKeyCode=YD;qr.toKeyName=o2});var HE=Oe(Xr=>{"use strict";a();Object.defineProperty(Xr,"__esModule",{value:!0});var DZ=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),w2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},NE={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:DZ?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},S2={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(Bu=1;Bu<20;Bu++)S2["f"+Bu]=111+Bu;var Bu;function Jp(e,t,r){t&&!("byKey"in t)&&(r=t,t=null),Array.isArray(e)||(e=[e]);var n=e.map(function(s){return VE(s,t)}),o=function(u){return n.some(function(l){return LE(l,u)})},i=r==null?o:o(r);return i}function EZ(e,t){return Jp(e,t)}function TZ(e,t){return Jp(e,{byKey:!0},t)}function VE(e,t){var r=t&&t.byKey,n={};e=e.replace("++","+add");var o=e.split("+"),i=o.length;for(var s in w2)n[w2[s]]=!1;var u=!0,l=!1,c=void 0;try{for(var f=o[Symbol.iterator](),d;!(u=(d=f.next()).done);u=!0){var m=d.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=D2(m),h=w2[v];if(m.length>1&&!h&&!NE[m]&&!S2[v])throw new TypeError('Unknown modifier: "'+m+'"');(i===1||!h)&&(r?n.key=v:n.which=zE(m)),h&&(n[h]=g?null:!0)}}catch(y){l=!0,c=y}finally{try{!u&&f.return&&f.return()}finally{if(l)throw c}}return n}function LE(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 zE(e){e=D2(e);var t=S2[e]||e.toUpperCase().charCodeAt(0);return t}function D2(e){return e=e.toLowerCase(),e=NE[e]||e,e}Xr.default=Jp;Xr.isHotkey=Jp;Xr.isCodeHotkey=EZ;Xr.isKeyHotkey=TZ;Xr.parseHotkey=VE;Xr.compareHotkey=LE;Xr.toKeyCode=zE;Xr.toKeyName=D2});a();a();a();var bs=async e=>{if(navigator.clipboard)return navigator.clipboard.writeText(e).catch(i=>{throw i instanceof Error?i: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(i){console.error("error",i)}return r?.removeAllRanges(),window.document.body.removeChild(t),o?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))};a();a();a();var qF=e=>e===null;var lt=e=>e===void 0,J=e=>!lt(e),de=e=>qF(e)||lt(e),$=e=>!de(e),gt=e=>typeof e=="string",XF=e=>gt(e)&&e==="",be=e=>gt(e)&&!XF(e),p1=e=>typeof e=="number",YF=e=>$(e)&&typeof e=="object"&&!(e instanceof Array);var JF=e=>YF(e)&&Object.keys(e).length>0,Oo=e=>$(e)&&typeof e=="object"&&e instanceof Array;var Cs=e=>Oo(e)&&e.length>0,Fo=e=>$(e)&&typeof e=="function",ll=e=>$(e)&&typeof e=="boolean";var c3=(e,t)=>JF(e)&&t in e;a();a();function ie(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)}a();function Ro(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function d1(e,t){let r=ie(e);return isNaN(t)?Ro(e,NaN):(t&&r.setDate(r.getDate()+t),r)}a();function xs(e,t){let r=ie(e);if(isNaN(t))return Ro(e,NaN);if(!t)return r;let n=r.getDate(),o=Ro(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);let i=o.getDate();return n>=i?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}a();var ZF=Math.pow(10,8)*24*60*60*1e3,rae=-ZF;var f3=864e5;var QF=3600;var p3=QF*24,nae=p3*7,eR=p3*365.2425,tR=eR/12,oae=tR*3;a();a();function xr(e){let t=ie(e);return t.setHours(0,0,0,0),t}a();function m1(e){let t=ie(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 cl(e,t){let r=xr(e),n=xr(t),o=+r-m1(r),i=+n-m1(n);return Math.round((o-i)/f3)}a();function h1(e,t){return xs(e,t*12)}a();function fl(e,t){let r=ie(e),n=ie(t),o=r.getTime()-n.getTime();return o<0?-1:o>0?1:o}a();function er(e,t){let r=xr(e),n=xr(t);return+r==+n}a();a();function d3(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ws(e){if(!d3(e)&&typeof e!="number")return!1;let t=ie(e);return!isNaN(Number(t))}a();function h3(e,t){let r=ie(e),n=ie(t),o=m3(r,n),i=Math.abs(cl(r,n));r.setDate(r.getDate()-o*i);let s=+(m3(r,n)===-o),u=o*(i-s);return u===0?0:u}function m3(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}a();function Mi(e){let t=ie(e);return t.setHours(23,59,59,999),t}a();function g1(e){let t=ie(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}a();function g3(e,t){let r=ie(e.start),n=ie(e.end),o=+r>+n,i=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<=i;)l.push(ie(s)),s.setDate(s.getDate()+u),s.setHours(0,0,0,0);return o?l.reverse():l}a();function v1(e,t){let r=ie(e.start),n=ie(e.end),o=+r>+n,i=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<=i;)l.push(ie(s)),s.setMonth(s.getMonth()+u);return o?l.reverse():l}a();function Ss(e){let t=ie(e);return t.setDate(1),t.setHours(0,0,0,0),t}a();function v3(e){return ie(e).getDay()}a();function y1(e){let t=ie(e),r=t.getFullYear(),n=t.getMonth(),o=Ro(e,0);return o.setFullYear(r,n+1,0),o.setHours(0,0,0,0),o.getDate()}a();function b1(e){return ie(e).getFullYear()}a();function y3(e,t){let r=ie(e),n=ie(t);return r.getTime()>n.getTime()}a();function Mr(e,t){let r=ie(e),n=ie(t);return+r<+n}a();function C1(e,t){let r=ie(e),n=ie(t);return+r==+n}a();function b3(e){return+ie(e)>Date.now()}a();function C3(e,t){let r=+ie(e),[n,o]=[+ie(t.start),+ie(t.end)].sort((i,s)=>i-s);return r>=n&&r<=o}var w3=1e3,x1=60,Es=60,x3=30,mr=["en-US"],un=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC",Ds=e=>e.toString().padStart(2,"0"),wr=e=>e instanceof Date,ln=e=>!wr(e)||e.getTime()===0,S3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{dateStyle:"medium",timeZone:t}).format(e)}catch(r){return console.error(r),""}},D3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},E3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{let o=new Intl.DateTimeFormat(mr,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(e).reduce((i,s)=>(i[s.type]=s.value,i),{});return`${o.year}-${o.month}-${o.day}`}catch(r){return console.error(r),""}},T3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{month:"2-digit",day:"2-digit",timeZone:t}).format(e)}catch(r){return console.error(r),""}},P3=(e,{timeZone:t=un}={})=>{if(e===null)return"";try{return new Intl.DateTimeFormat(mr,{weekday:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},A3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{timeStyle:"short",timeZone:t}).format(e)}catch(r){return console.error(r),""}},pl=(e,{timeZone:t=un}={})=>{if(de(e))return"";let r=new Date(e);if(ln(r))return"";try{return new Intl.DateTimeFormat(mr,{dateStyle:"medium",timeStyle:"short",timeZone:t}).format(r)}catch(n){return console.error(n),""}},O3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{let{year:r,month:n,day:o,hour:i,minute:s,dayPeriod:u}=new Intl.DateTimeFormat(mr,{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}, ${i}:${s} ${u}`}catch(r){return console.error(r),""}},F3=(e,{timeZone:t=un}={})=>{if(!wr(e)||ln(e))return"";try{return new Intl.DateTimeFormat(mr,{dateStyle:"long",timeZone:t}).format(e)}catch(r){return console.error(r),""}},R3=(e,{nowAnchor:t=new Date}={})=>{if(ln(e))return"";let r=(t.valueOf()-e.valueOf())/(x1*w3),n=Math.round(r),o=cl(t,e);return r<0?pl(e):r<1?"< 1 minute ago":n<2?"1 minute ago":n<=Es?`${n} minutes ago`:o===0?`Today, ${Intl.DateTimeFormat(mr,{timeStyle:"short"}).format(e)}`:o===1?`Yesterday, ${Intl.DateTimeFormat(mr,{timeStyle:"short"}).format(e)}`:e.getFullYear()===t.getFullYear()?Intl.DateTimeFormat(mr,{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"}).format(e):pl(e)},$3=e=>{let t=e.getTimezoneOffset()/Es*-1,r=Math.round(t),n=(t-r)*Es,o=r>=0?"+":"",i=`${r}`.padStart(2,"0"),s=`${n}`.padStart(2,"0");return`${o}${i}:${s}`},Ts=e=>{let t=Math.floor(e/w3),r=Math.floor(t/x1),n=Math.floor(r/Es),o=t-r*x1,i=r-n*Es;return{seconds:o,minutes:i,hours:n}},B3=e=>{let{hours:t,minutes:r,seconds:n}=Ts(e);return t<1?`${r}:${Ds(n)}`:`${t}:${Ds(r)}:${Ds(n)}`},M3=e=>{let{hours:t,minutes:r,seconds:n}=Ts(e);return`${t}:${Ds(r)}:${Ds(n)}`},w1=e=>wr(e)?{year:e.getFullYear(),month:e.getMonth(),dayOfMonth:e.getDate(),hours:e.getHours(),minutes:e.getMinutes()}:null,dl=e=>{let{year:t,month:r,dayOfMonth:n,hours:o,minutes:i}=e??{};return t!==void 0&&r!==void 0&&n!==void 0?new Date(t,r,n,o??0,i??0):null},S1=e=>dl(e)?.toISOString()??null,I3=(e,t=!0)=>{let r=e.getMinutes()<=x3,n=r?e.getHours():e.getHours()+1,o=r?x3:0,i={...w1(e),hours:n,minutes:o};return t?S1(i):dl(i)},k3=e=>{let{seconds:t,minutes:r,hours:n}=Ts(e),o="PT";return n&&(o+=`${n}H`),r&&(o+=`${r}M`),t&&(o+=`${t}S`),t||r||n||(o+="0S"),o};var Ase={isDate:wr,dateOnlyString:S3,dateOnlyStringNumeric:D3,dateOnlyISOString:E3,monthDayStringNumeric:T3,dayOfWeekString:P3,timeOnlyString:A3,dateTimeString:pl,dateTimeStringForSentence:O3,dateOnlyStringForSentence:F3,timeAgoString:R3,dateUTCOffset:$3,buildTimeDuration:Ts,mediaDurationString:B3,sessionDurationString:M3,dateToDateTime:w1,dateTimeToDate:dl,dateTimeToISO:S1,dateTimeRounded:I3,millisecondsToDurationISOString:k3};a();a();import{css as xt}from"styled-components";var D1={defaultDarkOne:xt`
|
|
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 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
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
|
-
`},ml=Object.keys(D1),Ir=(e=void 0)=>R(e)?D1[e]:D1.defaultDarkOne;a();var r$=31,Lse=e=>{let t=null;if(typeof e=="string"&&e)t=Array.from(e).reduce((n,o)=>Math.imul(r$,n)+o.charCodeAt(0)||0,0);else return ml[0];let r=Math.abs(t)%ml.length;return ml[r]};a();a();a();a();function Z(){return Z=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},Z.apply(this,arguments)}a();function E1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a();a();function cn(e,t){return cn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},cn(e,t)}function fn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cn(e,t)}a();a();function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}a();function T1(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}a();a();function hl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(hl=function(){return!!e})()}function P1(e,t,r){if(hl())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&cn(o,r.prototype),o}function As(e){var t=typeof Map=="function"?new Map:void 0;return As=function(n){if(n===null||!T1(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 P1(n,arguments,Ps(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),cn(o,n)},As(e)}a();var kt=function(e){fn(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,i,s;s<o;s++);return E1(n)}return t}(As(Error));function N3(e,t){return e.substr(-t.length)===t}var n$=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function V3(e){if(typeof e!="string")return e;var t=e.match(n$);return t?parseFloat(e):e}var o$=function(t){return function(r,n){n===void 0&&(n="16px");var o=r,i=n;if(typeof r=="string"){if(!N3(r,"px"))throw new kt(69,t,r);o=V3(r)}if(typeof n=="string"){if(!N3(n,"px"))throw new kt(70,t,n);i=V3(n)}if(typeof o=="string")throw new kt(71,r,t);if(typeof i=="string")throw new kt(72,n,t);return""+o/i+t}},z3=o$,xue=z3("em");var i$=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function H3(e){if(typeof e!="string")return[e,""];var t=e.match(i$);return t?[parseFloat(e),t[2]]:[e,void 0]}var wue=z3("rem");function A1(e){return Math.round(e*255)}function a$(e,t,r){return A1(e)+","+A1(t)+","+A1(r)}function Os(e,t,r,n){if(n===void 0&&(n=a$),t===0)return n(r,r,r);var o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*t,s=i*(1-Math.abs(o%2-1)),u=0,l=0,c=0;o>=0&&o<1?(u=i,l=s):o>=1&&o<2?(u=s,l=i):o>=2&&o<3?(l=i,c=s):o>=3&&o<4?(l=s,c=i):o>=4&&o<5?(u=s,c=i):o>=5&&o<6&&(u=i,c=s);var f=r-i/2,d=u+f,m=l+f,g=c+f;return n(d,m,g)}var L3={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 s$(e){if(typeof e!="string")return e;var t=e.toLowerCase();return L3[t]?"#"+L3[t]:e}var u$=/^#[a-fA-F0-9]{6}$/,l$=/^#[a-fA-F0-9]{8}$/,c$=/^#[a-fA-F0-9]{3}$/,f$=/^#[a-fA-F0-9]{4}$/,O1=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,p$=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,d$=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,m$=/^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 Ii(e){if(typeof e!="string")throw new kt(3);var t=s$(e);if(t.match(u$))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(l$)){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(c$))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(f$)){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=O1.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=p$.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=d$.exec(t);if(s){var u=parseInt(""+s[1],10),l=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,f="rgb("+Os(u,l,c)+")",d=O1.exec(f);if(!d)throw new kt(4,t,f);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var m=m$.exec(t.substring(0,50));if(m){var g=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,h=parseInt(""+m[3],10)/100,y="rgb("+Os(g,v,h)+")",b=O1.exec(y);if(!b)throw new kt(4,t,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new kt(5)}function h$(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=(o+i)/2;if(o===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var u,l=o-i,c=s>.5?l/(2-o-i):l/(o+i);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 Ln(e){return h$(Ii(e))}var g$=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},$1=g$;function Ro(e){var t=e.toString(16);return t.length===1?"0"+t:t}function F1(e){return Ro(Math.round(e*255))}function v$(e,t,r){return $1("#"+F1(e)+F1(t)+F1(r))}function gl(e,t,r){return Os(e,t,r,v$)}function y$(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return gl(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return gl(e.hue,e.saturation,e.lightness);throw new kt(1)}function b$(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?gl(e,t,r):"rgba("+Os(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?gl(e.hue,e.saturation,e.lightness):"rgba("+Os(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new kt(2)}function R1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return $1("#"+Ro(e)+Ro(t)+Ro(r));if(typeof e=="object"&&t===void 0&&r===void 0)return $1("#"+Ro(e.red)+Ro(e.green)+Ro(e.blue));throw new kt(6)}function vl(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Ii(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?R1(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?R1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new kt(7)}var C$=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},x$=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},w$=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},S$=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function zn(e){if(typeof e!="object")throw new kt(8);if(x$(e))return vl(e);if(C$(e))return R1(e);if(S$(e))return b$(e);if(w$(e))return y$(e);throw new kt(8)}function G3(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):G3(e,t,o)}}function tr(e){return G3(e,e.length,[])}function D$(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{hue:r.hue+parseFloat(e)}))}var Sue=tr(D$);function ki(e,t,r){return Math.max(e,Math.min(t,r))}function E$(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{lightness:ki(0,1,r.lightness-parseFloat(e))}))}var T$=tr(E$),ct=T$;function P$(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{saturation:ki(0,1,r.saturation-parseFloat(e))}))}var Due=tr(P$);function A$(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{lightness:ki(0,1,r.lightness+parseFloat(e))}))}var Eue=tr(A$);function O$(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=Ii(t),o=Z({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=Ii(r),s=Z({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),u=o.alpha-s.alpha,l=parseFloat(e)*2-1,c=l*u===-1?l:l+u,f=1+l*u,d=(c/f+1)/2,m=1-d,g={red:Math.floor(o.red*d+s.red*m),green:Math.floor(o.green*d+s.green*m),blue:Math.floor(o.blue*d+s.blue*m),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return vl(g)}var F$=tr(O$),j3=F$;function $$(e,t){if(t==="transparent")return t;var r=Ii(t),n=typeof r.alpha=="number"?r.alpha:1,o=Z({},r,{alpha:ki(0,1,(n*100+parseFloat(e)*100)/100)});return vl(o)}var Tue=tr($$);function R$(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{saturation:ki(0,1,r.saturation+parseFloat(e))}))}var Pue=tr(R$);function B$(e,t){return t==="transparent"?t:zn(Z({},Ln(t),{hue:parseFloat(e)}))}var Aue=tr(B$);function M$(e,t){return t==="transparent"?t:zn(Z({},Ln(t),{lightness:parseFloat(e)}))}var Oue=tr(M$);function I$(e,t){return t==="transparent"?t:zn(Z({},Ln(t),{saturation:parseFloat(e)}))}var Fue=tr(I$);function k$(e,t){return t==="transparent"?t:j3(parseFloat(e),"rgb(0, 0, 0)",t)}var $ue=tr(k$);function N$(e,t){return t==="transparent"?t:j3(parseFloat(e),"rgb(255, 255, 255)",t)}var Rue=tr(N$);function V$(e,t){if(t==="transparent")return t;var r=Ii(t),n=typeof r.alpha=="number"?r.alpha:1,o=Z({},r,{alpha:ki(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return vl(o)}var L$=tr(V$),Nt=L$;var Fs=e=>{let[r,n]=H3(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},z$=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,H$=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,G$=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,j$=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,_$=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,W$=({theme:e})=>Fs(e.breakpoint.xs),U$=({theme:e})=>Fs(e.breakpoint.sm),K$=({theme:e})=>Fs(e.breakpoint.md),q$=({theme:e})=>Fs(e.breakpoint.lg),X$=({theme:e})=>Fs(e.breakpoint.xl),Re={xsAndUp:z$,smAndUp:H$,mdAndUp:G$,lgAndUp:j$,xlAndUp:_$,xsAndDown:W$,smAndDown:U$,mdAndDown:K$,lgAndDown:q$,xlAndDown:X$};a();a();var pn=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object);a();var B1=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])&&B1(e[t])}),e);a();var $s=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{pn(n)&&Object.keys(n).forEach(o=>{pn(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=$s(r[o],n[o]):r[o]=n[o]})}),r};a();var yl=(e,t)=>t.reduce((r,n)=>(Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]),r),{});var ele={isObject:pn,deepFreeze:B1,merge:$s,selectKeys:yl};a();a();var _3=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase());a();var dn=e=>e==="true"||e==="false"?e==="true":!!e;a();var rr=e=>e==null?"":String(e);a();a();var Ni=e=>typeof e=="string"||e instanceof String;var W3=e=>{if(!Ni(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};a();var Hn=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!Ni(e))return!1;let o=t.exec(e);if(!o)return!1;let i=o[1];return i===void 0||!i?!1:r.test(i)||n.test(i)};a();var U3=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1);a();var K3=e=>e.replace(/\n/g,"");a();var q3=e=>(e||"").replace(/\.[^/.]{1,4}$/,"");a();var X3=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`;a();var Y3=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1);var Vle={camelCase:_3,coerceToBoolean:dn,coerceToString:rr,isHttpUrl:W3,isString:Ni,isUrl:Hn,lowerFirst:U3,removeNewlines:K3,stripExtension:q3,truncate:X3,upperFirst:Y3};a();a();a();import r5,{Component as aR}from"react";a();import Bs,{Component as eR}from"react";a();import Y$ from"react";var J$={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},J3=function(t){var r=t.message,n=t["aria-live"];return Y$.createElement("div",{style:J$,role:"log","aria-live":n},r||"")};J3.propTypes={};var Rs=J3;function Z$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z3(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 Q$(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 Q3=function(e){Q$(t,e);function t(){var r,n,o;Z$(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return o=(r=(n=Z3(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),Z3(n,o)}return t.getDerivedStateFromProps=function(n,o){var i=o.oldPolitemessage,s=o.oldPoliteMessageId,u=o.oldAssertiveMessage,l=o.oldAssertiveMessageId,c=n.politeMessage,f=n.politeMessageId,d=n.assertiveMessage,m=n.assertiveMessageId;return i!==c||s!==f?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:f,setAlternatePolite:!o.setAlternatePolite}:u!==d||l!==m?{assertiveMessage1:o.setAlternateAssertive?"":d,assertiveMessage2:o.setAlternateAssertive?d:"",oldAssertiveMessage:d,oldAssertiveMessageId:m,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,i=n.assertiveMessage2,s=n.politeMessage1,u=n.politeMessage2;return Bs.createElement("div",null,Bs.createElement(Rs,{"aria-live":"assertive",message:o}),Bs.createElement(Rs,{"aria-live":"assertive",message:i}),Bs.createElement(Rs,{"aria-live":"polite",message:s}),Bs.createElement(Rs,{"aria-live":"polite",message:u}))},t}(eR);Q3.propTypes={};var e5=Q3;a();import tR from"react";var rR=tR.createContext({announceAssertive:t5,announcePolite:t5});function t5(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var Vi=rR;function nR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oR(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 iR(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 sR=function(e){iR(t,e);function t(r){nR(this,t);var n=oR(this,e.call(this,r));return n.announcePolite=function(o,i){n.setState({announcePoliteMessage:o,politeMessageId:i||""})},n.announceAssertive=function(o,i){n.setState({announceAssertiveMessage:o,assertiveMessageId:i||""})},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,i=n.politeMessageId,s=n.announceAssertiveMessage,u=n.assertiveMessageId,l=n.updateFunctions;return r5.createElement(Vi.Provider,{value:l},this.props.children,r5.createElement(e5,{assertiveMessage:s,assertiveMessageId:u,politeMessage:o,politeMessageId:i}))},t}(aR),M1=sR;a();import d5 from"react";a();var V1=dr(l5());import{Component as mR}from"react";function pR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c5(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 dR(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 f5=function(e){dR(t,e);function t(){var r,n,o;pR(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return o=(r=(n=c5(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var l=n.props,c=l.message,f=l["aria-live"],d=l.announceAssertive,m=l.announcePolite;f==="assertive"&&d(c||"",(0,V1.default)()),f==="polite"&&m(c||"",(0,V1.default)())},r),c5(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,i=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(i(""),s(""))},t.prototype.render=function(){return null},t}(mR);f5.propTypes={};var p5=f5;var hR=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},m5=function(t){return d5.createElement(Vi.Consumer,null,function(r){return d5.createElement(p5,hR({},r,t))})};m5.propTypes={};var Is=m5;a();import gR from"react";var vR=function(t){var r=t.children;return gR.createElement(Vi.Consumer,null,function(n){return r(n)})};vR.propTypes={};a();import{ThemeProvider as CR}from"styled-components";a();var kr=dr(y5());var b5=100,bR=200,C5=300,bl=500,x5={breakpoint:{...kr.designTokens.breakpoint},color:{...kr.designTokens.color},duration:{...kr.designTokens.duration},easing:{...kr.designTokens.easing},font:{family:kr.designTokens.font.family,size:kr.designTokens.font.size,weight:{...yl(kr.designTokens.font.weight,["regular","medium","semiBold","bold","extraBold"])}},shadow:{...kr.designTokens.shadow},spacing:{...kr.designTokens.spacing},zIndex:{ThumbnailDuration:b5,ModalCloseButton:b5,Backdrop:bR,ActionModal:C5,FullScreenModal:C5,RangeSelector:bl,MenuComponent:bl,Toast:bl,Tooltip:bl}};import{jsx as xR}from"react/jsx-runtime";var w5=({children:e,theme:t})=>{let r=$s(x5,t);return xR(CR,{theme:r,children:e})};a();import{createContext as wR,useContext as SR}from"react";var S5=wR({}),D5=()=>SR(S5),E5=S5.Provider;a();import{useState as ko,useCallback as cB}from"react";a();import{memo as ZR,useState as QR,useEffect as I6,useCallback as eB,Fragment as tB}from"react";import{createPortal as rB}from"react-dom";import N6 from"styled-components";a();import{createGlobalStyle as PR}from"styled-components";a();a();a();function ks(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}a();a();function L1(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function z1(e,t){e.classList?e.classList.add(t):L1(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}a();function T5(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function H1(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=T5(e.className,t):e.setAttribute("class",T5(e.className&&e.className.baseVal||"",t))}import A5 from"react";a();import xl from"react";import wl from"react-dom";a();var G1={disabled:!1};a();import DR from"react";var j1=DR.createContext(null);a();var Cl=function(t){return t.scrollTop};var Ns="unmounted",Bo="exited",Mo="entering",zi="entered",_1="exiting",mn=function(e){fn(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var s=o,u=s&&!s.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?u?(l=Bo,i.appearStatus=Mo):l=zi:n.unmountOnExit||n.mountOnEnter?l=Ns:l=Bo,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Ns?{status:Bo}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==Mo&&s!==zi&&(i=Mo):(s===Mo||s===zi)&&(i=_1)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,s,u;return i=s=u=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,u=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:u}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Mo){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:wl.findDOMNode(this);s&&Cl(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Bo&&this.setState({status:Ns})},r.performEnter=function(o){var i=this,s=this.props.enter,u=this.context?this.context.isMounting:o,l=this.props.nodeRef?[u]:[wl.findDOMNode(this),u],c=l[0],f=l[1],d=this.getTimeouts(),m=u?d.appear:d.enter;if(!o&&!s||G1.disabled){this.safeSetState({status:zi},function(){i.props.onEntered(c)});return}this.props.onEnter(c,f),this.safeSetState({status:Mo},function(){i.props.onEntering(c,f),i.onTransitionEnd(m,function(){i.safeSetState({status:zi},function(){i.props.onEntered(c,f)})})})},r.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),u=this.props.nodeRef?void 0:wl.findDOMNode(this);if(!i||G1.disabled){this.safeSetState({status:Bo},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:_1},function(){o.props.onExiting(u),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Bo},function(){o.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(u){s&&(s=!1,i.nextCallback=null,o(u))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:wl.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!s||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],f=l[1];this.props.addEndListener(c,f)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Ns)return null;var i=this.props,s=i.children,u=i.in,l=i.mountOnEnter,c=i.unmountOnExit,f=i.appear,d=i.enter,m=i.exit,g=i.timeout,v=i.addEndListener,h=i.onEnter,y=i.onEntering,b=i.onEntered,x=i.onExit,w=i.onExiting,S=i.onExited,E=i.nodeRef,D=ks(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return xl.createElement(j1.Provider,{value:null},typeof s=="function"?s(o,D):xl.cloneElement(xl.Children.only(s),D))},t}(xl.Component);mn.contextType=j1;mn.propTypes={};function Li(){}mn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Li,onEntering:Li,onEntered:Li,onExit:Li,onExiting:Li,onExited:Li};mn.UNMOUNTED=Ns;mn.EXITED=Bo;mn.ENTERING=Mo;mn.ENTERED=zi;mn.EXITING=_1;var P5=mn;var ER=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return z1(t,n)})},W1=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return H1(t,n)})},U1=function(e){fn(t,e);function t(){for(var n,o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=e.call.apply(e,[this].concat(i))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,l){var c=n.resolveArguments(u,l),f=c[0],d=c[1];n.removeClasses(f,"exit"),n.addClass(f,d?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,l)},n.onEntering=function(u,l){var c=n.resolveArguments(u,l),f=c[0],d=c[1],m=d?"appear":"enter";n.addClass(f,m,"active"),n.props.onEntering&&n.props.onEntering(u,l)},n.onEntered=function(u,l){var c=n.resolveArguments(u,l),f=c[0],d=c[1],m=d?"appear":"enter";n.removeClasses(f,m),n.addClass(f,m,"done"),n.props.onEntered&&n.props.onEntered(u,l)},n.onExit=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var l=n.resolveArguments(u),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,l){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,l]},n.getClassNames=function(u){var l=n.props.classNames,c=typeof l=="string",f=c&&l?l+"-":"",d=c?""+f+u:l[u],m=c?d+"-active":l[u+"Active"],g=c?d+"-done":l[u+"Done"];return{baseClassName:d,activeClassName:m,doneClassName:g}},n}var r=t.prototype;return r.addClass=function(o,i,s){var u=this.getClassNames(i)[s+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;i==="appear"&&s==="done"&&c&&(u+=" "+c),s==="active"&&o&&Cl(o),u&&(this.appliedClasses[i][s]=u,ER(o,u))},r.removeClasses=function(o,i){var s=this.appliedClasses[i],u=s.base,l=s.active,c=s.done;this.appliedClasses[i]={},u&&W1(o,u),l&&W1(o,l),c&&W1(o,c)},r.render=function(){var o=this.props,i=o.classNames,s=ks(o,["classNames"]);return A5.createElement(P5,Z({},s,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(A5.Component);U1.defaultProps={classNames:""};U1.propTypes={};var K1=U1;a();a();import{useTheme as TR}from"styled-components";var hn=()=>TR();import{Fragment as OR,jsx as O5,jsxs as FR}from"react/jsx-runtime";var AR=PR`
|
|
100
|
+
`},ml=Object.keys(D1),Ir=(e=void 0)=>$(e)?D1[e]:D1.defaultDarkOne;a();var rR=31,Lse=e=>{let t=null;if(typeof e=="string"&&e)t=Array.from(e).reduce((n,o)=>Math.imul(rR,n)+o.charCodeAt(0)||0,0);else return ml[0];let r=Math.abs(t)%ml.length;return ml[r]};a();a();a();a();function Z(){return Z=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},Z.apply(this,arguments)}a();function E1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a();a();function cn(e,t){return cn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},cn(e,t)}function fn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cn(e,t)}a();a();function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}a();function T1(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}a();a();function hl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(hl=function(){return!!e})()}function P1(e,t,r){if(hl())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&cn(o,r.prototype),o}function As(e){var t=typeof Map=="function"?new Map:void 0;return As=function(n){if(n===null||!T1(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 P1(n,arguments,Ps(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),cn(o,n)},As(e)}a();var kt=function(e){fn(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,i,s;s<o;s++);return E1(n)}return t}(As(Error));function N3(e,t){return e.substr(-t.length)===t}var nR=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function V3(e){if(typeof e!="string")return e;var t=e.match(nR);return t?parseFloat(e):e}var oR=function(t){return function(r,n){n===void 0&&(n="16px");var o=r,i=n;if(typeof r=="string"){if(!N3(r,"px"))throw new kt(69,t,r);o=V3(r)}if(typeof n=="string"){if(!N3(n,"px"))throw new kt(70,t,n);i=V3(n)}if(typeof o=="string")throw new kt(71,r,t);if(typeof i=="string")throw new kt(72,n,t);return""+o/i+t}},z3=oR,xue=z3("em");var iR=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function H3(e){if(typeof e!="string")return[e,""];var t=e.match(iR);return t?[parseFloat(e),t[2]]:[e,void 0]}var wue=z3("rem");function A1(e){return Math.round(e*255)}function aR(e,t,r){return A1(e)+","+A1(t)+","+A1(r)}function Os(e,t,r,n){if(n===void 0&&(n=aR),t===0)return n(r,r,r);var o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*t,s=i*(1-Math.abs(o%2-1)),u=0,l=0,c=0;o>=0&&o<1?(u=i,l=s):o>=1&&o<2?(u=s,l=i):o>=2&&o<3?(l=i,c=s):o>=3&&o<4?(l=s,c=i):o>=4&&o<5?(u=s,c=i):o>=5&&o<6&&(u=i,c=s);var f=r-i/2,d=u+f,m=l+f,g=c+f;return n(d,m,g)}var L3={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 sR(e){if(typeof e!="string")return e;var t=e.toLowerCase();return L3[t]?"#"+L3[t]:e}var uR=/^#[a-fA-F0-9]{6}$/,lR=/^#[a-fA-F0-9]{8}$/,cR=/^#[a-fA-F0-9]{3}$/,fR=/^#[a-fA-F0-9]{4}$/,O1=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,pR=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,dR=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,mR=/^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 Ii(e){if(typeof e!="string")throw new kt(3);var t=sR(e);if(t.match(uR))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(lR)){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(cR))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(fR)){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=O1.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=pR.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=dR.exec(t);if(s){var u=parseInt(""+s[1],10),l=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,f="rgb("+Os(u,l,c)+")",d=O1.exec(f);if(!d)throw new kt(4,t,f);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var m=mR.exec(t.substring(0,50));if(m){var g=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,h=parseInt(""+m[3],10)/100,y="rgb("+Os(g,v,h)+")",b=O1.exec(y);if(!b)throw new kt(4,t,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new kt(5)}function hR(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=(o+i)/2;if(o===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var u,l=o-i,c=s>.5?l/(2-o-i):l/(o+i);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 Ln(e){return hR(Ii(e))}var gR=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},R1=gR;function $o(e){var t=e.toString(16);return t.length===1?"0"+t:t}function F1(e){return $o(Math.round(e*255))}function vR(e,t,r){return R1("#"+F1(e)+F1(t)+F1(r))}function gl(e,t,r){return Os(e,t,r,vR)}function yR(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return gl(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return gl(e.hue,e.saturation,e.lightness);throw new kt(1)}function bR(e,t,r,n){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?gl(e,t,r):"rgba("+Os(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?gl(e.hue,e.saturation,e.lightness):"rgba("+Os(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new kt(2)}function $1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return R1("#"+$o(e)+$o(t)+$o(r));if(typeof e=="object"&&t===void 0&&r===void 0)return R1("#"+$o(e.red)+$o(e.green)+$o(e.blue));throw new kt(6)}function vl(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Ii(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?$1(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?$1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new kt(7)}var CR=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xR=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},wR=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},SR=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function zn(e){if(typeof e!="object")throw new kt(8);if(xR(e))return vl(e);if(CR(e))return $1(e);if(SR(e))return bR(e);if(wR(e))return yR(e);throw new kt(8)}function G3(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):G3(e,t,o)}}function tr(e){return G3(e,e.length,[])}function DR(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{hue:r.hue+parseFloat(e)}))}var Sue=tr(DR);function ki(e,t,r){return Math.max(e,Math.min(t,r))}function ER(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{lightness:ki(0,1,r.lightness-parseFloat(e))}))}var TR=tr(ER),ct=TR;function PR(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{saturation:ki(0,1,r.saturation-parseFloat(e))}))}var Due=tr(PR);function AR(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{lightness:ki(0,1,r.lightness+parseFloat(e))}))}var Eue=tr(AR);function OR(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=Ii(t),o=Z({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=Ii(r),s=Z({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),u=o.alpha-s.alpha,l=parseFloat(e)*2-1,c=l*u===-1?l:l+u,f=1+l*u,d=(c/f+1)/2,m=1-d,g={red:Math.floor(o.red*d+s.red*m),green:Math.floor(o.green*d+s.green*m),blue:Math.floor(o.blue*d+s.blue*m),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return vl(g)}var FR=tr(OR),j3=FR;function RR(e,t){if(t==="transparent")return t;var r=Ii(t),n=typeof r.alpha=="number"?r.alpha:1,o=Z({},r,{alpha:ki(0,1,(n*100+parseFloat(e)*100)/100)});return vl(o)}var Tue=tr(RR);function $R(e,t){if(t==="transparent")return t;var r=Ln(t);return zn(Z({},r,{saturation:ki(0,1,r.saturation+parseFloat(e))}))}var Pue=tr($R);function BR(e,t){return t==="transparent"?t:zn(Z({},Ln(t),{hue:parseFloat(e)}))}var Aue=tr(BR);function MR(e,t){return t==="transparent"?t:zn(Z({},Ln(t),{lightness:parseFloat(e)}))}var Oue=tr(MR);function IR(e,t){return t==="transparent"?t:zn(Z({},Ln(t),{saturation:parseFloat(e)}))}var Fue=tr(IR);function kR(e,t){return t==="transparent"?t:j3(parseFloat(e),"rgb(0, 0, 0)",t)}var Rue=tr(kR);function NR(e,t){return t==="transparent"?t:j3(parseFloat(e),"rgb(255, 255, 255)",t)}var $ue=tr(NR);function VR(e,t){if(t==="transparent")return t;var r=Ii(t),n=typeof r.alpha=="number"?r.alpha:1,o=Z({},r,{alpha:ki(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return vl(o)}var LR=tr(VR),Nt=LR;var Fs=e=>{let[r,n]=H3(e);return`@media (max-width: ${Math.max(r-.0025,0)}${n})`},zR=({theme:e})=>`@media (min-width: ${e.breakpoint.xs})`,HR=({theme:e})=>`@media (min-width: ${e.breakpoint.sm})`,GR=({theme:e})=>`@media (min-width: ${e.breakpoint.md})`,jR=({theme:e})=>`@media (min-width: ${e.breakpoint.lg})`,_R=({theme:e})=>`@media (min-width: ${e.breakpoint.xl})`,WR=({theme:e})=>Fs(e.breakpoint.xs),UR=({theme:e})=>Fs(e.breakpoint.sm),KR=({theme:e})=>Fs(e.breakpoint.md),qR=({theme:e})=>Fs(e.breakpoint.lg),XR=({theme:e})=>Fs(e.breakpoint.xl),$e={xsAndUp:zR,smAndUp:HR,mdAndUp:GR,lgAndUp:jR,xlAndUp:_R,xsAndDown:WR,smAndDown:UR,mdAndDown:KR,lgAndDown:qR,xlAndDown:XR};a();a();var pn=e=>e!=null&&(Object.getPrototypeOf(e)===null||e.constructor===Object);a();var B1=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])&&B1(e[t])}),e);a();var Rs=(e,...t)=>{if(!t.length)return e;let r={...e};return t.forEach(n=>{pn(n)&&Object.keys(n).forEach(o=>{pn(n[o])?r[o]===null||r[o]===void 0?r[o]={...n[o]}:r[o]=Rs(r[o],n[o]):r[o]=n[o]})}),r};a();var yl=(e,t)=>t.reduce((r,n)=>(Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]),r),{});var ele={isObject:pn,deepFreeze:B1,merge:Rs,selectKeys:yl};a();a();var _3=(e="")=>e.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g,(t,r)=>+t==0?"":r===0?t.toLowerCase():t.toUpperCase());a();var dn=e=>e==="true"||e==="false"?e==="true":!!e;a();var rr=e=>e==null?"":String(e);a();a();var Ni=e=>typeof e=="string"||e instanceof String;var W3=e=>{if(!Ni(e))return!1;try{let t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}};a();var Hn=e=>{let t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[:?\d]*(?:[^:?\d]\S*)?$/,n=/^[^\s.]+\.\S{2,}$/;if(!Ni(e))return!1;let o=t.exec(e);if(!o)return!1;let i=o[1];return i===void 0||!i?!1:r.test(i)||n.test(i)};a();var U3=(e="")=>(e[0]?.toLowerCase()??"")+e.slice(1);a();var K3=e=>e.replace(/\n/g,"");a();var q3=e=>(e||"").replace(/\.[^/.]{1,4}$/,"");a();var X3=(e,t)=>e.length<=t?e:`${e.slice(0,t-3)}...`;a();var Y3=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1);var Vle={camelCase:_3,coerceToBoolean:dn,coerceToString:rr,isHttpUrl:W3,isString:Ni,isUrl:Hn,lowerFirst:U3,removeNewlines:K3,stripExtension:q3,truncate:X3,upperFirst:Y3};a();a();a();import r5,{Component as a$}from"react";a();import Bs,{Component as e$}from"react";a();import YR from"react";var JR={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},J3=function(t){var r=t.message,n=t["aria-live"];return YR.createElement("div",{style:JR,role:"log","aria-live":n},r||"")};J3.propTypes={};var $s=J3;function ZR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z3(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 QR(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 Q3=function(e){QR(t,e);function t(){var r,n,o;ZR(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return o=(r=(n=Z3(this,e.call.apply(e,[this].concat(s))),n),n.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},r),Z3(n,o)}return t.getDerivedStateFromProps=function(n,o){var i=o.oldPolitemessage,s=o.oldPoliteMessageId,u=o.oldAssertiveMessage,l=o.oldAssertiveMessageId,c=n.politeMessage,f=n.politeMessageId,d=n.assertiveMessage,m=n.assertiveMessageId;return i!==c||s!==f?{politeMessage1:o.setAlternatePolite?"":c,politeMessage2:o.setAlternatePolite?c:"",oldPolitemessage:c,oldPoliteMessageId:f,setAlternatePolite:!o.setAlternatePolite}:u!==d||l!==m?{assertiveMessage1:o.setAlternateAssertive?"":d,assertiveMessage2:o.setAlternateAssertive?d:"",oldAssertiveMessage:d,oldAssertiveMessageId:m,setAlternateAssertive:!o.setAlternateAssertive}:null},t.prototype.render=function(){var n=this.state,o=n.assertiveMessage1,i=n.assertiveMessage2,s=n.politeMessage1,u=n.politeMessage2;return Bs.createElement("div",null,Bs.createElement($s,{"aria-live":"assertive",message:o}),Bs.createElement($s,{"aria-live":"assertive",message:i}),Bs.createElement($s,{"aria-live":"polite",message:s}),Bs.createElement($s,{"aria-live":"polite",message:u}))},t}(e$);Q3.propTypes={};var e5=Q3;a();import t$ from"react";var r$=t$.createContext({announceAssertive:t5,announcePolite:t5});function t5(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var Vi=r$;function n$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(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 i$(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 s$=function(e){i$(t,e);function t(r){n$(this,t);var n=o$(this,e.call(this,r));return n.announcePolite=function(o,i){n.setState({announcePoliteMessage:o,politeMessageId:i||""})},n.announceAssertive=function(o,i){n.setState({announceAssertiveMessage:o,assertiveMessageId:i||""})},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,i=n.politeMessageId,s=n.announceAssertiveMessage,u=n.assertiveMessageId,l=n.updateFunctions;return r5.createElement(Vi.Provider,{value:l},this.props.children,r5.createElement(e5,{assertiveMessage:s,assertiveMessageId:u,politeMessage:o,politeMessageId:i}))},t}(a$),M1=s$;a();import d5 from"react";a();var V1=dr(l5());import{Component as m$}from"react";function p$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c5(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 d$(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 f5=function(e){d$(t,e);function t(){var r,n,o;p$(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return o=(r=(n=c5(this,e.call.apply(e,[this].concat(s))),n),n.announce=function(){var l=n.props,c=l.message,f=l["aria-live"],d=l.announceAssertive,m=l.announcePolite;f==="assertive"&&d(c||"",(0,V1.default)()),f==="polite"&&m(c||"",(0,V1.default)())},r),c5(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,i=n.announceAssertive,s=n.announcePolite;(o===!0||o==="true")&&(i(""),s(""))},t.prototype.render=function(){return null},t}(m$);f5.propTypes={};var p5=f5;var h$=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},m5=function(t){return d5.createElement(Vi.Consumer,null,function(r){return d5.createElement(p5,h$({},r,t))})};m5.propTypes={};var Is=m5;a();import g$ from"react";var v$=function(t){var r=t.children;return g$.createElement(Vi.Consumer,null,function(n){return r(n)})};v$.propTypes={};a();import{ThemeProvider as C$}from"styled-components";a();var kr=dr(y5());var b5=100,b$=200,C5=300,bl=500,x5={breakpoint:{...kr.designTokens.breakpoint},color:{...kr.designTokens.color},duration:{...kr.designTokens.duration},easing:{...kr.designTokens.easing},font:{family:kr.designTokens.font.family,size:kr.designTokens.font.size,weight:{...yl(kr.designTokens.font.weight,["regular","medium","semiBold","bold","extraBold"])}},shadow:{...kr.designTokens.shadow},spacing:{...kr.designTokens.spacing},zIndex:{ThumbnailDuration:b5,ModalCloseButton:b5,Backdrop:b$,ActionModal:C5,FullScreenModal:C5,RangeSelector:bl,MenuComponent:bl,Toast:bl,Tooltip:bl}};import{jsx as x$}from"react/jsx-runtime";var w5=({children:e,theme:t})=>{let r=Rs(x5,t);return x$(C$,{theme:r,children:e})};a();import{createContext as w$,useContext as S$}from"react";var S5=w$({}),D5=()=>S$(S5),E5=S5.Provider;a();import{useState as ko,useCallback as cB}from"react";a();import{memo as Z$,useState as Q$,useEffect as I6,useCallback as eB,Fragment as tB}from"react";import{createPortal as rB}from"react-dom";import N6 from"styled-components";a();import{createGlobalStyle as P$}from"styled-components";a();a();a();function ks(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}a();a();function L1(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function z1(e,t){e.classList?e.classList.add(t):L1(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}a();function T5(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function H1(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=T5(e.className,t):e.setAttribute("class",T5(e.className&&e.className.baseVal||"",t))}import A5 from"react";a();import xl from"react";import wl from"react-dom";a();var G1={disabled:!1};a();import D$ from"react";var j1=D$.createContext(null);a();var Cl=function(t){return t.scrollTop};var Ns="unmounted",Bo="exited",Mo="entering",zi="entered",_1="exiting",mn=function(e){fn(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var s=o,u=s&&!s.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?u?(l=Bo,i.appearStatus=Mo):l=zi:n.unmountOnExit||n.mountOnEnter?l=Ns:l=Bo,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Ns?{status:Bo}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==Mo&&s!==zi&&(i=Mo):(s===Mo||s===zi)&&(i=_1)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,s,u;return i=s=u=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,u=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:u}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Mo){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:wl.findDOMNode(this);s&&Cl(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Bo&&this.setState({status:Ns})},r.performEnter=function(o){var i=this,s=this.props.enter,u=this.context?this.context.isMounting:o,l=this.props.nodeRef?[u]:[wl.findDOMNode(this),u],c=l[0],f=l[1],d=this.getTimeouts(),m=u?d.appear:d.enter;if(!o&&!s||G1.disabled){this.safeSetState({status:zi},function(){i.props.onEntered(c)});return}this.props.onEnter(c,f),this.safeSetState({status:Mo},function(){i.props.onEntering(c,f),i.onTransitionEnd(m,function(){i.safeSetState({status:zi},function(){i.props.onEntered(c,f)})})})},r.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),u=this.props.nodeRef?void 0:wl.findDOMNode(this);if(!i||G1.disabled){this.safeSetState({status:Bo},function(){o.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:_1},function(){o.props.onExiting(u),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Bo},function(){o.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(u){s&&(s=!1,i.nextCallback=null,o(u))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:wl.findDOMNode(this),u=o==null&&!this.props.addEndListener;if(!s||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],f=l[1];this.props.addEndListener(c,f)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Ns)return null;var i=this.props,s=i.children,u=i.in,l=i.mountOnEnter,c=i.unmountOnExit,f=i.appear,d=i.enter,m=i.exit,g=i.timeout,v=i.addEndListener,h=i.onEnter,y=i.onEntering,b=i.onEntered,x=i.onExit,w=i.onExiting,S=i.onExited,E=i.nodeRef,D=ks(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return xl.createElement(j1.Provider,{value:null},typeof s=="function"?s(o,D):xl.cloneElement(xl.Children.only(s),D))},t}(xl.Component);mn.contextType=j1;mn.propTypes={};function Li(){}mn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Li,onEntering:Li,onEntered:Li,onExit:Li,onExiting:Li,onExited:Li};mn.UNMOUNTED=Ns;mn.EXITED=Bo;mn.ENTERING=Mo;mn.ENTERED=zi;mn.EXITING=_1;var P5=mn;var E$=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return z1(t,n)})},W1=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return H1(t,n)})},U1=function(e){fn(t,e);function t(){for(var n,o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=e.call.apply(e,[this].concat(i))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,l){var c=n.resolveArguments(u,l),f=c[0],d=c[1];n.removeClasses(f,"exit"),n.addClass(f,d?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,l)},n.onEntering=function(u,l){var c=n.resolveArguments(u,l),f=c[0],d=c[1],m=d?"appear":"enter";n.addClass(f,m,"active"),n.props.onEntering&&n.props.onEntering(u,l)},n.onEntered=function(u,l){var c=n.resolveArguments(u,l),f=c[0],d=c[1],m=d?"appear":"enter";n.removeClasses(f,m),n.addClass(f,m,"done"),n.props.onEntered&&n.props.onEntered(u,l)},n.onExit=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var l=n.resolveArguments(u),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var l=n.resolveArguments(u),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,l){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,l]},n.getClassNames=function(u){var l=n.props.classNames,c=typeof l=="string",f=c&&l?l+"-":"",d=c?""+f+u:l[u],m=c?d+"-active":l[u+"Active"],g=c?d+"-done":l[u+"Done"];return{baseClassName:d,activeClassName:m,doneClassName:g}},n}var r=t.prototype;return r.addClass=function(o,i,s){var u=this.getClassNames(i)[s+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;i==="appear"&&s==="done"&&c&&(u+=" "+c),s==="active"&&o&&Cl(o),u&&(this.appliedClasses[i][s]=u,E$(o,u))},r.removeClasses=function(o,i){var s=this.appliedClasses[i],u=s.base,l=s.active,c=s.done;this.appliedClasses[i]={},u&&W1(o,u),l&&W1(o,l),c&&W1(o,c)},r.render=function(){var o=this.props,i=o.classNames,s=ks(o,["classNames"]);return A5.createElement(P5,Z({},s,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(A5.Component);U1.defaultProps={classNames:""};U1.propTypes={};var K1=U1;a();a();import{useTheme as T$}from"styled-components";var hn=()=>T$();import{Fragment as O$,jsx as O5,jsxs as F$}from"react/jsx-runtime";var A$=P$`
|
|
101
101
|
.Toast-enter {
|
|
102
102
|
animation-name: Toast-in;
|
|
103
103
|
animation-timing-function: ease-out;
|
|
@@ -134,11 +134,11 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
134
134
|
opacity: 0;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
`,F5=({children:e,...t})=>{let{duration:r}=hn();return FR(OR,{children:[O5(AR,{animationDuration:r.expressive.fast}),O5(K1,{appear:!0,classNames:"Toast",mountOnEnter:!0,timeout:Number.parseInt(r.expressive.fast,10),unmountOnExit:!0,...t,children:e})]})};a();a();var $5=(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]},_e=(e=null)=>{let t=hn().color;if(!Object.keys({...t}).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?t:Array.isArray(e)?e.map(n=>$5(t,n)):$5(t,e)};a();import{forwardRef as JR}from"react";a();import Dl from"styled-components";a();a();a();var q1={"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-circle":"CheckmarkCircleIcon","checkmark-circle-outline":"CheckmarkCircleOutlineIcon","checkmark-circle-three-quarters":"CheckmarkCircleThreeQuartersIcon","checkmark-underlined":"CheckmarkUnderlinedIcon",checkmark:"CheckmarkIcon",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",embed:"EmbedIcon",ellipsis:"EllipsisIcon","ellipsis-vertical":"EllipsisVerticalIcon",episodes:"EpisodesIcon",expand:"ExpandIcon",export:"DownloadIcon",error:"TriangleIcon",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","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 J1={};f1(J1,{AbTestIcon:()=>B5,AllContentIcon:()=>I5,ArchivedIcon:()=>N5,ArrowDownIcon:()=>L5,ArrowLeftIcon:()=>H5,ArrowRightIcon:()=>j5,ArrowUpIcon:()=>W5,AsteriskIcon:()=>K5,AudienceIcon:()=>X5,CalendarIcon:()=>J5,CameraIcon:()=>Q5,CaretDownIcon:()=>tv,CaretLeftIcon:()=>nv,CaretRightIcon:()=>iv,CaretUpIcon:()=>sv,ChannelIcon:()=>lv,CheckmarkCircleIcon:()=>fv,CheckmarkCircleOutlineIcon:()=>dv,CheckmarkCircleThreeQuartersIcon:()=>hv,CheckmarkIcon:()=>bv,CheckmarkUnderlinedIcon:()=>vv,CloseIcon:()=>xv,CommentIcon:()=>Sv,CommunityIcon:()=>Ev,ContactUsIcon:()=>Pv,CopyDisabledIcon:()=>Ov,CopyIcon:()=>E4,CreateIcon:()=>$v,DeleteIcon:()=>Bv,DeleteSmIcon:()=>Mv,DownloadIcon:()=>kv,DraggableIcon:()=>Vv,EllipsisIcon:()=>zv,EllipsisVerticalIcon:()=>Gv,EmbedIcon:()=>_v,EpisodesIcon:()=>Uv,ExpandIcon:()=>qv,FavoriteIcon:()=>Yv,FavoriteOutlineIcon:()=>Zv,FilterIcon:()=>e7,GearIcon:()=>r7,GettingStartedIcon:()=>o7,GlobeIcon:()=>i7,GridViewIcon:()=>s7,HamburgerIcon:()=>l7,HazardIcon:()=>f7,HelpCenterIcon:()=>d7,HideIcon:()=>h7,HomeIcon:()=>v7,HourglassIcon:()=>b7,ImportIcon:()=>x7,InfoIcon:()=>S7,IntegrationsIcon:()=>E7,InviteIcon:()=>P7,LightningBoltIcon:()=>O7,LinkIcon:()=>$7,ListViewIcon:()=>B7,LiveIcon:()=>I7,LockIcon:()=>N7,LogoutIcon:()=>L7,MediaIcon:()=>H7,MegaphoneIcon:()=>j7,MoreOptionsIcon:()=>W7,OpenNewIcon:()=>K7,OverviewIcon:()=>X7,PaintIcon:()=>J7,PencilIcon:()=>Q7,PlayIcon:()=>t4,PodcastIcon:()=>n4,PreviewIcon:()=>i4,PrivateUserSessionsIcon:()=>s4,ProjectIcon:()=>l4,QuestionMarkIcon:()=>f4,ReactIcon:()=>d4,RecordIcon:()=>h4,RedoIcon:()=>v4,RemoveFromChannelIcon:()=>b4,ReplaceIcon:()=>x4,ReplyIcon:()=>S4,ScissorsIcon:()=>P4,SearchIcon:()=>O4,SendIcon:()=>$4,SettingsIcon:()=>B4,ShareIcon:()=>I4,SoapboxIcon:()=>N4,SortIcon:()=>L4,SparkleIcon:()=>H4,SpinnerIcon:()=>G4,StatsIcon:()=>_4,SwitchAccountsIcon:()=>U4,TagIcon:()=>q4,ThumbsDownIcon:()=>Y4,ThumbsUpIcon:()=>Z4,TriangleIcon:()=>e6,UndoIcon:()=>r6,UnlockIcon:()=>o6,UploadIcon:()=>a6,UsersPermissionsIcon:()=>u6,ViewStreamIcon:()=>c6,WandIcon:()=>p6,ZoomInIcon:()=>m6,ZoomOutIcon:()=>g6});a();a();import{jsx as R5}from"react/jsx-runtime";var B5=e=>R5("svg",{...e,children:R5("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"})});a();import{jsx as M5}from"react/jsx-runtime";var I5=e=>M5("svg",{...e,children:M5("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"})});a();import{jsx as k5}from"react/jsx-runtime";var N5=e=>k5("svg",{...e,children:k5("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"})});a();import{jsx as V5}from"react/jsx-runtime";var L5=e=>V5("svg",{...e,children:V5("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"})});a();import{jsx as z5}from"react/jsx-runtime";var H5=e=>z5("svg",{...e,children:z5("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"})});a();import{jsx as G5}from"react/jsx-runtime";var j5=e=>G5("svg",{...e,children:G5("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"})});a();import{jsx as _5}from"react/jsx-runtime";var W5=e=>_5("svg",{...e,children:_5("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"})});a();import{jsx as U5}from"react/jsx-runtime";var K5=e=>U5("svg",{...e,children:U5("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"})});a();import{jsx as q5}from"react/jsx-runtime";var X5=e=>q5("svg",{...e,children:q5("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"})});a();import{jsx as Y5}from"react/jsx-runtime";var J5=e=>Y5("svg",{...e,children:Y5("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"})});a();import{jsx as Z5}from"react/jsx-runtime";var Q5=e=>Z5("svg",{...e,children:Z5("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"})});a();import{jsx as ev}from"react/jsx-runtime";var tv=e=>ev("svg",{...e,children:ev("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"})});a();import{jsx as rv}from"react/jsx-runtime";var nv=e=>rv("svg",{...e,children:rv("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"})});a();import{jsx as ov}from"react/jsx-runtime";var iv=e=>ov("svg",{...e,children:ov("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"})});a();import{jsx as av}from"react/jsx-runtime";var sv=e=>av("svg",{...e,children:av("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"})});a();import{jsx as uv}from"react/jsx-runtime";var lv=e=>uv("svg",{...e,children:uv("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"})});a();import{jsx as cv}from"react/jsx-runtime";var fv=e=>cv("svg",{...e,children:cv("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"})});a();import{jsx as pv,jsxs as $R}from"react/jsx-runtime";var dv=({...e})=>$R("svg",{...e,children:[pv("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"}),pv("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"})]});a();import{jsx as mv}from"react/jsx-runtime";var hv=e=>mv("svg",{...e,children:mv("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"})});a();import{jsx as gv}from"react/jsx-runtime";var vv=e=>gv("svg",{...e,children:gv("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"})});a();import{jsx as yv}from"react/jsx-runtime";var bv=e=>yv("svg",{...e,children:yv("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"})});a();import{jsx as Cv}from"react/jsx-runtime";var xv=e=>Cv("svg",{...e,children:Cv("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"})});a();import{jsx as wv}from"react/jsx-runtime";var Sv=e=>wv("svg",{...e,children:wv("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"})});a();import{jsx as Dv}from"react/jsx-runtime";var Ev=e=>Dv("svg",{...e,children:Dv("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"})});a();import{jsx as Tv}from"react/jsx-runtime";var Pv=e=>Tv("svg",{...e,children:Tv("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"})});a();import{jsx as Av}from"react/jsx-runtime";var Ov=e=>Av("svg",{...e,children:Av("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"})});a();import{jsx as Fv}from"react/jsx-runtime";var $v=e=>Fv("svg",{...e,children:Fv("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"})});a();import{jsx as Rv}from"react/jsx-runtime";var Bv=e=>Rv("svg",{...e,children:Rv("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"})});a();import{jsx as X1,jsxs as RR}from"react/jsx-runtime";var Mv=e=>X1("svg",{...e,children:RR("g",{fill:"currentColor",children:[X1("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"}),X1("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"})]})});a();import{jsx as Iv}from"react/jsx-runtime";var kv=e=>Iv("svg",{...e,children:Iv("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"})});a();import{jsx as Nv}from"react/jsx-runtime";var Vv=e=>Nv("svg",{...e,children:Nv("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"})});a();import{jsx as Lv}from"react/jsx-runtime";var zv=e=>Lv("svg",{...e,children:Lv("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"})});a();import{jsx as Hv}from"react/jsx-runtime";var Gv=e=>Hv("svg",{...e,children:Hv("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"})});a();import{jsx as jv}from"react/jsx-runtime";var _v=e=>jv("svg",{...e,children:jv("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"})});a();import{jsx as Wv}from"react/jsx-runtime";var Uv=e=>Wv("svg",{...e,children:Wv("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"})});a();import{jsx as Kv}from"react/jsx-runtime";var qv=e=>Kv("svg",{...e,children:Kv("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"})});a();import{jsx as Xv}from"react/jsx-runtime";var Yv=e=>Xv("svg",{...e,children:Xv("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"})});a();import{jsx as Jv}from"react/jsx-runtime";var Zv=e=>Jv("svg",{...e,children:Jv("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"})});a();import{jsx as Qv}from"react/jsx-runtime";var e7=e=>Qv("svg",{...e,children:Qv("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"})});a();import{jsx as t7}from"react/jsx-runtime";var r7=e=>t7("svg",{...e,children:t7("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"})});a();import{jsx as n7}from"react/jsx-runtime";var o7=e=>n7("svg",{...e,children:n7("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"})});a();import{jsx as Io,jsxs as BR}from"react/jsx-runtime";var i7=({...e})=>Io("svg",{...e,children:BR("g",{id:"path",children:[Io("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"}),Io("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"}),Io("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"}),Io("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"}),Io("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"}),Io("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"})]})});a();import{jsx as a7}from"react/jsx-runtime";var s7=e=>a7("svg",{...e,children:a7("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"})});a();import{jsx as u7}from"react/jsx-runtime";var l7=e=>u7("svg",{...e,children:u7("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"})});a();import{jsx as c7}from"react/jsx-runtime";var f7=e=>c7("svg",{...e,children:c7("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"})});a();import{jsx as p7}from"react/jsx-runtime";var d7=e=>p7("svg",{...e,children:p7("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"})});a();import{jsx as m7}from"react/jsx-runtime";var h7=e=>m7("svg",{...e,viewBox:"0 0 24 24",children:m7("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"})});a();import{jsx as g7}from"react/jsx-runtime";var v7=e=>g7("svg",{...e,children:g7("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"})});a();import{jsx as y7}from"react/jsx-runtime";var b7=e=>y7("svg",{...e,children:y7("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"})});a();import{jsx as C7}from"react/jsx-runtime";var x7=e=>C7("svg",{...e,children:C7("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"})});a();import{jsx as w7}from"react/jsx-runtime";var S7=e=>w7("svg",{...e,children:w7("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"})});a();import{jsx as D7}from"react/jsx-runtime";var E7=e=>D7("svg",{...e,children:D7("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"})});a();import{jsx as T7,jsxs as MR}from"react/jsx-runtime";var P7=e=>MR("svg",{...e,children:[T7("path",{"fill-rule":"evenodd","clip-rule":"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"}),T7("path",{"fill-rule":"evenodd","clip-rule":"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"})]});a();import{jsx as A7}from"react/jsx-runtime";var O7=({...e})=>A7("svg",{...e,children:A7("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"})});a();import{jsx as F7}from"react/jsx-runtime";var $7=e=>F7("svg",{...e,children:F7("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"})});a();import{jsx as R7}from"react/jsx-runtime";var B7=e=>R7("svg",{...e,children:R7("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"})});a();import{jsx as M7}from"react/jsx-runtime";var I7=e=>M7("svg",{...e,children:M7("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"})});a();import{jsx as k7}from"react/jsx-runtime";var N7=e=>k7("svg",{...e,children:k7("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"})});a();import{jsx as V7}from"react/jsx-runtime";var L7=e=>V7("svg",{...e,children:V7("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"})});a();import{jsx as z7}from"react/jsx-runtime";var H7=e=>z7("svg",{...e,children:z7("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"})});a();import{jsx as G7}from"react/jsx-runtime";var j7=e=>G7("svg",{...e,children:G7("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"})});a();import{jsx as _7}from"react/jsx-runtime";var W7=e=>_7("svg",{...e,children:_7("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"})});a();import{jsx as U7}from"react/jsx-runtime";var K7=e=>U7("svg",{...e,children:U7("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"})});a();import{jsx as q7}from"react/jsx-runtime";var X7=e=>q7("svg",{...e,children:q7("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"})});a();import{jsx as Y7}from"react/jsx-runtime";var J7=e=>Y7("svg",{...e,children:Y7("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"})});a();import{jsx as Z7}from"react/jsx-runtime";var Q7=e=>Z7("svg",{...e,children:Z7("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"})});a();import{jsx as e4}from"react/jsx-runtime";var t4=e=>e4("svg",{...e,children:e4("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"})});a();import{jsx as r4}from"react/jsx-runtime";var n4=e=>r4("svg",{...e,children:r4("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"})});a();import{jsx as o4}from"react/jsx-runtime";var i4=e=>o4("svg",{...e,children:o4("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"})});a();import{jsx as a4}from"react/jsx-runtime";var s4=e=>a4("svg",{...e,children:a4("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"})});a();import{jsx as u4}from"react/jsx-runtime";var l4=e=>u4("svg",{...e,children:u4("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"})});a();import{jsx as c4}from"react/jsx-runtime";var f4=e=>c4("svg",{...e,children:c4("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"})});a();import{jsx as p4}from"react/jsx-runtime";var d4=e=>p4("svg",{...e,children:p4("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"})});a();import{jsx as m4,jsxs as IR}from"react/jsx-runtime";var h4=e=>IR("svg",{...e,children:[m4("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"}),m4("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"})]});a();import{jsx as g4}from"react/jsx-runtime";var v4=e=>g4("svg",{...e,children:g4("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"})});a();import{jsx as y4}from"react/jsx-runtime";var b4=e=>y4("svg",{...e,children:y4("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"})});a();import{jsx as C4}from"react/jsx-runtime";var x4=e=>C4("svg",{...e,children:C4("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"})});a();import{jsx as w4}from"react/jsx-runtime";var S4=e=>w4("svg",{...e,children:w4("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"})});a();import{jsx as D4}from"react/jsx-runtime";var E4=e=>D4("svg",{...e,children:D4("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"})});a();import{jsx as T4}from"react/jsx-runtime";var P4=e=>T4("svg",{...e,children:T4("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"})});a();import{jsx as A4}from"react/jsx-runtime";var O4=e=>A4("svg",{...e,children:A4("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"})});a();import{jsx as F4}from"react/jsx-runtime";var $4=e=>F4("svg",{...e,children:F4("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"})});a();import{jsx as R4}from"react/jsx-runtime";var B4=e=>R4("svg",{...e,children:R4("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"})});a();import{jsx as M4}from"react/jsx-runtime";var I4=e=>M4("svg",{...e,children:M4("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"})});a();import{jsx as k4}from"react/jsx-runtime";var N4=e=>k4("svg",{...e,children:k4("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"})});a();import{jsx as V4}from"react/jsx-runtime";var L4=e=>V4("svg",{...e,children:V4("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"})});a();import{jsx as z4}from"react/jsx-runtime";var H4=e=>z4("svg",{...e,children:z4("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"})});a();import{jsx as Y1}from"react/jsx-runtime";var G4=e=>Y1("svg",{...e,children:Y1("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:Y1("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});a();import{jsx as j4}from"react/jsx-runtime";var _4=e=>j4("svg",{...e,children:j4("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"})});a();import{jsx as W4}from"react/jsx-runtime";var U4=e=>W4("svg",{...e,children:W4("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"})});a();import{jsx as K4}from"react/jsx-runtime";var q4=e=>K4("svg",{...e,children:K4("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"})});a();import{jsx as X4}from"react/jsx-runtime";var Y4=e=>X4("svg",{...e,children:X4("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"})});a();import{jsx as J4}from"react/jsx-runtime";var Z4=e=>J4("svg",{...e,children:J4("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"})});a();import{jsx as Q4}from"react/jsx-runtime";var e6=e=>Q4("svg",{...e,children:Q4("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"})});a();import{jsx as t6}from"react/jsx-runtime";var r6=e=>t6("svg",{...e,children:t6("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"})});a();import{jsx as n6}from"react/jsx-runtime";var o6=e=>n6("svg",{...e,children:n6("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"})});a();import{jsx as i6}from"react/jsx-runtime";var a6=e=>i6("svg",{...e,children:i6("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"})});a();import{jsx as s6}from"react/jsx-runtime";var u6=e=>s6("svg",{...e,children:s6("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"})});a();import{jsx as l6}from"react/jsx-runtime";var c6=e=>l6("svg",{...e,children:l6("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"})});a();import{jsx as f6}from"react/jsx-runtime";var p6=e=>f6("svg",{...e,children:f6("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"})});a();import{jsx as d6}from"react/jsx-runtime";var m6=e=>d6("svg",{...e,children:d6("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"})});a();import{jsx as h6}from"react/jsx-runtime";var g6=e=>h6("svg",{...e,children:h6("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"})});import{jsx as kR}from"react/jsx-runtime";var Sl={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Ee=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(de(n))throw new Error("An Icon component requires a `type` prop to be provided");if(de(q1[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(de(Sl[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let i=J1[q1[n]],s={verticalAlign:"middle",...r};return kR(i,{"aria-hidden":"true",color:e,height:`${Sl[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${Sl[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Ee.displayName="Icon_VHS";import{Fragment as y6,jsx as Hi,jsxs as Z1}from"react/jsx-runtime";var NR=Dl.span`
|
|
137
|
+
`,F5=({children:e,...t})=>{let{duration:r}=hn();return F$(O$,{children:[O5(A$,{animationDuration:r.expressive.fast}),O5(K1,{appear:!0,classNames:"Toast",mountOnEnter:!0,timeout:Number.parseInt(r.expressive.fast,10),unmountOnExit:!0,...t,children:e})]})};a();a();var R5=(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]},_e=(e=null)=>{let t=hn().color;if(!Object.keys({...t}).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?t:Array.isArray(e)?e.map(n=>R5(t,n)):R5(t,e)};a();import{forwardRef as J$}from"react";a();import Dl from"styled-components";a();a();a();var q1={"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-circle":"CheckmarkCircleIcon","checkmark-circle-outline":"CheckmarkCircleOutlineIcon","checkmark-circle-three-quarters":"CheckmarkCircleThreeQuartersIcon","checkmark-underlined":"CheckmarkUnderlinedIcon",checkmark:"CheckmarkIcon",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",embed:"EmbedIcon",ellipsis:"EllipsisIcon","ellipsis-vertical":"EllipsisVerticalIcon",episodes:"EpisodesIcon",expand:"ExpandIcon",export:"DownloadIcon",error:"TriangleIcon",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","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 J1={};f1(J1,{AbTestIcon:()=>B5,AllContentIcon:()=>I5,ArchivedIcon:()=>N5,ArrowDownIcon:()=>L5,ArrowLeftIcon:()=>H5,ArrowRightIcon:()=>j5,ArrowUpIcon:()=>W5,AsteriskIcon:()=>K5,AudienceIcon:()=>X5,CalendarIcon:()=>J5,CameraIcon:()=>Q5,CaretDownIcon:()=>tv,CaretLeftIcon:()=>nv,CaretRightIcon:()=>iv,CaretUpIcon:()=>sv,ChannelIcon:()=>lv,CheckmarkCircleIcon:()=>fv,CheckmarkCircleOutlineIcon:()=>dv,CheckmarkCircleThreeQuartersIcon:()=>hv,CheckmarkIcon:()=>bv,CheckmarkUnderlinedIcon:()=>vv,CloseIcon:()=>xv,CommentIcon:()=>Sv,CommunityIcon:()=>Ev,ContactUsIcon:()=>Pv,CopyDisabledIcon:()=>Ov,CopyIcon:()=>E4,CreateIcon:()=>Rv,DeleteIcon:()=>Bv,DeleteSmIcon:()=>Mv,DownloadIcon:()=>kv,DraggableIcon:()=>Vv,EllipsisIcon:()=>zv,EllipsisVerticalIcon:()=>Gv,EmbedIcon:()=>_v,EpisodesIcon:()=>Uv,ExpandIcon:()=>qv,FavoriteIcon:()=>Yv,FavoriteOutlineIcon:()=>Zv,FilterIcon:()=>e7,GearIcon:()=>r7,GettingStartedIcon:()=>o7,GlobeIcon:()=>i7,GridViewIcon:()=>s7,HamburgerIcon:()=>l7,HazardIcon:()=>f7,HelpCenterIcon:()=>d7,HideIcon:()=>h7,HomeIcon:()=>v7,HourglassIcon:()=>b7,ImportIcon:()=>x7,InfoIcon:()=>S7,IntegrationsIcon:()=>E7,InviteIcon:()=>P7,LightningBoltIcon:()=>O7,LinkIcon:()=>R7,ListViewIcon:()=>B7,LiveIcon:()=>I7,LockIcon:()=>N7,LogoutIcon:()=>L7,MediaIcon:()=>H7,MegaphoneIcon:()=>j7,MoreOptionsIcon:()=>W7,OpenNewIcon:()=>K7,OverviewIcon:()=>X7,PaintIcon:()=>J7,PencilIcon:()=>Q7,PlayIcon:()=>t4,PodcastIcon:()=>n4,PreviewIcon:()=>i4,PrivateUserSessionsIcon:()=>s4,ProjectIcon:()=>l4,QuestionMarkIcon:()=>f4,ReactIcon:()=>d4,RecordIcon:()=>h4,RedoIcon:()=>v4,RemoveFromChannelIcon:()=>b4,ReplaceIcon:()=>x4,ReplyIcon:()=>S4,ScissorsIcon:()=>P4,SearchIcon:()=>O4,SendIcon:()=>R4,SettingsIcon:()=>B4,ShareIcon:()=>I4,SoapboxIcon:()=>N4,SortIcon:()=>L4,SparkleIcon:()=>H4,SpinnerIcon:()=>G4,StatsIcon:()=>_4,SwitchAccountsIcon:()=>U4,TagIcon:()=>q4,ThumbsDownIcon:()=>Y4,ThumbsUpIcon:()=>Z4,TriangleIcon:()=>e6,UndoIcon:()=>r6,UnlockIcon:()=>o6,UploadIcon:()=>a6,UsersPermissionsIcon:()=>u6,ViewStreamIcon:()=>c6,WandIcon:()=>p6,ZoomInIcon:()=>m6,ZoomOutIcon:()=>g6});a();a();import{jsx as $5}from"react/jsx-runtime";var B5=e=>$5("svg",{...e,children:$5("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"})});a();import{jsx as M5}from"react/jsx-runtime";var I5=e=>M5("svg",{...e,children:M5("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"})});a();import{jsx as k5}from"react/jsx-runtime";var N5=e=>k5("svg",{...e,children:k5("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"})});a();import{jsx as V5}from"react/jsx-runtime";var L5=e=>V5("svg",{...e,children:V5("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"})});a();import{jsx as z5}from"react/jsx-runtime";var H5=e=>z5("svg",{...e,children:z5("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"})});a();import{jsx as G5}from"react/jsx-runtime";var j5=e=>G5("svg",{...e,children:G5("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"})});a();import{jsx as _5}from"react/jsx-runtime";var W5=e=>_5("svg",{...e,children:_5("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"})});a();import{jsx as U5}from"react/jsx-runtime";var K5=e=>U5("svg",{...e,children:U5("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"})});a();import{jsx as q5}from"react/jsx-runtime";var X5=e=>q5("svg",{...e,children:q5("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"})});a();import{jsx as Y5}from"react/jsx-runtime";var J5=e=>Y5("svg",{...e,children:Y5("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"})});a();import{jsx as Z5}from"react/jsx-runtime";var Q5=e=>Z5("svg",{...e,children:Z5("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"})});a();import{jsx as ev}from"react/jsx-runtime";var tv=e=>ev("svg",{...e,children:ev("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"})});a();import{jsx as rv}from"react/jsx-runtime";var nv=e=>rv("svg",{...e,children:rv("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"})});a();import{jsx as ov}from"react/jsx-runtime";var iv=e=>ov("svg",{...e,children:ov("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"})});a();import{jsx as av}from"react/jsx-runtime";var sv=e=>av("svg",{...e,children:av("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"})});a();import{jsx as uv}from"react/jsx-runtime";var lv=e=>uv("svg",{...e,children:uv("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"})});a();import{jsx as cv}from"react/jsx-runtime";var fv=e=>cv("svg",{...e,children:cv("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"})});a();import{jsx as pv,jsxs as R$}from"react/jsx-runtime";var dv=({...e})=>R$("svg",{...e,children:[pv("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"}),pv("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"})]});a();import{jsx as mv}from"react/jsx-runtime";var hv=e=>mv("svg",{...e,children:mv("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"})});a();import{jsx as gv}from"react/jsx-runtime";var vv=e=>gv("svg",{...e,children:gv("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"})});a();import{jsx as yv}from"react/jsx-runtime";var bv=e=>yv("svg",{...e,children:yv("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"})});a();import{jsx as Cv}from"react/jsx-runtime";var xv=e=>Cv("svg",{...e,children:Cv("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"})});a();import{jsx as wv}from"react/jsx-runtime";var Sv=e=>wv("svg",{...e,children:wv("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"})});a();import{jsx as Dv}from"react/jsx-runtime";var Ev=e=>Dv("svg",{...e,children:Dv("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"})});a();import{jsx as Tv}from"react/jsx-runtime";var Pv=e=>Tv("svg",{...e,children:Tv("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"})});a();import{jsx as Av}from"react/jsx-runtime";var Ov=e=>Av("svg",{...e,children:Av("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"})});a();import{jsx as Fv}from"react/jsx-runtime";var Rv=e=>Fv("svg",{...e,children:Fv("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"})});a();import{jsx as $v}from"react/jsx-runtime";var Bv=e=>$v("svg",{...e,children:$v("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"})});a();import{jsx as X1,jsxs as $$}from"react/jsx-runtime";var Mv=e=>X1("svg",{...e,children:$$("g",{fill:"currentColor",children:[X1("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"}),X1("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"})]})});a();import{jsx as Iv}from"react/jsx-runtime";var kv=e=>Iv("svg",{...e,children:Iv("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"})});a();import{jsx as Nv}from"react/jsx-runtime";var Vv=e=>Nv("svg",{...e,children:Nv("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"})});a();import{jsx as Lv}from"react/jsx-runtime";var zv=e=>Lv("svg",{...e,children:Lv("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"})});a();import{jsx as Hv}from"react/jsx-runtime";var Gv=e=>Hv("svg",{...e,children:Hv("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"})});a();import{jsx as jv}from"react/jsx-runtime";var _v=e=>jv("svg",{...e,children:jv("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"})});a();import{jsx as Wv}from"react/jsx-runtime";var Uv=e=>Wv("svg",{...e,children:Wv("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"})});a();import{jsx as Kv}from"react/jsx-runtime";var qv=e=>Kv("svg",{...e,children:Kv("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"})});a();import{jsx as Xv}from"react/jsx-runtime";var Yv=e=>Xv("svg",{...e,children:Xv("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"})});a();import{jsx as Jv}from"react/jsx-runtime";var Zv=e=>Jv("svg",{...e,children:Jv("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"})});a();import{jsx as Qv}from"react/jsx-runtime";var e7=e=>Qv("svg",{...e,children:Qv("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"})});a();import{jsx as t7}from"react/jsx-runtime";var r7=e=>t7("svg",{...e,children:t7("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"})});a();import{jsx as n7}from"react/jsx-runtime";var o7=e=>n7("svg",{...e,children:n7("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"})});a();import{jsx as Io,jsxs as B$}from"react/jsx-runtime";var i7=({...e})=>Io("svg",{...e,children:B$("g",{id:"path",children:[Io("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"}),Io("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"}),Io("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"}),Io("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"}),Io("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"}),Io("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"})]})});a();import{jsx as a7}from"react/jsx-runtime";var s7=e=>a7("svg",{...e,children:a7("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"})});a();import{jsx as u7}from"react/jsx-runtime";var l7=e=>u7("svg",{...e,children:u7("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"})});a();import{jsx as c7}from"react/jsx-runtime";var f7=e=>c7("svg",{...e,children:c7("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"})});a();import{jsx as p7}from"react/jsx-runtime";var d7=e=>p7("svg",{...e,children:p7("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"})});a();import{jsx as m7}from"react/jsx-runtime";var h7=e=>m7("svg",{...e,viewBox:"0 0 24 24",children:m7("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"})});a();import{jsx as g7}from"react/jsx-runtime";var v7=e=>g7("svg",{...e,children:g7("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"})});a();import{jsx as y7}from"react/jsx-runtime";var b7=e=>y7("svg",{...e,children:y7("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"})});a();import{jsx as C7}from"react/jsx-runtime";var x7=e=>C7("svg",{...e,children:C7("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"})});a();import{jsx as w7}from"react/jsx-runtime";var S7=e=>w7("svg",{...e,children:w7("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"})});a();import{jsx as D7}from"react/jsx-runtime";var E7=e=>D7("svg",{...e,children:D7("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"})});a();import{jsx as T7,jsxs as M$}from"react/jsx-runtime";var P7=e=>M$("svg",{...e,children:[T7("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"}),T7("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"})]});a();import{jsx as A7}from"react/jsx-runtime";var O7=({...e})=>A7("svg",{...e,children:A7("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"})});a();import{jsx as F7}from"react/jsx-runtime";var R7=e=>F7("svg",{...e,children:F7("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"})});a();import{jsx as $7}from"react/jsx-runtime";var B7=e=>$7("svg",{...e,children:$7("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"})});a();import{jsx as M7}from"react/jsx-runtime";var I7=e=>M7("svg",{...e,children:M7("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"})});a();import{jsx as k7}from"react/jsx-runtime";var N7=e=>k7("svg",{...e,children:k7("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"})});a();import{jsx as V7}from"react/jsx-runtime";var L7=e=>V7("svg",{...e,children:V7("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"})});a();import{jsx as z7}from"react/jsx-runtime";var H7=e=>z7("svg",{...e,children:z7("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"})});a();import{jsx as G7}from"react/jsx-runtime";var j7=e=>G7("svg",{...e,children:G7("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"})});a();import{jsx as _7}from"react/jsx-runtime";var W7=e=>_7("svg",{...e,children:_7("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"})});a();import{jsx as U7}from"react/jsx-runtime";var K7=e=>U7("svg",{...e,children:U7("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"})});a();import{jsx as q7}from"react/jsx-runtime";var X7=e=>q7("svg",{...e,children:q7("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"})});a();import{jsx as Y7}from"react/jsx-runtime";var J7=e=>Y7("svg",{...e,children:Y7("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"})});a();import{jsx as Z7}from"react/jsx-runtime";var Q7=e=>Z7("svg",{...e,children:Z7("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"})});a();import{jsx as e4}from"react/jsx-runtime";var t4=e=>e4("svg",{...e,children:e4("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"})});a();import{jsx as r4}from"react/jsx-runtime";var n4=e=>r4("svg",{...e,children:r4("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"})});a();import{jsx as o4}from"react/jsx-runtime";var i4=e=>o4("svg",{...e,children:o4("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"})});a();import{jsx as a4}from"react/jsx-runtime";var s4=e=>a4("svg",{...e,children:a4("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"})});a();import{jsx as u4}from"react/jsx-runtime";var l4=e=>u4("svg",{...e,children:u4("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"})});a();import{jsx as c4}from"react/jsx-runtime";var f4=e=>c4("svg",{...e,children:c4("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"})});a();import{jsx as p4}from"react/jsx-runtime";var d4=e=>p4("svg",{...e,children:p4("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"})});a();import{jsx as m4,jsxs as I$}from"react/jsx-runtime";var h4=e=>I$("svg",{...e,children:[m4("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"}),m4("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"})]});a();import{jsx as g4}from"react/jsx-runtime";var v4=e=>g4("svg",{...e,children:g4("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"})});a();import{jsx as y4}from"react/jsx-runtime";var b4=e=>y4("svg",{...e,children:y4("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"})});a();import{jsx as C4}from"react/jsx-runtime";var x4=e=>C4("svg",{...e,children:C4("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"})});a();import{jsx as w4}from"react/jsx-runtime";var S4=e=>w4("svg",{...e,children:w4("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"})});a();import{jsx as D4}from"react/jsx-runtime";var E4=e=>D4("svg",{...e,children:D4("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"})});a();import{jsx as T4}from"react/jsx-runtime";var P4=e=>T4("svg",{...e,children:T4("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"})});a();import{jsx as A4}from"react/jsx-runtime";var O4=e=>A4("svg",{...e,children:A4("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"})});a();import{jsx as F4}from"react/jsx-runtime";var R4=e=>F4("svg",{...e,children:F4("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"})});a();import{jsx as $4}from"react/jsx-runtime";var B4=e=>$4("svg",{...e,children:$4("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"})});a();import{jsx as M4}from"react/jsx-runtime";var I4=e=>M4("svg",{...e,children:M4("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"})});a();import{jsx as k4}from"react/jsx-runtime";var N4=e=>k4("svg",{...e,children:k4("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"})});a();import{jsx as V4}from"react/jsx-runtime";var L4=e=>V4("svg",{...e,children:V4("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"})});a();import{jsx as z4}from"react/jsx-runtime";var H4=e=>z4("svg",{...e,children:z4("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"})});a();import{jsx as Y1}from"react/jsx-runtime";var G4=e=>Y1("svg",{...e,children:Y1("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:Y1("animateTransform",{attributeName:"transform",dur:"1.5s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})})});a();import{jsx as j4}from"react/jsx-runtime";var _4=e=>j4("svg",{...e,children:j4("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"})});a();import{jsx as W4}from"react/jsx-runtime";var U4=e=>W4("svg",{...e,children:W4("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"})});a();import{jsx as K4}from"react/jsx-runtime";var q4=e=>K4("svg",{...e,children:K4("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"})});a();import{jsx as X4}from"react/jsx-runtime";var Y4=e=>X4("svg",{...e,children:X4("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"})});a();import{jsx as J4}from"react/jsx-runtime";var Z4=e=>J4("svg",{...e,children:J4("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"})});a();import{jsx as Q4}from"react/jsx-runtime";var e6=e=>Q4("svg",{...e,children:Q4("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"})});a();import{jsx as t6}from"react/jsx-runtime";var r6=e=>t6("svg",{...e,children:t6("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"})});a();import{jsx as n6}from"react/jsx-runtime";var o6=e=>n6("svg",{...e,children:n6("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"})});a();import{jsx as i6}from"react/jsx-runtime";var a6=e=>i6("svg",{...e,children:i6("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"})});a();import{jsx as s6}from"react/jsx-runtime";var u6=e=>s6("svg",{...e,children:s6("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"})});a();import{jsx as l6}from"react/jsx-runtime";var c6=e=>l6("svg",{...e,children:l6("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"})});a();import{jsx as f6}from"react/jsx-runtime";var p6=e=>f6("svg",{...e,children:f6("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"})});a();import{jsx as d6}from"react/jsx-runtime";var m6=e=>d6("svg",{...e,children:d6("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"})});a();import{jsx as h6}from"react/jsx-runtime";var g6=e=>h6("svg",{...e,children:h6("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"})});import{jsx as k$}from"react/jsx-runtime";var Sl={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Ee=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(de(n))throw new Error("An Icon component requires a `type` prop to be provided");if(de(q1[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(de(Sl[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let i=J1[q1[n]],s={verticalAlign:"middle",...r};return k$(i,{"aria-hidden":"true",color:e,height:`${Sl[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${Sl[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Ee.displayName="Icon_VHS";import{Fragment as y6,jsx as Hi,jsxs as Z1}from"react/jsx-runtime";var N$=Dl.span`
|
|
138
138
|
display: flex;
|
|
139
139
|
justify-content: ${({textAlign:e})=>e==="left"?"start":e==="right"?"end":"center"};
|
|
140
140
|
position: absolute;
|
|
141
|
-
`,
|
|
141
|
+
`,V$=Dl.div`
|
|
142
142
|
align-items: center;
|
|
143
143
|
display: inline-flex;
|
|
144
144
|
flex-direction: ${({iconPosition:e})=>e==="end"?"row-reverse":"row"};
|
|
@@ -147,19 +147,19 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
147
147
|
justify-content: center;
|
|
148
148
|
opacity: ${({isLoading:e})=>e?0:1};
|
|
149
149
|
position: relative;
|
|
150
|
-
`,
|
|
150
|
+
`,L$=Dl.div`
|
|
151
151
|
align-items: center;
|
|
152
152
|
display: inline-flex;
|
|
153
153
|
flex-grow: 1;
|
|
154
154
|
justify-content: ${({textAlign:e})=>e==="left"?"start":e==="right"?"end":"center"};
|
|
155
|
-
`,
|
|
155
|
+
`,z$=Dl.div`
|
|
156
156
|
display: flex;
|
|
157
157
|
|
|
158
158
|
& > svg {
|
|
159
159
|
max-height: ${({size:e})=>e};
|
|
160
160
|
max-width: ${({size:e})=>e};
|
|
161
161
|
}
|
|
162
|
-
`,v6=Object.freeze({lg:"md",md:"md",sm:"sm"}),
|
|
162
|
+
`,v6=Object.freeze({lg:"md",md:"md",sm:"sm"}),H$={lg:"16px",md:"16px",sm:"12px"},El=({children:e,icon:t,iconName:r,iconPosition:n,isLoading:o,size:i,textAlign:s})=>{let u=()=>{if($(t)&&$(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 $(t)?Hi(z$,{"data-testid":"icon-container",size:H$[i],children:t}):$(r)?Hi(Ee,{"data-testid":"iconName-icon",size:v6[i],type:r}):null};return Z1(y6,{children:[o?Z1(N$,{"data-testid":"button-content-loading",textAlign:s,children:[Hi(Is,{"aria-live":"assertive",message:"Button has been disabled while action is in progress"}),Hi(Ee,{size:v6[i],type:"spinner"})]}):null,Z1(V$,{iconPosition:n,isLoading:o,size:i,children:[Hi(y6,{children:u()}),$(e)?Hi(L$,{"data-testid":"button-content-label",textAlign:s,children:e}):null]})]})};a();import G$,{css as Je}from"styled-components";var b6="0.04",C6="0.08",x6=.9,w6=.8,Gn=Je`
|
|
163
163
|
align-items: center;
|
|
164
164
|
background-color: transparent;
|
|
165
165
|
background-image: none;
|
|
@@ -208,7 +208,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
208
208
|
border-color: ${({buttonColor:e})=>ct(C6,e)};
|
|
209
209
|
`,E6=Je`
|
|
210
210
|
box-shadow: inset 0 0 0 1px white;
|
|
211
|
-
`,
|
|
211
|
+
`,j$=Je`
|
|
212
212
|
background-color: ${({buttonColor:e})=>e};
|
|
213
213
|
border-color: ${({buttonColor:e})=>e};
|
|
214
214
|
color: white;
|
|
@@ -232,7 +232,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
232
232
|
box-shadow:
|
|
233
233
|
inset 0 0 0 1px white,
|
|
234
234
|
inset 0 0 0 2px ${({buttonColor:e})=>e};
|
|
235
|
-
`,
|
|
235
|
+
`,_$=Je`
|
|
236
236
|
background-color: ${({buttonColor:e})=>Nt(1,e)};
|
|
237
237
|
border-color: ${({buttonColor:e})=>e};
|
|
238
238
|
color: ${({buttonColor:e})=>e};
|
|
@@ -252,18 +252,18 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
252
252
|
background-color: ${({buttonColor:e})=>Nt(x6,e)};
|
|
253
253
|
`,F6=Je`
|
|
254
254
|
background-color: ${({buttonColor:e})=>Nt(w6,e)};
|
|
255
|
-
|
|
255
|
+
`,R6=Je`
|
|
256
256
|
border-color: ${({buttonColor:e})=>e};
|
|
257
257
|
box-shadow:
|
|
258
258
|
inset 0 0 0 1px white,
|
|
259
259
|
inset 0 0 0 2px ${({buttonColor:e})=>e};
|
|
260
|
-
`,
|
|
260
|
+
`,W$=Je`
|
|
261
261
|
background-color: ${({buttonColor:e})=>Nt(1,e)};
|
|
262
262
|
border-color: ${({buttonColor:e})=>Nt(1,e)};
|
|
263
263
|
color: ${({buttonColor:e})=>e};
|
|
264
264
|
|
|
265
265
|
&:focus-visible {
|
|
266
|
-
${
|
|
266
|
+
${R6}
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
&:hover:not([aria-disabled]) {
|
|
@@ -273,23 +273,23 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
273
273
|
&:active:not([aria-disabled]) {
|
|
274
274
|
${F6}
|
|
275
275
|
}
|
|
276
|
-
`,
|
|
276
|
+
`,U$=Je`
|
|
277
277
|
border-radius: 0;
|
|
278
278
|
`,Q1=Je`
|
|
279
279
|
opacity: 0.4;
|
|
280
|
-
`,
|
|
280
|
+
`,K$=Je`
|
|
281
281
|
font-size: 16px;
|
|
282
282
|
line-height: 24px;
|
|
283
283
|
padding: ${({theme:e})=>`${e.spacing.space02} ${e.spacing.space04}`};
|
|
284
|
-
`,
|
|
284
|
+
`,q$=Je`
|
|
285
285
|
font-size: 14px;
|
|
286
286
|
line-height: 20px;
|
|
287
287
|
padding: ${({theme:e})=>`${e.spacing.space02} ${e.spacing.space03}`};
|
|
288
|
-
`,
|
|
288
|
+
`,X$=Je`
|
|
289
289
|
font-size: 12px;
|
|
290
290
|
line-height: 18px;
|
|
291
291
|
padding: ${({theme:e})=>`2px ${e.spacing.space02}`};
|
|
292
|
-
`,
|
|
292
|
+
`,Y$=Je`
|
|
293
293
|
width: 100%;
|
|
294
294
|
`,em=Je`
|
|
295
295
|
${Gn}
|
|
@@ -306,23 +306,23 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
/* border-radius */
|
|
309
|
-
${({square:e})=>e===!0&&
|
|
309
|
+
${({square:e})=>e===!0&&U$}
|
|
310
310
|
|
|
311
311
|
/* label wrapping */
|
|
312
312
|
white-space: ${({labelWrap:e})=>e===!0?"wrap":"nowrap"};
|
|
313
313
|
|
|
314
314
|
/* apply various button variant styles */
|
|
315
|
-
${({variant:e})=>{if(e==="primary"||e==="dangerous")return
|
|
315
|
+
${({variant:e})=>{if(e==="primary"||e==="dangerous")return j$;if(e==="secondary")return _$;if(e==="tertiary")return W$}}
|
|
316
316
|
|
|
317
317
|
/* primarily used for documentation/debugging */
|
|
318
|
-
${({variant:e,forceState:t})=>{if(e==="primary"||e==="dangerous"){if(t==="hover")return S6;if(t==="active")return D6;if(t==="focus")return E6}if(e==="secondary"){if(t==="hover")return T6;if(t==="active")return P6;if(t==="focus")return A6}if(e==="tertiary"){if(t==="hover")return O6;if(t==="active")return F6;if(t==="focus")return
|
|
318
|
+
${({variant:e,forceState:t})=>{if(e==="primary"||e==="dangerous"){if(t==="hover")return S6;if(t==="active")return D6;if(t==="focus")return E6}if(e==="secondary"){if(t==="hover")return T6;if(t==="active")return P6;if(t==="focus")return A6}if(e==="tertiary"){if(t==="hover")return O6;if(t==="active")return F6;if(t==="focus")return R6}}}
|
|
319
319
|
|
|
320
|
-
${({size:e})=>{if(e==="lg")return
|
|
320
|
+
${({size:e})=>{if(e==="lg")return K$;if(e==="md")return q$;if(e==="sm")return X$}}
|
|
321
321
|
|
|
322
|
-
${({fullWidth:e})=>{if(e)return
|
|
323
|
-
|
|
322
|
+
${({fullWidth:e})=>{if(e)return Y$}}
|
|
323
|
+
`,$6=G$.button`
|
|
324
324
|
${({noStyle:e})=>e?Gn:em}
|
|
325
|
-
`;a();var Tl=(e,t,r)=>be(e)?e:t==="primary"?r.brandBlue500:t==="secondary"||t==="tertiary"?r.grey900:t==="dangerous"?r.red600:r.brandBlue500;import{jsx as B6}from"react/jsx-runtime";var Ze=
|
|
325
|
+
`;a();var Tl=(e,t,r)=>be(e)?e:t==="primary"?r.brandBlue500:t==="secondary"||t==="tertiary"?r.grey900:t==="dangerous"?r.red600:r.brandBlue500;import{jsx as B6}from"react/jsx-runtime";var Ze=J$(({children:e,disabled:t=!1,forceState:r,colorOverride:n,fullWidth:o=!1,icon:i,iconName:s,iconPosition:u="start",label:l,labelWrap:c=!1,isLoading:f=!1,noStyle:d=!1,onClick:m,size:g="lg",square:v=!1,textAlign:h="center",type:y="button",variant:b="primary",...x},w)=>{let S=()=>f||t,E=O=>{if(S()){O.preventDefault();return}$(m)&&m(O)},D=Tl(n,b,_e()),T=()=>$(e)?e:$(l)?l:null;return B6($6,{ref:w,"aria-disabled":S()||void 0,buttonColor:D,disabled:!1,forceState:r,fullWidth:o,iconPosition:u,isLoading:f,labelWrap:c,noStyle:d,onClick:E,size:g,square:v,textAlign:h,type:y,variant:b,...x,children:B6(El,{icon:i,iconName:s,iconPosition:u,isLoading:f,size:g,textAlign:h,children:T()})})});Ze.displayName="Button_VHS";a();var M6=()=>typeof window>"u"||typeof document>"u";import{jsx as Al,jsxs as k6}from"react/jsx-runtime";var nB=["success","warning","error","dangerous"],tm="success",rm="Dismiss",nm=3e3,oB=(e,t,r)=>{if(be(e))return e;if(!nB.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},iB="8px",Pl="24px",aB=N6.div`
|
|
326
326
|
align-items: center;
|
|
327
327
|
background: white;
|
|
328
328
|
border-left-color: ${({accentColor:e})=>e};
|
|
@@ -339,7 +339,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
339
339
|
width: calc(100% - ${Pl} - ${Pl});
|
|
340
340
|
z-index: ${({theme:e})=>e.zIndex.Toast};
|
|
341
341
|
|
|
342
|
-
${
|
|
342
|
+
${$e.smAndUp} {
|
|
343
343
|
min-width: 352px;
|
|
344
344
|
width: 400px;
|
|
345
345
|
}
|
|
@@ -354,7 +354,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
354
354
|
> * {
|
|
355
355
|
margin: 0;
|
|
356
356
|
}
|
|
357
|
-
`,uB=({children:e})=>{if(M6())return null;let t=document.getElementById("toast-portal");return t?rB(e,t):null},Vs=null,Ol=
|
|
357
|
+
`,uB=({children:e})=>{if(M6())return null;let t=document.getElementById("toast-portal");return t?rB(e,t):null},Vs=null,Ol=Z$(({actionInterceptor:e=void 0,actionLabel:t=rm,colorOverride:r=void 0,renderInPlace:n=!1,isOpen:o=!1,message:i,onClose:s,timeout:u=nm,variant:l=tm,...c})=>{let[f,d]=Q$(o),g=l==="error"||l==="warning"?"assertive":"polite",v=eB(()=>{clearTimeout(Vs??void 0),Vs=null},[]),h=()=>{v(),s()},y=()=>{Vs=setTimeout(()=>{h()},u)};I6(()=>(f&&!n&&y(),()=>{dn(Vs)&&v()})),I6(()=>(d(o),()=>{dn(Vs)&&v()}),[o,v,d]);let b=oB(r,l,_e());return Al(n?tB:uB,{children:Al(F5,{in:f,children:k6(aB,{accentColor:b,"aria-hidden":!f,onMouseEnter:v,onMouseLeave:y,renderInPlace:n,...c,children:[k6(sB,{"data-testid":"toast-message",children:[Al(Is,{"aria-live":g,message:i}),i]}),Al(Ze,{colorOverride:b,"data-testid":"toast-action",label:t,onClick:e??h,variant:"tertiary"})]},i)})})});Ol.displayName="Toast_VHS";a();import{createContext as lB}from"react";var Fl=lB(null);import{Fragment as fB,jsx as om,jsxs as pB}from"react/jsx-runtime";var im=({children:e})=>{let[t,r]=ko(void 0),[n,o]=ko(""),[i,s]=ko(void 0),[u,l]=ko(""),[c,f]=ko(!1),[d,m]=ko(void 0),[g,v]=ko(void 0),h=cB(({message:y,variant:b=tm,actionLabel:x=rm,actionInterceptor:w,timeout:S=nm,colorOverride:E})=>{r(w?()=>w:void 0),o(x),s(E),l(y),f(!0),m(S),v(b)},[]);return pB(fB,{children:[om(Fl.Provider,{value:h,children:e}),om(Ol,{actionInterceptor:t,actionLabel:n,colorOverride:i,isOpen:c,message:u,onClose:()=>f(!1),timeout:d,variant:g}),om("div",{id:"toast-portal"})]})};a();import{useRef as hB,useCallback as Gi,useMemo as gB}from"react";a();import{createContext as dB,useContext as mB}from"react";var am=dB({}),sm=()=>mB(am);import{jsx as vB}from"react/jsx-runtime";var Rl=({children:e})=>{let r=hB(new Set).current,n=Gi(f=>r.values().next().value===f,[r]),o=Gi(()=>{let f=r.values().next().value;Fo(f)&&f(!0)},[r]),i=Gi(()=>{let f=r.values().next().value;Fo(f)&&f(!1)},[r]),s=Gi(f=>{r.add(f),n(f)&&o()},[r,n,o]),u=Gi(f=>{r.add(f),n(f)?(i(),r.delete(f),o()):r.delete(f)},[r,n,i,o]),l=Gi(f=>{r.delete(f)},[r]),c=gB(()=>({attemptShowModal:s,attemptHideModal:u,removeModalFromQueue:l}),[s,u,l]);return vB(am.Provider,{value:c,children:e})};a();import{createGlobalStyle as CB}from"styled-components";a();import{css as yB}from"styled-components";var V6=yB`
|
|
358
358
|
/* stylelint-disable */
|
|
359
359
|
/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
360
360
|
|
|
@@ -745,7 +745,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
745
745
|
`;var z6=CB`
|
|
746
746
|
${V6}
|
|
747
747
|
${L6}
|
|
748
|
-
`;import{jsx as Ls,jsxs as xB}from"react/jsx-runtime";var J3e=({children:e,theme:t={},globalStylesIncluded:r=!0,Link:n})=>xB(w5,{theme:t,children:[r?Ls(z6,{}):null,Ls(M1,{children:Ls(E5,{value:{Link:n},children:Ls($l,{children:Ls(im,{children:e})})})})]});a();a();import{useState as wB,useCallback as um}from"react";var lm=(e=!1)=>{let[t,r]=wB(e),n=um(()=>r(s=>!s),[]),o=um(()=>r(!0),[]),i=um(()=>r(!1),[]);return[t,n,o,i,r]};a();a();import{useCallback as EB}from"react";a();a();import{useEffect as SB,useRef as H6,useState as DB}from"react";var Rl=e=>{let[t,r]=DB(!1),n=H6(),o=H6(e),i=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return SB(()=>()=>clearTimeout(n.current),[]),[t,i]};var TB=(e,t=1500)=>{let[r,n]=Rl(!1),[o,i]=Rl(!1);return[EB(async()=>{try{await bs(e),t&&t>0&&n(t)}catch(u){u instanceof Error&&i(t)}},[e,t,n,i]),r,o]};a();a();import{useMemo as PB,useState as AB,useRef as OB,useLayoutEffect as FB}from"react";var $B={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},cm=()=>{let e=OB(null),[t,r]=AB($B),n=PB(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:i,height:s,top:u,left:l,bottom:c,right:f,x:d,y:m}=o[0].contentRect;r({width:i,height:s,top:u,left:l,bottom:c,right:f,x:d,y:m})}}),[]);return FB(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};a();a();import{useEffect as fm,useRef as G6}from"react";var RB=e=>!!(typeof e=="object"&&e?.addEventListener),pm=(e,t,r=window,n={})=>{let o=G6(),i=G6();fm(()=>{o.current=t},[t]),fm(()=>{i.current=n},[n]),fm(()=>{if(!e||!RB(r))return;let s=u=>o.current!==void 0?o.current(u):()=>{};return r.addEventListener(e,s,i.current),()=>{r.removeEventListener(e,s,i.current)}},[e,r,i])};a();a();import{useRef as t9,useCallback as IB,useEffect as kB}from"react";a();var mm='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex="0"], [contenteditable]',BB=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},MB=e=>{let t=e;for(;t&&t!==document.body;){if(BB(t))return!1;t=t.parentNode}return!0},j6=e=>{let t=e.getAttribute("tabindex");return Number.parseInt(t??void 0,10)},_6=e=>{let t=j6(e);return Number.isNaN(t)},Bl=e=>{let t=/input|select|textarea|button|object/,r=e.nodeName.toLowerCase(),n=!_6(e);return!!(t.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&MB(e)},hm=e=>{let t=j6(e);return(_6(e)||t>=0)&&Bl(e)},W6=e=>Array.from(e.querySelectorAll(mm)).filter(hm),U6=[],ji=null,dm=!1,K6=()=>{dm=!0},q6=()=>{if(dm){if(dm=!1,!ji||ji.contains(document.activeElement))return;(W6(ji)[0]??ji).focus()}},X6=()=>{let e=document.activeElement;e!==null&&U6.push(e)},Y6=()=>{let e=null;try{e=U6.pop(),e&&e.focus()}catch{console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},J6=e=>{ji=e,document.addEventListener("focusout",K6,!1),document.addEventListener("focusin",q6,!0)},Z6=()=>{ji=null,document.removeEventListener("focusout",K6),document.removeEventListener("focusin",q6)},Q6=(e,t)=>{let r=W6(e);if(!r.length){t.preventDefault();return}if(!(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement))return;t.preventDefault();let i=r[t.shiftKey?r.length-1:0];i&&i.focus()},e9=(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 gm=(e=!0,t={})=>{let r=t9(null),n=t9(null),o=IB(i=>{if(n.current!==null&&n.current(),r.current&&(Y6(),Z6()),e&&i!==null&&i!==void 0){J6(i),X6();let s=u=>{n.current=t.disableAriaHider??!1?null:e9(u);let l=null;if(J(t.focusSelector)&&(l=typeof t.focusSelector=="string"?u.querySelector(t.focusSelector):t.focusSelector),!l){let c=Array.from(u.querySelectorAll(mm));l=c.find(hm)??c.find(Bl)??null,!l&&Bl(u)&&(l=u)}l&&l.focus()};setTimeout(()=>{i.ownerDocument&&s(i),i.ownerDocument}),r.current=i}else r.current=null},[e,t.focusSelector,t.disableAriaHider]);return kB(()=>{if(!e)return;let i=s=>{s.key==="Tab"&&r.current&&Q6(r.current,s)};return document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}},[e]),o};a();a();import{useCallback as NB,useState as VB}from"react";var LB=()=>{let[,e]=VB(Object.create(null));return NB(()=>{e(Object.create(null))},[e])};a();a();a();var zB=function(t){return HB(t)&&!GB(t)};function HB(e){return!!e&&typeof e=="object"}function GB(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||WB(e)}var jB=typeof Symbol=="function"&&Symbol.for,_B=jB?Symbol.for("react.element"):60103;function WB(e){return e.$$typeof===_B}function UB(e){return Array.isArray(e)?[]:{}}function Ml(e,t){return t.clone!==!1&&t.isMergeableObject(e)?zs(UB(e),e,t):e}function KB(e,t,r){return e.concat(t).map(function(n){return Ml(n,r)})}function qB(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=Ml(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=Ml(t[o],r):n[o]=zs(e[o],t[o],r)}),n}function zs(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||KB,r.isMergeableObject=r.isMergeableObject||zB;var n=Array.isArray(t),o=Array.isArray(e),i=n===o;return i?n?r.arrayMerge(e,t,r):qB(e,t,r):Ml(t,r)}zs.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return zs(n,o,r)},{})};var XB=zs,Il=XB;a();a();a();a();a();var YB=typeof window=="object"&&window&&window.Object===Object&&window,kl=YB;var JB=typeof self=="object"&&self&&self.Object===Object&&self,ZB=kl||JB||Function("return this")(),Qe=ZB;var QB=Qe.Symbol,hr=QB;a();var r9=Object.prototype,eM=r9.hasOwnProperty,tM=r9.toString,Hs=hr?hr.toStringTag:void 0;function rM(e){var t=eM.call(e,Hs),r=e[Hs];try{e[Hs]=void 0;var n=!0}catch{}var o=tM.call(e);return n&&(t?e[Hs]=r:delete e[Hs]),o}var n9=rM;a();var nM=Object.prototype,oM=nM.toString;function iM(e){return oM.call(e)}var o9=iM;var aM="[object Null]",sM="[object Undefined]",i9=hr?hr.toStringTag:void 0;function uM(e){return e==null?e===void 0?sM:aM:i9&&i9 in Object(e)?n9(e):o9(e)}var nr=uM;a();a();function lM(e,t){return function(r){return e(t(r))}}var Nl=lM;var cM=Nl(Object.getPrototypeOf,Object),_i=cM;a();function fM(e){return e!=null&&typeof e=="object"}var Vt=fM;var pM="[object Object]",dM=Function.prototype,mM=Object.prototype,a9=dM.toString,hM=mM.hasOwnProperty,gM=a9.call(Object);function vM(e){if(!Vt(e)||nr(e)!=pM)return!1;var t=_i(e);if(t===null)return!0;var r=hM.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&a9.call(r)==gM}var vm=vM;a();a();a();a();a();function yM(){this.__data__=[],this.size=0}var s9=yM;a();a();a();function bM(e,t){return e===t||e!==e&&t!==t}var Vl=bM;function CM(e,t){for(var r=e.length;r--;)if(Vl(e[r][0],t))return r;return-1}var jn=CM;var xM=Array.prototype,wM=xM.splice;function SM(e){var t=this.__data__,r=jn(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():wM.call(t,r,1),--this.size,!0}var u9=SM;a();function DM(e){var t=this.__data__,r=jn(t,e);return r<0?void 0:t[r][1]}var l9=DM;a();function EM(e){return jn(this.__data__,e)>-1}var c9=EM;a();function TM(e,t){var r=this.__data__,n=jn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var f9=TM;function Wi(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])}}Wi.prototype.clear=s9;Wi.prototype.delete=u9;Wi.prototype.get=l9;Wi.prototype.has=c9;Wi.prototype.set=f9;var _n=Wi;a();function PM(){this.__data__=new _n,this.size=0}var p9=PM;a();function AM(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var d9=AM;a();function OM(e){return this.__data__.get(e)}var m9=OM;a();function FM(e){return this.__data__.has(e)}var h9=FM;a();a();a();a();a();a();function $M(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Nr=$M;var RM="[object AsyncFunction]",BM="[object Function]",MM="[object GeneratorFunction]",IM="[object Proxy]";function kM(e){if(!Nr(e))return!1;var t=nr(e);return t==BM||t==MM||t==RM||t==IM}var Ll=kM;a();a();var NM=Qe["__core-js_shared__"],zl=NM;var g9=function(){var e=/[^.]+$/.exec(zl&&zl.keys&&zl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function VM(e){return!!g9&&g9 in e}var v9=VM;a();var LM=Function.prototype,zM=LM.toString;function HM(e){if(e!=null){try{return zM.call(e)}catch{}try{return e+""}catch{}}return""}var gn=HM;var GM=/[\\^$.*+?()[\]{}|]/g,jM=/^\[object .+?Constructor\]$/,_M=Function.prototype,WM=Object.prototype,UM=_M.toString,KM=WM.hasOwnProperty,qM=RegExp("^"+UM.call(KM).replace(GM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function XM(e){if(!Nr(e)||v9(e))return!1;var t=Ll(e)?qM:jM;return t.test(gn(e))}var y9=XM;a();function YM(e,t){return e?.[t]}var b9=YM;function JM(e,t){var r=b9(e,t);return y9(r)?r:void 0}var Lt=JM;var ZM=Lt(Qe,"Map"),Wn=ZM;a();a();a();a();a();var QM=Lt(Object,"create"),vn=QM;function eI(){this.__data__=vn?vn(null):{},this.size=0}var C9=eI;a();function tI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var x9=tI;a();var rI="__lodash_hash_undefined__",nI=Object.prototype,oI=nI.hasOwnProperty;function iI(e){var t=this.__data__;if(vn){var r=t[e];return r===rI?void 0:r}return oI.call(t,e)?t[e]:void 0}var w9=iI;a();var aI=Object.prototype,sI=aI.hasOwnProperty;function uI(e){var t=this.__data__;return vn?t[e]!==void 0:sI.call(t,e)}var S9=uI;a();var lI="__lodash_hash_undefined__";function cI(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=vn&&t===void 0?lI:t,this}var D9=cI;function Ui(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])}}Ui.prototype.clear=C9;Ui.prototype.delete=x9;Ui.prototype.get=w9;Ui.prototype.has=S9;Ui.prototype.set=D9;var ym=Ui;function fI(){this.size=0,this.__data__={hash:new ym,map:new(Wn||_n),string:new ym}}var E9=fI;a();a();a();function pI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var T9=pI;function dI(e,t){var r=e.__data__;return T9(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Un=dI;function mI(e){var t=Un(this,e).delete(e);return this.size-=t?1:0,t}var P9=mI;a();function hI(e){return Un(this,e).get(e)}var A9=hI;a();function gI(e){return Un(this,e).has(e)}var O9=gI;a();function vI(e,t){var r=Un(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var F9=vI;function Ki(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])}}Ki.prototype.clear=E9;Ki.prototype.delete=P9;Ki.prototype.get=A9;Ki.prototype.has=O9;Ki.prototype.set=F9;var Gs=Ki;var yI=200;function bI(e,t){var r=this.__data__;if(r instanceof _n){var n=r.__data__;if(!Wn||n.length<yI-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Gs(n)}return r.set(e,t),this.size=r.size,this}var $9=bI;function qi(e){var t=this.__data__=new _n(e);this.size=t.size}qi.prototype.clear=p9;qi.prototype.delete=d9;qi.prototype.get=m9;qi.prototype.has=h9;qi.prototype.set=$9;var R9=qi;a();function CI(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var B9=CI;a();a();a();var xI=function(){try{var e=Lt(Object,"defineProperty");return e({},"",{}),e}catch{}}(),bm=xI;function wI(e,t,r){t=="__proto__"&&bm?bm(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Hl=wI;var SI=Object.prototype,DI=SI.hasOwnProperty;function EI(e,t,r){var n=e[t];(!(DI.call(e,t)&&Vl(n,r))||r===void 0&&!(t in e))&&Hl(e,t,r)}var Gl=EI;a();a();function TI(e,t,r,n){var o=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var u=t[i],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),o?Hl(r,u,l):Gl(r,u,l)}return r}var Kn=TI;a();a();a();function PI(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var M9=PI;a();a();var AI="[object Arguments]";function OI(e){return Vt(e)&&nr(e)==AI}var Cm=OI;var I9=Object.prototype,FI=I9.hasOwnProperty,$I=I9.propertyIsEnumerable,RI=Cm(function(){return arguments}())?Cm:function(e){return Vt(e)&&FI.call(e,"callee")&&!$I.call(e,"callee")},k9=RI;a();var BI=Array.isArray,Vr=BI;a();a();function MI(){return!1}var N9=MI;var z9=typeof exports=="object"&&exports&&!exports.nodeType&&exports,V9=z9&&typeof module=="object"&&module&&!module.nodeType&&module,II=V9&&V9.exports===z9,L9=II?Qe.Buffer:void 0,kI=L9?L9.isBuffer:void 0,NI=kI||N9,jl=NI;a();var VI=9007199254740991,LI=/^(?:0|[1-9]\d*)$/;function zI(e,t){var r=typeof e;return t=t??VI,!!t&&(r=="number"||r!="symbol"&&LI.test(e))&&e>-1&&e%1==0&&e<t}var H9=zI;a();a();a();var HI=9007199254740991;function GI(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=HI}var _l=GI;var jI="[object Arguments]",_I="[object Array]",WI="[object Boolean]",UI="[object Date]",KI="[object Error]",qI="[object Function]",XI="[object Map]",YI="[object Number]",JI="[object Object]",ZI="[object RegExp]",QI="[object Set]",ek="[object String]",tk="[object WeakMap]",rk="[object ArrayBuffer]",nk="[object DataView]",ok="[object Float32Array]",ik="[object Float64Array]",ak="[object Int8Array]",sk="[object Int16Array]",uk="[object Int32Array]",lk="[object Uint8Array]",ck="[object Uint8ClampedArray]",fk="[object Uint16Array]",pk="[object Uint32Array]",Ve={};Ve[ok]=Ve[ik]=Ve[ak]=Ve[sk]=Ve[uk]=Ve[lk]=Ve[ck]=Ve[fk]=Ve[pk]=!0;Ve[jI]=Ve[_I]=Ve[rk]=Ve[WI]=Ve[nk]=Ve[UI]=Ve[KI]=Ve[qI]=Ve[XI]=Ve[YI]=Ve[JI]=Ve[ZI]=Ve[QI]=Ve[ek]=Ve[tk]=!1;function dk(e){return Vt(e)&&_l(e.length)&&!!Ve[nr(e)]}var G9=dk;a();function mk(e){return function(t){return e(t)}}var Xi=mk;a();var j9=typeof exports=="object"&&exports&&!exports.nodeType&&exports,js=j9&&typeof module=="object"&&module&&!module.nodeType&&module,hk=js&&js.exports===j9,xm=hk&&kl.process,gk=function(){try{var e=js&&js.require&&js.require("util").types;return e||xm&&xm.binding&&xm.binding("util")}catch{}}(),yn=gk;var _9=yn&&yn.isTypedArray,vk=_9?Xi(_9):G9,W9=vk;var yk=Object.prototype,bk=yk.hasOwnProperty;function Ck(e,t){var r=Vr(e),n=!r&&k9(e),o=!r&&!n&&jl(e),i=!r&&!n&&!o&&W9(e),s=r||n||o||i,u=s?M9(e.length,String):[],l=u.length;for(var c in e)(t||bk.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||H9(c,l)))&&u.push(c);return u}var Wl=Ck;a();a();var xk=Object.prototype;function wk(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||xk;return e===r}var Yi=wk;a();var Sk=Nl(Object.keys,Object),U9=Sk;var Dk=Object.prototype,Ek=Dk.hasOwnProperty;function Tk(e){if(!Yi(e))return U9(e);var t=[];for(var r in Object(e))Ek.call(e,r)&&r!="constructor"&&t.push(r);return t}var K9=Tk;a();function Pk(e){return e!=null&&_l(e.length)&&!Ll(e)}var Ul=Pk;function Ak(e){return Ul(e)?Wl(e):K9(e)}var Ji=Ak;function Ok(e,t){return e&&Kn(t,Ji(t),e)}var q9=Ok;a();a();a();a();function Fk(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var X9=Fk;var $k=Object.prototype,Rk=$k.hasOwnProperty;function Bk(e){if(!Nr(e))return X9(e);var t=Yi(e),r=[];for(var n in e)n=="constructor"&&(t||!Rk.call(e,n))||r.push(n);return r}var Y9=Bk;function Mk(e){return Ul(e)?Wl(e,!0):Y9(e)}var Zi=Mk;function Ik(e,t){return e&&Kn(t,Zi(t),e)}var J9=Ik;a();var t8=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Z9=t8&&typeof module=="object"&&module&&!module.nodeType&&module,kk=Z9&&Z9.exports===t8,Q9=kk?Qe.Buffer:void 0,e8=Q9?Q9.allocUnsafe:void 0;function Nk(e,t){if(t)return e.slice();var r=e.length,n=e8?e8(r):new e.constructor(r);return e.copy(n),n}var r8=Nk;a();function Vk(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Kl=Vk;a();a();a();function Lk(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}var n8=Lk;a();function zk(){return[]}var ql=zk;var Hk=Object.prototype,Gk=Hk.propertyIsEnumerable,o8=Object.getOwnPropertySymbols,jk=o8?function(e){return e==null?[]:(e=Object(e),n8(o8(e),function(t){return Gk.call(e,t)}))}:ql,Qi=jk;function _k(e,t){return Kn(e,Qi(e),t)}var i8=_k;a();a();a();function Wk(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Xl=Wk;var Uk=Object.getOwnPropertySymbols,Kk=Uk?function(e){for(var t=[];e;)Xl(t,Qi(e)),e=_i(e);return t}:ql,Yl=Kk;function qk(e,t){return Kn(e,Yl(e),t)}var a8=qk;a();a();function Xk(e,t,r){var n=t(e);return Vr(e)?n:Xl(n,r(e))}var Jl=Xk;function Yk(e){return Jl(e,Ji,Qi)}var s8=Yk;a();function Jk(e){return Jl(e,Zi,Yl)}var u8=Jk;a();a();var Zk=Lt(Qe,"DataView"),Zl=Zk;a();var Qk=Lt(Qe,"Promise"),Ql=Qk;a();var eN=Lt(Qe,"Set"),ec=eN;a();var tN=Lt(Qe,"WeakMap"),tc=tN;var l8="[object Map]",rN="[object Object]",c8="[object Promise]",f8="[object Set]",p8="[object WeakMap]",d8="[object DataView]",nN=gn(Zl),oN=gn(Wn),iN=gn(Ql),aN=gn(ec),sN=gn(tc),No=nr;(Zl&&No(new Zl(new ArrayBuffer(1)))!=d8||Wn&&No(new Wn)!=l8||Ql&&No(Ql.resolve())!=c8||ec&&No(new ec)!=f8||tc&&No(new tc)!=p8)&&(No=function(e){var t=nr(e),r=t==rN?e.constructor:void 0,n=r?gn(r):"";if(n)switch(n){case nN:return d8;case oN:return l8;case iN:return c8;case aN:return f8;case sN:return p8}return t});var ea=No;a();var uN=Object.prototype,lN=uN.hasOwnProperty;function cN(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&lN.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var m8=cN;a();a();a();var fN=Qe.Uint8Array,wm=fN;function pN(e){var t=new e.constructor(e.byteLength);return new wm(t).set(new wm(e)),t}var ta=pN;a();function dN(e,t){var r=t?ta(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var h8=dN;a();var mN=/\w*$/;function hN(e){var t=new e.constructor(e.source,mN.exec(e));return t.lastIndex=e.lastIndex,t}var g8=hN;a();var v8=hr?hr.prototype:void 0,y8=v8?v8.valueOf:void 0;function gN(e){return y8?Object(y8.call(e)):{}}var b8=gN;a();function vN(e,t){var r=t?ta(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var C8=vN;var yN="[object Boolean]",bN="[object Date]",CN="[object Map]",xN="[object Number]",wN="[object RegExp]",SN="[object Set]",DN="[object String]",EN="[object Symbol]",TN="[object ArrayBuffer]",PN="[object DataView]",AN="[object Float32Array]",ON="[object Float64Array]",FN="[object Int8Array]",$N="[object Int16Array]",RN="[object Int32Array]",BN="[object Uint8Array]",MN="[object Uint8ClampedArray]",IN="[object Uint16Array]",kN="[object Uint32Array]";function NN(e,t,r){var n=e.constructor;switch(t){case TN:return ta(e);case yN:case bN:return new n(+e);case PN:return h8(e,r);case AN:case ON:case FN:case $N:case RN:case BN:case MN:case IN:case kN:return C8(e,r);case CN:return new n;case xN:case DN:return new n(e);case wN:return g8(e);case SN:return new n;case EN:return b8(e)}}var x8=NN;a();a();var w8=Object.create,VN=function(){function e(){}return function(t){if(!Nr(t))return{};if(w8)return w8(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),S8=VN;function LN(e){return typeof e.constructor=="function"&&!Yi(e)?S8(_i(e)):{}}var D8=LN;a();a();var zN="[object Map]";function HN(e){return Vt(e)&&ea(e)==zN}var E8=HN;var T8=yn&&yn.isMap,GN=T8?Xi(T8):E8,P8=GN;a();a();var jN="[object Set]";function _N(e){return Vt(e)&&ea(e)==jN}var A8=_N;var O8=yn&&yn.isSet,WN=O8?Xi(O8):A8,F8=WN;var UN=1,KN=2,qN=4,$8="[object Arguments]",XN="[object Array]",YN="[object Boolean]",JN="[object Date]",ZN="[object Error]",R8="[object Function]",QN="[object GeneratorFunction]",eV="[object Map]",tV="[object Number]",B8="[object Object]",rV="[object RegExp]",nV="[object Set]",oV="[object String]",iV="[object Symbol]",aV="[object WeakMap]",sV="[object ArrayBuffer]",uV="[object DataView]",lV="[object Float32Array]",cV="[object Float64Array]",fV="[object Int8Array]",pV="[object Int16Array]",dV="[object Int32Array]",mV="[object Uint8Array]",hV="[object Uint8ClampedArray]",gV="[object Uint16Array]",vV="[object Uint32Array]",Me={};Me[$8]=Me[XN]=Me[sV]=Me[uV]=Me[YN]=Me[JN]=Me[lV]=Me[cV]=Me[fV]=Me[pV]=Me[dV]=Me[eV]=Me[tV]=Me[B8]=Me[rV]=Me[nV]=Me[oV]=Me[iV]=Me[mV]=Me[hV]=Me[gV]=Me[vV]=!0;Me[ZN]=Me[R8]=Me[aV]=!1;function rc(e,t,r,n,o,i){var s,u=t&UN,l=t&KN,c=t&qN;if(r&&(s=o?r(e,n,o,i):r(e)),s!==void 0)return s;if(!Nr(e))return e;var f=Vr(e);if(f){if(s=m8(e),!u)return Kl(e,s)}else{var d=ea(e),m=d==R8||d==QN;if(jl(e))return r8(e,u);if(d==B8||d==$8||m&&!o){if(s=l||m?{}:D8(e),!u)return l?a8(e,J9(s,e)):i8(e,q9(s,e))}else{if(!Me[d])return o?e:{};s=x8(e,d,u)}}i||(i=new R9);var g=i.get(e);if(g)return g;i.set(e,s),F8(e)?e.forEach(function(y){s.add(rc(y,t,r,y,e,i))}):P8(e)&&e.forEach(function(y,b){s.set(b,rc(y,t,r,b,e,i))});var v=c?l?u8:s8:l?Zi:Ji,h=f?void 0:v(e);return B9(h||e,function(y,b){h&&(b=y,y=e[b]),Gl(s,b,rc(y,t,r,b,e,i))}),s}var nc=rc;var yV=1,bV=4;function CV(e){return nc(e,yV|bV)}var ra=CV;var bn=dr(N8());import{createContext as QV,useContext as eL,Children as km,useRef as qn,useEffect as Xn,useState as tL,useCallback as et,useMemo as iy,useImperativeHandle as rL,createElement as Yn,useLayoutEffect as nL,forwardRef as oL,Component as iL}from"react";a();var SV=!0;function DV(e,t){if(!SV){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var V8=DV;a();var EV=4;function TV(e){return nc(e,EV)}var Dm=TV;a();a();function PV(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 oc=PV;a();var AV="[object Symbol]";function OV(e){return typeof e=="symbol"||Vt(e)&&nr(e)==AV}var na=OV;a();a();a();var FV="Expected a function";function Em(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(FV);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(Em.Cache||Gs),r}Em.Cache=Gs;var L8=Em;var $V=500;function RV(e){var t=L8(e,function(n){return r.size===$V&&r.clear(),n}),r=t.cache;return t}var z8=RV;var BV=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,MV=/\\(\\)?/g,IV=z8(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(BV,function(r,n,o,i){t.push(o?i.replace(MV,"$1"):n||r)}),t}),H8=IV;a();var kV=1/0;function NV(e){if(typeof e=="string"||na(e))return e;var t=e+"";return t=="0"&&1/e==-kV?"-0":t}var G8=NV;a();a();var VV=1/0,j8=hr?hr.prototype:void 0,_8=j8?j8.toString:void 0;function W8(e){if(typeof e=="string")return e;if(Vr(e))return oc(e,W8)+"";if(na(e))return _8?_8.call(e):"";var t=e+"";return t=="0"&&1/e==-VV?"-0":t}var U8=W8;function LV(e){return e==null?"":U8(e)}var K8=LV;function zV(e){return Vr(e)?oc(e,G8):na(e)?[e]:Kl(H8(K8(e)))}var Tm=zV;var aL=dr(oy());function Fe(){return Fe=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},Fe.apply(this,arguments)}function sL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Lo(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ay(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var gc=QV(void 0);gc.displayName="FormikContext";var uL=gc.Provider,ACe=gc.Consumer;function Ho(){var e=eL(gc);return e||V8(!1),e}var sy=function(t){return Array.isArray(t)&&t.length===0},Pt=function(t){return typeof t=="function"},_s=function(t){return t!==null&&typeof t=="object"},lL=function(t){return String(Math.floor(Number(t)))===t},Rm=function(t){return Object.prototype.toString.call(t)==="[object String]"};var ly=function(t){return km.count(t)===0},Bm=function(t){return _s(t)&&Pt(t.then)};function pt(e,t,r,n){n===void 0&&(n=0);for(var o=Tm(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function Lr(e,t,r){for(var n=Dm(e),o=n,i=0,s=Tm(t);i<s.length-1;i++){var u=s[i],l=pt(e,s.slice(0,i+1));if(l&&(_s(l)||Array.isArray(l)))o=o[u]=Dm(l);else{var c=s[i+1];o=o[u]=lL(c)&&Number(c)>=0?[]:{}}}return(i===0?e:o)[s[i]]===r?e:(r===void 0?delete o[s[i]]:o[s[i]]=r,i===0&&r===void 0&&delete n[s[i]],n)}function cy(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,i=Object.keys(e);o<i.length;o++){var s=i[o],u=e[s];_s(u)?r.get(u)||(r.set(u,!0),n[s]=Array.isArray(u)?[]:{},cy(u,t,r,n[s])):n[s]=t}return n}function cL(e,t){switch(t.type){case"SET_VALUES":return Fe({},e,{values:t.payload});case"SET_TOUCHED":return Fe({},e,{touched:t.payload});case"SET_ERRORS":return(0,bn.default)(e.errors,t.payload)?e:Fe({},e,{errors:t.payload});case"SET_STATUS":return Fe({},e,{status:t.payload});case"SET_ISSUBMITTING":return Fe({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Fe({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Fe({},e,{values:Lr(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Fe({},e,{touched:Lr(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Fe({},e,{errors:Lr(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Fe({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Fe({},e,{touched:cy(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Fe({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Fe({},e,{isSubmitting:!1});default:return e}}var Vo={},hc={};function fL(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,i=e.validateOnMount,s=i===void 0?!1:i,u=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,f=e.onSubmit,d=Lo(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=Fe({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:f},d),g=qn(m.initialValues),v=qn(m.initialErrors||Vo),h=qn(m.initialTouched||hc),y=qn(m.initialStatus),b=qn(!1),x=qn({});Xn(function(){return b.current=!0,function(){b.current=!1}},[]);var w=tL(0),S=w[1],E=qn({values:ra(m.initialValues),errors:ra(m.initialErrors)||Vo,touched:ra(m.initialTouched)||hc,status:ra(m.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),D=E.current,T=et(function($){var X=E.current;E.current=cL(X,$),X!==E.current&&S(function(te){return te+1})},[]),O=et(function($,X){return new Promise(function(te,q){var ae=m.validate($,X);ae==null?te(Vo):Bm(ae)?ae.then(function(Se){te(Se||Vo)},function(Se){q(Se)}):te(ae)})},[m.validate]),F=et(function($,X){var te=m.validationSchema,q=Pt(te)?te(X):te,ae=X&&q.validateAt?q.validateAt(X,$):dL($,q);return new Promise(function(Se,Te){ae.then(function(){Se(Vo)},function(ht){ht.name==="ValidationError"?Se(pL(ht)):Te(ht)})})},[m.validationSchema]),I=et(function($,X){return new Promise(function(te){return te(x.current[$].validate(X))})},[]),G=et(function($){var X=Object.keys(x.current).filter(function(q){return Pt(x.current[q].validate)}),te=X.length>0?X.map(function(q){return I(q,pt($,q))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(te).then(function(q){return q.reduce(function(ae,Se,Te){return Se==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Se&&(ae=Lr(ae,X[Te],Se)),ae},{})})},[I]),k=et(function($){return Promise.all([G($),m.validationSchema?F($):{},m.validate?O($):{}]).then(function(X){var te=X[0],q=X[1],ae=X[2],Se=Il.all([te,q,ae],{arrayMerge:mL});return Se})},[m.validate,m.validationSchema,G,O,F]),H=gr(function($){return $===void 0&&($=D.values),T({type:"SET_ISVALIDATING",payload:!0}),k($).then(function(X){return b.current&&(T({type:"SET_ISVALIDATING",payload:!1}),T({type:"SET_ERRORS",payload:X})),X})});Xn(function(){s&&b.current===!0&&(0,bn.default)(g.current,m.initialValues)&&H(g.current)},[s,H]);var N=et(function($){var X=$&&$.values?$.values:g.current,te=$&&$.errors?$.errors:v.current?v.current:m.initialErrors||{},q=$&&$.touched?$.touched:h.current?h.current:m.initialTouched||{},ae=$&&$.status?$.status:y.current?y.current:m.initialStatus;g.current=X,v.current=te,h.current=q,y.current=ae;var Se=function(){T({type:"RESET_FORM",payload:{isSubmitting:!!$&&!!$.isSubmitting,errors:te,touched:q,status:ae,values:X,isValidating:!!$&&!!$.isValidating,submitCount:$&&$.submitCount&&typeof $.submitCount=="number"?$.submitCount:0}})};if(m.onReset){var Te=m.onReset(D.values,Ae);Bm(Te)?Te.then(Se):Se()}else Se()},[m.initialErrors,m.initialStatus,m.initialTouched,m.onReset]);Xn(function(){b.current===!0&&!(0,bn.default)(g.current,m.initialValues)&&c&&(g.current=m.initialValues,N(),s&&H(g.current))},[c,m.initialValues,N,s,H]),Xn(function(){c&&b.current===!0&&!(0,bn.default)(v.current,m.initialErrors)&&(v.current=m.initialErrors||Vo,T({type:"SET_ERRORS",payload:m.initialErrors||Vo}))},[c,m.initialErrors]),Xn(function(){c&&b.current===!0&&!(0,bn.default)(h.current,m.initialTouched)&&(h.current=m.initialTouched||hc,T({type:"SET_TOUCHED",payload:m.initialTouched||hc}))},[c,m.initialTouched]),Xn(function(){c&&b.current===!0&&!(0,bn.default)(y.current,m.initialStatus)&&(y.current=m.initialStatus,T({type:"SET_STATUS",payload:m.initialStatus}))},[c,m.initialStatus,m.initialTouched]);var M=gr(function($){if(x.current[$]&&Pt(x.current[$].validate)){var X=pt(D.values,$),te=x.current[$].validate(X);return Bm(te)?(T({type:"SET_ISVALIDATING",payload:!0}),te.then(function(q){return q}).then(function(q){T({type:"SET_FIELD_ERROR",payload:{field:$,value:q}}),T({type:"SET_ISVALIDATING",payload:!1})})):(T({type:"SET_FIELD_ERROR",payload:{field:$,value:te}}),Promise.resolve(te))}else if(m.validationSchema)return T({type:"SET_ISVALIDATING",payload:!0}),F(D.values,$).then(function(q){return q}).then(function(q){T({type:"SET_FIELD_ERROR",payload:{field:$,value:pt(q,$)}}),T({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Q=et(function($,X){var te=X.validate;x.current[$]={validate:te}},[]),re=et(function($){delete x.current[$]},[]),se=gr(function($,X){T({type:"SET_TOUCHED",payload:$});var te=X===void 0?o:X;return te?H(D.values):Promise.resolve()}),j=et(function($){T({type:"SET_ERRORS",payload:$})},[]),ne=gr(function($,X){var te=Pt($)?$(D.values):$;T({type:"SET_VALUES",payload:te});var q=X===void 0?r:X;return q?H(te):Promise.resolve()}),ce=et(function($,X){T({type:"SET_FIELD_ERROR",payload:{field:$,value:X}})},[]),pe=gr(function($,X,te){T({type:"SET_FIELD_VALUE",payload:{field:$,value:X}});var q=te===void 0?r:te;return q?H(Lr(D.values,$,X)):Promise.resolve()}),Be=et(function($,X){var te=X,q=$,ae;if(!Rm($)){$.persist&&$.persist();var Se=$.target?$.target:$.currentTarget,Te=Se.type,ht=Se.name,Vn=Se.id,Cr=Se.value,u1=Se.checked,u3=Se.outerHTML,Bi=Se.options,l1=Se.multiple;te=X||ht||Vn,q=/number|range/.test(Te)?(ae=parseFloat(Cr),isNaN(ae)?"":ae):/checkbox/.test(Te)?gL(pt(D.values,te),u1,Cr):Bi&&l1?hL(Bi):Cr}te&&pe(te,q)},[pe,D.values]),A=gr(function($){if(Rm($))return function(X){return Be(X,$)};Be($)}),_=gr(function($,X,te){X===void 0&&(X=!0),T({type:"SET_FIELD_TOUCHED",payload:{field:$,value:X}});var q=te===void 0?o:te;return q?H(D.values):Promise.resolve()}),z=et(function($,X){$.persist&&$.persist();var te=$.target,q=te.name,ae=te.id,Se=te.outerHTML,Te=X||q||ae;_(Te,!0)},[_]),U=gr(function($){if(Rm($))return function(X){return z(X,$)};z($)}),ue=et(function($){Pt($)?T({type:"SET_FORMIK_STATE",payload:$}):T({type:"SET_FORMIK_STATE",payload:function(){return $}})},[]),ee=et(function($){T({type:"SET_STATUS",payload:$})},[]),he=et(function($){T({type:"SET_ISSUBMITTING",payload:$})},[]),we=gr(function(){return T({type:"SUBMIT_ATTEMPT"}),H().then(function($){var X=$ instanceof Error,te=!X&&Object.keys($).length===0;if(te){var q;try{if(q=Ce(),q===void 0)return}catch(ae){throw ae}return Promise.resolve(q).then(function(ae){return b.current&&T({type:"SUBMIT_SUCCESS"}),ae}).catch(function(ae){if(b.current)throw T({type:"SUBMIT_FAILURE"}),ae})}else if(b.current&&(T({type:"SUBMIT_FAILURE"}),X))throw $})}),De=gr(function($){if($&&$.preventDefault&&Pt($.preventDefault)&&$.preventDefault(),$&&$.stopPropagation&&Pt($.stopPropagation)&&$.stopPropagation(),0)var X;we().catch(function(te){console.warn("Warning: An unhandled error was caught from submitForm()",te)})}),Ae={resetForm:N,validateForm:H,validateField:M,setErrors:j,setFieldError:ce,setFieldTouched:_,setFieldValue:pe,setStatus:ee,setSubmitting:he,setTouched:se,setValues:ne,setFormikState:ue,submitForm:we},Ce=gr(function(){return f(D.values,Ae)}),je=gr(function($){$&&$.preventDefault&&Pt($.preventDefault)&&$.preventDefault(),$&&$.stopPropagation&&Pt($.stopPropagation)&&$.stopPropagation(),N()}),Ye=et(function($){return{value:pt(D.values,$),error:pt(D.errors,$),touched:!!pt(D.touched,$),initialValue:pt(g.current,$),initialTouched:!!pt(h.current,$),initialError:pt(v.current,$)}},[D.errors,D.touched,D.values]),Ne=et(function($){return{setValue:function(te,q){return pe($,te,q)},setTouched:function(te,q){return _($,te,q)},setError:function(te){return ce($,te)}}},[pe,_,ce]),Tt=et(function($){var X=_s($),te=X?$.name:$,q=pt(D.values,te),ae={name:te,value:q,onChange:A,onBlur:U};if(X){var Se=$.type,Te=$.value,ht=$.as,Vn=$.multiple;Se==="checkbox"?Te===void 0?ae.checked=!!q:(ae.checked=!!(Array.isArray(q)&&~q.indexOf(Te)),ae.value=Te):Se==="radio"?(ae.checked=q===Te,ae.value=Te):ht==="select"&&Vn&&(ae.value=ae.value||[],ae.multiple=!0)}return ae},[U,A,D.values]),Ct=iy(function(){return!(0,bn.default)(g.current,D.values)},[g.current,D.values]),st=iy(function(){return typeof u<"u"?Ct?D.errors&&Object.keys(D.errors).length===0:u!==!1&&Pt(u)?u(m):u:D.errors&&Object.keys(D.errors).length===0},[u,Ct,D.errors,m]),ut=Fe({},D,{initialValues:g.current,initialErrors:v.current,initialTouched:h.current,initialStatus:y.current,handleBlur:U,handleChange:A,handleReset:je,handleSubmit:De,resetForm:N,setErrors:j,setFormikState:ue,setFieldTouched:_,setFieldValue:pe,setFieldError:ce,setStatus:ee,setSubmitting:he,setTouched:se,setValues:ne,submitForm:we,validateForm:H,validateField:M,isValid:st,dirty:Ct,unregisterField:re,registerField:Q,getFieldProps:Tt,getFieldMeta:Ye,getFieldHelpers:Ne,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return ut}function fy(e){var t=fL(e),r=e.component,n=e.children,o=e.render,i=e.innerRef;return rL(i,function(){return t}),Yn(uL,{value:t},r?Yn(r,t):o?o(t):n?Pt(n)?n(t):ly(n)?null:km.only(n):null)}function pL(e){var t={};if(e.inner){if(e.inner.length===0)return Lr(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var i;if(r){if(n>=o.length)break;i=o[n++]}else{if(n=o.next(),n.done)break;i=n.value}var s=i;pt(t,s.path)||(t=Lr(t,s.path,s.message))}}return t}function dL(e,t,r,n){r===void 0&&(r=!1);var o=Im(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function Im(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||vm(o)?Im(o):o!==""?o:void 0}):vm(e[n])?t[n]=Im(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function mL(e,t,r){var n=e.slice();return t.forEach(function(i,s){if(typeof n[s]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(i);n[s]=l?Il(Array.isArray(i)?[]:{},i,r):i}else r.isMergeableObject(i)?n[s]=Il(e[s],i,r):e.indexOf(i)===-1&&n.push(i)}),n}function hL(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function gL(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,i=-1;if(Array.isArray(e))n=e,i=e.indexOf(r),o=i>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,i).concat(n.slice(i+1)):n}var vL=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?nL:Xn;function gr(e){var t=qn(e);return vL(function(){t.current=e}),et(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 py(e){var t=e.validate,r=e.name,n=e.render,o=e.children,i=e.as,s=e.component,u=e.className,l=Lo(e,["validate","name","render","children","as","component","className"]),c=Ho(),f=Lo(c,["validate","validationSchema"]),d=f.registerField,m=f.unregisterField;Xn(function(){return d(r,{validate:t}),function(){m(r)}},[d,m,r,t]);var g=f.getFieldProps(Fe({name:r},l)),v=f.getFieldMeta(r),h={field:g,form:f};if(n)return n(Fe({},h,{meta:v}));if(Pt(o))return o(Fe({},h,{meta:v}));if(s){if(typeof s=="string"){var y=l.innerRef,b=Lo(l,["innerRef"]);return Yn(s,Fe({ref:y},g,b,{className:u}),o)}return Yn(s,Fe({field:g,form:f},l,{className:u}),o)}var x=i||"input";if(typeof x=="string"){var w=l.innerRef,S=Lo(l,["innerRef"]);return Yn(x,Fe({ref:w},g,S,{className:u}),o)}return Yn(x,Fe({},g,l,{className:u}),o)}var Nm=oL(function(e,t){var r=e.action,n=Lo(e,["action"]),o=r??"#",i=Ho(),s=i.handleReset,u=i.handleSubmit;return Yn("form",Fe({onSubmit:u,ref:t,onReset:s,action:o},n))});Nm.displayName="Form";var yL=function(t,r,n){var o=zo(t),i=o[r];return o.splice(r,1),o.splice(n,0,i),o},bL=function(t,r,n){var o=zo(t),i=o[r];return o[r]=o[n],o[n]=i,o},Mm=function(t,r,n){var o=zo(t);return o.splice(r,0,n),o},CL=function(t,r,n){var o=zo(t);return o[r]=n,o},zo=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(Fe({},t,{length:r+1}))}else return[]},uy=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||_s(o)){var i=zo(o);return n(i)}return o}},xL=function(e){sL(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(i,s,u){var l=o.props,c=l.name,f=l.formik.setFormikState;f(function(d){var m=uy(u,i),g=uy(s,i),v=Lr(d.values,c,i(pt(d.values,c))),h=u?m(pt(d.errors,c)):void 0,y=s?g(pt(d.touched,c)):void 0;return sy(h)&&(h=void 0),sy(y)&&(y=void 0),Fe({},d,{values:v,errors:u?Lr(d.errors,c,h):d.errors,touched:s?Lr(d.touched,c,y):d.touched})})},o.push=function(i){return o.updateArrayField(function(s){return[].concat(zo(s),[ra(i)])},!1,!1)},o.handlePush=function(i){return function(){return o.push(i)}},o.swap=function(i,s){return o.updateArrayField(function(u){return bL(u,i,s)},!0,!0)},o.handleSwap=function(i,s){return function(){return o.swap(i,s)}},o.move=function(i,s){return o.updateArrayField(function(u){return yL(u,i,s)},!0,!0)},o.handleMove=function(i,s){return function(){return o.move(i,s)}},o.insert=function(i,s){return o.updateArrayField(function(u){return Mm(u,i,s)},function(u){return Mm(u,i,null)},function(u){return Mm(u,i,null)})},o.handleInsert=function(i,s){return function(){return o.insert(i,s)}},o.replace=function(i,s){return o.updateArrayField(function(u){return CL(u,i,s)},!1,!1)},o.handleReplace=function(i,s){return function(){return o.replace(i,s)}},o.unshift=function(i){var s=-1;return o.updateArrayField(function(u){var l=u?[i].concat(u):[i];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(i){return function(){return o.unshift(i)}},o.handleRemove=function(i){return function(){return o.remove(i)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(ay(o)),o.pop=o.pop.bind(ay(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,bn.default)(pt(o.formik.values,o.name),pt(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var i;return this.updateArrayField(function(s){var u=s?zo(s):[];return i||(i=u[o]),Pt(u.splice)&&u.splice(o,1),Pt(u.every)&&u.every(function(l){return l===void 0})?[]:u},!0,!0),i},r.pop=function(){var o;return this.updateArrayField(function(i){var s=i.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},i=this.props,s=i.component,u=i.render,l=i.children,c=i.name,f=i.formik,d=Lo(f,["validate","validationSchema"]),m=Fe({},o,{form:d,name:c});return s?Yn(s,m):u?u(m):l?typeof l=="function"?l(m):ly(l)?null:km.only(l):null},t}(iL);xL.defaultProps={validateOnChange:!0};a();a();import{useState as wL}from"react";var SL=()=>{let[e,t]=wL(!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]};a();a();import{useMemo as DL}from"react";var EL=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,vc=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:i,eventOptions:s}=r,u=DL(()=>{let l=EL(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&l(c))return t(c)}},n);pm(o,u,i,s)};a();a();import{useState as TL}from"react";var Vm=e=>{let[t,r]=TL([!1,null]);return vc(e,n=>r([!0,n]),{eventName:"keydown"},[t]),vc(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};a();a();a();a();import{useEffect as PL,useRef as AL}from"react";var Lm=(e,t)=>{let r=AL(!0);PL(()=>r.current?(r.current=!1,()=>{}):e(),t)};var zm=(e,t=void 0,r=void 0)=>{let[n,o]=Vm(e);Lm(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};a();a();import{useState as OL}from"react";var FL=(e,t,r=window.localStorage)=>{let[n,o]=OL(()=>{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)}]};a();a();var Ws=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};a();a();a();a();import{useState as RL,useLayoutEffect as BL}from"react";a();function $L(e,t,r){var n=r||{},o=n.noTrailing,i=o===void 0?!1:o,s=n.noLeading,u=s===void 0?!1:s,l=n.debounceMode,c=l===void 0?void 0:l,f,d=!1,m=0;function g(){f&&clearTimeout(f)}function v(y){var b=y||{},x=b.upcomingOnly,w=x===void 0?!1:x;g(),d=!w}function h(){for(var y=arguments.length,b=new Array(y),x=0;x<y;x++)b[x]=arguments[x];var w=this,S=Date.now()-m;if(d)return;function E(){m=Date.now(),t.apply(w,b)}function D(){f=void 0}!u&&c&&!f&&E(),g(),c===void 0&&S>e?u?(m=Date.now(),i||(f=setTimeout(c?D:E,e))):E():i!==!0&&(f=setTimeout(c?D:E,c===void 0?e-S:e))}return h.cancel=v,h}function Us(e,t,r){var n=r||{},o=n.atBegin,i=o===void 0?!1:o;return $L(e,t,{debounceMode:i!==!1})}a();var Hm=()=>typeof window<"u"&&typeof document<"u";var Gm=(e=0)=>{let[t,r]=RL({width:Hm()?window.innerWidth:0,height:Hm()?window.innerHeight:0});return BL(()=>{let n=Us(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var ML=16,Go=()=>{let e=Gm().width/ML,t=hn(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),i=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),f=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:i,isXlAndUp:s,isXsAndDown:u,isSmAndDown:l,isMdAndDown:c,isLgAndDown:f,isXlAndDown:!0}};a();a();import{useEffect as IL}from"react";var Ks=(e,t)=>{IL(()=>{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])};a();a();import{useLayoutEffect as kL}from"react";var jm=e=>{kL(()=>{if(e){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}return()=>{}},[e])};a();a();import{useEffect as NL,useRef as VL}from"react";var qs=e=>{let t=VL();return NL(()=>{t.current=e}),t.current};a();a();import Kf from"styled-components";a();a();var Ox=dr(bc());import{useEffect as ri,useRef as Ex,useState as Tx,useCallback as Px}from"react";import{createPortal as ZG}from"react-dom";import{createGlobalStyle as QG}from"styled-components";a();a();import{Children as UG}from"react";a();a();a();import{jsxs as oz,jsx as iz}from"react/jsx-runtime";import{forwardRef as az,useContext as Oc}from"react";a();import{createContext as jL}from"react";var oa=jL({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});a();import{createContext as _L}from"react";var Jn=_L({});a();import{useContext as Ec,useRef as hy,useInsertionEffect as JL,useEffect as ZL}from"react";a();import{createContext as WL}from"react";var Zn=WL(null);a();import{useLayoutEffect as UL,useEffect as KL}from"react";a();var ia=typeof document<"u";var aa=ia?UL:KL;a();import{createContext as qL}from"react";var Cc=qL({strict:!1});a();a();var sa=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var XL="framerAppearId",xc="data-"+sa(XL);a();a();a();var ua={skipAnimations:!1,useManualTiming:!1};a();var wc=class{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}};function my(e){let t=new wc,r=new wc,n=0,o=!1,i=!1,s=new WeakSet,u={schedule:(l,c=!1,f=!1)=>{let d=f&&o,m=d?t:r;return c&&s.add(l),m.add(l)&&d&&o&&(n=t.order.length),l},cancel:l=>{r.remove(l),s.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let c=0;c<n;c++){let f=t.order[c];s.has(f)&&(u.schedule(f),e()),f(l)}o=!1,i&&(i=!1,u.process(l))}};return u}var Sc=["read","resolveKeyframes","update","preRender","render","postRender"],YL=40;function Dc(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},i=Sc.reduce((d,m)=>(d[m]=my(()=>r=!0),d),{}),s=d=>{i[d].process(o)},u=()=>{let d=ua.useManualTiming?o.timestamp:performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(d-o.timestamp,YL),1),o.timestamp=d,o.isProcessing=!0,Sc.forEach(s),o.isProcessing=!1,r&&t&&(n=!1,e(u))},l=()=>{r=!0,n=!0,o.isProcessing||e(u)};return{schedule:Sc.reduce((d,m)=>{let g=i[m];return d[m]=(v,h=!1,y=!1)=>(r||l(),g.schedule(v,h,y)),d},{}),cancel:d=>Sc.forEach(m=>i[m].cancel(d)),state:o,steps:i}}var{schedule:la,cancel:Hwe}=Dc(queueMicrotask,!1);function gy(e,t,r,n){let{visualElement:o}=Ec(Jn),i=Ec(Cc),s=Ec(Zn),u=Ec(oa).reducedMotion,l=hy();n=n||i.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:u}));let c=l.current;JL(()=>{c&&c.update(r,s)});let f=hy(!!(r[xc]&&!window.HandoffComplete));return aa(()=>{c&&(la.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),ZL(()=>{c&&(c.updateFeatures(),!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,window.HandoffComplete=!0))}),c}a();import{useCallback as QL}from"react";a();function Cn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function vy(e,t,r){return QL(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Cn(r)&&(r.current=n))},[t])}a();import{useContext as ez,useMemo as tz}from"react";a();a();function xn(e){return typeof e=="string"||Array.isArray(e)}a();a();function Qn(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}a();var Tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Xs=["initial",...Tc];function jo(e){return Qn(e.animate)||Xs.some(t=>xn(e[t]))}function Pc(e){return!!(jo(e)||e.variants)}function yy(e,t){if(jo(e)){let{initial:r,animate:n}=e;return{initial:r===!1||xn(r)?r:void 0,animate:xn(n)?n:void 0}}return e.inherit!==!1?t:{}}function Cy(e){let{initial:t,animate:r}=yy(e,ez(Jn));return tz(()=>({initial:t,animate:r}),[by(t),by(r)])}function by(e){return Array.isArray(e)?e.join(" "):e}a();a();var xy={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"]},_o={};for(let e in xy)_o[e]={isEnabled:t=>xy[e].some(r=>!!t[r])};function wy(e){for(let t in e)_o[t]={..._o[t],...e[t]}}a();import{createContext as rz}from"react";var ca=rz({});a();import{createContext as nz}from"react";var Ac=nz({});a();var Sy=Symbol.for("motionComponentSymbol");function Dy({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&wy(e);function i(u,l){let c,f={...Oc(oa),...u,layoutId:sz(u)},{isStatic:d}=f,m=Cy(u),g=n(u,d);if(!d&&ia){m.visualElement=gy(o,g,f,t);let v=Oc(Ac),h=Oc(Cc).strict;m.visualElement&&(c=m.visualElement.loadFeatures(f,h,e,v))}return oz(Jn.Provider,{value:m,children:[c&&m.visualElement?iz(c,{visualElement:m.visualElement,...f}):null,r(o,u,vy(g,m.visualElement,l),g,d,m.visualElement)]})}let s=az(i);return s[Sy]=o,s}function sz({layoutId:e}){let t=Oc(ca).id;return t&&e!==void 0?t+"-"+e:e}a();function Ey(e){function t(n,o={}){return Dy(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))})}a();a();a();var Ty=["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 fa(e){return typeof e!="string"||e.includes("-")?!1:!!(Ty.indexOf(e)>-1||/[A-Z]/u.test(e))}a();import{Fragment as wz,useMemo as Sz,createElement as Dz}from"react";a();import{useMemo as pz}from"react";a();a();var pa={};function Py(e){Object.assign(pa,e)}a();var eo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],zt=new Set(eo);function Fc(e,{layout:t,layoutId:r}){return zt.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!pa[e]||e==="opacity")}a();var Ie=e=>!!(e&&e.getVelocity);a();a();var uz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},lz=eo.length;function Ay(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let s=0;s<lz;s++){let u=eo[s];if(e[u]!==void 0){let l=uz[u]||u;i+=`${l}(${e[u]}) `}}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,n?"":i):r&&n&&(i="none"),i}a();var Oy=e=>t=>typeof t=="string"&&t.startsWith(e),$c=Oy("--"),cz=Oy("var(--"),da=e=>cz(e)?fz.test(e.split("/*")[0].trim()):!1,fz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;a();var Fy=(e,t)=>t&&typeof e=="number"?t.transform(e):e;a();a();a();var At=(e,t,r)=>r>t?t:r<e?e:r;var zr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},to={...zr,transform:e=>At(0,1,e)},Ys={...zr,default:1};a();a();var ro=e=>Math.round(e*1e5)/1e5,ma=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,$y=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Ry=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function wn(e){return typeof e=="string"}var Js=e=>({test:t=>wn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Hr=Js("deg"),Ot=Js("%"),oe=Js("px"),By=Js("vh"),My=Js("vw"),_m={...Ot,parse:e=>Ot.parse(e)/100,transform:e=>Ot.transform(e*100)};a();var Wm={...zr,transform:Math.round};var Rc={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scale:Ys,scaleX:Ys,scaleY:Ys,scaleZ:Ys,skew:Hr,skewX:Hr,skewY:Hr,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:to,originX:_m,originY:_m,originZ:oe,zIndex:Wm,backgroundPositionX:oe,backgroundPositionY:oe,fillOpacity:to,strokeOpacity:to,numOctaves:Wm};function ha(e,t,r,n){let{style:o,vars:i,transform:s,transformOrigin:u}=e,l=!1,c=!1,f=!0;for(let d in t){let m=t[d];if($c(d)){i[d]=m;continue}let g=Rc[d],v=Fy(m,g);if(zt.has(d)){if(l=!0,s[d]=v,!f)continue;m!==(g.default||0)&&(f=!1)}else d.startsWith("origin")?(c=!0,u[d]=v):o[d]=v}if(t.transform||(l||n?o.transform=Ay(e.transform,r,f,n):o.transform&&(o.transform="none")),c){let{originX:d="50%",originY:m="50%",originZ:g=0}=u;o.transformOrigin=`${d} ${m} ${g}`}}a();var ga=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Um(e,t,r){for(let n in t)!Ie(t[n])&&!Fc(n,r)&&(e[n]=t[n])}function dz({transformTemplate:e},t,r){return pz(()=>{let n=ga();return ha(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function mz(e,t,r){let n=e.style||{},o={};return Um(o,n,e),Object.assign(o,dz(e,t,r)),o}function Iy(e,t,r){let n={},o=mz(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}a();a();var hz=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 Zs(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||hz.has(e)}var zy=e=>!Zs(e);function yz(e){e&&(zy=t=>t.startsWith("on")?!Zs(t):e(t))}try{yz((Ly(),KF(Vy)).default)}catch{}function Hy(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(zy(o)||r===!0&&Zs(o)||!t&&!Zs(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}a();import{useMemo as xz}from"react";a();a();function Gy(e,t,r){return typeof e=="string"?e:oe.transform(t+r*e)}function jy(e,t,r){let n=Gy(t,e.x,e.width),o=Gy(r,e.y,e.height);return`${n} ${o}`}a();var bz={offset:"stroke-dashoffset",array:"stroke-dasharray"},Cz={offset:"strokeDashoffset",array:"strokeDasharray"};function _y(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?bz:Cz;e[i.offset]=oe.transform(-n);let s=oe.transform(t),u=oe.transform(r);e[i.array]=`${s} ${u}`}function va(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:s,pathSpacing:u=1,pathOffset:l=0,...c},f,d,m){if(ha(e,c,f,m),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:g,style:v,dimensions:h}=e;g.transform&&(h&&(v.transform=g.transform),delete g.transform),h&&(o!==void 0||i!==void 0||v.transform)&&(v.transformOrigin=jy(h,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(g.x=t),r!==void 0&&(g.y=r),n!==void 0&&(g.scale=n),s!==void 0&&_y(g,s,u,l,!1)}a();var Bc=()=>({...ga(),attrs:{}});a();var ya=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Wy(e,t,r,n){let o=xz(()=>{let i=Bc();return va(i,t,{enableHardwareAcceleration:!1},ya(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let i={};Um(i,e.style,e),o.style={...i,...o.style}}return o}function Uy(e=!1){return(r,n,o,{latestValues:i},s)=>{let l=(fa(r)?Wy:Iy)(n,i,s,r),c=Hy(n,typeof r=="string",e),f=r!==wz?{...c,...l,ref:o}:{},{children:d}=n,m=Sz(()=>Ie(d)?d.get():d,[d]);return Dz(r,{...f,children:m})}}a();a();a();function Mc(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(let i in r)e.style.setProperty(i,r[i])}a();var Ic=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 kc(e,t,r,n){Mc(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(Ic.has(o)?o:sa(o),t.attrs[o])}a();a();function ba(e,t,r){var n;let{style:o}=e,i={};for(let s in o)(Ie(o[s])||t.style&&Ie(t.style[s])||Fc(s,e)||((n=r?.getValue(s))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(i[s]=o[s]);return i}function Nc(e,t,r){let n=ba(e,t,r);for(let o in e)if(Ie(e[o])||Ie(t[o])){let i=eo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[i]=e[o]}return n}a();import{useContext as Yy}from"react";a();function Ky(e){let t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function Ca(e,t,r,n){if(typeof t=="function"){let[o,i]=Ky(n);t=t(r!==void 0?r:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,i]=Ky(n);t=t(r!==void 0?r:e.custom,o,i)}return t}a();import{useRef as Ez}from"react";function Vc(e){let t=Ez(null);return t.current===null&&(t.current=e()),t.current}a();a();a();var Qs=e=>Array.isArray(e);var qy=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Xy=e=>Qs(e)?e[e.length-1]||0:e;function xa(e){let t=Ie(e)?e.get():e;return qy(t)?t.toValue():t}function Tz({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){let s={latestValues:Pz(n,o,i,e),renderState:t()};return r&&(s.mount=u=>r(n,u,s)),s}var Lc=e=>(t,r)=>{let n=Yy(Jn),o=Yy(Zn),i=()=>Tz(e,t,n,o);return r?i():Vc(i)};function Pz(e,t,r,n){let o={},i=n(e,{});for(let m in i)o[m]=xa(i[m]);let{initial:s,animate:u}=e,l=jo(e),c=Pc(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),u===void 0&&(u=t.animate));let f=r?r.initial===!1:!1;f=f||s===!1;let d=f?u:s;return d&&typeof d!="boolean"&&!Qn(d)&&(Array.isArray(d)?d:[d]).forEach(g=>{let v=Ca(e,g);if(!v)return;let{transitionEnd:h,transition:y,...b}=v;for(let x in b){let w=b[x];if(Array.isArray(w)){let S=f?w.length-1:0;w=w[S]}w!==null&&(o[x]=w)}for(let x in h)o[x]=h[x]}),o}a();a();var $e=e=>e;var{schedule:le,cancel:Ft,state:qe,steps:zc}=Dc(typeof requestAnimationFrame<"u"?requestAnimationFrame:$e,!0);var Jy={useVisualState:Lc({scrapeMotionValuesFromProps:Nc,createRenderState:Bc,onMount:(e,t,{renderState:r,latestValues:n})=>{le.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),le.render(()=>{va(r,n,{enableHardwareAcceleration:!1},ya(t.tagName),e.transformTemplate),kc(t,r)})}})};a();var Zy={useVisualState:Lc({scrapeMotionValuesFromProps:ba,createRenderState:ga})};function Qy(e,{forwardMotionProps:t=!1},r,n){return{...fa(e)?Jy:Zy,preloadedFeatures:r,useRender:Uy(t),createVisualElement:n,Component:e}}a();a();a();a();function Ht(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}a();a();var Hc=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Wo(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var eb=e=>t=>Hc(t)&&e(t,Wo(t));function Gt(e,t,r,n){return Ht(e,t,eb(r),n)}a();var Az=(e,t)=>r=>t(e(r)),wt=(...e)=>e.reduce(Az);a();function nb(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var tb=nb("dragHorizontal"),rb=nb("dragVertical");function Km(e){let t=!1;if(e==="y")t=rb();else if(e==="x")t=tb();else{let r=tb(),n=rb();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Gc(){let e=Km(!0);return e?(e(),!1):!0}a();var dt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function ob(e,t){let r=t?"pointerenter":"pointerleave",n=t?"onHoverStart":"onHoverEnd",o=(i,s)=>{if(i.pointerType==="touch"||Gc())return;let u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);let l=u[n];l&&le.postRender(()=>l(i,s))};return Gt(e.current,r,o,{passive:!e.getProps()[n]})}var jc=class extends dt{mount(){this.unmount=wt(ob(this.node,!0),ob(this.node,!1))}unmount(){}};a();var _c=class extends dt{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=wt(Ht(this.node.current,"focus",()=>this.onFocus()),Ht(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};a();a();var qm=(e,t)=>t?e===t?!0:qm(e,t.parentElement):!1;function Xm(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,Wo(r))}var Wc=class extends dt{constructor(){super(...arguments),this.removeStartListeners=$e,this.removeEndListeners=$e,this.removeAccessibleListeners=$e,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=Gt(window,"pointerup",(u,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:f,globalTapTarget:d}=this.node.getProps(),m=!d&&!qm(this.node.current,u.target)?f:c;m&&le.update(()=>m(u,l))},{passive:!(n.onTap||n.onPointerUp)}),s=Gt(window,"pointercancel",(u,l)=>this.cancelPress(u,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=wt(i,s),this.startPress(t,r)},this.startAccessiblePress=()=>{let t=i=>{if(i.key!=="Enter"||this.isPressing)return;let s=u=>{u.key!=="Enter"||!this.checkPressEnd()||Xm("up",(l,c)=>{let{onTap:f}=this.node.getProps();f&&le.postRender(()=>f(l,c))})};this.removeEndListeners(),this.removeEndListeners=Ht(this.node.current,"keyup",s),Xm("down",(u,l)=>{this.startPress(u,l)})},r=Ht(this.node.current,"keydown",t),n=()=>{this.isPressing&&Xm("cancel",(i,s)=>this.cancelPress(i,s))},o=Ht(this.node.current,"blur",n);this.removeAccessibleListeners=wt(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&&le.postRender(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Gc()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&le.postRender(()=>n(t,r))}mount(){let t=this.node.getProps(),r=Gt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Ht(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=wt(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}};a();a();var Jm=new WeakMap,Ym=new WeakMap,Oz=e=>{let t=Jm.get(e.target);t&&t(e)},Fz=e=>{e.forEach(Oz)};function $z({root:e,...t}){let r=e||document;Ym.has(r)||Ym.set(r,{});let n=Ym.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(Fz,{root:e,...t})),n[o]}function ib(e,t,r){let n=$z(t);return Jm.set(e,r),n.observe(e),()=>{Jm.delete(e),n.unobserve(e)}}var Rz={some:0,all:1},Uc=class extends dt{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:i}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:Rz[o]},u=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:f,onViewportLeave:d}=this.node.getProps(),m=c?f:d;m&&m(l)};return ib(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(Bz(t,r))&&this.startObserver()}unmount(){}};function Bz({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var ab={inView:{Feature:Uc},tap:{Feature:Wc},focus:{Feature:_c},hover:{Feature:jc}};a();a();a();a();function Zm(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}a();function no(e,t,r){let n=e.getProps();return Ca(n,t,r!==void 0?r:n.custom,e)}a();a();a();a();var jt=e=>e*1e3,_t=e=>e/1e3;a();var Mz={type:"spring",stiffness:500,damping:25,restSpeed:10},Iz=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kz={type:"keyframes",duration:.8},Nz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sb=(e,{keyframes:t})=>t.length>2?kz:zt.has(e)?e.startsWith("scale")?Iz(t[1]):Mz:Nz;a();function ub({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:u,from:l,elapsed:c,...f}){return!!Object.keys(f).length}function wa(e,t){return e[t]||e.default||e}a();var Kc={current:!1};a();var Vz=e=>e!==null;function oo(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(Vz),i=t&&r!=="loop"&&t%2===1?0:o.length-1;return!i||n===void 0?o[i]:n}a();a();var qc;function Lz(){qc=void 0}var ir={now:()=>(qc===void 0&&ir.set(qe.isProcessing||ua.useManualTiming?qe.timestamp:performance.now()),qc),set:e=>{qc=e,queueMicrotask(Lz)}};a();a();a();var Xc=e=>/^0[^.\s]+$/u.test(e);function lb(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xc(e):!0}a();a();var io=$e,Sr=$e;a();var Yc=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var zz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hz(e){let t=zz.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var Gz=4;function Qm(e,t,r=1){Sr(r<=Gz,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=Hz(e);if(!n)return;let i=window.getComputedStyle(t).getPropertyValue(n);if(i){let s=i.trim();return Yc(s)?parseFloat(s):s}return da(o)?Qm(o,t,r+1):o}a();var pb=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),e0=e=>e===zr||e===oe,cb=(e,t)=>parseFloat(e.split(", ")[t]),fb=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/u);if(o)return cb(o[1],t);{let i=n.match(/^matrix\((.+)\)$/u);return i?cb(i[1],e):0}},jz=new Set(["x","y","z"]),_z=eo.filter(e=>!jz.has(e));function db(e){let t=[];return _z.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var Uo={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:fb(4,13),y:fb(5,14)};Uo.translateX=Uo.x;Uo.translateY=Uo.y;a();a();var Jc=e=>t=>t.test(e);a();var mb={test:e=>e==="auto",parse:e=>e};var t0=[zr,oe,Ot,Hr,My,By,mb],r0=e=>t0.find(Jc(e));a();var Ko=new Set,n0=!1,o0=!1;function hb(){if(o0){let e=Array.from(Ko).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=db(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(([i,s])=>{var u;(u=n.getValue(i))===null||u===void 0||u.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}o0=!1,n0=!1,Ko.forEach(e=>e.complete()),Ko.clear()}function gb(){Ko.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(o0=!0)})}function vb(){gb(),hb()}var ao=class{constructor(t,r,n,o,i,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=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ko.add(this),n0||(n0=!0,le.read(gb),le.resolveKeyframes(hb))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===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[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ko.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ko.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};a();a();a();a();a();a();var Sa=(e,t)=>r=>!!(wn(r)&&Ry.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Zc=(e,t,r)=>n=>{if(!wn(n))return n;let[o,i,s,u]=n.match(ma);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:u!==void 0?parseFloat(u):1}};var Wz=e=>At(0,255,e),i0={...zr,transform:e=>Math.round(Wz(e))},Gr={test:Sa("rgb","red"),parse:Zc("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+i0.transform(e)+", "+i0.transform(t)+", "+i0.transform(r)+", "+ro(to.transform(n))+")"};function Uz(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 eu={test:Sa("#"),parse:Uz,transform:Gr.transform};a();var so={test:Sa("hsl","hue"),parse:Zc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ot.transform(ro(t))+", "+Ot.transform(ro(r))+", "+ro(to.transform(n))+")"};var tt={test:e=>Gr.test(e)||eu.test(e)||so.test(e),parse:e=>Gr.test(e)?Gr.parse(e):so.test(e)?so.parse(e):eu.parse(e),transform:e=>wn(e)?e:e.hasOwnProperty("red")?Gr.transform(e):so.transform(e)};function Kz(e){var t,r;return isNaN(e)&&wn(e)&&(((t=e.match(ma))===null||t===void 0?void 0:t.length)||0)+(((r=e.match($y))===null||r===void 0?void 0:r.length)||0)>0}var bb="number",Cb="color",qz="var",Xz="var(",yb="${}",Yz=/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 qo(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],i=0,u=t.replace(Yz,l=>(tt.test(l)?(n.color.push(i),o.push(Cb),r.push(tt.parse(l))):l.startsWith(Xz)?(n.var.push(i),o.push(qz),r.push(l)):(n.number.push(i),o.push(bb),r.push(parseFloat(l))),++i,yb)).split(yb);return{values:r,split:u,indexes:n,types:o}}function xb(e){return qo(e).values}function wb(e){let{split:t,types:r}=qo(e),n=t.length;return o=>{let i="";for(let s=0;s<n;s++)if(i+=t[s],o[s]!==void 0){let u=r[s];u===bb?i+=ro(o[s]):u===Cb?i+=tt.transform(o[s]):i+=o[s]}return i}}var Jz=e=>typeof e=="number"?0:e;function Zz(e){let t=xb(e);return wb(e)(t.map(Jz))}var $t={test:Kz,parse:xb,createTransformer:wb,getAnimatableNone:Zz};a();a();var Qz=new Set(["brightness","contrast","saturate","opacity"]);function eH(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(ma)||[];if(!n)return e;let o=r.replace(n,""),i=Qz.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}var tH=/\b([a-z-]*)\(.*?\)/gu,tu={...$t,getAnimatableNone:e=>{let t=e.match(tH);return t?t.map(eH).join(" "):e}};a();var rH={...Rc,color:tt,backgroundColor:tt,outlineColor:tt,fill:tt,stroke:tt,borderColor:tt,borderTopColor:tt,borderRightColor:tt,borderBottomColor:tt,borderLeftColor:tt,filter:tu,WebkitFilter:tu},Da=e=>rH[e];function Qc(e,t){let r=Da(e);return r!==tu&&(r=$t),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var nH=new Set(["auto","none","0"]);function Sb(e,t,r){let n=0,o;for(;n<e.length&&!o;){let i=e[n];typeof i=="string"&&!nH.has(i)&&qo(i).values.length&&(o=e[n]),n++}if(o&&r)for(let i of t)e[i]=Qc(r,o)}var Ea=class extends ao{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(),da(c))){let f=Qm(c,r.current);f!==void 0&&(t[l]=f),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!pb.has(n)||t.length!==2)return;let[o,i]=t,s=r0(o),u=r0(i);if(s!==u)if(e0(s)&&e0(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++)lb(t[o])&&n.push(o);n.length&&Sb(t,n,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:n}=this;if(!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Uo[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 i=r.getValue(n);i&&i.jump(this.measuredOrigin,!1);let s=o.length-1,u=o[s];o[s]=Uo[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()}};a();function ef(e){let t;return()=>(t===void 0&&(t=e()),t)}a();a();a();var a0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&($t.test(e)||e==="0")&&!e.startsWith("url("));function oH(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 Db(e,t,r,n){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let i=e[e.length-1],s=a0(o,t),u=a0(i,t);return io(s===u,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!s||!u?!1:oH(e)||r==="spring"&&n}var Ta=class{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:i,repeatType:s,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&vb(),this._resolved}onKeyframesResolved(t,r){this.hasAttemptedResolve=!0;let{name:n,type:o,velocity:i,delay:s,onComplete:u,onUpdate:l,isGenerator:c}=this.options;if(!c&&!Db(t,n,o,i))if(Kc.current||!s){l?.(oo(t,this.options,r)),u?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let f=this.initPlayback(t,r);f!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...f},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};a();a();a();a();function tf(e,t){return t?e*(1e3/t):0}var iH=5;function rf(e,t,r){let n=Math.max(t-iH,0);return tf(r-e(n),t-n)}a();var s0=.001,aH=.01,Eb=10,sH=.05,uH=1;function Tb({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;io(e<=jt(Eb),"Spring duration must be 10 seconds or less");let s=1-t;s=At(sH,uH,s),e=At(aH,Eb,_t(e)),s<1?(o=c=>{let f=c*s,d=f*e,m=f-r,g=nf(c,s),v=Math.exp(-d);return s0-m/g*v},i=c=>{let d=c*s*e,m=d*r+r,g=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-d),h=nf(Math.pow(c,2),s);return(-o(c)+s0>0?-1:1)*((m-g)*v)/h}):(o=c=>{let f=Math.exp(-c*e),d=(c-r)*e+1;return-s0+f*d},i=c=>{let f=Math.exp(-c*e),d=(r-c)*(e*e);return f*d});let u=5/e,l=cH(o,i,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 lH=12;function cH(e,t,r){let n=r;for(let o=1;o<lH;o++)n=n-e(n)/t(n);return n}function nf(e,t){return e*Math.sqrt(1-t*t)}var fH=["duration","bounce"],pH=["stiffness","damping","mass"];function Pb(e,t){return t.some(r=>e[r]!==void 0)}function dH(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Pb(e,pH)&&Pb(e,fH)){let r=Tb(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function of({keyframes:e,restDelta:t,restSpeed:r,...n}){let o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:u,damping:l,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=dH({...n,velocity:-_t(n.velocity||0)}),g=d||0,v=l/(2*Math.sqrt(u*c)),h=i-o,y=_t(Math.sqrt(u/c)),b=Math.abs(h)<5;r||(r=b?.01:2),t||(t=b?.005:.5);let x;if(v<1){let w=nf(y,v);x=S=>{let E=Math.exp(-v*y*S);return i-E*((g+v*y*h)/w*Math.sin(w*S)+h*Math.cos(w*S))}}else if(v===1)x=w=>i-Math.exp(-y*w)*(h+(g+y*h)*w);else{let w=y*Math.sqrt(v*v-1);x=S=>{let E=Math.exp(-v*y*S),D=Math.min(w*S,300);return i-E*((g+v*y*h)*Math.sinh(D)+w*h*Math.cosh(D))/w}}return{calculatedDuration:m&&f||null,next:w=>{let S=x(w);if(m)s.done=w>=f;else{let E=g;w!==0&&(v<1?E=rf(x,w,S):E=0);let D=Math.abs(E)<=r,T=Math.abs(i-S)<=t;s.done=D&&T}return s.value=s.done?i:S,s}}}a();function u0({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:u,max:l,restDelta:c=.5,restSpeed:f}){let d=e[0],m={done:!1,value:d},g=O=>u!==void 0&&O<u||l!==void 0&&O>l,v=O=>u===void 0?l:l===void 0||Math.abs(u-O)<Math.abs(l-O)?u:l,h=r*t,y=d+h,b=s===void 0?y:s(y);b!==y&&(h=b-d);let x=O=>-h*Math.exp(-O/n),w=O=>b+x(O),S=O=>{let F=x(O),I=w(O);m.done=Math.abs(F)<=c,m.value=m.done?b:I},E,D,T=O=>{g(m.value)&&(E=O,D=of({keyframes:[m.value,v(m.value)],velocity:rf(w,O,m.value),damping:o,stiffness:i,restDelta:c,restSpeed:f}))};return T(0),{calculatedDuration:null,next:O=>{let F=!1;return!D&&E===void 0&&(F=!0,S(O),T(O)),E!==void 0&&O>=E?D.next(O-E):(!F&&S(O),m)}}}a();a();a();var Ab=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,mH=1e-7,hH=12;function gH(e,t,r,n,o){let i,s,u=0;do s=t+(r-t)/2,i=Ab(s,n,o)-e,i>0?r=s:t=s;while(Math.abs(i)>mH&&++u<hH);return s}function uo(e,t,r,n){if(e===t&&r===n)return $e;let o=i=>gH(i,0,1,e,r);return i=>i===0||i===1?i:Ab(o(i),t,n)}var Ob=uo(.42,0,1,1),Fb=uo(0,0,.58,1),af=uo(.42,0,.58,1);a();var $b=e=>Array.isArray(e)&&typeof e[0]!="number";a();a();a();var sf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;a();var uf=e=>t=>1-e(1-t);var lf=e=>1-Math.sin(Math.acos(e)),cf=uf(lf),Rb=sf(lf);a();var l0=uo(.33,1.53,.69,.99),ru=uf(l0),Bb=sf(ru);a();var Mb=e=>(e*=2)<1?.5*ru(e):.5*(2-Math.pow(2,-10*(e-1)));var Ib={linear:$e,easeIn:Ob,easeInOut:af,easeOut:Fb,circIn:lf,circInOut:Rb,circOut:cf,backIn:ru,backInOut:Bb,backOut:l0,anticipate:Mb},c0=e=>{if(Array.isArray(e)){Sr(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 Sr(Ib[e]!==void 0,`Invalid easing type '${e}'`),Ib[e];return e};a();a();var Sn=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};a();a();a();var xe=(e,t,r)=>e+(t-e)*r;a();a();function f0(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 kb({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,s=0;if(!t)o=i=s=r;else{let u=r<.5?r*(1+t):r+t-r*t,l=2*r-u;o=f0(l,u,e+1/3),i=f0(l,u,e),s=f0(l,u,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:n}}a();function Pa(e,t){return r=>r>0?t:e}var p0=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},vH=[eu,Gr,so],yH=e=>vH.find(t=>t.test(e));function Nb(e){let t=yH(e);if(io(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===so&&(r=kb(r)),r}var d0=(e,t)=>{let r=Nb(e),n=Nb(t);if(!r||!n)return Pa(e,t);let o={...r};return i=>(o.red=p0(r.red,n.red,i),o.green=p0(r.green,n.green,i),o.blue=p0(r.blue,n.blue,i),o.alpha=xe(r.alpha,n.alpha,i),Gr.transform(o))};a();var ff=new Set(["none","hidden"]);function Vb(e,t){return ff.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function bH(e,t){return r=>xe(e,t,r)}function pf(e){return typeof e=="number"?bH:typeof e=="string"?da(e)?Pa:tt.test(e)?d0:wH:Array.isArray(e)?Lb:typeof e=="object"?tt.test(e)?d0:CH:Pa}function Lb(e,t){let r=[...e],n=r.length,o=e.map((i,s)=>pf(i)(i,t[s]));return i=>{for(let s=0;s<n;s++)r[s]=o[s](i);return r}}function CH(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=pf(e[o])(e[o],t[o]));return o=>{for(let i in n)r[i]=n[i](o);return r}}function xH(e,t){var r;let n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],u=e.indexes[s][o[s]],l=(r=e.values[u])!==null&&r!==void 0?r:0;n[i]=l,o[s]++}return n}var wH=(e,t)=>{let r=$t.createTransformer(t),n=qo(e),o=qo(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?ff.has(e)&&!o.values.length||ff.has(t)&&!n.values.length?Vb(e,t):wt(Lb(xH(n,o),o.values),r):(io(!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.`),Pa(e,t))};function df(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?xe(e,t,r):pf(e)(e,t)}function SH(e,t,r){let n=[],o=r||df,i=e.length-1;for(let s=0;s<i;s++){let u=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||$e:t;u=wt(l,u)}n.push(u)}return n}function zb(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;if(Sr(i===t.length,"Both input and output ranges must be the same length"),i===1)return()=>t[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=SH(t,n,o),u=s.length,l=c=>{let f=0;if(u>1)for(;f<e.length-2&&!(c<e[f+1]);f++);let d=Sn(e[f],e[f+1],c);return s[f](d)};return r?c=>l(At(e[0],e[i-1],c)):l}a();a();function Hb(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=Sn(0,t,n);e.push(xe(r,1,o))}}function Gb(e){let t=[0];return Hb(t,e.length-1),t}a();function jb(e,t){return e.map(r=>r*t)}function DH(e,t){return e.map(()=>t||af).splice(0,e.length-1)}function nu({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=$b(n)?n.map(c0):c0(n),i={done:!1,value:t[0]},s=jb(r&&r.length===t.length?r:Gb(t),e),u=zb(s,t,{ease:Array.isArray(o)?o:DH(t,o)});return{calculatedDuration:e,next:l=>(i.value=u(l),i.done=l>=e,i)}}a();function _b(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}a();var Wb=e=>{let t=({timestamp:r})=>e(r);return{start:()=>le.update(t,!0),stop:()=>Ft(t),now:()=>qe.isProcessing?qe.timestamp:ir.now()}};var EH={decay:u0,inertia:u0,tween:nu,keyframes:nu,spring:of},TH=e=>e/100,Xo=class extends Ta{constructor({KeyframeResolver:t=ao,...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:i}=this.options,s=(u,l)=>this.onKeyframesResolved(u,l);n&&o&&o.owner?this.resolver=o.owner.resolveKeyframes(i,s,n,o):this.resolver=new t(i,s,n,o),this.resolver.scheduleResolve()}initPlayback(t){let{type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,u=EH[r]||nu,l,c;u!==nu&&typeof t[0]!="number"&&(l=wt(TH,df(t[0],t[1])),t=[0,100]);let f=u({...this.options,keyframes:t});i==="mirror"&&(c=u({...this.options,keyframes:[...t].reverse(),velocity:-s})),f.calculatedDuration===null&&(f.calculatedDuration=_b(f));let{calculatedDuration:d}=f,m=d+o,g=m*(n+1)-o;return{generator:f,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:m,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:O}=this.options;return{done:!0,value:O[O.length-1]}}let{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:u,keyframes:l,calculatedDuration:c,totalDuration:f,resolvedDuration:d}=n;if(this.startTime===null)return i.next(0);let{delay:m,repeat:g,repeatType:v,repeatDelay:h,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-f/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 b=this.currentTime-m*(this.speed>=0?1:-1),x=this.speed>=0?b<0:b>f;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let w=this.currentTime,S=i;if(g){let O=Math.min(this.currentTime,f)/d,F=Math.floor(O),I=O%1;!I&&O>=1&&(I=1),I===1&&F--,F=Math.min(F,g+1),!!(F%2)&&(v==="reverse"?(I=1-I,h&&(I-=h/d)):v==="mirror"&&(S=s)),w=At(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>=f:this.currentTime<=0);let T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return T&&o!==void 0&&(E.value=oo(l,this.options,o)),y&&y(E.value),T&&this.finish(),E}get duration(){let{resolved:t}=this;return t?_t(t.calculatedDuration):0}get time(){return _t(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=_t(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=Wb,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)}};a();a();a();var m0=e=>Array.isArray(e)&&typeof e[0]=="number";function h0(e){return!!(!e||typeof e=="string"&&e in g0||m0(e)||Array.isArray(e)&&e.every(h0))}var ou=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,g0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ou([0,.65,.55,1]),circOut:ou([.55,0,1,.45]),backIn:ou([.31,.01,.66,-.59]),backOut:ou([.33,1.53,.69,.99])};function PH(e){return v0(e)||g0.easeOut}function v0(e){if(e)return m0(e)?ou(e):Array.isArray(e)?e.map(PH):g0[e]}function Ub(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:u,times:l}={}){let c={[t]:r};l&&(c.offset=l);let f=v0(u);return Array.isArray(f)&&(c.easing=f),e.animate(c,{delay:n,duration:o,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}var AH=ef(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),OH=new Set(["opacity","clipPath","filter","transform"]),mf=10,FH=2e4;function $H(e){return e.type==="spring"||e.name==="backgroundColor"||!h0(e.ease)}function RH(e,t){let r=new Xo({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],i=0;for(;!n.done&&i<FH;)n=r.sample(i),o.push(n.value),i+=mf;return{times:void 0,keyframes:o,duration:i-mf,ease:"linear"}}var iu=class extends Ta{constructor(t){super(t);let{name:r,motionValue:n,keyframes:o}=this.options;this.resolver=new Ea(o,(i,s)=>this.onKeyframesResolved(i,s),r,n),this.resolver.scheduleResolve()}initPlayback(t,r){var n;let{duration:o=300,times:i,ease:s,type:u,motionValue:l,name:c}=this.options;if(!(!((n=l.owner)===null||n===void 0)&&n.current))return!1;if($H(this.options)){let{onComplete:d,onUpdate:m,motionValue:g,...v}=this.options,h=RH(t,v);t=h.keyframes,t.length===1&&(t[1]=t[0]),o=h.duration,i=h.times,s=h.ease,u="keyframes"}let f=Ub(l.owner.current,c,t,{...this.options,duration:o,times:i,ease:s});return f.startTime=ir.now(),this.pendingTimeline?(f.timeline=this.pendingTimeline,this.pendingTimeline=void 0):f.onfinish=()=>{let{onComplete:d}=this.options;l.set(oo(t,this.options,r)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:o,times:i,type:u,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:r}=t;return _t(r)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:r}=t;return _t(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 $e;let{animation:n}=r;n.timeline=t,n.onfinish=null}return $e}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;let{resolved:t}=this;if(!t)return;let{animation:r,keyframes:n,duration:o,type:i,ease:s,times:u}=t;if(!(r.playState==="idle"||r.playState==="finished")){if(this.time){let{motionValue:l,onUpdate:c,onComplete:f,...d}=this.options,m=new Xo({...d,keyframes:n,duration:o,type:i,ease:s,times:u,isGenerator:!0}),g=jt(this.time);l.setWithVelocity(m.sample(g-mf).value,m.sample(g).value,mf)}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:i,damping:s,type:u}=t;return AH()&&n&&OH.has(n)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!o&&i!=="mirror"&&s!==0&&u!=="inertia"}};a();a();function Kb(e,t){let r,n=()=>{let{currentTime:o}=t,s=(o===null?0:o.value)/100;r!==s&&e(s),r=s};return le.update(n,!0),()=>Ft(n)}a();var qb=ef(()=>window.ScrollTimeline!==void 0);var hf=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(qb()&&n.attachTimeline)n.attachTimeline(t);else return n.pause(),Kb(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 Aa=(e,t,r,n={},o,i)=>s=>{let u=wa(n,e)||{},l=u.delay||n.delay||0,{elapsed:c=0}=n;c=c-jt(l);let f={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-c,onUpdate:m=>{t.set(m),u.onUpdate&&u.onUpdate(m)},onComplete:()=>{s(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:i?void 0:o};ub(u)||(f={...f,...sb(e,f)}),f.duration&&(f.duration=jt(f.duration)),f.repeatDelay&&(f.repeatDelay=jt(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let d=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(d=!0)),(Kc.current||ua.skipAnimations)&&(d=!0,f.duration=0,f.delay=0),d&&!i&&t.get()!==void 0){let m=oo(f.keyframes,u);if(m!==void 0)return le.update(()=>{f.onUpdate(m),f.onComplete()}),new hf([])}return!i&&iu.supports(f)?new iu(f):new Xo(f)};a();function Yo(e){return!!(Ie(e)&&e.add)}a();a();a();a();function Oa(e,t){e.indexOf(t)===-1&&e.push(t)}function Fa(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var lo=class{constructor(){this.subscriptions=[]}add(t){return Oa(this.subscriptions,t),()=>Fa(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 i=0;i<o;i++){let s=this.subscriptions[i];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var Xb=30,BH=e=>!isNaN(parseFloat(e)),Yb={current:void 0},y0=class{constructor(t,r={}){this.version="11.2.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,o=!0)=>{let i=ir.now();this.updatedAt!==i&&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=ir.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=BH(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 lo);let n=this.events[t].add(r);return t==="change"?()=>{n(),le.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 Yb.current&&Yb.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=ir.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Xb)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,Xb);return tf(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 Dn(e,t){return new y0(e,t)}function MH(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Dn(r))}function Jb(e,t){let r=no(e,t),{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(let s in i){let u=Xy(i[s]);MH(e,s,u)}}a();function gf(e){return e.getProps()[xc]}function IH({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function vf(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:u,...l}=t,c=e.getValue("willChange");n&&(s=n);let f=[],d=o&&e.animationState&&e.animationState.getState()[o];for(let m in l){let g=e.getValue(m,(i=e.latestValues[m])!==null&&i!==void 0?i:null),v=l[m];if(v===void 0||d&&IH(d,m))continue;let h={delay:r,elapsed:0,...wa(s||{},m)},y=!1;if(window.HandoffAppearAnimations){let x=gf(e);if(x){let w=window.HandoffAppearAnimations(x,m,g,le);w!==null&&(h.elapsed=w,y=!0)}}g.start(Aa(m,g,v,e.shouldReduceMotion&&zt.has(m)?{type:!1}:h,e,y));let b=g.animation;b&&(Yo(c)&&(c.add(m),b.then(()=>c.remove(m))),f.push(b))}return u&&Promise.all(f).then(()=>{le.update(()=>{u&&Jb(e,u)})}),f}a();function yf(e,t,r={}){var n;let o=no(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);let s=o?()=>Promise.all(vf(e,o,r)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:f=0,staggerChildren:d,staggerDirection:m}=i;return kH(e,t,f+c,d,m,r)}:()=>Promise.resolve(),{when:l}=i;if(l){let[c,f]=l==="beforeChildren"?[s,u]:[u,s];return c().then(()=>f())}else return Promise.all([s(),u(r.delay)])}function kH(e,t,r=0,n=0,o=1,i){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(NH).forEach((c,f)=>{c.notify("AnimationStart",t),s.push(yf(c,t,{...i,delay:r+l(f)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function NH(e,t){return e.sortNodePosition(t)}function Zb(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(i=>yf(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=yf(e,t,r);else{let o=typeof t=="function"?no(e,t,r.custom):t;n=Promise.all(vf(e,o,r))}return n.then(()=>{le.postRender(()=>{e.notify("AnimationComplete",t)})})}var VH=[...Tc].reverse(),LH=Tc.length;function zH(e){return t=>Promise.all(t.map(({animation:r,options:n})=>Zb(e,r,n)))}function Qb(e){let t=zH(e),r=GH(),n=!0,o=l=>(c,f)=>{var d;let m=no(e,f,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(m){let{transition:g,transitionEnd:v,...h}=m;c={...c,...h,...v}}return c};function i(l){t=l(e)}function s(l){let c=e.getProps(),f=e.getVariantContext(!0)||{},d=[],m=new Set,g={},v=1/0;for(let y=0;y<LH;y++){let b=VH[y],x=r[b],w=c[b]!==void 0?c[b]:f[b],S=xn(w),E=b===l?x.isActive:null;E===!1&&(v=y);let D=w===f[b]&&w!==c[b]&&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 O=HH(x.prevProp,w)||b===l&&x.isActive&&!D&&S||y>v&&S,F=!1,I=Array.isArray(w)?w:[w],G=I.reduce(o(b),{});E===!1&&(G={});let{prevResolvedValues:k={}}=x,H={...k,...G},N=M=>{O=!0,m.has(M)&&(F=!0,m.delete(M)),x.needsAnimating[M]=!0;let Q=e.getValue(M);Q&&(Q.liveStyle=!1)};for(let M in H){let Q=G[M],re=k[M];if(g.hasOwnProperty(M))continue;let se=!1;Qs(Q)&&Qs(re)?se=!Zm(Q,re):se=Q!==re,se?Q!=null?N(M):m.add(M):Q!==void 0&&m.has(M)?N(M):x.protectedKeys[M]=!0}x.prevProp=w,x.prevResolvedValues=G,x.isActive&&(g={...g,...G}),n&&e.blockInitialAnimation&&(O=!1),O&&(!D||F)&&d.push(...I.map(M=>({animation:M,options:{type:b}})))}if(m.size){let y={};m.forEach(b=>{let x=e.getBaseTarget(b),w=e.getValue(b);w&&(w.liveStyle=!0),y[b]=x??null}),d.push({animation:y})}let h=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(h=!1),n=!1,h?t(d):Promise.resolve()}function u(l,c){var f;if(r[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(m=>{var g;return(g=m.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;let d=s(l);for(let m in r)r[m].protectedKeys={};return d}return{animateChanges:s,setActive:u,setAnimateFunction:i,getState:()=>r}}function HH(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Zm(t,e):!1}function Jo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function GH(){return{animate:Jo(!0),whileInView:Jo(),whileHover:Jo(),whileTap:Jo(),whileDrag:Jo(),whileFocus:Jo(),exit:Jo()}}var bf=class extends dt{constructor(t){super(t),t.animationState||(t.animationState=Qb(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),Qn(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}};a();var jH=0,Cf=class extends dt{constructor(){super(...arguments),this.id=jH++}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 eC={animation:{Feature:bf},exit:{Feature:Cf}};a();a();a();a();a();var tC=(e,t)=>Math.abs(e-t);function rC(e,t){let r=tC(e.x,t.x),n=tC(e.y,t.y);return Math.sqrt(r**2+n**2)}var $a=class{constructor(t,r,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:i=!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=C0(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=rC(d.offset,{x:0,y:0})>=3;if(!m&&!g)return;let{point:v}=d,{timestamp:h}=qe;this.history.push({...v,timestamp:h});let{onStart:y,onMove:b}=this.handlers;m||(y&&y(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,m)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=b0(m,this.transformPagePoint),le.update(this.updatePoint,!0)},this.handlePointerUp=(d,m)=>{this.end();let{onEnd:g,onSessionEnd:v,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=C0(d.type==="pointercancel"?this.lastMoveEventInfo:b0(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,y),v&&v(d,y)},!Hc(t))return;this.dragSnapToOrigin=i,this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;let s=Wo(t),u=b0(s,this.transformPagePoint),{point:l}=u,{timestamp:c}=qe;this.history=[{...l,timestamp:c}];let{onSessionStart:f}=r;f&&f(t,C0(u,this.history)),this.removeListeners=wt(Gt(this.contextWindow,"pointermove",this.handlePointerMove),Gt(this.contextWindow,"pointerup",this.handlePointerUp),Gt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ft(this.updatePoint)}};function b0(e,t){return t?{point:t(e.point)}:e}function nC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function C0({point:e},t){return{point:e,delta:nC(e,oC(t)),offset:nC(e,_H(t)),velocity:WH(t,.1)}}function _H(e){return e[0]}function oC(e){return e[e.length-1]}function WH(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=oC(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>jt(t)));)r--;if(!n)return{x:0,y:0};let i=_t(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};let s={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}a();a();function vt(e){return e.max-e.min}function xf(e,t=0,r=.01){return Math.abs(e-t)<=r}function iC(e,t,r,n=.5){e.origin=n,e.originPoint=xe(t.min,t.max,e.origin),e.scale=vt(r)/vt(t),(xf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=xe(r.min,r.max,e.origin)-e.originPoint,(xf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ra(e,t,r,n){iC(e.x,t.x,r.x,n?n.originX:void 0),iC(e.y,t.y,r.y,n?n.originY:void 0)}function aC(e,t,r){e.min=r.min+t.min,e.max=e.min+vt(t)}function uC(e,t,r){aC(e.x,t.x,r.x),aC(e.y,t.y,r.y)}function sC(e,t,r){e.min=t.min-r.min,e.max=e.min+vt(t)}function Ba(e,t,r){sC(e.x,t.x,r.x),sC(e.y,t.y,r.y)}function dC(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?xe(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?xe(r,e,n.max):Math.min(e,r)),e}function lC(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 mC(e,{top:t,left:r,bottom:n,right:o}){return{x:lC(e.x,r,o),y:lC(e.y,t,n)}}function cC(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 hC(e,t){return{x:cC(e.x,t.x),y:cC(e.y,t.y)}}function gC(e,t){let r=.5,n=vt(e),o=vt(t);return o>n?r=Sn(t.min,t.max-n,e.min):n>o&&(r=Sn(e.min,e.max-o,t.min)),At(0,1,r)}function vC(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 wf=.35;function yC(e=wf){return e===!1?e=0:e===!0&&(e=wf),{x:fC(e,"left","right"),y:fC(e,"top","bottom")}}function fC(e,t,r){return{min:pC(e,t),max:pC(e,r)}}function pC(e,t){return typeof e=="number"?e:e[t]||0}a();var bC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zo=()=>({x:bC(),y:bC()}),CC=()=>({min:0,max:0}),Le=()=>({x:CC(),y:CC()});a();function Wt(e){return[e("x"),e("y")]}a();a();function Sf({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function xC({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function wC(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}}a();a();function x0(e){return e===void 0||e===1}function Df({scale:e,scaleX:t,scaleY:r}){return!x0(e)||!x0(t)||!x0(r)}function En(e){return Df(e)||w0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function w0(e){return SC(e.x)||SC(e.y)}function SC(e){return e&&e!=="0%"}function au(e,t,r){let n=e-r,o=t*n;return r+o}function DC(e,t,r,n,o){return o!==void 0&&(e=au(e,o,n)),au(e,r,n)+t}function S0(e,t=0,r=1,n,o){e.min=DC(e.min,t,r,n,o),e.max=DC(e.max,t,r,n,o)}function D0(e,{x:t,y:r}){S0(e.x,t.translate,t.scale,t.originPoint),S0(e.y,r.translate,r.scale,r.originPoint)}function PC(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let i,s;for(let u=0;u<o;u++){i=r[u],s=i.projectionDelta;let l=i.instance;l&&l.style&&l.style.display==="contents"||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Qo(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,D0(e,s)),n&&En(i.latestValues)&&Qo(e,i.latestValues))}t.x=EC(t.x),t.y=EC(t.y)}function EC(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function jr(e,t){e.min=e.min+t,e.max=e.max+t}function TC(e,t,[r,n,o]){let i=t[o]!==void 0?t[o]:.5,s=xe(e.min,e.max,i);S0(e,t[r],t[n],s,t.scale)}var UH=["x","scaleX","originX"],KH=["y","scaleY","originY"];function Qo(e,t){TC(e.x,t,UH),TC(e.y,t,KH)}function E0(e,t){return Sf(wC(e.getBoundingClientRect(),t))}function AC(e,t,r){let n=E0(e,r),{scroll:o}=t;return o&&(jr(n.x,o.offset.x),jr(n.y,o.offset.y)),n}a();var Ef=({current:e})=>e?e.ownerDocument.defaultView:null;var qH=new WeakMap,Pf=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=Le(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let o=f=>{let{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Wo(f,"page").point)},i=(f,d)=>{let{drag:m,dragPropagation:g,onDragStart:v}=this.getProps();if(m&&!g&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Km(m),!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),Wt(y=>{let b=this.getAxisMotionValue(y).get()||0;if(Ot.test(b)){let{projection:x}=this.visualElement;if(x&&x.layout){let w=x.layout.layoutBox[y];w&&(b=vt(w)*(parseFloat(b)/100))}}this.originPoint[y]=b}),v&&le.postRender(()=>v(f,d));let{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(f,d)=>{let{dragPropagation:m,dragDirectionLock:g,onDirectionLock:v,onDrag:h}=this.getProps();if(!m&&!this.openGlobalLock)return;let{offset:y}=d;if(g&&this.currentDirection===null){this.currentDirection=XH(y),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),h&&h(f,d)},u=(f,d)=>this.stop(f,d),l=()=>Wt(f=>{var d;return this.getAnimationState(f)==="paused"&&((d=this.getAxisMotionValue(f).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new $a(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:u,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Ef(this.visualElement)})}stop(t,r){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i&&le.postRender(()=>i(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||!Tf(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=dC(s,this.constraints[t],this.elastic[t])),i.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,i=this.constraints;r&&Cn(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=mC(o.layoutBox,r):this.constraints=!1,this.elastic=yC(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Wt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=vC(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Cn(t))return!1;let n=t.current;Sr(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 i=AC(n,o.root,this.visualElement.getTransformPagePoint()),s=hC(o.layout.layoutBox,i);if(r){let u=r(xC(s));this.hasMutatedConstraints=!!u,u&&(s=Sf(u))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},c=Wt(f=>{if(!Tf(f,r,this.currentDirection))return;let d=l&&l[f]||{};s&&(d={min:0,max:0});let m=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[f]:0,bounceStiffness:m,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(f,v)});return Promise.all(c).then(u)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return n.start(Aa(t,n,0,r,this.visualElement))}stopAnimation(){Wt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Wt(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){Wt(r=>{let{drag:n}=this.getProps();if(!Tf(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:u}=o.layout.layoutBox[r];i.set(t[r]-xe(s,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Cn(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};Wt(s=>{let u=this.getAxisMotionValue(s);if(u&&this.constraints!==!1){let l=u.get();o[s]=gC({min:l,max:l},this.constraints[s])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Wt(s=>{if(!Tf(s,t,null))return;let u=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];u.set(xe(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;qH.set(this.visualElement,this);let t=this.visualElement.current,r=Gt(t,"pointerdown",l=>{let{drag:c,dragListener:f=!0}=this.getProps();c&&f&&this.start(l)}),n=()=>{let{dragConstraints:l}=this.getProps();Cn(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();let s=Ht(window,"resize",()=>this.scalePositionWithinConstraints()),u=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Wt(f=>{let d=this.getAxisMotionValue(f);d&&(this.originPoint[f]+=l[f].translate,d.set(d.get()+l[f].translate))}),this.visualElement.render())});return()=>{s(),r(),i(),u&&u()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=wf,dragMomentum:u=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:u}}};function Tf(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function XH(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var Af=class extends dt{constructor(t){super(t),this.removeGroupControls=$e,this.removeListeners=$e,this.controls=new Pf(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$e}unmount(){this.removeGroupControls(),this.removeListeners()}};a();var OC=e=>(t,r)=>{e&&le.postRender(()=>e(t,r))},Of=class extends dt{constructor(){super(...arguments),this.removePointerDownListener=$e}onPointerDown(t){this.session=new $a(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ef(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:OC(t),onStart:OC(r),onMove:n,onEnd:(i,s)=>{delete this.session,o&&le.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Gt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};a();import{jsx as QH}from"react/jsx-runtime";import{useContext as BC,Component as eG}from"react";a();import{useContext as YH,useId as JH,useEffect as ZH}from"react";function FC(){let e=YH(Zn);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,o=JH();return ZH(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}a();var Ma={hasAnimatedSinceResize:!0,hasEverUpdated:!1};a();function $C(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Ia={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;let r=$C(e,t.target.x),n=$C(e,t.target.y);return`${r}% ${n}%`}};a();var RC={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=$t.parse(e);if(o.length>5)return n;let i=$t.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=xe(u,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),i(o)}};var T0=class extends eG{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;Py(tG),i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ma.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||le.postRender(()=>{let u=s.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),la.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 Ff(e){let[t,r]=FC(),n=BC(ca);return QH(T0,{...e,layoutGroup:n,switchLayoutGroup:BC(Ac),isPresent:t,safeToRemove:r})}var tG={borderRadius:{...Ia,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ia,borderTopRightRadius:Ia,borderBottomLeftRadius:Ia,borderBottomRightRadius:Ia,boxShadow:RC};a();a();a();var NC=["TopLeft","TopRight","BottomLeft","BottomRight"],rG=NC.length,MC=e=>typeof e=="string"?parseFloat(e):e,IC=e=>typeof e=="number"||oe.test(e);function VC(e,t,r,n,o,i){o?(e.opacity=xe(0,r.opacity!==void 0?r.opacity:1,nG(n)),e.opacityExit=xe(t.opacity!==void 0?t.opacity:1,0,oG(n))):i&&(e.opacity=xe(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<rG;s++){let u=`border${NC[s]}Radius`,l=kC(t,u),c=kC(r,u);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||IC(l)===IC(c)?(e[u]=Math.max(xe(MC(l),MC(c),n),0),(Ot.test(c)||Ot.test(l))&&(e[u]+="%")):e[u]=c}(t.rotate||r.rotate)&&(e.rotate=xe(t.rotate||0,r.rotate||0,n))}function kC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var nG=LC(0,.5,cf),oG=LC(.5,.95,$e);function LC(e,t,r){return n=>n<e?0:n>t?1:r(Sn(e,t,n))}a();function zC(e,t){e.min=t.min,e.max=t.max}function ar(e,t){zC(e.x,t.x),zC(e.y,t.y)}a();function HC(e,t,r,n,o){return e-=t,e=au(e,1/r,n),o!==void 0&&(e=au(e,1/o,n)),e}function iG(e,t=0,r=1,n=.5,o,i=e,s=e){if(Ot.test(t)&&(t=parseFloat(t),t=xe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let u=xe(i.min,i.max,n);e===i&&(u-=t),e.min=HC(e.min,t,r,u,o),e.max=HC(e.max,t,r,u,o)}function GC(e,t,[r,n,o],i,s){iG(e,t[r],t[n],t[o],t.scale,i,s)}var aG=["x","scaleX","originX"],sG=["y","scaleY","originY"];function P0(e,t,r,n){GC(e.x,t,aG,r?r.x:void 0,n?n.x:void 0),GC(e.y,t,sG,r?r.y:void 0,n?n.y:void 0)}a();function jC(e){return e.translate===0&&e.scale===1}function A0(e){return jC(e.x)&&jC(e.y)}function _C(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function O0(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function F0(e){return vt(e.x)/vt(e.y)}a();var $f=class{constructor(){this.members=[]}add(t){Oa(this.members,t),t.scheduleRender()}remove(t){if(Fa(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 i=this.members[o];if(i.isPresent!==!1){n=i;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)}};a();function $0(e,t,r){let n="",o=e.x.translate/t.x,i=e.y.translate/t.y,s=r?.z||0;if((o||i||s)&&(n=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:c,rotate:f,rotateX:d,rotateY:m,skewX:g,skewY:v}=r;c&&(n=`perspective(${c}px) ${n}`),f&&(n+=`rotate(${f}deg) `),d&&(n+=`rotateX(${d}deg) `),m&&(n+=`rotateY(${m}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"}a();a();var WC=(e,t)=>e.depth-t.depth;var Rf=class{constructor(){this.children=[],this.isDirty=!1}add(t){Oa(this.children,t),this.isDirty=!0}remove(t){Fa(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(WC),this.isDirty=!1,this.children.forEach(t)}};a();function UC(e,t){let r=ir.now(),n=({timestamp:o})=>{let i=o-r;i>=t&&(Ft(n),e(i-t))};return le.read(n,!0),()=>Ft(n)}a();function KC(e){window.MotionDebug&&window.MotionDebug.record(e)}a();function qC(e){return e instanceof SVGElement&&e.tagName!=="svg"}a();function XC(e,t,r){let n=Ie(e)?e:Dn(e);return n.start(Aa("",n,t,r)),n.animation}var R0=["","X","Y","Z"],uG={visibility:"hidden"},YC=1e3,lG=0,ei={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function B0(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function ox(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:t}=e.options;return t?gf(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?ox(e.parent):!1:!1}function Bf({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},u=t?.()){this.id=lG++,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.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ei.totalNodes=ei.resolvedTargetDeltas=ei.recalculatedProjection=0,this.nodes.forEach(pG),this.nodes.forEach(vG),this.nodes.forEach(yG),this.nodes.forEach(dG),KC(ei)},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 Rf)}addEventListener(s,u){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new lo),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=qC(s),this.instance=s;let{layoutId:l,layout:c,visualElement:f}=this.options;if(f&&!f.current&&f.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(c||l)&&(this.isLayoutDirty=!0),e){let d,m=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=UC(m,250),Ma.hasAnimatedSinceResize&&(Ma.hasAnimatedSinceResize=!1,this.nodes.forEach(ZC))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&f&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:m,hasRelativeTargetChanged:g,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let h=this.options.transition||f.getDefaultTransition()||SG,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=f.getProps(),x=!this.targetLayout||!O0(this.targetLayout,v)||g,w=!m&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||m&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);let S={...wa(h,"layout"),onPlay:y,onComplete:b};(f.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else m||ZC(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,Ft(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(bG),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&&ox(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f<this.path.length;f++){let d=this.path[f];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(JC);return}this.isUpdating||this.nodes.forEach(hG),this.isUpdating=!1,this.nodes.forEach(gG),this.nodes.forEach(cG),this.nodes.forEach(fG),this.clearAllSnapshots();let u=ir.now();qe.delta=At(0,1e3/60,u-qe.timestamp),qe.timestamp=u,qe.isProcessing=!0,zc.update.process(qe),zc.preRender.process(qe),zc.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,la.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(mG),this.sharedNodes.forEach(CG)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){le.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=Le(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!A0(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,f=c!==this.prevTransformTemplateValue;s&&(u||En(this.latestValues)||f)&&(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)),DG(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:s}=this.options;if(!s)return Le();let u=s.measureViewportBox(),{scroll:l}=this.root;return l&&(jr(u.x,l.offset.x),jr(u.y,l.offset.y)),u}removeElementScroll(s){let u=Le();ar(u,s);for(let l=0;l<this.path.length;l++){let c=this.path[l],{scroll:f,options:d}=c;if(c!==this.root&&f&&d.layoutScroll){if(f.isRoot){ar(u,s);let{scroll:m}=this.root;m&&(jr(u.x,-m.offset.x),jr(u.y,-m.offset.y))}jr(u.x,f.offset.x),jr(u.y,f.offset.y)}}return u}applyTransform(s,u=!1){let l=Le();ar(l,s);for(let c=0;c<this.path.length;c++){let f=this.path[c];!u&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Qo(l,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),En(f.latestValues)&&Qo(l,f.latestValues)}return En(this.latestValues)&&Qo(l,this.latestValues),l}removeTransform(s){let u=Le();ar(u,s);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!En(c.latestValues))continue;Df(c.latestValues)&&c.updateSnapshot();let f=Le(),d=c.measurePageBox();ar(f,d),P0(u,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,f)}return En(this.latestValues)&&P0(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!==qe.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))return;let{layout:d,layoutId:m}=this.options;if(!(!this.layout||!(d||m))){if(this.resolvedRelativeTargetAt=qe.timestamp,!this.targetDelta&&!this.relativeTarget){let g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Le(),this.relativeTargetOrigin=Le(),Ba(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),ar(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Le(),this.targetWithTransforms=Le()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uC(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ar(this.target,this.layout.layoutBox),D0(this.target,this.targetDelta)):ar(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=Le(),this.relativeTargetOrigin=Le(),Ba(this.relativeTargetOrigin,this.target,g.target),ar(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ei.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Df(this.parent.latestValues)||w0(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===qe.timestamp&&(c=!1),c)return;let{layout:f,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||!(f||d))return;ar(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,g=this.treeScale.y;PC(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=Le());let{target:v}=u;if(!v){this.projectionTransform&&(this.projectionDelta=Zo(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Zo(),this.projectionDeltaWithTransform=Zo());let h=this.projectionTransform;Ra(this.projectionDelta,this.layoutCorrected,v,this.latestValues),this.projectionTransform=$0(this.projectionDelta,this.treeScale),(this.projectionTransform!==h||this.treeScale.x!==m||this.treeScale.y!==g)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),ei.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){let u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,u=!1){let l=this.snapshot,c=l?l.latestValues:{},f={...this.latestValues},d=Zo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;let m=Le(),g=l?l.source:void 0,v=this.layout?this.layout.source:void 0,h=g!==v,y=this.getStack(),b=!y||y.members.length<=1,x=!!(h&&!b&&this.options.crossfade===!0&&!this.path.some(wG));this.animationProgress=0;let w;this.mixTargetDelta=S=>{let E=S/1e3;QC(d.x,s.x,E),QC(d.y,s.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ba(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),xG(this.relativeTarget,this.relativeTargetOrigin,m,E),w&&_C(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Le()),ar(w,this.relativeTarget)),h&&(this.animationValues=f,VC(f,c,this.latestValues,E,x,b)),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&&(Ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=le.update(()=>{Ma.hasAnimatedSinceResize=!0,this.currentAnimation=XC(0,YC,{...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(YC),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:u,target:l,layout:c,latestValues:f}=s;if(!(!u||!l||!c)){if(this!==s&&this.layout&&c&&ix(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Le();let d=vt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;let m=vt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+m}ar(u,l),Qo(u,f),Ra(this.projectionDeltaWithTransform,this.layoutCorrected,u,f)}}registerSharedNode(s,u){this.sharedNodes.has(s)||this.sharedNodes.set(s,new $f),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&&B0("z",s,c,this.animationValues);for(let f=0;f<R0.length;f++)B0(`rotate${R0[f]}`,s,c,this.animationValues),B0(`skew${R0[f]}`,s,c,this.animationValues);s.render();for(let f in c)s.setStaticValue(f,c[f]),this.animationValues&&(this.animationValues[f]=c[f]);s.scheduleRender()}getProjectionStyles(s){var u,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return uG;let c={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=xa(s?.pointerEvents)||"",c.transform=f?f(this.latestValues,""):"none",c;let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){let h={};return this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=xa(s?.pointerEvents)||""),this.hasProjected&&!En(this.latestValues)&&(h.transform=f?f({},""):"none",this.hasProjected=!1),h}let m=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=$0(this.projectionDeltaWithTransform,this.treeScale,m),f&&(c.transform=f(m,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=m.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:c.opacity=d===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let h in pa){if(m[h]===void 0)continue;let{correct:y,applyTo:b}=pa[h],x=c.transform==="none"?m[h]:y(m[h],d);if(b){let w=b.length;for(let S=0;S<w;S++)c[b[S]]=x}else c[h]=x}return this.options.layoutId&&(c.pointerEvents=d===this?xa(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(JC),this.root.sharedNodes.clear()}}}function cG(e){e.updateLayout()}function fG(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:i}=e.options,s=r.source!==e.layout.source;i==="size"?Wt(d=>{let m=s?r.measuredBox[d]:r.layoutBox[d],g=vt(m);m.min=n[d].min,m.max=m.min+g}):ix(i,r.layoutBox,n)&&Wt(d=>{let m=s?r.measuredBox[d]:r.layoutBox[d],g=vt(n[d]);m.max=m.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});let u=Zo();Ra(u,n,r.layoutBox);let l=Zo();s?Ra(l,e.applyTransform(o,!0),r.measuredBox):Ra(l,n,r.layoutBox);let c=!A0(u),f=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:m,layout:g}=d;if(m&&g){let v=Le();Ba(v,r.layoutBox,m.layoutBox);let h=Le();Ba(h,n,g.layoutBox),O0(v,h)||(f=!0),d.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:u,hasLayoutChanged:c,hasRelativeTargetChanged:f})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function pG(e){ei.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 dG(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mG(e){e.clearSnapshot()}function JC(e){e.clearMeasurements()}function hG(e){e.isLayoutDirty=!1}function gG(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ZC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function vG(e){e.resolveTargetDelta()}function yG(e){e.calcProjection()}function bG(e){e.resetSkewAndRotation()}function CG(e){e.removeLeadSnapshot()}function QC(e,t,r){e.translate=xe(t.translate,0,r),e.scale=xe(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ex(e,t,r,n){e.min=xe(t.min,r.min,n),e.max=xe(t.max,r.max,n)}function xG(e,t,r,n){ex(e.x,t.x,r.x,n),ex(e.y,t.y,r.y,n)}function wG(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var SG={duration:.45,ease:[.4,0,.1,1]},tx=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rx=tx("applewebkit/")&&!tx("chrome/")?Math.round:$e;function nx(e){e.min=rx(e.min),e.max=rx(e.max)}function DG(e){nx(e.x),nx(e.y)}function ix(e,t,r){return e==="position"||e==="preserve-aspect"&&!xf(F0(t),F0(r),.2)}a();var ax=Bf({attachResizeListener:(e,t)=>Ht(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var M0={current:void 0},Mf=Bf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!M0.current){let e=new ax({});e.mount(window),e.setOptions({layoutScroll:!0}),M0.current=e}return M0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var sx={pan:{Feature:Of},drag:{Feature:Af,ProjectionNode:Mf,MeasureLayout:Ff}};a();import{Fragment as OG}from"react";a();a();a();a();a();var su={current:null},If={current:!1};function ux(){if(If.current=!0,!!ia)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>su.current=e.matches;e.addListener(t),t()}else su.current=!1}a();function lx(e,t,r){let{willChange:n}=t;for(let o in t){let i=t[o],s=r[o];if(Ie(i))e.addValue(o,i),Yo(n)&&n.add(o);else if(Ie(s))e.addValue(o,Dn(i,{owner:e})),Yo(n)&&n.remove(o);else if(s!==i)if(e.hasValue(o)){let u=e.getValue(o);u.liveStyle===!0?u.jump(i):u.hasAnimated||u.set(i)}else{let u=e.getStaticValue(o);e.addValue(o,Dn(u!==void 0?u:i,{owner:e}))}}for(let o in r)t[o]===void 0&&e.removeValue(o);return t}a();var I0=new WeakMap;a();var EG=[...t0,tt,$t],cx=e=>EG.find(Jc(e));var px=Object.keys(_o),TG=px.length,fx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],PG=Xs.length;function dx(e){if(e)return e.options.allowProjection!==!1?e.projection:dx(e.parent)}var kf=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},u={}){this.resolveKeyframes=(m,g,v,h)=>new this.KeyframeResolver(m,g,v,h,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ao,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>le.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=!!i,this.isControllingVariants=jo(r),this.isVariantNode=Pc(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:f,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let m in d){let g=d[m];l[m]!==void 0&&Ie(g)&&(g.set(l[m],!1),Yo(f)&&f.add(m))}}mount(t){this.current=t,I0.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)),If.current||ux(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:su.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;I0.delete(this.current),this.projection&&this.projection.unmount(),Ft(this.notifyUpdate),Ft(this.render),this.valueSubscriptions.forEach(r=>r()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let r in this.events)this.events[r].clear();for(let r in this.features)(t=this.features[r])===null||t===void 0||t.unmount();this.current=null}bindToMotionValue(t,r){let n=zt.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&le.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,o,i){let s,u;for(let l=0;l<TG;l++){let c=px[l],{isEnabled:f,Feature:d,ProjectionNode:m,MeasureLayout:g}=_o[c];m&&(s=m),f(r)&&(!this.features[c]&&d&&(this.features[c]=new d(this)),g&&(u=g))}if((this.type==="html"||this.type==="svg")&&!this.projection&&s){let{layoutId:l,layout:c,drag:f,dragConstraints:d,layoutScroll:m,layoutRoot:g}=r;this.projection=new s(this.latestValues,r["data-framer-portal-id"]?void 0:dx(this.parent)),this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!f||d&&Cn(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,layoutScroll:m,layoutRoot:g})}return u}updateFeatures(){for(let t in this.features){let r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Le()}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<fx.length;n++){let o=fx[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=lx(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<PG;n++){let o=Xs[n],i=this.props[o];(xn(i)||i===!1)&&(r[o]=i)}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=Dn(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"&&(Yc(o)||Xc(o))?o=parseFloat(o):!cx(o)&&$t.test(r)&&(o=Qc(t,r)),this.setBaseTarget(t,Ie(o)?o.get():o)),Ie(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=Ca(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 i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ie(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new lo),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}};var ka=class extends kf{constructor(){super(...arguments),this.KeyframeResolver=Ea}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 AG(e){return window.getComputedStyle(e)}var Nf=class extends ka{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(zt.has(r)){let n=Da(r);return n&&n.default||0}else{let n=AG(t),o=($c(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return E0(t,r)}build(t,r,n,o){ha(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return ba(t,r,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Ie(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,o){Mc(t,r,n,o)}};a();var Vf=class extends ka{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(zt.has(r)){let n=Da(r);return n&&n.default||0}return r=Ic.has(r)?r:sa(r),t.getAttribute(r)}measureInstanceViewportBox(){return Le()}scrapeMotionValuesFromProps(t,r,n){return Nc(t,r,n)}build(t,r,n,o){va(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){kc(t,r,n,o)}mount(t){this.isSVGTag=ya(t.tagName),super.mount(t)}};var mx=(e,t)=>fa(e)?new Vf(t,{enableHardwareAcceleration:!1}):new Nf(t,{allowProjection:e!==OG,enableHardwareAcceleration:!0});a();var hx={layout:{ProjectionNode:Mf,MeasureLayout:Ff}};var FG={...eC,...ab,...sx,...hx},k0=Ey((e,t)=>Qy(e,t,FG,mx));a();import{jsx as uu,Fragment as Dx}from"react/jsx-runtime";import{useContext as zG,useRef as Gf,cloneElement as HG,Children as GG,isValidElement as jG}from"react";a();import{useState as RG,useCallback as gx}from"react";a();import{useRef as $G}from"react";function Lf(){let e=$G(!1);return aa(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function vx(){let e=Lf(),[t,r]=RG(0),n=gx(()=>{e.current&&r(t+1)},[t]);return[gx(()=>le.postRender(n),[n]),t]}a();import{jsx as Cx}from"react/jsx-runtime";import*as wx from"react";import{useId as NG,useMemo as xx}from"react";a();import{jsx as BG}from"react/jsx-runtime";import*as zf from"react";import{useId as MG,useRef as yx,useContext as IG,useInsertionEffect as kG}from"react";var N0=class extends zf.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 bx({children:e,isPresent:t}){let r=MG(),n=yx(null),o=yx({width:0,height:0,top:0,left:0}),{nonce:i}=IG(oa);return kG(()=>{let{width:s,height:u,top:l,left:c}=o.current;if(t||!n.current||!s||!u)return;n.current.dataset.motionPopId=r;let f=document.createElement("style");return i&&(f.nonce=i),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
748
|
+
`;import{jsx as Ls,jsxs as xB}from"react/jsx-runtime";var J3e=({children:e,theme:t={},globalStylesIncluded:r=!0,Link:n})=>xB(w5,{theme:t,children:[r?Ls(z6,{}):null,Ls(M1,{children:Ls(E5,{value:{Link:n},children:Ls(Rl,{children:Ls(im,{children:e})})})})]});a();a();import{useState as wB,useCallback as um}from"react";var lm=(e=!1)=>{let[t,r]=wB(e),n=um(()=>r(s=>!s),[]),o=um(()=>r(!0),[]),i=um(()=>r(!1),[]);return[t,n,o,i,r]};a();a();import{useCallback as EB}from"react";a();a();import{useEffect as SB,useRef as H6,useState as DB}from"react";var $l=e=>{let[t,r]=DB(!1),n=H6(),o=H6(e),i=s=>{clearTimeout(n.current),r(!o.current),n.current=window.setTimeout(()=>r(o.current),s)};return SB(()=>()=>clearTimeout(n.current),[]),[t,i]};var TB=(e,t=1500)=>{let[r,n]=$l(!1),[o,i]=$l(!1);return[EB(async()=>{try{await bs(e),t&&t>0&&n(t)}catch(u){u instanceof Error&&i(t)}},[e,t,n,i]),r,o]};a();a();import{useMemo as PB,useState as AB,useRef as OB,useLayoutEffect as FB}from"react";var RB={width:0,height:0,top:0,left:0,bottom:0,right:0,x:0,y:0},cm=()=>{let e=OB(null),[t,r]=AB(RB),n=PB(()=>new window.ResizeObserver(o=>{if(o[0]){let{width:i,height:s,top:u,left:l,bottom:c,right:f,x:d,y:m}=o[0].contentRect;r({width:i,height:s,top:u,left:l,bottom:c,right:f,x:d,y:m})}}),[]);return FB(()=>{if(e.current)return n.observe(e.current),()=>{n.disconnect()}},[n]),[e,t]};a();a();import{useEffect as fm,useRef as G6}from"react";var $B=e=>!!(typeof e=="object"&&e?.addEventListener),pm=(e,t,r=window,n={})=>{let o=G6(),i=G6();fm(()=>{o.current=t},[t]),fm(()=>{i.current=n},[n]),fm(()=>{if(!e||!$B(r))return;let s=u=>o.current!==void 0?o.current(u):()=>{};return r.addEventListener(e,s,i.current),()=>{r.removeEventListener(e,s,i.current)}},[e,r,i])};a();a();import{useRef as t9,useCallback as IB,useEffect as kB}from"react";a();var mm='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, [tabindex="0"], [contenteditable]',BB=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},MB=e=>{let t=e;for(;t&&t!==document.body;){if(BB(t))return!1;t=t.parentNode}return!0},j6=e=>{let t=e.getAttribute("tabindex");return Number.parseInt(t??void 0,10)},_6=e=>{let t=j6(e);return Number.isNaN(t)},Bl=e=>{let t=/input|select|textarea|button|object/,r=e.nodeName.toLowerCase(),n=!_6(e);return!!(t.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&MB(e)},hm=e=>{let t=j6(e);return(_6(e)||t>=0)&&Bl(e)},W6=e=>Array.from(e.querySelectorAll(mm)).filter(hm),U6=[],ji=null,dm=!1,K6=()=>{dm=!0},q6=()=>{if(dm){if(dm=!1,!ji||ji.contains(document.activeElement))return;(W6(ji)[0]??ji).focus()}},X6=()=>{let e=document.activeElement;e!==null&&U6.push(e)},Y6=()=>{let e=null;try{e=U6.pop(),e&&e.focus()}catch{console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},J6=e=>{ji=e,document.addEventListener("focusout",K6,!1),document.addEventListener("focusin",q6,!0)},Z6=()=>{ji=null,document.removeEventListener("focusout",K6),document.removeEventListener("focusin",q6)},Q6=(e,t)=>{let r=W6(e);if(!r.length){t.preventDefault();return}if(!(r[t.shiftKey?0:r.length-1]===document.activeElement||e===document.activeElement))return;t.preventDefault();let i=r[t.shiftKey?r.length-1:0];i&&i.focus()},e9=(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 gm=(e=!0,t={})=>{let r=t9(null),n=t9(null),o=IB(i=>{if(n.current!==null&&n.current(),r.current&&(Y6(),Z6()),e&&i!==null&&i!==void 0){J6(i),X6();let s=u=>{n.current=t.disableAriaHider??!1?null:e9(u);let l=null;if(J(t.focusSelector)&&(l=typeof t.focusSelector=="string"?u.querySelector(t.focusSelector):t.focusSelector),!l){let c=Array.from(u.querySelectorAll(mm));l=c.find(hm)??c.find(Bl)??null,!l&&Bl(u)&&(l=u)}l&&l.focus()};setTimeout(()=>{i.ownerDocument&&s(i),i.ownerDocument}),r.current=i}else r.current=null},[e,t.focusSelector,t.disableAriaHider]);return kB(()=>{if(!e)return;let i=s=>{s.key==="Tab"&&r.current&&Q6(r.current,s)};return document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}},[e]),o};a();a();import{useCallback as NB,useState as VB}from"react";var LB=()=>{let[,e]=VB(Object.create(null));return NB(()=>{e(Object.create(null))},[e])};a();a();a();var zB=function(t){return HB(t)&&!GB(t)};function HB(e){return!!e&&typeof e=="object"}function GB(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||WB(e)}var jB=typeof Symbol=="function"&&Symbol.for,_B=jB?Symbol.for("react.element"):60103;function WB(e){return e.$$typeof===_B}function UB(e){return Array.isArray(e)?[]:{}}function Ml(e,t){return t.clone!==!1&&t.isMergeableObject(e)?zs(UB(e),e,t):e}function KB(e,t,r){return e.concat(t).map(function(n){return Ml(n,r)})}function qB(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=Ml(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=Ml(t[o],r):n[o]=zs(e[o],t[o],r)}),n}function zs(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||KB,r.isMergeableObject=r.isMergeableObject||zB;var n=Array.isArray(t),o=Array.isArray(e),i=n===o;return i?n?r.arrayMerge(e,t,r):qB(e,t,r):Ml(t,r)}zs.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return zs(n,o,r)},{})};var XB=zs,Il=XB;a();a();a();a();a();var YB=typeof window=="object"&&window&&window.Object===Object&&window,kl=YB;var JB=typeof self=="object"&&self&&self.Object===Object&&self,ZB=kl||JB||Function("return this")(),Qe=ZB;var QB=Qe.Symbol,hr=QB;a();var r9=Object.prototype,eM=r9.hasOwnProperty,tM=r9.toString,Hs=hr?hr.toStringTag:void 0;function rM(e){var t=eM.call(e,Hs),r=e[Hs];try{e[Hs]=void 0;var n=!0}catch{}var o=tM.call(e);return n&&(t?e[Hs]=r:delete e[Hs]),o}var n9=rM;a();var nM=Object.prototype,oM=nM.toString;function iM(e){return oM.call(e)}var o9=iM;var aM="[object Null]",sM="[object Undefined]",i9=hr?hr.toStringTag:void 0;function uM(e){return e==null?e===void 0?sM:aM:i9&&i9 in Object(e)?n9(e):o9(e)}var nr=uM;a();a();function lM(e,t){return function(r){return e(t(r))}}var Nl=lM;var cM=Nl(Object.getPrototypeOf,Object),_i=cM;a();function fM(e){return e!=null&&typeof e=="object"}var Vt=fM;var pM="[object Object]",dM=Function.prototype,mM=Object.prototype,a9=dM.toString,hM=mM.hasOwnProperty,gM=a9.call(Object);function vM(e){if(!Vt(e)||nr(e)!=pM)return!1;var t=_i(e);if(t===null)return!0;var r=hM.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&a9.call(r)==gM}var vm=vM;a();a();a();a();a();function yM(){this.__data__=[],this.size=0}var s9=yM;a();a();a();function bM(e,t){return e===t||e!==e&&t!==t}var Vl=bM;function CM(e,t){for(var r=e.length;r--;)if(Vl(e[r][0],t))return r;return-1}var jn=CM;var xM=Array.prototype,wM=xM.splice;function SM(e){var t=this.__data__,r=jn(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():wM.call(t,r,1),--this.size,!0}var u9=SM;a();function DM(e){var t=this.__data__,r=jn(t,e);return r<0?void 0:t[r][1]}var l9=DM;a();function EM(e){return jn(this.__data__,e)>-1}var c9=EM;a();function TM(e,t){var r=this.__data__,n=jn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var f9=TM;function Wi(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])}}Wi.prototype.clear=s9;Wi.prototype.delete=u9;Wi.prototype.get=l9;Wi.prototype.has=c9;Wi.prototype.set=f9;var _n=Wi;a();function PM(){this.__data__=new _n,this.size=0}var p9=PM;a();function AM(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var d9=AM;a();function OM(e){return this.__data__.get(e)}var m9=OM;a();function FM(e){return this.__data__.has(e)}var h9=FM;a();a();a();a();a();a();function RM(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Nr=RM;var $M="[object AsyncFunction]",BM="[object Function]",MM="[object GeneratorFunction]",IM="[object Proxy]";function kM(e){if(!Nr(e))return!1;var t=nr(e);return t==BM||t==MM||t==$M||t==IM}var Ll=kM;a();a();var NM=Qe["__core-js_shared__"],zl=NM;var g9=function(){var e=/[^.]+$/.exec(zl&&zl.keys&&zl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function VM(e){return!!g9&&g9 in e}var v9=VM;a();var LM=Function.prototype,zM=LM.toString;function HM(e){if(e!=null){try{return zM.call(e)}catch{}try{return e+""}catch{}}return""}var gn=HM;var GM=/[\\^$.*+?()[\]{}|]/g,jM=/^\[object .+?Constructor\]$/,_M=Function.prototype,WM=Object.prototype,UM=_M.toString,KM=WM.hasOwnProperty,qM=RegExp("^"+UM.call(KM).replace(GM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function XM(e){if(!Nr(e)||v9(e))return!1;var t=Ll(e)?qM:jM;return t.test(gn(e))}var y9=XM;a();function YM(e,t){return e?.[t]}var b9=YM;function JM(e,t){var r=b9(e,t);return y9(r)?r:void 0}var Lt=JM;var ZM=Lt(Qe,"Map"),Wn=ZM;a();a();a();a();a();var QM=Lt(Object,"create"),vn=QM;function eI(){this.__data__=vn?vn(null):{},this.size=0}var C9=eI;a();function tI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var x9=tI;a();var rI="__lodash_hash_undefined__",nI=Object.prototype,oI=nI.hasOwnProperty;function iI(e){var t=this.__data__;if(vn){var r=t[e];return r===rI?void 0:r}return oI.call(t,e)?t[e]:void 0}var w9=iI;a();var aI=Object.prototype,sI=aI.hasOwnProperty;function uI(e){var t=this.__data__;return vn?t[e]!==void 0:sI.call(t,e)}var S9=uI;a();var lI="__lodash_hash_undefined__";function cI(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=vn&&t===void 0?lI:t,this}var D9=cI;function Ui(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])}}Ui.prototype.clear=C9;Ui.prototype.delete=x9;Ui.prototype.get=w9;Ui.prototype.has=S9;Ui.prototype.set=D9;var ym=Ui;function fI(){this.size=0,this.__data__={hash:new ym,map:new(Wn||_n),string:new ym}}var E9=fI;a();a();a();function pI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var T9=pI;function dI(e,t){var r=e.__data__;return T9(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Un=dI;function mI(e){var t=Un(this,e).delete(e);return this.size-=t?1:0,t}var P9=mI;a();function hI(e){return Un(this,e).get(e)}var A9=hI;a();function gI(e){return Un(this,e).has(e)}var O9=gI;a();function vI(e,t){var r=Un(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var F9=vI;function Ki(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])}}Ki.prototype.clear=E9;Ki.prototype.delete=P9;Ki.prototype.get=A9;Ki.prototype.has=O9;Ki.prototype.set=F9;var Gs=Ki;var yI=200;function bI(e,t){var r=this.__data__;if(r instanceof _n){var n=r.__data__;if(!Wn||n.length<yI-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Gs(n)}return r.set(e,t),this.size=r.size,this}var R9=bI;function qi(e){var t=this.__data__=new _n(e);this.size=t.size}qi.prototype.clear=p9;qi.prototype.delete=d9;qi.prototype.get=m9;qi.prototype.has=h9;qi.prototype.set=R9;var $9=qi;a();function CI(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var B9=CI;a();a();a();var xI=function(){try{var e=Lt(Object,"defineProperty");return e({},"",{}),e}catch{}}(),bm=xI;function wI(e,t,r){t=="__proto__"&&bm?bm(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Hl=wI;var SI=Object.prototype,DI=SI.hasOwnProperty;function EI(e,t,r){var n=e[t];(!(DI.call(e,t)&&Vl(n,r))||r===void 0&&!(t in e))&&Hl(e,t,r)}var Gl=EI;a();a();function TI(e,t,r,n){var o=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var u=t[i],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),o?Hl(r,u,l):Gl(r,u,l)}return r}var Kn=TI;a();a();a();function PI(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var M9=PI;a();a();var AI="[object Arguments]";function OI(e){return Vt(e)&&nr(e)==AI}var Cm=OI;var I9=Object.prototype,FI=I9.hasOwnProperty,RI=I9.propertyIsEnumerable,$I=Cm(function(){return arguments}())?Cm:function(e){return Vt(e)&&FI.call(e,"callee")&&!RI.call(e,"callee")},k9=$I;a();var BI=Array.isArray,Vr=BI;a();a();function MI(){return!1}var N9=MI;var z9=typeof exports=="object"&&exports&&!exports.nodeType&&exports,V9=z9&&typeof module=="object"&&module&&!module.nodeType&&module,II=V9&&V9.exports===z9,L9=II?Qe.Buffer:void 0,kI=L9?L9.isBuffer:void 0,NI=kI||N9,jl=NI;a();var VI=9007199254740991,LI=/^(?:0|[1-9]\d*)$/;function zI(e,t){var r=typeof e;return t=t??VI,!!t&&(r=="number"||r!="symbol"&&LI.test(e))&&e>-1&&e%1==0&&e<t}var H9=zI;a();a();a();var HI=9007199254740991;function GI(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=HI}var _l=GI;var jI="[object Arguments]",_I="[object Array]",WI="[object Boolean]",UI="[object Date]",KI="[object Error]",qI="[object Function]",XI="[object Map]",YI="[object Number]",JI="[object Object]",ZI="[object RegExp]",QI="[object Set]",ek="[object String]",tk="[object WeakMap]",rk="[object ArrayBuffer]",nk="[object DataView]",ok="[object Float32Array]",ik="[object Float64Array]",ak="[object Int8Array]",sk="[object Int16Array]",uk="[object Int32Array]",lk="[object Uint8Array]",ck="[object Uint8ClampedArray]",fk="[object Uint16Array]",pk="[object Uint32Array]",Ve={};Ve[ok]=Ve[ik]=Ve[ak]=Ve[sk]=Ve[uk]=Ve[lk]=Ve[ck]=Ve[fk]=Ve[pk]=!0;Ve[jI]=Ve[_I]=Ve[rk]=Ve[WI]=Ve[nk]=Ve[UI]=Ve[KI]=Ve[qI]=Ve[XI]=Ve[YI]=Ve[JI]=Ve[ZI]=Ve[QI]=Ve[ek]=Ve[tk]=!1;function dk(e){return Vt(e)&&_l(e.length)&&!!Ve[nr(e)]}var G9=dk;a();function mk(e){return function(t){return e(t)}}var Xi=mk;a();var j9=typeof exports=="object"&&exports&&!exports.nodeType&&exports,js=j9&&typeof module=="object"&&module&&!module.nodeType&&module,hk=js&&js.exports===j9,xm=hk&&kl.process,gk=function(){try{var e=js&&js.require&&js.require("util").types;return e||xm&&xm.binding&&xm.binding("util")}catch{}}(),yn=gk;var _9=yn&&yn.isTypedArray,vk=_9?Xi(_9):G9,W9=vk;var yk=Object.prototype,bk=yk.hasOwnProperty;function Ck(e,t){var r=Vr(e),n=!r&&k9(e),o=!r&&!n&&jl(e),i=!r&&!n&&!o&&W9(e),s=r||n||o||i,u=s?M9(e.length,String):[],l=u.length;for(var c in e)(t||bk.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||H9(c,l)))&&u.push(c);return u}var Wl=Ck;a();a();var xk=Object.prototype;function wk(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||xk;return e===r}var Yi=wk;a();var Sk=Nl(Object.keys,Object),U9=Sk;var Dk=Object.prototype,Ek=Dk.hasOwnProperty;function Tk(e){if(!Yi(e))return U9(e);var t=[];for(var r in Object(e))Ek.call(e,r)&&r!="constructor"&&t.push(r);return t}var K9=Tk;a();function Pk(e){return e!=null&&_l(e.length)&&!Ll(e)}var Ul=Pk;function Ak(e){return Ul(e)?Wl(e):K9(e)}var Ji=Ak;function Ok(e,t){return e&&Kn(t,Ji(t),e)}var q9=Ok;a();a();a();a();function Fk(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var X9=Fk;var Rk=Object.prototype,$k=Rk.hasOwnProperty;function Bk(e){if(!Nr(e))return X9(e);var t=Yi(e),r=[];for(var n in e)n=="constructor"&&(t||!$k.call(e,n))||r.push(n);return r}var Y9=Bk;function Mk(e){return Ul(e)?Wl(e,!0):Y9(e)}var Zi=Mk;function Ik(e,t){return e&&Kn(t,Zi(t),e)}var J9=Ik;a();var t8=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Z9=t8&&typeof module=="object"&&module&&!module.nodeType&&module,kk=Z9&&Z9.exports===t8,Q9=kk?Qe.Buffer:void 0,e8=Q9?Q9.allocUnsafe:void 0;function Nk(e,t){if(t)return e.slice();var r=e.length,n=e8?e8(r):new e.constructor(r);return e.copy(n),n}var r8=Nk;a();function Vk(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Kl=Vk;a();a();a();function Lk(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}var n8=Lk;a();function zk(){return[]}var ql=zk;var Hk=Object.prototype,Gk=Hk.propertyIsEnumerable,o8=Object.getOwnPropertySymbols,jk=o8?function(e){return e==null?[]:(e=Object(e),n8(o8(e),function(t){return Gk.call(e,t)}))}:ql,Qi=jk;function _k(e,t){return Kn(e,Qi(e),t)}var i8=_k;a();a();a();function Wk(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Xl=Wk;var Uk=Object.getOwnPropertySymbols,Kk=Uk?function(e){for(var t=[];e;)Xl(t,Qi(e)),e=_i(e);return t}:ql,Yl=Kk;function qk(e,t){return Kn(e,Yl(e),t)}var a8=qk;a();a();function Xk(e,t,r){var n=t(e);return Vr(e)?n:Xl(n,r(e))}var Jl=Xk;function Yk(e){return Jl(e,Ji,Qi)}var s8=Yk;a();function Jk(e){return Jl(e,Zi,Yl)}var u8=Jk;a();a();var Zk=Lt(Qe,"DataView"),Zl=Zk;a();var Qk=Lt(Qe,"Promise"),Ql=Qk;a();var eN=Lt(Qe,"Set"),ec=eN;a();var tN=Lt(Qe,"WeakMap"),tc=tN;var l8="[object Map]",rN="[object Object]",c8="[object Promise]",f8="[object Set]",p8="[object WeakMap]",d8="[object DataView]",nN=gn(Zl),oN=gn(Wn),iN=gn(Ql),aN=gn(ec),sN=gn(tc),No=nr;(Zl&&No(new Zl(new ArrayBuffer(1)))!=d8||Wn&&No(new Wn)!=l8||Ql&&No(Ql.resolve())!=c8||ec&&No(new ec)!=f8||tc&&No(new tc)!=p8)&&(No=function(e){var t=nr(e),r=t==rN?e.constructor:void 0,n=r?gn(r):"";if(n)switch(n){case nN:return d8;case oN:return l8;case iN:return c8;case aN:return f8;case sN:return p8}return t});var ea=No;a();var uN=Object.prototype,lN=uN.hasOwnProperty;function cN(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&lN.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var m8=cN;a();a();a();var fN=Qe.Uint8Array,wm=fN;function pN(e){var t=new e.constructor(e.byteLength);return new wm(t).set(new wm(e)),t}var ta=pN;a();function dN(e,t){var r=t?ta(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var h8=dN;a();var mN=/\w*$/;function hN(e){var t=new e.constructor(e.source,mN.exec(e));return t.lastIndex=e.lastIndex,t}var g8=hN;a();var v8=hr?hr.prototype:void 0,y8=v8?v8.valueOf:void 0;function gN(e){return y8?Object(y8.call(e)):{}}var b8=gN;a();function vN(e,t){var r=t?ta(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var C8=vN;var yN="[object Boolean]",bN="[object Date]",CN="[object Map]",xN="[object Number]",wN="[object RegExp]",SN="[object Set]",DN="[object String]",EN="[object Symbol]",TN="[object ArrayBuffer]",PN="[object DataView]",AN="[object Float32Array]",ON="[object Float64Array]",FN="[object Int8Array]",RN="[object Int16Array]",$N="[object Int32Array]",BN="[object Uint8Array]",MN="[object Uint8ClampedArray]",IN="[object Uint16Array]",kN="[object Uint32Array]";function NN(e,t,r){var n=e.constructor;switch(t){case TN:return ta(e);case yN:case bN:return new n(+e);case PN:return h8(e,r);case AN:case ON:case FN:case RN:case $N:case BN:case MN:case IN:case kN:return C8(e,r);case CN:return new n;case xN:case DN:return new n(e);case wN:return g8(e);case SN:return new n;case EN:return b8(e)}}var x8=NN;a();a();var w8=Object.create,VN=function(){function e(){}return function(t){if(!Nr(t))return{};if(w8)return w8(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),S8=VN;function LN(e){return typeof e.constructor=="function"&&!Yi(e)?S8(_i(e)):{}}var D8=LN;a();a();var zN="[object Map]";function HN(e){return Vt(e)&&ea(e)==zN}var E8=HN;var T8=yn&&yn.isMap,GN=T8?Xi(T8):E8,P8=GN;a();a();var jN="[object Set]";function _N(e){return Vt(e)&&ea(e)==jN}var A8=_N;var O8=yn&&yn.isSet,WN=O8?Xi(O8):A8,F8=WN;var UN=1,KN=2,qN=4,R8="[object Arguments]",XN="[object Array]",YN="[object Boolean]",JN="[object Date]",ZN="[object Error]",$8="[object Function]",QN="[object GeneratorFunction]",eV="[object Map]",tV="[object Number]",B8="[object Object]",rV="[object RegExp]",nV="[object Set]",oV="[object String]",iV="[object Symbol]",aV="[object WeakMap]",sV="[object ArrayBuffer]",uV="[object DataView]",lV="[object Float32Array]",cV="[object Float64Array]",fV="[object Int8Array]",pV="[object Int16Array]",dV="[object Int32Array]",mV="[object Uint8Array]",hV="[object Uint8ClampedArray]",gV="[object Uint16Array]",vV="[object Uint32Array]",Me={};Me[R8]=Me[XN]=Me[sV]=Me[uV]=Me[YN]=Me[JN]=Me[lV]=Me[cV]=Me[fV]=Me[pV]=Me[dV]=Me[eV]=Me[tV]=Me[B8]=Me[rV]=Me[nV]=Me[oV]=Me[iV]=Me[mV]=Me[hV]=Me[gV]=Me[vV]=!0;Me[ZN]=Me[$8]=Me[aV]=!1;function rc(e,t,r,n,o,i){var s,u=t&UN,l=t&KN,c=t&qN;if(r&&(s=o?r(e,n,o,i):r(e)),s!==void 0)return s;if(!Nr(e))return e;var f=Vr(e);if(f){if(s=m8(e),!u)return Kl(e,s)}else{var d=ea(e),m=d==$8||d==QN;if(jl(e))return r8(e,u);if(d==B8||d==R8||m&&!o){if(s=l||m?{}:D8(e),!u)return l?a8(e,J9(s,e)):i8(e,q9(s,e))}else{if(!Me[d])return o?e:{};s=x8(e,d,u)}}i||(i=new $9);var g=i.get(e);if(g)return g;i.set(e,s),F8(e)?e.forEach(function(y){s.add(rc(y,t,r,y,e,i))}):P8(e)&&e.forEach(function(y,b){s.set(b,rc(y,t,r,b,e,i))});var v=c?l?u8:s8:l?Zi:Ji,h=f?void 0:v(e);return B9(h||e,function(y,b){h&&(b=y,y=e[b]),Gl(s,b,rc(y,t,r,b,e,i))}),s}var nc=rc;var yV=1,bV=4;function CV(e){return nc(e,yV|bV)}var ra=CV;var bn=dr(N8());import{createContext as QV,useContext as eL,Children as km,useRef as qn,useEffect as Xn,useState as tL,useCallback as et,useMemo as iy,useImperativeHandle as rL,createElement as Yn,useLayoutEffect as nL,forwardRef as oL,Component as iL}from"react";a();var SV=!0;function DV(e,t){if(!SV){if(e)return;var r="Warning: "+t;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var V8=DV;a();var EV=4;function TV(e){return nc(e,EV)}var Dm=TV;a();a();function PV(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 oc=PV;a();var AV="[object Symbol]";function OV(e){return typeof e=="symbol"||Vt(e)&&nr(e)==AV}var na=OV;a();a();a();var FV="Expected a function";function Em(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(FV);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(Em.Cache||Gs),r}Em.Cache=Gs;var L8=Em;var RV=500;function $V(e){var t=L8(e,function(n){return r.size===RV&&r.clear(),n}),r=t.cache;return t}var z8=$V;var BV=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,MV=/\\(\\)?/g,IV=z8(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(BV,function(r,n,o,i){t.push(o?i.replace(MV,"$1"):n||r)}),t}),H8=IV;a();var kV=1/0;function NV(e){if(typeof e=="string"||na(e))return e;var t=e+"";return t=="0"&&1/e==-kV?"-0":t}var G8=NV;a();a();var VV=1/0,j8=hr?hr.prototype:void 0,_8=j8?j8.toString:void 0;function W8(e){if(typeof e=="string")return e;if(Vr(e))return oc(e,W8)+"";if(na(e))return _8?_8.call(e):"";var t=e+"";return t=="0"&&1/e==-VV?"-0":t}var U8=W8;function LV(e){return e==null?"":U8(e)}var K8=LV;function zV(e){return Vr(e)?oc(e,G8):na(e)?[e]:Kl(H8(K8(e)))}var Tm=zV;var aL=dr(oy());function Fe(){return Fe=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},Fe.apply(this,arguments)}function sL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Lo(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function ay(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var gc=QV(void 0);gc.displayName="FormikContext";var uL=gc.Provider,ACe=gc.Consumer;function Ho(){var e=eL(gc);return e||V8(!1),e}var sy=function(t){return Array.isArray(t)&&t.length===0},Pt=function(t){return typeof t=="function"},_s=function(t){return t!==null&&typeof t=="object"},lL=function(t){return String(Math.floor(Number(t)))===t},$m=function(t){return Object.prototype.toString.call(t)==="[object String]"};var ly=function(t){return km.count(t)===0},Bm=function(t){return _s(t)&&Pt(t.then)};function pt(e,t,r,n){n===void 0&&(n=0);for(var o=Tm(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function Lr(e,t,r){for(var n=Dm(e),o=n,i=0,s=Tm(t);i<s.length-1;i++){var u=s[i],l=pt(e,s.slice(0,i+1));if(l&&(_s(l)||Array.isArray(l)))o=o[u]=Dm(l);else{var c=s[i+1];o=o[u]=lL(c)&&Number(c)>=0?[]:{}}}return(i===0?e:o)[s[i]]===r?e:(r===void 0?delete o[s[i]]:o[s[i]]=r,i===0&&r===void 0&&delete n[s[i]],n)}function cy(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,i=Object.keys(e);o<i.length;o++){var s=i[o],u=e[s];_s(u)?r.get(u)||(r.set(u,!0),n[s]=Array.isArray(u)?[]:{},cy(u,t,r,n[s])):n[s]=t}return n}function cL(e,t){switch(t.type){case"SET_VALUES":return Fe({},e,{values:t.payload});case"SET_TOUCHED":return Fe({},e,{touched:t.payload});case"SET_ERRORS":return(0,bn.default)(e.errors,t.payload)?e:Fe({},e,{errors:t.payload});case"SET_STATUS":return Fe({},e,{status:t.payload});case"SET_ISSUBMITTING":return Fe({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Fe({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Fe({},e,{values:Lr(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Fe({},e,{touched:Lr(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Fe({},e,{errors:Lr(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Fe({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Fe({},e,{touched:cy(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Fe({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Fe({},e,{isSubmitting:!1});default:return e}}var Vo={},hc={};function fL(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,i=e.validateOnMount,s=i===void 0?!1:i,u=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,f=e.onSubmit,d=Lo(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=Fe({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:f},d),g=qn(m.initialValues),v=qn(m.initialErrors||Vo),h=qn(m.initialTouched||hc),y=qn(m.initialStatus),b=qn(!1),x=qn({});Xn(function(){return b.current=!0,function(){b.current=!1}},[]);var w=tL(0),S=w[1],E=qn({values:ra(m.initialValues),errors:ra(m.initialErrors)||Vo,touched:ra(m.initialTouched)||hc,status:ra(m.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),D=E.current,T=et(function(R){var X=E.current;E.current=cL(X,R),X!==E.current&&S(function(te){return te+1})},[]),O=et(function(R,X){return new Promise(function(te,q){var ae=m.validate(R,X);ae==null?te(Vo):Bm(ae)?ae.then(function(Se){te(Se||Vo)},function(Se){q(Se)}):te(ae)})},[m.validate]),F=et(function(R,X){var te=m.validationSchema,q=Pt(te)?te(X):te,ae=X&&q.validateAt?q.validateAt(X,R):dL(R,q);return new Promise(function(Se,Te){ae.then(function(){Se(Vo)},function(ht){ht.name==="ValidationError"?Se(pL(ht)):Te(ht)})})},[m.validationSchema]),I=et(function(R,X){return new Promise(function(te){return te(x.current[R].validate(X))})},[]),G=et(function(R){var X=Object.keys(x.current).filter(function(q){return Pt(x.current[q].validate)}),te=X.length>0?X.map(function(q){return I(q,pt(R,q))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(te).then(function(q){return q.reduce(function(ae,Se,Te){return Se==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Se&&(ae=Lr(ae,X[Te],Se)),ae},{})})},[I]),k=et(function(R){return Promise.all([G(R),m.validationSchema?F(R):{},m.validate?O(R):{}]).then(function(X){var te=X[0],q=X[1],ae=X[2],Se=Il.all([te,q,ae],{arrayMerge:mL});return Se})},[m.validate,m.validationSchema,G,O,F]),H=gr(function(R){return R===void 0&&(R=D.values),T({type:"SET_ISVALIDATING",payload:!0}),k(R).then(function(X){return b.current&&(T({type:"SET_ISVALIDATING",payload:!1}),T({type:"SET_ERRORS",payload:X})),X})});Xn(function(){s&&b.current===!0&&(0,bn.default)(g.current,m.initialValues)&&H(g.current)},[s,H]);var N=et(function(R){var X=R&&R.values?R.values:g.current,te=R&&R.errors?R.errors:v.current?v.current:m.initialErrors||{},q=R&&R.touched?R.touched:h.current?h.current:m.initialTouched||{},ae=R&&R.status?R.status:y.current?y.current:m.initialStatus;g.current=X,v.current=te,h.current=q,y.current=ae;var Se=function(){T({type:"RESET_FORM",payload:{isSubmitting:!!R&&!!R.isSubmitting,errors:te,touched:q,status:ae,values:X,isValidating:!!R&&!!R.isValidating,submitCount:R&&R.submitCount&&typeof R.submitCount=="number"?R.submitCount:0}})};if(m.onReset){var Te=m.onReset(D.values,Ae);Bm(Te)?Te.then(Se):Se()}else Se()},[m.initialErrors,m.initialStatus,m.initialTouched,m.onReset]);Xn(function(){b.current===!0&&!(0,bn.default)(g.current,m.initialValues)&&c&&(g.current=m.initialValues,N(),s&&H(g.current))},[c,m.initialValues,N,s,H]),Xn(function(){c&&b.current===!0&&!(0,bn.default)(v.current,m.initialErrors)&&(v.current=m.initialErrors||Vo,T({type:"SET_ERRORS",payload:m.initialErrors||Vo}))},[c,m.initialErrors]),Xn(function(){c&&b.current===!0&&!(0,bn.default)(h.current,m.initialTouched)&&(h.current=m.initialTouched||hc,T({type:"SET_TOUCHED",payload:m.initialTouched||hc}))},[c,m.initialTouched]),Xn(function(){c&&b.current===!0&&!(0,bn.default)(y.current,m.initialStatus)&&(y.current=m.initialStatus,T({type:"SET_STATUS",payload:m.initialStatus}))},[c,m.initialStatus,m.initialTouched]);var M=gr(function(R){if(x.current[R]&&Pt(x.current[R].validate)){var X=pt(D.values,R),te=x.current[R].validate(X);return Bm(te)?(T({type:"SET_ISVALIDATING",payload:!0}),te.then(function(q){return q}).then(function(q){T({type:"SET_FIELD_ERROR",payload:{field:R,value:q}}),T({type:"SET_ISVALIDATING",payload:!1})})):(T({type:"SET_FIELD_ERROR",payload:{field:R,value:te}}),Promise.resolve(te))}else if(m.validationSchema)return T({type:"SET_ISVALIDATING",payload:!0}),F(D.values,R).then(function(q){return q}).then(function(q){T({type:"SET_FIELD_ERROR",payload:{field:R,value:pt(q,R)}}),T({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Q=et(function(R,X){var te=X.validate;x.current[R]={validate:te}},[]),re=et(function(R){delete x.current[R]},[]),se=gr(function(R,X){T({type:"SET_TOUCHED",payload:R});var te=X===void 0?o:X;return te?H(D.values):Promise.resolve()}),j=et(function(R){T({type:"SET_ERRORS",payload:R})},[]),ne=gr(function(R,X){var te=Pt(R)?R(D.values):R;T({type:"SET_VALUES",payload:te});var q=X===void 0?r:X;return q?H(te):Promise.resolve()}),ce=et(function(R,X){T({type:"SET_FIELD_ERROR",payload:{field:R,value:X}})},[]),pe=gr(function(R,X,te){T({type:"SET_FIELD_VALUE",payload:{field:R,value:X}});var q=te===void 0?r:te;return q?H(Lr(D.values,R,X)):Promise.resolve()}),Be=et(function(R,X){var te=X,q=R,ae;if(!$m(R)){R.persist&&R.persist();var Se=R.target?R.target:R.currentTarget,Te=Se.type,ht=Se.name,Vn=Se.id,Cr=Se.value,u1=Se.checked,u3=Se.outerHTML,Bi=Se.options,l1=Se.multiple;te=X||ht||Vn,q=/number|range/.test(Te)?(ae=parseFloat(Cr),isNaN(ae)?"":ae):/checkbox/.test(Te)?gL(pt(D.values,te),u1,Cr):Bi&&l1?hL(Bi):Cr}te&&pe(te,q)},[pe,D.values]),A=gr(function(R){if($m(R))return function(X){return Be(X,R)};Be(R)}),_=gr(function(R,X,te){X===void 0&&(X=!0),T({type:"SET_FIELD_TOUCHED",payload:{field:R,value:X}});var q=te===void 0?o:te;return q?H(D.values):Promise.resolve()}),z=et(function(R,X){R.persist&&R.persist();var te=R.target,q=te.name,ae=te.id,Se=te.outerHTML,Te=X||q||ae;_(Te,!0)},[_]),U=gr(function(R){if($m(R))return function(X){return z(X,R)};z(R)}),ue=et(function(R){Pt(R)?T({type:"SET_FORMIK_STATE",payload:R}):T({type:"SET_FORMIK_STATE",payload:function(){return R}})},[]),ee=et(function(R){T({type:"SET_STATUS",payload:R})},[]),he=et(function(R){T({type:"SET_ISSUBMITTING",payload:R})},[]),we=gr(function(){return T({type:"SUBMIT_ATTEMPT"}),H().then(function(R){var X=R instanceof Error,te=!X&&Object.keys(R).length===0;if(te){var q;try{if(q=Ce(),q===void 0)return}catch(ae){throw ae}return Promise.resolve(q).then(function(ae){return b.current&&T({type:"SUBMIT_SUCCESS"}),ae}).catch(function(ae){if(b.current)throw T({type:"SUBMIT_FAILURE"}),ae})}else if(b.current&&(T({type:"SUBMIT_FAILURE"}),X))throw R})}),De=gr(function(R){if(R&&R.preventDefault&&Pt(R.preventDefault)&&R.preventDefault(),R&&R.stopPropagation&&Pt(R.stopPropagation)&&R.stopPropagation(),0)var X;we().catch(function(te){console.warn("Warning: An unhandled error was caught from submitForm()",te)})}),Ae={resetForm:N,validateForm:H,validateField:M,setErrors:j,setFieldError:ce,setFieldTouched:_,setFieldValue:pe,setStatus:ee,setSubmitting:he,setTouched:se,setValues:ne,setFormikState:ue,submitForm:we},Ce=gr(function(){return f(D.values,Ae)}),je=gr(function(R){R&&R.preventDefault&&Pt(R.preventDefault)&&R.preventDefault(),R&&R.stopPropagation&&Pt(R.stopPropagation)&&R.stopPropagation(),N()}),Ye=et(function(R){return{value:pt(D.values,R),error:pt(D.errors,R),touched:!!pt(D.touched,R),initialValue:pt(g.current,R),initialTouched:!!pt(h.current,R),initialError:pt(v.current,R)}},[D.errors,D.touched,D.values]),Ne=et(function(R){return{setValue:function(te,q){return pe(R,te,q)},setTouched:function(te,q){return _(R,te,q)},setError:function(te){return ce(R,te)}}},[pe,_,ce]),Tt=et(function(R){var X=_s(R),te=X?R.name:R,q=pt(D.values,te),ae={name:te,value:q,onChange:A,onBlur:U};if(X){var Se=R.type,Te=R.value,ht=R.as,Vn=R.multiple;Se==="checkbox"?Te===void 0?ae.checked=!!q:(ae.checked=!!(Array.isArray(q)&&~q.indexOf(Te)),ae.value=Te):Se==="radio"?(ae.checked=q===Te,ae.value=Te):ht==="select"&&Vn&&(ae.value=ae.value||[],ae.multiple=!0)}return ae},[U,A,D.values]),Ct=iy(function(){return!(0,bn.default)(g.current,D.values)},[g.current,D.values]),st=iy(function(){return typeof u<"u"?Ct?D.errors&&Object.keys(D.errors).length===0:u!==!1&&Pt(u)?u(m):u:D.errors&&Object.keys(D.errors).length===0},[u,Ct,D.errors,m]),ut=Fe({},D,{initialValues:g.current,initialErrors:v.current,initialTouched:h.current,initialStatus:y.current,handleBlur:U,handleChange:A,handleReset:je,handleSubmit:De,resetForm:N,setErrors:j,setFormikState:ue,setFieldTouched:_,setFieldValue:pe,setFieldError:ce,setStatus:ee,setSubmitting:he,setTouched:se,setValues:ne,submitForm:we,validateForm:H,validateField:M,isValid:st,dirty:Ct,unregisterField:re,registerField:Q,getFieldProps:Tt,getFieldMeta:Ye,getFieldHelpers:Ne,validateOnBlur:o,validateOnChange:r,validateOnMount:s});return ut}function fy(e){var t=fL(e),r=e.component,n=e.children,o=e.render,i=e.innerRef;return rL(i,function(){return t}),Yn(uL,{value:t},r?Yn(r,t):o?o(t):n?Pt(n)?n(t):ly(n)?null:km.only(n):null)}function pL(e){var t={};if(e.inner){if(e.inner.length===0)return Lr(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var i;if(r){if(n>=o.length)break;i=o[n++]}else{if(n=o.next(),n.done)break;i=n.value}var s=i;pt(t,s.path)||(t=Lr(t,s.path,s.message))}}return t}function dL(e,t,r,n){r===void 0&&(r=!1);var o=Im(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:n||o})}function Im(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||vm(o)?Im(o):o!==""?o:void 0}):vm(e[n])?t[n]=Im(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function mL(e,t,r){var n=e.slice();return t.forEach(function(i,s){if(typeof n[s]>"u"){var u=r.clone!==!1,l=u&&r.isMergeableObject(i);n[s]=l?Il(Array.isArray(i)?[]:{},i,r):i}else r.isMergeableObject(i)?n[s]=Il(e[s],i,r):e.indexOf(i)===-1&&n.push(i)}),n}function hL(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function gL(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,i=-1;if(Array.isArray(e))n=e,i=e.indexOf(r),o=i>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,i).concat(n.slice(i+1)):n}var vL=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?nL:Xn;function gr(e){var t=qn(e);return vL(function(){t.current=e}),et(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 py(e){var t=e.validate,r=e.name,n=e.render,o=e.children,i=e.as,s=e.component,u=e.className,l=Lo(e,["validate","name","render","children","as","component","className"]),c=Ho(),f=Lo(c,["validate","validationSchema"]),d=f.registerField,m=f.unregisterField;Xn(function(){return d(r,{validate:t}),function(){m(r)}},[d,m,r,t]);var g=f.getFieldProps(Fe({name:r},l)),v=f.getFieldMeta(r),h={field:g,form:f};if(n)return n(Fe({},h,{meta:v}));if(Pt(o))return o(Fe({},h,{meta:v}));if(s){if(typeof s=="string"){var y=l.innerRef,b=Lo(l,["innerRef"]);return Yn(s,Fe({ref:y},g,b,{className:u}),o)}return Yn(s,Fe({field:g,form:f},l,{className:u}),o)}var x=i||"input";if(typeof x=="string"){var w=l.innerRef,S=Lo(l,["innerRef"]);return Yn(x,Fe({ref:w},g,S,{className:u}),o)}return Yn(x,Fe({},g,l,{className:u}),o)}var Nm=oL(function(e,t){var r=e.action,n=Lo(e,["action"]),o=r??"#",i=Ho(),s=i.handleReset,u=i.handleSubmit;return Yn("form",Fe({onSubmit:u,ref:t,onReset:s,action:o},n))});Nm.displayName="Form";var yL=function(t,r,n){var o=zo(t),i=o[r];return o.splice(r,1),o.splice(n,0,i),o},bL=function(t,r,n){var o=zo(t),i=o[r];return o[r]=o[n],o[n]=i,o},Mm=function(t,r,n){var o=zo(t);return o.splice(r,0,n),o},CL=function(t,r,n){var o=zo(t);return o[r]=n,o},zo=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(Fe({},t,{length:r+1}))}else return[]},uy=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||_s(o)){var i=zo(o);return n(i)}return o}},xL=function(e){sL(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(i,s,u){var l=o.props,c=l.name,f=l.formik.setFormikState;f(function(d){var m=uy(u,i),g=uy(s,i),v=Lr(d.values,c,i(pt(d.values,c))),h=u?m(pt(d.errors,c)):void 0,y=s?g(pt(d.touched,c)):void 0;return sy(h)&&(h=void 0),sy(y)&&(y=void 0),Fe({},d,{values:v,errors:u?Lr(d.errors,c,h):d.errors,touched:s?Lr(d.touched,c,y):d.touched})})},o.push=function(i){return o.updateArrayField(function(s){return[].concat(zo(s),[ra(i)])},!1,!1)},o.handlePush=function(i){return function(){return o.push(i)}},o.swap=function(i,s){return o.updateArrayField(function(u){return bL(u,i,s)},!0,!0)},o.handleSwap=function(i,s){return function(){return o.swap(i,s)}},o.move=function(i,s){return o.updateArrayField(function(u){return yL(u,i,s)},!0,!0)},o.handleMove=function(i,s){return function(){return o.move(i,s)}},o.insert=function(i,s){return o.updateArrayField(function(u){return Mm(u,i,s)},function(u){return Mm(u,i,null)},function(u){return Mm(u,i,null)})},o.handleInsert=function(i,s){return function(){return o.insert(i,s)}},o.replace=function(i,s){return o.updateArrayField(function(u){return CL(u,i,s)},!1,!1)},o.handleReplace=function(i,s){return function(){return o.replace(i,s)}},o.unshift=function(i){var s=-1;return o.updateArrayField(function(u){var l=u?[i].concat(u):[i];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(i){return function(){return o.unshift(i)}},o.handleRemove=function(i){return function(){return o.remove(i)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(ay(o)),o.pop=o.pop.bind(ay(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,bn.default)(pt(o.formik.values,o.name),pt(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var i;return this.updateArrayField(function(s){var u=s?zo(s):[];return i||(i=u[o]),Pt(u.splice)&&u.splice(o,1),Pt(u.every)&&u.every(function(l){return l===void 0})?[]:u},!0,!0),i},r.pop=function(){var o;return this.updateArrayField(function(i){var s=i.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},i=this.props,s=i.component,u=i.render,l=i.children,c=i.name,f=i.formik,d=Lo(f,["validate","validationSchema"]),m=Fe({},o,{form:d,name:c});return s?Yn(s,m):u?u(m):l?typeof l=="function"?l(m):ly(l)?null:km.only(l):null},t}(iL);xL.defaultProps={validateOnChange:!0};a();a();import{useState as wL}from"react";var SL=()=>{let[e,t]=wL(!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]};a();a();import{useMemo as DL}from"react";var EL=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:e!=null&&e?()=>!0:()=>!1,vc=(e,t,r={},n=[e])=>{let{eventName:o="keydown",eventTarget:i,eventOptions:s}=r,u=DL(()=>{let l=EL(e);return c=>{if(!(["INPUT","TEXTAREA","SELECT"].includes(document.activeElement?.nodeName??"")||document.activeElement?.isContentEditable)&&l(c))return t(c)}},n);pm(o,u,i,s)};a();a();import{useState as TL}from"react";var Vm=e=>{let[t,r]=TL([!1,null]);return vc(e,n=>r([!0,n]),{eventName:"keydown"},[t]),vc(e,n=>r([!1,n]),{eventName:"keyup"},[t]),t};a();a();a();a();import{useEffect as PL,useRef as AL}from"react";var Lm=(e,t)=>{let r=AL(!0);PL(()=>r.current?(r.current=!1,()=>{}):e(),t)};var zm=(e,t=void 0,r=void 0)=>{let[n,o]=Vm(e);Lm(()=>(!n&&r&&o!==null?r(o):n&&t&&o!==null&&t(o),()=>{}),[n])};a();a();import{useState as OL}from"react";var FL=(e,t,r=window.localStorage)=>{let[n,o]=OL(()=>{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)}]};a();a();var Ws=e=>t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})};a();a();a();a();import{useState as $L,useLayoutEffect as BL}from"react";a();function RL(e,t,r){var n=r||{},o=n.noTrailing,i=o===void 0?!1:o,s=n.noLeading,u=s===void 0?!1:s,l=n.debounceMode,c=l===void 0?void 0:l,f,d=!1,m=0;function g(){f&&clearTimeout(f)}function v(y){var b=y||{},x=b.upcomingOnly,w=x===void 0?!1:x;g(),d=!w}function h(){for(var y=arguments.length,b=new Array(y),x=0;x<y;x++)b[x]=arguments[x];var w=this,S=Date.now()-m;if(d)return;function E(){m=Date.now(),t.apply(w,b)}function D(){f=void 0}!u&&c&&!f&&E(),g(),c===void 0&&S>e?u?(m=Date.now(),i||(f=setTimeout(c?D:E,e))):E():i!==!0&&(f=setTimeout(c?D:E,c===void 0?e-S:e))}return h.cancel=v,h}function Us(e,t,r){var n=r||{},o=n.atBegin,i=o===void 0?!1:o;return RL(e,t,{debounceMode:i!==!1})}a();var Hm=()=>typeof window<"u"&&typeof document<"u";var Gm=(e=0)=>{let[t,r]=$L({width:Hm()?window.innerWidth:0,height:Hm()?window.innerHeight:0});return BL(()=>{let n=Us(e,()=>r({width:window.innerWidth,height:window.innerHeight}));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),t};var ML=16,Go=()=>{let e=Gm().width/ML,t=hn(),r=!0,n=e>=Number.parseFloat(t.breakpoint.sm),o=e>=Number.parseFloat(t.breakpoint.md),i=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),f=e<Number.parseFloat(t.breakpoint.xl);return{isXsAndUp:r,isSmAndUp:n,isMdAndUp:o,isLgAndUp:i,isXlAndUp:s,isXsAndDown:u,isSmAndDown:l,isMdAndDown:c,isLgAndDown:f,isXlAndDown:!0}};a();a();import{useEffect as IL}from"react";var Ks=(e,t)=>{IL(()=>{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])};a();a();import{useLayoutEffect as kL}from"react";var jm=e=>{kL(()=>{if(e){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}}return()=>{}},[e])};a();a();import{useEffect as NL,useRef as VL}from"react";var qs=e=>{let t=VL();return NL(()=>{t.current=e}),t.current};a();a();import Kf from"styled-components";a();a();var Ox=dr(bc());import{useEffect as ri,useRef as Ex,useState as Tx,useCallback as Px}from"react";import{createPortal as ZG}from"react-dom";import{createGlobalStyle as QG}from"styled-components";a();a();import{Children as UG}from"react";a();a();a();import{jsxs as oz,jsx as iz}from"react/jsx-runtime";import{forwardRef as az,useContext as Oc}from"react";a();import{createContext as jL}from"react";var oa=jL({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});a();import{createContext as _L}from"react";var Jn=_L({});a();import{useContext as Ec,useRef as hy,useInsertionEffect as JL,useEffect as ZL}from"react";a();import{createContext as WL}from"react";var Zn=WL(null);a();import{useLayoutEffect as UL,useEffect as KL}from"react";a();var ia=typeof document<"u";var aa=ia?UL:KL;a();import{createContext as qL}from"react";var Cc=qL({strict:!1});a();a();var sa=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var XL="framerAppearId",xc="data-"+sa(XL);a();a();a();var ua={skipAnimations:!1,useManualTiming:!1};a();var wc=class{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}};function my(e){let t=new wc,r=new wc,n=0,o=!1,i=!1,s=new WeakSet,u={schedule:(l,c=!1,f=!1)=>{let d=f&&o,m=d?t:r;return c&&s.add(l),m.add(l)&&d&&o&&(n=t.order.length),l},cancel:l=>{r.remove(l),s.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let c=0;c<n;c++){let f=t.order[c];s.has(f)&&(u.schedule(f),e()),f(l)}o=!1,i&&(i=!1,u.process(l))}};return u}var Sc=["read","resolveKeyframes","update","preRender","render","postRender"],YL=40;function Dc(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},i=Sc.reduce((d,m)=>(d[m]=my(()=>r=!0),d),{}),s=d=>{i[d].process(o)},u=()=>{let d=ua.useManualTiming?o.timestamp:performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(d-o.timestamp,YL),1),o.timestamp=d,o.isProcessing=!0,Sc.forEach(s),o.isProcessing=!1,r&&t&&(n=!1,e(u))},l=()=>{r=!0,n=!0,o.isProcessing||e(u)};return{schedule:Sc.reduce((d,m)=>{let g=i[m];return d[m]=(v,h=!1,y=!1)=>(r||l(),g.schedule(v,h,y)),d},{}),cancel:d=>Sc.forEach(m=>i[m].cancel(d)),state:o,steps:i}}var{schedule:la,cancel:Hwe}=Dc(queueMicrotask,!1);function gy(e,t,r,n){let{visualElement:o}=Ec(Jn),i=Ec(Cc),s=Ec(Zn),u=Ec(oa).reducedMotion,l=hy();n=n||i.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:u}));let c=l.current;JL(()=>{c&&c.update(r,s)});let f=hy(!!(r[xc]&&!window.HandoffComplete));return aa(()=>{c&&(la.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),ZL(()=>{c&&(c.updateFeatures(),!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,window.HandoffComplete=!0))}),c}a();import{useCallback as QL}from"react";a();function Cn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function vy(e,t,r){return QL(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Cn(r)&&(r.current=n))},[t])}a();import{useContext as ez,useMemo as tz}from"react";a();a();function xn(e){return typeof e=="string"||Array.isArray(e)}a();a();function Qn(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}a();var Tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Xs=["initial",...Tc];function jo(e){return Qn(e.animate)||Xs.some(t=>xn(e[t]))}function Pc(e){return!!(jo(e)||e.variants)}function yy(e,t){if(jo(e)){let{initial:r,animate:n}=e;return{initial:r===!1||xn(r)?r:void 0,animate:xn(n)?n:void 0}}return e.inherit!==!1?t:{}}function Cy(e){let{initial:t,animate:r}=yy(e,ez(Jn));return tz(()=>({initial:t,animate:r}),[by(t),by(r)])}function by(e){return Array.isArray(e)?e.join(" "):e}a();a();var xy={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"]},_o={};for(let e in xy)_o[e]={isEnabled:t=>xy[e].some(r=>!!t[r])};function wy(e){for(let t in e)_o[t]={..._o[t],...e[t]}}a();import{createContext as rz}from"react";var ca=rz({});a();import{createContext as nz}from"react";var Ac=nz({});a();var Sy=Symbol.for("motionComponentSymbol");function Dy({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&wy(e);function i(u,l){let c,f={...Oc(oa),...u,layoutId:sz(u)},{isStatic:d}=f,m=Cy(u),g=n(u,d);if(!d&&ia){m.visualElement=gy(o,g,f,t);let v=Oc(Ac),h=Oc(Cc).strict;m.visualElement&&(c=m.visualElement.loadFeatures(f,h,e,v))}return oz(Jn.Provider,{value:m,children:[c&&m.visualElement?iz(c,{visualElement:m.visualElement,...f}):null,r(o,u,vy(g,m.visualElement,l),g,d,m.visualElement)]})}let s=az(i);return s[Sy]=o,s}function sz({layoutId:e}){let t=Oc(ca).id;return t&&e!==void 0?t+"-"+e:e}a();function Ey(e){function t(n,o={}){return Dy(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))})}a();a();a();var Ty=["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 fa(e){return typeof e!="string"||e.includes("-")?!1:!!(Ty.indexOf(e)>-1||/[A-Z]/u.test(e))}a();import{Fragment as wz,useMemo as Sz,createElement as Dz}from"react";a();import{useMemo as pz}from"react";a();a();var pa={};function Py(e){Object.assign(pa,e)}a();var eo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],zt=new Set(eo);function Fc(e,{layout:t,layoutId:r}){return zt.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!pa[e]||e==="opacity")}a();var Ie=e=>!!(e&&e.getVelocity);a();a();var uz={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},lz=eo.length;function Ay(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let s=0;s<lz;s++){let u=eo[s];if(e[u]!==void 0){let l=uz[u]||u;i+=`${l}(${e[u]}) `}}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,n?"":i):r&&n&&(i="none"),i}a();var Oy=e=>t=>typeof t=="string"&&t.startsWith(e),Rc=Oy("--"),cz=Oy("var(--"),da=e=>cz(e)?fz.test(e.split("/*")[0].trim()):!1,fz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;a();var Fy=(e,t)=>t&&typeof e=="number"?t.transform(e):e;a();a();a();var At=(e,t,r)=>r>t?t:r<e?e:r;var zr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},to={...zr,transform:e=>At(0,1,e)},Ys={...zr,default:1};a();a();var ro=e=>Math.round(e*1e5)/1e5,ma=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Ry=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,$y=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function wn(e){return typeof e=="string"}var Js=e=>({test:t=>wn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Hr=Js("deg"),Ot=Js("%"),oe=Js("px"),By=Js("vh"),My=Js("vw"),_m={...Ot,parse:e=>Ot.parse(e)/100,transform:e=>Ot.transform(e*100)};a();var Wm={...zr,transform:Math.round};var $c={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scale:Ys,scaleX:Ys,scaleY:Ys,scaleZ:Ys,skew:Hr,skewX:Hr,skewY:Hr,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:to,originX:_m,originY:_m,originZ:oe,zIndex:Wm,backgroundPositionX:oe,backgroundPositionY:oe,fillOpacity:to,strokeOpacity:to,numOctaves:Wm};function ha(e,t,r,n){let{style:o,vars:i,transform:s,transformOrigin:u}=e,l=!1,c=!1,f=!0;for(let d in t){let m=t[d];if(Rc(d)){i[d]=m;continue}let g=$c[d],v=Fy(m,g);if(zt.has(d)){if(l=!0,s[d]=v,!f)continue;m!==(g.default||0)&&(f=!1)}else d.startsWith("origin")?(c=!0,u[d]=v):o[d]=v}if(t.transform||(l||n?o.transform=Ay(e.transform,r,f,n):o.transform&&(o.transform="none")),c){let{originX:d="50%",originY:m="50%",originZ:g=0}=u;o.transformOrigin=`${d} ${m} ${g}`}}a();var ga=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Um(e,t,r){for(let n in t)!Ie(t[n])&&!Fc(n,r)&&(e[n]=t[n])}function dz({transformTemplate:e},t,r){return pz(()=>{let n=ga();return ha(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function mz(e,t,r){let n=e.style||{},o={};return Um(o,n,e),Object.assign(o,dz(e,t,r)),o}function Iy(e,t,r){let n={},o=mz(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}a();a();var hz=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 Zs(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||hz.has(e)}var zy=e=>!Zs(e);function yz(e){e&&(zy=t=>t.startsWith("on")?!Zs(t):e(t))}try{yz((Ly(),KF(Vy)).default)}catch{}function Hy(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(zy(o)||r===!0&&Zs(o)||!t&&!Zs(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}a();import{useMemo as xz}from"react";a();a();function Gy(e,t,r){return typeof e=="string"?e:oe.transform(t+r*e)}function jy(e,t,r){let n=Gy(t,e.x,e.width),o=Gy(r,e.y,e.height);return`${n} ${o}`}a();var bz={offset:"stroke-dashoffset",array:"stroke-dasharray"},Cz={offset:"strokeDashoffset",array:"strokeDasharray"};function _y(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?bz:Cz;e[i.offset]=oe.transform(-n);let s=oe.transform(t),u=oe.transform(r);e[i.array]=`${s} ${u}`}function va(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:s,pathSpacing:u=1,pathOffset:l=0,...c},f,d,m){if(ha(e,c,f,m),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:g,style:v,dimensions:h}=e;g.transform&&(h&&(v.transform=g.transform),delete g.transform),h&&(o!==void 0||i!==void 0||v.transform)&&(v.transformOrigin=jy(h,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(g.x=t),r!==void 0&&(g.y=r),n!==void 0&&(g.scale=n),s!==void 0&&_y(g,s,u,l,!1)}a();var Bc=()=>({...ga(),attrs:{}});a();var ya=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Wy(e,t,r,n){let o=xz(()=>{let i=Bc();return va(i,t,{enableHardwareAcceleration:!1},ya(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let i={};Um(i,e.style,e),o.style={...i,...o.style}}return o}function Uy(e=!1){return(r,n,o,{latestValues:i},s)=>{let l=(fa(r)?Wy:Iy)(n,i,s,r),c=Hy(n,typeof r=="string",e),f=r!==wz?{...c,...l,ref:o}:{},{children:d}=n,m=Sz(()=>Ie(d)?d.get():d,[d]);return Dz(r,{...f,children:m})}}a();a();a();function Mc(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(let i in r)e.style.setProperty(i,r[i])}a();var Ic=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 kc(e,t,r,n){Mc(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(Ic.has(o)?o:sa(o),t.attrs[o])}a();a();function ba(e,t,r){var n;let{style:o}=e,i={};for(let s in o)(Ie(o[s])||t.style&&Ie(t.style[s])||Fc(s,e)||((n=r?.getValue(s))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(i[s]=o[s]);return i}function Nc(e,t,r){let n=ba(e,t,r);for(let o in e)if(Ie(e[o])||Ie(t[o])){let i=eo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[i]=e[o]}return n}a();import{useContext as Yy}from"react";a();function Ky(e){let t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function Ca(e,t,r,n){if(typeof t=="function"){let[o,i]=Ky(n);t=t(r!==void 0?r:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,i]=Ky(n);t=t(r!==void 0?r:e.custom,o,i)}return t}a();import{useRef as Ez}from"react";function Vc(e){let t=Ez(null);return t.current===null&&(t.current=e()),t.current}a();a();a();var Qs=e=>Array.isArray(e);var qy=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Xy=e=>Qs(e)?e[e.length-1]||0:e;function xa(e){let t=Ie(e)?e.get():e;return qy(t)?t.toValue():t}function Tz({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){let s={latestValues:Pz(n,o,i,e),renderState:t()};return r&&(s.mount=u=>r(n,u,s)),s}var Lc=e=>(t,r)=>{let n=Yy(Jn),o=Yy(Zn),i=()=>Tz(e,t,n,o);return r?i():Vc(i)};function Pz(e,t,r,n){let o={},i=n(e,{});for(let m in i)o[m]=xa(i[m]);let{initial:s,animate:u}=e,l=jo(e),c=Pc(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),u===void 0&&(u=t.animate));let f=r?r.initial===!1:!1;f=f||s===!1;let d=f?u:s;return d&&typeof d!="boolean"&&!Qn(d)&&(Array.isArray(d)?d:[d]).forEach(g=>{let v=Ca(e,g);if(!v)return;let{transitionEnd:h,transition:y,...b}=v;for(let x in b){let w=b[x];if(Array.isArray(w)){let S=f?w.length-1:0;w=w[S]}w!==null&&(o[x]=w)}for(let x in h)o[x]=h[x]}),o}a();a();var Re=e=>e;var{schedule:le,cancel:Ft,state:qe,steps:zc}=Dc(typeof requestAnimationFrame<"u"?requestAnimationFrame:Re,!0);var Jy={useVisualState:Lc({scrapeMotionValuesFromProps:Nc,createRenderState:Bc,onMount:(e,t,{renderState:r,latestValues:n})=>{le.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),le.render(()=>{va(r,n,{enableHardwareAcceleration:!1},ya(t.tagName),e.transformTemplate),kc(t,r)})}})};a();var Zy={useVisualState:Lc({scrapeMotionValuesFromProps:ba,createRenderState:ga})};function Qy(e,{forwardMotionProps:t=!1},r,n){return{...fa(e)?Jy:Zy,preloadedFeatures:r,useRender:Uy(t),createVisualElement:n,Component:e}}a();a();a();a();function Ht(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}a();a();var Hc=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Wo(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}var eb=e=>t=>Hc(t)&&e(t,Wo(t));function Gt(e,t,r,n){return Ht(e,t,eb(r),n)}a();var Az=(e,t)=>r=>t(e(r)),wt=(...e)=>e.reduce(Az);a();function nb(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var tb=nb("dragHorizontal"),rb=nb("dragVertical");function Km(e){let t=!1;if(e==="y")t=rb();else if(e==="x")t=tb();else{let r=tb(),n=rb();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Gc(){let e=Km(!0);return e?(e(),!1):!0}a();var dt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function ob(e,t){let r=t?"pointerenter":"pointerleave",n=t?"onHoverStart":"onHoverEnd",o=(i,s)=>{if(i.pointerType==="touch"||Gc())return;let u=e.getProps();e.animationState&&u.whileHover&&e.animationState.setActive("whileHover",t);let l=u[n];l&&le.postRender(()=>l(i,s))};return Gt(e.current,r,o,{passive:!e.getProps()[n]})}var jc=class extends dt{mount(){this.unmount=wt(ob(this.node,!0),ob(this.node,!1))}unmount(){}};a();var _c=class extends dt{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=wt(Ht(this.node.current,"focus",()=>this.onFocus()),Ht(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};a();a();var qm=(e,t)=>t?e===t?!0:qm(e,t.parentElement):!1;function Xm(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,Wo(r))}var Wc=class extends dt{constructor(){super(...arguments),this.removeStartListeners=Re,this.removeEndListeners=Re,this.removeAccessibleListeners=Re,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=Gt(window,"pointerup",(u,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:f,globalTapTarget:d}=this.node.getProps(),m=!d&&!qm(this.node.current,u.target)?f:c;m&&le.update(()=>m(u,l))},{passive:!(n.onTap||n.onPointerUp)}),s=Gt(window,"pointercancel",(u,l)=>this.cancelPress(u,l),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=wt(i,s),this.startPress(t,r)},this.startAccessiblePress=()=>{let t=i=>{if(i.key!=="Enter"||this.isPressing)return;let s=u=>{u.key!=="Enter"||!this.checkPressEnd()||Xm("up",(l,c)=>{let{onTap:f}=this.node.getProps();f&&le.postRender(()=>f(l,c))})};this.removeEndListeners(),this.removeEndListeners=Ht(this.node.current,"keyup",s),Xm("down",(u,l)=>{this.startPress(u,l)})},r=Ht(this.node.current,"keydown",t),n=()=>{this.isPressing&&Xm("cancel",(i,s)=>this.cancelPress(i,s))},o=Ht(this.node.current,"blur",n);this.removeAccessibleListeners=wt(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&&le.postRender(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Gc()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&le.postRender(()=>n(t,r))}mount(){let t=this.node.getProps(),r=Gt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Ht(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=wt(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}};a();a();var Jm=new WeakMap,Ym=new WeakMap,Oz=e=>{let t=Jm.get(e.target);t&&t(e)},Fz=e=>{e.forEach(Oz)};function Rz({root:e,...t}){let r=e||document;Ym.has(r)||Ym.set(r,{});let n=Ym.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(Fz,{root:e,...t})),n[o]}function ib(e,t,r){let n=Rz(t);return Jm.set(e,r),n.observe(e),()=>{Jm.delete(e),n.unobserve(e)}}var $z={some:0,all:1},Uc=class extends dt{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:i}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:$z[o]},u=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:f,onViewportLeave:d}=this.node.getProps(),m=c?f:d;m&&m(l)};return ib(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(Bz(t,r))&&this.startObserver()}unmount(){}};function Bz({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var ab={inView:{Feature:Uc},tap:{Feature:Wc},focus:{Feature:_c},hover:{Feature:jc}};a();a();a();a();function Zm(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}a();function no(e,t,r){let n=e.getProps();return Ca(n,t,r!==void 0?r:n.custom,e)}a();a();a();a();var jt=e=>e*1e3,_t=e=>e/1e3;a();var Mz={type:"spring",stiffness:500,damping:25,restSpeed:10},Iz=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kz={type:"keyframes",duration:.8},Nz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sb=(e,{keyframes:t})=>t.length>2?kz:zt.has(e)?e.startsWith("scale")?Iz(t[1]):Mz:Nz;a();function ub({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:u,from:l,elapsed:c,...f}){return!!Object.keys(f).length}function wa(e,t){return e[t]||e.default||e}a();var Kc={current:!1};a();var Vz=e=>e!==null;function oo(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(Vz),i=t&&r!=="loop"&&t%2===1?0:o.length-1;return!i||n===void 0?o[i]:n}a();a();var qc;function Lz(){qc=void 0}var ir={now:()=>(qc===void 0&&ir.set(qe.isProcessing||ua.useManualTiming?qe.timestamp:performance.now()),qc),set:e=>{qc=e,queueMicrotask(Lz)}};a();a();a();var Xc=e=>/^0[^.\s]+$/u.test(e);function lb(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xc(e):!0}a();a();var io=Re,Sr=Re;a();var Yc=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var zz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hz(e){let t=zz.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var Gz=4;function Qm(e,t,r=1){Sr(r<=Gz,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=Hz(e);if(!n)return;let i=window.getComputedStyle(t).getPropertyValue(n);if(i){let s=i.trim();return Yc(s)?parseFloat(s):s}return da(o)?Qm(o,t,r+1):o}a();var pb=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),e0=e=>e===zr||e===oe,cb=(e,t)=>parseFloat(e.split(", ")[t]),fb=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/u);if(o)return cb(o[1],t);{let i=n.match(/^matrix\((.+)\)$/u);return i?cb(i[1],e):0}},jz=new Set(["x","y","z"]),_z=eo.filter(e=>!jz.has(e));function db(e){let t=[];return _z.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var Uo={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:fb(4,13),y:fb(5,14)};Uo.translateX=Uo.x;Uo.translateY=Uo.y;a();a();var Jc=e=>t=>t.test(e);a();var mb={test:e=>e==="auto",parse:e=>e};var t0=[zr,oe,Ot,Hr,My,By,mb],r0=e=>t0.find(Jc(e));a();var Ko=new Set,n0=!1,o0=!1;function hb(){if(o0){let e=Array.from(Ko).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=db(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(([i,s])=>{var u;(u=n.getValue(i))===null||u===void 0||u.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}o0=!1,n0=!1,Ko.forEach(e=>e.complete()),Ko.clear()}function gb(){Ko.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(o0=!0)})}function vb(){gb(),hb()}var ao=class{constructor(t,r,n,o,i,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=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ko.add(this),n0||(n0=!0,le.read(gb),le.resolveKeyframes(hb))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===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[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ko.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ko.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};a();a();a();a();a();a();var Sa=(e,t)=>r=>!!(wn(r)&&$y.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Zc=(e,t,r)=>n=>{if(!wn(n))return n;let[o,i,s,u]=n.match(ma);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:u!==void 0?parseFloat(u):1}};var Wz=e=>At(0,255,e),i0={...zr,transform:e=>Math.round(Wz(e))},Gr={test:Sa("rgb","red"),parse:Zc("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+i0.transform(e)+", "+i0.transform(t)+", "+i0.transform(r)+", "+ro(to.transform(n))+")"};function Uz(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 eu={test:Sa("#"),parse:Uz,transform:Gr.transform};a();var so={test:Sa("hsl","hue"),parse:Zc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ot.transform(ro(t))+", "+Ot.transform(ro(r))+", "+ro(to.transform(n))+")"};var tt={test:e=>Gr.test(e)||eu.test(e)||so.test(e),parse:e=>Gr.test(e)?Gr.parse(e):so.test(e)?so.parse(e):eu.parse(e),transform:e=>wn(e)?e:e.hasOwnProperty("red")?Gr.transform(e):so.transform(e)};function Kz(e){var t,r;return isNaN(e)&&wn(e)&&(((t=e.match(ma))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Ry))===null||r===void 0?void 0:r.length)||0)>0}var bb="number",Cb="color",qz="var",Xz="var(",yb="${}",Yz=/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 qo(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],i=0,u=t.replace(Yz,l=>(tt.test(l)?(n.color.push(i),o.push(Cb),r.push(tt.parse(l))):l.startsWith(Xz)?(n.var.push(i),o.push(qz),r.push(l)):(n.number.push(i),o.push(bb),r.push(parseFloat(l))),++i,yb)).split(yb);return{values:r,split:u,indexes:n,types:o}}function xb(e){return qo(e).values}function wb(e){let{split:t,types:r}=qo(e),n=t.length;return o=>{let i="";for(let s=0;s<n;s++)if(i+=t[s],o[s]!==void 0){let u=r[s];u===bb?i+=ro(o[s]):u===Cb?i+=tt.transform(o[s]):i+=o[s]}return i}}var Jz=e=>typeof e=="number"?0:e;function Zz(e){let t=xb(e);return wb(e)(t.map(Jz))}var Rt={test:Kz,parse:xb,createTransformer:wb,getAnimatableNone:Zz};a();a();var Qz=new Set(["brightness","contrast","saturate","opacity"]);function eH(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(ma)||[];if(!n)return e;let o=r.replace(n,""),i=Qz.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}var tH=/\b([a-z-]*)\(.*?\)/gu,tu={...Rt,getAnimatableNone:e=>{let t=e.match(tH);return t?t.map(eH).join(" "):e}};a();var rH={...$c,color:tt,backgroundColor:tt,outlineColor:tt,fill:tt,stroke:tt,borderColor:tt,borderTopColor:tt,borderRightColor:tt,borderBottomColor:tt,borderLeftColor:tt,filter:tu,WebkitFilter:tu},Da=e=>rH[e];function Qc(e,t){let r=Da(e);return r!==tu&&(r=Rt),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var nH=new Set(["auto","none","0"]);function Sb(e,t,r){let n=0,o;for(;n<e.length&&!o;){let i=e[n];typeof i=="string"&&!nH.has(i)&&qo(i).values.length&&(o=e[n]),n++}if(o&&r)for(let i of t)e[i]=Qc(r,o)}var Ea=class extends ao{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(),da(c))){let f=Qm(c,r.current);f!==void 0&&(t[l]=f),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!pb.has(n)||t.length!==2)return;let[o,i]=t,s=r0(o),u=r0(i);if(s!==u)if(e0(s)&&e0(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++)lb(t[o])&&n.push(o);n.length&&Sb(t,n,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:n}=this;if(!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Uo[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 i=r.getValue(n);i&&i.jump(this.measuredOrigin,!1);let s=o.length-1,u=o[s];o[s]=Uo[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()}};a();function ef(e){let t;return()=>(t===void 0&&(t=e()),t)}a();a();a();var a0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Rt.test(e)||e==="0")&&!e.startsWith("url("));function oH(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 Db(e,t,r,n){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let i=e[e.length-1],s=a0(o,t),u=a0(i,t);return io(s===u,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!s||!u?!1:oH(e)||r==="spring"&&n}var Ta=class{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:i,repeatType:s,...u},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&vb(),this._resolved}onKeyframesResolved(t,r){this.hasAttemptedResolve=!0;let{name:n,type:o,velocity:i,delay:s,onComplete:u,onUpdate:l,isGenerator:c}=this.options;if(!c&&!Db(t,n,o,i))if(Kc.current||!s){l?.(oo(t,this.options,r)),u?.(),this.resolveFinishedPromise();return}else this.options.duration=0;let f=this.initPlayback(t,r);f!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...f},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};a();a();a();a();function tf(e,t){return t?e*(1e3/t):0}var iH=5;function rf(e,t,r){let n=Math.max(t-iH,0);return tf(r-e(n),t-n)}a();var s0=.001,aH=.01,Eb=10,sH=.05,uH=1;function Tb({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;io(e<=jt(Eb),"Spring duration must be 10 seconds or less");let s=1-t;s=At(sH,uH,s),e=At(aH,Eb,_t(e)),s<1?(o=c=>{let f=c*s,d=f*e,m=f-r,g=nf(c,s),v=Math.exp(-d);return s0-m/g*v},i=c=>{let d=c*s*e,m=d*r+r,g=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-d),h=nf(Math.pow(c,2),s);return(-o(c)+s0>0?-1:1)*((m-g)*v)/h}):(o=c=>{let f=Math.exp(-c*e),d=(c-r)*e+1;return-s0+f*d},i=c=>{let f=Math.exp(-c*e),d=(r-c)*(e*e);return f*d});let u=5/e,l=cH(o,i,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 lH=12;function cH(e,t,r){let n=r;for(let o=1;o<lH;o++)n=n-e(n)/t(n);return n}function nf(e,t){return e*Math.sqrt(1-t*t)}var fH=["duration","bounce"],pH=["stiffness","damping","mass"];function Pb(e,t){return t.some(r=>e[r]!==void 0)}function dH(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Pb(e,pH)&&Pb(e,fH)){let r=Tb(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function of({keyframes:e,restDelta:t,restSpeed:r,...n}){let o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:u,damping:l,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=dH({...n,velocity:-_t(n.velocity||0)}),g=d||0,v=l/(2*Math.sqrt(u*c)),h=i-o,y=_t(Math.sqrt(u/c)),b=Math.abs(h)<5;r||(r=b?.01:2),t||(t=b?.005:.5);let x;if(v<1){let w=nf(y,v);x=S=>{let E=Math.exp(-v*y*S);return i-E*((g+v*y*h)/w*Math.sin(w*S)+h*Math.cos(w*S))}}else if(v===1)x=w=>i-Math.exp(-y*w)*(h+(g+y*h)*w);else{let w=y*Math.sqrt(v*v-1);x=S=>{let E=Math.exp(-v*y*S),D=Math.min(w*S,300);return i-E*((g+v*y*h)*Math.sinh(D)+w*h*Math.cosh(D))/w}}return{calculatedDuration:m&&f||null,next:w=>{let S=x(w);if(m)s.done=w>=f;else{let E=g;w!==0&&(v<1?E=rf(x,w,S):E=0);let D=Math.abs(E)<=r,T=Math.abs(i-S)<=t;s.done=D&&T}return s.value=s.done?i:S,s}}}a();function u0({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:u,max:l,restDelta:c=.5,restSpeed:f}){let d=e[0],m={done:!1,value:d},g=O=>u!==void 0&&O<u||l!==void 0&&O>l,v=O=>u===void 0?l:l===void 0||Math.abs(u-O)<Math.abs(l-O)?u:l,h=r*t,y=d+h,b=s===void 0?y:s(y);b!==y&&(h=b-d);let x=O=>-h*Math.exp(-O/n),w=O=>b+x(O),S=O=>{let F=x(O),I=w(O);m.done=Math.abs(F)<=c,m.value=m.done?b:I},E,D,T=O=>{g(m.value)&&(E=O,D=of({keyframes:[m.value,v(m.value)],velocity:rf(w,O,m.value),damping:o,stiffness:i,restDelta:c,restSpeed:f}))};return T(0),{calculatedDuration:null,next:O=>{let F=!1;return!D&&E===void 0&&(F=!0,S(O),T(O)),E!==void 0&&O>=E?D.next(O-E):(!F&&S(O),m)}}}a();a();a();var Ab=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,mH=1e-7,hH=12;function gH(e,t,r,n,o){let i,s,u=0;do s=t+(r-t)/2,i=Ab(s,n,o)-e,i>0?r=s:t=s;while(Math.abs(i)>mH&&++u<hH);return s}function uo(e,t,r,n){if(e===t&&r===n)return Re;let o=i=>gH(i,0,1,e,r);return i=>i===0||i===1?i:Ab(o(i),t,n)}var Ob=uo(.42,0,1,1),Fb=uo(0,0,.58,1),af=uo(.42,0,.58,1);a();var Rb=e=>Array.isArray(e)&&typeof e[0]!="number";a();a();a();var sf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;a();var uf=e=>t=>1-e(1-t);var lf=e=>1-Math.sin(Math.acos(e)),cf=uf(lf),$b=sf(lf);a();var l0=uo(.33,1.53,.69,.99),ru=uf(l0),Bb=sf(ru);a();var Mb=e=>(e*=2)<1?.5*ru(e):.5*(2-Math.pow(2,-10*(e-1)));var Ib={linear:Re,easeIn:Ob,easeInOut:af,easeOut:Fb,circIn:lf,circInOut:$b,circOut:cf,backIn:ru,backInOut:Bb,backOut:l0,anticipate:Mb},c0=e=>{if(Array.isArray(e)){Sr(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 Sr(Ib[e]!==void 0,`Invalid easing type '${e}'`),Ib[e];return e};a();a();var Sn=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};a();a();a();var xe=(e,t,r)=>e+(t-e)*r;a();a();function f0(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 kb({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,s=0;if(!t)o=i=s=r;else{let u=r<.5?r*(1+t):r+t-r*t,l=2*r-u;o=f0(l,u,e+1/3),i=f0(l,u,e),s=f0(l,u,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:n}}a();function Pa(e,t){return r=>r>0?t:e}var p0=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},vH=[eu,Gr,so],yH=e=>vH.find(t=>t.test(e));function Nb(e){let t=yH(e);if(io(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===so&&(r=kb(r)),r}var d0=(e,t)=>{let r=Nb(e),n=Nb(t);if(!r||!n)return Pa(e,t);let o={...r};return i=>(o.red=p0(r.red,n.red,i),o.green=p0(r.green,n.green,i),o.blue=p0(r.blue,n.blue,i),o.alpha=xe(r.alpha,n.alpha,i),Gr.transform(o))};a();var ff=new Set(["none","hidden"]);function Vb(e,t){return ff.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function bH(e,t){return r=>xe(e,t,r)}function pf(e){return typeof e=="number"?bH:typeof e=="string"?da(e)?Pa:tt.test(e)?d0:wH:Array.isArray(e)?Lb:typeof e=="object"?tt.test(e)?d0:CH:Pa}function Lb(e,t){let r=[...e],n=r.length,o=e.map((i,s)=>pf(i)(i,t[s]));return i=>{for(let s=0;s<n;s++)r[s]=o[s](i);return r}}function CH(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=pf(e[o])(e[o],t[o]));return o=>{for(let i in n)r[i]=n[i](o);return r}}function xH(e,t){var r;let n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],u=e.indexes[s][o[s]],l=(r=e.values[u])!==null&&r!==void 0?r:0;n[i]=l,o[s]++}return n}var wH=(e,t)=>{let r=Rt.createTransformer(t),n=qo(e),o=qo(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?ff.has(e)&&!o.values.length||ff.has(t)&&!n.values.length?Vb(e,t):wt(Lb(xH(n,o),o.values),r):(io(!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.`),Pa(e,t))};function df(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?xe(e,t,r):pf(e)(e,t)}function SH(e,t,r){let n=[],o=r||df,i=e.length-1;for(let s=0;s<i;s++){let u=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||Re:t;u=wt(l,u)}n.push(u)}return n}function zb(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;if(Sr(i===t.length,"Both input and output ranges must be the same length"),i===1)return()=>t[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=SH(t,n,o),u=s.length,l=c=>{let f=0;if(u>1)for(;f<e.length-2&&!(c<e[f+1]);f++);let d=Sn(e[f],e[f+1],c);return s[f](d)};return r?c=>l(At(e[0],e[i-1],c)):l}a();a();function Hb(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=Sn(0,t,n);e.push(xe(r,1,o))}}function Gb(e){let t=[0];return Hb(t,e.length-1),t}a();function jb(e,t){return e.map(r=>r*t)}function DH(e,t){return e.map(()=>t||af).splice(0,e.length-1)}function nu({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=Rb(n)?n.map(c0):c0(n),i={done:!1,value:t[0]},s=jb(r&&r.length===t.length?r:Gb(t),e),u=zb(s,t,{ease:Array.isArray(o)?o:DH(t,o)});return{calculatedDuration:e,next:l=>(i.value=u(l),i.done=l>=e,i)}}a();function _b(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}a();var Wb=e=>{let t=({timestamp:r})=>e(r);return{start:()=>le.update(t,!0),stop:()=>Ft(t),now:()=>qe.isProcessing?qe.timestamp:ir.now()}};var EH={decay:u0,inertia:u0,tween:nu,keyframes:nu,spring:of},TH=e=>e/100,Xo=class extends Ta{constructor({KeyframeResolver:t=ao,...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:i}=this.options,s=(u,l)=>this.onKeyframesResolved(u,l);n&&o&&o.owner?this.resolver=o.owner.resolveKeyframes(i,s,n,o):this.resolver=new t(i,s,n,o),this.resolver.scheduleResolve()}initPlayback(t){let{type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,u=EH[r]||nu,l,c;u!==nu&&typeof t[0]!="number"&&(l=wt(TH,df(t[0],t[1])),t=[0,100]);let f=u({...this.options,keyframes:t});i==="mirror"&&(c=u({...this.options,keyframes:[...t].reverse(),velocity:-s})),f.calculatedDuration===null&&(f.calculatedDuration=_b(f));let{calculatedDuration:d}=f,m=d+o,g=m*(n+1)-o;return{generator:f,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:m,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:O}=this.options;return{done:!0,value:O[O.length-1]}}let{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:u,keyframes:l,calculatedDuration:c,totalDuration:f,resolvedDuration:d}=n;if(this.startTime===null)return i.next(0);let{delay:m,repeat:g,repeatType:v,repeatDelay:h,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-f/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 b=this.currentTime-m*(this.speed>=0?1:-1),x=this.speed>=0?b<0:b>f;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let w=this.currentTime,S=i;if(g){let O=Math.min(this.currentTime,f)/d,F=Math.floor(O),I=O%1;!I&&O>=1&&(I=1),I===1&&F--,F=Math.min(F,g+1),!!(F%2)&&(v==="reverse"?(I=1-I,h&&(I-=h/d)):v==="mirror"&&(S=s)),w=At(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>=f:this.currentTime<=0);let T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return T&&o!==void 0&&(E.value=oo(l,this.options,o)),y&&y(E.value),T&&this.finish(),E}get duration(){let{resolved:t}=this;return t?_t(t.calculatedDuration):0}get time(){return _t(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=_t(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=Wb,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)}};a();a();a();var m0=e=>Array.isArray(e)&&typeof e[0]=="number";function h0(e){return!!(!e||typeof e=="string"&&e in g0||m0(e)||Array.isArray(e)&&e.every(h0))}var ou=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,g0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ou([0,.65,.55,1]),circOut:ou([.55,0,1,.45]),backIn:ou([.31,.01,.66,-.59]),backOut:ou([.33,1.53,.69,.99])};function PH(e){return v0(e)||g0.easeOut}function v0(e){if(e)return m0(e)?ou(e):Array.isArray(e)?e.map(PH):g0[e]}function Ub(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:u,times:l}={}){let c={[t]:r};l&&(c.offset=l);let f=v0(u);return Array.isArray(f)&&(c.easing=f),e.animate(c,{delay:n,duration:o,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}var AH=ef(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),OH=new Set(["opacity","clipPath","filter","transform"]),mf=10,FH=2e4;function RH(e){return e.type==="spring"||e.name==="backgroundColor"||!h0(e.ease)}function $H(e,t){let r=new Xo({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],i=0;for(;!n.done&&i<FH;)n=r.sample(i),o.push(n.value),i+=mf;return{times:void 0,keyframes:o,duration:i-mf,ease:"linear"}}var iu=class extends Ta{constructor(t){super(t);let{name:r,motionValue:n,keyframes:o}=this.options;this.resolver=new Ea(o,(i,s)=>this.onKeyframesResolved(i,s),r,n),this.resolver.scheduleResolve()}initPlayback(t,r){var n;let{duration:o=300,times:i,ease:s,type:u,motionValue:l,name:c}=this.options;if(!(!((n=l.owner)===null||n===void 0)&&n.current))return!1;if(RH(this.options)){let{onComplete:d,onUpdate:m,motionValue:g,...v}=this.options,h=$H(t,v);t=h.keyframes,t.length===1&&(t[1]=t[0]),o=h.duration,i=h.times,s=h.ease,u="keyframes"}let f=Ub(l.owner.current,c,t,{...this.options,duration:o,times:i,ease:s});return f.startTime=ir.now(),this.pendingTimeline?(f.timeline=this.pendingTimeline,this.pendingTimeline=void 0):f.onfinish=()=>{let{onComplete:d}=this.options;l.set(oo(t,this.options,r)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:o,times:i,type:u,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:r}=t;return _t(r)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:r}=t;return _t(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 Re;let{animation:n}=r;n.timeline=t,n.onfinish=null}return Re}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;let{resolved:t}=this;if(!t)return;let{animation:r,keyframes:n,duration:o,type:i,ease:s,times:u}=t;if(!(r.playState==="idle"||r.playState==="finished")){if(this.time){let{motionValue:l,onUpdate:c,onComplete:f,...d}=this.options,m=new Xo({...d,keyframes:n,duration:o,type:i,ease:s,times:u,isGenerator:!0}),g=jt(this.time);l.setWithVelocity(m.sample(g-mf).value,m.sample(g).value,mf)}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:i,damping:s,type:u}=t;return AH()&&n&&OH.has(n)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!o&&i!=="mirror"&&s!==0&&u!=="inertia"}};a();a();function Kb(e,t){let r,n=()=>{let{currentTime:o}=t,s=(o===null?0:o.value)/100;r!==s&&e(s),r=s};return le.update(n,!0),()=>Ft(n)}a();var qb=ef(()=>window.ScrollTimeline!==void 0);var hf=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(qb()&&n.attachTimeline)n.attachTimeline(t);else return n.pause(),Kb(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 Aa=(e,t,r,n={},o,i)=>s=>{let u=wa(n,e)||{},l=u.delay||n.delay||0,{elapsed:c=0}=n;c=c-jt(l);let f={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-c,onUpdate:m=>{t.set(m),u.onUpdate&&u.onUpdate(m)},onComplete:()=>{s(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:i?void 0:o};ub(u)||(f={...f,...sb(e,f)}),f.duration&&(f.duration=jt(f.duration)),f.repeatDelay&&(f.repeatDelay=jt(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let d=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(f.duration=0,f.delay===0&&(d=!0)),(Kc.current||ua.skipAnimations)&&(d=!0,f.duration=0,f.delay=0),d&&!i&&t.get()!==void 0){let m=oo(f.keyframes,u);if(m!==void 0)return le.update(()=>{f.onUpdate(m),f.onComplete()}),new hf([])}return!i&&iu.supports(f)?new iu(f):new Xo(f)};a();function Yo(e){return!!(Ie(e)&&e.add)}a();a();a();a();function Oa(e,t){e.indexOf(t)===-1&&e.push(t)}function Fa(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var lo=class{constructor(){this.subscriptions=[]}add(t){return Oa(this.subscriptions,t),()=>Fa(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 i=0;i<o;i++){let s=this.subscriptions[i];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var Xb=30,BH=e=>!isNaN(parseFloat(e)),Yb={current:void 0},y0=class{constructor(t,r={}){this.version="11.2.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,o=!0)=>{let i=ir.now();this.updatedAt!==i&&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=ir.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=BH(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 lo);let n=this.events[t].add(r);return t==="change"?()=>{n(),le.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 Yb.current&&Yb.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=ir.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Xb)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,Xb);return tf(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 Dn(e,t){return new y0(e,t)}function MH(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Dn(r))}function Jb(e,t){let r=no(e,t),{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(let s in i){let u=Xy(i[s]);MH(e,s,u)}}a();function gf(e){return e.getProps()[xc]}function IH({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function vf(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:u,...l}=t,c=e.getValue("willChange");n&&(s=n);let f=[],d=o&&e.animationState&&e.animationState.getState()[o];for(let m in l){let g=e.getValue(m,(i=e.latestValues[m])!==null&&i!==void 0?i:null),v=l[m];if(v===void 0||d&&IH(d,m))continue;let h={delay:r,elapsed:0,...wa(s||{},m)},y=!1;if(window.HandoffAppearAnimations){let x=gf(e);if(x){let w=window.HandoffAppearAnimations(x,m,g,le);w!==null&&(h.elapsed=w,y=!0)}}g.start(Aa(m,g,v,e.shouldReduceMotion&&zt.has(m)?{type:!1}:h,e,y));let b=g.animation;b&&(Yo(c)&&(c.add(m),b.then(()=>c.remove(m))),f.push(b))}return u&&Promise.all(f).then(()=>{le.update(()=>{u&&Jb(e,u)})}),f}a();function yf(e,t,r={}){var n;let o=no(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);let s=o?()=>Promise.all(vf(e,o,r)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:f=0,staggerChildren:d,staggerDirection:m}=i;return kH(e,t,f+c,d,m,r)}:()=>Promise.resolve(),{when:l}=i;if(l){let[c,f]=l==="beforeChildren"?[s,u]:[u,s];return c().then(()=>f())}else return Promise.all([s(),u(r.delay)])}function kH(e,t,r=0,n=0,o=1,i){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(NH).forEach((c,f)=>{c.notify("AnimationStart",t),s.push(yf(c,t,{...i,delay:r+l(f)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function NH(e,t){return e.sortNodePosition(t)}function Zb(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(i=>yf(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=yf(e,t,r);else{let o=typeof t=="function"?no(e,t,r.custom):t;n=Promise.all(vf(e,o,r))}return n.then(()=>{le.postRender(()=>{e.notify("AnimationComplete",t)})})}var VH=[...Tc].reverse(),LH=Tc.length;function zH(e){return t=>Promise.all(t.map(({animation:r,options:n})=>Zb(e,r,n)))}function Qb(e){let t=zH(e),r=GH(),n=!0,o=l=>(c,f)=>{var d;let m=no(e,f,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(m){let{transition:g,transitionEnd:v,...h}=m;c={...c,...h,...v}}return c};function i(l){t=l(e)}function s(l){let c=e.getProps(),f=e.getVariantContext(!0)||{},d=[],m=new Set,g={},v=1/0;for(let y=0;y<LH;y++){let b=VH[y],x=r[b],w=c[b]!==void 0?c[b]:f[b],S=xn(w),E=b===l?x.isActive:null;E===!1&&(v=y);let D=w===f[b]&&w!==c[b]&&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 O=HH(x.prevProp,w)||b===l&&x.isActive&&!D&&S||y>v&&S,F=!1,I=Array.isArray(w)?w:[w],G=I.reduce(o(b),{});E===!1&&(G={});let{prevResolvedValues:k={}}=x,H={...k,...G},N=M=>{O=!0,m.has(M)&&(F=!0,m.delete(M)),x.needsAnimating[M]=!0;let Q=e.getValue(M);Q&&(Q.liveStyle=!1)};for(let M in H){let Q=G[M],re=k[M];if(g.hasOwnProperty(M))continue;let se=!1;Qs(Q)&&Qs(re)?se=!Zm(Q,re):se=Q!==re,se?Q!=null?N(M):m.add(M):Q!==void 0&&m.has(M)?N(M):x.protectedKeys[M]=!0}x.prevProp=w,x.prevResolvedValues=G,x.isActive&&(g={...g,...G}),n&&e.blockInitialAnimation&&(O=!1),O&&(!D||F)&&d.push(...I.map(M=>({animation:M,options:{type:b}})))}if(m.size){let y={};m.forEach(b=>{let x=e.getBaseTarget(b),w=e.getValue(b);w&&(w.liveStyle=!0),y[b]=x??null}),d.push({animation:y})}let h=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(h=!1),n=!1,h?t(d):Promise.resolve()}function u(l,c){var f;if(r[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(m=>{var g;return(g=m.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;let d=s(l);for(let m in r)r[m].protectedKeys={};return d}return{animateChanges:s,setActive:u,setAnimateFunction:i,getState:()=>r}}function HH(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Zm(t,e):!1}function Jo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function GH(){return{animate:Jo(!0),whileInView:Jo(),whileHover:Jo(),whileTap:Jo(),whileDrag:Jo(),whileFocus:Jo(),exit:Jo()}}var bf=class extends dt{constructor(t){super(t),t.animationState||(t.animationState=Qb(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),Qn(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}};a();var jH=0,Cf=class extends dt{constructor(){super(...arguments),this.id=jH++}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 eC={animation:{Feature:bf},exit:{Feature:Cf}};a();a();a();a();a();var tC=(e,t)=>Math.abs(e-t);function rC(e,t){let r=tC(e.x,t.x),n=tC(e.y,t.y);return Math.sqrt(r**2+n**2)}var Ra=class{constructor(t,r,{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:i=!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=C0(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=rC(d.offset,{x:0,y:0})>=3;if(!m&&!g)return;let{point:v}=d,{timestamp:h}=qe;this.history.push({...v,timestamp:h});let{onStart:y,onMove:b}=this.handlers;m||(y&&y(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,d)},this.handlePointerMove=(d,m)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=b0(m,this.transformPagePoint),le.update(this.updatePoint,!0)},this.handlePointerUp=(d,m)=>{this.end();let{onEnd:g,onSessionEnd:v,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let y=C0(d.type==="pointercancel"?this.lastMoveEventInfo:b0(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,y),v&&v(d,y)},!Hc(t))return;this.dragSnapToOrigin=i,this.handlers=r,this.transformPagePoint=n,this.contextWindow=o||window;let s=Wo(t),u=b0(s,this.transformPagePoint),{point:l}=u,{timestamp:c}=qe;this.history=[{...l,timestamp:c}];let{onSessionStart:f}=r;f&&f(t,C0(u,this.history)),this.removeListeners=wt(Gt(this.contextWindow,"pointermove",this.handlePointerMove),Gt(this.contextWindow,"pointerup",this.handlePointerUp),Gt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ft(this.updatePoint)}};function b0(e,t){return t?{point:t(e.point)}:e}function nC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function C0({point:e},t){return{point:e,delta:nC(e,oC(t)),offset:nC(e,_H(t)),velocity:WH(t,.1)}}function _H(e){return e[0]}function oC(e){return e[e.length-1]}function WH(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=oC(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>jt(t)));)r--;if(!n)return{x:0,y:0};let i=_t(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};let s={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}a();a();function vt(e){return e.max-e.min}function xf(e,t=0,r=.01){return Math.abs(e-t)<=r}function iC(e,t,r,n=.5){e.origin=n,e.originPoint=xe(t.min,t.max,e.origin),e.scale=vt(r)/vt(t),(xf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=xe(r.min,r.max,e.origin)-e.originPoint,(xf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function $a(e,t,r,n){iC(e.x,t.x,r.x,n?n.originX:void 0),iC(e.y,t.y,r.y,n?n.originY:void 0)}function aC(e,t,r){e.min=r.min+t.min,e.max=e.min+vt(t)}function uC(e,t,r){aC(e.x,t.x,r.x),aC(e.y,t.y,r.y)}function sC(e,t,r){e.min=t.min-r.min,e.max=e.min+vt(t)}function Ba(e,t,r){sC(e.x,t.x,r.x),sC(e.y,t.y,r.y)}function dC(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?xe(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?xe(r,e,n.max):Math.min(e,r)),e}function lC(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 mC(e,{top:t,left:r,bottom:n,right:o}){return{x:lC(e.x,r,o),y:lC(e.y,t,n)}}function cC(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 hC(e,t){return{x:cC(e.x,t.x),y:cC(e.y,t.y)}}function gC(e,t){let r=.5,n=vt(e),o=vt(t);return o>n?r=Sn(t.min,t.max-n,e.min):n>o&&(r=Sn(e.min,e.max-o,t.min)),At(0,1,r)}function vC(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 wf=.35;function yC(e=wf){return e===!1?e=0:e===!0&&(e=wf),{x:fC(e,"left","right"),y:fC(e,"top","bottom")}}function fC(e,t,r){return{min:pC(e,t),max:pC(e,r)}}function pC(e,t){return typeof e=="number"?e:e[t]||0}a();var bC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Zo=()=>({x:bC(),y:bC()}),CC=()=>({min:0,max:0}),Le=()=>({x:CC(),y:CC()});a();function Wt(e){return[e("x"),e("y")]}a();a();function Sf({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function xC({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function wC(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}}a();a();function x0(e){return e===void 0||e===1}function Df({scale:e,scaleX:t,scaleY:r}){return!x0(e)||!x0(t)||!x0(r)}function En(e){return Df(e)||w0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function w0(e){return SC(e.x)||SC(e.y)}function SC(e){return e&&e!=="0%"}function au(e,t,r){let n=e-r,o=t*n;return r+o}function DC(e,t,r,n,o){return o!==void 0&&(e=au(e,o,n)),au(e,r,n)+t}function S0(e,t=0,r=1,n,o){e.min=DC(e.min,t,r,n,o),e.max=DC(e.max,t,r,n,o)}function D0(e,{x:t,y:r}){S0(e.x,t.translate,t.scale,t.originPoint),S0(e.y,r.translate,r.scale,r.originPoint)}function PC(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let i,s;for(let u=0;u<o;u++){i=r[u],s=i.projectionDelta;let l=i.instance;l&&l.style&&l.style.display==="contents"||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Qo(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,D0(e,s)),n&&En(i.latestValues)&&Qo(e,i.latestValues))}t.x=EC(t.x),t.y=EC(t.y)}function EC(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function jr(e,t){e.min=e.min+t,e.max=e.max+t}function TC(e,t,[r,n,o]){let i=t[o]!==void 0?t[o]:.5,s=xe(e.min,e.max,i);S0(e,t[r],t[n],s,t.scale)}var UH=["x","scaleX","originX"],KH=["y","scaleY","originY"];function Qo(e,t){TC(e.x,t,UH),TC(e.y,t,KH)}function E0(e,t){return Sf(wC(e.getBoundingClientRect(),t))}function AC(e,t,r){let n=E0(e,r),{scroll:o}=t;return o&&(jr(n.x,o.offset.x),jr(n.y,o.offset.y)),n}a();var Ef=({current:e})=>e?e.ownerDocument.defaultView:null;var qH=new WeakMap,Pf=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=Le(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let o=f=>{let{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Wo(f,"page").point)},i=(f,d)=>{let{drag:m,dragPropagation:g,onDragStart:v}=this.getProps();if(m&&!g&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Km(m),!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),Wt(y=>{let b=this.getAxisMotionValue(y).get()||0;if(Ot.test(b)){let{projection:x}=this.visualElement;if(x&&x.layout){let w=x.layout.layoutBox[y];w&&(b=vt(w)*(parseFloat(b)/100))}}this.originPoint[y]=b}),v&&le.postRender(()=>v(f,d));let{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(f,d)=>{let{dragPropagation:m,dragDirectionLock:g,onDirectionLock:v,onDrag:h}=this.getProps();if(!m&&!this.openGlobalLock)return;let{offset:y}=d;if(g&&this.currentDirection===null){this.currentDirection=XH(y),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),h&&h(f,d)},u=(f,d)=>this.stop(f,d),l=()=>Wt(f=>{var d;return this.getAnimationState(f)==="paused"&&((d=this.getAxisMotionValue(f).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Ra(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:u,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Ef(this.visualElement)})}stop(t,r){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i&&le.postRender(()=>i(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||!Tf(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=dC(s,this.constraints[t],this.elastic[t])),i.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,i=this.constraints;r&&Cn(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=mC(o.layoutBox,r):this.constraints=!1,this.elastic=yC(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Wt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=vC(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Cn(t))return!1;let n=t.current;Sr(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 i=AC(n,o.root,this.visualElement.getTransformPagePoint()),s=hC(o.layout.layoutBox,i);if(r){let u=r(xC(s));this.hasMutatedConstraints=!!u,u&&(s=Sf(u))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},c=Wt(f=>{if(!Tf(f,r,this.currentDirection))return;let d=l&&l[f]||{};s&&(d={min:0,max:0});let m=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[f]:0,bounceStiffness:m,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(f,v)});return Promise.all(c).then(u)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return n.start(Aa(t,n,0,r,this.visualElement))}stopAnimation(){Wt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Wt(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){Wt(r=>{let{drag:n}=this.getProps();if(!Tf(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:u}=o.layout.layoutBox[r];i.set(t[r]-xe(s,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Cn(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};Wt(s=>{let u=this.getAxisMotionValue(s);if(u&&this.constraints!==!1){let l=u.get();o[s]=gC({min:l,max:l},this.constraints[s])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Wt(s=>{if(!Tf(s,t,null))return;let u=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];u.set(xe(l,c,o[s]))})}addListeners(){if(!this.visualElement.current)return;qH.set(this.visualElement,this);let t=this.visualElement.current,r=Gt(t,"pointerdown",l=>{let{drag:c,dragListener:f=!0}=this.getProps();c&&f&&this.start(l)}),n=()=>{let{dragConstraints:l}=this.getProps();Cn(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();let s=Ht(window,"resize",()=>this.scalePositionWithinConstraints()),u=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Wt(f=>{let d=this.getAxisMotionValue(f);d&&(this.originPoint[f]+=l[f].translate,d.set(d.get()+l[f].translate))}),this.visualElement.render())});return()=>{s(),r(),i(),u&&u()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=wf,dragMomentum:u=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:u}}};function Tf(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function XH(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var Af=class extends dt{constructor(t){super(t),this.removeGroupControls=Re,this.removeListeners=Re,this.controls=new Pf(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Re}unmount(){this.removeGroupControls(),this.removeListeners()}};a();var OC=e=>(t,r)=>{e&&le.postRender(()=>e(t,r))},Of=class extends dt{constructor(){super(...arguments),this.removePointerDownListener=Re}onPointerDown(t){this.session=new Ra(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ef(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:OC(t),onStart:OC(r),onMove:n,onEnd:(i,s)=>{delete this.session,o&&le.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Gt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};a();import{jsx as QH}from"react/jsx-runtime";import{useContext as BC,Component as eG}from"react";a();import{useContext as YH,useId as JH,useEffect as ZH}from"react";function FC(){let e=YH(Zn);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,o=JH();return ZH(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}a();var Ma={hasAnimatedSinceResize:!0,hasEverUpdated:!1};a();function RC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Ia={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;let r=RC(e,t.target.x),n=RC(e,t.target.y);return`${r}% ${n}%`}};a();var $C={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=Rt.parse(e);if(o.length>5)return n;let i=Rt.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=xe(u,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),i(o)}};var T0=class extends eG{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;Py(tG),i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ma.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||le.postRender(()=>{let u=s.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),la.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 Ff(e){let[t,r]=FC(),n=BC(ca);return QH(T0,{...e,layoutGroup:n,switchLayoutGroup:BC(Ac),isPresent:t,safeToRemove:r})}var tG={borderRadius:{...Ia,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ia,borderTopRightRadius:Ia,borderBottomLeftRadius:Ia,borderBottomRightRadius:Ia,boxShadow:$C};a();a();a();var NC=["TopLeft","TopRight","BottomLeft","BottomRight"],rG=NC.length,MC=e=>typeof e=="string"?parseFloat(e):e,IC=e=>typeof e=="number"||oe.test(e);function VC(e,t,r,n,o,i){o?(e.opacity=xe(0,r.opacity!==void 0?r.opacity:1,nG(n)),e.opacityExit=xe(t.opacity!==void 0?t.opacity:1,0,oG(n))):i&&(e.opacity=xe(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<rG;s++){let u=`border${NC[s]}Radius`,l=kC(t,u),c=kC(r,u);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||IC(l)===IC(c)?(e[u]=Math.max(xe(MC(l),MC(c),n),0),(Ot.test(c)||Ot.test(l))&&(e[u]+="%")):e[u]=c}(t.rotate||r.rotate)&&(e.rotate=xe(t.rotate||0,r.rotate||0,n))}function kC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var nG=LC(0,.5,cf),oG=LC(.5,.95,Re);function LC(e,t,r){return n=>n<e?0:n>t?1:r(Sn(e,t,n))}a();function zC(e,t){e.min=t.min,e.max=t.max}function ar(e,t){zC(e.x,t.x),zC(e.y,t.y)}a();function HC(e,t,r,n,o){return e-=t,e=au(e,1/r,n),o!==void 0&&(e=au(e,1/o,n)),e}function iG(e,t=0,r=1,n=.5,o,i=e,s=e){if(Ot.test(t)&&(t=parseFloat(t),t=xe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let u=xe(i.min,i.max,n);e===i&&(u-=t),e.min=HC(e.min,t,r,u,o),e.max=HC(e.max,t,r,u,o)}function GC(e,t,[r,n,o],i,s){iG(e,t[r],t[n],t[o],t.scale,i,s)}var aG=["x","scaleX","originX"],sG=["y","scaleY","originY"];function P0(e,t,r,n){GC(e.x,t,aG,r?r.x:void 0,n?n.x:void 0),GC(e.y,t,sG,r?r.y:void 0,n?n.y:void 0)}a();function jC(e){return e.translate===0&&e.scale===1}function A0(e){return jC(e.x)&&jC(e.y)}function _C(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function O0(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function F0(e){return vt(e.x)/vt(e.y)}a();var Rf=class{constructor(){this.members=[]}add(t){Oa(this.members,t),t.scheduleRender()}remove(t){if(Fa(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 i=this.members[o];if(i.isPresent!==!1){n=i;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)}};a();function R0(e,t,r){let n="",o=e.x.translate/t.x,i=e.y.translate/t.y,s=r?.z||0;if((o||i||s)&&(n=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:c,rotate:f,rotateX:d,rotateY:m,skewX:g,skewY:v}=r;c&&(n=`perspective(${c}px) ${n}`),f&&(n+=`rotate(${f}deg) `),d&&(n+=`rotateX(${d}deg) `),m&&(n+=`rotateY(${m}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"}a();a();var WC=(e,t)=>e.depth-t.depth;var $f=class{constructor(){this.children=[],this.isDirty=!1}add(t){Oa(this.children,t),this.isDirty=!0}remove(t){Fa(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(WC),this.isDirty=!1,this.children.forEach(t)}};a();function UC(e,t){let r=ir.now(),n=({timestamp:o})=>{let i=o-r;i>=t&&(Ft(n),e(i-t))};return le.read(n,!0),()=>Ft(n)}a();function KC(e){window.MotionDebug&&window.MotionDebug.record(e)}a();function qC(e){return e instanceof SVGElement&&e.tagName!=="svg"}a();function XC(e,t,r){let n=Ie(e)?e:Dn(e);return n.start(Aa("",n,t,r)),n.animation}var $0=["","X","Y","Z"],uG={visibility:"hidden"},YC=1e3,lG=0,ei={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function B0(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function ox(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:t}=e.options;return t?gf(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?ox(e.parent):!1:!1}function Bf({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},u=t?.()){this.id=lG++,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.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ei.totalNodes=ei.resolvedTargetDeltas=ei.recalculatedProjection=0,this.nodes.forEach(pG),this.nodes.forEach(vG),this.nodes.forEach(yG),this.nodes.forEach(dG),KC(ei)},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 $f)}addEventListener(s,u){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new lo),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=qC(s),this.instance=s;let{layoutId:l,layout:c,visualElement:f}=this.options;if(f&&!f.current&&f.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(c||l)&&(this.isLayoutDirty=!0),e){let d,m=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=UC(m,250),Ma.hasAnimatedSinceResize&&(Ma.hasAnimatedSinceResize=!1,this.nodes.forEach(ZC))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&f&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:m,hasRelativeTargetChanged:g,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let h=this.options.transition||f.getDefaultTransition()||SG,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=f.getProps(),x=!this.targetLayout||!O0(this.targetLayout,v)||g,w=!m&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||w||m&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);let S={...wa(h,"layout"),onPlay:y,onComplete:b};(f.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else m||ZC(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,Ft(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(bG),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&&ox(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f<this.path.length;f++){let d=this.path[f];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(JC);return}this.isUpdating||this.nodes.forEach(hG),this.isUpdating=!1,this.nodes.forEach(gG),this.nodes.forEach(cG),this.nodes.forEach(fG),this.clearAllSnapshots();let u=ir.now();qe.delta=At(0,1e3/60,u-qe.timestamp),qe.timestamp=u,qe.isProcessing=!0,zc.update.process(qe),zc.preRender.process(qe),zc.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,la.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(mG),this.sharedNodes.forEach(CG)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){le.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=Le(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(u=!1),u&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!A0(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,f=c!==this.prevTransformTemplateValue;s&&(u||En(this.latestValues)||f)&&(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)),DG(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:s}=this.options;if(!s)return Le();let u=s.measureViewportBox(),{scroll:l}=this.root;return l&&(jr(u.x,l.offset.x),jr(u.y,l.offset.y)),u}removeElementScroll(s){let u=Le();ar(u,s);for(let l=0;l<this.path.length;l++){let c=this.path[l],{scroll:f,options:d}=c;if(c!==this.root&&f&&d.layoutScroll){if(f.isRoot){ar(u,s);let{scroll:m}=this.root;m&&(jr(u.x,-m.offset.x),jr(u.y,-m.offset.y))}jr(u.x,f.offset.x),jr(u.y,f.offset.y)}}return u}applyTransform(s,u=!1){let l=Le();ar(l,s);for(let c=0;c<this.path.length;c++){let f=this.path[c];!u&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Qo(l,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),En(f.latestValues)&&Qo(l,f.latestValues)}return En(this.latestValues)&&Qo(l,this.latestValues),l}removeTransform(s){let u=Le();ar(u,s);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!En(c.latestValues))continue;Df(c.latestValues)&&c.updateSnapshot();let f=Le(),d=c.measurePageBox();ar(f,d),P0(u,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,f)}return En(this.latestValues)&&P0(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!==qe.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))return;let{layout:d,layoutId:m}=this.options;if(!(!this.layout||!(d||m))){if(this.resolvedRelativeTargetAt=qe.timestamp,!this.targetDelta&&!this.relativeTarget){let g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Le(),this.relativeTargetOrigin=Le(),Ba(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),ar(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Le(),this.targetWithTransforms=Le()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uC(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ar(this.target,this.layout.layoutBox),D0(this.target,this.targetDelta)):ar(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=Le(),this.relativeTargetOrigin=Le(),Ba(this.relativeTargetOrigin,this.target,g.target),ar(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ei.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Df(this.parent.latestValues)||w0(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===qe.timestamp&&(c=!1),c)return;let{layout:f,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||!(f||d))return;ar(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,g=this.treeScale.y;PC(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=Le());let{target:v}=u;if(!v){this.projectionTransform&&(this.projectionDelta=Zo(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Zo(),this.projectionDeltaWithTransform=Zo());let h=this.projectionTransform;$a(this.projectionDelta,this.layoutCorrected,v,this.latestValues),this.projectionTransform=R0(this.projectionDelta,this.treeScale),(this.projectionTransform!==h||this.treeScale.x!==m||this.treeScale.y!==g)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),ei.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){let u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,u=!1){let l=this.snapshot,c=l?l.latestValues:{},f={...this.latestValues},d=Zo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;let m=Le(),g=l?l.source:void 0,v=this.layout?this.layout.source:void 0,h=g!==v,y=this.getStack(),b=!y||y.members.length<=1,x=!!(h&&!b&&this.options.crossfade===!0&&!this.path.some(wG));this.animationProgress=0;let w;this.mixTargetDelta=S=>{let E=S/1e3;QC(d.x,s.x,E),QC(d.y,s.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ba(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),xG(this.relativeTarget,this.relativeTargetOrigin,m,E),w&&_C(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=Le()),ar(w,this.relativeTarget)),h&&(this.animationValues=f,VC(f,c,this.latestValues,E,x,b)),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&&(Ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=le.update(()=>{Ma.hasAnimatedSinceResize=!0,this.currentAnimation=XC(0,YC,{...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(YC),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:u,target:l,layout:c,latestValues:f}=s;if(!(!u||!l||!c)){if(this!==s&&this.layout&&c&&ix(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Le();let d=vt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;let m=vt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+m}ar(u,l),Qo(u,f),$a(this.projectionDeltaWithTransform,this.layoutCorrected,u,f)}}registerSharedNode(s,u){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Rf),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&&B0("z",s,c,this.animationValues);for(let f=0;f<$0.length;f++)B0(`rotate${$0[f]}`,s,c,this.animationValues),B0(`skew${$0[f]}`,s,c,this.animationValues);s.render();for(let f in c)s.setStaticValue(f,c[f]),this.animationValues&&(this.animationValues[f]=c[f]);s.scheduleRender()}getProjectionStyles(s){var u,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return uG;let c={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=xa(s?.pointerEvents)||"",c.transform=f?f(this.latestValues,""):"none",c;let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){let h={};return this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=xa(s?.pointerEvents)||""),this.hasProjected&&!En(this.latestValues)&&(h.transform=f?f({},""):"none",this.hasProjected=!1),h}let m=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=R0(this.projectionDeltaWithTransform,this.treeScale,m),f&&(c.transform=f(m,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=m.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:c.opacity=d===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let h in pa){if(m[h]===void 0)continue;let{correct:y,applyTo:b}=pa[h],x=c.transform==="none"?m[h]:y(m[h],d);if(b){let w=b.length;for(let S=0;S<w;S++)c[b[S]]=x}else c[h]=x}return this.options.layoutId&&(c.pointerEvents=d===this?xa(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(JC),this.root.sharedNodes.clear()}}}function cG(e){e.updateLayout()}function fG(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:i}=e.options,s=r.source!==e.layout.source;i==="size"?Wt(d=>{let m=s?r.measuredBox[d]:r.layoutBox[d],g=vt(m);m.min=n[d].min,m.max=m.min+g}):ix(i,r.layoutBox,n)&&Wt(d=>{let m=s?r.measuredBox[d]:r.layoutBox[d],g=vt(n[d]);m.max=m.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});let u=Zo();$a(u,n,r.layoutBox);let l=Zo();s?$a(l,e.applyTransform(o,!0),r.measuredBox):$a(l,n,r.layoutBox);let c=!A0(u),f=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:m,layout:g}=d;if(m&&g){let v=Le();Ba(v,r.layoutBox,m.layoutBox);let h=Le();Ba(h,n,g.layoutBox),O0(v,h)||(f=!0),d.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:u,hasLayoutChanged:c,hasRelativeTargetChanged:f})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function pG(e){ei.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 dG(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mG(e){e.clearSnapshot()}function JC(e){e.clearMeasurements()}function hG(e){e.isLayoutDirty=!1}function gG(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ZC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function vG(e){e.resolveTargetDelta()}function yG(e){e.calcProjection()}function bG(e){e.resetSkewAndRotation()}function CG(e){e.removeLeadSnapshot()}function QC(e,t,r){e.translate=xe(t.translate,0,r),e.scale=xe(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ex(e,t,r,n){e.min=xe(t.min,r.min,n),e.max=xe(t.max,r.max,n)}function xG(e,t,r,n){ex(e.x,t.x,r.x,n),ex(e.y,t.y,r.y,n)}function wG(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var SG={duration:.45,ease:[.4,0,.1,1]},tx=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rx=tx("applewebkit/")&&!tx("chrome/")?Math.round:Re;function nx(e){e.min=rx(e.min),e.max=rx(e.max)}function DG(e){nx(e.x),nx(e.y)}function ix(e,t,r){return e==="position"||e==="preserve-aspect"&&!xf(F0(t),F0(r),.2)}a();var ax=Bf({attachResizeListener:(e,t)=>Ht(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var M0={current:void 0},Mf=Bf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!M0.current){let e=new ax({});e.mount(window),e.setOptions({layoutScroll:!0}),M0.current=e}return M0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var sx={pan:{Feature:Of},drag:{Feature:Af,ProjectionNode:Mf,MeasureLayout:Ff}};a();import{Fragment as OG}from"react";a();a();a();a();a();var su={current:null},If={current:!1};function ux(){if(If.current=!0,!!ia)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>su.current=e.matches;e.addListener(t),t()}else su.current=!1}a();function lx(e,t,r){let{willChange:n}=t;for(let o in t){let i=t[o],s=r[o];if(Ie(i))e.addValue(o,i),Yo(n)&&n.add(o);else if(Ie(s))e.addValue(o,Dn(i,{owner:e})),Yo(n)&&n.remove(o);else if(s!==i)if(e.hasValue(o)){let u=e.getValue(o);u.liveStyle===!0?u.jump(i):u.hasAnimated||u.set(i)}else{let u=e.getStaticValue(o);e.addValue(o,Dn(u!==void 0?u:i,{owner:e}))}}for(let o in r)t[o]===void 0&&e.removeValue(o);return t}a();var I0=new WeakMap;a();var EG=[...t0,tt,Rt],cx=e=>EG.find(Jc(e));var px=Object.keys(_o),TG=px.length,fx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],PG=Xs.length;function dx(e){if(e)return e.options.allowProjection!==!1?e.projection:dx(e.parent)}var kf=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},u={}){this.resolveKeyframes=(m,g,v,h)=>new this.KeyframeResolver(m,g,v,h,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ao,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>le.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=!!i,this.isControllingVariants=jo(r),this.isVariantNode=Pc(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:f,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let m in d){let g=d[m];l[m]!==void 0&&Ie(g)&&(g.set(l[m],!1),Yo(f)&&f.add(m))}}mount(t){this.current=t,I0.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)),If.current||ux(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:su.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;I0.delete(this.current),this.projection&&this.projection.unmount(),Ft(this.notifyUpdate),Ft(this.render),this.valueSubscriptions.forEach(r=>r()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let r in this.events)this.events[r].clear();for(let r in this.features)(t=this.features[r])===null||t===void 0||t.unmount();this.current=null}bindToMotionValue(t,r){let n=zt.has(t),o=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&le.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,o,i){let s,u;for(let l=0;l<TG;l++){let c=px[l],{isEnabled:f,Feature:d,ProjectionNode:m,MeasureLayout:g}=_o[c];m&&(s=m),f(r)&&(!this.features[c]&&d&&(this.features[c]=new d(this)),g&&(u=g))}if((this.type==="html"||this.type==="svg")&&!this.projection&&s){let{layoutId:l,layout:c,drag:f,dragConstraints:d,layoutScroll:m,layoutRoot:g}=r;this.projection=new s(this.latestValues,r["data-framer-portal-id"]?void 0:dx(this.parent)),this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!f||d&&Cn(d),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,layoutScroll:m,layoutRoot:g})}return u}updateFeatures(){for(let t in this.features){let r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Le()}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<fx.length;n++){let o=fx[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=lx(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<PG;n++){let o=Xs[n],i=this.props[o];(xn(i)||i===!1)&&(r[o]=i)}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=Dn(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"&&(Yc(o)||Xc(o))?o=parseFloat(o):!cx(o)&&Rt.test(r)&&(o=Qc(t,r)),this.setBaseTarget(t,Ie(o)?o.get():o)),Ie(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=Ca(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 i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ie(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new lo),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}};var ka=class extends kf{constructor(){super(...arguments),this.KeyframeResolver=Ea}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 AG(e){return window.getComputedStyle(e)}var Nf=class extends ka{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(zt.has(r)){let n=Da(r);return n&&n.default||0}else{let n=AG(t),o=(Rc(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return E0(t,r)}build(t,r,n,o){ha(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return ba(t,r,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Ie(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,o){Mc(t,r,n,o)}};a();var Vf=class extends ka{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(zt.has(r)){let n=Da(r);return n&&n.default||0}return r=Ic.has(r)?r:sa(r),t.getAttribute(r)}measureInstanceViewportBox(){return Le()}scrapeMotionValuesFromProps(t,r,n){return Nc(t,r,n)}build(t,r,n,o){va(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){kc(t,r,n,o)}mount(t){this.isSVGTag=ya(t.tagName),super.mount(t)}};var mx=(e,t)=>fa(e)?new Vf(t,{enableHardwareAcceleration:!1}):new Nf(t,{allowProjection:e!==OG,enableHardwareAcceleration:!0});a();var hx={layout:{ProjectionNode:Mf,MeasureLayout:Ff}};var FG={...eC,...ab,...sx,...hx},k0=Ey((e,t)=>Qy(e,t,FG,mx));a();import{jsx as uu,Fragment as Dx}from"react/jsx-runtime";import{useContext as zG,useRef as Gf,cloneElement as HG,Children as GG,isValidElement as jG}from"react";a();import{useState as $G,useCallback as gx}from"react";a();import{useRef as RG}from"react";function Lf(){let e=RG(!1);return aa(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function vx(){let e=Lf(),[t,r]=$G(0),n=gx(()=>{e.current&&r(t+1)},[t]);return[gx(()=>le.postRender(n),[n]),t]}a();import{jsx as Cx}from"react/jsx-runtime";import*as wx from"react";import{useId as NG,useMemo as xx}from"react";a();import{jsx as BG}from"react/jsx-runtime";import*as zf from"react";import{useId as MG,useRef as yx,useContext as IG,useInsertionEffect as kG}from"react";var N0=class extends zf.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 bx({children:e,isPresent:t}){let r=MG(),n=yx(null),o=yx({width:0,height:0,top:0,left:0}),{nonce:i}=IG(oa);return kG(()=>{let{width:s,height:u,top:l,left:c}=o.current;if(t||!n.current||!s||!u)return;n.current.dataset.motionPopId=r;let f=document.createElement("style");return i&&(f.nonce=i),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
749
749
|
[data-motion-pop-id="${r}"] {
|
|
750
750
|
position: absolute !important;
|
|
751
751
|
width: ${s}px !important;
|
|
@@ -761,7 +761,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
761
761
|
.${z0} {
|
|
762
762
|
overflow: hidden;
|
|
763
763
|
}
|
|
764
|
-
`,Fx=(e=document)=>{let t=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');return Array.from(t).filter(r=>window.getComputedStyle(r).getPropertyValue("display")!=="none")},tj=(e,t)=>{let r=Fx(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())},Ax=({className:e,initialShownState:t=!1,isDismissible:r=!0,onBeforeHide:n,onHide:o,onShow:i,render:s,toggle:u})=>{let{attemptShowModal:l,attemptHideModal:c,removeModalFromQueue:f}=sm(),[d,m]=Tx(!1),[g,v]=Tx(t),h=qs(d),y=()=>v(!1),b=Px(()=>v(!0),[]),x=Ex(),w=document.createElement("div");w.classList.add("Modal"),J(e)&&w.classList.add(e);let S=Ex(w),E=Px(()=>{if(J(n)){let{shouldShowMessage:D,message:T}=Object(n());if(D&&!window.confirm(T))return}y(),o&&o()},[n,o]);return ri(()=>{let D=T=>{T.key==="Escape"&&r&&E()};return d&&(document.addEventListener("keyup",D),document.querySelector("body")?.classList.add(z0)),()=>{document.removeEventListener("keyup",D),document.querySelector("body")?.classList.remove(z0)}},[d,E,r]),ri(()=>{v(t)},[v,t]),ri(()=>{let D=T=>{T.key==="Tab"&&tj(S,T)};if(d){let T=Fx(S.current);if(!T.find(O=>O===document.activeElement)){let O=T[0];O&&O.focus()}document.addEventListener("keydown",D),i&&i()}return()=>{document.removeEventListener("keydown",D)}},[d,i]),ri(()=>{!d
|
|
764
|
+
`,Fx=(e=document)=>{let t=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');return Array.from(t).filter(r=>window.getComputedStyle(r).getPropertyValue("display")!=="none")},tj=(e,t)=>{let r=Fx(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())},Ax=({className:e,initialShownState:t=!1,isDismissible:r=!0,onBeforeHide:n,onHide:o,onShow:i,render:s,toggle:u})=>{let{attemptShowModal:l,attemptHideModal:c,removeModalFromQueue:f}=sm(),[d,m]=Tx(!1),[g,v]=Tx(t),h=qs(d),y=()=>v(!1),b=Px(()=>v(!0),[]),x=Ex(),w=document.createElement("div");w.classList.add("Modal"),J(e)&&w.classList.add(e);let S=Ex(w),E=Px(()=>{if(J(n)){let{shouldShowMessage:D,message:T}=Object(n());if(D&&!window.confirm(T))return}y(),o&&o()},[n,o]);return ri(()=>{let D=T=>{T.key==="Escape"&&r&&E()};return d&&(document.addEventListener("keyup",D),document.querySelector("body")?.classList.add(z0)),()=>{document.removeEventListener("keyup",D),document.querySelector("body")?.classList.remove(z0)}},[d,E,r]),ri(()=>{v(t)},[v,t]),ri(()=>{let D=T=>{T.key==="Tab"&&tj(S,T)};if(d){let T=Fx(S.current);if(!T.find(O=>O===document.activeElement)){let O=T[0];O&&O.focus()}document.addEventListener("keydown",D),i&&i()}return()=>{document.removeEventListener("keydown",D)}},[d,i]),ri(()=>{!d&&$(h)&&h&&x.current&&x.current.focus()},[d,h]),ri(()=>{let D=S.current;return document.body.appendChild(D),()=>D.remove()},[]),ri(()=>()=>{lt(f)||f(m)},[f]),ri(()=>{if(g&&J(l))l(m);else{if(lt(c))return;c(m)}},[l,c,g]),!l||!c||!f?null:nj(rj,{children:[cu(ej,{}),J(u)&&u(b,x),ZG(cu(lu,{children:d&&J(s)?s(E):void 0}),S.current)]})},Na=e=>{let t=sm();return(0,Ox.default)(t,{})?cu(Rl,{children:cu(Ax,{...e})}):cu(Ax,{...e})};Na.displayName="ModalBase_VHS";a();a();import oj from"styled-components";import{jsx as sj}from"react/jsx-runtime";var ij=e=>{if(e==="center")return"center";if(e==="left")return"flex-start";if(e==="right")return"flex-end"},aj=oj.div`
|
|
765
765
|
display: flex;
|
|
766
766
|
|
|
767
767
|
/* this helps ensure that primary buttons appear at the top of the column */
|
|
@@ -770,7 +770,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
770
770
|
justify-content: ${({align:e})=>ij(e)};
|
|
771
771
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
772
772
|
|
|
773
|
-
${
|
|
773
|
+
${$e.smAndUp} {
|
|
774
774
|
flex-direction: row;
|
|
775
775
|
}
|
|
776
776
|
|
|
@@ -780,7 +780,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
780
780
|
.MenuButton {
|
|
781
781
|
width: 100%;
|
|
782
782
|
|
|
783
|
-
${
|
|
783
|
+
${$e.smAndUp} {
|
|
784
784
|
width: auto;
|
|
785
785
|
}
|
|
786
786
|
}
|
|
@@ -810,13 +810,13 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
810
810
|
min-width: 0;
|
|
811
811
|
`,cj=uj.div`
|
|
812
812
|
${vr};
|
|
813
|
-
${({lines:e})=>{if(
|
|
813
|
+
${({lines:e})=>{if($(e))return H0`
|
|
814
814
|
-webkit-box-orient: vertical;
|
|
815
815
|
-webkit-line-clamp: ${e};
|
|
816
816
|
display: -webkit-box;
|
|
817
817
|
white-space: initial;
|
|
818
818
|
`}}
|
|
819
|
-
|
|
819
|
+
`,Rx=({children:e,lines:t,...r})=>fj(cj,{lines:t,...r,children:e});Rx.displayName="Ellipsis_VHS";import{jsx as Tj}from"react/jsx-runtime";var dj={left:"left",right:"right",center:"center",justify:"justify"};var mj=yt`
|
|
820
820
|
font-size: 24px;
|
|
821
821
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
822
822
|
line-height: 1.25;
|
|
@@ -886,7 +886,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
886
886
|
display: block;
|
|
887
887
|
margin-bottom: ${t.spacing.space05};
|
|
888
888
|
`}
|
|
889
|
-
`,sr=({align:e="left",bold:t=!1,children:r,colorOverride:n,disabled:o=!1,ellipsis:i=!1,inline:s=!1,italic:u=!1,preventUserSelect:l=!1,renderAs:c="div",variant:f="body1",...d})=>Tj(Ej,{align:e,as:c,bold:t,colorOverride:n,disabled:o,ellipsis:i,inline:s,italic:u,preventUserSelect:l,variant:f,...d,children:r});sr.displayName="Text_VHS";a();a();import Pj from"styled-components";import{jsx as
|
|
889
|
+
`,sr=({align:e="left",bold:t=!1,children:r,colorOverride:n,disabled:o=!1,ellipsis:i=!1,inline:s=!1,italic:u=!1,preventUserSelect:l=!1,renderAs:c="div",variant:f="body1",...d})=>Tj(Ej,{align:e,as:c,bold:t,colorOverride:n,disabled:o,ellipsis:i,inline:s,italic:u,preventUserSelect:l,variant:f,...d,children:r});sr.displayName="Text_VHS";a();a();import Pj from"styled-components";import{jsx as Rj}from"react/jsx-runtime";var Aj={normal:"normal",top:"start",center:"center",bottom:"end"},Oj={normal:"normal",left:"start",center:"center",right:"end"},Fj=Pj.div`
|
|
890
890
|
align-items: ${({alignVertical:e})=>Aj[e]};
|
|
891
891
|
background: ${({backgroundColor:e})=>e};
|
|
892
892
|
bottom: 0;
|
|
@@ -898,7 +898,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
898
898
|
right: 0;
|
|
899
899
|
top: 0;
|
|
900
900
|
z-index: ${({theme:e})=>e.zIndex.Backdrop};
|
|
901
|
-
`,_r=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,...o})
|
|
901
|
+
`,_r=({alignHorizontal:e="normal",alignVertical:t="normal",backgroundColor:r="rgba(0, 0, 0, 0.4)",children:n,...o})=>Rj(Fj,{alignHorizontal:e,alignVertical:t,backgroundColor:r,...o,children:n});_r.displayName="Backdrop_VHS";a();a();a();a();import{forwardRef as Jj,useMemo as Zj}from"react";import Qj,{css as mu}from"styled-components";a();a();import Bx,{css as $j}from"styled-components";import{jsx as $x}from"react/jsx-runtime";var fu=$j`
|
|
902
902
|
border: 0;
|
|
903
903
|
clip: rect(1px, 1px, 1px, 1px); /* deprecated but remains as fallback */
|
|
904
904
|
clip-path: inset(50%); /* modern but less support */
|
|
@@ -914,7 +914,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
914
914
|
&:not(:focus-within) {
|
|
915
915
|
${fu}
|
|
916
916
|
}
|
|
917
|
-
`,jf=({text:e,children:t,focusable:r=!1,...n})=>{let o
|
|
917
|
+
`,jf=({text:e,children:t,focusable:r=!1,...n})=>{let o=$(e)?e:t;return r?$x(Mj,{...n,children:o}):$x(Bj,{...n,children:o})};jf.displayName="ScreenReaderOnly_VHS";a();a();import{useEffect as jj,useState as _j,useRef as zx,useMemo as Wj}from"react";import Uj from"styled-components";a();a();var _f,Ij=new Uint8Array(16);function G0(){if(!_f&&(_f=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!_f))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return _f(Ij)}a();var bt=[];for(let e=0;e<256;++e)bt.push((e+256).toString(16).slice(1));function Mx(e,t=0){return bt[e[t+0]]+bt[e[t+1]]+bt[e[t+2]]+bt[e[t+3]]+"-"+bt[e[t+4]]+bt[e[t+5]]+"-"+bt[e[t+6]]+bt[e[t+7]]+"-"+bt[e[t+8]]+bt[e[t+9]]+"-"+bt[e[t+10]]+bt[e[t+11]]+bt[e[t+12]]+bt[e[t+13]]+bt[e[t+14]]+bt[e[t+15]]}a();a();var kj=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),j0={randomUUID:kj};function Nj(e,t,r){if(j0.randomUUID&&!t&&!e)return j0.randomUUID();e=e||{};let n=e.random||(e.rng||G0)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let o=0;o<16;++o)t[r+o]=n[o];return t}return Mx(n)}var pu=Nj;a();import kx,{css as Wf}from"styled-components";import{jsx as Ix}from"react/jsx-runtime";var ni=8,du=kx.div`
|
|
918
918
|
color: ${({fontColorOverride:e})=>e??"white"};
|
|
919
919
|
font-size: 12px;
|
|
920
920
|
font-weight: ${({theme:e})=>e.font.weight.regular};
|
|
@@ -1102,7 +1102,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1102
1102
|
position: relative;
|
|
1103
1103
|
width: 100vw;
|
|
1104
1104
|
|
|
1105
|
-
${
|
|
1105
|
+
${$e.smAndUp} {
|
|
1106
1106
|
border-radius: 16px;
|
|
1107
1107
|
height: ${({fullHeight:e})=>e?"min-content":"auto"};
|
|
1108
1108
|
margin: ${({theme:e})=>e.spacing.space05};
|
|
@@ -1111,7 +1111,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1111
1111
|
width: min-content;
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
|
-
${
|
|
1114
|
+
${$e.mdAndUp} {
|
|
1115
1115
|
flex-direction: row;
|
|
1116
1116
|
}
|
|
1117
1117
|
`,p_=Kf.div`
|
|
@@ -1119,7 +1119,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1119
1119
|
flex-direction: column;
|
|
1120
1120
|
padding: ${({theme:e})=>e.spacing.space06};
|
|
1121
1121
|
|
|
1122
|
-
${
|
|
1122
|
+
${$e.smAndUp} {
|
|
1123
1123
|
width: ${({width:e})=>e};
|
|
1124
1124
|
}
|
|
1125
1125
|
|
|
@@ -1145,11 +1145,11 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1145
1145
|
min-width: 192px;
|
|
1146
1146
|
padding: ${({theme:e})=>`${e.spacing.space04} ${e.spacing.space06}`};
|
|
1147
1147
|
|
|
1148
|
-
${
|
|
1148
|
+
${$e.smAndUp} {
|
|
1149
1149
|
border-radius: 16px 16px 0 0;
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
|
-
${
|
|
1152
|
+
${$e.mdAndUp} {
|
|
1153
1153
|
border-radius: 16px 0 0 16px;
|
|
1154
1154
|
padding: ${({theme:e})=>e.spacing.space06};
|
|
1155
1155
|
}
|
|
@@ -1158,7 +1158,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1158
1158
|
height: ${jx}px;
|
|
1159
1159
|
width: ${jx}px;
|
|
1160
1160
|
}
|
|
1161
|
-
`,Wx=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,fullHeight:i=!1,closeIconColorOverride:s=void 0,illustration:u=null,illustrationBackgroundColor:l="brandBlue",initialShownState:c=!1,isDismissible:f=!0,onBeforeHide:d,onHide:m,onShow:g,render:v,title:h,toggle:y,width:b=c_,...x})=>Tn(Na,{className:o,initialShownState:c,isDismissible:f,onBeforeHide:d,onHide:m,onShow:g,render:w=>Tn(_r,{alignHorizontal:e,alignVertical:t,onClick:S=>{f&&(S.stopPropagation(),w())},children:U0(f_,{"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",fullHeight:i,onClick:S=>S.stopPropagation(),role:"dialog",...x,children:[f?Tn(La,{closeIconColorOverride:s,onClick:w}):null
|
|
1161
|
+
`,Wx=({alignHorizontal:e="center",alignVertical:t="center",buttons:r,children:n,className:o,fullHeight:i=!1,closeIconColorOverride:s=void 0,illustration:u=null,illustrationBackgroundColor:l="brandBlue",initialShownState:c=!1,isDismissible:f=!0,onBeforeHide:d,onHide:m,onShow:g,render:v,title:h,toggle:y,width:b=c_,...x})=>Tn(Na,{className:o,initialShownState:c,isDismissible:f,onBeforeHide:d,onHide:m,onShow:g,render:w=>Tn(_r,{alignHorizontal:e,alignVertical:t,onClick:S=>{f&&(S.stopPropagation(),w())},children:U0(f_,{"aria-labelledby":"dialogTitle","data-testid":"action-modal-dialogue",fullHeight:i,onClick:S=>S.stopPropagation(),role:"dialog",...x,children:[f?Tn(La,{closeIconColorOverride:s,onClick:w}):null,$(u)?Tn(m_,{illustrationBackgroundColor:l,children:typeof u=="string"?Tn("img",{alt:"",src:u}):u}):null,U0(p_,{width:b,children:[U0(d_,{children:[Tn(_x,{children:h?Tn(sr,{id:"dialogTitle",renderAs:"h2",style:{marginBottom:"16px"},variant:"headline1",children:h}):null}),Tn(_x,{children:v===void 0?n:v(w)})]}),Tn(co,{align:"right",style:{flexGrow:"0",marginTop:"24px"},children:typeof r=="function"?r(w):r})]})]})}),toggle:y});Wx.displayName="ActionModal_VHS";a();a();import h_ from"styled-components";import{jsx as b_}from"react/jsx-runtime";var Ux=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)),g_=e=>{if(e!==void 0&&Array.isArray(e))return e.map(t=>Ux(t)?`url('${t}')`:t).join(", ");if(e!==void 0&&e!==""&>(e))return Ux(e)?`url('${e}')`:e},v_=e=>{if(e!=="")return pn(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};`},y_=h_.div`
|
|
1162
1162
|
background-attachment: ${({bgAttachment:e})=>e};
|
|
1163
1163
|
background-clip: ${({bgClip:e})=>e};
|
|
1164
1164
|
background-color: ${({bgColor:e})=>e};
|
|
@@ -1185,7 +1185,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1185
1185
|
padding-left: ${({hasIcon:e})=>e?"4px":"6px"};
|
|
1186
1186
|
padding-right: 6px;
|
|
1187
1187
|
width: fit-content;
|
|
1188
|
-
`,Yx=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,textColor:i}=qx(e,_e());return w_(x_,{...n,backgroundColor:o,hasIcon
|
|
1188
|
+
`,Yx=({colorScheme:e="brandBlue",label:t,icon:r,...n})=>{let{backgroundColor:o,textColor:i}=qx(e,_e());return w_(x_,{...n,backgroundColor:o,hasIcon:$(r),textColor:i,children:[$(r)&&Xx(Ee,{"data-testid":"badge-icon",size:"sm",type:r}),Xx("span",{children:t})]})};Yx.displayName="Badge_VHS";a();a();import X0 from"styled-components";a();import K0,{css as S_}from"styled-components";import{jsx as q0}from"react/jsx-runtime";var D_=K0.div`
|
|
1189
1189
|
color: ${({theme:e})=>e.color.grey900};
|
|
1190
1190
|
flex: 1;
|
|
1191
1191
|
font-size: 14px;
|
|
@@ -1208,7 +1208,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1208
1208
|
width: 100%;
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
|
-
${
|
|
1211
|
+
${$e.smAndUp} {
|
|
1212
1212
|
margin-left: ${({theme:e})=>e.spacing.space02};
|
|
1213
1213
|
margin-top: 0;
|
|
1214
1214
|
}
|
|
@@ -1218,10 +1218,10 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1218
1218
|
display: flex;
|
|
1219
1219
|
${T_}
|
|
1220
1220
|
|
|
1221
|
-
${
|
|
1221
|
+
${$e.smAndUp} {
|
|
1222
1222
|
margin-left: ${({theme:e})=>e.spacing.space05};
|
|
1223
1223
|
}
|
|
1224
|
-
`,Qx=({verticalAlign:e,children:t})=>q0(A_,{verticalAlign:e,children:t});import{jsx as ew,jsxs as
|
|
1224
|
+
`,Qx=({verticalAlign:e,children:t})=>q0(A_,{verticalAlign:e,children:t});import{jsx as ew,jsxs as $_}from"react/jsx-runtime";var O_=X0.div`
|
|
1225
1225
|
background: ${({theme:e,backgroundColor:t})=>t??e.color.grey200};
|
|
1226
1226
|
border-radius: 8px;
|
|
1227
1227
|
display: flex;
|
|
@@ -1232,38 +1232,38 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1232
1232
|
display: block;
|
|
1233
1233
|
margin-right: ${({theme:e})=>e.spacing.space05};
|
|
1234
1234
|
margin-top: ${({theme:e})=>e.spacing.space01};
|
|
1235
|
-
|
|
1235
|
+
`,R_=X0.div`
|
|
1236
1236
|
display: flex;
|
|
1237
1237
|
flex-direction: column;
|
|
1238
1238
|
width: 100%;
|
|
1239
1239
|
|
|
1240
|
-
${
|
|
1240
|
+
${$e.smAndUp} {
|
|
1241
1241
|
flex-direction: row;
|
|
1242
1242
|
}
|
|
1243
|
-
`,hu=({backgroundColor:e,icon:t,children:r,...n})
|
|
1243
|
+
`,hu=({backgroundColor:e,icon:t,children:r,...n})=>$_(O_,{backgroundColor:e,...n,children:[$(t)?ew(F_,{"data-testid":"banner-icon",children:t}):null,ew(R_,{children:r})]});hu.Body=Jx;hu.RightGutter=Qx;hu.Title=Zx;hu.displayName="Banner_VHS";a();a();import{Children as B_,cloneElement as M_}from"react";import I_ from"styled-components";import{jsx as U_}from"react/jsx-runtime";var tw=!1,k_={around:"space-around",between:"space-between",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},N_={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},V_={around:"space-around",between:"space-between",center:"center",end:"flex-end",evenly:"space-evenly",start:"flex-start"},L_={auto:"auto",baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},z_=new Set(["alignSelf","basis","grow","order","shrink"]),H_=e=>{if(e==="horizontal")return"width: 100%;";if(e==="vertical")return"height: 100%;";if(e)return`
|
|
1244
1244
|
width: 100%;
|
|
1245
1245
|
height: 100%;
|
|
1246
1246
|
`},G_=e=>{if(e==="horizontal")return"width: 100vw;";if(e==="vertical")return"height: 100vh;";if(e)return`
|
|
1247
1247
|
width: 100vw;
|
|
1248
1248
|
height: 100vh;
|
|
1249
|
-
`},j_=e=>{if(
|
|
1249
|
+
`},j_=e=>{if($(e))return pn(e)?Object.entries(e).map(([t,r])=>`${t}-gap: ${r};`).join(""):`gap: ${e};`},__=I_.div`
|
|
1250
1250
|
align-content: ${({alignContent:e})=>k_[e]};
|
|
1251
1251
|
align-items: ${({alignItems:e})=>N_[e]};
|
|
1252
1252
|
align-self: ${({alignSelf:e})=>e?L_[e]:null};
|
|
1253
|
-
display: ${({inline:e})
|
|
1254
|
-
flex-basis: ${({basis:e})
|
|
1253
|
+
display: ${({inline:e})=>$(e)&&e?"inline-flex":"flex"};
|
|
1254
|
+
flex-basis: ${({basis:e})=>$(e)?e:null};
|
|
1255
1255
|
flex-direction: ${({flexDirection:e})=>e};
|
|
1256
1256
|
${({fillBox:e})=>H_(e)};
|
|
1257
1257
|
${({fillViewport:e})=>G_(e)};
|
|
1258
1258
|
|
|
1259
1259
|
/* Box children styles */
|
|
1260
|
-
flex-grow: ${({grow:e})
|
|
1261
|
-
flex-shrink: ${({shrink:e})
|
|
1260
|
+
flex-grow: ${({grow:e})=>$(e)?e:null};
|
|
1261
|
+
flex-shrink: ${({shrink:e})=>$(e)?e:null};
|
|
1262
1262
|
flex-wrap: ${({wrapItems:e})=>e?"wrap":"nowrap"};
|
|
1263
1263
|
${({gap:e})=>j_(e)};
|
|
1264
1264
|
justify-content: ${({justifyContent:e})=>V_[e]};
|
|
1265
|
-
order: ${({order:e})
|
|
1266
|
-
`,W_=e
|
|
1265
|
+
order: ${({order:e})=>$(e)?e:null};
|
|
1266
|
+
`,W_=e=>$(e)?typeof e=="object"&&tw?B_.map(e,t=>{if(de(t))return null;let r={};return(t.type?.displayName==="Box"||t.type?.displayName==="Box_VHS")&&(r.hasBoxParent=!0),M_(t,r)}):e:null,rw=({alignContent:e="stretch",alignItems:t="start",renderAs:r="div",children:n,direction:o="row",hasBoxParent:i=!1,fill:s=!1,fillViewport:u=!1,inline:l=!1,justifyContent:c="start",wrapItems:f=!1,...d})=>(tw&&!i&&Object.keys(d).forEach(m=>{z_.has(m)&&console.warn(`${m} only has an effect on <Box> instances that are children of a <Box>`)}),U_(__,{alignContent:e,alignItems:t,as:r,fillBox:s,fillViewport:u,flexDirection:o,inline:l,justifyContent:c,wrapItems:f,...d,children:W_(n)}));rw.displayName="Box_VHS";a();a();import K_ from"styled-components";import{jsx as X_}from"react/jsx-runtime";var q_=K_.div`
|
|
1267
1267
|
overflow-wrap: break-word;
|
|
1268
1268
|
${({hyphenated:e})=>e&&"hyphens: auto"}
|
|
1269
1269
|
`,nw=({children:e,hyphenated:t=!1,...r})=>X_(q_,{hyphenated:t,...r,children:e});nw.displayName="Breakline_VHS";a();a();a();import{forwardRef as iW}from"react";import aW from"styled-components";a();import cw from"styled-components";import{forwardRef as Q_}from"react";a();import{css as Wr}from"styled-components";var iw=.08,aw=Wr`
|
|
@@ -1331,7 +1331,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1331
1331
|
&:not([href]) {
|
|
1332
1332
|
${Q1};
|
|
1333
1333
|
}
|
|
1334
|
-
`,pw=iW(({beforeAction:e,children:t,colorOverride:r,disabled:n=!1,forceState:o,fullWidth:i=!1,href:s,icon:u,iconName:l,iconPosition:c="start",label:f,labelWrap:d=!1,params:m,size:g="lg",square:v=!1,textAlign:h="center",type:y="default",variant:b="primary",...x},w)=>{let S=Tl(r,b,_e());return fw(sW,{ref:w,beforeAction:e,buttonColor:S,disabled:n,forceState:o,fullWidth:i,hasIcon:u,href:s,iconPosition:c,labelWrap:d,params:m,size:g,square:v,type:y,unstyled:!0,variant:b,...x,children:fw(El,{icon:u,iconName:l,iconPosition:c,isLoading:!1,size:g,textAlign:h,children
|
|
1334
|
+
`,pw=iW(({beforeAction:e,children:t,colorOverride:r,disabled:n=!1,forceState:o,fullWidth:i=!1,href:s,icon:u,iconName:l,iconPosition:c="start",label:f,labelWrap:d=!1,params:m,size:g="lg",square:v=!1,textAlign:h="center",type:y="default",variant:b="primary",...x},w)=>{let S=Tl(r,b,_e());return fw(sW,{ref:w,beforeAction:e,buttonColor:S,disabled:n,forceState:o,fullWidth:i,hasIcon:u,href:s,iconPosition:c,labelWrap:d,params:m,size:g,square:v,type:y,unstyled:!0,variant:b,...x,children:fw(El,{icon:u,iconName:l,iconPosition:c,isLoading:!1,size:g,textAlign:h,children:$(t)?t:$(f)?f:null})})});pw.displayName="ButtonLink_VHS";a();a();import{forwardRef as fW,useState as pW,isValidElement as dW}from"react";a();import Jf,{css as za}from"styled-components";var Zf=Jf.input`
|
|
1335
1335
|
align-self: flex-start;
|
|
1336
1336
|
border-radius: 3px;
|
|
1337
1337
|
box-shadow: ${({type:e})=>e==="checkbox"?"inset 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.38)":"none"};
|
|
@@ -1392,7 +1392,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1392
1392
|
${({forceState:e})=>e==="hover"&&J0};
|
|
1393
1393
|
${({forceState:e,hasError:t})=>e==="focus"&&t&&dw};
|
|
1394
1394
|
${({forceState:e,hasError:t})=>e==="hover"&&t&&lW};
|
|
1395
|
-
`;import{Fragment as mW,jsx as Z0,jsxs as hw}from"react/jsx-runtime";var rp=fW(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:i="default",label:s="default",labelDescription:u,name:l,onChange:c,required:f=!1,value:d="false",...m},g)=>{let[v,h]=pW(!1);return hw(tp,{ref:g,"aria-invalid":J(o)&&o?"true":"false",direction:t,disabled:r,forceState:n,hasError:o,isFocused:v,...m,children:[Z0(Zf,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:i,name:l,onBlur:()=>h(!1),onChange:c,onFocus:()=>h(!0),required:f,type:"checkbox",value:d}),hw(Qf,{children:[Z0(mW,{children:s}),be(u)||dW(u)?Z0(ep,{"data-testid":"checkbox-option-sub-label",children:u}):null]})]})});rp.displayName="Checkbox_VHS";a();a();import
|
|
1395
|
+
`;import{Fragment as mW,jsx as Z0,jsxs as hw}from"react/jsx-runtime";var rp=fW(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:i="default",label:s="default",labelDescription:u,name:l,onChange:c,required:f=!1,value:d="false",...m},g)=>{let[v,h]=pW(!1);return hw(tp,{ref:g,"aria-invalid":J(o)&&o?"true":"false",direction:t,disabled:r,forceState:n,hasError:o,isFocused:v,...m,children:[Z0(Zf,{"aria-checked":e,checked:e,"data-testid":"checkbox-option-wrapper",disabled:r,id:i,name:l,onBlur:()=>h(!1),onChange:c,onFocus:()=>h(!0),required:f,type:"checkbox",value:d}),hw(Qf,{children:[Z0(mW,{children:s}),be(u)||dW(u)?Z0(ep,{"data-testid":"checkbox-option-sub-label",children:u}):null]})]})});rp.displayName="Checkbox_VHS";a();a();import RW from"styled-components";a();a();import AW from"styled-components";a();a();import hW,{css as vw}from"styled-components";import{jsx as bW}from"react/jsx-runtime";var gW=vw`
|
|
1396
1396
|
::after {
|
|
1397
1397
|
color: red;
|
|
1398
1398
|
content: ' *';
|
|
@@ -1440,11 +1440,11 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1440
1440
|
${({disabled:e})=>e&&EW};
|
|
1441
1441
|
`,ip=({children:e,disabled:t=!1,...r})=>PW(TW,{disabled:t,...r,children:e});ip.displayName="LabelDescription_VHS";import{jsx as Q0,jsxs as FW}from"react/jsx-runtime";var OW=AW.div`
|
|
1442
1442
|
width: 100%;
|
|
1443
|
-
`,Ut=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:i="label",name:s,children:u,labelId:l=null,...c})=>{let f=l??`group-id-${s}`,d=i==="legend"?f:null,m={id:f,htmlFor:`field-${s}`,renderAs:i,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return FW(OW,{...c,"aria-labelledby":d??void 0,children:[r!==null?Q0(np,{...m,children:r}):null,n!==null?Q0(ip,{disabled:e,children:n}):null,t!==null?Q0(op,{"data-testid":`form-field-error-${s}`,children:t}):null,u]})};Ut.displayName="FormFieldWrapper_VHS";import{jsx as eh}from"react/jsx-runtime";var RW
|
|
1443
|
+
`,Ut=({disabled:e=!1,error:t=null,label:r=null,labelDescription:n=null,labelProps:o={},labelType:i="label",name:s,children:u,labelId:l=null,...c})=>{let f=l??`group-id-${s}`,d=i==="legend"?f:null,m={id:f,htmlFor:`field-${s}`,renderAs:i,disabled:o.disabled??e,screenReaderOnly:o.screenReaderOnly??!1};return FW(OW,{...c,"aria-labelledby":d??void 0,children:[r!==null?Q0(np,{...m,children:r}):null,n!==null?Q0(ip,{disabled:e,children:n}):null,t!==null?Q0(op,{"data-testid":`form-field-error-${s}`,children:t}):null,u]})};Ut.displayName="FormFieldWrapper_VHS";import{jsx as eh}from"react/jsx-runtime";var $W=RW.div`
|
|
1444
1444
|
display: flex;
|
|
1445
1445
|
flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
|
|
1446
1446
|
gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
|
|
1447
|
-
`,ap=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:i={},name:s,onChange:u,options:l,value:c=!1,...f})=>eh(Ut,{disabled:t,error:r,label:n,labelDescription:o,labelProps:i,labelType:"legend",name:s,role:"group",...f,children:eh(
|
|
1447
|
+
`,ap=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:i={},name:s,onChange:u,options:l,value:c=!1,...f})=>eh(Ut,{disabled:t,error:r,label:n,labelDescription:o,labelProps:i,labelType:"legend",name:s,role:"group",...f,children:eh($W,{direction:e,children:l.map(d=>{let m=Array.isArray(c)?c.includes(d.name):c;return eh(rp,{checked:m,direction:e,disabled:t,onChange:g=>$(u)?u(g,d.name):void 0,...d},d.name)})})});ap.displayName="CheckboxGroup_VHS";a();a();import{forwardRef as BW,useCallback as MW}from"react";import IW from"styled-components";import{jsx as NW}from"react/jsx-runtime";var kW=IW.div`
|
|
1448
1448
|
cursor: pointer;
|
|
1449
1449
|
`,yw=BW(({renderAs:e="div",className:t,onClick:r,targetRef:n,...o},i)=>{let s=MW(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 NW(kW,{ref:i,as:e,role:"presentation",...o,onClick:s})});yw.displayName="ClickArea_VHS";a();a();import VW from"styled-components";a();import{jsx as bw}from"react/jsx-runtime";var sp=()=>bw("svg",{height:"22",preserveAspectRatio:"xMidYMid meet",style:{display:"block"},viewBox:"0 0 20 20",width:"22",children:bw("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"})});import{jsx as Cw}from"react/jsx-runtime";var LW=VW.button`
|
|
1450
1450
|
align-items: center;
|
|
@@ -1556,7 +1556,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1556
1556
|
flex-shrink: 0;
|
|
1557
1557
|
min-width: 0;
|
|
1558
1558
|
}
|
|
1559
|
-
`,ZW=({children:e,showActionsOnHover:t})=>de(e)?null:po(JW,{onClick:r=>{r.stopPropagation()},showActionsOnHover:t,children:e})
|
|
1559
|
+
`,ZW=({children:e,showActionsOnHover:t})=>de(e)?null:po(JW,{onClick:r=>{r.stopPropagation()},showActionsOnHover:t,children:e}),Rw=({actions:e,backgroundColor:t,caretDirection:r={open:Aw,closed:Ow},children:n=null,contentPadding:o=null,hideCaret:i=!1,id:s,isOpen:u,label:l,layout:c="leading",onOpenChange:f,showActionsOnHover:d=!0,showTransition:m=!1,variant:g,...v})=>{let[h,y]=th(u??!1),[b,x]=th({width:void 0,height:void 0}),[w,S]=th(!1),[E,D]=cm(),T=r.open,O=r.closed,F=be(s)?s:`CollapsibleGroup_${pu()}`;ww(()=>{x({height:D.height,width:D.width})},[D]),ww(()=>{u!==void 0&&y(u)},[u]),zW(()=>{E.current&&x({height:E.current.offsetHeight,width:E.current.offsetWidth})},[E]);let I=()=>{if(w){S(!1);return}let k=!h;y(k),f&&f(k)},G=po(YW,{"aria-expanded":h,"aria-labelledby":F,layout:c,noStyle:!0,onClick:I,children:po(UW,{direction:h?T:O,isOpen:h,layout:c,variant:g,children:po(Ee,{type:"caret-down"})})});return Ew(WW,{...v,children:[Ew(Fw,{backgroundColor:t,onClick:I,open:h,variant:g,children:[po(qW,{id:F,open:h,renderAs:"div",styleVariant:g,variant:"subtitle1",children:typeof l=="function"?l({open:h,caret:G}):l}),!i&&G,po(ZW,{showActionsOnHover:d,children:e})]}),po(XW,{backgroundColor:t,contentPadding:o,"data-testid":"collapsible-group-content",height:b.height,isOpen:h,maxHeight:b.height,showTransition:m,variant:g,children:po("div",{ref:E,style:{width:"100%",display:"inline-block"},children:n})})]})};Rw.displayName="CollapsibleGroup_VHS";a();a();import QW from"styled-components";import{jsx as tU}from"react/jsx-runtime";var eU=QW.hr`
|
|
1560
1560
|
background: none;
|
|
1561
1561
|
border-bottom: none;
|
|
1562
1562
|
border-left: none;
|
|
@@ -1588,7 +1588,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1588
1588
|
right: 0;
|
|
1589
1589
|
top: 0;
|
|
1590
1590
|
}
|
|
1591
|
-
|
|
1591
|
+
`,$w=rU(({accept:e,children:t,disabled:r=!1,id:n,maxSize:o=iU,multiple:i=!1,name:s="file-upload",onClick:u,onChange:l,onError:c,...f},d)=>uU(aU,{ariaControls:"filename",disabled:r,htmlFor:n,...f,children:[t,sU("input",{ref:d,accept:e,"data-testid":"file-select-input",disabled:r,id:n,multiple:i,name:s,onChange:g=>{let{files:v}=g.target;if(o&&v){let h=o*1024*1024;if(Array.from(v).some(b=>b.size>h))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"})]}));$w.displayName="FileSelect_VHS";a();a();import{useState as fp,useEffect as kw}from"react";a();a();import{forwardRef as lU}from"react";import vu from"styled-components";import{jsx as gu,jsxs as Mw}from"react/jsx-runtime";var cU=vu.div`
|
|
1592
1592
|
border-left: 4px solid;
|
|
1593
1593
|
border-left-color: ${({theme:e})=>e.color.error500};
|
|
1594
1594
|
margin-bottom: ${({theme:e})=>e.spacing.space07};
|
|
@@ -1608,7 +1608,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1608
1608
|
`,dU=vu(Bw)`
|
|
1609
1609
|
cursor: pointer;
|
|
1610
1610
|
text-decoration: underline;
|
|
1611
|
-
`,mU=e=>{let t="error";return e>1&&(t+="s"),`${e} ${t} found on page`},hU=e=>{document.getElementById(`fieldset-${e}`)?.scrollIntoView({behavior:"smooth"})},gU=({errors:e={},statusError:t})=>Mw(pU,{children:[be(t)?gu(Bw,{children:t}):null,Object.keys(e).map(r=>gu("li",{children:gu(dU,{"data-testid":`form-global-error-${r}`,onClick:()=>hU(r),children:e[r]})},r))]}),cp=lU((e,t)=>{let r=Ho(),{status:n,errors:o}=r,i=Object.keys(o).length
|
|
1611
|
+
`,mU=e=>{let t="error";return e>1&&(t+="s"),`${e} ${t} found on page`},hU=e=>{document.getElementById(`fieldset-${e}`)?.scrollIntoView({behavior:"smooth"})},gU=({errors:e={},statusError:t})=>Mw(pU,{children:[be(t)?gu(Bw,{children:t}):null,Object.keys(e).map(r=>gu("li",{children:gu(dU,{"data-testid":`form-global-error-${r}`,onClick:()=>hU(r),children:e[r]})},r))]}),cp=lU((e,t)=>{let r=Ho(),{status:n,errors:o}=r,i=Object.keys(o).length;$(n)&&n.length>0&&(i+=1);let s=$(n)&&!n.success||i;return dn(s)?Mw(cU,{ref:t,children:[gu(fU,{children:mU(i)}),gu(gU,{errors:o,statusError:n})]}):null});cp.displayName="FormGlobalError_VHS";a();a();import{useContext as vU}from"react";var yu=()=>vU(Fl);a();a();import{useEffect as yU}from"react";a();a();import{useCallback as oh,useEffect as Iw,useRef as ih}from"react";var ah=(e,t=0)=>{let r=ih(!1),n=ih(),o=ih(e),i=oh(()=>r.current,[]),s=oh(()=>{r.current=!1,n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{r.current=!0,o.current()},t)},[t]),u=oh(()=>{r.current=null,n.current&&clearTimeout(n.current)},[]);return Iw(()=>{o.current=e},[e]),Iw(()=>(s(),u),[t]),[i,u,s]};var sh=(e,t=0,r=[])=>{let[n,o,i]=ah(e,t);return yU(i,r),[n,o]};import{jsx as Vw,jsxs as CU}from"react/jsx-runtime";var Nw=(e,t)=>JSON.stringify(e)!==JSON.stringify(t),bU=(e,t)=>{let r={};return Object.keys(e).forEach(n=>{e[n]===null?J(t)&&J(t.fields)&&J(t.fields[n])&&t.fields[n]._type==="boolean"?r[n]=!1:r[n]=void 0:r[n]=e[n]}),r},Lw=({children:e,className:t,formId:r,initialValues:n,onSubmit:o,scrollToFormErrorsOnSubmit:i=!0,shareFormContext:s,style:u,submitOnChange:l=!1,validate:c,validateOnBlur:f=!1,validateOnChange:d=!1,validationSchema:m,globalErrorRef:g,showGlobalError:v=!0,innerRef:h})=>{let[y,b]=fp(),[x,w]=fp(),[S,E]=fp(0),D=yu(),T=(G,k)=>{let H={};Object.keys(G).forEach(N=>{let M=G[N],Q=J(m)&&J(m.fields[N])&&m.fields[N]._type==="string";if(M==null){H[N]=null;return}if(typeof M=="number"){H[N]=M;return}M===!1&&(H[N]=!1),Q&&!M&&(H[N]=null),M&&(H[N]=Q?M.trim():M)}),o(H,k)},O=i&&(lt(y)||!y)&&(lt(x)||!x)&&J(g.current?.scrollIntoView);kw(()=>{if((lt(y)||!y)&&J(x)&&x&&document.activeElement&&document.activeElement.blur(),O){let G=S>1?`there are ${S} errors`:"there's an error!";D({variant:"error",message:`Uh oh, ${G}`}),g.current?.scrollIntoView({behavior:"smooth"})}},[S,g,y,x,O,D]);let F=bU(n,m),I=750;return Vw(fy,{enableReinitialize:!0,initialValues:F,innerRef:$(h)?h:()=>{},onSubmit:T,validate:$(c)?c:()=>{},validateOnBlur:f,validateOnChange:d,validationSchema:m,children:G=>{let[k,H]=fp(G.values);if(kw(()=>{J(s)&&s(G),b(G.isSubmitting),w(G.isValid),E(Object.keys(G.errors).length),l&&Nw(G.values,k)&&H(G.values)},[G,k]),l){let[,]=sh(()=>{Nw(n,k)&&G.submitForm()},I,[k])}return CU(Nm,{className:t,"data-testid":r,noValidate:!0,style:u,children:[v?Vw(cp,{ref:g}):null,e]})}})};Lw.displayName="Form_VHS";a();a();a();a();import{jsx as xU}from"react/jsx-runtime";var pp=({type:e="submit",isSubmitting:t=!1,children:r,disabled:n=!1,...o})=>xU(Ze,{disabled:t||n,type:e,...o,children:r});pp.displayName="FormConnectorButton_VHS";import{jsx as zw}from"react/jsx-runtime";var wU=e=>e.preventDefault(),Hw=({buttons:e,align:t="left",...r})=>{let{isSubmitting:n}=Ho();return zw(co,{align:t,...r,children:e.map(({name:o,type:i,...s})=>zw(pp,{isSubmitting:n,type:i,...s,onMouseDown:wU,children:o},o))})};Hw.displayName="FormButtons_VHS";a();a();import{forwardRef as LQ}from"react";import LT from"styled-components";a();var Gw={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}};a();a();import{jsx as SU}from"react/jsx-runtime";var dp=({direction:e="column",disabled:t=!1,field:{name:r,value:n},form:{errors:o,setFieldValue:i},label:s,labelDescription:u,labelProps:l={},onChangeCustom:c,options:f=[]})=>{let d=(h,y)=>{i(y,h.target.checked)},m=(h,y)=>{let b=n;if(Oo(b))if(h.target.checked)b.push(y);else{let x=b.indexOf(y);x>-1&&b.splice(x,1)}i(y,b)},g=Array.isArray(n)&&f.length>1?m:d,v=Array.isArray(f)?f:[f];return SU(ap,{direction:e,disabled:t,error:$(o)?o[r]:void 0,label:s,labelDescription:u,labelProps:l,name:r,onChange:(h,y)=>{g(h,y),c&&c(h.target.checked)},options:v,value:n})};dp.displayName="FormConnectorCheckboxGroup_VHS";a();a();import{jsx as jw}from"react/jsx-runtime";var mp=({customComponent:e,field:t,form:r,label:n="",labelDescription:o,labelProps:i={},...s})=>{let{name:u}=t,{errors:l}=r;return jw(Ut,{error:J(l)?l[u]:void 0,label:n,labelDescription:o,labelProps:i,name:u,children:jw(e,{field:t,form:r,...s})})};mp.displayName="FormConnectorCustomField_VHS";a();a();a();a();import{forwardRef as _U,useEffect as WU,useRef as UU}from"react";import KU from"styled-components";a();import DU,{css as ii}from"styled-components";var _w=ii`
|
|
1612
1612
|
border-color: ${({theme:e})=>e.color.brandBlue500};
|
|
1613
1613
|
outline: none;
|
|
1614
1614
|
`,EU=ii`
|
|
@@ -1697,7 +1697,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1697
1697
|
${({forceState:e})=>e==="focus"&&_w};
|
|
1698
1698
|
${({hasError:e})=>e&&EU};
|
|
1699
1699
|
${({readOnly:e})=>e&&Ww};
|
|
1700
|
-
`;a();import{useState as FU,useEffect as
|
|
1700
|
+
`;a();import{useState as FU,useEffect as RU}from"react";import lh,{css as ch}from"styled-components";import{jsx as hp,jsxs as LU}from"react/jsx-runtime";var $U=ch`
|
|
1701
1701
|
input {
|
|
1702
1702
|
cursor: pointer;
|
|
1703
1703
|
}
|
|
@@ -1709,7 +1709,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1709
1709
|
align-items: center;
|
|
1710
1710
|
display: flex;
|
|
1711
1711
|
position: relative;
|
|
1712
|
-
${({disabled:e})=>!e
|
|
1712
|
+
${({disabled:e})=>!e&&$U}
|
|
1713
1713
|
`,MU=ch`
|
|
1714
1714
|
cursor: not-allowed;
|
|
1715
1715
|
`,IU=ch`
|
|
@@ -1732,7 +1732,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1732
1732
|
${({disabled:e})=>e?MU:IU}
|
|
1733
1733
|
`,NU=lh(Ee)`
|
|
1734
1734
|
${({disabled:e})=>e?"cursor: not-allowed;":"cursor: pointer;"}
|
|
1735
|
-
`,VU=({onClick:e,disabled:t=!1})=>{let r=_e("grey500");return hp(kU,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:hp(NU,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},Uw=({inputComponent:e,inputProps:t})=>{let r=yu(),[n,o]=FU(0),{value:i,disabled:s}=t,u=s??!1
|
|
1735
|
+
`,VU=({onClick:e,disabled:t=!1})=>{let r=_e("grey500");return hp(kU,{"aria-disabled":t,"aria-label":"Click to Copy",disabled:t,noStyle:!0,onClick:e,children:hp(NU,{color:t?r:"currentColor",disabled:t,size:"md",type:t?"copy-disabled":"copy"})})},Uw=({inputComponent:e,inputProps:t})=>{let r=yu(),[n,o]=FU(0),{value:i,disabled:s}=t,u=s??!1;RU(()=>{if(n>0){let m=setTimeout(()=>o(n-1),1e3);return()=>clearTimeout(m)}return()=>{}},[n]);let l=()=>{(async()=>u||(await bs(i),r({message:"Copied to clipboard"}),o(5)))()},c=n>0&&{forceState:"focus"},f={...t,...c},d={onClick:l,disabled:u,"aria-disabled":u};return LU(BU,{disabled:u,onClick:l,children:[hp(e,{...f}),hp(VU,{...d})]})};a();var gp=60,zU=e=>e.replace(/[^0-9:]/g,""),HU=e=>e?Number.parseFloat(e):0,GU=(e,t,r)=>{let n=$(r)&&Number(r)>0?`${r}:`:"";return n+=`${t}:${e}`,n},jU=e=>{let t=e.split(":"),[r,n,o]=t.reverse().map(d=>HU(d)),i=0,s=0,u=0;$(r)&&(s=Math.floor(r/gp),$(n)&&(s+=n)),$(r)&&(i=r%gp);let l=i.toString();l.length===1&&(i=l.padStart(2,"0"));let c=J(o)?o:0;u=Math.floor(s/gp)+c,s%=gp;let f=s.toString();return u&&f.length===1&&(s=f.padStart(2,"0")),GU(i,s,u)},fh=e=>{if(de(e)||!gt(e))return"0:00";let t=zU(e);return jU(t)};import{jsx as ph,jsxs as JU}from"react/jsx-runtime";var qU=new Set(["search"]),XU=KU.div`
|
|
1736
1736
|
position: relative;
|
|
1737
1737
|
|
|
1738
1738
|
svg {
|
|
@@ -1745,11 +1745,11 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1745
1745
|
}
|
|
1746
1746
|
|
|
1747
1747
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
1748
|
-
`,YU=(e,t)
|
|
1748
|
+
`,YU=(e,t)=>$(e)?e:t==="search"?ph(Ee,{size:"md",type:"search"}):null,Ha=_U(({clickToCopy:e=!1,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,icon:i,iconPosition:s="end",innerRef:u,monospace:l=!1,onBlur:c,onChange:f,onFocus:d,onFocusToSelect:m,placeholder:g,readOnly:v=!1,required:h=!1,type:y="text",value:b,...x},w)=>{let S=UU(null),E=Ws([u,w,S]),D=y==="multiline"?"textarea":"input",T=v||e,O=$(i)||e||qU.has(y);WU(()=>{y==="timePosition"&&$(S.current)&&(S.current.value=fh(b??0))},[y,b]);let G={"aria-invalid":o?"true":"false",as:D,clickToCopy:e,disabled:t,forceState:r,hasError:o,hasIcon:O,iconPosition:y==="search"?"start":s,monospace:l,onBlur:N=>{y==="timePosition"&&$(S.current)&&(S.current.value=fh(N.target.value)),c&&c(N)},onChange:f,onFocus:N=>{m&&(N.target.select(),m(N)),d&&d(N)},placeholder:g,readOnly:T,ref:E,required:h,type:y},k={value:rr(b),...G,...x},H={value:b,...G,...x};return e?ph(Uw,{inputComponent:uh,inputProps:k}):JU(XU,{disabled:t,fullWidth:n,iconPosition:H.iconPosition,children:[ph(uh,{...H}),YU(i,y)]})});Ha.displayName="Input_VHS";import{jsx as Kw}from"react/jsx-runtime";var ZU=new Set(["text","multiline","url","email"]),vp=({disabled:e,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:i,setFieldValue:s},label:u,labelDescription:l,labelProps:c,onChangeCustom:f,placeholder:d,type:m,onFocusToSelectValue:g,...v})=>{let h=x=>{n(x),f&&f(x.target.value)},y=x=>{if(o(x),ZU.has(m)){let w=(x.target.value||"").trim();s(t,w)}},b=r===g?()=>{}:void 0;return Kw(Ut,{disabled:e,error:J(i)?i[t]:void 0,label:u,labelDescription:l,labelProps:c,name:t,children:Kw(Ha,{"data-testid":`input-${t}`,disabled:e,name:t,onBlur:y,onChange:h,onFocusToSelect:b,placeholder:d,type:m,value:r,...v})})};vp.displayName="FormConnectorInput_VHS";a();a();a();a();import nK from"styled-components";a();a();import{forwardRef as QU,useState as eK,isValidElement as tK}from"react";import{Fragment as rK,jsx as dh,jsxs as qw}from"react/jsx-runtime";var yp=QU(({checked:e,direction:t="column",disabled:r=!1,forceState:n,hasError:o=!1,id:i,label:s,labelDescription:u,name:l,onChange:c,value:f="false",...d},m)=>{let[g,v]=eK(!1);return qw(tp,{ref:m,direction:t,disabled:r,forceState:n,hasError:o,isFocused:g,children:[dh(Zf,{"aria-checked":e,checked:e,"data-testid":"radio-option-wrapper",disabled:r,id:i,name:l,onBlur:()=>v(!1),onChange:c,onFocus:()=>v(!0),role:"radio",type:"radio",value:f,...d}),qw(Qf,{children:[dh(rK,{children:s}),$(u)||tK(u)?dh(ep,{"data-testid":"radio-option-sub-label",children:u}):null]})]})});yp.displayName="Radio_VHS";import{jsx as mh}from"react/jsx-runtime";var oK=nK.div`
|
|
1749
1749
|
display: flex;
|
|
1750
1750
|
flex-direction: ${({direction:e})=>e==="row"?"row":"column"};
|
|
1751
1751
|
gap: ${({direction:e,theme:t})=>e==="row"?t.spacing.space04:t.spacing.space01};
|
|
1752
|
-
`,bp=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:i={},name:s,onChange:u,options:l,value:c,...f})=>mh(Ut,{disabled:t,error:r,label:n,labelDescription:o,labelProps:i,labelType:"legend",name:s,role:"radiogroup",...f,children:mh(oK,{direction:e,children:l.map(d=>mh(yp,{checked:c===d.value,direction:e,disabled:t,labelDescription:d.labelDescription,name:s,onChange:m
|
|
1752
|
+
`,bp=({direction:e="column",disabled:t=!1,error:r,label:n,labelDescription:o,labelProps:i={},name:s,onChange:u,options:l,value:c,...f})=>mh(Ut,{disabled:t,error:r,label:n,labelDescription:o,labelProps:i,labelType:"legend",name:s,role:"radiogroup",...f,children:mh(oK,{direction:e,children:l.map(d=>mh(yp,{checked:c===d.value,direction:e,disabled:t,labelDescription:d.labelDescription,name:s,onChange:m=>$(u)?u(m,d.value):void 0,...d},d.value))})});bp.displayName="RadioGroup_VHS";import{jsx as iK}from"react/jsx-runtime";var Cp=({direction:e="column",disabled:t=!1,field:{name:r},form:{errors:n,values:o,setFieldValue:i},label:s="",labelDescription:u,labelProps:l={},onChangeCustom:c,options:f})=>{let d=(m,g)=>{i(r,g)};return iK(bp,{direction:e,disabled:t,error:n[r],label:s,labelDescription:u,labelProps:l,name:r,onChange:(m,g)=>{d(m,g),c&&c(g)},options:f,value:o[r]})};Cp.displayName="FormConnectorRadioGroup_VHS";a();a();a();a();import{forwardRef as lK}from"react";import cK,{css as fK}from"styled-components";a();import aK,{css as hh}from"styled-components";var Xw=hh`
|
|
1753
1753
|
border: 1px solid ${({theme:e})=>e.color.brandBlue500};
|
|
1754
1754
|
`,sK=hh`
|
|
1755
1755
|
color: ${({theme:e})=>e.color.grey900};
|
|
@@ -1825,17 +1825,17 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1825
1825
|
}
|
|
1826
1826
|
|
|
1827
1827
|
width: ${({fullWidth:e})=>e?"100%":"auto"};
|
|
1828
|
-
`,bh=(e,t,r)=>{let n=({groupLabel:o,groupOptions:i,disabled:s=!1})=>yh("optgroup",{"data-testid":o,disabled:s,label:o,children:bh(i)},o);return e.map(o=>{if(Object.prototype.hasOwnProperty.call(o,"groupLabel"))return n(o);let{label:i,value:s,disabled:u=!1}=o,l=be(r)?o[r]:s,c=be(t)?o[t]:i;return ll(l)&&(l=rr(l)),yh("option",{disabled:u,value:l,children:c},`${rr(c)}--${rr(l)}`)})},dK=(e,t,r)=>R(e)&&!r?bh([{label:e,value:"",disabled:t}]):null,mK=e=>e?null:yh(Ee,{size:"md",type:"caret-down"}),ai=lK(({ariaLabel:e,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,labelName:i="label",multiple:s=!1,options:u,placeholder:l="Please select...",preventPlaceholderSelection:c=!1,required:f=!1,valueName:d="value",...m},g)=>Yw(pK,{disabled:t,forceState:r,fullWidth:n,children:[Yw(gh,{ref:g,"aria-invalid":o?"true":"false","aria-label":e,disabled:t,forceState:r,hasError:o,multiple:s,required:f,...m,children:[dK(l,c,s),bh(u,i,d)]}),mK(s)]}));ai.displayName="Select_VHS";import{jsx as Jw}from"react/jsx-runtime";var xp=({disabled:e=!1,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:i},label:s,labelDescription:u,labelProps:l={},options:c,placeholder:f,onChangeCustom:d,...m})=>{let g=v=>de(v)?"":ll(v)?rr(r):v;return Jw(Ut,{disabled:e,error:i[t],label:s,labelDescription:u,labelProps:l,name:t,children:Jw(ai,{"data-testid":`select-${t}`,disabled:e,name:t,onBlur:o,onChange:v=>{n(v),d&&d(v.target.value)},options:c,placeholder:f,value:g(r),...m})})};xp.displayName="FormConnectorSelect_VHS";a();a();import{useEffect as hK}from"react";import{jsx as gK}from"react/jsx-runtime";var wp=({field:{name:e,value:t,onChange:r},form:{setFieldValue:n}={},onChangeCustom:o,valueState:i="",...s})=>(hK(()=>{!i&&de(t)||i!==t&&J(n)&&n(e,i)},[n,e,i,t]),gK(Ha,{"data-testid":`input-${e}`,name:e,onChange:u=>{r(u),J(o)&&o(u.target.value)},type:"hidden",value:de(t)?"":t,...s}));wp.displayName="FormConnectorHidden_VHS";a();a();import{useState as IQ,useEffect as kQ}from"react";import NQ from"styled-components";a();a();import{useCallback as N2,useMemo as AQ,useEffect as OQ}from"react";import IT from"styled-components";a();var d2=dr(tS()),fE=dr(Sh()),pE=dr(MS());import me,{createContext as hi,useContext as Ya,useRef as cr,useEffect as $n,useLayoutEffect as QY,useState as mi,memo as eJ,forwardRef as tJ,useCallback as ke,Component as rJ,useReducer as nJ,useMemo as Gp}from"react";a();a();function IS(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function kS(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function Dh(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return kS(r.overflowY,t)||kS(r.overflowX,t)||function(n){var o=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)}(e)}return!1}function Dp(e,t,r,n,o,i,s,u){return i<e&&s>t||i>e&&s<t?0:i<=e&&u<=r||s>=t&&u>=r?i-e-n:s>t&&u<r||i<e&&u>r?s-t+o:0}var Eh=function(e,t){var r=window,n=t.scrollMode,o=t.block,i=t.inline,s=t.boundary,u=t.skipOverflowHiddenElements,l=typeof s=="function"?s:function(Ce){return Ce!==s};if(!IS(e))throw new TypeError("Invalid target");for(var c,f,d=document.scrollingElement||document.documentElement,m=[],g=e;IS(g)&&l(g);){if((g=(f=(c=g).parentElement)==null?c.getRootNode().host||null:f)===d){m.push(g);break}g!=null&&g===document.body&&Dh(g)&&!Dh(document.documentElement)||g!=null&&Dh(g,u)&&m.push(g)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,h=r.visualViewport?r.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),w=x.height,S=x.width,E=x.top,D=x.right,T=x.bottom,O=x.left,F=o==="start"||o==="nearest"?E:o==="end"?T:E+w/2,I=i==="center"?O+S/2:i==="end"?D:O,G=[],k=0;k<m.length;k++){var H=m[k],N=H.getBoundingClientRect(),M=N.height,Q=N.width,re=N.top,se=N.right,j=N.bottom,ne=N.left;if(n==="if-needed"&&E>=0&&O>=0&&T<=h&&D<=v&&E>=re&&T<=j&&O>=ne&&D<=se)return G;var ce=getComputedStyle(H),pe=parseInt(ce.borderLeftWidth,10),Be=parseInt(ce.borderTopWidth,10),A=parseInt(ce.borderRightWidth,10),_=parseInt(ce.borderBottomWidth,10),z=0,U=0,ue="offsetWidth"in H?H.offsetWidth-H.clientWidth-pe-A:0,ee="offsetHeight"in H?H.offsetHeight-H.clientHeight-Be-_:0,he="offsetWidth"in H?H.offsetWidth===0?0:Q/H.offsetWidth:0,we="offsetHeight"in H?H.offsetHeight===0?0:M/H.offsetHeight:0;if(d===H)z=o==="start"?F:o==="end"?F-h:o==="nearest"?Dp(b,b+h,h,Be,_,b+F,b+F+w,w):F-h/2,U=i==="start"?I:i==="center"?I-v/2:i==="end"?I-v:Dp(y,y+v,v,pe,A,y+I,y+I+S,S),z=Math.max(0,z+b),U=Math.max(0,U+y);else{z=o==="start"?F-re-Be:o==="end"?F-j+_+ee:o==="nearest"?Dp(re,j,M,Be,_+ee,F,F+w,w):F-(re+M/2)+ee/2,U=i==="start"?I-ne-pe:i==="center"?I-(ne+Q/2)+ue/2:i==="end"?I-se+A+ue:Dp(ne,se,Q,pe,A+ue,I,I+S,S);var De=H.scrollLeft,Ae=H.scrollTop;F+=Ae-(z=Math.max(0,Math.min(Ae+z/we,H.scrollHeight-M/we+ee))),I+=De-(U=Math.max(0,Math.min(De+U/he,H.scrollWidth-Q/he+ue)))}G.push({el:H,top:z,left:U})}return G};function NS(e){return e===Object(e)&&Object.keys(e).length!==0}function pq(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,i=n.top,s=n.left;o.scroll&&r?o.scroll({top:i,left:s,behavior:t}):(o.scrollTop=i,o.scrollLeft=s)})}function dq(e){return e===!1?{block:"end",inline:"nearest"}:NS(e)?e:{block:"start",inline:"nearest"}}function mq(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(NS(t)&&typeof t.behavior=="function")return t.behavior(r?Eh(e,t):[]);if(r){var n=dq(t);return pq(Eh(e,n),n.behavior)}}var VS=mq;a();a();function LS(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xe(e){var t,r;return LS(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(LS(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}a();function Dr(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,i;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 mo(e){return!!e&&!!e[ur]}function ui(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)===wq}(e)||Array.isArray(e)||!!e[KS]||!!(!((t=e.constructor)===null||t===void 0)&&t[KS])||Ih(e)||kh(e))}function xu(e,t,r){r===void 0&&(r=!1),Ga(e)===0?(r?Object.keys:Hh)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function Ga(e){var t=e[ur];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ih(e)?2:kh(e)?3:0}function Fh(e,t){return Ga(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function hq(e,t){return Ga(e)===2?e.get(t):e[t]}function qS(e,t,r){var n=Ga(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function gq(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ih(e){return Cq&&e instanceof Map}function kh(e){return xq&&e instanceof Set}function si(e){return e.o||e.t}function Nh(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Sq(e);delete t[ur];for(var r=Hh(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Vh(e,t){return t===void 0&&(t=!1),Lh(e)||mo(e)||!ui(e)||(Ga(e)>1&&(e.set=e.add=e.clear=e.delete=vq),Object.freeze(e),t&&xu(e,function(r,n){return Vh(n,!0)},!0)),e}function vq(){Dr(2)}function Lh(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ur(e){var t=Dq[e];return t||Dr(18,e),t}function zS(){return wu}function Th(e,t){t&&(Ur("Patches"),e.u=[],e.s=[],e.v=t)}function Ep(e){$h(e),e.p.forEach(yq),e.p=null}function $h(e){e===wu&&(wu=e.l)}function HS(e){return wu={p:[],l:wu,h:e,m:!0,_:0}}function yq(e){var t=e[ur];t.i===0||t.i===1?t.j():t.g=!0}function Ph(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Ur("ES5").S(t,e,n),n?(r[ur].P&&(Ep(t),Dr(4)),ui(e)&&(e=Tp(t,e),t.l||Pp(t,e)),t.u&&Ur("Patches").M(r[ur].t,e,t.u,t.s)):e=Tp(t,r,[]),Ep(t),t.u&&t.v(t.u,t.s),e!==XS?e:void 0}function Tp(e,t,r){if(Lh(t))return t;var n=t[ur];if(!n)return xu(t,function(u,l){return GS(e,n,t,u,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Pp(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=Nh(n.k):n.o,i=o,s=!1;n.i===3&&(i=new Set(o),o.clear(),s=!0),xu(i,function(u,l){return GS(e,n,o,u,l,r,s)}),Pp(e,o,!1),r&&e.u&&Ur("Patches").N(n,r,e.u,e.s)}return n.o}function GS(e,t,r,n,o,i,s){if(mo(o)){var u=Tp(e,o,i&&t&&t.i!==3&&!Fh(t.R,n)?i.concat(n):void 0);if(qS(r,n,u),!mo(u))return;e.m=!1}else s&&r.add(o);if(ui(o)&&!Lh(o)){if(!e.h.D&&e._<1)return;Tp(e,o),t&&t.A.l||Pp(e,o)}}function Pp(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Vh(t,r)}function Ah(e,t){var r=e[ur];return(r?si(r):e)[t]}function jS(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 Rh(e){e.P||(e.P=!0,e.l&&Rh(e.l))}function Oh(e){e.o||(e.o=Nh(e.t))}function Bh(e,t,r){var n=Ih(t)?Ur("MapSet").F(t,r):kh(t)?Ur("MapSet").T(t,r):e.O?function(o,i){var s=Array.isArray(o),u={i:s?1:0,A:i?i.A:zS(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=u,c=Mh;s&&(l=[u],c=Cu);var f=Proxy.revocable(l,c),d=f.revoke,m=f.proxy;return u.k=m,u.j=d,m}(t,r):Ur("ES5").J(t,r);return(r?r.A:zS()).p.push(n),n}function bq(e){return mo(e)||Dr(22,e),function t(r){if(!ui(r))return r;var n,o=r[ur],i=Ga(r);if(o){if(!o.P&&(o.i<4||!Ur("ES5").K(o)))return o.t;o.I=!0,n=_S(r,i),o.I=!1}else n=_S(r,i);return xu(n,function(s,u){o&&hq(o.t,s)===u||qS(n,s,t(u))}),i===3?new Set(n):n}(e)}function _S(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Nh(e)}var WS,wu,zh=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Cq=typeof Map<"u",xq=typeof Set<"u",US=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",XS=zh?Symbol.for("immer-nothing"):((WS={})["immer-nothing"]=!0,WS),KS=zh?Symbol.for("immer-draftable"):"__$immer_draftable",ur=zh?Symbol.for("immer-state"):"__$immer_state";var wq=""+Object.prototype.constructor,Hh=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Sq=Object.getOwnPropertyDescriptors||function(e){var t={};return Hh(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Dq={},Mh={get:function(e,t){if(t===ur)return e;var r=si(e);if(!Fh(r,t))return function(o,i,s){var u,l=jS(i,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||!ui(n)?n:n===Ah(e.t,t)?(Oh(e),e.o[t]=Bh(e.A.h,n,e)):n},has:function(e,t){return t in si(e)},ownKeys:function(e){return Reflect.ownKeys(si(e))},set:function(e,t,r){var n=jS(si(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Ah(si(e),t),i=o?.[ur];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(gq(r,o)&&(r!==void 0||Fh(e.t,t)))return!0;Oh(e),Rh(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 Ah(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Oh(e),Rh(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=si(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Dr(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Dr(12)}},Cu={};xu(Mh,function(e,t){Cu[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Cu.deleteProperty=function(e,t){return Cu.set.call(this,e,t,void 0)},Cu.set=function(e,t,r){return Mh.set.call(this,e[0],t,r,e[0])};var Eq=function(){function e(r){var n=this;this.O=US,this.D=!0,this.produce=function(o,i,s){if(typeof o=="function"&&typeof i!="function"){var u=i;i=o;var l=n;return function(h){var y=this;h===void 0&&(h=u);for(var b=arguments.length,x=Array(b>1?b-1:0),w=1;w<b;w++)x[w-1]=arguments[w];return l.produce(h,function(S){var E;return(E=i).call.apply(E,[y,S].concat(x))})}}var c;if(typeof i!="function"&&Dr(6),s!==void 0&&typeof s!="function"&&Dr(7),ui(o)){var f=HS(n),d=Bh(n,o,void 0),m=!0;try{c=i(d),m=!1}finally{m?Ep(f):$h(f)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return Th(f,s),Ph(h,f)},function(h){throw Ep(f),h}):(Th(f,s),Ph(c,f))}if(!o||typeof o!="object"){if((c=i(o))===void 0&&(c=o),c===XS&&(c=void 0),n.D&&Vh(c,!0),s){var g=[],v=[];Ur("Patches").M(o,c,g,v),s(g,v)}return c}Dr(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(c){for(var f=arguments.length,d=Array(f>1?f-1:0),m=1;m<f;m++)d[m-1]=arguments[m];return n.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(d))})};var s,u,l=n.produce(o,i,function(c,f){s=c,u=f});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){ui(r)||Dr(8),mo(r)&&(r=bq(r));var n=HS(this),o=Bh(this,r,void 0);return o[ur].C=!0,$h(n),o},t.finishDraft=function(r,n){var o=r&&r[ur],i=o.A;return Th(i,n),Ph(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!US&&Dr(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var s=Ur("Patches").$;return mo(r)?s(r,n):this.produce(r,function(u){return s(u,n)})},e}(),lr=new Eq,Ap=lr.produce,HYe=lr.produceWithPatches.bind(lr),GYe=lr.setAutoFreeze.bind(lr),jYe=lr.setUseProxies.bind(lr),_Ye=lr.applyPatches.bind(lr),Gh=lr.createDraft.bind(lr),jh=lr.finishDraft.bind(lr);var Tq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=P.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Pq={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()}}},Aq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=B.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Fp=new WeakMap,$p=new WeakMap,Du=new WeakMap,PD=new WeakMap,YS=new WeakMap,JS=new WeakMap,ZS=new WeakMap,P={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=P.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],i=t[n];if(o!==i)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),i=e[r],s=t[r];return P.equals(n,o)&&i>s},endsAt(e,t){var r=e.length,n=e.slice(0,r),o=t.slice(0,r);return P.equals(n,o)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),i=e[r],s=t[r];return P.equals(n,o)&&i<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 P.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&P.compare(e,t)===0},isBefore(e,t){return P.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&P.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&P.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&P.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&P.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],i=t[t.length-1];return o!==i&&P.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(!P.isAncestor(t,e)&&!P.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:i}=t;(P.equals(i,n)||P.endsBefore(i,n)||P.isAncestor(i,n))&&(n[i.length-1]+=1);break}case"remove_node":{var{path:s}=t;if(P.equals(s,n)||P.isAncestor(s,n))return null;P.endsBefore(s,n)&&(n[s.length-1]-=1);break}case"merge_node":{var{path:u,position:l}=t;P.equals(u,n)||P.endsBefore(u,n)?n[u.length-1]-=1:P.isAncestor(u,n)&&(n[u.length-1]-=1,n[u.length]+=l);break}case"split_node":{var{path:c,position:f}=t;if(P.equals(c,n)){if(o==="forward")n[n.length-1]+=1;else if(o!=="backward")return null}else P.endsBefore(c,n)?n[c.length-1]+=1:P.isAncestor(c,n)&&e[c.length]>=f&&(n[c.length-1]+=1,n[c.length]-=f);break}case"move_node":{var{path:d,newPath:m}=t;if(P.equals(d,m))return n;if(P.isAncestor(d,n)||P.equals(d,n)){var g=m.slice();return P.endsBefore(d,m)&&d.length<m.length&&(g[d.length-1]-=1),g.concat(n.slice(d.length))}else P.isSibling(d,m)&&(P.isAncestor(m,n)||P.equals(m,n))?P.endsBefore(d,n)?n[d.length-1]-=1:n[d.length-1]+=1:P.endsBefore(m,n)||P.equals(m,n)||P.isAncestor(m,n)?(P.endsBefore(d,n)&&(n[d.length-1]-=1),n[m.length-1]+=1):P.endsBefore(d,n)&&(P.equals(m,n)&&(n[m.length-1]+=1),n[d.length-1]-=1);break}}return n}};function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QS(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 Su(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?QS(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):QS(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Oq=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,i=W.parent(e,n),s=n[n.length-1];if(s>i.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(i.children.splice(s,0,o),t)for(var[u,l]of B.points(t))t[l]=ve.transform(u,r);break}case"insert_text":{var{path:c,offset:f,text:d}=r;if(d.length===0)break;var m=W.leaf(e,c),g=m.text.slice(0,f),v=m.text.slice(f);if(m.text=g+d+v,t)for(var[h,y]of B.points(t))t[y]=ve.transform(h,r);break}case"merge_node":{var{path:b}=r,x=W.get(e,b),w=P.previous(b),S=W.get(e,w),E=W.parent(e,b),D=b[b.length-1];if(Y.isText(x)&&Y.isText(S))S.text+=x.text;else if(!Y.isText(x)&&!Y.isText(S))S.children.push(...x.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(b,"] to nodes of different interfaces: ").concat(ot.stringify(x)," ").concat(ot.stringify(S)));if(E.children.splice(D,1),t)for(var[T,O]of B.points(t))t[O]=ve.transform(T,r);break}case"move_node":{var{path:F,newPath:I}=r;if(P.isAncestor(F,I))throw new Error("Cannot move a path [".concat(F,"] to new path [").concat(I,"] because the destination is inside itself."));var G=W.get(e,F),k=W.parent(e,F),H=F[F.length-1];k.children.splice(H,1);var N=P.transform(F,r),M=W.get(e,P.parent(N)),Q=N[N.length-1];if(M.children.splice(Q,0,G),t)for(var[re,se]of B.points(t))t[se]=ve.transform(re,r);break}case"remove_node":{var{path:j}=r,ne=j[j.length-1],ce=W.parent(e,j);if(ce.children.splice(ne,1),t)for(var[pe,Be]of B.points(t)){var A=ve.transform(pe,r);if(t!=null&&A!=null)t[Be]=A;else{var _=void 0,z=void 0;for(var[U,ue]of W.texts(e))if(P.compare(ue,j)===-1)_=[U,ue];else{z=[U,ue];break}var ee=!1;_&&z&&(P.equals(z[1],j)?ee=!P.hasPrevious(z[1]):ee=P.common(_[1],j).length<P.common(z[1],j).length),_&&!ee?(pe.path=_[1],pe.offset=_[0].text.length):z?(pe.path=z[1],pe.offset=0):t=null}}break}case"remove_text":{var{path:he,offset:we,text:De}=r;if(De.length===0)break;var Ae=W.leaf(e,he),Ce=Ae.text.slice(0,we),je=Ae.text.slice(we+De.length);if(Ae.text=Ce+je,t)for(var[Ye,Ne]of B.points(t))t[Ne]=ve.transform(Ye,r);break}case"set_node":{var{path:Tt,properties:Ct,newProperties:st}=r;if(Tt.length===0)throw new Error("Cannot set properties on the root node!");var ut=W.get(e,Tt);for(var $ in st){if($==="children"||$==="text")throw new Error('Cannot set the "'.concat($,'" property of nodes!'));var X=st[$];X==null?delete ut[$]:ut[$]=X}for(var te in Ct)st.hasOwnProperty(te)||delete ut[te];break}case"set_selection":{var{newProperties:q}=r;if(q==null)t=q;else{if(t==null){if(!B.isRange(q))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(ot.stringify(q)," when there is no current selection."));t=Su({},q)}for(var ae in q){var Se=q[ae];if(Se==null){if(ae==="anchor"||ae==="focus")throw new Error('Cannot remove the "'.concat(ae,'" selection property'));delete t[ae]}else t[ae]=Se}}break}case"split_node":{var{path:Te,position:ht,properties:Vn}=r;if(Te.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Te,"] because the root node cannot be split."));var Cr=W.get(e,Te),u1=W.parent(e,Te),u3=Te[Te.length-1],Bi;if(Y.isText(Cr)){var l1=Cr.text.slice(0,ht),NF=Cr.text.slice(ht);Cr.text=l1,Bi=Su(Su({},Vn),{},{text:NF})}else{var VF=Cr.children.slice(0,ht),LF=Cr.children.slice(ht);Cr.children=VF,Bi=Su(Su({},Vn),{},{children:LF})}if(u1.children.splice(u3+1,0,Bi),t)for(var[zF,HF]of B.points(t))t[HF]=ve.transform(zF,r);break}}return t},Fq={transform(e,t){e.children=Gh(e.children);var r=e.selection&&Gh(e.selection);try{r=Oq(e,r,t)}finally{e.children=jh(e.children),r?e.selection=mo(r)?jh(r):r:e.selection=null}}},$q={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)}},Rq={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)}},AD=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(Xe(n)&&Xe(o)){if(!AD(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(n[i]!==o[i])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 Bq(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function On(e,t){if(e==null)return{};var r=Bq(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Mq=["anchor","focus"];function eD(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 Iq(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?eD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var B={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return B.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=B.edges(e);return t},equals(e,t){return ve.equals(e.anchor,t.anchor)&&ve.equals(e.focus,t.focus)},includes(e,t){if(B.isRange(t)){if(B.includes(e,t.anchor)||B.includes(e,t.focus))return!0;var[r,n]=B.edges(e),[o,i]=B.edges(t);return ve.isBefore(r,o)&&ve.isAfter(n,i)}var[s,u]=B.edges(e),l=!1,c=!1;return ve.isPoint(t)?(l=ve.compare(t,s)>=0,c=ve.compare(t,u)<=0):(l=P.compare(t,s.path)>=0,c=P.compare(t,u.path)<=0),l&&c},intersection(e,t){var r=On(e,Mq),[n,o]=B.edges(e),[i,s]=B.edges(t),u=ve.isBefore(n,i)?i:n,l=ve.isBefore(o,s)?o:s;return ve.isBefore(l,u)?null:Iq({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!B.isCollapsed(e)},isForward(e){return!B.isBackward(e)},isRange(e){return Xe(e)&&ve.isPoint(e.anchor)&&ve.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=B.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ap(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,i,s;if(o==="inward"){var u=B.isCollapsed(n);B.isForward(n)?(i="forward",s=u?i:"backward"):(i="backward",s=u?i:"forward")}else o==="outward"?B.isForward(n)?(i="backward",s="forward"):(i="forward",s="backward"):(i=o,s=o);var l=ve.transform(n.anchor,t,{affinity:i}),c=ve.transform(n.focus,t,{affinity:s});if(!l||!c)return null;n.anchor=l,n.focus=c})}},tD=e=>Xe(e)&&W.isNodeList(e.children)&&!C.isEditor(e),K={isAncestor(e){return Xe(e)&&W.isNodeList(e.children)},isElement:tD,isElementList(e){return Array.isArray(e)&&e.every(t=>K.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 tD(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},kq=["children"],Nq=["text"],rD=new WeakMap,W={ancestor(e,t){var r=W.get(e,t);if(Y.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(ot.stringify(r)));return r},*ancestors(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of P.ancestors(t,r)){var o=W.ancestor(e,n),i=[o,n];yield i}},child(e,t){if(Y.isText(e))throw new Error("Cannot get the child of a text node: ".concat(ot.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(ot.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=W.ancestor(e,t),{children:i}=o,s=n?i.length-1:0;n?s>=0:s<i.length;){var u=W.child(o,s),l=t.concat(s);yield[u,l],s=n?s-1:s+1}},common(e,t,r){var n=P.common(t,r),o=W.get(e,n);return[o,n]},descendant(e,t){var r=W.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(ot.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of W.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 W.nodes(e,t))K.isElement(r)&&(yield[r,n])},extractProps(e){if(K.isAncestor(e)){var t=On(e,kq);return t}else{var t=On(e,Nq);return t}},first(e,t){for(var r=t.slice(),n=W.get(e,r);n&&!(Y.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(Y.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(ot.stringify(e)));var r=Ap({children:e.children},n=>{var[o,i]=B.edges(t),s=W.nodes(n,{reverse:!0,pass:m=>{var[,g]=m;return!B.includes(t,g)}});for(var[,u]of s){if(!B.includes(t,u)){var l=W.parent(n,u),c=u[u.length-1];l.children.splice(c,1)}if(P.equals(u,i.path)){var f=W.leaf(n,u);f.text=f.text.slice(0,i.offset)}if(P.equals(u,o.path)){var d=W.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(Y.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(ot.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(Y.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return Y.isText(e)||K.isElement(e)||C.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=rD.get(e);if(t!==void 0)return t;var r=e.every(n=>W.isNode(n));return rD.set(e,r),r},last(e,t){for(var r=t.slice(),n=W.get(e,r);n&&!(Y.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=W.get(e,t);if(!Y.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ot.stringify(r)));return r},*levels(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of P.levels(t,r)){var o=W.get(e,n);yield[o,n]}},matches(e,t){return K.isElement(e)&&K.isElementProps(t)&&K.matches(e,t)||Y.isText(e)&&Y.isTextProps(t)&&Y.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:i}=t,s=new Set,u=[],l=e;!(i&&(n?P.isBefore(u,i):P.isAfter(u,i)));){if(s.has(l)||(yield[l,u]),!s.has(l)&&!Y.isText(l)&&l.children.length!==0&&(r==null||r([l,u])===!1)){s.add(l);var c=n?l.children.length-1:0;P.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),l=W.get(e,u);continue}if(u.length===0)break;if(!n){var f=P.next(u);if(W.has(e,f)){u=f,l=W.get(e,u);continue}}if(n&&u[u.length-1]!==0){var d=P.previous(u);u=d,l=W.get(e,u);continue}u=P.parent(u),l=W.get(e,u),s.add(l)}},parent(e,t){var r=P.parent(t),n=W.get(e,r);if(Y.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 Y.isText(e)?e.text:e.children.map(W.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of W.nodes(e,t))Y.isText(r)&&(yield[r,n])}};function nD(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 He(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var An={isNodeOperation(e){return An.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!Xe(e))return!1;switch(e.type){case"insert_node":return P.isPath(e.path)&&W.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&P.isPath(e.path);case"merge_node":return typeof e.position=="number"&&P.isPath(e.path)&&Xe(e.properties);case"move_node":return P.isPath(e.path)&&P.isPath(e.newPath);case"remove_node":return P.isPath(e.path)&&W.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&P.isPath(e.path);case"set_node":return P.isPath(e.path)&&Xe(e.properties)&&Xe(e.newProperties);case"set_selection":return e.properties===null&&B.isRange(e.newProperties)||e.newProperties===null&&B.isRange(e.properties)||Xe(e.properties)&&Xe(e.newProperties);case"split_node":return P.isPath(e.path)&&typeof e.position=="number"&&Xe(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>An.isOperation(t))},isSelectionOperation(e){return An.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return An.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return He(He({},e),{},{type:"remove_node"});case"insert_text":return He(He({},e),{},{type:"remove_text"});case"merge_node":return He(He({},e),{},{type:"split_node",path:P.previous(e.path)});case"move_node":{var{newPath:t,path:r}=e;if(P.equals(t,r))return e;if(P.isSibling(r,t))return He(He({},e),{},{path:t,newPath:r});var n=P.transform(r,e),o=P.transform(P.next(r),e);return He(He({},e),{},{path:n,newPath:o})}case"remove_node":return He(He({},e),{},{type:"insert_node"});case"remove_text":return He(He({},e),{},{type:"insert_text"});case"set_node":{var{properties:i,newProperties:s}=e;return He(He({},e),{},{properties:s,newProperties:i})}case"set_selection":{var{properties:u,newProperties:l}=e;return u==null?He(He({},e),{},{properties:l,newProperties:null}):l==null?He(He({},e),{},{properties:null,newProperties:u}):He(He({},e),{},{properties:l,newProperties:u})}case"split_node":return He(He({},e),{},{type:"merge_node",path:P.next(e.path)})}}},oD=new WeakMap,Vq=e=>{var t=oD.get(e);if(t!==void 0)return t;if(!Xe(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||Xe(e.marks))&&(e.selection===null||B.isRange(e.selection))&&W.isNodeList(e.children)&&An.isOperationList(e.operations);return oD.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 Vq(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 Lq={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(P.isPath)}};function iD(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 aD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ve={compare(e,t){var r=P.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&&P.equals(e.path,t.path)},isPoint(e){return Xe(e)&&typeof e.offset=="number"&&P.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ap(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:i,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=P.transform(i,t,r);break}case"insert_text":{P.equals(t.path,i)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{P.equals(t.path,i)&&(n.offset+=t.position),n.path=P.transform(i,t,r);break}case"remove_text":{P.equals(t.path,i)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(P.equals(t.path,i)||P.isAncestor(t.path,i))return null;n.path=P.transform(i,t,r);break}case"split_node":{if(P.equals(t.path,i)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=P.transform(i,t,aD(aD({},r),{},{affinity:"forward"})))}else n.path=P.transform(i,t,r);break}}})}},sD=void 0,ot={setScrubber(e){sD=e},stringify(e){return JSON.stringify(e,sD)}},zq=["text"],Hq=["anchor","focus"];function uD(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 Pn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Y={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(i){var s=On(i,zq);return s}return AD(n?o(e):e,n?o(t):t)},isText(e){return Xe(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>Y.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=[Pn({},e)];for(var n of t){var o=On(n,Hq),[i,s]=B.edges(n),u=[],l=0,c=i.offset,f=s.offset;for(var d of r){var{length:m}=d.text,g=l;if(l+=m,c<=g&&l<=f){Object.assign(d,o),u.push(d);continue}if(c!==f&&(c===l||f===g)||c>l||f<g||f===g&&g!==0){u.push(d);continue}var v=d,h=void 0,y=void 0;if(f<l){var b=f-g;y=Pn(Pn({},v),{},{text:v.text.slice(b)}),v=Pn(Pn({},v),{},{text:v.text.slice(0,b)})}if(c>g){var x=c-g;h=Pn(Pn({},v),{},{text:v.text.slice(0,x)}),v=Pn(Pn({},v),{},{text:v.text.slice(x)})}Object.assign(v,o),h&&u.push(h),u.push(v),y&&u.push(y)}r=u}return r}},_h=e=>e.selection?e.selection:e.children.length>0?C.end(e,[]):[0],_a=(e,t)=>{var[r]=C.node(e,t);return n=>n===r},Wh=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?Kq(t):t,i=fe.None,s=fe.None,u=0,l=null,c=null;for(var f of o){var d=f.codePointAt(0);if(!d)break;var m=iX(f,d);if([i,s]=n?[s,m]:[m,i],ja(i,fe.ZWJ)&&ja(s,fe.ExtPict)&&(n?l=lD(t.substring(0,u)):l=lD(t.substring(0,t.length-u)),!l)||ja(i,fe.RI)&&ja(s,fe.RI)&&(c!==null?c=!c:n?c=!0:c=cX(t.substring(0,t.length-u)),!c)||i!==fe.None&&s!==fe.None&&sX(i,s))break;u+=f.length}return u||1},Gq=/\s/,jq=/[\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]/,_q=/['\u2018\u2019]/,Wq=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var i=Wh(t,r),[s,u]=Uh(t,i,r);if(Uq(s,u,r))o=!0,n+=i;else if(!o)n+=i;else break;t=u}return n},Uh=(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)]},Uq=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(Gq.test(t))return!1;if(_q.test(t)){var o=Wh(r,n),[i,s]=Uh(r,o,n);if(e(i,s,n))return!0}return!jq.test(t)},Kq=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(Xq(o.charCodeAt(0))){var i=t.charAt(r-n-1);if(qq(i.charCodeAt(0))){yield i+o,n++;continue}}yield o}},qq=e=>e>=55296&&e<=56319,Xq=e=>e>=56320&&e<=57343,fe;(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"})(fe||(fe={}));var Yq=/^(?:[\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])$/,Jq=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,Zq=/^(?:[\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])$/,Qq=/^[\u1100-\u115F\uA960-\uA97C]$/,eX=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,tX=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,rX=/^[\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]$/,nX=/^[\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]$/,oX=/^(?:[\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])$/,iX=(e,t)=>{var r=fe.Any;return e.search(Yq)!==-1&&(r|=fe.Extend),t===8205&&(r|=fe.ZWJ),t>=127462&&t<=127487&&(r|=fe.RI),e.search(Jq)!==-1&&(r|=fe.Prepend),e.search(Zq)!==-1&&(r|=fe.SpacingMark),e.search(Qq)!==-1&&(r|=fe.L),e.search(eX)!==-1&&(r|=fe.V),e.search(tX)!==-1&&(r|=fe.T),e.search(rX)!==-1&&(r|=fe.LV),e.search(nX)!==-1&&(r|=fe.LVT),e.search(oX)!==-1&&(r|=fe.ExtPict),r};function ja(e,t){return(e&t)!==0}var aX=[[fe.L,fe.L|fe.V|fe.LV|fe.LVT],[fe.LV|fe.V,fe.V|fe.T],[fe.LVT|fe.T,fe.T],[fe.Any,fe.Extend|fe.ZWJ],[fe.Any,fe.SpacingMark],[fe.Prepend,fe.Any],[fe.ZWJ,fe.ExtPict],[fe.RI,fe.RI]];function sX(e,t){return aX.findIndex(r=>ja(e,r[0])&&ja(t,r[1]))===-1}var uX=/(?:[\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$/,lD=e=>e.search(uX)!==-1,lX=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,cX=e=>{var t=e.match(lX);if(t===null)return!1;var r=t[0].length/2;return r%2===1},fX={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=_h(e)}=r;if(P.isPath(o)&&(o=C.range(e,o)),B.isRange(o))if(B.isCollapsed(o))o=o.anchor;else{var i=B.end(o);if(!n&&C.void(e,{at:i}))return;var s=B.start(o),u=C.pointRef(e,s),l=C.pointRef(e,i);V.delete(e,{at:o,voids:n});var c=u.unref(),f=l.unref();o=c||f,V.setSelection(e,{anchor:o,focus:o})}if(!(!n&&C.void(e,{at:o})||C.elementReadOnly(e,{at:o}))){var{path:d,offset:m}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:m,text:t})}})}};function cD(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 Op(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var V=Op(Op(Op(Op({},Fq),$q),Rq),fX),pX=(e,t)=>{for(var r of C.pathRefs(e))Tq.transform(r,t);for(var n of C.pointRefs(e))Pq.transform(n,t);for(var o of C.rangeRefs(e))Aq.transform(o,t);var i=Fp.get(e)||[],s=$p.get(e)||new Set,u,l,c=v=>{if(v){var h=v.join(",");l.has(h)||(l.add(h),u.push(v))}};if(P.operationCanTransformPath(t)){u=[],l=new Set;for(var f of i){var d=P.transform(f,t);c(d)}}else u=i,l=s;var m=e.getDirtyPaths(t);for(var g of m)c(g);Fp.set(e,u),$p.set(e,l),V.transform(e,t),e.operations.push(t),C.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),Du.get(e)||(Du.set(e,!0),Promise.resolve().then(()=>{Du.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},dX=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":{var{path:r}=t;return P.levels(r)}case"insert_node":{var{node:n,path:o}=t,i=P.levels(o),s=Y.isText(n)?[]:Array.from(W.nodes(n),I=>{var[,G]=I;return o.concat(G)});return[...i,...s]}case"merge_node":{var{path:u}=t,l=P.ancestors(u),c=P.previous(u);return[...l,c]}case"move_node":{var{path:f,newPath:d}=t;if(P.equals(f,d))return[];var m=[],g=[];for(var v of P.ancestors(f)){var h=P.transform(v,t);m.push(h)}for(var y of P.ancestors(d)){var b=P.transform(y,t);g.push(b)}var x=g[g.length-1],w=d[d.length-1],S=x.concat(w);return[...m,...g,S]}case"remove_node":{var{path:E}=t,D=P.ancestors(E);return[...D]}case"split_node":{var{path:T}=t,O=P.levels(T),F=P.next(T);return[...O,F]}default:return[]}},mX=e=>{var{selection:t}=e;return t?W.fragment(e,t):[]},hX=(e,t)=>{var[r,n]=t;if(!Y.isText(r)){if(K.isElement(r)&&r.children.length===0){var o={text:""};V.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var i=C.isEditor(r)?!1:K.isElement(r)&&(e.isInline(r)||r.children.length===0||Y.isText(r.children[0])||e.isInline(r.children[0])),s=0,u=0;u<r.children.length;u++,s++){var l=W.get(e,n);if(!Y.isText(l)){var c=l.children[s],f=l.children[s-1],d=u===r.children.length-1,m=Y.isText(c)||K.isElement(c)&&e.isInline(c);if(m!==i)V.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(K.isElement(c)){if(e.isInline(c)){if(f==null||!Y.isText(f)){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 f!=null&&Y.isText(f)&&(Y.equals(c,f,{loose:!0})?(V.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):f.text===""?(V.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(V.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},gX=(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},vX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:i=t.selection,match:s}=r;if(i){var u=C.path(t,i),l=o==="lowest";for(var[c,f]of C.levels(t,{at:u,voids:n,match:s,reverse:l}))if(!Y.isText(c)){if(B.isRange(i)){if(P.isAncestor(f,i.anchor.path)&&P.isAncestor(f,i.focus.path))return[c,f]}else if(!P.equals(u,f))return[c,f]}}};function fD(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 pD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var yX=(e,t,r)=>{var{selection:n}=e;if(n){var o=(d,m)=>{if(!Y.isText(d))return!1;var[g,v]=C.parent(e,m);return!e.isVoid(g)||e.markableVoid(g)},i=B.isExpanded(n),s=!1;if(!i){var[u,l]=C.node(e,n);if(u&&o(u,l)){var[c]=C.parent(e,l);s=c&&e.markableVoid(c)}}if(i||s)V.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var f=pD(pD({},C.marks(e)||{}),{},{[t]:r});e.marks=f,Du.get(e)||e.onChange()}}};function dD(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 mD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var bX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.point(t,r,{edge:"end"}),i=C.end(t,[]),s={anchor:o,focus:i},{distance:u=1}=n,l=0,c;for(var f of C.positions(t,mD(mD({},n),{},{at:s}))){if(l>u)break;l!==0&&(c=f),l++}return c};function hD(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 gD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var CX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.start(t,[]),i=C.point(t,r,{edge:"start"}),s={anchor:o,focus:i},{distance:u=1}=n,l=0,c;for(var f of C.positions(t,gD(gD({},n),{},{at:s,reverse:!0}))){if(l>u)break;l!==0&&(c=f),l++}return c},xX=(e,t)=>{var{selection:r}=e;r&&B.isCollapsed(r)&&V.delete(e,{unit:t,reverse:!0})},wX=(e,t)=>{var{selection:r}=e;r&&B.isCollapsed(r)&&V.delete(e,{unit:t})},SX=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&B.isExpanded(n)&&V.delete(t,{reverse:r==="backward"})},DX=(e,t)=>[C.start(e,t),C.end(e,t)];function vD(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 yD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var EX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,yD(yD({},r),{},{match:n=>K.isElement(n)&&C.isElementReadOnly(t,n)}))},TX=(e,t)=>C.point(e,t,{edge:"end"}),PX=(e,t)=>{var r=C.path(e,t,{edge:"start"});return C.node(e,r)},AX=(e,t)=>{var r=C.range(e,t);return W.fragment(e,r)};function bD(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 CD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var OX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,CD(CD({},r),{},{match:n=>K.isElement(n)&&C.isVoid(t,n)}))},FX=(e,t)=>t.children.some(r=>K.isElement(r)&&C.isBlock(e,r)),$X=(e,t)=>t.children.some(r=>Y.isText(r)||C.isInline(e,r)),RX=(e,t)=>W.has(e,t),BX=(e,t)=>t.children.every(r=>Y.isText(r)),MX=e=>{V.splitNodes(e,{always:!0})},IX=(e,t,r)=>{V.insertNodes(e,t,r)},kX=e=>{V.splitNodes(e,{always:!0})};function xD(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?xD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var VX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:i}=t;if(o){if(i){var s=NX({text:r},i);V.insertNodes(t,s,{at:n.at,voids:n.voids})}else V.insertText(t,r,n);t.marks=null}},LX=(e,t)=>!e.isInline(t),zX=(e,t,r)=>C.isStart(e,t,r)||C.isEnd(e,t,r),HX=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&Y.isText(n)&&n.text===""&&!e.isVoid(t)},GX=(e,t,r)=>{var n=C.end(e,r);return ve.equals(t,n)},jX=e=>{var t=PD.get(e);return t===void 0?!0:t},_X=(e,t,r)=>{if(t.offset!==0)return!1;var n=C.start(e,r);return ve.equals(t,n)},WX=(e,t)=>{var r=C.path(e,t,{edge:"end"});return C.node(e,r)},UX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),i=W.leaf(t,o);return[i,o]};function*KX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:i}=t;if(i==null&&(i=()=>!0),!!r){var s=[],u=C.path(e,r);for(var[l,c]of W.levels(e,u))if(i(l,c)&&(s.push([l,c]),!o&&K.isElement(l)&&C.isVoid(e,l)))break;n&&s.reverse(),yield*s}}var qX=["text"],XX=["text"],YX=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(B.isExpanded(n)){var[o]=C.nodes(t,{match:Y.isText});if(o){var[i]=o,s=On(i,qX);return s}else return{}}var{anchor:u}=n,{path:l}=u,[c]=C.leaf(t,l);if(u.offset===0){var f=C.previous(t,{at:l,match:Y.isText}),d=C.above(t,{match:b=>K.isElement(b)&&C.isVoid(t,b)&&t.markableVoid(b)});if(!d){var m=C.above(t,{match:b=>K.isElement(b)&&C.isBlock(t,b)});if(f&&m){var[g,v]=f,[,h]=m;P.isAncestor(h,v)&&(c=g)}}}var y=On(c,XX);return y},JX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:i,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(P.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(i==null)if(P.isPath(s)){var[f]=C.parent(t,s);i=m=>f.children.includes(m)}else i=()=>!0;var[d]=C.nodes(t,{at:c,match:i,mode:n,voids:o});return d}}},ZX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),i=W.get(t,o);return[i,o]};function*QX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:i=!1,voids:s=!1,ignoreNonSelectable:u=!1}=t,{match:l}=t;if(l||(l=()=>!0),!!r){var c,f;if(Lq.isSpan(r))c=r[0],f=r[1];else{var d=C.path(e,r,{edge:"start"}),m=C.path(e,r,{edge:"end"});c=i?m:d,f=i?d:m}var g=W.nodes(e,{reverse:i,from:c,to:f,pass:S=>{var[E]=S;return K.isElement(E)?!!(!s&&(C.isVoid(e,E)||C.isElementReadOnly(e,E))||u&&!C.isSelectable(e,E)):!1}}),v=[],h;for(var[y,b]of g)if(!(u&&K.isElement(y)&&!C.isSelectable(e,y))){var x=h&&P.compare(b,h[1])===0;if(!(n==="highest"&&x)){if(!l(y,b)){if(o&&!x&&Y.isText(y))return;continue}if(n==="lowest"&&x){h=[y,b];continue}var w=n==="lowest"?h:[y,b];w&&(o?v.push(w):yield w),h=[y,b]}}n==="lowest"&&h&&(o?v.push(h):yield h),o&&(yield*v)}}var eY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,i=f=>Fp.get(f)||[],s=f=>$p.get(f)||new Set,u=f=>{var d=i(f).pop(),m=d.join(",");return s(f).delete(m),d};if(C.isNormalizing(t)){if(n){var l=Array.from(W.nodes(t),f=>{var[,d]=f;return d}),c=new Set(l.map(f=>f.join(",")));Fp.set(t,l),$p.set(t,c)}i(t).length!==0&&C.withoutNormalizing(t,()=>{for(var f of i(t))if(W.has(t,f)){var d=C.node(t,f),[m,g]=d;K.isElement(m)&&m.children.length===0&&t.normalizeNode(d,{operation:o})}for(var v=i(t),h=v.length,y=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:y,initialDirtyPathsLength:h,operation:o}))return;var b=u(t);if(W.has(t,b)){var x=C.node(t,b);t.normalizeNode(x,{operation:o})}y++,v=i(t)}})}},tY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),i=P.parent(o),s=C.node(t,i);return s},rY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,i={current:r,affinity:o,unref(){var{current:u}=i,l=C.pathRefs(t);return l.delete(i),i.current=null,u}},s=C.pathRefs(t);return s.add(i),i},nY=e=>{var t=YS.get(e);return t||(t=new Set,YS.set(e,t)),t},oY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:i}=n;if(P.isPath(r)){if(i==="start"){var[,s]=W.first(t,r);r=s}else if(i==="end"){var[,u]=W.last(t,r);r=u}}return B.isRange(r)&&(i==="start"?r=B.start(r):i==="end"?r=B.end(r):r=P.common(r.anchor.path,r.focus.path)),ve.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},iY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,i={current:r,affinity:o,unref(){var{current:u}=i,l=C.pointRefs(t);return l.delete(i),i.current=null,u}},s=C.pointRefs(t);return s.add(i),i},aY=e=>{var t=JS.get(e);return t||(t=new Set,JS.set(e,t)),t},sY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(P.isPath(r)){var i;if(o==="end"){var[,s]=W.last(t,r);i=s}else{var[,u]=W.first(t,r);i=u}var l=W.get(t,i);if(!Y.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:i,offset:o==="end"?l.text.length:0}}if(B.isRange(r)){var[c,f]=B.edges(r);return o==="start"?c:f}return r};function*uY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:i=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var u=C.range(e,r),[l,c]=B.edges(u),f=o?c:l,d=!1,m="",g=0,v=0,h=0;for(var[y,b]of C.nodes(e,{at:r,reverse:o,voids:i,ignoreNonSelectable:s})){if(K.isElement(y)){if(!i&&(e.isVoid(y)||e.isElementReadOnly(y))){yield C.start(e,b);continue}if(e.isInline(y))continue;if(C.hasInlines(e,y)){var x=P.isAncestor(b,c.path)?c:C.end(e,b),w=P.isAncestor(b,l.path)?l:C.start(e,b);m=C.string(e,{anchor:w,focus:x},{voids:i}),d=!0}}if(Y.isText(y)){var S=P.equals(b,f.path);for(S?(v=o?f.offset:y.text.length-f.offset,h=f.offset):(v=y.text.length,h=o?v:0),(S||d||n==="offset")&&(yield{path:b,offset:h},d=!1);;){if(g===0){if(m==="")break;g=E(m,n,o),m=Uh(m,g,o)[1]}if(h=o?h-g:h+g,v=v-g,v<0){g=-v;break}g=0,yield{path:b,offset:h}}}}function E(D,T,O){return T==="character"?Wh(D,O):T==="word"?Wq(D,O):T==="line"||T==="block"?D.length:1}}var lY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:i,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(P.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(i==null)if(P.isPath(s)){var[f]=C.parent(t,s);i=m=>f.children.includes(m)}else i=()=>!0;var[d]=C.nodes(t,{reverse:!0,at:c,match:i,mode:n,voids:o});return d}}},cY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,i={current:r,affinity:o,unref(){var{current:u}=i,l=C.rangeRefs(t);return l.delete(i),i.current=null,u}},s=C.rangeRefs(t);return s.add(i),i},fY=e=>{var t=ZS.get(e);return t||(t=new Set,ZS.set(e,t)),t},pY=(e,t,r)=>{if(B.isRange(t)&&!r)return t;var n=C.start(e,t),o=C.end(e,r||t);return{anchor:n,focus:o}};function wD(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 dY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var mY=(e,t)=>{var{selection:r}=e;if(r){var n=(f,d)=>{if(!Y.isText(f))return!1;var[m,g]=C.parent(e,d);return!e.isVoid(m)||e.markableVoid(m)},o=B.isExpanded(r),i=!1;if(!o){var[s,u]=C.node(e,r);if(s&&n(s,u)){var[l]=C.parent(e,u);i=l&&e.markableVoid(l)}}if(o||i)V.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=dY({},C.marks(e)||{});delete c[t],e.marks=c,Du.get(e)||e.onChange()}}},hY=(e,t)=>{PD.set(e,t)},gY=(e,t)=>C.point(e,t,{edge:"start"}),vY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,i=C.range(t,r),[s,u]=B.edges(i),l="";for(var[c,f]of C.nodes(t,{at:i,match:Y.isText,voids:o})){var d=c.text;P.equals(f,u.path)&&(d=d.slice(0,u.offset)),P.equals(f,s.path)&&(d=d.slice(s.offset)),l+=d}return l},yY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[i,s]=B.edges(r);if(i.offset!==0||s.offset!==0||B.isCollapsed(r)||P.hasPrevious(s.path))return r;var u=C.above(t,{at:s,match:v=>K.isElement(v)&&C.isBlock(t,v),voids:o}),l=u?u[1]:[],c=C.start(t,i),f={anchor:c,focus:s},d=!0;for(var[m,g]of C.nodes(t,{at:f,match:Y.isText,reverse:!0,voids:o})){if(d){d=!1;continue}if(m.text!==""||P.isBefore(g,l)){s={path:g,offset:m.text.length};break}}return{anchor:i,focus:s}},bY=(e,t)=>{var r=C.isNormalizing(e);C.setNormalizing(e,!1);try{t()}finally{C.setNormalizing(e,r)}C.normalize(e)},CY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var n,o,{reverse:i=!1,unit:s="character",distance:u=1,voids:l=!1}=r,{at:c=t.selection,hanging:f=!1}=r;if(c){var d=!1;if(B.isRange(c)&&B.isCollapsed(c)&&(d=!0,c=c.anchor),ve.isPoint(c)){var m=C.void(t,{at:c,mode:"highest"});if(!l&&m){var[,g]=m;c=g}else{var v={unit:s,distance:u},h=i?C.before(t,c,v)||C.start(t,[]):C.after(t,c,v)||C.end(t,[]);c={anchor:c,focus:h},f=!0}}if(P.isPath(c)){V.removeNodes(t,{at:c,voids:l});return}if(!B.isCollapsed(c)){if(!f){var[,y]=B.edges(c),b=C.end(t,[]);ve.equals(y,b)||(c=C.unhangRange(t,c,{voids:l}))}var[x,w]=B.edges(c),S=C.above(t,{match:Ce=>K.isElement(Ce)&&C.isBlock(t,Ce),at:x,voids:l}),E=C.above(t,{match:Ce=>K.isElement(Ce)&&C.isBlock(t,Ce),at:w,voids:l}),D=S&&E&&!P.equals(S[1],E[1]),T=P.equals(x.path,w.path),O=l?null:(n=C.void(t,{at:x,mode:"highest"}))!==null&&n!==void 0?n:C.elementReadOnly(t,{at:x,mode:"highest"}),F=l?null:(o=C.void(t,{at:w,mode:"highest"}))!==null&&o!==void 0?o:C.elementReadOnly(t,{at:w,mode:"highest"});if(O){var I=C.before(t,x);I&&S&&P.isAncestor(S[1],I.path)&&(x=I)}if(F){var G=C.after(t,w);G&&E&&P.isAncestor(E[1],G.path)&&(w=G)}var k=[],H;for(var N of C.nodes(t,{at:c,voids:l})){var[M,Q]=N;H&&P.compare(Q,H)===0||(!l&&K.isElement(M)&&(C.isVoid(t,M)||C.isElementReadOnly(t,M))||!P.isCommon(Q,x.path)&&!P.isCommon(Q,w.path))&&(k.push(N),H=Q)}var re=Array.from(k,Ce=>{var[,je]=Ce;return C.pathRef(t,je)}),se=C.pointRef(t,x),j=C.pointRef(t,w),ne="";if(!T&&!O){var ce=se.current,[pe]=C.leaf(t,ce),{path:Be}=ce,{offset:A}=x,_=pe.text.slice(A);_.length>0&&(t.apply({type:"remove_text",path:Be,offset:A,text:_}),ne=_)}if(re.reverse().map(Ce=>Ce.unref()).filter(Ce=>Ce!==null).forEach(Ce=>V.removeNodes(t,{at:Ce,voids:l})),!F){var z=j.current,[U]=C.leaf(t,z),{path:ue}=z,ee=T?x.offset:0,he=U.text.slice(ee,w.offset);he.length>0&&(t.apply({type:"remove_text",path:ue,offset:ee,text:he}),ne=he)}!T&&D&&j.current&&se.current&&V.mergeNodes(t,{at:j.current,hanging:!0,voids:l}),d&&i&&s==="character"&&ne.length>1&&ne.match(/[\u0E00-\u0E7F]+/)&&V.insertText(t,ne.slice(0,ne.length-u));var we=se.unref(),De=j.unref(),Ae=i?we||De:De||we;r.at==null&&Ae&&V.select(t,Ae)}}})},xY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:i=!1}=n,{at:s=_h(t)}=n;if(r.length){if(B.isRange(s))if(o||(s=C.unhangRange(t,s,{voids:i})),B.isCollapsed(s))s=s.anchor;else{var[,u]=B.edges(s);if(!i&&C.void(t,{at:u}))return;var l=C.pointRef(t,u);V.delete(t,{at:s}),s=l.unref()}else P.isPath(s)&&(s=C.start(t,s));if(!(!i&&C.void(t,{at:s}))){var c=C.above(t,{at:s,match:A=>K.isElement(A)&&C.isInline(t,A),mode:"highest",voids:i});if(c){var[,f]=c;if(C.isEnd(t,s,f)){var d=C.after(t,f);s=d}else if(C.isStart(t,s,f)){var m=C.before(t,f);s=m}}var g=C.above(t,{match:A=>K.isElement(A)&&C.isBlock(t,A),at:s,voids:i}),[,v]=g,h=C.isStart(t,s,v),y=C.isEnd(t,s,v),b=h&&y,x=!h||h&&y,w=!y,[,S]=W.first({children:r},[]),[,E]=W.last({children:r},[]),D=[],T=A=>{var[_,z]=A,U=z.length===0;return U?!1:b?!0:!(x&&P.isAncestor(z,S)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_)||w&&P.isAncestor(z,E)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_))};for(var O of W.nodes({children:r},{pass:T}))T(O)&&D.push(O);var F=[],I=[],G=[],k=!0,H=!1;for(var[N]of D)K.isElement(N)&&!t.isInline(N)?(k=!1,H=!0,I.push(N)):k?F.push(N):G.push(N);var[M]=C.nodes(t,{at:s,match:A=>Y.isText(A)||C.isInline(t,A),mode:"highest",voids:i}),[,Q]=M,re=C.isStart(t,s,Q),se=C.isEnd(t,s,Q),j=C.pathRef(t,y&&!G.length?P.next(v):v),ne=C.pathRef(t,se?P.next(Q):Q);V.splitNodes(t,{at:s,match:A=>H?K.isElement(A)&&C.isBlock(t,A):Y.isText(A)||C.isInline(t,A),mode:H?"lowest":"highest",always:H&&(!h||F.length>0)&&(!y||G.length>0),voids:i});var ce=C.pathRef(t,!re||re&&se?P.next(Q):Q);if(V.insertNodes(t,F,{at:ce.current,match:A=>Y.isText(A)||C.isInline(t,A),mode:"highest",voids:i}),b&&!F.length&&I.length&&!G.length&&V.delete(t,{at:v,voids:i}),V.insertNodes(t,I,{at:j.current,match:A=>K.isElement(A)&&C.isBlock(t,A),mode:"lowest",voids:i}),V.insertNodes(t,G,{at:ne.current,match:A=>Y.isText(A)||C.isInline(t,A),mode:"highest",voids:i}),!n.at){var pe;if(G.length>0&&ne.current?pe=P.previous(ne.current):I.length>0&&j.current?pe=P.previous(j.current):ce.current&&(pe=P.previous(ce.current)),pe){var Be=C.end(t,pe);V.select(t,Be)}}ce.unref(),j.unref(),ne.unref()}}})},wY=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[i]=B.edges(o);V.select(t,i)}else if(n==="end"){var[,s]=B.edges(o);V.select(t,s)}}else return},SY=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},DY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:i="character",reverse:s=!1}=r,{edge:u=null}=r;if(n){u==="start"&&(u=B.isBackward(n)?"focus":"anchor"),u==="end"&&(u=B.isBackward(n)?"anchor":"focus");var{anchor:l,focus:c}=n,f={distance:o,unit:i,ignoreNonSelectable:!0},d={};if(u==null||u==="anchor"){var m=s?C.before(t,l,f):C.after(t,l,f);m&&(d.anchor=m)}if(u==null||u==="focus"){var g=s?C.before(t,c,f):C.after(t,c,f);g&&(d.focus=g)}V.setSelection(t,d)}},EY=(e,t)=>{var{selection:r}=e;if(t=C.range(e,t),r){V.setSelection(e,t);return}if(!B.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(ot.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function SD(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 DD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?SD(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):SD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var TY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:i="both"}=n;if(o){i==="start"&&(i=B.isBackward(o)?"focus":"anchor"),i==="end"&&(i=B.isBackward(o)?"anchor":"focus");var{anchor:s,focus:u}=o,l=i==="anchor"?s:u;V.setSelection(t,{[i==="anchor"?"anchor":"focus"]:DD(DD({},l),r)})}},PY=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var i in t)(i==="anchor"&&t.anchor!=null&&!ve.equals(t.anchor,r.anchor)||i==="focus"&&t.focus!=null&&!ve.equals(t.focus,r.focus)||i!=="anchor"&&i!=="focus"&&t[i]!==r[i])&&(n[i]=r[i],o[i]=t[i]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},AY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:i=!1,mode:s="lowest"}=n,{at:u,match:l,select:c}=n;if(W.isNode(r)&&(r=[r]),r.length!==0){var[f]=r;if(u||(u=_h(t),c=!0),c==null&&(c=!1),B.isRange(u))if(o||(u=C.unhangRange(t,u,{voids:i})),B.isCollapsed(u))u=u.anchor;else{var[,d]=B.edges(u),m=C.pointRef(t,d);V.delete(t,{at:u}),u=m.unref()}if(ve.isPoint(u)){l==null&&(Y.isText(f)?l=T=>Y.isText(T):t.isInline(f)?l=T=>Y.isText(T)||C.isInline(t,T):l=T=>K.isElement(T)&&C.isBlock(t,T));var[g]=C.nodes(t,{at:u.path,match:l,mode:s,voids:i});if(g){var[,v]=g,h=C.pathRef(t,v),y=C.isEnd(t,u,v);V.splitNodes(t,{at:u,match:l,mode:s,voids:i});var b=h.unref();u=y?P.next(b):b}else return}var x=P.parent(u),w=u[u.length-1];if(!(!i&&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=P.next(u)}if(u=P.previous(u),c){var D=C.end(t,u);D&&V.select(t,D)}}}})},OY=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:i=!1}=r,{match:s}=r;if(s==null&&(s=P.isPath(n)?_a(t,n):S=>K.isElement(S)&&C.isBlock(t,S)),!!n){var u=C.nodes(t,{at:n,match:s,mode:o,voids:i}),l=Array.from(u,S=>{var[,E]=S;return C.pathRef(t,E)});for(var c of l){var f=c.unref();if(f.length<2)throw new Error("Cannot lift node at a path [".concat(f,"] because it has a depth of less than `2`."));var d=C.node(t,P.parent(f)),[m,g]=d,v=f[f.length-1],{length:h}=m.children;if(h===1){var y=P.next(g);V.moveNodes(t,{at:f,to:y,voids:i}),V.removeNodes(t,{at:g,voids:i})}else if(v===0)V.moveNodes(t,{at:f,to:g,voids:i});else if(v===h-1){var b=P.next(g);V.moveNodes(t,{at:f,to:b,voids:i})}else{var x=P.next(f),w=P.next(g);V.splitNodes(t,{at:x,voids:i}),V.moveNodes(t,{at:f,to:w,voids:i})}}}})},FY=["text"],$Y=["children"],OD=(e,t)=>{if(K.isElement(t)){var r=t;return C.isVoid(e,t)?!0:r.children.length===1?OD(e,r.children[0]):!1}else return!C.isEditor(t)},RY=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:i=!1,voids:s=!1,mode:u="lowest"}=r;if(o){if(n==null)if(P.isPath(o)){var[l]=C.parent(t,o);n=I=>l.children.includes(I)}else n=I=>K.isElement(I)&&C.isBlock(t,I);if(!i&&B.isRange(o)&&(o=C.unhangRange(t,o,{voids:s})),B.isRange(o))if(B.isCollapsed(o))o=o.anchor;else{var[,c]=B.edges(o),f=C.pointRef(t,c);V.delete(t,{at:o}),o=f.unref(),r.at==null&&V.select(t,o)}var[d]=C.nodes(t,{at:o,match:n,voids:s,mode:u}),m=C.previous(t,{at:o,match:n,voids:s,mode:u});if(!(!d||!m)){var[g,v]=d,[h,y]=m;if(!(v.length===0||y.length===0)){var b=P.next(y),x=P.common(v,y),w=P.isSibling(v,y),S=Array.from(C.levels(t,{at:v}),I=>{var[G]=I;return G}).slice(x.length).slice(0,-1),E=C.above(t,{at:v,mode:"highest",match:I=>S.includes(I)&&OD(t,I)}),D=E&&C.pathRef(t,E[1]),T,O;if(Y.isText(g)&&Y.isText(h)){var F=On(g,FY);O=h.text.length,T=F}else if(K.isElement(g)&&K.isElement(h)){var F=On(g,$Y);O=h.children.length,T=F}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(ot.stringify(g)," ").concat(ot.stringify(h)));w||V.moveNodes(t,{at:v,to:b,voids:s}),D&&V.removeNodes(t,{at:D.current,voids:s}),K.isElement(h)&&C.isEmpty(t,h)||Y.isText(h)&&h.text===""&&y[y.length-1]!==0?V.removeNodes(t,{at:y,voids:s}):t.apply({type:"merge_node",path:b,position:O,properties:T}),D&&D.unref()}}}})},BY=(e,t)=>{C.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:i=!1}=t,{match:s}=t;if(n){s==null&&(s=P.isPath(n)?_a(e,n):g=>K.isElement(g)&&C.isBlock(e,g));var u=C.pathRef(e,r),l=C.nodes(e,{at:n,match:s,mode:o,voids:i}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(e,v)});for(var f of c){var d=f.unref(),m=u.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:m}),u.current&&P.isSibling(m,d)&&P.isAfter(m,d)&&(u.current=P.next(u.current))}u.unref()}})},MY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:i="lowest"}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=P.isPath(s)?_a(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),!n&&B.isRange(s)&&(s=C.unhangRange(t,s,{voids:o}));var l=C.nodes(t,{at:s,match:u,mode:i,voids:o}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(t,v)});for(var f of c){var d=f.unref();if(d){var[m]=C.node(t,d);t.apply({type:"remove_node",path:d,node:m})}}}})},IY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{match:o,at:i=t.selection,compare:s,merge:u}=n,{hanging:l=!1,mode:c="lowest",split:f=!1,voids:d=!1}=n;if(i){if(o==null&&(o=P.isPath(i)?_a(t,i):O=>K.isElement(O)&&C.isBlock(t,O)),!l&&B.isRange(i)&&(i=C.unhangRange(t,i,{voids:d})),f&&B.isRange(i)){if(B.isCollapsed(i)&&C.leaf(t,i.anchor)[0].text.length>0)return;var m=C.rangeRef(t,i,{affinity:"inward"}),[g,v]=B.edges(i),h=c==="lowest"?"lowest":"highest",y=C.isEnd(t,v,v.path);V.splitNodes(t,{at:v,match:o,mode:h,voids:d,always:!y});var b=C.isStart(t,g,g.path);V.splitNodes(t,{at:g,match:o,mode:h,voids:d,always:!b}),i=m.unref(),n.at==null&&V.select(t,i)}s||(s=(O,F)=>O!==F);for(var[x,w]of C.nodes(t,{at:i,match:o,mode:c,voids:d})){var S={},E={};if(w.length!==0){var D=!1;for(var T in r)T==="children"||T==="text"||s(r[T],x[T])&&(D=!0,x.hasOwnProperty(T)&&(S[T]=x[T]),u?r[T]!=null&&(E[T]=u(x[T],r[T])):r[T]!=null&&(E[T]=r[T]));D&&t.apply({type:"set_node",path:w,properties:S,newProperties:E})}}}})},kY=(e,t)=>{if(B.isCollapsed(t))return t.anchor;var[,r]=B.edges(t),n=C.pointRef(e,r);return V.delete(e,{at:t}),n.unref()},NY=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:i,at:s=t.selection,height:u=0,always:l=!1}=r;if(i==null&&(i=j=>K.isElement(j)&&C.isBlock(t,j)),B.isRange(s)&&(s=kY(t,s)),P.isPath(s)){var c=s,f=C.point(t,c),[d]=C.parent(t,c);i=j=>j===d,u=f.path.length-c.length+1,s=f,l=!0}if(s){var m=C.pointRef(t,s,{affinity:"backward"}),g;try{var[v]=C.nodes(t,{at:s,match:i,mode:n,voids:o});if(!v)return;var h=C.void(t,{at:s,mode:"highest"}),y=0;if(!o&&h){var[b,x]=h;if(K.isElement(b)&&t.isInline(b)){var w=C.after(t,x);if(!w){var S={text:""},E=P.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 T=s.path.length-u,[,O]=v,F=s.path.slice(0,T),I=u===0?s.offset:s.path[T]+y;for(var[G,k]of C.levels(t,{at:F,reverse:!0,voids:o})){var H=!1;if(k.length<O.length||k.length===0||!o&&K.isElement(G)&&C.isVoid(t,G))break;var N=m.current,M=C.isEnd(t,N,k);if(l||!m||!C.isEdge(t,N,k)){H=!0;var Q=W.extractProps(G);t.apply({type:"split_node",path:k,position:I,properties:Q})}I=k[k.length-1]+(H||M?1:0)}if(r.at==null){var re=g.current||C.end(t,[]);V.select(t,re)}}finally{var se;m.unref(),(se=g)===null||se===void 0||se.unref()}}})},VY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var i of r)o[i]=null;V.setNodes(t,o,n)},LY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:i=!1}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=P.isPath(s)?_a(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),P.isPath(s)&&(s=C.range(t,s));var l=B.isRange(s)?C.rangeRef(t,s):null,c=C.nodes(t,{at:s,match:u,mode:n,voids:i}),f=Array.from(c,g=>{var[,v]=g;return C.pathRef(t,v)}).reverse(),d=function(v){var h=v.unref(),[y]=C.node(t,h),b=C.range(t,h);o&&l&&(b=B.intersection(l.current,b)),V.liftNodes(t,{at:b,match:x=>K.isAncestor(y)&&y.children.includes(x),voids:i})};for(var m of f)d(m);l&&l.unref()}})};function ED(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 TD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ED(Object(r),!0).forEach(function(n){Rt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ED(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var zY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{mode:o="lowest",split:i=!1,voids:s=!1}=n,{match:u,at:l=t.selection}=n;if(l){if(u==null&&(P.isPath(l)?u=_a(t,l):t.isInline(r)?u=b=>K.isElement(b)&&C.isInline(t,b)||Y.isText(b):u=b=>K.isElement(b)&&C.isBlock(t,b)),i&&B.isRange(l)){var[c,f]=B.edges(l),d=C.rangeRef(t,l,{affinity:"inward"});V.splitNodes(t,{at:f,match:u,voids:s}),V.splitNodes(t,{at:c,match:u,voids:s}),l=d.unref(),n.at==null&&V.select(t,l)}var m=Array.from(C.nodes(t,{at:l,match:t.isInline(r)?b=>K.isElement(b)&&C.isBlock(t,b):b=>C.isEditor(b),mode:"lowest",voids:s}));for(var[,g]of m){var v=B.isRange(l)?B.intersection(l,C.range(t,g)):l;if(v){var h=Array.from(C.nodes(t,{at:v,match:u,mode:o,voids:s}));if(h.length>0){var y=function(){var[b]=h,x=h[h.length-1],[,w]=b,[,S]=x;if(w.length===0&&S.length===0)return"continue";var E=P.equals(w,S)?P.parent(w):P.common(w,S),D=C.range(t,w,S),T=C.node(t,E),[O]=T,F=E.length+1,I=P.next(S.slice(0,F)),G=TD(TD({},r),{},{children:[]});V.insertNodes(t,G,{at:I,voids:s}),V.moveNodes(t,{at:D,match:k=>K.isAncestor(O)&&O.children.includes(k),to:I.concat(0),voids:s})}();if(y==="continue")continue}}}}})},Rp=()=>{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 pX(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yX(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xX(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wX(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SX(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mX(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MX(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kX(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xY(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IX(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VX(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hX(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mY(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dX(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gX(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vX(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bX(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CX(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wY(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CY(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SY(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DX(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EX(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TX(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PX(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AX(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YX(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FX(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $X(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RX(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BX(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AY(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LX(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zX(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HX(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GX(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jX(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _X(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WX(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UX(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KX(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OY(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RY(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DY(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BY(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JX(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZX(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QX(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eY(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tY(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return oY(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rY(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nY(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sY(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return iY(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 uY(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lY(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pY(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cY(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fY(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MY(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EY(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IY(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hY(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TY(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PY(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NY(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gY(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vY(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yY(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VY(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LY(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OX(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bY(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zY(e,...n)}};return e};a();a();a();a();a();a();a();var yr=[];var FD=function(){return yr.some(function(e){return e.activeTargets.length>0})};a();var $D=function(){return yr.some(function(e){return e.skippedTargets.length>0})};a();var RD="ResizeObserver loop completed with undelivered notifications.",BD=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:RD}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=RD),window.dispatchEvent(e)};a();a();a();a();var li;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(li||(li={}));a();a();var Er=function(e){return Object.freeze(e)};var Kh=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Er(this)}return e}();a();var qh=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,Er(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,i=t.right,s=t.bottom,u=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:i,bottom:s,left:u,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();a();var Eu=function(e){return e instanceof SVGElement&&"getBBox"in e},Bp=function(e){if(Eu(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||e.getClientRects().length)},Xh=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)},MD=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};a();var ci=typeof window<"u"?window:{};var Mp=new WeakMap,ID=/auto|scroll/,HY=/^tb|vertical/,GY=/msie|trident/i.test(ci.navigator&&ci.navigator.userAgent),Kr=function(e){return parseFloat(e||"0")},Wa=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new Kh((r?t:e)||0,(r?e:t)||0)},kD=Er({devicePixelContentBoxSize:Wa(),borderBoxSize:Wa(),contentBoxSize:Wa(),contentRect:new qh(0,0,0,0)}),Yh=function(e,t){if(t===void 0&&(t=!1),Mp.has(e)&&!t)return Mp.get(e);if(Bp(e))return Mp.set(e,kD),kD;var r=getComputedStyle(e),n=Eu(e)&&e.ownerSVGElement&&e.getBBox(),o=!GY&&r.boxSizing==="border-box",i=HY.test(r.writingMode||""),s=!n&&ID.test(r.overflowY||""),u=!n&&ID.test(r.overflowX||""),l=n?0:Kr(r.paddingTop),c=n?0:Kr(r.paddingRight),f=n?0:Kr(r.paddingBottom),d=n?0:Kr(r.paddingLeft),m=n?0:Kr(r.borderTopWidth),g=n?0:Kr(r.borderRightWidth),v=n?0:Kr(r.borderBottomWidth),h=n?0:Kr(r.borderLeftWidth),y=d+c,b=l+f,x=h+g,w=m+v,S=u?e.offsetHeight-w-e.clientHeight:0,E=s?e.offsetWidth-x-e.clientWidth:0,D=o?y+x:0,T=o?b+w:0,O=n?n.width:Kr(r.width)-D-E,F=n?n.height:Kr(r.height)-T-S,I=O+y+E+x,G=F+b+S+w,k=Er({devicePixelContentBoxSize:Wa(Math.round(O*devicePixelRatio),Math.round(F*devicePixelRatio),i),borderBoxSize:Wa(I,G,i),contentBoxSize:Wa(O,F,i),contentRect:new qh(d,l,O,F)});return Mp.set(e,k),k},Ip=function(e,t,r){var n=Yh(e,r),o=n.borderBoxSize,i=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case li.DEVICE_PIXEL_CONTENT_BOX:return s;case li.BORDER_BOX:return o;default:return i}};var Jh=function(){function e(t){var r=Yh(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Er([r.borderBoxSize]),this.contentBoxSize=Er([r.contentBoxSize]),this.devicePixelContentBoxSize=Er([r.devicePixelContentBoxSize])}return e}();a();var kp=function(e){if(Bp(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var ND=function(){var e=1/0,t=[];yr.forEach(function(s){if(s.activeTargets.length!==0){var u=[];s.activeTargets.forEach(function(c){var f=new Jh(c.target),d=kp(c.target);u.push(f),c.lastReportedSize=Ip(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};a();var Zh=function(e){yr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(kp(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var VD=function(){var e=0;for(Zh(e);FD();)e=ND(),Zh(e);return $D()&&BD(),e>0};a();a();var Qh,LD=[],jY=function(){return LD.splice(0).forEach(function(e){return e()})},zD=function(e){if(!Qh){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return jY()}).observe(r,n),Qh=function(){r.textContent="".concat(t?t--:t++)}}LD.push(e),Qh()};var HD=function(e){zD(function(){requestAnimationFrame(e)})};var Np=0,_Y=function(){return!!Np},WY=250,UY={attributes:!0,characterData:!0,childList:!0,subtree:!0},GD=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],jD=function(e){return e===void 0&&(e=0),Date.now()+e},e2=!1,KY=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=WY),!e2){e2=!0;var n=jD(t);HD(function(){var o=!1;try{o=VD()}finally{if(e2=!1,t=n-jD(),!_Y())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,UY)};document.body?r():ci.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),GD.forEach(function(r){return ci.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),GD.forEach(function(r){return ci.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Vp=new KY,t2=function(e){!Np&&e>0&&Vp.start(),Np+=e,!Np&&Vp.stop()};a();var qY=function(e){return!Eu(e)&&!MD(e)&&getComputedStyle(e).display==="inline"},_D=function(){function e(t,r){this.target=t,this.observedBox=r||li.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Ip(this.target,this.observedBox,!0);return qY(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();a();var WD=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var Lp=new WeakMap,UD=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},Tu=function(){function e(){}return e.connect=function(t,r){var n=new WD(t,r);Lp.set(t,n)},e.observe=function(t,r,n){var o=Lp.get(t),i=o.observationTargets.length===0;UD(o.observationTargets,r)<0&&(i&&yr.push(o),o.observationTargets.push(new _D(r,n&&n.box)),t2(1),Vp.schedule())},e.unobserve=function(t,r){var n=Lp.get(t),o=UD(n.observationTargets,r),i=n.observationTargets.length===1;o>=0&&(i&&yr.splice(yr.indexOf(n),1),n.observationTargets.splice(o,1),t2(-1))},e.disconnect=function(t){var r=this,n=Lp.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}();var r2=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.");Tu.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(!Xh(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Tu.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(!Xh(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Tu.unobserve(this,t)},e.prototype.disconnect=function(){Tu.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var jp=dr(JD());import oJ from"react-dom";function qp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iJ(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function qa(e,t){if(e==null)return{};var r=iJ(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var m2=hi(null),bo=()=>{var e=Ya(m2);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},dE=parseInt(me.version.split(".")[0],10),aJ=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,ZD=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),qt=typeof navigator<"u"&&/Android/.test(navigator.userAgent),Ou=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Au=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),mE=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),uJ=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),lJ=qt&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),cJ=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),fJ=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),pJ=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),_p=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ho=(!uJ||!lJ)&&!sJ&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",h2=new WeakMap,g2=new WeakMap,hE=new WeakMap,Wp=new WeakMap,a2=new WeakMap,$u=new WeakMap,di=new WeakMap,Up=new WeakMap,Xp=new WeakMap,s2=new WeakMap,fi=new WeakMap,pi=new WeakMap,Fu=new WeakMap,u2=new WeakMap,v2=new WeakMap,Tr=new WeakMap,Fn=new WeakMap,Kt=new WeakMap,go=new WeakMap,vo=new WeakMap,gE=new WeakMap,Xa=Symbol("placeholder"),vE=Symbol("mark-placeholder"),dJ=globalThis.Text,y2=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,mJ=e=>yo(e)&&e.nodeType===8,br=e=>yo(e)&&e.nodeType===1,yo=e=>{var t=y2(e);return!!t&&e instanceof t.Node},l2=e=>{var t=e&&e.anchorNode&&y2(e.anchorNode);return!!t&&e instanceof t.Selection},yE=e=>yo(e)&&e.nodeType===3,hJ=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,gJ=e=>{var[t,r]=e;if(br(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=bE(t,o,n?"backward":"forward"),n=o<r;br(t)&&t.childNodes.length;){var i=n?t.childNodes.length-1:0;t=yJ(t,i,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},vJ=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},bE=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],i=t,s=!1,u=!1;(mJ(o)||br(o)&&o.childNodes.length===0||br(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&u);){if(i>=n.length){s=!0,i=t-1,r="backward";continue}if(i<0){u=!0,i=t+1,r="forward";continue}o=n[i],t=i,i+=r==="forward"?1:-1}return[o,t]},yJ=(e,t,r)=>{var[n]=bE(e,t,r);return n},CE=e=>{var t="";if(yE(e)&&e.nodeValue)return e.nodeValue;if(br(e)){for(var r of Array.from(e.childNodes))t+=CE(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
|
|
1829
|
-
`)}return t},bJ=/data-slate-fragment="(.+?)"/m,CJ=e=>{var t=e.getData("text/html"),[,r]=t.match(bJ)||[];return r},b2=(e,t,r)=>{var{target:n}=t;if(br(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=L.getWindow(e);if(o.contains(n))return L.hasDOMNode(e,n,{editable:!0});var i=r.find(s=>{var{addedNodes:u,removedNodes:l}=s;for(var c of u)if(c===n||c.contains(n))return!0;for(var f of l)if(f===n||f.contains(n))return!0});return!i||i===t?!1:b2(e,i,r)},xJ=0,c2=class{constructor(){this.id="".concat(xJ++)}},L={androidPendingDiffs:e=>Kt.get(e),androidScheduleFlush:e=>{var t;(t=v2.get(e))===null||t===void 0||t()},blur:e=>{var t=L.toDOMNode(e,e),r=L.findDocumentOrShadowRoot(e);fi.set(e,!1),r.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,r=L.findDocumentOrShadowRoot(e),n=r.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&V.deselect(e)},findDocumentOrShadowRoot:e=>{var t=L.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 i=L.toSlateNode(e,t.target),s=L.findPath(e,i);if(K.isElement(i)&&C.isVoid(e,i)){var u=o.getBoundingClientRect(),l=e.isInline(i)?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"}),f=l?C.before(e,c):C.after(e,c);if(f){var d=C.range(e,f);return d}}var m,{document:g}=L.getWindow(e);if(g.caretRangeFromPoint)m=g.caretRangeFromPoint(r,n);else{var v=g.caretPositionFromPoint(r,n);v&&(m=g.createRange(),m.setStart(v.offsetNode,v.offset),m.setEnd(v.offsetNode,v.offset))}if(!m)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var h=L.toSlateRange(e,m,{exactMatch:!1,suppressThrow:!1});return h},findKey:(e,t)=>{var r=Up.get(t);return r||(r=new c2,Up.set(t,r)),r},findPath:(e,t)=>{for(var r=[],n=t;;){var o=g2.get(n);if(o==null){if(C.isEditor(n))return r;break}var i=h2.get(n);if(i==null)break;r.unshift(i),n=o}throw new Error("Unable to find the path for Slate node: ".concat(ot.stringify(t)))},focus:e=>{var t=L.toDOMNode(e,e),r=L.findDocumentOrShadowRoot(e);if(fi.set(e,!0),r.activeElement!==t){if(e.selection&&r instanceof Document){var n=r.getSelection(),o=L.toDOMRange(e,e.selection);n?.removeAllRanges(),n?.addRange(o)}t.focus({preventScroll:!0})}},getWindow:e=>{var t=hE.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,i=L.toDOMNode(t,t),s;try{s=br(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]")===i&&(!o||s.isContentEditable?!0:typeof s.isContentEditable=="boolean"&&s.closest('[contenteditable="false"]')===i||!!s.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(e,t)=>yo(t)&&L.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)=>L.hasEditableTarget(e,t)||L.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>yo(t)&&L.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!pi.get(e),isFocused:e=>!!fi.get(e),isReadOnly:e=>!!s2.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(s2.get(e))return!1;var r=L.hasTarget(e,t)&&L.toSlateNode(e,t);return K.isElement(r)&&C.isVoid(e,r)},setFragmentData:(e,t,r)=>e.setFragmentData(t,r),toDOMNode:(e,t)=>{var r=Xp.get(e),n=C.isEditor(t)?Wp.get(e):r?.get(L.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(ot.stringify(t)));return n},toDOMPoint:(e,t)=>{var[r]=C.node(e,t.path),n=L.toDOMNode(e,r),o;C.void(e,{at:t})&&(t={path:t.path,offset:0});for(var i="[data-slate-string], [data-slate-zero-width]",s=Array.from(n.querySelectorAll(i)),u=0,l=0;l<s.length;l++){var c=s[l],f=c.childNodes[0];if(!(f==null||f.textContent==null)){var{length:d}=f.textContent,m=c.getAttribute("data-slate-length"),g=m==null?d:parseInt(m,10),v=u+g,h=s[l+1];if(t.offset===v&&h!==null&&h!==void 0&&h.hasAttribute("data-slate-mark-placeholder")){var y,b=h.childNodes[0];o=[b instanceof dJ?b:h,(y=h.textContent)!==null&&y!==void 0&&y.startsWith("\uFEFF")?1:0];break}if(t.offset<=v){var x=Math.min(d,Math.max(0,t.offset-u));o=[f,x];break}u=v}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(ot.stringify(t)));return o},toDOMRange:(e,t)=>{var{anchor:r,focus:n}=t,o=B.isBackward(t),i=L.toDOMPoint(e,r),s=B.isCollapsed(t)?i:L.toDOMPoint(e,n),u=L.getWindow(e),l=u.document.createRange(),[c,f]=o?s:i,[d,m]=o?i:s,g=br(c)?c:c.parentElement,v=!!g.getAttribute("data-slate-zero-width"),h=br(d)?d:d.parentElement,y=!!h.getAttribute("data-slate-zero-width");return l.setStart(c,v?1:f),l.setEnd(d,y?1:m),l},toSlateNode:(e,t)=>{var r=br(t)?t:t.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r
|
|
1828
|
+
`,bh=(e,t,r)=>{let n=({groupLabel:o,groupOptions:i,disabled:s=!1})=>yh("optgroup",{"data-testid":o,disabled:s,label:o,children:bh(i)},o);return e.map(o=>{if(Object.prototype.hasOwnProperty.call(o,"groupLabel"))return n(o);let{label:i,value:s,disabled:u=!1}=o,l=be(r)?o[r]:s,c=be(t)?o[t]:i;return ll(l)&&(l=rr(l)),yh("option",{disabled:u,value:l,children:c},`${rr(c)}--${rr(l)}`)})},dK=(e,t,r)=>$(e)&&!r?bh([{label:e,value:"",disabled:t}]):null,mK=e=>e?null:yh(Ee,{size:"md",type:"caret-down"}),ai=lK(({ariaLabel:e,disabled:t=!1,forceState:r,fullWidth:n=!0,hasError:o=!1,labelName:i="label",multiple:s=!1,options:u,placeholder:l="Please select...",preventPlaceholderSelection:c=!1,required:f=!1,valueName:d="value",...m},g)=>Yw(pK,{disabled:t,forceState:r,fullWidth:n,children:[Yw(gh,{ref:g,"aria-invalid":o?"true":"false","aria-label":e,disabled:t,forceState:r,hasError:o,multiple:s,required:f,...m,children:[dK(l,c,s),bh(u,i,d)]}),mK(s)]}));ai.displayName="Select_VHS";import{jsx as Jw}from"react/jsx-runtime";var xp=({disabled:e=!1,field:{name:t,value:r,onChange:n,onBlur:o},form:{errors:i},label:s,labelDescription:u,labelProps:l={},options:c,placeholder:f,onChangeCustom:d,...m})=>{let g=v=>de(v)?"":ll(v)?rr(r):v;return Jw(Ut,{disabled:e,error:i[t],label:s,labelDescription:u,labelProps:l,name:t,children:Jw(ai,{"data-testid":`select-${t}`,disabled:e,name:t,onBlur:o,onChange:v=>{n(v),d&&d(v.target.value)},options:c,placeholder:f,value:g(r),...m})})};xp.displayName="FormConnectorSelect_VHS";a();a();import{useEffect as hK}from"react";import{jsx as gK}from"react/jsx-runtime";var wp=({field:{name:e,value:t,onChange:r},form:{setFieldValue:n}={},onChangeCustom:o,valueState:i="",...s})=>(hK(()=>{!i&&de(t)||i!==t&&J(n)&&n(e,i)},[n,e,i,t]),gK(Ha,{"data-testid":`input-${e}`,name:e,onChange:u=>{r(u),J(o)&&o(u.target.value)},type:"hidden",value:de(t)?"":t,...s}));wp.displayName="FormConnectorHidden_VHS";a();a();import{useState as IQ,useEffect as kQ}from"react";import NQ from"styled-components";a();a();import{useCallback as N2,useMemo as AQ,useEffect as OQ}from"react";import IT from"styled-components";a();var d2=dr(tS()),fE=dr(Sh()),pE=dr(MS());import me,{createContext as hi,useContext as Ya,useRef as cr,useEffect as Rn,useLayoutEffect as QY,useState as mi,memo as eJ,forwardRef as tJ,useCallback as ke,Component as rJ,useReducer as nJ,useMemo as Gp}from"react";a();a();function IS(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function kS(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function Dh(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return kS(r.overflowY,t)||kS(r.overflowX,t)||function(n){var o=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!o&&(o.clientHeight<n.scrollHeight||o.clientWidth<n.scrollWidth)}(e)}return!1}function Dp(e,t,r,n,o,i,s,u){return i<e&&s>t||i>e&&s<t?0:i<=e&&u<=r||s>=t&&u>=r?i-e-n:s>t&&u<r||i<e&&u>r?s-t+o:0}var Eh=function(e,t){var r=window,n=t.scrollMode,o=t.block,i=t.inline,s=t.boundary,u=t.skipOverflowHiddenElements,l=typeof s=="function"?s:function(Ce){return Ce!==s};if(!IS(e))throw new TypeError("Invalid target");for(var c,f,d=document.scrollingElement||document.documentElement,m=[],g=e;IS(g)&&l(g);){if((g=(f=(c=g).parentElement)==null?c.getRootNode().host||null:f)===d){m.push(g);break}g!=null&&g===document.body&&Dh(g)&&!Dh(document.documentElement)||g!=null&&Dh(g,u)&&m.push(g)}for(var v=r.visualViewport?r.visualViewport.width:innerWidth,h=r.visualViewport?r.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,x=e.getBoundingClientRect(),w=x.height,S=x.width,E=x.top,D=x.right,T=x.bottom,O=x.left,F=o==="start"||o==="nearest"?E:o==="end"?T:E+w/2,I=i==="center"?O+S/2:i==="end"?D:O,G=[],k=0;k<m.length;k++){var H=m[k],N=H.getBoundingClientRect(),M=N.height,Q=N.width,re=N.top,se=N.right,j=N.bottom,ne=N.left;if(n==="if-needed"&&E>=0&&O>=0&&T<=h&&D<=v&&E>=re&&T<=j&&O>=ne&&D<=se)return G;var ce=getComputedStyle(H),pe=parseInt(ce.borderLeftWidth,10),Be=parseInt(ce.borderTopWidth,10),A=parseInt(ce.borderRightWidth,10),_=parseInt(ce.borderBottomWidth,10),z=0,U=0,ue="offsetWidth"in H?H.offsetWidth-H.clientWidth-pe-A:0,ee="offsetHeight"in H?H.offsetHeight-H.clientHeight-Be-_:0,he="offsetWidth"in H?H.offsetWidth===0?0:Q/H.offsetWidth:0,we="offsetHeight"in H?H.offsetHeight===0?0:M/H.offsetHeight:0;if(d===H)z=o==="start"?F:o==="end"?F-h:o==="nearest"?Dp(b,b+h,h,Be,_,b+F,b+F+w,w):F-h/2,U=i==="start"?I:i==="center"?I-v/2:i==="end"?I-v:Dp(y,y+v,v,pe,A,y+I,y+I+S,S),z=Math.max(0,z+b),U=Math.max(0,U+y);else{z=o==="start"?F-re-Be:o==="end"?F-j+_+ee:o==="nearest"?Dp(re,j,M,Be,_+ee,F,F+w,w):F-(re+M/2)+ee/2,U=i==="start"?I-ne-pe:i==="center"?I-(ne+Q/2)+ue/2:i==="end"?I-se+A+ue:Dp(ne,se,Q,pe,A+ue,I,I+S,S);var De=H.scrollLeft,Ae=H.scrollTop;F+=Ae-(z=Math.max(0,Math.min(Ae+z/we,H.scrollHeight-M/we+ee))),I+=De-(U=Math.max(0,Math.min(De+U/he,H.scrollWidth-Q/he+ue)))}G.push({el:H,top:z,left:U})}return G};function NS(e){return e===Object(e)&&Object.keys(e).length!==0}function pq(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var o=n.el,i=n.top,s=n.left;o.scroll&&r?o.scroll({top:i,left:s,behavior:t}):(o.scrollTop=i,o.scrollLeft=s)})}function dq(e){return e===!1?{block:"end",inline:"nearest"}:NS(e)?e:{block:"start",inline:"nearest"}}function mq(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(NS(t)&&typeof t.behavior=="function")return t.behavior(r?Eh(e,t):[]);if(r){var n=dq(t);return pq(Eh(e,n),n.behavior)}}var VS=mq;a();a();function LS(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xe(e){var t,r;return LS(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(LS(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}a();function Dr(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,i;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 mo(e){return!!e&&!!e[ur]}function ui(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)===wq}(e)||Array.isArray(e)||!!e[KS]||!!(!((t=e.constructor)===null||t===void 0)&&t[KS])||Ih(e)||kh(e))}function xu(e,t,r){r===void 0&&(r=!1),Ga(e)===0?(r?Object.keys:Hh)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function Ga(e){var t=e[ur];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ih(e)?2:kh(e)?3:0}function Fh(e,t){return Ga(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function hq(e,t){return Ga(e)===2?e.get(t):e[t]}function qS(e,t,r){var n=Ga(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function gq(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ih(e){return Cq&&e instanceof Map}function kh(e){return xq&&e instanceof Set}function si(e){return e.o||e.t}function Nh(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Sq(e);delete t[ur];for(var r=Hh(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Vh(e,t){return t===void 0&&(t=!1),Lh(e)||mo(e)||!ui(e)||(Ga(e)>1&&(e.set=e.add=e.clear=e.delete=vq),Object.freeze(e),t&&xu(e,function(r,n){return Vh(n,!0)},!0)),e}function vq(){Dr(2)}function Lh(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ur(e){var t=Dq[e];return t||Dr(18,e),t}function zS(){return wu}function Th(e,t){t&&(Ur("Patches"),e.u=[],e.s=[],e.v=t)}function Ep(e){Rh(e),e.p.forEach(yq),e.p=null}function Rh(e){e===wu&&(wu=e.l)}function HS(e){return wu={p:[],l:wu,h:e,m:!0,_:0}}function yq(e){var t=e[ur];t.i===0||t.i===1?t.j():t.g=!0}function Ph(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Ur("ES5").S(t,e,n),n?(r[ur].P&&(Ep(t),Dr(4)),ui(e)&&(e=Tp(t,e),t.l||Pp(t,e)),t.u&&Ur("Patches").M(r[ur].t,e,t.u,t.s)):e=Tp(t,r,[]),Ep(t),t.u&&t.v(t.u,t.s),e!==XS?e:void 0}function Tp(e,t,r){if(Lh(t))return t;var n=t[ur];if(!n)return xu(t,function(u,l){return GS(e,n,t,u,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Pp(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=Nh(n.k):n.o,i=o,s=!1;n.i===3&&(i=new Set(o),o.clear(),s=!0),xu(i,function(u,l){return GS(e,n,o,u,l,r,s)}),Pp(e,o,!1),r&&e.u&&Ur("Patches").N(n,r,e.u,e.s)}return n.o}function GS(e,t,r,n,o,i,s){if(mo(o)){var u=Tp(e,o,i&&t&&t.i!==3&&!Fh(t.R,n)?i.concat(n):void 0);if(qS(r,n,u),!mo(u))return;e.m=!1}else s&&r.add(o);if(ui(o)&&!Lh(o)){if(!e.h.D&&e._<1)return;Tp(e,o),t&&t.A.l||Pp(e,o)}}function Pp(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Vh(t,r)}function Ah(e,t){var r=e[ur];return(r?si(r):e)[t]}function jS(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 $h(e){e.P||(e.P=!0,e.l&&$h(e.l))}function Oh(e){e.o||(e.o=Nh(e.t))}function Bh(e,t,r){var n=Ih(t)?Ur("MapSet").F(t,r):kh(t)?Ur("MapSet").T(t,r):e.O?function(o,i){var s=Array.isArray(o),u={i:s?1:0,A:i?i.A:zS(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=u,c=Mh;s&&(l=[u],c=Cu);var f=Proxy.revocable(l,c),d=f.revoke,m=f.proxy;return u.k=m,u.j=d,m}(t,r):Ur("ES5").J(t,r);return(r?r.A:zS()).p.push(n),n}function bq(e){return mo(e)||Dr(22,e),function t(r){if(!ui(r))return r;var n,o=r[ur],i=Ga(r);if(o){if(!o.P&&(o.i<4||!Ur("ES5").K(o)))return o.t;o.I=!0,n=_S(r,i),o.I=!1}else n=_S(r,i);return xu(n,function(s,u){o&&hq(o.t,s)===u||qS(n,s,t(u))}),i===3?new Set(n):n}(e)}function _S(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Nh(e)}var WS,wu,zh=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Cq=typeof Map<"u",xq=typeof Set<"u",US=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",XS=zh?Symbol.for("immer-nothing"):((WS={})["immer-nothing"]=!0,WS),KS=zh?Symbol.for("immer-draftable"):"__$immer_draftable",ur=zh?Symbol.for("immer-state"):"__$immer_state";var wq=""+Object.prototype.constructor,Hh=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Sq=Object.getOwnPropertyDescriptors||function(e){var t={};return Hh(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Dq={},Mh={get:function(e,t){if(t===ur)return e;var r=si(e);if(!Fh(r,t))return function(o,i,s){var u,l=jS(i,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||!ui(n)?n:n===Ah(e.t,t)?(Oh(e),e.o[t]=Bh(e.A.h,n,e)):n},has:function(e,t){return t in si(e)},ownKeys:function(e){return Reflect.ownKeys(si(e))},set:function(e,t,r){var n=jS(si(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Ah(si(e),t),i=o?.[ur];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(gq(r,o)&&(r!==void 0||Fh(e.t,t)))return!0;Oh(e),$h(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 Ah(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Oh(e),$h(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=si(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Dr(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Dr(12)}},Cu={};xu(Mh,function(e,t){Cu[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Cu.deleteProperty=function(e,t){return Cu.set.call(this,e,t,void 0)},Cu.set=function(e,t,r){return Mh.set.call(this,e[0],t,r,e[0])};var Eq=function(){function e(r){var n=this;this.O=US,this.D=!0,this.produce=function(o,i,s){if(typeof o=="function"&&typeof i!="function"){var u=i;i=o;var l=n;return function(h){var y=this;h===void 0&&(h=u);for(var b=arguments.length,x=Array(b>1?b-1:0),w=1;w<b;w++)x[w-1]=arguments[w];return l.produce(h,function(S){var E;return(E=i).call.apply(E,[y,S].concat(x))})}}var c;if(typeof i!="function"&&Dr(6),s!==void 0&&typeof s!="function"&&Dr(7),ui(o)){var f=HS(n),d=Bh(n,o,void 0),m=!0;try{c=i(d),m=!1}finally{m?Ep(f):Rh(f)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return Th(f,s),Ph(h,f)},function(h){throw Ep(f),h}):(Th(f,s),Ph(c,f))}if(!o||typeof o!="object"){if((c=i(o))===void 0&&(c=o),c===XS&&(c=void 0),n.D&&Vh(c,!0),s){var g=[],v=[];Ur("Patches").M(o,c,g,v),s(g,v)}return c}Dr(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(c){for(var f=arguments.length,d=Array(f>1?f-1:0),m=1;m<f;m++)d[m-1]=arguments[m];return n.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(d))})};var s,u,l=n.produce(o,i,function(c,f){s=c,u=f});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){ui(r)||Dr(8),mo(r)&&(r=bq(r));var n=HS(this),o=Bh(this,r,void 0);return o[ur].C=!0,Rh(n),o},t.finishDraft=function(r,n){var o=r&&r[ur],i=o.A;return Th(i,n),Ph(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!US&&Dr(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var s=Ur("Patches").$;return mo(r)?s(r,n):this.produce(r,function(u){return s(u,n)})},e}(),lr=new Eq,Ap=lr.produce,HYe=lr.produceWithPatches.bind(lr),GYe=lr.setAutoFreeze.bind(lr),jYe=lr.setUseProxies.bind(lr),_Ye=lr.applyPatches.bind(lr),Gh=lr.createDraft.bind(lr),jh=lr.finishDraft.bind(lr);var Tq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=P.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Pq={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()}}},Aq={transform(e,t){var{current:r,affinity:n}=e;if(r!=null){var o=B.transform(r,t,{affinity:n});e.current=o,o==null&&e.unref()}}},Fp=new WeakMap,Rp=new WeakMap,Du=new WeakMap,PD=new WeakMap,YS=new WeakMap,JS=new WeakMap,ZS=new WeakMap,P={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,n=P.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],i=t[n];if(o!==i)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),i=e[r],s=t[r];return P.equals(n,o)&&i>s},endsAt(e,t){var r=e.length,n=e.slice(0,r),o=t.slice(0,r);return P.equals(n,o)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),o=t.slice(0,r),i=e[r],s=t[r];return P.equals(n,o)&&i<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 P.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&P.compare(e,t)===0},isBefore(e,t){return P.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&P.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&P.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&P.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&P.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],i=t[t.length-1];return o!==i&&P.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(!P.isAncestor(t,e)&&!P.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:i}=t;(P.equals(i,n)||P.endsBefore(i,n)||P.isAncestor(i,n))&&(n[i.length-1]+=1);break}case"remove_node":{var{path:s}=t;if(P.equals(s,n)||P.isAncestor(s,n))return null;P.endsBefore(s,n)&&(n[s.length-1]-=1);break}case"merge_node":{var{path:u,position:l}=t;P.equals(u,n)||P.endsBefore(u,n)?n[u.length-1]-=1:P.isAncestor(u,n)&&(n[u.length-1]-=1,n[u.length]+=l);break}case"split_node":{var{path:c,position:f}=t;if(P.equals(c,n)){if(o==="forward")n[n.length-1]+=1;else if(o!=="backward")return null}else P.endsBefore(c,n)?n[c.length-1]+=1:P.isAncestor(c,n)&&e[c.length]>=f&&(n[c.length-1]+=1,n[c.length]-=f);break}case"move_node":{var{path:d,newPath:m}=t;if(P.equals(d,m))return n;if(P.isAncestor(d,n)||P.equals(d,n)){var g=m.slice();return P.endsBefore(d,m)&&d.length<m.length&&(g[d.length-1]-=1),g.concat(n.slice(d.length))}else P.isSibling(d,m)&&(P.isAncestor(m,n)||P.equals(m,n))?P.endsBefore(d,n)?n[d.length-1]-=1:n[d.length-1]+=1:P.endsBefore(m,n)||P.equals(m,n)||P.isAncestor(m,n)?(P.endsBefore(d,n)&&(n[d.length-1]-=1),n[m.length-1]+=1):P.endsBefore(d,n)&&(P.equals(m,n)&&(n[m.length-1]+=1),n[d.length-1]-=1);break}}return n}};function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QS(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 Su(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?QS(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):QS(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Oq=(e,t,r)=>{switch(r.type){case"insert_node":{var{path:n,node:o}=r,i=W.parent(e,n),s=n[n.length-1];if(s>i.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(i.children.splice(s,0,o),t)for(var[u,l]of B.points(t))t[l]=ve.transform(u,r);break}case"insert_text":{var{path:c,offset:f,text:d}=r;if(d.length===0)break;var m=W.leaf(e,c),g=m.text.slice(0,f),v=m.text.slice(f);if(m.text=g+d+v,t)for(var[h,y]of B.points(t))t[y]=ve.transform(h,r);break}case"merge_node":{var{path:b}=r,x=W.get(e,b),w=P.previous(b),S=W.get(e,w),E=W.parent(e,b),D=b[b.length-1];if(Y.isText(x)&&Y.isText(S))S.text+=x.text;else if(!Y.isText(x)&&!Y.isText(S))S.children.push(...x.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(b,"] to nodes of different interfaces: ").concat(ot.stringify(x)," ").concat(ot.stringify(S)));if(E.children.splice(D,1),t)for(var[T,O]of B.points(t))t[O]=ve.transform(T,r);break}case"move_node":{var{path:F,newPath:I}=r;if(P.isAncestor(F,I))throw new Error("Cannot move a path [".concat(F,"] to new path [").concat(I,"] because the destination is inside itself."));var G=W.get(e,F),k=W.parent(e,F),H=F[F.length-1];k.children.splice(H,1);var N=P.transform(F,r),M=W.get(e,P.parent(N)),Q=N[N.length-1];if(M.children.splice(Q,0,G),t)for(var[re,se]of B.points(t))t[se]=ve.transform(re,r);break}case"remove_node":{var{path:j}=r,ne=j[j.length-1],ce=W.parent(e,j);if(ce.children.splice(ne,1),t)for(var[pe,Be]of B.points(t)){var A=ve.transform(pe,r);if(t!=null&&A!=null)t[Be]=A;else{var _=void 0,z=void 0;for(var[U,ue]of W.texts(e))if(P.compare(ue,j)===-1)_=[U,ue];else{z=[U,ue];break}var ee=!1;_&&z&&(P.equals(z[1],j)?ee=!P.hasPrevious(z[1]):ee=P.common(_[1],j).length<P.common(z[1],j).length),_&&!ee?(pe.path=_[1],pe.offset=_[0].text.length):z?(pe.path=z[1],pe.offset=0):t=null}}break}case"remove_text":{var{path:he,offset:we,text:De}=r;if(De.length===0)break;var Ae=W.leaf(e,he),Ce=Ae.text.slice(0,we),je=Ae.text.slice(we+De.length);if(Ae.text=Ce+je,t)for(var[Ye,Ne]of B.points(t))t[Ne]=ve.transform(Ye,r);break}case"set_node":{var{path:Tt,properties:Ct,newProperties:st}=r;if(Tt.length===0)throw new Error("Cannot set properties on the root node!");var ut=W.get(e,Tt);for(var R in st){if(R==="children"||R==="text")throw new Error('Cannot set the "'.concat(R,'" property of nodes!'));var X=st[R];X==null?delete ut[R]:ut[R]=X}for(var te in Ct)st.hasOwnProperty(te)||delete ut[te];break}case"set_selection":{var{newProperties:q}=r;if(q==null)t=q;else{if(t==null){if(!B.isRange(q))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(ot.stringify(q)," when there is no current selection."));t=Su({},q)}for(var ae in q){var Se=q[ae];if(Se==null){if(ae==="anchor"||ae==="focus")throw new Error('Cannot remove the "'.concat(ae,'" selection property'));delete t[ae]}else t[ae]=Se}}break}case"split_node":{var{path:Te,position:ht,properties:Vn}=r;if(Te.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Te,"] because the root node cannot be split."));var Cr=W.get(e,Te),u1=W.parent(e,Te),u3=Te[Te.length-1],Bi;if(Y.isText(Cr)){var l1=Cr.text.slice(0,ht),NF=Cr.text.slice(ht);Cr.text=l1,Bi=Su(Su({},Vn),{},{text:NF})}else{var VF=Cr.children.slice(0,ht),LF=Cr.children.slice(ht);Cr.children=VF,Bi=Su(Su({},Vn),{},{children:LF})}if(u1.children.splice(u3+1,0,Bi),t)for(var[zF,HF]of B.points(t))t[HF]=ve.transform(zF,r);break}}return t},Fq={transform(e,t){e.children=Gh(e.children);var r=e.selection&&Gh(e.selection);try{r=Oq(e,r,t)}finally{e.children=jh(e.children),r?e.selection=mo(r)?jh(r):r:e.selection=null}}},Rq={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)}},$q={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)}},AD=(e,t)=>{for(var r in e){var n=e[r],o=t[r];if(Xe(n)&&Xe(o)){if(!AD(n,o))return!1}else if(Array.isArray(n)&&Array.isArray(o)){if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(n[i]!==o[i])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 Bq(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function On(e,t){if(e==null)return{};var r=Bq(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Mq=["anchor","focus"];function eD(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 Iq(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?eD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var B={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:o}=e;return B.isBackward(e)===r?[n,o]:[o,n]},end(e){var[,t]=B.edges(e);return t},equals(e,t){return ve.equals(e.anchor,t.anchor)&&ve.equals(e.focus,t.focus)},includes(e,t){if(B.isRange(t)){if(B.includes(e,t.anchor)||B.includes(e,t.focus))return!0;var[r,n]=B.edges(e),[o,i]=B.edges(t);return ve.isBefore(r,o)&&ve.isAfter(n,i)}var[s,u]=B.edges(e),l=!1,c=!1;return ve.isPoint(t)?(l=ve.compare(t,s)>=0,c=ve.compare(t,u)<=0):(l=P.compare(t,s.path)>=0,c=P.compare(t,u.path)<=0),l&&c},intersection(e,t){var r=On(e,Mq),[n,o]=B.edges(e),[i,s]=B.edges(t),u=ve.isBefore(n,i)?i:n,l=ve.isBefore(o,s)?o:s;return ve.isBefore(l,u)?null:Iq({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!B.isCollapsed(e)},isForward(e){return!B.isBackward(e)},isRange(e){return Xe(e)&&ve.isPoint(e.anchor)&&ve.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=B.edges(e);return t},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ap(e,n=>{if(n===null)return null;var{affinity:o="inward"}=r,i,s;if(o==="inward"){var u=B.isCollapsed(n);B.isForward(n)?(i="forward",s=u?i:"backward"):(i="backward",s=u?i:"forward")}else o==="outward"?B.isForward(n)?(i="backward",s="forward"):(i="forward",s="backward"):(i=o,s=o);var l=ve.transform(n.anchor,t,{affinity:i}),c=ve.transform(n.focus,t,{affinity:s});if(!l||!c)return null;n.anchor=l,n.focus=c})}},tD=e=>Xe(e)&&W.isNodeList(e.children)&&!C.isEditor(e),K={isAncestor(e){return Xe(e)&&W.isNodeList(e.children)},isElement:tD,isElementList(e){return Array.isArray(e)&&e.every(t=>K.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 tD(t)&&t[n]===r},matches(e,t){for(var r in t)if(r!=="children"&&e[r]!==t[r])return!1;return!0}},kq=["children"],Nq=["text"],rD=new WeakMap,W={ancestor(e,t){var r=W.get(e,t);if(Y.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(ot.stringify(r)));return r},*ancestors(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of P.ancestors(t,r)){var o=W.ancestor(e,n),i=[o,n];yield i}},child(e,t){if(Y.isText(e))throw new Error("Cannot get the child of a text node: ".concat(ot.stringify(e)));var r=e.children[t];if(r==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(ot.stringify(e)));return r},*children(e,t){for(var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:n=!1}=r,o=W.ancestor(e,t),{children:i}=o,s=n?i.length-1:0;n?s>=0:s<i.length;){var u=W.child(o,s),l=t.concat(s);yield[u,l],s=n?s-1:s+1}},common(e,t,r){var n=P.common(t,r),o=W.get(e,n);return[o,n]},descendant(e,t){var r=W.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(ot.stringify(r)));return r},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of W.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 W.nodes(e,t))K.isElement(r)&&(yield[r,n])},extractProps(e){if(K.isAncestor(e)){var t=On(e,kq);return t}else{var t=On(e,Nq);return t}},first(e,t){for(var r=t.slice(),n=W.get(e,r);n&&!(Y.isText(n)||n.children.length===0);)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){if(Y.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(ot.stringify(e)));var r=Ap({children:e.children},n=>{var[o,i]=B.edges(t),s=W.nodes(n,{reverse:!0,pass:m=>{var[,g]=m;return!B.includes(t,g)}});for(var[,u]of s){if(!B.includes(t,u)){var l=W.parent(n,u),c=u[u.length-1];l.children.splice(c,1)}if(P.equals(u,i.path)){var f=W.leaf(n,u);f.text=f.text.slice(0,i.offset)}if(P.equals(u,o.path)){var d=W.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(Y.isText(r)||!r.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(ot.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(Y.isText(r)||!r.children[o])return!1;r=r.children[o]}return!0},isNode(e){return Y.isText(e)||K.isElement(e)||C.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=rD.get(e);if(t!==void 0)return t;var r=e.every(n=>W.isNode(n));return rD.set(e,r),r},last(e,t){for(var r=t.slice(),n=W.get(e,r);n&&!(Y.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=W.get(e,t);if(!Y.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ot.stringify(r)));return r},*levels(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var n of P.levels(t,r)){var o=W.get(e,n);yield[o,n]}},matches(e,t){return K.isElement(e)&&K.isElementProps(t)&&K.matches(e,t)||Y.isText(e)&&Y.isTextProps(t)&&Y.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:i}=t,s=new Set,u=[],l=e;!(i&&(n?P.isBefore(u,i):P.isAfter(u,i)));){if(s.has(l)||(yield[l,u]),!s.has(l)&&!Y.isText(l)&&l.children.length!==0&&(r==null||r([l,u])===!1)){s.add(l);var c=n?l.children.length-1:0;P.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),l=W.get(e,u);continue}if(u.length===0)break;if(!n){var f=P.next(u);if(W.has(e,f)){u=f,l=W.get(e,u);continue}}if(n&&u[u.length-1]!==0){var d=P.previous(u);u=d,l=W.get(e,u);continue}u=P.parent(u),l=W.get(e,u),s.add(l)}},parent(e,t){var r=P.parent(t),n=W.get(e,r);if(Y.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 Y.isText(e)?e.text:e.children.map(W.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[r,n]of W.nodes(e,t))Y.isText(r)&&(yield[r,n])}};function nD(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 He(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var An={isNodeOperation(e){return An.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!Xe(e))return!1;switch(e.type){case"insert_node":return P.isPath(e.path)&&W.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&P.isPath(e.path);case"merge_node":return typeof e.position=="number"&&P.isPath(e.path)&&Xe(e.properties);case"move_node":return P.isPath(e.path)&&P.isPath(e.newPath);case"remove_node":return P.isPath(e.path)&&W.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&P.isPath(e.path);case"set_node":return P.isPath(e.path)&&Xe(e.properties)&&Xe(e.newProperties);case"set_selection":return e.properties===null&&B.isRange(e.newProperties)||e.newProperties===null&&B.isRange(e.properties)||Xe(e.properties)&&Xe(e.newProperties);case"split_node":return P.isPath(e.path)&&typeof e.position=="number"&&Xe(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>An.isOperation(t))},isSelectionOperation(e){return An.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return An.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return He(He({},e),{},{type:"remove_node"});case"insert_text":return He(He({},e),{},{type:"remove_text"});case"merge_node":return He(He({},e),{},{type:"split_node",path:P.previous(e.path)});case"move_node":{var{newPath:t,path:r}=e;if(P.equals(t,r))return e;if(P.isSibling(r,t))return He(He({},e),{},{path:t,newPath:r});var n=P.transform(r,e),o=P.transform(P.next(r),e);return He(He({},e),{},{path:n,newPath:o})}case"remove_node":return He(He({},e),{},{type:"insert_node"});case"remove_text":return He(He({},e),{},{type:"insert_text"});case"set_node":{var{properties:i,newProperties:s}=e;return He(He({},e),{},{properties:s,newProperties:i})}case"set_selection":{var{properties:u,newProperties:l}=e;return u==null?He(He({},e),{},{properties:l,newProperties:null}):l==null?He(He({},e),{},{properties:null,newProperties:u}):He(He({},e),{},{properties:l,newProperties:u})}case"split_node":return He(He({},e),{},{type:"merge_node",path:P.next(e.path)})}}},oD=new WeakMap,Vq=e=>{var t=oD.get(e);if(t!==void 0)return t;if(!Xe(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||Xe(e.marks))&&(e.selection===null||B.isRange(e.selection))&&W.isNodeList(e.children)&&An.isOperationList(e.operations);return oD.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 Vq(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 Lq={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(P.isPath)}};function iD(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 aD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ve={compare(e,t){var r=P.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&&P.equals(e.path,t.path)},isPoint(e){return Xe(e)&&typeof e.offset=="number"&&P.isPath(e.path)},transform(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ap(e,n=>{if(n===null)return null;var{affinity:o="forward"}=r,{path:i,offset:s}=n;switch(t.type){case"insert_node":case"move_node":{n.path=P.transform(i,t,r);break}case"insert_text":{P.equals(t.path,i)&&(t.offset<s||t.offset===s&&o==="forward")&&(n.offset+=t.text.length);break}case"merge_node":{P.equals(t.path,i)&&(n.offset+=t.position),n.path=P.transform(i,t,r);break}case"remove_text":{P.equals(t.path,i)&&t.offset<=s&&(n.offset-=Math.min(s-t.offset,t.text.length));break}case"remove_node":{if(P.equals(t.path,i)||P.isAncestor(t.path,i))return null;n.path=P.transform(i,t,r);break}case"split_node":{if(P.equals(t.path,i)){if(t.position===s&&o==null)return null;(t.position<s||t.position===s&&o==="forward")&&(n.offset-=t.position,n.path=P.transform(i,t,aD(aD({},r),{},{affinity:"forward"})))}else n.path=P.transform(i,t,r);break}}})}},sD=void 0,ot={setScrubber(e){sD=e},stringify(e){return JSON.stringify(e,sD)}},zq=["text"],Hq=["anchor","focus"];function uD(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 Pn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Y={equals(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:n=!1}=r;function o(i){var s=On(i,zq);return s}return AD(n?o(e):e,n?o(t):t)},isText(e){return Xe(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>Y.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=[Pn({},e)];for(var n of t){var o=On(n,Hq),[i,s]=B.edges(n),u=[],l=0,c=i.offset,f=s.offset;for(var d of r){var{length:m}=d.text,g=l;if(l+=m,c<=g&&l<=f){Object.assign(d,o),u.push(d);continue}if(c!==f&&(c===l||f===g)||c>l||f<g||f===g&&g!==0){u.push(d);continue}var v=d,h=void 0,y=void 0;if(f<l){var b=f-g;y=Pn(Pn({},v),{},{text:v.text.slice(b)}),v=Pn(Pn({},v),{},{text:v.text.slice(0,b)})}if(c>g){var x=c-g;h=Pn(Pn({},v),{},{text:v.text.slice(0,x)}),v=Pn(Pn({},v),{},{text:v.text.slice(x)})}Object.assign(v,o),h&&u.push(h),u.push(v),y&&u.push(y)}r=u}return r}},_h=e=>e.selection?e.selection:e.children.length>0?C.end(e,[]):[0],_a=(e,t)=>{var[r]=C.node(e,t);return n=>n===r},Wh=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=!r,o=r?Kq(t):t,i=fe.None,s=fe.None,u=0,l=null,c=null;for(var f of o){var d=f.codePointAt(0);if(!d)break;var m=iX(f,d);if([i,s]=n?[s,m]:[m,i],ja(i,fe.ZWJ)&&ja(s,fe.ExtPict)&&(n?l=lD(t.substring(0,u)):l=lD(t.substring(0,t.length-u)),!l)||ja(i,fe.RI)&&ja(s,fe.RI)&&(c!==null?c=!c:n?c=!0:c=cX(t.substring(0,t.length-u)),!c)||i!==fe.None&&s!==fe.None&&sX(i,s))break;u+=f.length}return u||1},Gq=/\s/,jq=/[\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]/,_q=/['\u2018\u2019]/,Wq=function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=0,o=!1;t.length>0;){var i=Wh(t,r),[s,u]=Uh(t,i,r);if(Uq(s,u,r))o=!0,n+=i;else if(!o)n+=i;else break;t=u}return n},Uh=(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)]},Uq=function e(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(Gq.test(t))return!1;if(_q.test(t)){var o=Wh(r,n),[i,s]=Uh(r,o,n);if(e(i,s,n))return!0}return!jq.test(t)},Kq=function*(t){for(var r=t.length-1,n=0;n<t.length;n++){var o=t.charAt(r-n);if(Xq(o.charCodeAt(0))){var i=t.charAt(r-n-1);if(qq(i.charCodeAt(0))){yield i+o,n++;continue}}yield o}},qq=e=>e>=55296&&e<=56319,Xq=e=>e>=56320&&e<=57343,fe;(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"})(fe||(fe={}));var Yq=/^(?:[\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])$/,Jq=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,Zq=/^(?:[\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])$/,Qq=/^[\u1100-\u115F\uA960-\uA97C]$/,eX=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,tX=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,rX=/^[\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]$/,nX=/^[\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]$/,oX=/^(?:[\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])$/,iX=(e,t)=>{var r=fe.Any;return e.search(Yq)!==-1&&(r|=fe.Extend),t===8205&&(r|=fe.ZWJ),t>=127462&&t<=127487&&(r|=fe.RI),e.search(Jq)!==-1&&(r|=fe.Prepend),e.search(Zq)!==-1&&(r|=fe.SpacingMark),e.search(Qq)!==-1&&(r|=fe.L),e.search(eX)!==-1&&(r|=fe.V),e.search(tX)!==-1&&(r|=fe.T),e.search(rX)!==-1&&(r|=fe.LV),e.search(nX)!==-1&&(r|=fe.LVT),e.search(oX)!==-1&&(r|=fe.ExtPict),r};function ja(e,t){return(e&t)!==0}var aX=[[fe.L,fe.L|fe.V|fe.LV|fe.LVT],[fe.LV|fe.V,fe.V|fe.T],[fe.LVT|fe.T,fe.T],[fe.Any,fe.Extend|fe.ZWJ],[fe.Any,fe.SpacingMark],[fe.Prepend,fe.Any],[fe.ZWJ,fe.ExtPict],[fe.RI,fe.RI]];function sX(e,t){return aX.findIndex(r=>ja(e,r[0])&&ja(t,r[1]))===-1}var uX=/(?:[\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$/,lD=e=>e.search(uX)!==-1,lX=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,cX=e=>{var t=e.match(lX);if(t===null)return!1;var r=t[0].length/2;return r%2===1},fX={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=_h(e)}=r;if(P.isPath(o)&&(o=C.range(e,o)),B.isRange(o))if(B.isCollapsed(o))o=o.anchor;else{var i=B.end(o);if(!n&&C.void(e,{at:i}))return;var s=B.start(o),u=C.pointRef(e,s),l=C.pointRef(e,i);V.delete(e,{at:o,voids:n});var c=u.unref(),f=l.unref();o=c||f,V.setSelection(e,{anchor:o,focus:o})}if(!(!n&&C.void(e,{at:o})||C.elementReadOnly(e,{at:o}))){var{path:d,offset:m}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:m,text:t})}})}};function cD(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 Op(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var V=Op(Op(Op(Op({},Fq),Rq),$q),fX),pX=(e,t)=>{for(var r of C.pathRefs(e))Tq.transform(r,t);for(var n of C.pointRefs(e))Pq.transform(n,t);for(var o of C.rangeRefs(e))Aq.transform(o,t);var i=Fp.get(e)||[],s=Rp.get(e)||new Set,u,l,c=v=>{if(v){var h=v.join(",");l.has(h)||(l.add(h),u.push(v))}};if(P.operationCanTransformPath(t)){u=[],l=new Set;for(var f of i){var d=P.transform(f,t);c(d)}}else u=i,l=s;var m=e.getDirtyPaths(t);for(var g of m)c(g);Fp.set(e,u),Rp.set(e,l),V.transform(e,t),e.operations.push(t),C.normalize(e,{operation:t}),t.type==="set_selection"&&(e.marks=null),Du.get(e)||(Du.set(e,!0),Promise.resolve().then(()=>{Du.set(e,!1),e.onChange({operation:t}),e.operations=[]}))},dX=(e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":{var{path:r}=t;return P.levels(r)}case"insert_node":{var{node:n,path:o}=t,i=P.levels(o),s=Y.isText(n)?[]:Array.from(W.nodes(n),I=>{var[,G]=I;return o.concat(G)});return[...i,...s]}case"merge_node":{var{path:u}=t,l=P.ancestors(u),c=P.previous(u);return[...l,c]}case"move_node":{var{path:f,newPath:d}=t;if(P.equals(f,d))return[];var m=[],g=[];for(var v of P.ancestors(f)){var h=P.transform(v,t);m.push(h)}for(var y of P.ancestors(d)){var b=P.transform(y,t);g.push(b)}var x=g[g.length-1],w=d[d.length-1],S=x.concat(w);return[...m,...g,S]}case"remove_node":{var{path:E}=t,D=P.ancestors(E);return[...D]}case"split_node":{var{path:T}=t,O=P.levels(T),F=P.next(T);return[...O,F]}default:return[]}},mX=e=>{var{selection:t}=e;return t?W.fragment(e,t):[]},hX=(e,t)=>{var[r,n]=t;if(!Y.isText(r)){if(K.isElement(r)&&r.children.length===0){var o={text:""};V.insertNodes(e,o,{at:n.concat(0),voids:!0});return}for(var i=C.isEditor(r)?!1:K.isElement(r)&&(e.isInline(r)||r.children.length===0||Y.isText(r.children[0])||e.isInline(r.children[0])),s=0,u=0;u<r.children.length;u++,s++){var l=W.get(e,n);if(!Y.isText(l)){var c=l.children[s],f=l.children[s-1],d=u===r.children.length-1,m=Y.isText(c)||K.isElement(c)&&e.isInline(c);if(m!==i)V.removeNodes(e,{at:n.concat(s),voids:!0}),s--;else if(K.isElement(c)){if(e.isInline(c)){if(f==null||!Y.isText(f)){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 f!=null&&Y.isText(f)&&(Y.equals(c,f,{loose:!0})?(V.mergeNodes(e,{at:n.concat(s),voids:!0}),s--):f.text===""?(V.removeNodes(e,{at:n.concat(s-1),voids:!0}),s--):c.text===""&&(V.removeNodes(e,{at:n.concat(s),voids:!0}),s--))}}}},gX=(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},vX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:o="lowest",at:i=t.selection,match:s}=r;if(i){var u=C.path(t,i),l=o==="lowest";for(var[c,f]of C.levels(t,{at:u,voids:n,match:s,reverse:l}))if(!Y.isText(c)){if(B.isRange(i)){if(P.isAncestor(f,i.anchor.path)&&P.isAncestor(f,i.focus.path))return[c,f]}else if(!P.equals(u,f))return[c,f]}}};function fD(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 pD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var yX=(e,t,r)=>{var{selection:n}=e;if(n){var o=(d,m)=>{if(!Y.isText(d))return!1;var[g,v]=C.parent(e,m);return!e.isVoid(g)||e.markableVoid(g)},i=B.isExpanded(n),s=!1;if(!i){var[u,l]=C.node(e,n);if(u&&o(u,l)){var[c]=C.parent(e,l);s=c&&e.markableVoid(c)}}if(i||s)V.setNodes(e,{[t]:r},{match:o,split:!0,voids:!0});else{var f=pD(pD({},C.marks(e)||{}),{},{[t]:r});e.marks=f,Du.get(e)||e.onChange()}}};function dD(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 mD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var bX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.point(t,r,{edge:"end"}),i=C.end(t,[]),s={anchor:o,focus:i},{distance:u=1}=n,l=0,c;for(var f of C.positions(t,mD(mD({},n),{},{at:s}))){if(l>u)break;l!==0&&(c=f),l++}return c};function hD(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 gD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var CX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.start(t,[]),i=C.point(t,r,{edge:"start"}),s={anchor:o,focus:i},{distance:u=1}=n,l=0,c;for(var f of C.positions(t,gD(gD({},n),{},{at:s,reverse:!0}))){if(l>u)break;l!==0&&(c=f),l++}return c},xX=(e,t)=>{var{selection:r}=e;r&&B.isCollapsed(r)&&V.delete(e,{unit:t,reverse:!0})},wX=(e,t)=>{var{selection:r}=e;r&&B.isCollapsed(r)&&V.delete(e,{unit:t})},SX=function(t){var{direction:r="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t;n&&B.isExpanded(n)&&V.delete(t,{reverse:r==="backward"})},DX=(e,t)=>[C.start(e,t),C.end(e,t)];function vD(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 yD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var EX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,yD(yD({},r),{},{match:n=>K.isElement(n)&&C.isElementReadOnly(t,n)}))},TX=(e,t)=>C.point(e,t,{edge:"end"}),PX=(e,t)=>{var r=C.path(e,t,{edge:"start"});return C.node(e,r)},AX=(e,t)=>{var r=C.range(e,t);return W.fragment(e,r)};function bD(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 CD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var OX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C.above(t,CD(CD({},r),{},{match:n=>K.isElement(n)&&C.isVoid(t,n)}))},FX=(e,t)=>t.children.some(r=>K.isElement(r)&&C.isBlock(e,r)),RX=(e,t)=>t.children.some(r=>Y.isText(r)||C.isInline(e,r)),$X=(e,t)=>W.has(e,t),BX=(e,t)=>t.children.every(r=>Y.isText(r)),MX=e=>{V.splitNodes(e,{always:!0})},IX=(e,t,r)=>{V.insertNodes(e,t,r)},kX=e=>{V.splitNodes(e,{always:!0})};function xD(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?xD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var VX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o,marks:i}=t;if(o){if(i){var s=NX({text:r},i);V.insertNodes(t,s,{at:n.at,voids:n.voids})}else V.insertText(t,r,n);t.marks=null}},LX=(e,t)=>!e.isInline(t),zX=(e,t,r)=>C.isStart(e,t,r)||C.isEnd(e,t,r),HX=(e,t)=>{var{children:r}=t,[n]=r;return r.length===0||r.length===1&&Y.isText(n)&&n.text===""&&!e.isVoid(t)},GX=(e,t,r)=>{var n=C.end(e,r);return ve.equals(t,n)},jX=e=>{var t=PD.get(e);return t===void 0?!0:t},_X=(e,t,r)=>{if(t.offset!==0)return!1;var n=C.start(e,r);return ve.equals(t,n)},WX=(e,t)=>{var r=C.path(e,t,{edge:"end"});return C.node(e,r)},UX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),i=W.leaf(t,o);return[i,o]};function*KX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,reverse:n=!1,voids:o=!1}=t,{match:i}=t;if(i==null&&(i=()=>!0),!!r){var s=[],u=C.path(e,r);for(var[l,c]of W.levels(e,u))if(i(l,c)&&(s.push([l,c]),!o&&K.isElement(l)&&C.isVoid(e,l)))break;n&&s.reverse(),yield*s}}var qX=["text"],XX=["text"],YX=function(t){var{marks:r,selection:n}=t;if(!n)return null;if(r)return r;if(B.isExpanded(n)){var[o]=C.nodes(t,{match:Y.isText});if(o){var[i]=o,s=On(i,qX);return s}else return{}}var{anchor:u}=n,{path:l}=u,[c]=C.leaf(t,l);if(u.offset===0){var f=C.previous(t,{at:l,match:Y.isText}),d=C.above(t,{match:b=>K.isElement(b)&&C.isVoid(t,b)&&t.markableVoid(b)});if(!d){var m=C.above(t,{match:b=>K.isElement(b)&&C.isBlock(t,b)});if(f&&m){var[g,v]=f,[,h]=m;P.isAncestor(h,v)&&(c=g)}}}var y=On(c,XX);return y},JX=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:i,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(P.isPath(s)&&s.length===0)throw new Error("Cannot get the next node from the root node!");if(i==null)if(P.isPath(s)){var[f]=C.parent(t,s);i=m=>f.children.includes(m)}else i=()=>!0;var[d]=C.nodes(t,{at:c,match:i,mode:n,voids:o});return d}}},ZX=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),i=W.get(t,o);return[i,o]};function*QX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,mode:n="all",universal:o=!1,reverse:i=!1,voids:s=!1,ignoreNonSelectable:u=!1}=t,{match:l}=t;if(l||(l=()=>!0),!!r){var c,f;if(Lq.isSpan(r))c=r[0],f=r[1];else{var d=C.path(e,r,{edge:"start"}),m=C.path(e,r,{edge:"end"});c=i?m:d,f=i?d:m}var g=W.nodes(e,{reverse:i,from:c,to:f,pass:S=>{var[E]=S;return K.isElement(E)?!!(!s&&(C.isVoid(e,E)||C.isElementReadOnly(e,E))||u&&!C.isSelectable(e,E)):!1}}),v=[],h;for(var[y,b]of g)if(!(u&&K.isElement(y)&&!C.isSelectable(e,y))){var x=h&&P.compare(b,h[1])===0;if(!(n==="highest"&&x)){if(!l(y,b)){if(o&&!x&&Y.isText(y))return;continue}if(n==="lowest"&&x){h=[y,b];continue}var w=n==="lowest"?h:[y,b];w&&(o?v.push(w):yield w),h=[y,b]}}n==="lowest"&&h&&(o?v.push(h):yield h),o&&(yield*v)}}var eY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1,operation:o}=r,i=f=>Fp.get(f)||[],s=f=>Rp.get(f)||new Set,u=f=>{var d=i(f).pop(),m=d.join(",");return s(f).delete(m),d};if(C.isNormalizing(t)){if(n){var l=Array.from(W.nodes(t),f=>{var[,d]=f;return d}),c=new Set(l.map(f=>f.join(",")));Fp.set(t,l),Rp.set(t,c)}i(t).length!==0&&C.withoutNormalizing(t,()=>{for(var f of i(t))if(W.has(t,f)){var d=C.node(t,f),[m,g]=d;K.isElement(m)&&m.children.length===0&&t.normalizeNode(d,{operation:o})}for(var v=i(t),h=v.length,y=0;v.length!==0;){if(!t.shouldNormalize({dirtyPaths:v,iteration:y,initialDirtyPathsLength:h,operation:o}))return;var b=u(t);if(W.has(t,b)){var x=C.node(t,b);t.normalizeNode(x,{operation:o})}y++,v=i(t)}})}},tY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=C.path(t,r,n),i=P.parent(o),s=C.node(t,i);return s},rY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,i={current:r,affinity:o,unref(){var{current:u}=i,l=C.pathRefs(t);return l.delete(i),i.current=null,u}},s=C.pathRefs(t);return s.add(i),i},nY=e=>{var t=YS.get(e);return t||(t=new Set,YS.set(e,t)),t},oY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:o,edge:i}=n;if(P.isPath(r)){if(i==="start"){var[,s]=W.first(t,r);r=s}else if(i==="end"){var[,u]=W.last(t,r);r=u}}return B.isRange(r)&&(i==="start"?r=B.start(r):i==="end"?r=B.end(r):r=P.common(r.anchor.path,r.focus.path)),ve.isPoint(r)&&(r=r.path),o!=null&&(r=r.slice(0,o)),r},iY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,i={current:r,affinity:o,unref(){var{current:u}=i,l=C.pointRefs(t);return l.delete(i),i.current=null,u}},s=C.pointRefs(t);return s.add(i),i},aY=e=>{var t=JS.get(e);return t||(t=new Set,JS.set(e,t)),t},sY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:o="start"}=n;if(P.isPath(r)){var i;if(o==="end"){var[,s]=W.last(t,r);i=s}else{var[,u]=W.first(t,r);i=u}var l=W.get(t,i);if(!Y.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:i,offset:o==="end"?l.text.length:0}}if(B.isRange(r)){var[c,f]=B.edges(r);return o==="start"?c:f}return r};function*uY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:r=e.selection,unit:n="offset",reverse:o=!1,voids:i=!1,ignoreNonSelectable:s=!1}=t;if(!r)return;var u=C.range(e,r),[l,c]=B.edges(u),f=o?c:l,d=!1,m="",g=0,v=0,h=0;for(var[y,b]of C.nodes(e,{at:r,reverse:o,voids:i,ignoreNonSelectable:s})){if(K.isElement(y)){if(!i&&(e.isVoid(y)||e.isElementReadOnly(y))){yield C.start(e,b);continue}if(e.isInline(y))continue;if(C.hasInlines(e,y)){var x=P.isAncestor(b,c.path)?c:C.end(e,b),w=P.isAncestor(b,l.path)?l:C.start(e,b);m=C.string(e,{anchor:w,focus:x},{voids:i}),d=!0}}if(Y.isText(y)){var S=P.equals(b,f.path);for(S?(v=o?f.offset:y.text.length-f.offset,h=f.offset):(v=y.text.length,h=o?v:0),(S||d||n==="offset")&&(yield{path:b,offset:h},d=!1);;){if(g===0){if(m==="")break;g=E(m,n,o),m=Uh(m,g,o)[1]}if(h=o?h-g:h+g,v=v-g,v<0){g=-v;break}g=0,yield{path:b,offset:h}}}}function E(D,T,O){return T==="character"?Wh(D,O):T==="word"?Wq(D,O):T==="line"||T==="block"?D.length:1}}var lY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:o=!1}=r,{match:i,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(P.isPath(s)&&s.length===0)throw new Error("Cannot get the previous node from the root node!");if(i==null)if(P.isPath(s)){var[f]=C.parent(t,s);i=m=>f.children.includes(m)}else i=()=>!0;var[d]=C.nodes(t,{reverse:!0,at:c,match:i,mode:n,voids:o});return d}}},cY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:o="forward"}=n,i={current:r,affinity:o,unref(){var{current:u}=i,l=C.rangeRefs(t);return l.delete(i),i.current=null,u}},s=C.rangeRefs(t);return s.add(i),i},fY=e=>{var t=ZS.get(e);return t||(t=new Set,ZS.set(e,t)),t},pY=(e,t,r)=>{if(B.isRange(t)&&!r)return t;var n=C.start(e,t),o=C.end(e,r||t);return{anchor:n,focus:o}};function wD(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 dY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var mY=(e,t)=>{var{selection:r}=e;if(r){var n=(f,d)=>{if(!Y.isText(f))return!1;var[m,g]=C.parent(e,d);return!e.isVoid(m)||e.markableVoid(m)},o=B.isExpanded(r),i=!1;if(!o){var[s,u]=C.node(e,r);if(s&&n(s,u)){var[l]=C.parent(e,u);i=l&&e.markableVoid(l)}}if(o||i)V.unsetNodes(e,t,{match:n,split:!0,voids:!0});else{var c=dY({},C.marks(e)||{});delete c[t],e.marks=c,Du.get(e)||e.onChange()}}},hY=(e,t)=>{PD.set(e,t)},gY=(e,t)=>C.point(e,t,{edge:"start"}),vY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,i=C.range(t,r),[s,u]=B.edges(i),l="";for(var[c,f]of C.nodes(t,{at:i,match:Y.isText,voids:o})){var d=c.text;P.equals(f,u.path)&&(d=d.slice(0,u.offset)),P.equals(f,s.path)&&(d=d.slice(s.offset)),l+=d}return l},yY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:o=!1}=n,[i,s]=B.edges(r);if(i.offset!==0||s.offset!==0||B.isCollapsed(r)||P.hasPrevious(s.path))return r;var u=C.above(t,{at:s,match:v=>K.isElement(v)&&C.isBlock(t,v),voids:o}),l=u?u[1]:[],c=C.start(t,i),f={anchor:c,focus:s},d=!0;for(var[m,g]of C.nodes(t,{at:f,match:Y.isText,reverse:!0,voids:o})){if(d){d=!1;continue}if(m.text!==""||P.isBefore(g,l)){s={path:g,offset:m.text.length};break}}return{anchor:i,focus:s}},bY=(e,t)=>{var r=C.isNormalizing(e);C.setNormalizing(e,!1);try{t()}finally{C.setNormalizing(e,r)}C.normalize(e)},CY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var n,o,{reverse:i=!1,unit:s="character",distance:u=1,voids:l=!1}=r,{at:c=t.selection,hanging:f=!1}=r;if(c){var d=!1;if(B.isRange(c)&&B.isCollapsed(c)&&(d=!0,c=c.anchor),ve.isPoint(c)){var m=C.void(t,{at:c,mode:"highest"});if(!l&&m){var[,g]=m;c=g}else{var v={unit:s,distance:u},h=i?C.before(t,c,v)||C.start(t,[]):C.after(t,c,v)||C.end(t,[]);c={anchor:c,focus:h},f=!0}}if(P.isPath(c)){V.removeNodes(t,{at:c,voids:l});return}if(!B.isCollapsed(c)){if(!f){var[,y]=B.edges(c),b=C.end(t,[]);ve.equals(y,b)||(c=C.unhangRange(t,c,{voids:l}))}var[x,w]=B.edges(c),S=C.above(t,{match:Ce=>K.isElement(Ce)&&C.isBlock(t,Ce),at:x,voids:l}),E=C.above(t,{match:Ce=>K.isElement(Ce)&&C.isBlock(t,Ce),at:w,voids:l}),D=S&&E&&!P.equals(S[1],E[1]),T=P.equals(x.path,w.path),O=l?null:(n=C.void(t,{at:x,mode:"highest"}))!==null&&n!==void 0?n:C.elementReadOnly(t,{at:x,mode:"highest"}),F=l?null:(o=C.void(t,{at:w,mode:"highest"}))!==null&&o!==void 0?o:C.elementReadOnly(t,{at:w,mode:"highest"});if(O){var I=C.before(t,x);I&&S&&P.isAncestor(S[1],I.path)&&(x=I)}if(F){var G=C.after(t,w);G&&E&&P.isAncestor(E[1],G.path)&&(w=G)}var k=[],H;for(var N of C.nodes(t,{at:c,voids:l})){var[M,Q]=N;H&&P.compare(Q,H)===0||(!l&&K.isElement(M)&&(C.isVoid(t,M)||C.isElementReadOnly(t,M))||!P.isCommon(Q,x.path)&&!P.isCommon(Q,w.path))&&(k.push(N),H=Q)}var re=Array.from(k,Ce=>{var[,je]=Ce;return C.pathRef(t,je)}),se=C.pointRef(t,x),j=C.pointRef(t,w),ne="";if(!T&&!O){var ce=se.current,[pe]=C.leaf(t,ce),{path:Be}=ce,{offset:A}=x,_=pe.text.slice(A);_.length>0&&(t.apply({type:"remove_text",path:Be,offset:A,text:_}),ne=_)}if(re.reverse().map(Ce=>Ce.unref()).filter(Ce=>Ce!==null).forEach(Ce=>V.removeNodes(t,{at:Ce,voids:l})),!F){var z=j.current,[U]=C.leaf(t,z),{path:ue}=z,ee=T?x.offset:0,he=U.text.slice(ee,w.offset);he.length>0&&(t.apply({type:"remove_text",path:ue,offset:ee,text:he}),ne=he)}!T&&D&&j.current&&se.current&&V.mergeNodes(t,{at:j.current,hanging:!0,voids:l}),d&&i&&s==="character"&&ne.length>1&&ne.match(/[\u0E00-\u0E7F]+/)&&V.insertText(t,ne.slice(0,ne.length-u));var we=se.unref(),De=j.unref(),Ae=i?we||De:De||we;r.at==null&&Ae&&V.select(t,Ae)}}})},xY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:i=!1}=n,{at:s=_h(t)}=n;if(r.length){if(B.isRange(s))if(o||(s=C.unhangRange(t,s,{voids:i})),B.isCollapsed(s))s=s.anchor;else{var[,u]=B.edges(s);if(!i&&C.void(t,{at:u}))return;var l=C.pointRef(t,u);V.delete(t,{at:s}),s=l.unref()}else P.isPath(s)&&(s=C.start(t,s));if(!(!i&&C.void(t,{at:s}))){var c=C.above(t,{at:s,match:A=>K.isElement(A)&&C.isInline(t,A),mode:"highest",voids:i});if(c){var[,f]=c;if(C.isEnd(t,s,f)){var d=C.after(t,f);s=d}else if(C.isStart(t,s,f)){var m=C.before(t,f);s=m}}var g=C.above(t,{match:A=>K.isElement(A)&&C.isBlock(t,A),at:s,voids:i}),[,v]=g,h=C.isStart(t,s,v),y=C.isEnd(t,s,v),b=h&&y,x=!h||h&&y,w=!y,[,S]=W.first({children:r},[]),[,E]=W.last({children:r},[]),D=[],T=A=>{var[_,z]=A,U=z.length===0;return U?!1:b?!0:!(x&&P.isAncestor(z,S)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_)||w&&P.isAncestor(z,E)&&K.isElement(_)&&!t.isVoid(_)&&!t.isInline(_))};for(var O of W.nodes({children:r},{pass:T}))T(O)&&D.push(O);var F=[],I=[],G=[],k=!0,H=!1;for(var[N]of D)K.isElement(N)&&!t.isInline(N)?(k=!1,H=!0,I.push(N)):k?F.push(N):G.push(N);var[M]=C.nodes(t,{at:s,match:A=>Y.isText(A)||C.isInline(t,A),mode:"highest",voids:i}),[,Q]=M,re=C.isStart(t,s,Q),se=C.isEnd(t,s,Q),j=C.pathRef(t,y&&!G.length?P.next(v):v),ne=C.pathRef(t,se?P.next(Q):Q);V.splitNodes(t,{at:s,match:A=>H?K.isElement(A)&&C.isBlock(t,A):Y.isText(A)||C.isInline(t,A),mode:H?"lowest":"highest",always:H&&(!h||F.length>0)&&(!y||G.length>0),voids:i});var ce=C.pathRef(t,!re||re&&se?P.next(Q):Q);if(V.insertNodes(t,F,{at:ce.current,match:A=>Y.isText(A)||C.isInline(t,A),mode:"highest",voids:i}),b&&!F.length&&I.length&&!G.length&&V.delete(t,{at:v,voids:i}),V.insertNodes(t,I,{at:j.current,match:A=>K.isElement(A)&&C.isBlock(t,A),mode:"lowest",voids:i}),V.insertNodes(t,G,{at:ne.current,match:A=>Y.isText(A)||C.isInline(t,A),mode:"highest",voids:i}),!n.at){var pe;if(G.length>0&&ne.current?pe=P.previous(ne.current):I.length>0&&j.current?pe=P.previous(j.current):ce.current&&(pe=P.previous(ce.current)),pe){var Be=C.end(t,pe);V.select(t,Be)}}ce.unref(),j.unref(),ne.unref()}}})},wY=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[i]=B.edges(o);V.select(t,i)}else if(n==="end"){var[,s]=B.edges(o);V.select(t,s)}}else return},SY=e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},DY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:o=1,unit:i="character",reverse:s=!1}=r,{edge:u=null}=r;if(n){u==="start"&&(u=B.isBackward(n)?"focus":"anchor"),u==="end"&&(u=B.isBackward(n)?"anchor":"focus");var{anchor:l,focus:c}=n,f={distance:o,unit:i,ignoreNonSelectable:!0},d={};if(u==null||u==="anchor"){var m=s?C.before(t,l,f):C.after(t,l,f);m&&(d.anchor=m)}if(u==null||u==="focus"){var g=s?C.before(t,c,f):C.after(t,c,f);g&&(d.focus=g)}V.setSelection(t,d)}},EY=(e,t)=>{var{selection:r}=e;if(t=C.range(e,t),r){V.setSelection(e,t);return}if(!B.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(ot.stringify(t)));e.apply({type:"set_selection",properties:r,newProperties:t})};function SD(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 DD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?SD(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):SD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var TY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:o}=t,{edge:i="both"}=n;if(o){i==="start"&&(i=B.isBackward(o)?"focus":"anchor"),i==="end"&&(i=B.isBackward(o)?"anchor":"focus");var{anchor:s,focus:u}=o,l=i==="anchor"?s:u;V.setSelection(t,{[i==="anchor"?"anchor":"focus"]:DD(DD({},l),r)})}},PY=(e,t)=>{var{selection:r}=e,n={},o={};if(r){for(var i in t)(i==="anchor"&&t.anchor!=null&&!ve.equals(t.anchor,r.anchor)||i==="focus"&&t.focus!=null&&!ve.equals(t.focus,r.focus)||i!=="anchor"&&i!=="focus"&&t[i]!==r[i])&&(n[i]=r[i],o[i]=t[i]);Object.keys(n).length>0&&e.apply({type:"set_selection",properties:n,newProperties:o})}},AY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{hanging:o=!1,voids:i=!1,mode:s="lowest"}=n,{at:u,match:l,select:c}=n;if(W.isNode(r)&&(r=[r]),r.length!==0){var[f]=r;if(u||(u=_h(t),c=!0),c==null&&(c=!1),B.isRange(u))if(o||(u=C.unhangRange(t,u,{voids:i})),B.isCollapsed(u))u=u.anchor;else{var[,d]=B.edges(u),m=C.pointRef(t,d);V.delete(t,{at:u}),u=m.unref()}if(ve.isPoint(u)){l==null&&(Y.isText(f)?l=T=>Y.isText(T):t.isInline(f)?l=T=>Y.isText(T)||C.isInline(t,T):l=T=>K.isElement(T)&&C.isBlock(t,T));var[g]=C.nodes(t,{at:u.path,match:l,mode:s,voids:i});if(g){var[,v]=g,h=C.pathRef(t,v),y=C.isEnd(t,u,v);V.splitNodes(t,{at:u,match:l,mode:s,voids:i});var b=h.unref();u=y?P.next(b):b}else return}var x=P.parent(u),w=u[u.length-1];if(!(!i&&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=P.next(u)}if(u=P.previous(u),c){var D=C.end(t,u);D&&V.select(t,D)}}}})},OY=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:i=!1}=r,{match:s}=r;if(s==null&&(s=P.isPath(n)?_a(t,n):S=>K.isElement(S)&&C.isBlock(t,S)),!!n){var u=C.nodes(t,{at:n,match:s,mode:o,voids:i}),l=Array.from(u,S=>{var[,E]=S;return C.pathRef(t,E)});for(var c of l){var f=c.unref();if(f.length<2)throw new Error("Cannot lift node at a path [".concat(f,"] because it has a depth of less than `2`."));var d=C.node(t,P.parent(f)),[m,g]=d,v=f[f.length-1],{length:h}=m.children;if(h===1){var y=P.next(g);V.moveNodes(t,{at:f,to:y,voids:i}),V.removeNodes(t,{at:g,voids:i})}else if(v===0)V.moveNodes(t,{at:f,to:g,voids:i});else if(v===h-1){var b=P.next(g);V.moveNodes(t,{at:f,to:b,voids:i})}else{var x=P.next(f),w=P.next(g);V.splitNodes(t,{at:x,voids:i}),V.moveNodes(t,{at:f,to:w,voids:i})}}}})},FY=["text"],RY=["children"],OD=(e,t)=>{if(K.isElement(t)){var r=t;return C.isVoid(e,t)?!0:r.children.length===1?OD(e,r.children[0]):!1}else return!C.isEditor(t)},$Y=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:i=!1,voids:s=!1,mode:u="lowest"}=r;if(o){if(n==null)if(P.isPath(o)){var[l]=C.parent(t,o);n=I=>l.children.includes(I)}else n=I=>K.isElement(I)&&C.isBlock(t,I);if(!i&&B.isRange(o)&&(o=C.unhangRange(t,o,{voids:s})),B.isRange(o))if(B.isCollapsed(o))o=o.anchor;else{var[,c]=B.edges(o),f=C.pointRef(t,c);V.delete(t,{at:o}),o=f.unref(),r.at==null&&V.select(t,o)}var[d]=C.nodes(t,{at:o,match:n,voids:s,mode:u}),m=C.previous(t,{at:o,match:n,voids:s,mode:u});if(!(!d||!m)){var[g,v]=d,[h,y]=m;if(!(v.length===0||y.length===0)){var b=P.next(y),x=P.common(v,y),w=P.isSibling(v,y),S=Array.from(C.levels(t,{at:v}),I=>{var[G]=I;return G}).slice(x.length).slice(0,-1),E=C.above(t,{at:v,mode:"highest",match:I=>S.includes(I)&&OD(t,I)}),D=E&&C.pathRef(t,E[1]),T,O;if(Y.isText(g)&&Y.isText(h)){var F=On(g,FY);O=h.text.length,T=F}else if(K.isElement(g)&&K.isElement(h)){var F=On(g,RY);O=h.children.length,T=F}else throw new Error("Cannot merge the node at path [".concat(v,"] with the previous sibling because it is not the same kind: ").concat(ot.stringify(g)," ").concat(ot.stringify(h)));w||V.moveNodes(t,{at:v,to:b,voids:s}),D&&V.removeNodes(t,{at:D.current,voids:s}),K.isElement(h)&&C.isEmpty(t,h)||Y.isText(h)&&h.text===""&&y[y.length-1]!==0?V.removeNodes(t,{at:y,voids:s}):t.apply({type:"merge_node",path:b,position:O,properties:T}),D&&D.unref()}}}})},BY=(e,t)=>{C.withoutNormalizing(e,()=>{var{to:r,at:n=e.selection,mode:o="lowest",voids:i=!1}=t,{match:s}=t;if(n){s==null&&(s=P.isPath(n)?_a(e,n):g=>K.isElement(g)&&C.isBlock(e,g));var u=C.pathRef(e,r),l=C.nodes(e,{at:n,match:s,mode:o,voids:i}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(e,v)});for(var f of c){var d=f.unref(),m=u.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:m}),u.current&&P.isSibling(m,d)&&P.isAfter(m,d)&&(u.current=P.next(u.current))}u.unref()}})},MY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:o=!1,mode:i="lowest"}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=P.isPath(s)?_a(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),!n&&B.isRange(s)&&(s=C.unhangRange(t,s,{voids:o}));var l=C.nodes(t,{at:s,match:u,mode:i,voids:o}),c=Array.from(l,g=>{var[,v]=g;return C.pathRef(t,v)});for(var f of c){var d=f.unref();if(d){var[m]=C.node(t,d);t.apply({type:"remove_node",path:d,node:m})}}}})},IY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{match:o,at:i=t.selection,compare:s,merge:u}=n,{hanging:l=!1,mode:c="lowest",split:f=!1,voids:d=!1}=n;if(i){if(o==null&&(o=P.isPath(i)?_a(t,i):O=>K.isElement(O)&&C.isBlock(t,O)),!l&&B.isRange(i)&&(i=C.unhangRange(t,i,{voids:d})),f&&B.isRange(i)){if(B.isCollapsed(i)&&C.leaf(t,i.anchor)[0].text.length>0)return;var m=C.rangeRef(t,i,{affinity:"inward"}),[g,v]=B.edges(i),h=c==="lowest"?"lowest":"highest",y=C.isEnd(t,v,v.path);V.splitNodes(t,{at:v,match:o,mode:h,voids:d,always:!y});var b=C.isStart(t,g,g.path);V.splitNodes(t,{at:g,match:o,mode:h,voids:d,always:!b}),i=m.unref(),n.at==null&&V.select(t,i)}s||(s=(O,F)=>O!==F);for(var[x,w]of C.nodes(t,{at:i,match:o,mode:c,voids:d})){var S={},E={};if(w.length!==0){var D=!1;for(var T in r)T==="children"||T==="text"||s(r[T],x[T])&&(D=!0,x.hasOwnProperty(T)&&(S[T]=x[T]),u?r[T]!=null&&(E[T]=u(x[T],r[T])):r[T]!=null&&(E[T]=r[T]));D&&t.apply({type:"set_node",path:w,properties:S,newProperties:E})}}}})},kY=(e,t)=>{if(B.isCollapsed(t))return t.anchor;var[,r]=B.edges(t),n=C.pointRef(e,r);return V.delete(e,{at:t}),n.unref()},NY=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:i,at:s=t.selection,height:u=0,always:l=!1}=r;if(i==null&&(i=j=>K.isElement(j)&&C.isBlock(t,j)),B.isRange(s)&&(s=kY(t,s)),P.isPath(s)){var c=s,f=C.point(t,c),[d]=C.parent(t,c);i=j=>j===d,u=f.path.length-c.length+1,s=f,l=!0}if(s){var m=C.pointRef(t,s,{affinity:"backward"}),g;try{var[v]=C.nodes(t,{at:s,match:i,mode:n,voids:o});if(!v)return;var h=C.void(t,{at:s,mode:"highest"}),y=0;if(!o&&h){var[b,x]=h;if(K.isElement(b)&&t.isInline(b)){var w=C.after(t,x);if(!w){var S={text:""},E=P.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 T=s.path.length-u,[,O]=v,F=s.path.slice(0,T),I=u===0?s.offset:s.path[T]+y;for(var[G,k]of C.levels(t,{at:F,reverse:!0,voids:o})){var H=!1;if(k.length<O.length||k.length===0||!o&&K.isElement(G)&&C.isVoid(t,G))break;var N=m.current,M=C.isEnd(t,N,k);if(l||!m||!C.isEdge(t,N,k)){H=!0;var Q=W.extractProps(G);t.apply({type:"split_node",path:k,position:I,properties:Q})}I=k[k.length-1]+(H||M?1:0)}if(r.at==null){var re=g.current||C.end(t,[]);V.select(t,re)}}finally{var se;m.unref(),(se=g)===null||se===void 0||se.unref()}}})},VY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(r)||(r=[r]);var o={};for(var i of r)o[i]=null;V.setNodes(t,o,n)},LY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};C.withoutNormalizing(t,()=>{var{mode:n="lowest",split:o=!1,voids:i=!1}=r,{at:s=t.selection,match:u}=r;if(s){u==null&&(u=P.isPath(s)?_a(t,s):g=>K.isElement(g)&&C.isBlock(t,g)),P.isPath(s)&&(s=C.range(t,s));var l=B.isRange(s)?C.rangeRef(t,s):null,c=C.nodes(t,{at:s,match:u,mode:n,voids:i}),f=Array.from(c,g=>{var[,v]=g;return C.pathRef(t,v)}).reverse(),d=function(v){var h=v.unref(),[y]=C.node(t,h),b=C.range(t,h);o&&l&&(b=B.intersection(l.current,b)),V.liftNodes(t,{at:b,match:x=>K.isAncestor(y)&&y.children.includes(x),voids:i})};for(var m of f)d(m);l&&l.unref()}})};function ED(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 TD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ED(Object(r),!0).forEach(function(n){$t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ED(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var zY=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};C.withoutNormalizing(t,()=>{var{mode:o="lowest",split:i=!1,voids:s=!1}=n,{match:u,at:l=t.selection}=n;if(l){if(u==null&&(P.isPath(l)?u=_a(t,l):t.isInline(r)?u=b=>K.isElement(b)&&C.isInline(t,b)||Y.isText(b):u=b=>K.isElement(b)&&C.isBlock(t,b)),i&&B.isRange(l)){var[c,f]=B.edges(l),d=C.rangeRef(t,l,{affinity:"inward"});V.splitNodes(t,{at:f,match:u,voids:s}),V.splitNodes(t,{at:c,match:u,voids:s}),l=d.unref(),n.at==null&&V.select(t,l)}var m=Array.from(C.nodes(t,{at:l,match:t.isInline(r)?b=>K.isElement(b)&&C.isBlock(t,b):b=>C.isEditor(b),mode:"lowest",voids:s}));for(var[,g]of m){var v=B.isRange(l)?B.intersection(l,C.range(t,g)):l;if(v){var h=Array.from(C.nodes(t,{at:v,match:u,mode:o,voids:s}));if(h.length>0){var y=function(){var[b]=h,x=h[h.length-1],[,w]=b,[,S]=x;if(w.length===0&&S.length===0)return"continue";var E=P.equals(w,S)?P.parent(w):P.common(w,S),D=C.range(t,w,S),T=C.node(t,E),[O]=T,F=E.length+1,I=P.next(S.slice(0,F)),G=TD(TD({},r),{},{children:[]});V.insertNodes(t,G,{at:I,voids:s}),V.moveNodes(t,{at:D,match:k=>K.isAncestor(O)&&O.children.includes(k),to:I.concat(0),voids:s})}();if(y==="continue")continue}}}}})},$p=()=>{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 pX(e,...n)},addMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yX(e,...n)},deleteBackward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xX(e,...n)},deleteForward:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wX(e,...n)},deleteFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SX(e,...n)},getFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mX(e,...n)},insertBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MX(e,...n)},insertSoftBreak:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return kX(e,...n)},insertFragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return xY(e,...n)},insertNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IX(e,...n)},insertText:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VX(e,...n)},normalizeNode:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hX(e,...n)},removeMark:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return mY(e,...n)},getDirtyPaths:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return dX(e,...n)},shouldNormalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gX(e,...n)},above:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vX(e,...n)},after:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bX(e,...n)},before:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CX(e,...n)},collapse:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wY(e,...n)},delete:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return CY(e,...n)},deselect:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return SY(e,...n)},edges:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DX(e,...n)},elementReadOnly:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EX(e,...n)},end:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TX(e,...n)},first:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PX(e,...n)},fragment:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AX(e,...n)},getMarks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return YX(e,...n)},hasBlocks:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FX(e,...n)},hasInlines:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return RX(e,...n)},hasPath:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $X(e,...n)},hasTexts:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BX(e,...n)},insertNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AY(e,...n)},isBlock:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LX(e,...n)},isEdge:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zX(e,...n)},isEmpty:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HX(e,...n)},isEnd:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return GX(e,...n)},isNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return jX(e,...n)},isStart:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _X(e,...n)},last:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return WX(e,...n)},leaf:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return UX(e,...n)},levels:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return KX(e,...n)},liftNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OY(e,...n)},mergeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return $Y(e,...n)},move:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return DY(e,...n)},moveNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return BY(e,...n)},next:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return JX(e,...n)},node:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ZX(e,...n)},nodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return QX(e,...n)},normalize:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return eY(e,...n)},parent:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return tY(e,...n)},path:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return oY(e,...n)},pathRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return rY(e,...n)},pathRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return nY(e,...n)},point:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sY(e,...n)},pointRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return iY(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 uY(e,...n)},previous:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lY(e,...n)},range:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return pY(e,...n)},rangeRef:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return cY(e,...n)},rangeRefs:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return fY(e,...n)},removeNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return MY(e,...n)},select:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return EY(e,...n)},setNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return IY(e,...n)},setNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return hY(e,...n)},setPoint:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return TY(e,...n)},setSelection:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PY(e,...n)},splitNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return NY(e,...n)},start:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return gY(e,...n)},string:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return vY(e,...n)},unhangRange:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return yY(e,...n)},unsetNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return VY(e,...n)},unwrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return LY(e,...n)},void:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return OX(e,...n)},withoutNormalizing:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bY(e,...n)},wrapNodes:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return zY(e,...n)}};return e};a();a();a();a();a();a();a();var yr=[];var FD=function(){return yr.some(function(e){return e.activeTargets.length>0})};a();var RD=function(){return yr.some(function(e){return e.skippedTargets.length>0})};a();var $D="ResizeObserver loop completed with undelivered notifications.",BD=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:$D}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=$D),window.dispatchEvent(e)};a();a();a();a();var li;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(li||(li={}));a();a();var Er=function(e){return Object.freeze(e)};var Kh=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Er(this)}return e}();a();var qh=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,Er(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,i=t.right,s=t.bottom,u=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:i,bottom:s,left:u,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();a();var Eu=function(e){return e instanceof SVGElement&&"getBBox"in e},Bp=function(e){if(Eu(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||e.getClientRects().length)},Xh=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)},MD=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};a();var ci=typeof window<"u"?window:{};var Mp=new WeakMap,ID=/auto|scroll/,HY=/^tb|vertical/,GY=/msie|trident/i.test(ci.navigator&&ci.navigator.userAgent),Kr=function(e){return parseFloat(e||"0")},Wa=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new Kh((r?t:e)||0,(r?e:t)||0)},kD=Er({devicePixelContentBoxSize:Wa(),borderBoxSize:Wa(),contentBoxSize:Wa(),contentRect:new qh(0,0,0,0)}),Yh=function(e,t){if(t===void 0&&(t=!1),Mp.has(e)&&!t)return Mp.get(e);if(Bp(e))return Mp.set(e,kD),kD;var r=getComputedStyle(e),n=Eu(e)&&e.ownerSVGElement&&e.getBBox(),o=!GY&&r.boxSizing==="border-box",i=HY.test(r.writingMode||""),s=!n&&ID.test(r.overflowY||""),u=!n&&ID.test(r.overflowX||""),l=n?0:Kr(r.paddingTop),c=n?0:Kr(r.paddingRight),f=n?0:Kr(r.paddingBottom),d=n?0:Kr(r.paddingLeft),m=n?0:Kr(r.borderTopWidth),g=n?0:Kr(r.borderRightWidth),v=n?0:Kr(r.borderBottomWidth),h=n?0:Kr(r.borderLeftWidth),y=d+c,b=l+f,x=h+g,w=m+v,S=u?e.offsetHeight-w-e.clientHeight:0,E=s?e.offsetWidth-x-e.clientWidth:0,D=o?y+x:0,T=o?b+w:0,O=n?n.width:Kr(r.width)-D-E,F=n?n.height:Kr(r.height)-T-S,I=O+y+E+x,G=F+b+S+w,k=Er({devicePixelContentBoxSize:Wa(Math.round(O*devicePixelRatio),Math.round(F*devicePixelRatio),i),borderBoxSize:Wa(I,G,i),contentBoxSize:Wa(O,F,i),contentRect:new qh(d,l,O,F)});return Mp.set(e,k),k},Ip=function(e,t,r){var n=Yh(e,r),o=n.borderBoxSize,i=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case li.DEVICE_PIXEL_CONTENT_BOX:return s;case li.BORDER_BOX:return o;default:return i}};var Jh=function(){function e(t){var r=Yh(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Er([r.borderBoxSize]),this.contentBoxSize=Er([r.contentBoxSize]),this.devicePixelContentBoxSize=Er([r.devicePixelContentBoxSize])}return e}();a();var kp=function(e){if(Bp(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var ND=function(){var e=1/0,t=[];yr.forEach(function(s){if(s.activeTargets.length!==0){var u=[];s.activeTargets.forEach(function(c){var f=new Jh(c.target),d=kp(c.target);u.push(f),c.lastReportedSize=Ip(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};a();var Zh=function(e){yr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(kp(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})};var VD=function(){var e=0;for(Zh(e);FD();)e=ND(),Zh(e);return RD()&&BD(),e>0};a();a();var Qh,LD=[],jY=function(){return LD.splice(0).forEach(function(e){return e()})},zD=function(e){if(!Qh){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return jY()}).observe(r,n),Qh=function(){r.textContent="".concat(t?t--:t++)}}LD.push(e),Qh()};var HD=function(e){zD(function(){requestAnimationFrame(e)})};var Np=0,_Y=function(){return!!Np},WY=250,UY={attributes:!0,characterData:!0,childList:!0,subtree:!0},GD=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],jD=function(e){return e===void 0&&(e=0),Date.now()+e},e2=!1,KY=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=WY),!e2){e2=!0;var n=jD(t);HD(function(){var o=!1;try{o=VD()}finally{if(e2=!1,t=n-jD(),!_Y())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,UY)};document.body?r():ci.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),GD.forEach(function(r){return ci.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),GD.forEach(function(r){return ci.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Vp=new KY,t2=function(e){!Np&&e>0&&Vp.start(),Np+=e,!Np&&Vp.stop()};a();var qY=function(e){return!Eu(e)&&!MD(e)&&getComputedStyle(e).display==="inline"},_D=function(){function e(t,r){this.target=t,this.observedBox=r||li.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Ip(this.target,this.observedBox,!0);return qY(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();a();var WD=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var Lp=new WeakMap,UD=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},Tu=function(){function e(){}return e.connect=function(t,r){var n=new WD(t,r);Lp.set(t,n)},e.observe=function(t,r,n){var o=Lp.get(t),i=o.observationTargets.length===0;UD(o.observationTargets,r)<0&&(i&&yr.push(o),o.observationTargets.push(new _D(r,n&&n.box)),t2(1),Vp.schedule())},e.unobserve=function(t,r){var n=Lp.get(t),o=UD(n.observationTargets,r),i=n.observationTargets.length===1;o>=0&&(i&&yr.splice(yr.indexOf(n),1),n.observationTargets.splice(o,1),t2(-1))},e.disconnect=function(t){var r=this,n=Lp.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}();var r2=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.");Tu.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(!Xh(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Tu.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(!Xh(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Tu.unobserve(this,t)},e.prototype.disconnect=function(){Tu.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var jp=dr(JD());import oJ from"react-dom";function qp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iJ(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function qa(e,t){if(e==null)return{};var r=iJ(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var m2=hi(null),bo=()=>{var e=Ya(m2);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return e},dE=parseInt(me.version.split(".")[0],10),aJ=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,ZD=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),qt=typeof navigator<"u"&&/Android/.test(navigator.userAgent),Ou=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Au=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),mE=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),uJ=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),lJ=qt&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),cJ=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),fJ=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),pJ=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),_p=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ho=(!uJ||!lJ)&&!sJ&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",h2=new WeakMap,g2=new WeakMap,hE=new WeakMap,Wp=new WeakMap,a2=new WeakMap,Ru=new WeakMap,di=new WeakMap,Up=new WeakMap,Xp=new WeakMap,s2=new WeakMap,fi=new WeakMap,pi=new WeakMap,Fu=new WeakMap,u2=new WeakMap,v2=new WeakMap,Tr=new WeakMap,Fn=new WeakMap,Kt=new WeakMap,go=new WeakMap,vo=new WeakMap,gE=new WeakMap,Xa=Symbol("placeholder"),vE=Symbol("mark-placeholder"),dJ=globalThis.Text,y2=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,mJ=e=>yo(e)&&e.nodeType===8,br=e=>yo(e)&&e.nodeType===1,yo=e=>{var t=y2(e);return!!t&&e instanceof t.Node},l2=e=>{var t=e&&e.anchorNode&&y2(e.anchorNode);return!!t&&e instanceof t.Selection},yE=e=>yo(e)&&e.nodeType===3,hJ=e=>e.clipboardData&&e.clipboardData.getData("text/plain")!==""&&e.clipboardData.types.length===1,gJ=e=>{var[t,r]=e;if(br(t)&&t.childNodes.length){var n=r===t.childNodes.length,o=n?r-1:r;for([t,o]=bE(t,o,n?"backward":"forward"),n=o<r;br(t)&&t.childNodes.length;){var i=n?t.childNodes.length-1:0;t=yJ(t,i,n?"backward":"forward")}r=n&&t.textContent!=null?t.textContent.length:0}return[t,r]},vJ=e=>{for(var t=e&&e.parentNode;t;){if(t.toString()==="[object ShadowRoot]")return!0;t=t.parentNode}return!1},bE=(e,t,r)=>{for(var{childNodes:n}=e,o=n[t],i=t,s=!1,u=!1;(mJ(o)||br(o)&&o.childNodes.length===0||br(o)&&o.getAttribute("contenteditable")==="false")&&!(s&&u);){if(i>=n.length){s=!0,i=t-1,r="backward";continue}if(i<0){u=!0,i=t+1,r="forward";continue}o=n[i],t=i,i+=r==="forward"?1:-1}return[o,t]},yJ=(e,t,r)=>{var[n]=bE(e,t,r);return n},CE=e=>{var t="";if(yE(e)&&e.nodeValue)return e.nodeValue;if(br(e)){for(var r of Array.from(e.childNodes))t+=CE(r);var n=getComputedStyle(e).getPropertyValue("display");(n==="block"||n==="list"||e.tagName==="BR")&&(t+=`
|
|
1829
|
+
`)}return t},bJ=/data-slate-fragment="(.+?)"/m,CJ=e=>{var t=e.getData("text/html"),[,r]=t.match(bJ)||[];return r},b2=(e,t,r)=>{var{target:n}=t;if(br(n)&&n.matches('[contentEditable="false"]'))return!1;var{document:o}=L.getWindow(e);if(o.contains(n))return L.hasDOMNode(e,n,{editable:!0});var i=r.find(s=>{var{addedNodes:u,removedNodes:l}=s;for(var c of u)if(c===n||c.contains(n))return!0;for(var f of l)if(f===n||f.contains(n))return!0});return!i||i===t?!1:b2(e,i,r)},xJ=0,c2=class{constructor(){this.id="".concat(xJ++)}},L={androidPendingDiffs:e=>Kt.get(e),androidScheduleFlush:e=>{var t;(t=v2.get(e))===null||t===void 0||t()},blur:e=>{var t=L.toDOMNode(e,e),r=L.findDocumentOrShadowRoot(e);fi.set(e,!1),r.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,r=L.findDocumentOrShadowRoot(e),n=r.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&V.deselect(e)},findDocumentOrShadowRoot:e=>{var t=L.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 i=L.toSlateNode(e,t.target),s=L.findPath(e,i);if(K.isElement(i)&&C.isVoid(e,i)){var u=o.getBoundingClientRect(),l=e.isInline(i)?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"}),f=l?C.before(e,c):C.after(e,c);if(f){var d=C.range(e,f);return d}}var m,{document:g}=L.getWindow(e);if(g.caretRangeFromPoint)m=g.caretRangeFromPoint(r,n);else{var v=g.caretPositionFromPoint(r,n);v&&(m=g.createRange(),m.setStart(v.offsetNode,v.offset),m.setEnd(v.offsetNode,v.offset))}if(!m)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var h=L.toSlateRange(e,m,{exactMatch:!1,suppressThrow:!1});return h},findKey:(e,t)=>{var r=Up.get(t);return r||(r=new c2,Up.set(t,r)),r},findPath:(e,t)=>{for(var r=[],n=t;;){var o=g2.get(n);if(o==null){if(C.isEditor(n))return r;break}var i=h2.get(n);if(i==null)break;r.unshift(i),n=o}throw new Error("Unable to find the path for Slate node: ".concat(ot.stringify(t)))},focus:e=>{var t=L.toDOMNode(e,e),r=L.findDocumentOrShadowRoot(e);if(fi.set(e,!0),r.activeElement!==t){if(e.selection&&r instanceof Document){var n=r.getSelection(),o=L.toDOMRange(e,e.selection);n?.removeAllRanges(),n?.addRange(o)}t.focus({preventScroll:!0})}},getWindow:e=>{var t=hE.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,i=L.toDOMNode(t,t),s;try{s=br(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]")===i&&(!o||s.isContentEditable?!0:typeof s.isContentEditable=="boolean"&&s.closest('[contenteditable="false"]')===i||!!s.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(e,t)=>yo(t)&&L.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)=>L.hasEditableTarget(e,t)||L.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>yo(t)&&L.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!pi.get(e),isFocused:e=>!!fi.get(e),isReadOnly:e=>!!s2.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(s2.get(e))return!1;var r=L.hasTarget(e,t)&&L.toSlateNode(e,t);return K.isElement(r)&&C.isVoid(e,r)},setFragmentData:(e,t,r)=>e.setFragmentData(t,r),toDOMNode:(e,t)=>{var r=Xp.get(e),n=C.isEditor(t)?Wp.get(e):r?.get(L.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(ot.stringify(t)));return n},toDOMPoint:(e,t)=>{var[r]=C.node(e,t.path),n=L.toDOMNode(e,r),o;C.void(e,{at:t})&&(t={path:t.path,offset:0});for(var i="[data-slate-string], [data-slate-zero-width]",s=Array.from(n.querySelectorAll(i)),u=0,l=0;l<s.length;l++){var c=s[l],f=c.childNodes[0];if(!(f==null||f.textContent==null)){var{length:d}=f.textContent,m=c.getAttribute("data-slate-length"),g=m==null?d:parseInt(m,10),v=u+g,h=s[l+1];if(t.offset===v&&h!==null&&h!==void 0&&h.hasAttribute("data-slate-mark-placeholder")){var y,b=h.childNodes[0];o=[b instanceof dJ?b:h,(y=h.textContent)!==null&&y!==void 0&&y.startsWith("\uFEFF")?1:0];break}if(t.offset<=v){var x=Math.min(d,Math.max(0,t.offset-u));o=[f,x];break}u=v}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(ot.stringify(t)));return o},toDOMRange:(e,t)=>{var{anchor:r,focus:n}=t,o=B.isBackward(t),i=L.toDOMPoint(e,r),s=B.isCollapsed(t)?i:L.toDOMPoint(e,n),u=L.getWindow(e),l=u.document.createRange(),[c,f]=o?s:i,[d,m]=o?i:s,g=br(c)?c:c.parentElement,v=!!g.getAttribute("data-slate-zero-width"),h=br(d)?d:d.parentElement,y=!!h.getAttribute("data-slate-zero-width");return l.setStart(c,v?1:f),l.setEnd(d,y?1:m),l},toSlateNode:(e,t)=>{var r=br(t)?t:t.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r?Ru.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,[i,s]=n?t:gJ(t),u=i.parentNode,l=null,c=0;if(u){var f,d,m=L.toDOMNode(e,e),g=u.closest('[data-slate-void="true"]'),v=g&&m.contains(g)?g:null,h=u.closest("[data-slate-leaf]"),y=null;if(h){if(l=h.closest('[data-slate-node="text"]'),l){var b=L.getWindow(e),x=b.document.createRange();x.setStart(l,0),x.setEnd(i,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(qt&&!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,y=l}}else if(v){for(var E=v.querySelectorAll("[data-slate-leaf]"),D=0;D<E.length;D++){var T=E[D];if(L.hasDOMNode(e,T)){h=T;break}}h?(l=h.closest('[data-slate-node="text"]'),y=h,c=y.textContent.length,y.querySelectorAll("[data-slate-zero-width]").forEach(N=>{c-=N.textContent.length})):c=1}y&&c===y.textContent.length&&qt&&y.getAttribute("data-slate-zero-width")==="z"&&(f=y.textContent)!==null&&f!==void 0&&f.startsWith("\uFEFF")&&(u.hasAttribute("data-slate-zero-width")||Ou&&(d=y.textContent)!==null&&d!==void 0&&d.endsWith(`
|
|
1830
1830
|
|
|
1831
|
-
`))&&c--}if(qt&&!l&&!n){var O=u.hasAttribute("data-slate-node")?u:u.closest("[data-slate-node]");if(O&&L.hasDOMNode(e,O,{editable:!0})){var F=L.toSlateNode(e,O),{path:I,offset:G}=C.start(e,L.findPath(e,F));return O.querySelector("[data-slate-leaf]")||(G=s),{path:I,offset:G}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var k=L.toSlateNode(e,l),H=L.findPath(e,k);return{path:H,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,i=l2(t)?t.anchorNode:t.startContainer,s,u,l,c,f;if(i)if(l2(t)){if(Ou&&t.rangeCount>1){l=t.focusNode;var d=t.getRangeAt(0),m=t.getRangeAt(t.rangeCount-1);if(l instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&m.startContainer instanceof HTMLTableRowElement){let E=function(D){return D.childElementCount>0?E(D.children[0]):D};var g=d.startContainer,v=m.startContainer,h=E(g.children[d.startOffset]),y=E(v.children[m.startOffset]);c=0,y.childNodes.length>0?s=y.childNodes[0]:s=y,h.childNodes.length>0?l=h.childNodes[0]:l=h,y instanceof HTMLElement?u=y.innerHTML.length:u=0}else d.startContainer===l?(s=m.endContainer,u=m.endOffset,c=d.startOffset):(s=d.startContainer,u=d.endOffset,c=m.startOffset)}else s=t.anchorNode,u=t.anchorOffset,l=t.focusNode,c=t.focusOffset;mE&&vJ(s)||Ou?f=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:f=t.isCollapsed}else s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,f=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 b;l=s,c=((b=s.textContent)===null||b===void 0?void 0:b.length)||0}var x=L.toSlatePoint(e,[s,u],{exactMatch:n,suppressThrow:o});if(!x)return null;var w=f?x:L.toSlatePoint(e,[l,c],{exactMatch:n,suppressThrow:o});if(!w)return null;var S={anchor:x,focus:w};return B.isExpanded(S)&&B.isForward(S)&&br(l)&&C.void(e,{at:S.focus,mode:"highest"})&&(S=C.unhangRange(e,S,{voids:!0})),S}};function wJ(e,t){var{path:r,diff:n}=t;if(!C.hasPath(e,r))return!1;var o=W.get(e,r);if(!Y.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 i=P.next(r);if(!C.hasPath(e,i))return!1;var s=W.get(e,i);return Y.isText(s)&&s.text.startsWith(n.text)}function xE(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,i)=>o.slice(0,i.start)+i.text+o.slice(i.end),e)}function SJ(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 DJ(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 wE(e,t){var{start:r,end:n,text:o}=t,i=e.slice(r,n),s=SJ(i,o),u=Math.min(i.length-s,o.length-s),l=DJ(i,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 EJ(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),i=xE(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=i.slice(n,s),l=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return wE(e,{start:n,end:l,text:u})}function TJ(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function f2(e,t){var{path:r,offset:n}=t;if(!C.hasPath(e,r))return null;var o=W.get(e,r);if(!Y.isText(o))return null;var i=C.above(e,{match:u=>K.isElement(u)&&C.isBlock(e,u),at:r});if(!i)return null;for(;n>o.text.length;){var s=C.next(e,{at:r,match:Y.isText});if(!s||!P.isDescendant(s[1],i[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function QD(e,t){var r=f2(e,t.anchor);if(!r)return null;if(B.isCollapsed(t))return{anchor:r,focus:r};var n=f2(e,t.focus);return n?{anchor:r,focus:n}:null}function p2(e,t,r){var n=Kt.get(e),o=n?.find(f=>{var{path:d}=f;return P.equals(d,t.path)});if(!o||t.offset<=o.diff.start)return ve.transform(t,r,{affinity:"backward"});var{diff:i}=o;if(t.offset<=i.start+i.text.length){var s={path:t.path,offset:i.start},u=ve.transform(s,r,{affinity:"backward"});return u?{path:u.path,offset:u.offset+t.offset-i.start}:null}var l={path:t.path,offset:t.offset-i.text.length+i.end-i.start},c=ve.transform(l,r,{affinity:"backward"});return c?r.type==="split_node"&&P.equals(r.path,t.path)&&l.offset<r.position&&i.start<r.position?c:{path:c.path,offset:c.offset+i.text.length-i.end+i.start}:null}function eE(e,t,r){var n=p2(e,t.anchor,r);if(!n)return null;if(B.isCollapsed(t))return{anchor:n,focus:n};var o=p2(e,t.focus,r);return o?{anchor:n,focus:o}:null}function PJ(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!P.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!P.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!P.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:P.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:P.transform(r,t,{affinity:"forward"})};case"merge_node":return P.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:P.transform(r,t)}:{diff:n,id:o,path:P.transform(r,t)}}var i=P.transform(r,t);return i?{diff:n,path:i,id:o}:null}function tE(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 Hp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tE(Object(r),!0).forEach(function(n){qp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var AJ=25,OJ=200,FJ=function(){},$J=e=>e?.constructor.name==="DataTransfer";function RJ(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,i=null,s=null,u=null,l=0,c=!1,f=()=>{var k=vo.get(t);if(vo.delete(t),k){var{selection:H}=t,N=QD(t,k);N&&(!H||!B.equals(N,H))&&V.select(t,N)}},d=()=>{var k=go.get(t);if(go.delete(t),!!k){if(k.at){var H=ve.isPoint(k.at)?f2(t,k.at):QD(t,k.at);if(!H)return;var N=C.range(t,H);(!t.selection||!B.equals(t.selection,N))&&V.select(t,H)}k.run()}},m=()=>{if(s&&(clearTimeout(s),s=null),u&&(clearTimeout(u),u=null),!S()&&!w()){f();return}o||(o=!0,setTimeout(()=>o=!1)),w()&&(o="action");var k=t.selection&&C.rangeRef(t,t.selection,{affinity:"forward"});Fn.set(t,t.marks),FJ("flush",go.get(t),Kt.get(t));for(var H=S(),N;N=(M=Kt.get(t))===null||M===void 0?void 0:M[0];){var M,Q,re=Tr.get(t);re!==void 0&&(Tr.delete(t),t.marks=re),re&&c===!1&&(c=null);var se=TJ(N);(!t.selection||!B.equals(t.selection,se))&&V.select(t,se),N.diff.text?C.insertText(t,N.diff.text):C.deleteFragment(t),Kt.set(t,(Q=Kt.get(t))===null||Q===void 0?void 0:Q.filter(ce=>{var{id:pe}=ce;return pe!==N.id})),wJ(t,N)||(H=!1,go.delete(t),Fn.delete(t),o="action",vo.delete(t),r.cancel(),n.cancel(),k?.unref())}var j=k?.unref();if(j&&!vo.get(t)&&(!t.selection||!B.equals(j,t.selection))&&V.select(t,j),w()){d();return}H&&r(),r.flush(),n.flush(),f();var ne=Fn.get(t);Fn.delete(t),ne!==void 0&&(t.marks=ne,t.onChange())},g=k=>{i&&clearTimeout(i),i=setTimeout(()=>{pi.set(t,!1),m()},AJ)},v=k=>{pi.set(t,!0),i&&(clearTimeout(i),i=null)},h=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,N=a2.get(t);if(N){if(S()||H){N.style.display="none";return}N.style.removeProperty("display")}},y=(k,H)=>{var N,M=(N=Kt.get(t))!==null&&N!==void 0?N:[];Kt.set(t,M);var Q=W.leaf(t,k),re=M.findIndex(ne=>P.equals(ne.path,k));if(re<0){var se=wE(Q.text,H);se&&M.push({path:k,diff:H,id:l++}),h();return}var j=EJ(Q.text,M[re].diff,H);if(!j){M.splice(re,1),h();return}M[re]=Hp(Hp({},M[re]),{},{diff:j})},b=function(H){var{at:N}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,vo.delete(t),r.cancel(),n.cancel(),w()&&m(),go.set(t,{at:N,run:H}),u=setTimeout(m)},x=k=>{var H;s&&(clearTimeout(s),s=null);var{inputType:N}=k,M=null,Q=k.dataTransfer||k.data||void 0;c!==!1&&N!=="insertText"&&N!=="insertCompositionText"&&(c=!1);var[re]=k.getTargetRanges();re&&(M=L.toSlateRange(t,re,{exactMatch:!1,suppressThrow:!0}));var se=L.getWindow(t),j=se.getSelection();if(!M&&j&&(re=j,M=L.toSlateRange(t,j,{exactMatch:!1,suppressThrow:!0})),M=(H=M)!==null&&H!==void 0?H:t.selection,!!M){var ne=!0;if(N.startsWith("delete")){if(B.isExpanded(M)){var[ce,pe]=B.edges(M),Be=W.leaf(t,ce.path);if(Be.text.length===ce.offset&&pe.offset===0){var A=C.next(t,{at:ce.path,match:Y.isText});A&&P.equals(A[1],pe.path)&&(M={anchor:pe,focus:pe})}}var _=N.endsWith("Backward")?"backward":"forward",[z,U]=B.edges(M),[ue,ee]=C.leaf(t,z.path),he={text:"",start:z.offset,end:U.offset},we=Kt.get(t),De=we?.find(Te=>P.equals(Te.path,ee)),Ae=De?[De.diff,he]:[he],Ce=xE(ue.text,...Ae);if(Ce.length===0&&(ne=!1),B.isExpanded(M)){if(ne&&P.equals(M.anchor.path,M.focus.path)){var je={path:M.anchor.path,offset:z.offset},Ye=C.range(t,je,je);return T(Ye),y(M.anchor.path,{text:"",end:U.offset,start:z.offset})}return b(()=>C.deleteFragment(t,{direction:_}),{at:M})}}switch(N){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return b(()=>C.deleteFragment(t),{at:M});case"deleteContent":case"deleteContentForward":{var{anchor:Ne}=M;if(ne&&B.isCollapsed(M)){var Tt=W.leaf(t,Ne.path);if(Ne.offset<Tt.text.length)return y(Ne.path,{text:"",start:Ne.offset,end:Ne.offset+1})}return b(()=>C.deleteForward(t),{at:M})}case"deleteContentBackward":{var Ct,{anchor:st}=M,ut=l2(re)?re.isCollapsed:!!((Ct=re)!==null&&Ct!==void 0&&Ct.collapsed);return ne&&ut&&B.isCollapsed(M)&&st.offset>0?y(st.path,{text:"",start:st.offset-1,end:st.offset}):b(()=>C.deleteBackward(t),{at:M})}case"deleteEntireSoftLine":return b(()=>{C.deleteBackward(t,{unit:"line"}),C.deleteForward(t,{unit:"line"})},{at:M});case"deleteHardLineBackward":return b(()=>C.deleteBackward(t,{unit:"block"}),{at:M});case"deleteSoftLineBackward":return b(()=>C.deleteBackward(t,{unit:"line"}),{at:M});case"deleteHardLineForward":return b(()=>C.deleteForward(t,{unit:"block"}),{at:M});case"deleteSoftLineForward":return b(()=>C.deleteForward(t,{unit:"line"}),{at:M});case"deleteWordBackward":return b(()=>C.deleteBackward(t,{unit:"word"}),{at:M});case"deleteWordForward":return b(()=>C.deleteForward(t,{unit:"word"}),{at:M});case"insertLineBreak":return b(()=>C.insertSoftBreak(t),{at:M});case"insertParagraph":return b(()=>C.insertBreak(t),{at:M});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if($J(Q))return b(()=>L.insertData(t,Q),{at:M});var $=Q??"";if(Tr.get(t)&&($=$.replace("\uFEFF","")),N==="insertText"&&/.*\n.*\n$/.test($)&&($=$.slice(0,-1)),$.includes(`
|
|
1832
|
-
`))return b(()=>{var Te
|
|
1833
|
-
`);Te.forEach((ht,Vn)=>{ht&&C.insertText(t,ht),Vn!==Te.length-1&&C.insertSoftBreak(t)})},{at:M});if(P.equals(M.anchor.path,M.focus.path)){var[X,te]=B.edges(M),q={start:X.offset,end:te.offset,text
|
|
1831
|
+
`))&&c--}if(qt&&!l&&!n){var O=u.hasAttribute("data-slate-node")?u:u.closest("[data-slate-node]");if(O&&L.hasDOMNode(e,O,{editable:!0})){var F=L.toSlateNode(e,O),{path:I,offset:G}=C.start(e,L.findPath(e,F));return O.querySelector("[data-slate-leaf]")||(G=s),{path:I,offset:G}}}if(!l){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var k=L.toSlateNode(e,l),H=L.findPath(e,k);return{path:H,offset:c}},toSlateRange:(e,t,r)=>{var{exactMatch:n,suppressThrow:o}=r,i=l2(t)?t.anchorNode:t.startContainer,s,u,l,c,f;if(i)if(l2(t)){if(Ou&&t.rangeCount>1){l=t.focusNode;var d=t.getRangeAt(0),m=t.getRangeAt(t.rangeCount-1);if(l instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&m.startContainer instanceof HTMLTableRowElement){let E=function(D){return D.childElementCount>0?E(D.children[0]):D};var g=d.startContainer,v=m.startContainer,h=E(g.children[d.startOffset]),y=E(v.children[m.startOffset]);c=0,y.childNodes.length>0?s=y.childNodes[0]:s=y,h.childNodes.length>0?l=h.childNodes[0]:l=h,y instanceof HTMLElement?u=y.innerHTML.length:u=0}else d.startContainer===l?(s=m.endContainer,u=m.endOffset,c=d.startOffset):(s=d.startContainer,u=d.endOffset,c=m.startOffset)}else s=t.anchorNode,u=t.anchorOffset,l=t.focusNode,c=t.focusOffset;mE&&vJ(s)||Ou?f=t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:f=t.isCollapsed}else s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,f=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 b;l=s,c=((b=s.textContent)===null||b===void 0?void 0:b.length)||0}var x=L.toSlatePoint(e,[s,u],{exactMatch:n,suppressThrow:o});if(!x)return null;var w=f?x:L.toSlatePoint(e,[l,c],{exactMatch:n,suppressThrow:o});if(!w)return null;var S={anchor:x,focus:w};return B.isExpanded(S)&&B.isForward(S)&&br(l)&&C.void(e,{at:S.focus,mode:"highest"})&&(S=C.unhangRange(e,S,{voids:!0})),S}};function wJ(e,t){var{path:r,diff:n}=t;if(!C.hasPath(e,r))return!1;var o=W.get(e,r);if(!Y.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 i=P.next(r);if(!C.hasPath(e,i))return!1;var s=W.get(e,i);return Y.isText(s)&&s.text.startsWith(n.text)}function xE(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,i)=>o.slice(0,i.start)+i.text+o.slice(i.end),e)}function SJ(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 DJ(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 wE(e,t){var{start:r,end:n,text:o}=t,i=e.slice(r,n),s=SJ(i,o),u=Math.min(i.length-s,o.length-s),l=DJ(i,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 EJ(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),i=xE(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=i.slice(n,s),l=Math.max(t.end,r.end-t.text.length+(t.end-t.start));return wE(e,{start:n,end:l,text:u})}function TJ(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function f2(e,t){var{path:r,offset:n}=t;if(!C.hasPath(e,r))return null;var o=W.get(e,r);if(!Y.isText(o))return null;var i=C.above(e,{match:u=>K.isElement(u)&&C.isBlock(e,u),at:r});if(!i)return null;for(;n>o.text.length;){var s=C.next(e,{at:r,match:Y.isText});if(!s||!P.isDescendant(s[1],i[1]))return null;n-=o.text.length,o=s[0],r=s[1]}return{path:r,offset:n}}function QD(e,t){var r=f2(e,t.anchor);if(!r)return null;if(B.isCollapsed(t))return{anchor:r,focus:r};var n=f2(e,t.focus);return n?{anchor:r,focus:n}:null}function p2(e,t,r){var n=Kt.get(e),o=n?.find(f=>{var{path:d}=f;return P.equals(d,t.path)});if(!o||t.offset<=o.diff.start)return ve.transform(t,r,{affinity:"backward"});var{diff:i}=o;if(t.offset<=i.start+i.text.length){var s={path:t.path,offset:i.start},u=ve.transform(s,r,{affinity:"backward"});return u?{path:u.path,offset:u.offset+t.offset-i.start}:null}var l={path:t.path,offset:t.offset-i.text.length+i.end-i.start},c=ve.transform(l,r,{affinity:"backward"});return c?r.type==="split_node"&&P.equals(r.path,t.path)&&l.offset<r.position&&i.start<r.position?c:{path:c.path,offset:c.offset+i.text.length-i.end+i.start}:null}function eE(e,t,r){var n=p2(e,t.anchor,r);if(!n)return null;if(B.isCollapsed(t))return{anchor:n,focus:n};var o=p2(e,t.focus,r);return o?{anchor:n,focus:o}:null}function PJ(e,t){var{path:r,diff:n,id:o}=e;switch(t.type){case"insert_text":return!P.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!P.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!P.equals(t.path,r)||t.position>=n.end?{diff:n,id:o,path:P.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:P.transform(r,t,{affinity:"forward"})};case"merge_node":return P.equals(t.path,r)?{diff:{start:n.start+t.position,end:n.end+t.position,text:n.text},id:o,path:P.transform(r,t)}:{diff:n,id:o,path:P.transform(r,t)}}var i=P.transform(r,t);return i?{diff:n,path:i,id:o}:null}function tE(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 Hp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tE(Object(r),!0).forEach(function(n){qp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var AJ=25,OJ=200,FJ=function(){},RJ=e=>e?.constructor.name==="DataTransfer";function $J(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:n}=e,o=!1,i=null,s=null,u=null,l=0,c=!1,f=()=>{var k=vo.get(t);if(vo.delete(t),k){var{selection:H}=t,N=QD(t,k);N&&(!H||!B.equals(N,H))&&V.select(t,N)}},d=()=>{var k=go.get(t);if(go.delete(t),!!k){if(k.at){var H=ve.isPoint(k.at)?f2(t,k.at):QD(t,k.at);if(!H)return;var N=C.range(t,H);(!t.selection||!B.equals(t.selection,N))&&V.select(t,H)}k.run()}},m=()=>{if(s&&(clearTimeout(s),s=null),u&&(clearTimeout(u),u=null),!S()&&!w()){f();return}o||(o=!0,setTimeout(()=>o=!1)),w()&&(o="action");var k=t.selection&&C.rangeRef(t,t.selection,{affinity:"forward"});Fn.set(t,t.marks),FJ("flush",go.get(t),Kt.get(t));for(var H=S(),N;N=(M=Kt.get(t))===null||M===void 0?void 0:M[0];){var M,Q,re=Tr.get(t);re!==void 0&&(Tr.delete(t),t.marks=re),re&&c===!1&&(c=null);var se=TJ(N);(!t.selection||!B.equals(t.selection,se))&&V.select(t,se),N.diff.text?C.insertText(t,N.diff.text):C.deleteFragment(t),Kt.set(t,(Q=Kt.get(t))===null||Q===void 0?void 0:Q.filter(ce=>{var{id:pe}=ce;return pe!==N.id})),wJ(t,N)||(H=!1,go.delete(t),Fn.delete(t),o="action",vo.delete(t),r.cancel(),n.cancel(),k?.unref())}var j=k?.unref();if(j&&!vo.get(t)&&(!t.selection||!B.equals(j,t.selection))&&V.select(t,j),w()){d();return}H&&r(),r.flush(),n.flush(),f();var ne=Fn.get(t);Fn.delete(t),ne!==void 0&&(t.marks=ne,t.onChange())},g=k=>{i&&clearTimeout(i),i=setTimeout(()=>{pi.set(t,!1),m()},AJ)},v=k=>{pi.set(t,!0),i&&(clearTimeout(i),i=null)},h=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,N=a2.get(t);if(N){if(S()||H){N.style.display="none";return}N.style.removeProperty("display")}},y=(k,H)=>{var N,M=(N=Kt.get(t))!==null&&N!==void 0?N:[];Kt.set(t,M);var Q=W.leaf(t,k),re=M.findIndex(ne=>P.equals(ne.path,k));if(re<0){var se=wE(Q.text,H);se&&M.push({path:k,diff:H,id:l++}),h();return}var j=EJ(Q.text,M[re].diff,H);if(!j){M.splice(re,1),h();return}M[re]=Hp(Hp({},M[re]),{},{diff:j})},b=function(H){var{at:N}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c=!1,vo.delete(t),r.cancel(),n.cancel(),w()&&m(),go.set(t,{at:N,run:H}),u=setTimeout(m)},x=k=>{var H;s&&(clearTimeout(s),s=null);var{inputType:N}=k,M=null,Q=k.dataTransfer||k.data||void 0;c!==!1&&N!=="insertText"&&N!=="insertCompositionText"&&(c=!1);var[re]=k.getTargetRanges();re&&(M=L.toSlateRange(t,re,{exactMatch:!1,suppressThrow:!0}));var se=L.getWindow(t),j=se.getSelection();if(!M&&j&&(re=j,M=L.toSlateRange(t,j,{exactMatch:!1,suppressThrow:!0})),M=(H=M)!==null&&H!==void 0?H:t.selection,!!M){var ne=!0;if(N.startsWith("delete")){if(B.isExpanded(M)){var[ce,pe]=B.edges(M),Be=W.leaf(t,ce.path);if(Be.text.length===ce.offset&&pe.offset===0){var A=C.next(t,{at:ce.path,match:Y.isText});A&&P.equals(A[1],pe.path)&&(M={anchor:pe,focus:pe})}}var _=N.endsWith("Backward")?"backward":"forward",[z,U]=B.edges(M),[ue,ee]=C.leaf(t,z.path),he={text:"",start:z.offset,end:U.offset},we=Kt.get(t),De=we?.find(Te=>P.equals(Te.path,ee)),Ae=De?[De.diff,he]:[he],Ce=xE(ue.text,...Ae);if(Ce.length===0&&(ne=!1),B.isExpanded(M)){if(ne&&P.equals(M.anchor.path,M.focus.path)){var je={path:M.anchor.path,offset:z.offset},Ye=C.range(t,je,je);return T(Ye),y(M.anchor.path,{text:"",end:U.offset,start:z.offset})}return b(()=>C.deleteFragment(t,{direction:_}),{at:M})}}switch(N){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return b(()=>C.deleteFragment(t),{at:M});case"deleteContent":case"deleteContentForward":{var{anchor:Ne}=M;if(ne&&B.isCollapsed(M)){var Tt=W.leaf(t,Ne.path);if(Ne.offset<Tt.text.length)return y(Ne.path,{text:"",start:Ne.offset,end:Ne.offset+1})}return b(()=>C.deleteForward(t),{at:M})}case"deleteContentBackward":{var Ct,{anchor:st}=M,ut=l2(re)?re.isCollapsed:!!((Ct=re)!==null&&Ct!==void 0&&Ct.collapsed);return ne&&ut&&B.isCollapsed(M)&&st.offset>0?y(st.path,{text:"",start:st.offset-1,end:st.offset}):b(()=>C.deleteBackward(t),{at:M})}case"deleteEntireSoftLine":return b(()=>{C.deleteBackward(t,{unit:"line"}),C.deleteForward(t,{unit:"line"})},{at:M});case"deleteHardLineBackward":return b(()=>C.deleteBackward(t,{unit:"block"}),{at:M});case"deleteSoftLineBackward":return b(()=>C.deleteBackward(t,{unit:"line"}),{at:M});case"deleteHardLineForward":return b(()=>C.deleteForward(t,{unit:"block"}),{at:M});case"deleteSoftLineForward":return b(()=>C.deleteForward(t,{unit:"line"}),{at:M});case"deleteWordBackward":return b(()=>C.deleteBackward(t,{unit:"word"}),{at:M});case"deleteWordForward":return b(()=>C.deleteForward(t,{unit:"word"}),{at:M});case"insertLineBreak":return b(()=>C.insertSoftBreak(t),{at:M});case"insertParagraph":return b(()=>C.insertBreak(t),{at:M});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(RJ(Q))return b(()=>L.insertData(t,Q),{at:M});var R=Q??"";if(Tr.get(t)&&(R=R.replace("\uFEFF","")),N==="insertText"&&/.*\n.*\n$/.test(R)&&(R=R.slice(0,-1)),R.includes(`
|
|
1832
|
+
`))return b(()=>{var Te=R.split(`
|
|
1833
|
+
`);Te.forEach((ht,Vn)=>{ht&&C.insertText(t,ht),Vn!==Te.length-1&&C.insertSoftBreak(t)})},{at:M});if(P.equals(M.anchor.path,M.focus.path)){var[X,te]=B.edges(M),q={start:X.offset,end:te.offset,text:R};if(R&&c&&N==="insertCompositionText"){var ae=c.start+c.text.search(/\S|$/),Se=q.start+q.text.search(/\S|$/);Se===ae+1&&q.end===c.start+c.text.length?(q.start-=1,c=null,I()):c=!1}else N==="insertText"?c===null?c=q:c&&B.isCollapsed(M)&&c.end+c.text.length===X.offset?c=Hp(Hp({},c),{},{text:c.text+R}):c=!1:c=!1;if(ne){y(X.path,q);return}}return b(()=>C.insertText(t,R),{at:M})}}}},w=()=>!!go.get(t),S=()=>{var k;return!!((k=Kt.get(t))!==null&&k!==void 0&&k.length)},E=()=>w()||S(),D=()=>o,T=k=>{vo.set(t,k),s&&(clearTimeout(s),s=null);var{selection:H}=t;if(k){var N=!H||!P.equals(H.anchor.path,k.anchor.path),M=!H||!P.equals(H.anchor.path.slice(0,-1),k.anchor.path.slice(0,-1));(N&&c||M)&&(c=!1),(N||S())&&(s=setTimeout(m,OJ))}},O=()=>{(w()||!S())&&m()},F=k=>{S()||(h(!0),setTimeout(h))},I=()=>{w()||(u=setTimeout(m))},G=k=>{if(!(S()||w())&&k.some(N=>b2(t,N,k))){var H;(H=gE.get(t))===null||H===void 0||H()}};return{flush:m,scheduleFlush:I,hasPendingDiffs:S,hasPendingAction:w,hasPendingChanges:E,isFlushing:D,handleUserSelect:T,handleCompositionEnd:g,handleCompositionStart:v,handleDOMBeforeInput:x,handleKeyDown:F,handleDomMutations:G,handleInput:O}}function BJ(){var e=cr(!1);return Rn(()=>(e.current=!0,()=>{e.current=!1}),[]),e.current}var $u=_p?QY:Rn;function MJ(e,t,r){var[n]=mi(()=>new MutationObserver(t));$u(()=>{n.takeRecords()}),Rn(()=>{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 IJ=["node"];function rE(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 kJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rE(Object(r),!0).forEach(function(n){qp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var NJ={subtree:!0,childList:!0,characterData:!0},VJ=qt?e=>{var{node:t}=e,r=qa(e,IJ);if(!qt)return null;var n=bo(),o=BJ(),[i]=mi(()=>$J(kJ({editor:n},r)));return MJ(t,i.handleDomMutations,NJ),v2.set(n,i.scheduleFlush),o&&i.flush(),i}:()=>null,LJ=["anchor","focus"],zJ=["anchor","focus"],HJ=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),SE=(e,t)=>{var r=qa(e,LJ),n=qa(t,zJ);return e[Xa]===t[Xa]&&HJ(r,n)},GJ=(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(!B.equals(n,o)||!SE(n,o))return!1}return!0},jJ=(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||!SE(n,o))return!1}return!0},_J=e=>{var{isLast:t,leaf:r,parent:n,text:o}=e,i=bo(),s=L.findPath(i,o),u=P.parent(s),l=r[vE]===!0;return i.isVoid(n)?me.createElement(i2,{length:W.string(n).length}):r.text===""&&n.children[n.children.length-1]===o&&!i.isInline(n)&&C.string(i,u)===""?me.createElement(i2,{isLineBreak:!0,isMarkPlaceholder:l}):r.text===""?me.createElement(i2,{isMarkPlaceholder:l}):t&&r.text.slice(-1)===`
|
|
1834
1834
|
`?me.createElement(nE,{isTrailing:!0,text:r.text}):me.createElement(nE,{text:r.text})},nE=e=>{var{text:t,isTrailing:r=!1}=e,n=cr(null),o=()=>"".concat(t??"").concat(r?`
|
|
1835
|
-
`:""),[i]=mi(o);return Ru(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),me.createElement(WJ,{ref:n},i)},WJ=eJ(tJ((e,t)=>me.createElement("span",{"data-slate-string":!0,ref:t},e.children))),i2=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),me.createElement("span",Object.assign({},o),!qt||!r?"\uFEFF":null,r?me.createElement("br",null):null)};function UJ(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function oE(e){e.current&&(clearTimeout(e.current),e.current=null)}var KJ=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:i,renderLeaf:s=x=>me.createElement(XJ,Object.assign({},x))}=e,u=bo(),l=cr(null),c=cr(null),[f,d]=mi(!1),m=cr(null),g=ke(x=>{if(UJ(l,x==null),x==null){var w;a2.delete(u),(w=t.onPlaceholderResize)===null||w===void 0||w.call(t,null)}else{if(a2.set(u,x),!l.current){var S=window.ResizeObserver||r2;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=me.createElement(_J,{isLast:r,leaf:t,parent:o,text:n}),h=t[Xa];if($n(()=>(h?m.current||(m.current=setTimeout(()=>{d(!0),m.current=null},300)):(oE(m),d(!1)),()=>oE(m)),[h,d]),h&&f){var y={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:Au?"inherit":void 0},contentEditable:!1,ref:g}};v=me.createElement(me.Fragment,null,i(y),v)}var b={"data-slate-leaf":!0};return s({attributes:b,children:v,leaf:t,text:n})},qJ=me.memo(KJ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&Y.equals(t.leaf,e.leaf)&&t.leaf[Xa]===e.leaf[Xa]),XJ=e=>{var{attributes:t,children:r}=e;return me.createElement("span",Object.assign({},t),r)},YJ=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:i,text:s}=e,u=bo(),l=cr(null),c=Y.decorations(s,t),f=L.findKey(u,s),d=[],m=0;m<c.length;m++){var g=c[m];d.push(me.createElement(qJ,{isLast:r&&m===c.length-1,key:"".concat(f.id,"-").concat(m),renderPlaceholder:o,leaf:g,text:s,parent:n,renderLeaf:i}))}var v=ke(h=>{var y=Xp.get(u);h?(y?.set(f,h),di.set(s,h),$u.set(h,s)):(y?.delete(f),di.delete(s),l.current&&$u.delete(l.current)),l.current=h},[l,u,f,s]);return me.createElement("span",{"data-slate-node":"text",ref:v},d)},DE=me.memo(YJ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&jJ(t.decorations,e.decorations)),JJ=e=>{var{decorations:t,element:r,renderElement:n=x=>me.createElement(QJ,Object.assign({},x)),renderPlaceholder:o,renderLeaf:i,selection:s}=e,u=bo(),l=tZ(),c=u.isInline(r),f=L.findKey(u,r),d=ke(x=>{var w=Xp.get(u);x?(w?.set(f,x),di.set(r,x),$u.set(x,r)):(w?.delete(f),di.delete(r))},[u,f,r]),m=AE({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:i,selection:s}),g={"data-slate-node":"element",ref:d};if(c&&(g["data-slate-inline"]=!0),!c&&C.hasInlines(u,r)){var v=W.string(r),h=(0,d2.default)(v);h==="rtl"&&(g.dir=h)}if(C.isVoid(u,r)){g["data-slate-void"]=!0,!l&&c&&(g.contentEditable=!1);var y=c?"span":"div",[[b]]=W.texts(r);m=me.createElement(y,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},me.createElement(DE,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:b})),h2.set(b,0),g2.set(b,r)}return n({attributes:g,children:m,element:r})},ZJ=me.memo(JJ,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&GJ(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&B.equals(e.selection,t.selection))),QJ=e=>{var{attributes:t,children:r,element:n}=e,o=bo(),i=o.isInline(n)?"span":"div";return me.createElement(i,Object.assign({},t,{style:{position:"relative"}}),r)},EE=hi(()=>[]),eZ=()=>Ya(EE),TE=hi(!1),PE=()=>Ya(TE),AE=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:i,selection:s}=e,u=eZ(),l=bo(),c=L.findPath(l,r),f=[],d=K.isElement(r)&&!l.isInline(r)&&C.hasInlines(l,r),m=0;m<r.children.length;m++){var g=c.concat(m),v=r.children[m],h=L.findKey(l,v),y=C.range(l,g),b=s&&B.intersection(y,s),x=u([v,g]);for(var w of t){var S=B.intersection(w,y);S&&x.push(S)}K.isElement(v)?f.push(me.createElement(TE.Provider,{key:"provider-".concat(h.id),value:!!b},me.createElement(ZJ,{decorations:x,element:v,key:h.id,renderElement:n,renderPlaceholder:o,renderLeaf:i,selection:b}))):f.push(me.createElement(DE,{decorations:x,key:h.id,isLast:d&&m===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:i,text:v})),h2.set(v,m),g2.set(v,r)}return f},OE=hi(!1),tZ=()=>Ya(OE),FE=hi(null),Yp=()=>{var e=Ya(FE);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function rZ(){var e=bo(),t=cr(!1),r=cr(0),n=ke(()=>{if(!t.current){t.current=!0;var o=L.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return $n(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var nZ=3,oZ={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"},iZ={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"},aZ={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Ge=e=>{var t=oZ[e],r=iZ[e],n=aZ[e],o=t&&(0,jp.isHotkey)(t),i=r&&(0,jp.isHotkey)(r),s=n&&(0,jp.isHotkey)(n);return u=>!!(o&&o(u)||ZD&&i&&i(u)||!ZD&&s&&s(u))},We={isBold:Ge("bold"),isCompose:Ge("compose"),isMoveBackward:Ge("moveBackward"),isMoveForward:Ge("moveForward"),isDeleteBackward:Ge("deleteBackward"),isDeleteForward:Ge("deleteForward"),isDeleteLineBackward:Ge("deleteLineBackward"),isDeleteLineForward:Ge("deleteLineForward"),isDeleteWordBackward:Ge("deleteWordBackward"),isDeleteWordForward:Ge("deleteWordForward"),isExtendBackward:Ge("extendBackward"),isExtendForward:Ge("extendForward"),isExtendLineBackward:Ge("extendLineBackward"),isExtendLineForward:Ge("extendLineForward"),isItalic:Ge("italic"),isMoveLineBackward:Ge("moveLineBackward"),isMoveLineForward:Ge("moveLineForward"),isMoveWordBackward:Ge("moveWordBackward"),isMoveWordForward:Ge("moveWordForward"),isRedo:Ge("redo"),isSoftBreak:Ge("insertSoftBreak"),isSplitBlock:Ge("splitBlock"),isTransposeCharacter:Ge("transposeCharacter"),isUndo:Ge("undo")},sZ=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var u=s.filter(l=>b2(e,l,s));r.push(...u)}};function i(){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:i,clear:n}},uZ={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},Kp=class extends rJ{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,uZ)}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 i;(i=this.manager)===null||i===void 0||i.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}};Kp.contextType=m2;var lZ=qt?Kp:e=>{var{children:t}=e;return me.createElement(me.Fragment,null,t)},cZ=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],fZ=["text"];function iE(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 Ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iE(Object(r),!0).forEach(function(n){qp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var pZ=e=>me.createElement(me.Fragment,null,AE(e)),$E=e=>{var t=ke(A=>me.createElement(dZ,Object.assign({},A)),[]),{autoFocus:r,decorate:n=mZ,onDOMBeforeInput:o,placeholder:i,readOnly:s=!1,renderElement:u,renderLeaf:l,renderPlaceholder:c=t,scrollSelectionIntoView:f=hZ,style:d={},as:m="div",disableDefaultStyles:g=!1}=e,v=qa(e,cZ),h=Yp(),[y,b]=mi(!1),x=cr(null),w=cr([]),[S,E]=mi(),{onUserInput:D,receivedUserInput:T}=rZ(),[,O]=nJ(A=>A+1,0);gE.set(h,O),s2.set(h,s);var F=Gp(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);$n(()=>{x.current&&r&&x.current.focus()},[r]);var I=cr(),G=Gp(()=>(0,pE.default)(()=>{var A=I.current;if((qt||!L.isComposing(h))&&(!F.isUpdatingSelection||A!=null&&A.isFlushing())&&!F.isDraggingInternally){var _=L.findDocumentOrShadowRoot(h),{activeElement:z}=_,U=L.toDOMNode(h,h),ue=_.getSelection();if(z===U?(F.latestElement=z,fi.set(h,!0)):fi.delete(h),!ue)return V.deselect(h);var{anchorNode:ee,focusNode:he}=ue,we=L.hasEditableTarget(h,ee)||L.isTargetInsideNonReadonlyVoid(h,ee),De=L.hasEditableTarget(h,he)||L.isTargetInsideNonReadonlyVoid(h,he);if(we&&De){var Ae=L.toSlateRange(h,ue,{exactMatch:!1,suppressThrow:!0});Ae&&(!L.isComposing(h)&&!(A!=null&&A.hasPendingChanges())&&!(A!=null&&A.isFlushing())?V.select(h,Ae):A?.handleUserSelect(Ae))}s&&(!we||!De)&&V.deselect(h)}},100),[h,s,F]),k=Gp(()=>(0,fE.default)(G,0),[G]);I.current=VJ({node:x,onDOMSelectionChange:G,scheduleOnDOMSelectionChange:k}),Ru(()=>{var A,_,z;x.current&&(z=y2(x.current))?(hE.set(h,z),Wp.set(h,x.current),di.set(h,x.current),$u.set(x.current,h)):di.delete(h);var{selection:U}=h,ue=L.findDocumentOrShadowRoot(h),ee=ue.getSelection();if(!(!ee||!L.isFocused(h)||(A=I.current)!==null&&A!==void 0&&A.hasPendingAction())){var he=Ce=>{var je=ee.type!=="None";if(!(!U&&!je)){var Ye=ee.focusNode,Ne;if(Ou&&ee.rangeCount>1){var Tt=ee.getRangeAt(0),Ct=ee.getRangeAt(ee.rangeCount-1);Tt.startContainer===Ye?Ne=Ct.endContainer:Ne=Tt.startContainer}else Ne=ee.anchorNode;var st=Wp.get(h),ut=!1;if(st.contains(Ne)&&st.contains(Ye)&&(ut=!0),je&&ut&&U&&!Ce){var $=L.toSlateRange(h,ee,{exactMatch:!0,suppressThrow:!0});if($&&B.equals($,U)){var X,te;if(!F.hasMarkPlaceholder||(X=Ne)!==null&&X!==void 0&&(te=X.parentElement)!==null&&te!==void 0&&te.hasAttribute("data-slate-mark-placeholder"))return}}if(U&&!L.hasRange(h,U)){h.selection=L.toSlateRange(h,ee,{exactMatch:!1,suppressThrow:!0});return}F.isUpdatingSelection=!0;var q=U&&L.toDOMRange(h,U);return q?(L.isComposing(h)&&!qt?ee.collapseToEnd():B.isBackward(U)?ee.setBaseAndExtent(q.endContainer,q.endOffset,q.startContainer,q.startOffset):ee.setBaseAndExtent(q.startContainer,q.startOffset,q.endContainer,q.endOffset),f(h,q)):ee.removeAllRanges(),q}};ee.rangeCount<=1&&he();var we=((_=I.current)===null||_===void 0?void 0:_.isFlushing())==="action";if(!qt||!we){setTimeout(()=>{F.isUpdatingSelection=!1});return}var De=null,Ae=requestAnimationFrame(()=>{if(we){var Ce=je=>{try{var Ye=L.toDOMNode(h,h);Ye.focus(),he(je)}catch{}};Ce(),De=setTimeout(()=>{Ce(!0),F.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Ae),De&&clearTimeout(De)}}});var H=ke(A=>{if(D(),!s&&L.hasEditableTarget(h,A.target)&&!gZ(A,o)){var _;if(I.current)return I.current.handleDOMBeforeInput(A);k.flush(),G.flush();var{selection:z}=h,{inputType:U}=A,ue=A.dataTransfer||A.data||void 0,ee=U==="insertCompositionText"||U==="deleteCompositionText";if(ee&&L.isComposing(h))return;var he=!1;if(U==="insertText"&&z&&B.isCollapsed(z)&&A.data&&A.data.length===1&&/[a-z ]/i.test(A.data)&&z.anchor.offset!==0){var we,De;he=!0,h.marks&&(he=!1);var{anchor:Ae}=z,[Ce,je]=L.toDOMPoint(h,Ae),Ye=(we=Ce.parentElement)===null||we===void 0?void 0:we.closest("a"),Ne=L.getWindow(h);if(he&&Ye&&L.hasDOMNode(h,Ye)){var Tt,Ct=Ne?.document.createTreeWalker(Ye,NodeFilter.SHOW_TEXT).lastChild();Ct===Ce&&((Tt=Ct.textContent)===null||Tt===void 0?void 0:Tt.length)===je&&(he=!1)}if(he&&Ce.parentElement&&(Ne==null||(De=Ne.getComputedStyle(Ce.parentElement))===null||De===void 0?void 0:De.whiteSpace)==="pre"){var st=C.above(h,{at:Ae.path,match:ae=>K.isElement(ae)&&C.isBlock(h,ae)});st&&W.string(st[0]).includes(" ")&&(he=!1)}}if(!U.startsWith("delete")||U.startsWith("deleteBy")){var[ut]=A.getTargetRanges();if(ut){var $=L.toSlateRange(h,ut,{exactMatch:!1,suppressThrow:!1});if(!z||!B.equals(z,$)){he=!1;var X=!ee&&h.selection&&C.rangeRef(h,h.selection);V.select(h,$),X&&Fu.set(h,X)}}}if(ee)return;if(he||A.preventDefault(),z&&B.isExpanded(z)&&U.startsWith("delete")){var te=U.endsWith("Backward")?"backward":"forward";C.deleteFragment(h,{direction:te});return}switch(U){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{C.deleteFragment(h);break}case"deleteContent":case"deleteContentForward":{C.deleteForward(h);break}case"deleteContentBackward":{C.deleteBackward(h);break}case"deleteEntireSoftLine":{C.deleteBackward(h,{unit:"line"}),C.deleteForward(h,{unit:"line"});break}case"deleteHardLineBackward":{C.deleteBackward(h,{unit:"block"});break}case"deleteSoftLineBackward":{C.deleteBackward(h,{unit:"line"});break}case"deleteHardLineForward":{C.deleteForward(h,{unit:"block"});break}case"deleteSoftLineForward":{C.deleteForward(h,{unit:"line"});break}case"deleteWordBackward":{C.deleteBackward(h,{unit:"word"});break}case"deleteWordForward":{C.deleteForward(h,{unit:"word"});break}case"insertLineBreak":C.insertSoftBreak(h);break;case"insertParagraph":{C.insertBreak(h);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{U==="insertFromComposition"&&L.isComposing(h)&&(b(!1),pi.set(h,!1)),ue?.constructor.name==="DataTransfer"?L.insertData(h,ue):typeof ue=="string"&&(he?w.current.push(()=>C.insertText(h,ue)):C.insertText(h,ue));break}}var q=(_=Fu.get(h))===null||_===void 0?void 0:_.unref();Fu.delete(h),q&&(!h.selection||!B.equals(h.selection,q))&&V.select(h,q)}},[h,G,D,o,s,k]),N=ke(A=>{A==null?(G.cancel(),k.cancel(),Wp.delete(h),di.delete(h),x.current&&ho&&x.current.removeEventListener("beforeinput",H)):ho&&A.addEventListener("beforeinput",H),x.current=A},[G,k,h,H]);Ru(()=>{var A=L.getWindow(h);return A.document.addEventListener("selectionchange",k),()=>{A.document.removeEventListener("selectionchange",k)}},[k]);var M=n([h,[]]),Q=i&&h.children.length===1&&Array.from(W.texts(h)).length===1&&W.string(h)===""&&!y,re=ke(A=>{if(A&&Q){var _;E((_=A.getBoundingClientRect())===null||_===void 0?void 0:_.height)}else E(void 0)},[Q]);if(Q){var se=C.start(h,[]);M.push({[Xa]:!0,placeholder:i,onPlaceholderResize:re,anchor:se,focus:se})}var{marks:j}=h;if(F.hasMarkPlaceholder=!1,h.selection&&B.isCollapsed(h.selection)&&j){var{anchor:ne}=h.selection,ce=W.leaf(h,ne.path),pe=qa(ce,fZ);if(!Y.equals(ce,j,{loose:!0})){F.hasMarkPlaceholder=!0;var Be=Object.fromEntries(Object.keys(pe).map(A=>[A,null]));M.push(Ua(Ua(Ua({[vE]:!0},Be),j),{},{anchor:ne,focus:ne}))}}return $n(()=>{setTimeout(()=>{var{selection:A}=h;if(A){var{anchor:_}=A,z=W.leaf(h,_.path);if(j&&!Y.equals(z,j,{loose:!0})){Tr.set(h,j);return}}Tr.delete(h)})}),me.createElement(OE.Provider,{value:s},me.createElement(EE.Provider,{value:n},me.createElement(lZ,{node:x,receivedUserInput:T},me.createElement(m,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:ho||!_p?v.spellCheck:!1,autoCorrect:ho||!_p?v.autoCorrect:"false",autoCapitalize:ho||!_p?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:N,style:Ua(Ua({},g?{}:Ua({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},S?{minHeight:S}:{})),d),onBeforeInput:ke(A=>{if(!ho&&!s&&!Bt(A,v.onBeforeInput)&&L.hasSelectableTarget(h,A.target)&&(A.preventDefault(),!L.isComposing(h))){var _=A.data;C.insertText(h,_)}},[v.onBeforeInput,h,s]),onInput:ke(A=>{if(!Bt(A,v.onInput)){if(I.current){I.current.handleInput();return}for(var _ of w.current)_();w.current=[]}},[v.onInput]),onBlur:ke(A=>{if(!(s||F.isUpdatingSelection||!L.hasSelectableTarget(h,A.target)||Bt(A,v.onBlur))){var _=L.findDocumentOrShadowRoot(h);if(F.latestElement!==_.activeElement){var{relatedTarget:z}=A,U=L.toDOMNode(h,h);if(z!==U&&!(br(z)&&z.hasAttribute("data-slate-spacer"))){if(z!=null&&yo(z)&&L.hasDOMNode(h,z)){var ue=L.toSlateNode(h,z);if(K.isElement(ue)&&!h.isVoid(ue))return}if(Au){var ee=_.getSelection();ee?.removeAllRanges()}fi.delete(h)}}}},[s,F.isUpdatingSelection,F.latestElement,h,v.onBlur]),onClick:ke(A=>{if(L.hasTarget(h,A.target)&&!Bt(A,v.onClick)&&yo(A.target)){var _=L.toSlateNode(h,A.target),z=L.findPath(h,_);if(!C.hasPath(h,z)||W.get(h,z)!==_)return;if(A.detail===nZ&&z.length>=1){var U=z;if(!(K.isElement(_)&&C.isBlock(h,_))){var ue,ee=C.above(h,{match:Ye=>K.isElement(Ye)&&C.isBlock(h,Ye),at:z});U=(ue=ee?.[1])!==null&&ue!==void 0?ue:z.slice(0,1)}var he=C.range(h,U);V.select(h,he);return}if(s)return;var we=C.start(h,z),De=C.end(h,z),Ae=C.void(h,{at:we}),Ce=C.void(h,{at:De});if(Ae&&Ce&&P.equals(Ae[1],Ce[1])){var je=C.range(h,we);V.select(h,je)}}},[h,v.onClick,s]),onCompositionEnd:ke(A=>{if(L.hasSelectableTarget(h,A.target)){var _;if(L.isComposing(h)&&(b(!1),pi.set(h,!1)),(_=I.current)===null||_===void 0||_.handleCompositionEnd(A),Bt(A,v.onCompositionEnd)||qt)return;if(!Au&&!cJ&&!aJ&&!pJ&&!fJ&&A.data){var z=Tr.get(h);Tr.delete(h),z!==void 0&&(Fn.set(h,h.marks),h.marks=z),C.insertText(h,A.data);var U=Fn.get(h);Fn.delete(h),U!==void 0&&(h.marks=U)}}},[v.onCompositionEnd,h]),onCompositionUpdate:ke(A=>{L.hasSelectableTarget(h,A.target)&&!Bt(A,v.onCompositionUpdate)&&(L.isComposing(h)||(b(!0),pi.set(h,!0)))},[v.onCompositionUpdate,h]),onCompositionStart:ke(A=>{if(L.hasSelectableTarget(h,A.target)){var _;if((_=I.current)===null||_===void 0||_.handleCompositionStart(A),Bt(A,v.onCompositionStart)||qt)return;b(!0);var{selection:z}=h;if(z){if(B.isExpanded(z)){C.deleteFragment(h);return}var U=C.above(h,{match:he=>K.isElement(he)&&C.isInline(h,he),mode:"highest"});if(U){var[,ue]=U;if(C.isEnd(h,z.anchor,ue)){var ee=C.after(h,ue);V.setSelection(h,{anchor:ee,focus:ee})}}}}},[v.onCompositionStart,h]),onCopy:ke(A=>{L.hasSelectableTarget(h,A.target)&&!Bt(A,v.onCopy)&&!aE(A)&&(A.preventDefault(),L.setFragmentData(h,A.clipboardData,"copy"))},[v.onCopy,h]),onCut:ke(A=>{if(!s&&L.hasSelectableTarget(h,A.target)&&!Bt(A,v.onCut)&&!aE(A)){A.preventDefault(),L.setFragmentData(h,A.clipboardData,"cut");var{selection:_}=h;if(_)if(B.isExpanded(_))C.deleteFragment(h);else{var z=W.parent(h,_.anchor.path);C.isVoid(h,z)&&V.delete(h)}}},[s,h,v.onCut]),onDragOver:ke(A=>{if(L.hasTarget(h,A.target)&&!Bt(A,v.onDragOver)){var _=L.toSlateNode(h,A.target);K.isElement(_)&&C.isVoid(h,_)&&A.preventDefault()}},[v.onDragOver,h]),onDragStart:ke(A=>{if(!s&&L.hasTarget(h,A.target)&&!Bt(A,v.onDragStart)){var _=L.toSlateNode(h,A.target),z=L.findPath(h,_),U=K.isElement(_)&&C.isVoid(h,_)||C.void(h,{at:z,voids:!0});if(U){var ue=C.range(h,z);V.select(h,ue)}F.isDraggingInternally=!0,L.setFragmentData(h,A.dataTransfer,"drag")}},[s,h,v.onDragStart,F]),onDrop:ke(A=>{if(!s&&L.hasTarget(h,A.target)&&!Bt(A,v.onDrop)){A.preventDefault();var _=h.selection,z=L.findEventRange(h,A),U=A.dataTransfer;V.select(h,z),F.isDraggingInternally&&_&&!B.equals(_,z)&&!C.void(h,{at:z,voids:!0})&&V.delete(h,{at:_}),L.insertData(h,U),L.isFocused(h)||L.focus(h)}F.isDraggingInternally=!1},[s,h,v.onDrop,F]),onDragEnd:ke(A=>{!s&&F.isDraggingInternally&&v.onDragEnd&&L.hasTarget(h,A.target)&&v.onDragEnd(A),F.isDraggingInternally=!1},[s,F,v,h]),onFocus:ke(A=>{if(!s&&!F.isUpdatingSelection&&L.hasEditableTarget(h,A.target)&&!Bt(A,v.onFocus)){var _=L.toDOMNode(h,h),z=L.findDocumentOrShadowRoot(h);if(F.latestElement=z.activeElement,Ou&&A.target!==_){_.focus();return}fi.set(h,!0)}},[s,F,h,v.onFocus]),onKeyDown:ke(A=>{if(!s&&L.hasEditableTarget(h,A.target)){var _;(_=I.current)===null||_===void 0||_.handleKeyDown(A);var{nativeEvent:z}=A;if(L.isComposing(h)&&z.isComposing===!1&&(pi.set(h,!1),b(!1)),Bt(A,v.onKeyDown)||L.isComposing(h))return;var{selection:U}=h,ue=h.children[U!==null?U.focus.path[0]:0],ee=(0,d2.default)(W.string(ue))==="rtl";if(We.isRedo(z)){A.preventDefault();var he=h;typeof he.redo=="function"&&he.redo();return}if(We.isUndo(z)){A.preventDefault();var we=h;typeof we.undo=="function"&&we.undo();return}if(We.isMoveLineBackward(z)){A.preventDefault(),V.move(h,{unit:"line",reverse:!0});return}if(We.isMoveLineForward(z)){A.preventDefault(),V.move(h,{unit:"line"});return}if(We.isExtendLineBackward(z)){A.preventDefault(),V.move(h,{unit:"line",edge:"focus",reverse:!0});return}if(We.isExtendLineForward(z)){A.preventDefault(),V.move(h,{unit:"line",edge:"focus"});return}if(We.isMoveBackward(z)){A.preventDefault(),U&&B.isCollapsed(U)?V.move(h,{reverse:!ee}):V.collapse(h,{edge:"start"});return}if(We.isMoveForward(z)){A.preventDefault(),U&&B.isCollapsed(U)?V.move(h,{reverse:ee}):V.collapse(h,{edge:"end"});return}if(We.isMoveWordBackward(z)){A.preventDefault(),U&&B.isExpanded(U)&&V.collapse(h,{edge:"focus"}),V.move(h,{unit:"word",reverse:!ee});return}if(We.isMoveWordForward(z)){A.preventDefault(),U&&B.isExpanded(U)&&V.collapse(h,{edge:"focus"}),V.move(h,{unit:"word",reverse:ee});return}if(ho){if((mE||Au)&&U&&(We.isDeleteBackward(z)||We.isDeleteForward(z))&&B.isCollapsed(U)){var De=W.parent(h,U.anchor.path);if(K.isElement(De)&&C.isVoid(h,De)&&(C.isInline(h,De)||C.isBlock(h,De))){A.preventDefault(),C.deleteBackward(h,{unit:"block"});return}}}else{if(We.isBold(z)||We.isItalic(z)||We.isTransposeCharacter(z)){A.preventDefault();return}if(We.isSoftBreak(z)){A.preventDefault(),C.insertSoftBreak(h);return}if(We.isSplitBlock(z)){A.preventDefault(),C.insertBreak(h);return}if(We.isDeleteBackward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"backward"}):C.deleteBackward(h);return}if(We.isDeleteForward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"forward"}):C.deleteForward(h);return}if(We.isDeleteLineBackward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"backward"}):C.deleteBackward(h,{unit:"line"});return}if(We.isDeleteLineForward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"forward"}):C.deleteForward(h,{unit:"line"});return}if(We.isDeleteWordBackward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"backward"}):C.deleteBackward(h,{unit:"word"});return}if(We.isDeleteWordForward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"forward"}):C.deleteForward(h,{unit:"word"});return}}}},[s,h,v.onKeyDown]),onPaste:ke(A=>{!s&&L.hasEditableTarget(h,A.target)&&!Bt(A,v.onPaste)&&(!ho||hJ(A.nativeEvent)||Au)&&(A.preventDefault(),L.insertData(h,A.clipboardData))},[s,h,v.onPaste])}),me.createElement(pZ,{decorations:M,node:h,renderElement:u,renderPlaceholder:c,renderLeaf:l,selection:h.selection})))))},dZ=e=>{var{attributes:t,children:r}=e;return me.createElement("span",Object.assign({},t),r,qt&&me.createElement("br",null))},mZ=()=>[],hZ=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&B.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),VS(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},Bt=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},aE=e=>yo(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),gZ=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},RE=hi(!1),BE=()=>Ya(RE);var vZ=hi({});function yZ(e){var t=cr([]).current,r=cr({editor:e}).current,n=ke(i=>{r.editor=i,t.forEach(s=>s(i))},[t,r]),o=Gp(()=>({getSlate:()=>r.editor,addEventListener:i=>(t.push(i),()=>{t.splice(t.indexOf(i),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var bZ=["editor","children","onChange","initialValue"],ME=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,i=qa(e,bZ),[s,u]=me.useState(()=>{if(!W.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(ot.stringify(o)));if(!C.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(ot.stringify(t)));return t.children=o,Object.assign(t,i),{v:0,editor:t}}),{selectorContext:l,onChange:c}=yZ(t),f=ke(()=>{n&&n(t.children),u(g=>({v:g.v+1,editor:t})),c(t)},[t,c,n]);$n(()=>(u2.set(t,f),()=>{u2.set(t,()=>{})}),[t,f]);var[d,m]=mi(L.isFocused(t));return $n(()=>{m(L.isFocused(t))},[t]),Ru(()=>{var g=()=>m(L.isFocused(t));return dE>=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)})},[]),me.createElement(vZ.Provider,{value:l},me.createElement(FE.Provider,{value:s},me.createElement(m2.Provider,{value:s.editor},me.createElement(RE.Provider,{value:d},r))))};var sE=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},uE=(e,t,r)=>{var n=L.toDOMRange(e,t).getBoundingClientRect(),o=L.toDOMRange(e,r).getBoundingClientRect();return sE(n,o)&&sE(o,n)},CZ=(e,t)=>{var r=C.range(e,B.end(t)),n=Array.from(C.positions(e,{at:t})),o=0,i=n.length,s=Math.floor(i/2);if(uE(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;)uE(e,C.range(e,n[s]),r)?i=s:o=s,s=Math.floor((o+i)/2);return C.range(e,n[i],r)};function lE(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 cE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lE(Object(r),!0).forEach(function(n){qp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var IE=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:i,deleteBackward:s,addMark:u,removeMark:l}=n;return Xp.set(n,new WeakMap),n.addMark=(c,f)=>{var d,m;(d=v2.get(n))===null||d===void 0||d(),!Tr.get(n)&&(m=Kt.get(n))!==null&&m!==void 0&&m.length&&Tr.set(n,null),Fn.delete(n),u(c,f)},n.removeMark=c=>{var f;!Tr.get(n)&&(f=Kt.get(n))!==null&&f!==void 0&&f.length&&Tr.set(n,null),Fn.delete(n),l(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&B.isCollapsed(n.selection)){var f=C.above(n,{match:v=>K.isElement(v)&&C.isBlock(n,v),at:n.selection});if(f){var[,d]=f,m=C.range(n,d,n.selection.anchor),g=CZ(n,m);B.isCollapsed(g)||V.delete(n,{at:g})}}},n.apply=c=>{var f=[],d=[],m=Kt.get(n);if(m!=null&&m.length){var g=m.map(N=>PJ(N,c)).filter(Boolean);Kt.set(n,g)}var v=vo.get(n);v&&vo.set(n,eE(n,v,c));var h=go.get(n);if(h!=null&&h.at){var y=ve.isPoint(h?.at)?p2(n,h.at,c):eE(n,h.at,c);go.set(n,y?cE(cE({},h),{},{at:y}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{f.push(...Ka(n,c.path));break}case"set_selection":{var b;(b=Fu.get(n))===null||b===void 0||b.unref(),Fu.delete(n);break}case"insert_node":case"remove_node":{f.push(...Ka(n,P.parent(c.path)));break}case"merge_node":{var x=P.previous(c.path);f.push(...Ka(n,x));break}case"move_node":{var w=P.common(P.parent(c.path),P.parent(c.newPath));f.push(...Ka(n,w));var S;P.isBefore(c.path,c.newPath)?(f.push(...Ka(n,P.parent(c.path))),S=c.newPath):(f.push(...Ka(n,P.parent(c.newPath))),S=c.path);var E=W.get(t,P.parent(S)),D=L.findKey(n,E),T=C.pathRef(n,P.parent(S));d.push([T,D]);break}}o(c);for(var[O,F]of f){var[I]=C.node(n,O);Up.set(I,F)}for(var[G,k]of d)if(G.current){var[H]=C.node(n,G.current);Up.set(H,k)}},n.setFragmentData=c=>{var{selection:f}=n;if(f){var[d,m]=B.edges(f),g=C.void(n,{at:d.path}),v=C.void(n,{at:m.path});if(!(B.isCollapsed(f)&&!g)){var h=L.toDOMRange(n,f),y=h.cloneContents(),b=y.childNodes[0];if(y.childNodes.forEach(I=>{I.textContent&&I.textContent.trim()!==""&&(b=I)}),v){var[x]=v,w=h.cloneRange(),S=L.toDOMNode(n,x);w.setEndAfter(S),y=w.cloneContents()}if(g&&(b=y.querySelector("[data-slate-spacer]")),Array.from(y.querySelectorAll("[data-slate-zero-width]")).forEach(I=>{var G=I.getAttribute("data-slate-zero-width")==="n";I.textContent=G?`
|
|
1836
|
-
`:""}),yE(b)){var E=b.ownerDocument.createElement("span");E.style.whiteSpace="pre",E.appendChild(b),y.appendChild(E),b=E}var D=n.getFragment(),T=JSON.stringify(D),O=window.btoa(encodeURIComponent(T));b.setAttribute("data-slate-fragment",O),c.setData("application/".concat(r),O);var F=y.ownerDocument.createElement("div");return F.appendChild(y),F.setAttribute("hidden","true"),y.ownerDocument.body.appendChild(F),c.setData("text/html",F.innerHTML),c.setData("text/plain",CE(F)),y.ownerDocument.body.removeChild(F),c}}},n.insertData=c=>{n.insertFragmentData(c)||n.insertTextData(c)},n.insertFragmentData=c=>{var f=c.getData("application/".concat(r))||CJ(c);if(f){var d=decodeURIComponent(window.atob(f)),m=JSON.parse(d);return n.insertFragment(m),!0}return!1},n.insertTextData=c=>{var f=c.getData("text/plain");if(f){var d=f.split(/\r\n|\r|\n/),m=!1;for(var g of d)m&&V.splitNodes(n,{always:!0}),n.insertText(g),m=!0;return!0}return!1},n.onChange=c=>{var f=dE<18?oJ.unstable_batchedUpdates:d=>d();f(()=>{var d=u2.get(n);d&&d(),i(c)})},n},Ka=(e,t)=>{var r=[];for(var[n,o]of C.levels(e,{at:t})){var i=L.findKey(e,n);r.push([o,i])}return r};a();var xZ={isHistory(e){return Xe(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||An.isOperationList(e.redos[0].operations))&&(e.undos.length===0||An.isOperationList(e.undos[0].operations))}};var C2=new WeakMap,x2=new WeakMap,Ja={isHistoryEditor(e){return xZ.isHistory(e.history)&&C.isEditor(e)},isMerging(e){return x2.get(e)},isSaving(e){return C2.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var r=Ja.isMerging(e);x2.set(e,!1),t(),x2.set(e,r)},withoutSaving(e,t){var r=Ja.isSaving(e);C2.set(e,!1),t(),C2.set(e,r)}},kE=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 i=o[o.length-1];i.selectionBefore&&V.setSelection(t,i.selectionBefore),Ja.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{for(var s of i.operations)t.apply(s)})}),n.redos.pop(),t.writeHistory("undos",i)}},t.undo=()=>{var{history:n}=t,{undos:o}=n;if(o.length>0){var i=o[o.length-1];Ja.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{var s=i.operations.map(An.inverse).reverse();for(var u of s)t.apply(u);i.selectionBefore&&V.setSelection(t,i.selectionBefore)})}),t.writeHistory("redos",i),n.undos.pop()}},t.apply=n=>{var{operations:o,history:i}=t,{undos:s}=i,u=s[s.length-1],l=u&&u.operations[u.operations.length-1],c=Ja.isSaving(t),f=Ja.isMerging(t);if(c==null&&(c=SZ(n)),c){if(f==null&&(u==null?f=!1:o.length!==0?f=!0:f=wZ(n,l)),u&&f)u.operations.push(n);else{var d={operations:[n],selectionBefore:t.selection};t.writeHistory("undos",d)}for(;s.length>100;)s.shift();i.redos=[]}r(n)},t.writeHistory=(n,o)=>{t.history[n].push(o)},t},wZ=(e,t)=>!!(t&&e.type==="insert_text"&&t.type==="insert_text"&&e.offset===t.offset+t.text.length&&P.equals(e.path,t.path)||t&&e.type==="remove_text"&&t.type==="remove_text"&&e.offset+e.text.length===t.offset&&P.equals(e.path,t.path)),SZ=(e,t)=>e.type!=="set_selection";var kT=dr(HE());var NT=dr(bc());a();a();function Iu(e){"@babel/helpers - typeof";return Iu=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},Iu(e)}function PZ(e,t){if(Iu(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Iu(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function AZ(e){var t=PZ(e,"string");return Iu(t)==="symbol"?t:String(t)}function Za(e,t,r){return t=AZ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _E=new WeakMap,WE=new WeakMap,ku=class{},Qa=class extends ku{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),Za(this,"offset",void 0),Za(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},es=class extends ku{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),Za(this,"offset",void 0),Za(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},OZ=(e,t)=>{var r=e.text.length;_E.set(e,[r,t])},FZ=e=>_E.get(e)
|
|
1837
|
-
The <text> hyperscript tag can only contain text content as children.`);return Zp.delete(o),Object.assign(o,t),o}var LZ=e=>(t,r,n)=>{var o=[],i;for(var s of n)B.isRange(s)?i=s:o.push(s);var u=Qp(o),l={},c=e();Object.assign(c,r),c.children=u;for(var[f,d]of W.texts(c)){var m=FZ(f),g
|
|
1838
|
-
`;if(!QZ(e))return null;let t=aQ(e,QE),r=t.length>0&&t[0]!=null?t:[P2];return e.nodeName==="BODY"?ts("fragment",{},r):eQ(e,t)?nQ(r,e):tQ(e,r)?oQ(r,e):t},td=e=>{if(!e)return;let t=new DOMParser().parseFromString(e,"text/html").body,r=QE(t);if(
|
|
1835
|
+
`:""),[i]=mi(o);return $u(()=>{var s=o();n.current&&n.current.textContent!==s&&(n.current.textContent=s)}),me.createElement(WJ,{ref:n},i)},WJ=eJ(tJ((e,t)=>me.createElement("span",{"data-slate-string":!0,ref:t},e.children))),i2=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),me.createElement("span",Object.assign({},o),!qt||!r?"\uFEFF":null,r?me.createElement("br",null):null)};function UJ(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}function oE(e){e.current&&(clearTimeout(e.current),e.current=null)}var KJ=e=>{var{leaf:t,isLast:r,text:n,parent:o,renderPlaceholder:i,renderLeaf:s=x=>me.createElement(XJ,Object.assign({},x))}=e,u=bo(),l=cr(null),c=cr(null),[f,d]=mi(!1),m=cr(null),g=ke(x=>{if(UJ(l,x==null),x==null){var w;a2.delete(u),(w=t.onPlaceholderResize)===null||w===void 0||w.call(t,null)}else{if(a2.set(u,x),!l.current){var S=window.ResizeObserver||r2;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=me.createElement(_J,{isLast:r,leaf:t,parent:o,text:n}),h=t[Xa];if(Rn(()=>(h?m.current||(m.current=setTimeout(()=>{d(!0),m.current=null},300)):(oE(m),d(!1)),()=>oE(m)),[h,d]),h&&f){var y={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:Au?"inherit":void 0},contentEditable:!1,ref:g}};v=me.createElement(me.Fragment,null,i(y),v)}var b={"data-slate-leaf":!0};return s({attributes:b,children:v,leaf:t,text:n})},qJ=me.memo(KJ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&Y.equals(t.leaf,e.leaf)&&t.leaf[Xa]===e.leaf[Xa]),XJ=e=>{var{attributes:t,children:r}=e;return me.createElement("span",Object.assign({},t),r)},YJ=e=>{for(var{decorations:t,isLast:r,parent:n,renderPlaceholder:o,renderLeaf:i,text:s}=e,u=bo(),l=cr(null),c=Y.decorations(s,t),f=L.findKey(u,s),d=[],m=0;m<c.length;m++){var g=c[m];d.push(me.createElement(qJ,{isLast:r&&m===c.length-1,key:"".concat(f.id,"-").concat(m),renderPlaceholder:o,leaf:g,text:s,parent:n,renderLeaf:i}))}var v=ke(h=>{var y=Xp.get(u);h?(y?.set(f,h),di.set(s,h),Ru.set(h,s)):(y?.delete(f),di.delete(s),l.current&&Ru.delete(l.current)),l.current=h},[l,u,f,s]);return me.createElement("span",{"data-slate-node":"text",ref:v},d)},DE=me.memo(YJ,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&jJ(t.decorations,e.decorations)),JJ=e=>{var{decorations:t,element:r,renderElement:n=x=>me.createElement(QJ,Object.assign({},x)),renderPlaceholder:o,renderLeaf:i,selection:s}=e,u=bo(),l=tZ(),c=u.isInline(r),f=L.findKey(u,r),d=ke(x=>{var w=Xp.get(u);x?(w?.set(f,x),di.set(r,x),Ru.set(x,r)):(w?.delete(f),di.delete(r))},[u,f,r]),m=AE({decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:i,selection:s}),g={"data-slate-node":"element",ref:d};if(c&&(g["data-slate-inline"]=!0),!c&&C.hasInlines(u,r)){var v=W.string(r),h=(0,d2.default)(v);h==="rtl"&&(g.dir=h)}if(C.isVoid(u,r)){g["data-slate-void"]=!0,!l&&c&&(g.contentEditable=!1);var y=c?"span":"div",[[b]]=W.texts(r);m=me.createElement(y,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},me.createElement(DE,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:b})),h2.set(b,0),g2.set(b,r)}return n({attributes:g,children:m,element:r})},ZJ=me.memo(JJ,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&GJ(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&B.equals(e.selection,t.selection))),QJ=e=>{var{attributes:t,children:r,element:n}=e,o=bo(),i=o.isInline(n)?"span":"div";return me.createElement(i,Object.assign({},t,{style:{position:"relative"}}),r)},EE=hi(()=>[]),eZ=()=>Ya(EE),TE=hi(!1),PE=()=>Ya(TE),AE=e=>{for(var{decorations:t,node:r,renderElement:n,renderPlaceholder:o,renderLeaf:i,selection:s}=e,u=eZ(),l=bo(),c=L.findPath(l,r),f=[],d=K.isElement(r)&&!l.isInline(r)&&C.hasInlines(l,r),m=0;m<r.children.length;m++){var g=c.concat(m),v=r.children[m],h=L.findKey(l,v),y=C.range(l,g),b=s&&B.intersection(y,s),x=u([v,g]);for(var w of t){var S=B.intersection(w,y);S&&x.push(S)}K.isElement(v)?f.push(me.createElement(TE.Provider,{key:"provider-".concat(h.id),value:!!b},me.createElement(ZJ,{decorations:x,element:v,key:h.id,renderElement:n,renderPlaceholder:o,renderLeaf:i,selection:b}))):f.push(me.createElement(DE,{decorations:x,key:h.id,isLast:d&&m===r.children.length-1,parent:r,renderPlaceholder:o,renderLeaf:i,text:v})),h2.set(v,m),g2.set(v,r)}return f},OE=hi(!1),tZ=()=>Ya(OE),FE=hi(null),Yp=()=>{var e=Ya(FE);if(!e)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:t}=e;return t};function rZ(){var e=bo(),t=cr(!1),r=cr(0),n=ke(()=>{if(!t.current){t.current=!0;var o=L.getWindow(e);o.cancelAnimationFrame(r.current),r.current=o.requestAnimationFrame(()=>{t.current=!1})}},[e]);return Rn(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:t,onUserInput:n}}var nZ=3,oZ={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"},iZ={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"},aZ={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Ge=e=>{var t=oZ[e],r=iZ[e],n=aZ[e],o=t&&(0,jp.isHotkey)(t),i=r&&(0,jp.isHotkey)(r),s=n&&(0,jp.isHotkey)(n);return u=>!!(o&&o(u)||ZD&&i&&i(u)||!ZD&&s&&s(u))},We={isBold:Ge("bold"),isCompose:Ge("compose"),isMoveBackward:Ge("moveBackward"),isMoveForward:Ge("moveForward"),isDeleteBackward:Ge("deleteBackward"),isDeleteForward:Ge("deleteForward"),isDeleteLineBackward:Ge("deleteLineBackward"),isDeleteLineForward:Ge("deleteLineForward"),isDeleteWordBackward:Ge("deleteWordBackward"),isDeleteWordForward:Ge("deleteWordForward"),isExtendBackward:Ge("extendBackward"),isExtendForward:Ge("extendForward"),isExtendLineBackward:Ge("extendLineBackward"),isExtendLineForward:Ge("extendLineForward"),isItalic:Ge("italic"),isMoveLineBackward:Ge("moveLineBackward"),isMoveLineForward:Ge("moveLineForward"),isMoveWordBackward:Ge("moveWordBackward"),isMoveWordForward:Ge("moveWordForward"),isRedo:Ge("redo"),isSoftBreak:Ge("insertSoftBreak"),isSplitBlock:Ge("splitBlock"),isTransposeCharacter:Ge("transposeCharacter"),isUndo:Ge("undo")},sZ=(e,t)=>{var r=[],n=()=>{r=[]},o=s=>{if(t.current){var u=s.filter(l=>b2(e,l,s));r.push(...u)}};function i(){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:i,clear:n}},uZ={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0},Kp=class extends rJ{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,uZ)}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 i;(i=this.manager)===null||i===void 0||i.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}};Kp.contextType=m2;var lZ=qt?Kp:e=>{var{children:t}=e;return me.createElement(me.Fragment,null,t)},cZ=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],fZ=["text"];function iE(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 Ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iE(Object(r),!0).forEach(function(n){qp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var pZ=e=>me.createElement(me.Fragment,null,AE(e)),RE=e=>{var t=ke(A=>me.createElement(dZ,Object.assign({},A)),[]),{autoFocus:r,decorate:n=mZ,onDOMBeforeInput:o,placeholder:i,readOnly:s=!1,renderElement:u,renderLeaf:l,renderPlaceholder:c=t,scrollSelectionIntoView:f=hZ,style:d={},as:m="div",disableDefaultStyles:g=!1}=e,v=qa(e,cZ),h=Yp(),[y,b]=mi(!1),x=cr(null),w=cr([]),[S,E]=mi(),{onUserInput:D,receivedUserInput:T}=rZ(),[,O]=nJ(A=>A+1,0);gE.set(h,O),s2.set(h,s);var F=Gp(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);Rn(()=>{x.current&&r&&x.current.focus()},[r]);var I=cr(),G=Gp(()=>(0,pE.default)(()=>{var A=I.current;if((qt||!L.isComposing(h))&&(!F.isUpdatingSelection||A!=null&&A.isFlushing())&&!F.isDraggingInternally){var _=L.findDocumentOrShadowRoot(h),{activeElement:z}=_,U=L.toDOMNode(h,h),ue=_.getSelection();if(z===U?(F.latestElement=z,fi.set(h,!0)):fi.delete(h),!ue)return V.deselect(h);var{anchorNode:ee,focusNode:he}=ue,we=L.hasEditableTarget(h,ee)||L.isTargetInsideNonReadonlyVoid(h,ee),De=L.hasEditableTarget(h,he)||L.isTargetInsideNonReadonlyVoid(h,he);if(we&&De){var Ae=L.toSlateRange(h,ue,{exactMatch:!1,suppressThrow:!0});Ae&&(!L.isComposing(h)&&!(A!=null&&A.hasPendingChanges())&&!(A!=null&&A.isFlushing())?V.select(h,Ae):A?.handleUserSelect(Ae))}s&&(!we||!De)&&V.deselect(h)}},100),[h,s,F]),k=Gp(()=>(0,fE.default)(G,0),[G]);I.current=VJ({node:x,onDOMSelectionChange:G,scheduleOnDOMSelectionChange:k}),$u(()=>{var A,_,z;x.current&&(z=y2(x.current))?(hE.set(h,z),Wp.set(h,x.current),di.set(h,x.current),Ru.set(x.current,h)):di.delete(h);var{selection:U}=h,ue=L.findDocumentOrShadowRoot(h),ee=ue.getSelection();if(!(!ee||!L.isFocused(h)||(A=I.current)!==null&&A!==void 0&&A.hasPendingAction())){var he=Ce=>{var je=ee.type!=="None";if(!(!U&&!je)){var Ye=ee.focusNode,Ne;if(Ou&&ee.rangeCount>1){var Tt=ee.getRangeAt(0),Ct=ee.getRangeAt(ee.rangeCount-1);Tt.startContainer===Ye?Ne=Ct.endContainer:Ne=Tt.startContainer}else Ne=ee.anchorNode;var st=Wp.get(h),ut=!1;if(st.contains(Ne)&&st.contains(Ye)&&(ut=!0),je&&ut&&U&&!Ce){var R=L.toSlateRange(h,ee,{exactMatch:!0,suppressThrow:!0});if(R&&B.equals(R,U)){var X,te;if(!F.hasMarkPlaceholder||(X=Ne)!==null&&X!==void 0&&(te=X.parentElement)!==null&&te!==void 0&&te.hasAttribute("data-slate-mark-placeholder"))return}}if(U&&!L.hasRange(h,U)){h.selection=L.toSlateRange(h,ee,{exactMatch:!1,suppressThrow:!0});return}F.isUpdatingSelection=!0;var q=U&&L.toDOMRange(h,U);return q?(L.isComposing(h)&&!qt?ee.collapseToEnd():B.isBackward(U)?ee.setBaseAndExtent(q.endContainer,q.endOffset,q.startContainer,q.startOffset):ee.setBaseAndExtent(q.startContainer,q.startOffset,q.endContainer,q.endOffset),f(h,q)):ee.removeAllRanges(),q}};ee.rangeCount<=1&&he();var we=((_=I.current)===null||_===void 0?void 0:_.isFlushing())==="action";if(!qt||!we){setTimeout(()=>{F.isUpdatingSelection=!1});return}var De=null,Ae=requestAnimationFrame(()=>{if(we){var Ce=je=>{try{var Ye=L.toDOMNode(h,h);Ye.focus(),he(je)}catch{}};Ce(),De=setTimeout(()=>{Ce(!0),F.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Ae),De&&clearTimeout(De)}}});var H=ke(A=>{if(D(),!s&&L.hasEditableTarget(h,A.target)&&!gZ(A,o)){var _;if(I.current)return I.current.handleDOMBeforeInput(A);k.flush(),G.flush();var{selection:z}=h,{inputType:U}=A,ue=A.dataTransfer||A.data||void 0,ee=U==="insertCompositionText"||U==="deleteCompositionText";if(ee&&L.isComposing(h))return;var he=!1;if(U==="insertText"&&z&&B.isCollapsed(z)&&A.data&&A.data.length===1&&/[a-z ]/i.test(A.data)&&z.anchor.offset!==0){var we,De;he=!0,h.marks&&(he=!1);var{anchor:Ae}=z,[Ce,je]=L.toDOMPoint(h,Ae),Ye=(we=Ce.parentElement)===null||we===void 0?void 0:we.closest("a"),Ne=L.getWindow(h);if(he&&Ye&&L.hasDOMNode(h,Ye)){var Tt,Ct=Ne?.document.createTreeWalker(Ye,NodeFilter.SHOW_TEXT).lastChild();Ct===Ce&&((Tt=Ct.textContent)===null||Tt===void 0?void 0:Tt.length)===je&&(he=!1)}if(he&&Ce.parentElement&&(Ne==null||(De=Ne.getComputedStyle(Ce.parentElement))===null||De===void 0?void 0:De.whiteSpace)==="pre"){var st=C.above(h,{at:Ae.path,match:ae=>K.isElement(ae)&&C.isBlock(h,ae)});st&&W.string(st[0]).includes(" ")&&(he=!1)}}if(!U.startsWith("delete")||U.startsWith("deleteBy")){var[ut]=A.getTargetRanges();if(ut){var R=L.toSlateRange(h,ut,{exactMatch:!1,suppressThrow:!1});if(!z||!B.equals(z,R)){he=!1;var X=!ee&&h.selection&&C.rangeRef(h,h.selection);V.select(h,R),X&&Fu.set(h,X)}}}if(ee)return;if(he||A.preventDefault(),z&&B.isExpanded(z)&&U.startsWith("delete")){var te=U.endsWith("Backward")?"backward":"forward";C.deleteFragment(h,{direction:te});return}switch(U){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{C.deleteFragment(h);break}case"deleteContent":case"deleteContentForward":{C.deleteForward(h);break}case"deleteContentBackward":{C.deleteBackward(h);break}case"deleteEntireSoftLine":{C.deleteBackward(h,{unit:"line"}),C.deleteForward(h,{unit:"line"});break}case"deleteHardLineBackward":{C.deleteBackward(h,{unit:"block"});break}case"deleteSoftLineBackward":{C.deleteBackward(h,{unit:"line"});break}case"deleteHardLineForward":{C.deleteForward(h,{unit:"block"});break}case"deleteSoftLineForward":{C.deleteForward(h,{unit:"line"});break}case"deleteWordBackward":{C.deleteBackward(h,{unit:"word"});break}case"deleteWordForward":{C.deleteForward(h,{unit:"word"});break}case"insertLineBreak":C.insertSoftBreak(h);break;case"insertParagraph":{C.insertBreak(h);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{U==="insertFromComposition"&&L.isComposing(h)&&(b(!1),pi.set(h,!1)),ue?.constructor.name==="DataTransfer"?L.insertData(h,ue):typeof ue=="string"&&(he?w.current.push(()=>C.insertText(h,ue)):C.insertText(h,ue));break}}var q=(_=Fu.get(h))===null||_===void 0?void 0:_.unref();Fu.delete(h),q&&(!h.selection||!B.equals(h.selection,q))&&V.select(h,q)}},[h,G,D,o,s,k]),N=ke(A=>{A==null?(G.cancel(),k.cancel(),Wp.delete(h),di.delete(h),x.current&&ho&&x.current.removeEventListener("beforeinput",H)):ho&&A.addEventListener("beforeinput",H),x.current=A},[G,k,h,H]);$u(()=>{var A=L.getWindow(h);return A.document.addEventListener("selectionchange",k),()=>{A.document.removeEventListener("selectionchange",k)}},[k]);var M=n([h,[]]),Q=i&&h.children.length===1&&Array.from(W.texts(h)).length===1&&W.string(h)===""&&!y,re=ke(A=>{if(A&&Q){var _;E((_=A.getBoundingClientRect())===null||_===void 0?void 0:_.height)}else E(void 0)},[Q]);if(Q){var se=C.start(h,[]);M.push({[Xa]:!0,placeholder:i,onPlaceholderResize:re,anchor:se,focus:se})}var{marks:j}=h;if(F.hasMarkPlaceholder=!1,h.selection&&B.isCollapsed(h.selection)&&j){var{anchor:ne}=h.selection,ce=W.leaf(h,ne.path),pe=qa(ce,fZ);if(!Y.equals(ce,j,{loose:!0})){F.hasMarkPlaceholder=!0;var Be=Object.fromEntries(Object.keys(pe).map(A=>[A,null]));M.push(Ua(Ua(Ua({[vE]:!0},Be),j),{},{anchor:ne,focus:ne}))}}return Rn(()=>{setTimeout(()=>{var{selection:A}=h;if(A){var{anchor:_}=A,z=W.leaf(h,_.path);if(j&&!Y.equals(z,j,{loose:!0})){Tr.set(h,j);return}}Tr.delete(h)})}),me.createElement(OE.Provider,{value:s},me.createElement(EE.Provider,{value:n},me.createElement(lZ,{node:x,receivedUserInput:T},me.createElement(m,Object.assign({role:s?void 0:"textbox","aria-multiline":s?void 0:!0},v,{spellCheck:ho||!_p?v.spellCheck:!1,autoCorrect:ho||!_p?v.autoCorrect:"false",autoCapitalize:ho||!_p?v.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:N,style:Ua(Ua({},g?{}:Ua({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},S?{minHeight:S}:{})),d),onBeforeInput:ke(A=>{if(!ho&&!s&&!Bt(A,v.onBeforeInput)&&L.hasSelectableTarget(h,A.target)&&(A.preventDefault(),!L.isComposing(h))){var _=A.data;C.insertText(h,_)}},[v.onBeforeInput,h,s]),onInput:ke(A=>{if(!Bt(A,v.onInput)){if(I.current){I.current.handleInput();return}for(var _ of w.current)_();w.current=[]}},[v.onInput]),onBlur:ke(A=>{if(!(s||F.isUpdatingSelection||!L.hasSelectableTarget(h,A.target)||Bt(A,v.onBlur))){var _=L.findDocumentOrShadowRoot(h);if(F.latestElement!==_.activeElement){var{relatedTarget:z}=A,U=L.toDOMNode(h,h);if(z!==U&&!(br(z)&&z.hasAttribute("data-slate-spacer"))){if(z!=null&&yo(z)&&L.hasDOMNode(h,z)){var ue=L.toSlateNode(h,z);if(K.isElement(ue)&&!h.isVoid(ue))return}if(Au){var ee=_.getSelection();ee?.removeAllRanges()}fi.delete(h)}}}},[s,F.isUpdatingSelection,F.latestElement,h,v.onBlur]),onClick:ke(A=>{if(L.hasTarget(h,A.target)&&!Bt(A,v.onClick)&&yo(A.target)){var _=L.toSlateNode(h,A.target),z=L.findPath(h,_);if(!C.hasPath(h,z)||W.get(h,z)!==_)return;if(A.detail===nZ&&z.length>=1){var U=z;if(!(K.isElement(_)&&C.isBlock(h,_))){var ue,ee=C.above(h,{match:Ye=>K.isElement(Ye)&&C.isBlock(h,Ye),at:z});U=(ue=ee?.[1])!==null&&ue!==void 0?ue:z.slice(0,1)}var he=C.range(h,U);V.select(h,he);return}if(s)return;var we=C.start(h,z),De=C.end(h,z),Ae=C.void(h,{at:we}),Ce=C.void(h,{at:De});if(Ae&&Ce&&P.equals(Ae[1],Ce[1])){var je=C.range(h,we);V.select(h,je)}}},[h,v.onClick,s]),onCompositionEnd:ke(A=>{if(L.hasSelectableTarget(h,A.target)){var _;if(L.isComposing(h)&&(b(!1),pi.set(h,!1)),(_=I.current)===null||_===void 0||_.handleCompositionEnd(A),Bt(A,v.onCompositionEnd)||qt)return;if(!Au&&!cJ&&!aJ&&!pJ&&!fJ&&A.data){var z=Tr.get(h);Tr.delete(h),z!==void 0&&(Fn.set(h,h.marks),h.marks=z),C.insertText(h,A.data);var U=Fn.get(h);Fn.delete(h),U!==void 0&&(h.marks=U)}}},[v.onCompositionEnd,h]),onCompositionUpdate:ke(A=>{L.hasSelectableTarget(h,A.target)&&!Bt(A,v.onCompositionUpdate)&&(L.isComposing(h)||(b(!0),pi.set(h,!0)))},[v.onCompositionUpdate,h]),onCompositionStart:ke(A=>{if(L.hasSelectableTarget(h,A.target)){var _;if((_=I.current)===null||_===void 0||_.handleCompositionStart(A),Bt(A,v.onCompositionStart)||qt)return;b(!0);var{selection:z}=h;if(z){if(B.isExpanded(z)){C.deleteFragment(h);return}var U=C.above(h,{match:he=>K.isElement(he)&&C.isInline(h,he),mode:"highest"});if(U){var[,ue]=U;if(C.isEnd(h,z.anchor,ue)){var ee=C.after(h,ue);V.setSelection(h,{anchor:ee,focus:ee})}}}}},[v.onCompositionStart,h]),onCopy:ke(A=>{L.hasSelectableTarget(h,A.target)&&!Bt(A,v.onCopy)&&!aE(A)&&(A.preventDefault(),L.setFragmentData(h,A.clipboardData,"copy"))},[v.onCopy,h]),onCut:ke(A=>{if(!s&&L.hasSelectableTarget(h,A.target)&&!Bt(A,v.onCut)&&!aE(A)){A.preventDefault(),L.setFragmentData(h,A.clipboardData,"cut");var{selection:_}=h;if(_)if(B.isExpanded(_))C.deleteFragment(h);else{var z=W.parent(h,_.anchor.path);C.isVoid(h,z)&&V.delete(h)}}},[s,h,v.onCut]),onDragOver:ke(A=>{if(L.hasTarget(h,A.target)&&!Bt(A,v.onDragOver)){var _=L.toSlateNode(h,A.target);K.isElement(_)&&C.isVoid(h,_)&&A.preventDefault()}},[v.onDragOver,h]),onDragStart:ke(A=>{if(!s&&L.hasTarget(h,A.target)&&!Bt(A,v.onDragStart)){var _=L.toSlateNode(h,A.target),z=L.findPath(h,_),U=K.isElement(_)&&C.isVoid(h,_)||C.void(h,{at:z,voids:!0});if(U){var ue=C.range(h,z);V.select(h,ue)}F.isDraggingInternally=!0,L.setFragmentData(h,A.dataTransfer,"drag")}},[s,h,v.onDragStart,F]),onDrop:ke(A=>{if(!s&&L.hasTarget(h,A.target)&&!Bt(A,v.onDrop)){A.preventDefault();var _=h.selection,z=L.findEventRange(h,A),U=A.dataTransfer;V.select(h,z),F.isDraggingInternally&&_&&!B.equals(_,z)&&!C.void(h,{at:z,voids:!0})&&V.delete(h,{at:_}),L.insertData(h,U),L.isFocused(h)||L.focus(h)}F.isDraggingInternally=!1},[s,h,v.onDrop,F]),onDragEnd:ke(A=>{!s&&F.isDraggingInternally&&v.onDragEnd&&L.hasTarget(h,A.target)&&v.onDragEnd(A),F.isDraggingInternally=!1},[s,F,v,h]),onFocus:ke(A=>{if(!s&&!F.isUpdatingSelection&&L.hasEditableTarget(h,A.target)&&!Bt(A,v.onFocus)){var _=L.toDOMNode(h,h),z=L.findDocumentOrShadowRoot(h);if(F.latestElement=z.activeElement,Ou&&A.target!==_){_.focus();return}fi.set(h,!0)}},[s,F,h,v.onFocus]),onKeyDown:ke(A=>{if(!s&&L.hasEditableTarget(h,A.target)){var _;(_=I.current)===null||_===void 0||_.handleKeyDown(A);var{nativeEvent:z}=A;if(L.isComposing(h)&&z.isComposing===!1&&(pi.set(h,!1),b(!1)),Bt(A,v.onKeyDown)||L.isComposing(h))return;var{selection:U}=h,ue=h.children[U!==null?U.focus.path[0]:0],ee=(0,d2.default)(W.string(ue))==="rtl";if(We.isRedo(z)){A.preventDefault();var he=h;typeof he.redo=="function"&&he.redo();return}if(We.isUndo(z)){A.preventDefault();var we=h;typeof we.undo=="function"&&we.undo();return}if(We.isMoveLineBackward(z)){A.preventDefault(),V.move(h,{unit:"line",reverse:!0});return}if(We.isMoveLineForward(z)){A.preventDefault(),V.move(h,{unit:"line"});return}if(We.isExtendLineBackward(z)){A.preventDefault(),V.move(h,{unit:"line",edge:"focus",reverse:!0});return}if(We.isExtendLineForward(z)){A.preventDefault(),V.move(h,{unit:"line",edge:"focus"});return}if(We.isMoveBackward(z)){A.preventDefault(),U&&B.isCollapsed(U)?V.move(h,{reverse:!ee}):V.collapse(h,{edge:"start"});return}if(We.isMoveForward(z)){A.preventDefault(),U&&B.isCollapsed(U)?V.move(h,{reverse:ee}):V.collapse(h,{edge:"end"});return}if(We.isMoveWordBackward(z)){A.preventDefault(),U&&B.isExpanded(U)&&V.collapse(h,{edge:"focus"}),V.move(h,{unit:"word",reverse:!ee});return}if(We.isMoveWordForward(z)){A.preventDefault(),U&&B.isExpanded(U)&&V.collapse(h,{edge:"focus"}),V.move(h,{unit:"word",reverse:ee});return}if(ho){if((mE||Au)&&U&&(We.isDeleteBackward(z)||We.isDeleteForward(z))&&B.isCollapsed(U)){var De=W.parent(h,U.anchor.path);if(K.isElement(De)&&C.isVoid(h,De)&&(C.isInline(h,De)||C.isBlock(h,De))){A.preventDefault(),C.deleteBackward(h,{unit:"block"});return}}}else{if(We.isBold(z)||We.isItalic(z)||We.isTransposeCharacter(z)){A.preventDefault();return}if(We.isSoftBreak(z)){A.preventDefault(),C.insertSoftBreak(h);return}if(We.isSplitBlock(z)){A.preventDefault(),C.insertBreak(h);return}if(We.isDeleteBackward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"backward"}):C.deleteBackward(h);return}if(We.isDeleteForward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"forward"}):C.deleteForward(h);return}if(We.isDeleteLineBackward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"backward"}):C.deleteBackward(h,{unit:"line"});return}if(We.isDeleteLineForward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"forward"}):C.deleteForward(h,{unit:"line"});return}if(We.isDeleteWordBackward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"backward"}):C.deleteBackward(h,{unit:"word"});return}if(We.isDeleteWordForward(z)){A.preventDefault(),U&&B.isExpanded(U)?C.deleteFragment(h,{direction:"forward"}):C.deleteForward(h,{unit:"word"});return}}}},[s,h,v.onKeyDown]),onPaste:ke(A=>{!s&&L.hasEditableTarget(h,A.target)&&!Bt(A,v.onPaste)&&(!ho||hJ(A.nativeEvent)||Au)&&(A.preventDefault(),L.insertData(h,A.clipboardData))},[s,h,v.onPaste])}),me.createElement(pZ,{decorations:M,node:h,renderElement:u,renderPlaceholder:c,renderLeaf:l,selection:h.selection})))))},dZ=e=>{var{attributes:t,children:r}=e;return me.createElement("span",Object.assign({},t),r,qt&&me.createElement("br",null))},mZ=()=>[],hZ=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&B.isCollapsed(e.selection))){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),VS(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},Bt=(e,t)=>{if(!t)return!1;var r=t(e);return r??(e.isDefaultPrevented()||e.isPropagationStopped())},aE=e=>yo(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),gZ=(e,t)=>{if(!t)return!1;var r=t(e);return r??e.defaultPrevented},$E=hi(!1),BE=()=>Ya($E);var vZ=hi({});function yZ(e){var t=cr([]).current,r=cr({editor:e}).current,n=ke(i=>{r.editor=i,t.forEach(s=>s(i))},[t,r]),o=Gp(()=>({getSlate:()=>r.editor,addEventListener:i=>(t.push(i),()=>{t.splice(t.indexOf(i),1)})}),[t,r]);return{selectorContext:o,onChange:n}}var bZ=["editor","children","onChange","initialValue"],ME=e=>{var{editor:t,children:r,onChange:n,initialValue:o}=e,i=qa(e,bZ),[s,u]=me.useState(()=>{if(!W.isNodeList(o))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(ot.stringify(o)));if(!C.isEditor(t))throw new Error("[Slate] editor is invalid! You passed: ".concat(ot.stringify(t)));return t.children=o,Object.assign(t,i),{v:0,editor:t}}),{selectorContext:l,onChange:c}=yZ(t),f=ke(()=>{n&&n(t.children),u(g=>({v:g.v+1,editor:t})),c(t)},[t,c,n]);Rn(()=>(u2.set(t,f),()=>{u2.set(t,()=>{})}),[t,f]);var[d,m]=mi(L.isFocused(t));return Rn(()=>{m(L.isFocused(t))},[t]),$u(()=>{var g=()=>m(L.isFocused(t));return dE>=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)})},[]),me.createElement(vZ.Provider,{value:l},me.createElement(FE.Provider,{value:s},me.createElement(m2.Provider,{value:s.editor},me.createElement($E.Provider,{value:d},r))))};var sE=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},uE=(e,t,r)=>{var n=L.toDOMRange(e,t).getBoundingClientRect(),o=L.toDOMRange(e,r).getBoundingClientRect();return sE(n,o)&&sE(o,n)},CZ=(e,t)=>{var r=C.range(e,B.end(t)),n=Array.from(C.positions(e,{at:t})),o=0,i=n.length,s=Math.floor(i/2);if(uE(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;)uE(e,C.range(e,n[s]),r)?i=s:o=s,s=Math.floor((o+i)/2);return C.range(e,n[i],r)};function lE(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 cE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lE(Object(r),!0).forEach(function(n){qp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var IE=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",n=t,{apply:o,onChange:i,deleteBackward:s,addMark:u,removeMark:l}=n;return Xp.set(n,new WeakMap),n.addMark=(c,f)=>{var d,m;(d=v2.get(n))===null||d===void 0||d(),!Tr.get(n)&&(m=Kt.get(n))!==null&&m!==void 0&&m.length&&Tr.set(n,null),Fn.delete(n),u(c,f)},n.removeMark=c=>{var f;!Tr.get(n)&&(f=Kt.get(n))!==null&&f!==void 0&&f.length&&Tr.set(n,null),Fn.delete(n),l(c)},n.deleteBackward=c=>{if(c!=="line")return s(c);if(n.selection&&B.isCollapsed(n.selection)){var f=C.above(n,{match:v=>K.isElement(v)&&C.isBlock(n,v),at:n.selection});if(f){var[,d]=f,m=C.range(n,d,n.selection.anchor),g=CZ(n,m);B.isCollapsed(g)||V.delete(n,{at:g})}}},n.apply=c=>{var f=[],d=[],m=Kt.get(n);if(m!=null&&m.length){var g=m.map(N=>PJ(N,c)).filter(Boolean);Kt.set(n,g)}var v=vo.get(n);v&&vo.set(n,eE(n,v,c));var h=go.get(n);if(h!=null&&h.at){var y=ve.isPoint(h?.at)?p2(n,h.at,c):eE(n,h.at,c);go.set(n,y?cE(cE({},h),{},{at:y}):null)}switch(c.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{f.push(...Ka(n,c.path));break}case"set_selection":{var b;(b=Fu.get(n))===null||b===void 0||b.unref(),Fu.delete(n);break}case"insert_node":case"remove_node":{f.push(...Ka(n,P.parent(c.path)));break}case"merge_node":{var x=P.previous(c.path);f.push(...Ka(n,x));break}case"move_node":{var w=P.common(P.parent(c.path),P.parent(c.newPath));f.push(...Ka(n,w));var S;P.isBefore(c.path,c.newPath)?(f.push(...Ka(n,P.parent(c.path))),S=c.newPath):(f.push(...Ka(n,P.parent(c.newPath))),S=c.path);var E=W.get(t,P.parent(S)),D=L.findKey(n,E),T=C.pathRef(n,P.parent(S));d.push([T,D]);break}}o(c);for(var[O,F]of f){var[I]=C.node(n,O);Up.set(I,F)}for(var[G,k]of d)if(G.current){var[H]=C.node(n,G.current);Up.set(H,k)}},n.setFragmentData=c=>{var{selection:f}=n;if(f){var[d,m]=B.edges(f),g=C.void(n,{at:d.path}),v=C.void(n,{at:m.path});if(!(B.isCollapsed(f)&&!g)){var h=L.toDOMRange(n,f),y=h.cloneContents(),b=y.childNodes[0];if(y.childNodes.forEach(I=>{I.textContent&&I.textContent.trim()!==""&&(b=I)}),v){var[x]=v,w=h.cloneRange(),S=L.toDOMNode(n,x);w.setEndAfter(S),y=w.cloneContents()}if(g&&(b=y.querySelector("[data-slate-spacer]")),Array.from(y.querySelectorAll("[data-slate-zero-width]")).forEach(I=>{var G=I.getAttribute("data-slate-zero-width")==="n";I.textContent=G?`
|
|
1836
|
+
`:""}),yE(b)){var E=b.ownerDocument.createElement("span");E.style.whiteSpace="pre",E.appendChild(b),y.appendChild(E),b=E}var D=n.getFragment(),T=JSON.stringify(D),O=window.btoa(encodeURIComponent(T));b.setAttribute("data-slate-fragment",O),c.setData("application/".concat(r),O);var F=y.ownerDocument.createElement("div");return F.appendChild(y),F.setAttribute("hidden","true"),y.ownerDocument.body.appendChild(F),c.setData("text/html",F.innerHTML),c.setData("text/plain",CE(F)),y.ownerDocument.body.removeChild(F),c}}},n.insertData=c=>{n.insertFragmentData(c)||n.insertTextData(c)},n.insertFragmentData=c=>{var f=c.getData("application/".concat(r))||CJ(c);if(f){var d=decodeURIComponent(window.atob(f)),m=JSON.parse(d);return n.insertFragment(m),!0}return!1},n.insertTextData=c=>{var f=c.getData("text/plain");if(f){var d=f.split(/\r\n|\r|\n/),m=!1;for(var g of d)m&&V.splitNodes(n,{always:!0}),n.insertText(g),m=!0;return!0}return!1},n.onChange=c=>{var f=dE<18?oJ.unstable_batchedUpdates:d=>d();f(()=>{var d=u2.get(n);d&&d(),i(c)})},n},Ka=(e,t)=>{var r=[];for(var[n,o]of C.levels(e,{at:t})){var i=L.findKey(e,n);r.push([o,i])}return r};a();var xZ={isHistory(e){return Xe(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||An.isOperationList(e.redos[0].operations))&&(e.undos.length===0||An.isOperationList(e.undos[0].operations))}};var C2=new WeakMap,x2=new WeakMap,Ja={isHistoryEditor(e){return xZ.isHistory(e.history)&&C.isEditor(e)},isMerging(e){return x2.get(e)},isSaving(e){return C2.get(e)},redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var r=Ja.isMerging(e);x2.set(e,!1),t(),x2.set(e,r)},withoutSaving(e,t){var r=Ja.isSaving(e);C2.set(e,!1),t(),C2.set(e,r)}},kE=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 i=o[o.length-1];i.selectionBefore&&V.setSelection(t,i.selectionBefore),Ja.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{for(var s of i.operations)t.apply(s)})}),n.redos.pop(),t.writeHistory("undos",i)}},t.undo=()=>{var{history:n}=t,{undos:o}=n;if(o.length>0){var i=o[o.length-1];Ja.withoutSaving(t,()=>{C.withoutNormalizing(t,()=>{var s=i.operations.map(An.inverse).reverse();for(var u of s)t.apply(u);i.selectionBefore&&V.setSelection(t,i.selectionBefore)})}),t.writeHistory("redos",i),n.undos.pop()}},t.apply=n=>{var{operations:o,history:i}=t,{undos:s}=i,u=s[s.length-1],l=u&&u.operations[u.operations.length-1],c=Ja.isSaving(t),f=Ja.isMerging(t);if(c==null&&(c=SZ(n)),c){if(f==null&&(u==null?f=!1:o.length!==0?f=!0:f=wZ(n,l)),u&&f)u.operations.push(n);else{var d={operations:[n],selectionBefore:t.selection};t.writeHistory("undos",d)}for(;s.length>100;)s.shift();i.redos=[]}r(n)},t.writeHistory=(n,o)=>{t.history[n].push(o)},t},wZ=(e,t)=>!!(t&&e.type==="insert_text"&&t.type==="insert_text"&&e.offset===t.offset+t.text.length&&P.equals(e.path,t.path)||t&&e.type==="remove_text"&&t.type==="remove_text"&&e.offset+e.text.length===t.offset&&P.equals(e.path,t.path)),SZ=(e,t)=>e.type!=="set_selection";var kT=dr(HE());var NT=dr(bc());a();a();function Iu(e){"@babel/helpers - typeof";return Iu=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},Iu(e)}function PZ(e,t){if(Iu(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Iu(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function AZ(e){var t=PZ(e,"string");return Iu(t)==="symbol"?t:String(t)}function Za(e,t,r){return t=AZ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _E=new WeakMap,WE=new WeakMap,ku=class{},Qa=class extends ku{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),Za(this,"offset",void 0),Za(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},es=class extends ku{constructor(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),Za(this,"offset",void 0),Za(this,"path",void 0);var{offset:r,path:n}=t;this.offset=r,this.path=n}},OZ=(e,t)=>{var r=e.text.length;_E.set(e,[r,t])},FZ=e=>_E.get(e),RZ=(e,t)=>{var r=e.text.length;WE.set(e,[r,t])},$Z=e=>WE.get(e);function GE(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 E2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?GE(Object(r),!0).forEach(function(n){Za(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Zp=new WeakSet,Qp=e=>{var t=[],r=o=>{if(o!=null){var i=t[t.length-1];if(typeof o=="string"){var s={text:o};Zp.add(s),o=s}if(Y.isText(o)){var u=o;Y.isText(i)&&Zp.has(i)&&Zp.has(u)&&Y.equals(i,u,{loose:!0})?i.text+=u.text:t.push(u)}else if(K.isElement(o))t.push(o);else if(o instanceof ku){var l=t[t.length-1];Y.isText(l)||(r(""),l=t[t.length-1]),o instanceof Qa?OZ(l,o):o instanceof es&&RZ(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 BZ(e,t,r){return new Qa(t)}function MZ(e,t,r){return[new Qa(t),new es(t)]}function UE(e,t,r){return E2(E2({},t),{},{children:Qp(r)})}function IZ(e,t,r){return new es(t)}function kZ(e,t,r){return Qp(r)}function NZ(e,t,r){var n=r.find(i=>i instanceof Qa),o=r.find(i=>i instanceof es);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 E2({anchor:{offset:n.offset,path:n.path},focus:{offset:o.offset,path:o.path}},t)}function VZ(e,t,r){var n=Qp(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:""}),!Y.isText(o))throw new Error(`
|
|
1837
|
+
The <text> hyperscript tag can only contain text content as children.`);return Zp.delete(o),Object.assign(o,t),o}var LZ=e=>(t,r,n)=>{var o=[],i;for(var s of n)B.isRange(s)?i=s:o.push(s);var u=Qp(o),l={},c=e();Object.assign(c,r),c.children=u;for(var[f,d]of W.texts(c)){var m=FZ(f),g=$Z(f);if(m!=null){var[v]=m;l.anchor={path:d,offset:v}}if(g!=null){var[h]=g;l.focus={path:d,offset:h}}}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 i!=null?c.selection=i:B.isRange(l)&&(c.selection=l),c};function jE(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 Mu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jE(Object(r),!0).forEach(function(n){Za(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var zZ={anchor:BZ,cursor:MZ,editor:LZ($p),element:UE,focus:IZ,fragment:kZ,selection:NZ,text:VZ},HZ=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{elements:r={}}=t,n=jZ(r),o=Mu(Mu(Mu({},zZ),n),t.creators),i=GZ(o);return i},GZ=e=>{var t=function(n,o){for(var i=arguments.length,s=new Array(i>2?i-2:0),u=2;u<i;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={}),Xe(o)||(s=[o].concat(s),o={}),s=s.filter(f=>!!f).flat();var c=l(n,o,s);return c};return t},jZ=e=>{var t={},r=function(){var i=e[n];if(typeof i!="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(i));t[n]=(s,u,l)=>UE("element",Mu(Mu({},i),u),l)};for(var n in e)r();return t},ts=HZ();a();var _Z=/["'&<>]/;var ed=e=>{let t=`${e}`,r=_Z.exec(t);if(!r)return t;let n="",o="",i=0,s=0;for(i=r.index;i<t.length;i++){let u=t.charCodeAt(i);u===34?n=""":u===38?n="&":u===39?n="'":u===60?n="<":u===62?n=">":n="",n!==""&&(s!==i&&(o+=t.substring(s,i)),s=i+1,o+=n)}return s!==i?o+t.substring(s,i):o};var P2={text:""},WZ=e=>e.type!=="image",UZ=e=>e.type==="image"&&e.url===void 0,KZ=e=>$(e.children)&&e.children.length===1,qZ=e=>Y.isText(e)&&e.text?.trim()==="",XZ=e=>KZ(e)&&qZ(e.children[0]),YZ=e=>e.every(t=>de(t)),JZ=e=>YZ(e)?null:e.join(""),KE=(e,t)=>{let r=e;return r.children&&(r.children=r.children.map(n=>({...KE(n,t),...t}))),r},ZZ=e=>{let r=[ed(e.text)];return $(e.bold)&&e.bold&&(r.push("</strong>"),r.unshift("<strong>")),$(e.italic)&&e.italic&&(r.push("</em>"),r.unshift("<em>")),$(e.underline)&&e.underline&&(r.push("</u>"),r.unshift("<u>")),$(e.strikethrough)&&e.strikethrough&&(r.push("</s>"),r.unshift("<s>")),$(e.code)&&e.code&&(r.push("</code>"),r.unshift("<code>")),r.join("")},qE=e=>{if(WZ(e)&&XZ(e)||UZ(e))return null;if(Y.isText(e))return ZZ(e);let t=$(e.children)?e.children.map(r=>qE(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="${ed(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="${ed(e.url)}" />`;case"code":return`<code>${t}</code>`;default:return t}},rs=e=>{let t=e.map(r=>qE(r));return JZ(t)},T2={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"})},XE={DEL:()=>({strikethrough:!0}),S:()=>({strikethrough:!0}),EM:()=>({italic:!0}),I:()=>({italic:!0}),STRONG:()=>({bold:!0}),U:()=>({underline:!0}),CODE:()=>({code:!0})},YE=e=>e.nodeType===3,QZ=e=>e.nodeType===1,JE=e=>e.nodeName==="CODE",ZE=(e,t)=>JE(e)&&$(t[0])&&!t[0].match(/\n/g),eQ=(e,t)=>!ZE(e,t)&&$(T2[e.nodeName]),tQ=(e,t)=>ZE(e,t)||$(XE[e.nodeName]),rQ=e=>$(e)&&!gt(e)&&e.text?.trim()==="",nQ=(e,t)=>{let{nodeName:r}=t;if(r!=="IMG"&&e.length===1&&!gt(e[0])&&$(e[0].text)&&e[0].text?.trim()==="")return ts("element",T2.P(),P2);let n=T2[r](t);return ts("element",n,e)},oQ=(e,t)=>{let{nodeName:r}=t,n=XE[r]();return e.map(o=>!gt(o)&&$(o)&&$(o.children)?KE(o,n):rQ(o)?ts("text",{},P2):ts("text",n,o))},iQ=e=>e.nodeName==="BLOCKQUOTE"||e.nodeName==="OL"||e.nodeName==="UL",aQ=(e,t)=>{let r=[];return JE(e)?r=[...e.childNodes].map(n=>YE(n)?n.textContent:n.outerHTML):iQ(e)?r=[...e.childNodes].filter(n=>n.textContent?.trim()!=="").flatMap(t):r=[...e.childNodes].flatMap(t),r},QE=e=>{if(YE(e))return e.nodeValue?.trim()===""?null:e.textContent;if(e.nodeName==="BR")return`
|
|
1838
|
+
`;if(!QZ(e))return null;let t=aQ(e,QE),r=t.length>0&&t[0]!=null?t:[P2];return e.nodeName==="BODY"?ts("fragment",{},r):eQ(e,t)?nQ(r,e):tQ(e,r)?oQ(r,e):t},td=e=>{if(!e)return;let t=new DOMParser().parseFromString(e,"text/html").body,r=QE(t);if($(r)&&Oo(r)&&$(r[0])&&$(r[0].text))return[{type:"paragraph",children:[{text:r[0].text}]}];let n=Oo(r)?r[r.length-1]:void 0;return Oo(r)&&K.isElement(n)&&n.type!=="paragraph"?[...r,{type:"paragraph",children:[{text:""}]}]:r};a();import{jsx as ns}from"react/jsx-runtime";var eT=({attributes:e={"data-slate-leaf":!0},children:t,leaf:r={}})=>{let n=t;return $(r.bold)&&(n=ns("strong",{children:n})),$(r.italic)&&(n=ns("em",{children:n})),$(r.underline)&&(n=ns("u",{children:n})),$(r.strikethrough)&&(n=ns("s",{children:n})),$(r.code)&&(n=ns("code",{children:n})),ns("span",{...e,children:n})};a();import Yr,{css as rT}from"styled-components";import{jsx as fr,jsxs as gQ}from"react/jsx-runtime";var tT=Yr.span`
|
|
1839
1839
|
display: 'inline-block';
|
|
1840
1840
|
user-select: none;
|
|
1841
1841
|
`,sQ=Yr.img`
|
|
@@ -1874,7 +1874,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1874
1874
|
font-weight: 300;
|
|
1875
1875
|
`,hQ=Yr.span`
|
|
1876
1876
|
font-weight: 400;
|
|
1877
|
-
`,oT=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=PE(),o=BE();switch(r.type){case"span":return fr(hQ,{...e,children:t});case"blockquote":return fr("blockquote",{...e,children:t});case"bulleted-list":return fr(lQ,{...e,children:t});case"heading-one":return fr(cQ,{...e,children:t});case"heading-two":return fr(fQ,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return fr(pQ,{...e,children:t});case"list-item":return fr("li",{...e,children:t});case"numbered-list":return fr(uQ,{...e,children:t});case"image":return gQ(tT,{...e,children:[fr(tT,{contentEditable:!1,children:fr(sQ,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return fr(mQ,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return fr("code",{...e,children:t});default:return fr(dQ,{...e,children:t})}};a();import SQ from"styled-components";a();a();a();var rd=(e,t)=>{let[r]=C.nodes(e,{match:n=>K.isElement(n)&&n.type===t});return!!r},iT=new Set(["numbered-list","bulleted-list"]),Co=(e,t)=>{let r=rd(e,t),n=iT.has(t);V.unwrapNodes(e,{match:i=>K.isElement(i)&&R(i.type)&&iT.has(i.type),split:!0});let o=n?"list-item":t;if(V.setNodes(e,{type:r?"paragraph":o}),!r&&n){let i={type:t,children:[]};V.wrapNodes(e,i)}},nd=(e,t)=>{let r=C.marks(e);return be(r&&Object.keys(r).find(n=>n===t))},Rn=(e,t)=>{nd(e,t)?C.removeMark(e,t):C.addMark(e,t,!0)};var aT={text:""},vQ=["jpg","png","gif","tiff","bmp","dcm"],yQ=e=>{if(!Hn(e))return!1;let t=vQ.find(r=>e.includes(r));return J(t)&&!!t},O2=(e,t)=>{if(!t){Co(e,"image");return}if(!yQ(t)){Co(e,"image");return}let r={type:"image",url:t,children:[aT]};V.insertNodes(e,r)},F2=e=>{let{normalizeNode:t,isVoid:r}=e;return e.isVoid=n=>n.type==="image"?!0:r(n),e.normalizeNode=([n,o])=>{if(K.isElement(n)&&n.type==="image"&&n.url!==void 0){let i={type:"paragraph",children:[aT]},s=J(o[0])?o[0]+1:1;V.insertNodes(e,i,{at:[s]}),V.move(e)}K.isElement(n)&&n.type==="image"&&n.url===void 0&&J(n.children)&&J(n.children[0])&&J(n.children[0].text)&&n.children[0].text.trim()!==""&&V.setNodes(e,{type:"span"},{match:i=>K.isElement(i)&&i.type==="image"&&i.url===void 0&&J(i.children)&&Y.isText(i.children[0])&&R(i.children[0].text)&&i.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};a();var bQ=e=>!!/^#.+$/i.test(e),sT=e=>{let[t]=C.nodes(e,{match:r=>K.isElement(r)&&r.type==="link"});return!!t},uT=e=>{V.unwrapNodes(e,{match:t=>K.isElement(t)&&t.type==="link"})},$2=(e,t)=>{sT(e)&&uT(e);let{selection:r}=e,n=r&&B.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"}))},R2=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=i=>i.type==="link"?!0:n(i),e.insertText=i=>{i&&Hn(i)?$2(e,i):r(i)},e.insertData=i=>{let s=i.getData("text/plain");s&&Hn(s)?$2(e,s):t(i)},e.normalizeNode=([i,s])=>{K.isElement(i)&&i.type==="link"&&W.string(i)===""&&(V.unwrapNodes(e,{at:s}),V.select(e,P.next(s))),o([i,s])},e},B2=e=>{if(sT(e))uT(e);else{let t=prompt("Enter the URL of the link:");if(!be(t)){Rn(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces."),Rn(e,"link");return}if(!Hn(t)&&!bQ(t)){alert("The URL provided looks invalid. Try again. Make sure to include the protocol (ex. https://) in the URL."),Rn(e,"link");return}e.selection&&$2(e,t)}};a();var lT={...C,isBlck:C.isBlock},CQ={type:"paragraph",children:[{text:"",marks:[]}]},xQ=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",M2=e=>{let{selection:t}=e,r=t&&B.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",i=lT.above(e,{match:s=>lT.isBlck(e,s)});(r??!1)&&o&&xQ(i[0].children)&&(V.removeNodes(e,{hanging:!0}),V.insertNodes(e,CQ),V.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};a();var mt=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"});a();a();a();var I2={"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 k2={};f1(k2,{BlockQuote:()=>fT,Bold:()=>dT,BulletedList:()=>hT,Heading:()=>vT,HeadingTwo:()=>bT,Image:()=>xT,Italic:()=>ST,Link:()=>ET,NumberedList:()=>PT,Strikethrough:()=>OT,Underline:()=>$T});a();a();import{jsx as cT}from"react/jsx-runtime";var fT=e=>cT("svg",{...e,children:cT("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"})});a();import{jsx as pT}from"react/jsx-runtime";var dT=e=>pT("svg",{...e,children:pT("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"})});a();import{jsx as mT}from"react/jsx-runtime";var hT=e=>mT("svg",{...e,children:mT("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"})});a();import{jsx as gT}from"react/jsx-runtime";var vT=e=>gT("svg",{...e,children:gT("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});a();import{jsx as yT}from"react/jsx-runtime";var bT=e=>yT("svg",{...e,children:yT("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"})});a();import{jsx as CT}from"react/jsx-runtime";var xT=e=>CT("svg",{...e,children:CT("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"})});a();import{jsx as wT}from"react/jsx-runtime";var ST=e=>wT("svg",{...e,children:wT("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});a();import{jsx as DT}from"react/jsx-runtime";var ET=e=>DT("svg",{...e,children:DT("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"})});a();import{jsx as TT}from"react/jsx-runtime";var PT=e=>TT("svg",{...e,children:TT("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"})});a();import{jsx as AT}from"react/jsx-runtime";var OT=e=>AT("svg",{...e,children:AT("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});a();import{jsx as FT}from"react/jsx-runtime";var $T=e=>FT("svg",{...e,children:FT("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"})});import{jsx as wQ}from"react/jsx-runtime";var od={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Xt=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(de(n))throw new Error("An Icon component requires a `type` prop to be provided");if(de(I2[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(de(od[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let i=k2[I2[n]],s={verticalAlign:"middle",...r};return wQ(i,{"aria-hidden":"true",color:e,height:`${od[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${od[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Xt.displayName="Icon_VHS";import{jsx as Ue,jsxs as PQ}from"react/jsx-runtime";var DQ=SQ.div`
|
|
1877
|
+
`,oT=({attributes:e={"data-slate-node":"element",ref:void 0},children:t=void 0,element:r={}})=>{let n=PE(),o=BE();switch(r.type){case"span":return fr(hQ,{...e,children:t});case"blockquote":return fr("blockquote",{...e,children:t});case"bulleted-list":return fr(lQ,{...e,children:t});case"heading-one":return fr(cQ,{...e,children:t});case"heading-two":return fr(fQ,{...e,children:t});case"heading-three":case"heading-four":case"heading-five":case"heading-six":return fr(pQ,{...e,children:t});case"list-item":return fr("li",{...e,children:t});case"numbered-list":return fr(uQ,{...e,children:t});case"image":return gQ(tT,{...e,children:[fr(tT,{contentEditable:!1,children:fr(sQ,{alt:"",contentEditable:!1,focused:o,selected:n,src:r.url})}),t]});case"link":return fr(mQ,{...e,href:r.url,rel:"noopener noreferrer",target:"_blank",children:t});case"code":return fr("code",{...e,children:t});default:return fr(dQ,{...e,children:t})}};a();import SQ from"styled-components";a();a();a();var rd=(e,t)=>{let[r]=C.nodes(e,{match:n=>K.isElement(n)&&n.type===t});return!!r},iT=new Set(["numbered-list","bulleted-list"]),Co=(e,t)=>{let r=rd(e,t),n=iT.has(t);V.unwrapNodes(e,{match:i=>K.isElement(i)&&$(i.type)&&iT.has(i.type),split:!0});let o=n?"list-item":t;if(V.setNodes(e,{type:r?"paragraph":o}),!r&&n){let i={type:t,children:[]};V.wrapNodes(e,i)}},nd=(e,t)=>{let r=C.marks(e);return be(r&&Object.keys(r).find(n=>n===t))},$n=(e,t)=>{nd(e,t)?C.removeMark(e,t):C.addMark(e,t,!0)};var aT={text:""},vQ=["jpg","png","gif","tiff","bmp","dcm"],yQ=e=>{if(!Hn(e))return!1;let t=vQ.find(r=>e.includes(r));return J(t)&&!!t},O2=(e,t)=>{if(!t){Co(e,"image");return}if(!yQ(t)){Co(e,"image");return}let r={type:"image",url:t,children:[aT]};V.insertNodes(e,r)},F2=e=>{let{normalizeNode:t,isVoid:r}=e;return e.isVoid=n=>n.type==="image"?!0:r(n),e.normalizeNode=([n,o])=>{if(K.isElement(n)&&n.type==="image"&&n.url!==void 0){let i={type:"paragraph",children:[aT]},s=J(o[0])?o[0]+1:1;V.insertNodes(e,i,{at:[s]}),V.move(e)}K.isElement(n)&&n.type==="image"&&n.url===void 0&&J(n.children)&&J(n.children[0])&&J(n.children[0].text)&&n.children[0].text.trim()!==""&&V.setNodes(e,{type:"span"},{match:i=>K.isElement(i)&&i.type==="image"&&i.url===void 0&&J(i.children)&&Y.isText(i.children[0])&&$(i.children[0].text)&&i.children[0].text.trim()!=="",split:!0,at:o,mode:"highest"}),t([n,o])},e};a();var bQ=e=>!!/^#.+$/i.test(e),sT=e=>{let[t]=C.nodes(e,{match:r=>K.isElement(r)&&r.type==="link"});return!!t},uT=e=>{V.unwrapNodes(e,{match:t=>K.isElement(t)&&t.type==="link"})},R2=(e,t)=>{sT(e)&&uT(e);let{selection:r}=e,n=r&&B.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"}))},$2=e=>{let{insertData:t,insertText:r,isInline:n,normalizeNode:o}=e;return e.isInline=i=>i.type==="link"?!0:n(i),e.insertText=i=>{i&&Hn(i)?R2(e,i):r(i)},e.insertData=i=>{let s=i.getData("text/plain");s&&Hn(s)?R2(e,s):t(i)},e.normalizeNode=([i,s])=>{K.isElement(i)&&i.type==="link"&&W.string(i)===""&&(V.unwrapNodes(e,{at:s}),V.select(e,P.next(s))),o([i,s])},e},B2=e=>{if(sT(e))uT(e);else{let t=prompt("Enter the URL of the link:");if(!be(t)){$n(e,"link");return}if(t.includes(" ")){alert("The URL provided had spaces. Try again without spaces."),$n(e,"link");return}if(!Hn(t)&&!bQ(t)){alert("The URL provided looks invalid. Try again. Make sure to include the protocol (ex. https://) in the URL."),$n(e,"link");return}e.selection&&R2(e,t)}};a();var lT={...C,isBlck:C.isBlock},CQ={type:"paragraph",children:[{text:"",marks:[]}]},xQ=e=>e.length===1?e[e.length-1]?.text?.trim()==="":e.find(r=>r.type==="link")?.children[0]?.text?.trim()==="",M2=e=>{let{selection:t}=e,r=t&&B.isCollapsed(t),n=e.children[t.anchor.path[0]],o=n.type==="bulleted-list"||n.type==="numbered-list",i=lT.above(e,{match:s=>lT.isBlck(e,s)});(r??!1)&&o&&xQ(i[0].children)&&(V.removeNodes(e,{hanging:!0}),V.insertNodes(e,CQ),V.unwrapNodes(e,{match:({type:s})=>s==="bulleted-list"||s==="numbered-list",all:!0,split:!0}))};a();var mt=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"});a();a();a();var I2={"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 k2={};f1(k2,{BlockQuote:()=>fT,Bold:()=>dT,BulletedList:()=>hT,Heading:()=>vT,HeadingTwo:()=>bT,Image:()=>xT,Italic:()=>ST,Link:()=>ET,NumberedList:()=>PT,Strikethrough:()=>OT,Underline:()=>RT});a();a();import{jsx as cT}from"react/jsx-runtime";var fT=e=>cT("svg",{...e,children:cT("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"})});a();import{jsx as pT}from"react/jsx-runtime";var dT=e=>pT("svg",{...e,children:pT("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"})});a();import{jsx as mT}from"react/jsx-runtime";var hT=e=>mT("svg",{...e,children:mT("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"})});a();import{jsx as gT}from"react/jsx-runtime";var vT=e=>gT("svg",{...e,children:gT("path",{d:"M7.9995 3V6.7995H14.154V22.0005H17.8455V6.7995H24V3H7.9995ZM0 12.9H3.666V22.0005H7.335V12.9H11.001V9H0V12.9Z",fill:"currentColor"})});a();import{jsx as yT}from"react/jsx-runtime";var bT=e=>yT("svg",{...e,children:yT("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"})});a();import{jsx as CT}from"react/jsx-runtime";var xT=e=>CT("svg",{...e,children:CT("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"})});a();import{jsx as wT}from"react/jsx-runtime";var ST=e=>wT("svg",{...e,children:wT("path",{d:"M8.8335 1.99951V6.28501H12.0555L7.0695 17.715H3V22.0005H14.667V17.715H11.4435L16.431 6.28501H20.5005V1.99951H8.8335Z",fill:"currentColor"})});a();import{jsx as DT}from"react/jsx-runtime";var ET=e=>DT("svg",{...e,children:DT("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"})});a();import{jsx as TT}from"react/jsx-runtime";var PT=e=>TT("svg",{...e,children:TT("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"})});a();import{jsx as AT}from"react/jsx-runtime";var OT=e=>AT("svg",{...e,children:AT("path",{d:"M2 13.75V12.25H22V13.75H2ZM10.75 10.75V6.5H5V4H19V6.5H13.25V10.75H10.75ZM10.75 20V15.25H13.25V20H10.75Z",fill:"currentColor"})});a();import{jsx as FT}from"react/jsx-runtime";var RT=e=>FT("svg",{...e,children:FT("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"})});import{jsx as wQ}from"react/jsx-runtime";var od={sm:"12",md:"16",lg:"24",xl:"32",xxl:"48"},Xt=({color:e="currentColor",size:t="lg",style:r,type:n,...o})=>{if(de(n))throw new Error("An Icon component requires a `type` prop to be provided");if(de(I2[n]))throw new Error(`Type "${n}" does not exist, please update type prop in Icon component.`);if(de(od[t]))throw new Error(`Size "${t}" does not exist, please update size prop in Icon component.`);let i=k2[I2[n]],s={verticalAlign:"middle",...r};return wQ(i,{"aria-hidden":"true",color:e,height:`${od[t]}px`,role:"presentation",style:s,viewBox:"0 0 24 24",width:`${od[t]}px`,xmlns:"http://www.w3.org/2000/svg",...o})};Xt.displayName="Icon_VHS";import{jsx as Ue,jsxs as PQ}from"react/jsx-runtime";var DQ=SQ.div`
|
|
1878
1878
|
background: white;
|
|
1879
1879
|
border-bottom: 1px solid ${({theme:e})=>e.color.grey400};
|
|
1880
1880
|
display: flex;
|
|
@@ -1888,24 +1888,24 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1888
1888
|
* did not add to theme because it doesn't interact with any other components
|
|
1889
1889
|
*/
|
|
1890
1890
|
z-index: 1;
|
|
1891
|
-
`,Pr=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let i=Yp(),s=_e("brandBlue500"),u=o==="block"?rd(i,e):nd(i,e);return Ue(fo,{"aria-pressed":u,colorOverride:u?s:void 0,disabled:r,icon:t,label:e,onClick:f=>{f.preventDefault(),o==="block"?Co(i,e)
|
|
1891
|
+
`,Pr=({format:e="",icon:t,disabled:r=!1,onCustomClick:n,buttonType:o="block"})=>{let i=Yp(),s=_e("brandBlue500"),u=o==="block"?rd(i,e):nd(i,e);return Ue(fo,{"aria-pressed":u,colorOverride:u?s:void 0,disabled:r,icon:t,label:e,onClick:f=>{f.preventDefault(),o==="block"?Co(i,e):$n(i,e),n&&n(f)},preventTooltip:!0})},EQ=e=>{if(!e.selection)return"";let t=W.fragment(e,e.selection);return t[0]?W.string(t[0]):""},TQ=e=>EQ(e).trim()==="",$T=({enabledFormats:e=["BOLD","ITALIC","HEADING_1","LINK","BULLETED_LIST","IMAGE"],disabled:t=!1})=>{let r=Yp();return PQ(DQ,{children:[e.includes(mt.BOLD)&&Ue(Pr,{buttonType:"mark",disabled:t,format:"bold",icon:Ue(Xt,{type:"bold"})}),e.includes(mt.ITALIC)&&Ue(Pr,{buttonType:"mark",disabled:t,format:"italic",icon:Ue(Xt,{type:"italic"})}),e.includes(mt.HEADING_1)&&Ue(Pr,{buttonType:"block",disabled:t,format:"heading-one",icon:Ue(Xt,{type:"heading"})}),e.includes(mt.HEADING_2)&&Ue(Pr,{buttonType:"block",disabled:t,format:"heading-two",icon:Ue(Xt,{type:"heading-two"})}),e.includes(mt.BULLETED_LIST)&&Ue(Pr,{buttonType:"block",disabled:t,format:"bulleted-list",icon:Ue(Xt,{type:"bulleted-list"})}),e.includes(mt.NUMBERED_LIST)&&Ue(Pr,{buttonType:"block",disabled:t,format:"numbered-list",icon:Ue(Xt,{type:"numbered-list"})}),e.includes(mt.BLOCKQUOTE)&&Ue(Pr,{buttonType:"block",disabled:t,format:"blockquote",icon:Ue(Xt,{type:"block-quote"})}),e.includes(mt.UNDERLINE)&&Ue(Pr,{buttonType:"mark",disabled:t,format:"underline",icon:Ue(Xt,{type:"underline"})}),e.includes(mt.STRIKETHROUGH)&&Ue(Pr,{buttonType:"mark",disabled:t,format:"strikethrough",icon:Ue(Xt,{type:"strikethrough"})}),e.includes(mt.LINK)&&Ue(Pr,{buttonType:"mark",disabled:t||TQ(r),format:"link",icon:Ue(Xt,{type:"link"}),onCustomClick:n=>{n.preventDefault(),B2(r)}}),e.includes(mt.IMAGE)&&Ue(Pr,{buttonType:"block",disabled:t,format:"image",icon:Ue(Xt,{type:"image"}),onCustomClick:n=>{n.preventDefault();let o=prompt("Enter the URL of the image:");be(o)&&O2(r,o)}})]})};import{jsx as Nu,jsxs as MQ}from"react/jsx-runtime";var FQ=IT(RE)`
|
|
1892
1892
|
color: ${({theme:e})=>e.color.grey900};
|
|
1893
1893
|
outline: none; /* prevent blue accessibility outline from appearing on focus */
|
|
1894
|
-
|
|
1894
|
+
`,RQ="300px",$Q=IT.div`
|
|
1895
1895
|
background: white;
|
|
1896
1896
|
border: 1px solid ${({theme:e})=>e.color.grey400};
|
|
1897
1897
|
border-radius: 4px;
|
|
1898
1898
|
cursor: ${({disabled:e})=>e?"not-allowed":"auto"};
|
|
1899
1899
|
font-size: 14px;
|
|
1900
1900
|
font-weight: ${({theme:e})=>e.font.weight.medium};
|
|
1901
|
-
height: ${({height:e})=>e
|
|
1901
|
+
height: ${({height:e})=>e??RQ};
|
|
1902
1902
|
overflow: auto;
|
|
1903
1903
|
padding: 0 ${({theme:e})=>e.spacing.space04};
|
|
1904
1904
|
|
|
1905
1905
|
strong {
|
|
1906
1906
|
font-weight: ${({theme:e})=>e.font.weight.bold};
|
|
1907
1907
|
}
|
|
1908
|
-
`,BT={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},BQ={text:""},MT=[{type:"paragraph",children:[BQ]}],id=({enabledFormats:e=Object.values(mt),value:t=MT,onChange:r,onBlur:n,placeholder:o="Enter some rich text...",disabled:i=!1,ariaLabelledBy:s,useExternalValue:u,"data-testid":l="vhs-rich-text-editor",height:c,...f})=>{let d=N2(b=>Nu(oT,{...b}),[]),m=N2(b=>Nu(eT,{...b}),[]),g=AQ(()=>F2(
|
|
1908
|
+
`,BT={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},BQ={text:""},MT=[{type:"paragraph",children:[BQ]}],id=({enabledFormats:e=Object.values(mt),value:t=MT,onChange:r,onBlur:n,placeholder:o="Enter some rich text...",disabled:i=!1,ariaLabelledBy:s,useExternalValue:u,"data-testid":l="vhs-rich-text-editor",height:c,...f})=>{let d=N2(b=>Nu(oT,{...b}),[]),m=N2(b=>Nu(eT,{...b}),[]),g=AQ(()=>F2($2(kE(IE($p())))),[]),v=b=>{if(de(b)||de(b[0])||de(b[0].children))return!1;let{text:x}=b[0].children[0];return be(x)};OQ(()=>{let b=(0,NT.default)(t,MT),x=rs(t),w=rs(g.children);(b||v(t)&&u&&x!==w)&&(g.children=t,g.selection=null,g.onChange())},[t,g,u]);let h=b=>{let x=g.children;$(n)&&n(x)},y=N2(()=>{let{selection:b}=g;if(de(b)||de(b.anchor.path[0]))return;let x=g.children[b.anchor.path[0]];if(K.isElement(x)&&x.type==="image"){Co(g,"image"),V.removeNodes(g,{at:b}),V.move(g,{reverse:!0});let w=g.children.filter(S=>S.type==="span")[0];K.isElement(w)&&w.type==="span"&&$(w.children)&&$(w.children[0])&&$(w.children[0].text)&&w.children[0].text.trim()!==""&&V.setNodes(g,{type:"paragraph"},{match:S=>S.type==="span"&&$(S.children)&&Y.isText(S.children[0])&&$(S.children[0].text)&&S.children[0].text.trim()!=="",split:!0,mode:"highest"})}},[g]);return Nu($Q,{"data-testid":l,disabled:i,height:c,onClick:()=>L.focus(g),children:MQ(ME,{editor:g,initialValue:t,onChange:r,...f,children:[Nu($T,{disabled:i,enabledFormats:e}),Nu(FQ,{"aria-labelledby":s,autoFocus:!1,"data-testid":"editor-content",onBlur:h,onKeyDown:b=>{Object.keys(BT).forEach(x=>{(0,kT.default)(x,b)&&(b.preventDefault(),$n(g,BT[x]))}),b.key==="Enter"&&!b.shiftKey&&M2(g),(b.key==="Backspace"||b.key==="Clear"||b.key==="Delete")&&y()},placeholder:o,readOnly:i,renderElement:d,renderLeaf:m,spellCheck:!0})]})})};id.displayName="RichTextEditor_VHS";import{jsx as V2}from"react/jsx-runtime";var VQ=NQ.div`
|
|
1909
1909
|
margin-top: ${({theme:e})=>e.spacing.space02};
|
|
1910
1910
|
`,ad=({field:{name:e,value:t,onChange:r},form:{errors:n},label:o,labelDescription:i,labelProps:s={},placeholder:u="",disabled:l=!1,enabledFormats:c=Object.values(mt),useExternalValue:f=!1,height:d=void 0,...m})=>{let[g,v]=IQ(td(rr(t))),h=J(o)?`${e}-label-id`:void 0;return kQ(()=>{f&&v(td(rr(t)))},[f,t]),V2(Ut,{disabled:l,error:n[e],label:o,labelDescription:i,labelId:h,labelProps:s,name:e,children:V2(VQ,{"data-testid":`richTextEditor-${e}`,children:V2(id,{ariaLabelledBy:h,disabled:l,enabledFormats:c,height:d,onChange:y=>{v(y);let b=rs(y)??"";r(e)(b)},placeholder:u,useExternalValue:f,value:g,...m})})})};ad.displayName="FormConnectorRichTextEditor_VHS";import{jsx as VT}from"react/jsx-runtime";var zQ=LT.fieldset`
|
|
1911
1911
|
border: 0;
|
|
@@ -1974,13 +1974,13 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
1974
1974
|
`,QQ=sd.div`
|
|
1975
1975
|
display: flex;
|
|
1976
1976
|
gap: ${({theme:e})=>e.spacing.space01};
|
|
1977
|
-
`,eee=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()}},jT=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>tee(YQ,{componentStyle:n,fullWidth:r,...o,children:[
|
|
1977
|
+
`,eee=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()}},jT=({label:e,keyboardKeys:t,fullWidth:r=!1,componentStyle:n="dark",...o})=>tee(YQ,{componentStyle:n,fullWidth:r,...o,children:[$(e)&&z2(ZQ,{componentStyle:n,children:e}),z2(QQ,{children:[...t].map(i=>z2(JQ,{componentStyle:n,children:eee(i)},i))})]});jT.displayName="KeyboardShortcut_VHS";a();a();a();import{forwardRef as ree}from"react";import nee from"styled-components";import{jsx as uee}from"react/jsx-runtime";var oee=13,iee=32,aee=e=>e.key==="Enter"||e.key===" "||e.key==="Spacebar"||e.which===oee||e.which===iee,see=nee.span`
|
|
1978
1978
|
${({noStyle:e})=>e?void 0:Xf};
|
|
1979
1979
|
|
|
1980
1980
|
&[tabindex] {
|
|
1981
1981
|
${({underlineOnHover:e})=>e?qf:void 0};
|
|
1982
1982
|
}
|
|
1983
|
-
`,_T=ree(({children:e,disabled:t=!1,forceState:r,label:n,onClick:o,noStyle:i=!1,underlineOnHover:s=!1,variant:u="primary",...l},c)=>uee(see,{ref:c,"aria-disabled":t,disabledLink:t,forceState:r,noStyle:i,onClick:v=>{de(o)||t||o(v)},onKeyPress:v=>{de(o)||aee(v)&&(v.preventDefault(),o(v))},role:"button",tabIndex:t?void 0:0,underlineOnHover:s,variant:u,...l,children
|
|
1983
|
+
`,_T=ree(({children:e,disabled:t=!1,forceState:r,label:n,onClick:o,noStyle:i=!1,underlineOnHover:s=!1,variant:u="primary",...l},c)=>uee(see,{ref:c,"aria-disabled":t,disabledLink:t,forceState:r,noStyle:i,onClick:v=>{de(o)||t||o(v)},onKeyPress:v=>{de(o)||aee(v)&&(v.preventDefault(),o(v))},role:"button",tabIndex:t?void 0:0,underlineOnHover:s,variant:u,...l,children:$(e)?e:$(n)?n:null}));_T.displayName="LinkButton_VHS";a();a();import pee,{css as Vu}from"styled-components";a();import lee from"styled-components";import{jsx as fee}from"react/jsx-runtime";var cee=lee.li`
|
|
1984
1984
|
margin-bottom: ${({theme:e})=>e.spacing.space02};
|
|
1985
1985
|
`,os=({children:e})=>de(e)?null:fee(cee,{children:e});os.displayName="ListItem_VHS";import{jsx as KT,jsxs as yee}from"react/jsx-runtime";var ud=Vu`
|
|
1986
1986
|
overflow: hidden;
|
|
@@ -2059,7 +2059,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2059
2059
|
li ol {
|
|
2060
2060
|
margin-bottom: 0;
|
|
2061
2061
|
}
|
|
2062
|
-
`,WT=(e,t,{...r})=>KT(vee,{as:t==="ordered"?"ol":"ul",variant:t,...r,children:e}),UT=(e,t,r)=>{let n=0,o=e.map((i,s)=>{let u=i,l=e[s+1],c=`item-${n+=1}`;return Array.isArray(l)?yee(os,{children:[u,UT(l,t,r)]},c):Array.isArray(u)?null:KT(os,{children:u},c)});return WT(o,t,r)},ld=({children:e,items:t,variant:r,...n})=>{let o=r??"bullets";return
|
|
2062
|
+
`,WT=(e,t,{...r})=>KT(vee,{as:t==="ordered"?"ol":"ul",variant:t,...r,children:e}),UT=(e,t,r)=>{let n=0,o=e.map((i,s)=>{let u=i,l=e[s+1],c=`item-${n+=1}`;return Array.isArray(l)?yee(os,{children:[u,UT(l,t,r)]},c):Array.isArray(u)?null:KT(os,{children:u},c)});return WT(o,t,r)},ld=({children:e,items:t,variant:r,...n})=>{let o=r??"bullets";return $(e)?Array.isArray(e)&&!e.length?null:WT(e,o,n):$(t)&&t.length?UT(t,o,n):null};ld.displayName="List_VHS";a();a();import H2 from"styled-components";import{jsx as qT,jsxs as wee}from"react/jsx-runtime";var bee=e=>{if(e==="bottom")return"flex-end";if(e==="middle")return"center";if(e==="top")return"flex-start"},XT=H2.div`
|
|
2063
2063
|
align-items: flex-start;
|
|
2064
2064
|
display: flex;
|
|
2065
2065
|
flex-direction: row;
|
|
@@ -2087,7 +2087,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2087
2087
|
which in turn throws off perfect centering */
|
|
2088
2088
|
vertical-align: bottom;
|
|
2089
2089
|
}
|
|
2090
|
-
`,YT=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...i})=>wee(XT,{...i,children:[R(n)?qT(xee,{align:t,gap:r,placement:e,children:n}):null,qT(Cee,{align:t,children:o})]});YT.displayName="MediaObject_VHS";a();import{useState as Mne}from"react";import Gg,{css as Ine,keyframes as wO}from"styled-components";a();import{useRef as uO,createElement as Dt,useCallback as Pne,forwardRef as Fr}from"react";a();function ye(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}a();import{useCallback as See}from"react";function Dee(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function gi(...e){return t=>e.forEach(r=>Dee(r,t))}function rt(...e){return See(gi(...e),e)}a();import{createContext as JT,useMemo as G2,createElement as Eee,useContext as Tee}from"react";function Jr(e,t=[]){let r=[];function n(i,s){let u=JT(s),l=r.length;r=[...r,s];function c(d){let{scope:m,children:g,...v}=d,h=m?.[e][l]||u,y=G2(()=>v,Object.values(v));return Eee(h.Provider,{value:y},g)}function f(d,m){let g=m?.[e][l]||u,v=Tee(g);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,f]}let o=()=>{let i=r.map(s=>JT(s));return function(u){let l=u?.[e]||i;return G2(()=>({[`__scope${e}`]:{...u,[e]:l}}),[u,l])}};return o.scopeName=e,[n,Pee(o,...t)]}function Pee(...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(i){let s=n.reduce((u,{useScope:l,scopeName:c})=>{let d=l(i)[`__scope${c}`];return{...u,...d}},{});return G2(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}a();import{useCallback as $ee,useState as Ree,useRef as Bee,useEffect as Mee}from"react";a();import{useRef as Aee,useEffect as Oee,useMemo as Fee}from"react";function it(e){let t=Aee(e);return Oee(()=>{t.current=e}),Fee(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Lu({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=Iee({defaultProp:t,onChange:r}),i=e!==void 0,s=i?e:n,u=it(r),l=$ee(c=>{if(i){let d=typeof c=="function"?c(e):c;d!==e&&u(d)}else o(c)},[i,e,o,u]);return[s,l]}function Iee({defaultProp:e,onChange:t}){let r=Ree(e),[n]=r,o=Bee(n),i=it(t);return Mee(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}a();import{forwardRef as zee,useEffect as Hee,createElement as Gee}from"react";import{flushSync as jee}from"react-dom";a();import{forwardRef as ZT,Children as zu,isValidElement as cd,createElement as j2,cloneElement as QT,Fragment as kee}from"react";var xo=ZT((e,t)=>{let{children:r,...n}=e,o=zu.toArray(r),i=o.find(Vee);if(i){let s=i.props.children,u=o.map(l=>l===i?zu.count(s)>1?zu.only(null):cd(s)?s.props.children:null:l);return j2(_2,Z({},n,{ref:t}),cd(s)?QT(s,void 0,u):null)}return j2(_2,Z({},n,{ref:t}),r)});xo.displayName="Slot";var _2=ZT((e,t)=>{let{children:r,...n}=e;return cd(r)?QT(r,{...Lee(n,r.props),ref:t?gi(t,r.ref):r.ref}):zu.count(r)>1?zu.only(null):null});_2.displayName="SlotClone";var Nee=({children:e})=>j2(kee,null,e);function Vee(e){return cd(e)&&e.type===Nee}function Lee(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...u)=>{i(...u),o(...u)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}var _ee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],at=_ee.reduce((e,t)=>{let r=zee((n,o)=>{let{asChild:i,...s}=n,u=i?xo:t;return Hee(()=>{window[Symbol.for("radix-ui")]=!0},[]),Gee(u,Z({},s,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function fd(e,t){e&&jee(()=>e.dispatchEvent(t))}a();import{useState as ds,useRef as Zt,useEffect as Ai,createElement as ge,useCallback as Pi,forwardRef as It,Fragment as Ure}from"react";a();import Zr from"react";function pd(e){let t=e+"CollectionProvider",[r,n]=Jr(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{let{scope:v,children:h}=g,y=Zr.useRef(null),b=Zr.useRef(new Map).current;return Zr.createElement(o,{scope:v,itemMap:b,collectionRef:y},h)},u=e+"CollectionSlot",l=Zr.forwardRef((g,v)=>{let{scope:h,children:y}=g,b=i(u,h),x=rt(v,b.collectionRef);return Zr.createElement(xo,{ref:x},y)}),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Zr.forwardRef((g,v)=>{let{scope:h,children:y,...b}=g,x=Zr.useRef(null),w=rt(v,x),S=i(c,h);return Zr.useEffect(()=>(S.itemMap.set(x,{ref:x,...b}),()=>void S.itemMap.delete(x))),Zr.createElement(xo,{[f]:"",ref:w},y)});function m(g){let v=i(e+"CollectionConsumer",g);return Zr.useCallback(()=>{let y=v.collectionRef.current;if(!y)return[];let b=Array.from(y.querySelectorAll(`[${f}]`));return Array.from(v.itemMap.values()).sort((S,E)=>b.indexOf(S.ref.current)-b.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},m,n]}a();import{createContext as Wee,createElement as Nnt,useContext as Uee}from"react";var Kee=Wee(void 0);function dd(e){let t=Uee(Kee);return e||t||"ltr"}a();import{createContext as Xee,forwardRef as Yee,useContext as Jee,useState as tP,useEffect as Hu,createElement as Zee,useRef as W2}from"react";a();import{useEffect as qee}from"react";function eP(e,t=globalThis?.document){let r=it(e);qee(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}var U2="dismissableLayer.update",Qee="dismissableLayer.pointerDownOutside",ete="dismissableLayer.focusOutside",rP,tte=Xee({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),oP=Yee((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:u,onDismiss:l,...c}=e,f=Jee(tte),[d,m]=tP(null),g=(r=d?.ownerDocument)!==null&&r!==void 0?r:globalThis?.document,[,v]=tP({}),h=rt(t,O=>m(O)),y=Array.from(f.layers),[b]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(b),w=d?y.indexOf(d):-1,S=f.layersWithOutsidePointerEventsDisabled.size>0,E=w>=x,D=rte(O=>{let F=O.target,I=[...f.branches].some(G=>G.contains(F));!E||I||(i?.(O),u?.(O),O.defaultPrevented||l?.())},g),T=nte(O=>{let F=O.target;[...f.branches].some(G=>G.contains(F))||(s?.(O),u?.(O),O.defaultPrevented||l?.())},g);return eP(O=>{w===f.layers.size-1&&(o?.(O),!O.defaultPrevented&&l&&(O.preventDefault(),l()))},g),Hu(()=>{if(d)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(rP=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),nP(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=rP)}},[d,g,n,f]),Hu(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),nP())},[d,f]),Hu(()=>{let O=()=>v({});return document.addEventListener(U2,O),()=>document.removeEventListener(U2,O)},[]),Zee(at.div,Z({},c,{ref:h,style:{pointerEvents:S?E?"auto":"none":void 0,...e.style},onFocusCapture:ye(e.onFocusCapture,T.onFocusCapture),onBlurCapture:ye(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:ye(e.onPointerDownCapture,D.onPointerDownCapture)}))});function rte(e,t=globalThis?.document){let r=it(e),n=W2(!1),o=W2(()=>{});return Hu(()=>{let i=u=>{if(u.target&&!n.current){let c=function(){iP(Qee,r,l,{discrete:!0})},l={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",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function nte(e,t=globalThis?.document){let r=it(e),n=W2(!1);return Hu(()=>{let o=i=>{i.target&&!n.current&&iP(ete,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function nP(){let e=new CustomEvent(U2);document.dispatchEvent(e)}function iP(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?fd(o,i):o.dispatchEvent(i)}a();import{useEffect as ote}from"react";var K2=0;function sP(){ote(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:aP()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:aP()),K2++,()=>{K2===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),K2--}},[])}function aP(){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}a();import{forwardRef as ite,useState as ate,useRef as uP,useEffect as lP,useCallback as ste,createElement as ute}from"react";var q2="focusScope.autoFocusOnMount",X2="focusScope.autoFocusOnUnmount",cP={bubbles:!1,cancelable:!0};var mP=ite((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[u,l]=ate(null),c=it(o),f=it(i),d=uP(null),m=rt(t,h=>l(h)),g=uP({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;lP(()=>{if(n){let h=function(w){if(g.paused||!u)return;let S=w.target;u.contains(S)?d.current=S:wo(d.current,{select:!0})},y=function(w){if(g.paused||!u)return;let S=w.relatedTarget;S!==null&&(u.contains(S)||wo(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(let E of w)E.removedNodes.length>0&&wo(u)};document.addEventListener("focusin",h),document.addEventListener("focusout",y);let x=new MutationObserver(b);return u&&x.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",y),x.disconnect()}}},[n,u,g.paused]),lP(()=>{if(u){pP.add(g);let h=document.activeElement;if(!u.contains(h)){let b=new CustomEvent(q2,cP);u.addEventListener(q2,c),u.dispatchEvent(b),b.defaultPrevented||(lte(mte(hP(u)),{select:!0}),document.activeElement===h&&wo(u))}return()=>{u.removeEventListener(q2,c),setTimeout(()=>{let b=new CustomEvent(X2,cP);u.addEventListener(X2,f),u.dispatchEvent(b),b.defaultPrevented||wo(h??document.body,{select:!0}),u.removeEventListener(X2,f),pP.remove(g)},0)}}},[u,c,f,g]);let v=ste(h=>{if(!r&&!n||g.paused)return;let y=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,b=document.activeElement;if(y&&b){let x=h.currentTarget,[w,S]=cte(x);w&&S?!h.shiftKey&&b===S?(h.preventDefault(),r&&wo(w,{select:!0})):h.shiftKey&&b===w&&(h.preventDefault(),r&&wo(S,{select:!0})):b===x&&h.preventDefault()}},[r,n,g.paused]);return ute(at.div,Z({tabIndex:-1},s,{ref:m,onKeyDown:v}))});function lte(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(wo(n,{select:t}),document.activeElement!==r)return}function cte(e){let t=hP(e),r=fP(t,e),n=fP(t.reverse(),e);return[r,n]}function hP(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 fP(e,t){for(let r of e)if(!fte(r,{upTo:t}))return r}function fte(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 pte(e){return e instanceof HTMLInputElement&&"select"in e}function wo(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&pte(e)&&t&&e.select()}}var pP=dte();function dte(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=dP(e,t),e.unshift(t)},remove(t){var r;e=dP(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function dP(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function mte(e){return e.filter(t=>t.tagName!=="A")}a();import*as md from"react";a();import{useLayoutEffect as hte}from"react";var Qr=globalThis?.document?hte:()=>{};var gte=md.useId||(()=>{}),vte=0;function So(e){let[t,r]=md.useState(gte());return Qr(()=>{e||r(n=>n??String(vte++))},[e]),e||(t?`radix-${t}`:"")}a();import{useState as Dd,createElement as Ku,forwardRef as ZP,useRef as Hte,useEffect as Gte}from"react";a();a();a();a();var gP=["top","right","bottom","left"];var en=Math.min,Mt=Math.max,ju=Math.round,_u=Math.floor,Bn=e=>({x:e,y:e}),yte={left:"right",right:"left",bottom:"top",top:"bottom"},bte={start:"end",end:"start"};function gd(e,t,r){return Mt(e,en(t,r))}function tn(e,t){return typeof e=="function"?e(t):e}function rn(e){return e.split("-")[0]}function vi(e){return e.split("-")[1]}function vd(e){return e==="x"?"y":"x"}function yd(e){return e==="y"?"height":"width"}function yi(e){return["top","bottom"].includes(rn(e))?"y":"x"}function bd(e){return vd(yi(e))}function vP(e,t,r){r===void 0&&(r=!1);let n=vi(e),o=bd(e),i=yd(o),s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Gu(s)),[s,Gu(s)]}function yP(e){let t=Gu(e);return[hd(e),t,hd(t)]}function hd(e){return e.replace(/start|end/g,t=>bte[t])}function Cte(e,t,r){let n=["left","right"],o=["right","left"],i=["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?i:s;default:return[]}}function bP(e,t,r,n){let o=vi(e),i=Cte(rn(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(hd)))),i}function Gu(e){return e.replace(/left|right|bottom|top/g,t=>yte[t])}function xte(e){return{top:0,right:0,bottom:0,left:0,...e}}function Y2(e){return typeof e!="number"?xte(e):{top:e,right:e,bottom:e,left:e}}function bi(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 CP(e,t,r){let{reference:n,floating:o}=e,i=yi(t),s=bd(t),u=yd(s),l=rn(t),c=i==="y",f=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,m=n[u]/2-o[u]/2,g;switch(l){case"top":g={x:f,y:n.y-o.height};break;case"bottom":g={x:f,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(vi(t)){case"start":g[s]-=m*(r&&c?-1:1);break;case"end":g[s]+=m*(r&&c?-1:1);break}return g}var SP=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,u=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=CP(c,n,l),m=n,g={},v=0;for(let h=0;h<u.length;h++){let{name:y,fn:b}=u[h],{x,y:w,data:S,reset:E}=await b({x:f,y:d,initialPlacement:n,placement:m,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});f=x??f,d=w??d,g={...g,[y]:{...g[y],...S}},E&&v<=50&&(v++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(c=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:d}=CP(c,m,l)),h=-1)}return{x:f,y:d,placement:m,strategy:o,middlewareData:g}};async function is(e,t){var r;t===void 0&&(t={});let{x:n,y:o,platform:i,rects:s,elements:u,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:g=0}=tn(t,e),v=Y2(g),y=u[m?d==="floating"?"reference":"floating":d],b=bi(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(y)))==null||r?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(u.floating)),boundary:c,rootBoundary:f,strategy:l})),x=d==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u.floating)),S=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},E=bi(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:x,offsetParent:w,strategy:l}):x);return{top:(b.top-E.top+v.top)/S.y,bottom:(E.bottom-b.bottom+v.bottom)/S.y,left:(b.left-E.left+v.left)/S.x,right:(E.right-b.right+v.right)/S.x}}var DP=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:i,platform:s,elements:u,middlewareData:l}=t,{element:c,padding:f=0}=tn(e,t)||{};if(c==null)return{};let d=Y2(f),m={x:r,y:n},g=bd(o),v=yd(g),h=await s.getDimensions(c),y=g==="y",b=y?"top":"left",x=y?"bottom":"right",w=y?"clientHeight":"clientWidth",S=i.reference[v]+i.reference[g]-m[g]-i.floating[v],E=m[g]-i.reference[g],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c)),T=D?D[w]:0;(!T||!await(s.isElement==null?void 0:s.isElement(D)))&&(T=u.floating[w]||i.floating[v]);let O=S/2-E/2,F=T/2-h[v]/2-1,I=en(d[b],F),G=en(d[x],F),k=I,H=T-h[v]-G,N=T/2-h[v]/2+O,M=gd(k,N,H),Q=!l.arrow&&vi(o)!=null&&N!==M&&i.reference[v]/2-(N<k?I:G)-h[v]/2<0,re=Q?N<k?N-k:N-H:0;return{[g]:m[g]+re,data:{[g]:M,centerOffset:N-M-re,...Q&&{alignmentOffset:re}},reset:Q}}});var EP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;let{placement:o,middlewareData:i,rects:s,initialPlacement:u,platform:l,elements:c}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...y}=tn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let b=rn(o),x=rn(u)===u,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=m||(x||!h?[Gu(u)]:yP(u));!m&&v!=="none"&&S.push(...bP(u,h,v,w));let E=[u,...S],D=await is(t,y),T=[],O=((n=i.flip)==null?void 0:n.overflows)||[];if(f&&T.push(D[b]),d){let k=vP(o,s,w);T.push(D[k[0]],D[k[1]])}if(O=[...O,{placement:o,overflows:T}],!T.every(k=>k<=0)){var F,I;let k=(((F=i.flip)==null?void 0:F.index)||0)+1,H=E[k];if(H)return{data:{index:k,overflows:O},reset:{placement:H}};let N=(I=O.filter(M=>M.overflows[0]<=0).sort((M,Q)=>M.overflows[1]-Q.overflows[1])[0])==null?void 0:I.placement;if(!N)switch(g){case"bestFit":{var G;let M=(G=O.map(Q=>[Q.placement,Q.overflows.filter(re=>re>0).reduce((re,se)=>re+se,0)]).sort((Q,re)=>Q[1]-re[1])[0])==null?void 0:G[0];M&&(N=M);break}case"initialPlacement":N=u;break}if(o!==N)return{reset:{placement:N}}}return{}}}};function xP(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function wP(e){return gP.some(t=>e[t]>=0)}var TP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=tn(e,t);switch(n){case"referenceHidden":{let i=await is(t,{...o,elementContext:"reference"}),s=xP(i,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:wP(s)}}}case"escaped":{let i=await is(t,{...o,altBoundary:!0}),s=xP(i,r.floating);return{data:{escapedOffsets:s,escaped:wP(s)}}}default:return{}}}}};async function wte(e,t){let{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=rn(r),u=vi(r),l=yi(r)==="y",c=["left","top"].includes(s)?-1:1,f=i&&l?-1:1,d=tn(t,e),{mainAxis:m,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*f,y:m*c}:{x:m*c,y:g*f}}var PP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:s,middlewareData:u}=t,l=await wte(t,e);return s===((r=u.offset)==null?void 0:r.placement)&&(n=u.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},AP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:u={fn:y=>{let{x:b,y:x}=y;return{x:b,y:x}}},...l}=tn(e,t),c={x:r,y:n},f=await is(t,l),d=yi(rn(o)),m=vd(d),g=c[m],v=c[d];if(i){let y=m==="y"?"top":"left",b=m==="y"?"bottom":"right",x=g+f[y],w=g-f[b];g=gd(x,g,w)}if(s){let y=d==="y"?"top":"left",b=d==="y"?"bottom":"right",x=v+f[y],w=v-f[b];v=gd(x,v,w)}let h=u.fn({...t,[m]:g,[d]:v});return{...h,data:{x:h.x-r,y:h.y-n}}}}},OP=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:i,middlewareData:s}=t,{offset:u=0,mainAxis:l=!0,crossAxis:c=!0}=tn(e,t),f={x:r,y:n},d=yi(o),m=vd(d),g=f[m],v=f[d],h=tn(u,t),y=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){let w=m==="y"?"height":"width",S=i.reference[m]-i.floating[w]+y.mainAxis,E=i.reference[m]+i.reference[w]-y.mainAxis;g<S?g=S:g>E&&(g=E)}if(c){var b,x;let w=m==="y"?"width":"height",S=["top","left"].includes(rn(o)),E=i.reference[d]-i.floating[w]+(S&&((b=s.offset)==null?void 0:b[d])||0)+(S?0:y.crossAxis),D=i.reference[d]+i.reference[w]+(S?0:((x=s.offset)==null?void 0:x[d])||0)-(S?y.crossAxis:0);v<E?v=E:v>D&&(v=D)}return{[m]:g,[d]:v}}}},FP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:n,platform:o,elements:i}=t,{apply:s=()=>{},...u}=tn(e,t),l=await is(t,u),c=rn(r),f=vi(r),d=yi(r)==="y",{width:m,height:g}=n.floating,v,h;c==="top"||c==="bottom"?(v=c,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=c,v=f==="end"?"top":"bottom");let y=g-l[v],b=m-l[h],x=!t.middlewareData.shift,w=y,S=b;if(d){let D=m-l.left-l.right;S=f||x?en(b,D):D}else{let D=g-l.top-l.bottom;w=f||x?en(y,D):D}if(x&&!f){let D=Mt(l.left,0),T=Mt(l.right,0),O=Mt(l.top,0),F=Mt(l.bottom,0);d?S=m-2*(D!==0||T!==0?D+T:Mt(l.left,l.right)):w=g-2*(O!==0||F!==0?O+F:Mt(l.top,l.bottom))}await s({...t,availableWidth:S,availableHeight:w});let E=await o.getDimensions(i.floating);return m!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}};a();function Mn(e){return RP(e)?(e.nodeName||"").toLowerCase():"#document"}function Yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function nn(e){var t;return(t=(RP(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function RP(e){return e instanceof Node||e instanceof Yt(e).Node}function on(e){return e instanceof Element||e instanceof Yt(e).Element}function Ar(e){return e instanceof HTMLElement||e instanceof Yt(e).HTMLElement}function $P(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Yt(e).ShadowRoot}function as(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=pr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function BP(e){return["table","td","th"].includes(Mn(e))}function Cd(e){let t=xd(),r=pr(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 MP(e){let t=Ci(e);for(;Ar(t)&&!Wu(t);){if(Cd(t))return t;t=Ci(t)}return null}function xd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wu(e){return["html","body","#document"].includes(Mn(e))}function pr(e){return Yt(e).getComputedStyle(e)}function Uu(e){return on(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ci(e){if(Mn(e)==="html")return e;let t=e.assignedSlot||e.parentNode||$P(e)&&e.host||nn(e);return $P(t)?t.host:t}function IP(e){let t=Ci(e);return Wu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ar(t)&&as(t)?t:IP(t)}function xi(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let o=IP(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Yt(o);return i?t.concat(s,s.visualViewport||[],as(o)?o:[],s.frameElement&&r?xi(s.frameElement):[]):t.concat(o,xi(o,[],r))}function VP(e){let t=pr(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=Ar(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,u=ju(r)!==i||ju(n)!==s;return u&&(r=i,n=s),{width:r,height:n,$:u}}function J2(e){return on(e)?e:e.contextElement}function ss(e){let t=J2(e);if(!Ar(t))return Bn(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=VP(t),s=(i?ju(r.width):r.width)/n,u=(i?ju(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}var Ste=Bn(0);function LP(e){let t=Yt(e);return!xd()||!t.visualViewport?Ste:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Dte(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Yt(e)?!1:t}function wi(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let o=e.getBoundingClientRect(),i=J2(e),s=Bn(1);t&&(n?on(n)&&(s=ss(n)):s=ss(e));let u=Dte(i,r,n)?LP(i):Bn(0),l=(o.left+u.x)/s.x,c=(o.top+u.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(i){let m=Yt(i),g=n&&on(n)?Yt(n):n,v=m,h=v.frameElement;for(;h&&n&&g!==v;){let y=ss(h),b=h.getBoundingClientRect(),x=pr(h),w=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*y.x,S=b.top+(h.clientTop+parseFloat(x.paddingTop))*y.y;l*=y.x,c*=y.y,f*=y.x,d*=y.y,l+=w,c+=S,v=Yt(h),h=v.frameElement}}return bi({width:f,height:d,x:l,y:c})}var Ete=[":popover-open",":modal"];function zP(e){return Ete.some(t=>{try{return e.matches(t)}catch{return!1}})}function Tte(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i=o==="fixed",s=nn(n),u=t?zP(t.floating):!1;if(n===s||u&&i)return r;let l={scrollLeft:0,scrollTop:0},c=Bn(1),f=Bn(0),d=Ar(n);if((d||!d&&!i)&&((Mn(n)!=="body"||as(s))&&(l=Uu(n)),Ar(n))){let m=wi(n);c=ss(n),f.x=m.x+n.clientLeft,f.y=m.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+f.x,y:r.y*c.y-l.scrollTop*c.y+f.y}}function Pte(e){return Array.from(e.getClientRects())}function HP(e){return wi(nn(e)).left+Uu(e).scrollLeft}function Ate(e){let t=nn(e),r=Uu(e),n=e.ownerDocument.body,o=Mt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Mt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+HP(e),u=-r.scrollTop;return pr(n).direction==="rtl"&&(s+=Mt(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:u}}function Ote(e,t){let r=Yt(e),n=nn(e),o=r.visualViewport,i=n.clientWidth,s=n.clientHeight,u=0,l=0;if(o){i=o.width,s=o.height;let c=xd();(!c||c&&t==="fixed")&&(u=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:u,y:l}}function Fte(e,t){let r=wi(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Ar(e)?ss(e):Bn(1),s=e.clientWidth*i.x,u=e.clientHeight*i.y,l=o*i.x,c=n*i.y;return{width:s,height:u,x:l,y:c}}function kP(e,t,r){let n;if(t==="viewport")n=Ote(e,r);else if(t==="document")n=Ate(nn(e));else if(on(t))n=Fte(t,r);else{let o=LP(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return bi(n)}function GP(e,t){let r=Ci(e);return r===t||!on(r)||Wu(r)?!1:pr(r).position==="fixed"||GP(r,t)}function $te(e,t){let r=t.get(e);if(r)return r;let n=xi(e,[],!1).filter(u=>on(u)&&Mn(u)!=="body"),o=null,i=pr(e).position==="fixed",s=i?Ci(e):e;for(;on(s)&&!Wu(s);){let u=pr(s),l=Cd(s);!l&&u.position==="fixed"&&(o=null),(i?!l&&!o:!l&&u.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||as(s)&&!l&&GP(e,s))?n=n.filter(f=>f!==s):o=u,s=Ci(s)}return t.set(e,n),n}function Rte(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?$te(t,this._c):[].concat(r),n],u=s[0],l=s.reduce((c,f)=>{let d=kP(t,f,o);return c.top=Mt(d.top,c.top),c.right=en(d.right,c.right),c.bottom=en(d.bottom,c.bottom),c.left=Mt(d.left,c.left),c},kP(t,u,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Bte(e){let{width:t,height:r}=VP(e);return{width:t,height:r}}function Mte(e,t,r){let n=Ar(t),o=nn(t),i=r==="fixed",s=wi(e,!0,i,t),u={scrollLeft:0,scrollTop:0},l=Bn(0);if(n||!n&&!i)if((Mn(t)!=="body"||as(o))&&(u=Uu(t)),n){let d=wi(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&(l.x=HP(o));let c=s.left+u.scrollLeft-l.x,f=s.top+u.scrollTop-l.y;return{x:c,y:f,width:s.width,height:s.height}}function NP(e,t){return!Ar(e)||pr(e).position==="fixed"?null:t?t(e):e.offsetParent}function jP(e,t){let r=Yt(e);if(!Ar(e)||zP(e))return r;let n=NP(e,t);for(;n&&BP(n)&&pr(n).position==="static";)n=NP(n,t);return n&&(Mn(n)==="html"||Mn(n)==="body"&&pr(n).position==="static"&&!Cd(n))?r:n||MP(e)||r}var Ite=async function(e){let t=this.getOffsetParent||jP,r=this.getDimensions,n=await r(e.floating);return{reference:Mte(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function kte(e){return pr(e).direction==="rtl"}var _P={convertOffsetParentRelativeRectToViewportRelativeRect:Tte,getDocumentElement:nn,getClippingRect:Rte,getOffsetParent:jP,getElementRects:Ite,getClientRects:Pte,getDimensions:Bte,getScale:ss,isElement:on,isRTL:kte};function Nte(e,t){let r=null,n,o=nn(e);function i(){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),i();let{left:c,top:f,width:d,height:m}=e.getBoundingClientRect();if(u||t(),!d||!m)return;let g=_u(f),v=_u(o.clientWidth-(c+d)),h=_u(o.clientHeight-(f+m)),y=_u(c),x={rootMargin:-g+"px "+-v+"px "+-h+"px "+-y+"px",threshold:Mt(0,en(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),i}function Z2(e,t,r,n){n===void 0&&(n={});let{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=J2(e),f=o||i?[...c?xi(c):[],...xi(t)]:[];f.forEach(b=>{o&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});let d=c&&u?Nte(c,r):null,m=-1,g=null;s&&(g=new ResizeObserver(b=>{let[x]=b;x&&x.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),r()}),c&&!l&&g.observe(c),g.observe(t));let v,h=l?wi(e):null;l&&y();function y(){let b=wi(e);h&&(b.x!==h.x||b.y!==h.y||b.width!==h.width||b.height!==h.height)&&r(),h=b,v=requestAnimationFrame(y)}return r(),()=>{var b;f.forEach(x=>{o&&x.removeEventListener("scroll",r),i&&x.removeEventListener("resize",r)}),d?.(),(b=g)==null||b.disconnect(),g=null,l&&cancelAnimationFrame(v)}}var Q2=PP;var eg=AP,tg=EP,rg=FP,ng=TP,og=DP;var ig=OP,ag=(e,t,r)=>{let n=new Map,o={platform:_P,...r},i={...o.platform,_c:n};return SP(e,t,{...o,platform:i})};import*as nt from"react";import{useLayoutEffect as Vte,useEffect as Lte}from"react";import*as KP from"react-dom";var qP=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?og({element:n.current,padding:o}).fn(r):{}:n?og({element:n,padding:o}).fn(r):{}}}},wd=typeof document<"u"?Vte:Lte;function Sd(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(!Sd(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 i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!Sd(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function XP(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function WP(e,t){let r=XP(e);return Math.round(t*r)/r}function UP(e){let t=nt.useRef(e);return wd(()=>{t.current=e}),t}function YP(e){e===void 0&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:s}={},transform:u=!0,whileElementsMounted:l,open:c}=e,[f,d]=nt.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=nt.useState(n);Sd(m,n)||g(n);let[v,h]=nt.useState(null),[y,b]=nt.useState(null),x=nt.useCallback(re=>{re!==D.current&&(D.current=re,h(re))},[]),w=nt.useCallback(re=>{re!==T.current&&(T.current=re,b(re))},[]),S=i||v,E=s||y,D=nt.useRef(null),T=nt.useRef(null),O=nt.useRef(f),F=l!=null,I=UP(l),G=UP(o),k=nt.useCallback(()=>{if(!D.current||!T.current)return;let re={placement:t,strategy:r,middleware:m};G.current&&(re.platform=G.current),ag(D.current,T.current,re).then(se=>{let j={...se,isPositioned:!0};H.current&&!Sd(O.current,j)&&(O.current=j,KP.flushSync(()=>{d(j)}))})},[m,t,r,G]);wd(()=>{c===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,d(re=>({...re,isPositioned:!1})))},[c]);let H=nt.useRef(!1);wd(()=>(H.current=!0,()=>{H.current=!1}),[]),wd(()=>{if(S&&(D.current=S),E&&(T.current=E),S&&E){if(I.current)return I.current(S,E,k);k()}},[S,E,k,I,F]);let N=nt.useMemo(()=>({reference:D,floating:T,setReference:x,setFloating:w}),[x,w]),M=nt.useMemo(()=>({reference:S,floating:E}),[S,E]),Q=nt.useMemo(()=>{let re={position:r,left:0,top:0};if(!M.floating)return re;let se=WP(M.floating,f.x),j=WP(M.floating,f.y);return u?{...re,transform:"translate("+se+"px, "+j+"px)",...XP(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:se,top:j}},[r,u,M.floating,f.x,f.y]);return nt.useMemo(()=>({...f,update:k,refs:N,elements:M,floatingStyles:Q}),[f,k,N,M,Q])}a();import{useState as zte}from"react";function JP(e){let[t,r]=zte(void 0);return Qr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;let i=o[0],s,u;if("borderBoxSize"in i){let l=i.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 QP="Popper",[eA,sg]=Jr(QP),[jte,tA]=eA(QP),_te=e=>{let{__scopePopper:t,children:r}=e,[n,o]=Dd(null);return Ku(jte,{scope:t,anchor:n,onAnchorChange:o},r)},Wte="PopperAnchor",Ute=ZP((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,i=tA(Wte,r),s=Hte(null),u=rt(t,s);return Gte(()=>{i.onAnchorChange(n?.current||s.current)}),n?null:Ku(at.div,Z({},o,{ref:u}))}),rA="PopperContent",[Kte,Zot]=eA(rA),qte=ZP((e,t)=>{var r,n,o,i,s,u,l,c;let{__scopePopper:f,side:d="bottom",sideOffset:m=0,align:g="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:y=!0,collisionBoundary:b=[],collisionPadding:x=0,sticky:w="partial",hideWhenDetached:S=!1,updatePositionStrategy:E="optimized",onPlaced:D,...T}=e,O=tA(rA,f),[F,I]=Dd(null),G=rt(t,je=>I(je)),[k,H]=Dd(null),N=JP(k),M=(r=N?.width)!==null&&r!==void 0?r:0,Q=(n=N?.height)!==null&&n!==void 0?n:0,re=d+(g!=="center"?"-"+g:""),se=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},j=Array.isArray(b)?b:[b],ne=j.length>0,ce={padding:se,boundary:j.filter(Xte),altBoundary:ne},{refs:pe,floatingStyles:Be,placement:A,isPositioned:_,middlewareData:z}=YP({strategy:"fixed",placement:re,whileElementsMounted:(...je)=>Z2(...je,{animationFrame:E==="always"}),elements:{reference:O.anchor},middleware:[Q2({mainAxis:m+Q,alignmentAxis:v}),y&&eg({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?ig():void 0,...ce}),y&&tg({...ce}),rg({...ce,apply:({elements:je,rects:Ye,availableWidth:Ne,availableHeight:Tt})=>{let{width:Ct,height:st}=Ye.reference,ut=je.floating.style;ut.setProperty("--radix-popper-available-width",`${Ne}px`),ut.setProperty("--radix-popper-available-height",`${Tt}px`),ut.setProperty("--radix-popper-anchor-width",`${Ct}px`),ut.setProperty("--radix-popper-anchor-height",`${st}px`)}}),k&&qP({element:k,padding:h}),Yte({arrowWidth:M,arrowHeight:Q}),S&&ng({strategy:"referenceHidden",...ce})]}),[U,ue]=nA(A),ee=it(D);Qr(()=>{_&&ee?.()},[_,ee]);let he=(o=z.arrow)===null||o===void 0?void 0:o.x,we=(i=z.arrow)===null||i===void 0?void 0:i.y,De=((s=z.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Ae,Ce]=Dd();return Qr(()=>{F&&Ce(window.getComputedStyle(F).zIndex)},[F]),Ku("div",{ref:pe.setFloating,"data-radix-popper-content-wrapper":"",style:{...Be,transform:_?Be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ae,"--radix-popper-transform-origin":[(u=z.transformOrigin)===null||u===void 0?void 0:u.x,(l=z.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},Ku(Kte,{scope:f,placedSide:U,onArrowChange:H,arrowX:he,arrowY:we,shouldHideArrow:De},Ku(at.div,Z({"data-side":U,"data-align":ue},T,{ref:G,style:{...T.style,animation:_?void 0:"none",opacity:(c=z.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function Xte(e){return e!==null}var Yte=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,s;let{placement:u,rects:l,middlewareData:c}=t,d=((r=c.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,m=d?0:e.arrowWidth,g=d?0:e.arrowHeight,[v,h]=nA(u),y={start:"0%",center:"50%",end:"100%"}[h],b=((n=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+m/2,x=((i=(s=c.arrow)===null||s===void 0?void 0:s.y)!==null&&i!==void 0?i:0)+g/2,w="",S="";return v==="bottom"?(w=d?y:`${b}px`,S=`${-g}px`):v==="top"?(w=d?y:`${b}px`,S=`${l.floating.height+g}px`):v==="right"?(w=`${-g}px`,S=d?y:`${x}px`):v==="left"&&(w=`${l.floating.width+g}px`,S=d?y:`${x}px`),{data:{x:w,y:S}}}});function nA(e){let[t,r="center"]=e.split("-");return[t,r]}var ug=_te,oA=Ute,iA=qte;a();import{forwardRef as Jte,createElement as Zte}from"react";import Qte from"react-dom";var aA=Jte((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Qte.createPortal(Zte(at.div,Z({},o,{ref:t})),n):null});a();import{Children as ere,cloneElement as tre,useState as rre,useRef as lg,useEffect as nre,useCallback as ore,useReducer as ire}from"react";import{flushSync as are}from"react-dom";function sre(e,t){return ire((r,n)=>{let o=t[r][n];return o??r},e)}var us=e=>{let{present:t,children:r}=e,n=ure(t),o=typeof r=="function"?r({present:n.isPresent}):ere.only(r),i=rt(n.ref,o.ref);return typeof r=="function"||n.isPresent?tre(o,{ref:i}):null};us.displayName="Presence";function ure(e){let[t,r]=rre(),n=lg({}),o=lg(e),i=lg("none"),s=e?"mounted":"unmounted",[u,l]=sre(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return nre(()=>{let c=Ed(n.current);i.current=u==="mounted"?c:"none"},[u]),Qr(()=>{let c=n.current,f=o.current;if(f!==e){let m=i.current,g=Ed(c);e?l("MOUNT"):g==="none"||c?.display==="none"?l("UNMOUNT"):l(f&&m!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Qr(()=>{if(t){let c=d=>{let g=Ed(n.current).includes(d.animationName);d.target===t&&g&&are(()=>l("ANIMATION_END"))},f=d=>{d.target===t&&(i.current=Ed(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:ore(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function Ed(e){return e?.animationName||"none"}a();import{forwardRef as pg,createElement as Si,useRef as sA,useState as uA,useEffect as lA,useCallback as Td}from"react";var cg="rovingFocusGroup.onEntryFocus",lre={bubbles:!1,cancelable:!0},dg="RovingFocusGroup",[fg,cA,cre]=pd(dg),[fre,mg]=Jr(dg,[cre]),[pre,dre]=fre(dg),mre=pg((e,t)=>Si(fg.Provider,{scope:e.__scopeRovingFocusGroup},Si(fg.Slot,{scope:e.__scopeRovingFocusGroup},Si(hre,Z({},e,{ref:t}))))),hre=pg((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:l,onEntryFocus:c,...f}=e,d=sA(null),m=rt(t,d),g=dd(i),[v=null,h]=Lu({prop:s,defaultProp:u,onChange:l}),[y,b]=uA(!1),x=it(c),w=cA(r),S=sA(!1),[E,D]=uA(0);return lA(()=>{let T=d.current;if(T)return T.addEventListener(cg,x),()=>T.removeEventListener(cg,x)},[x]),Si(pre,{scope:r,orientation:n,dir:g,loop:o,currentTabStopId:v,onItemFocus:Td(T=>h(T),[h]),onItemShiftTab:Td(()=>b(!0),[]),onFocusableItemAdd:Td(()=>D(T=>T+1),[]),onFocusableItemRemove:Td(()=>D(T=>T-1),[])},Si(at.div,Z({tabIndex:y||E===0?-1:0,"data-orientation":n},f,{ref:m,style:{outline:"none",...e.style},onMouseDown:ye(e.onMouseDown,()=>{S.current=!0}),onFocus:ye(e.onFocus,T=>{let O=!S.current;if(T.target===T.currentTarget&&O&&!y){let F=new CustomEvent(cg,lre);if(T.currentTarget.dispatchEvent(F),!F.defaultPrevented){let I=w().filter(M=>M.focusable),G=I.find(M=>M.active),k=I.find(M=>M.id===v),N=[G,k,...I].filter(Boolean).map(M=>M.ref.current);fA(N)}}S.current=!1}),onBlur:ye(e.onBlur,()=>b(!1))})))}),gre="RovingFocusGroupItem",vre=pg((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...s}=e,u=So(),l=i||u,c=dre(gre,r),f=c.currentTabStopId===l,d=cA(r),{onFocusableItemAdd:m,onFocusableItemRemove:g}=c;return lA(()=>{if(n)return m(),()=>g()},[n,m,g]),Si(fg.ItemSlot,{scope:r,id:l,focusable:n,active:o},Si(at.span,Z({tabIndex:f?0:-1,"data-orientation":c.orientation},s,{ref:t,onMouseDown:ye(e.onMouseDown,v=>{n?c.onItemFocus(l):v.preventDefault()}),onFocus:ye(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:ye(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){c.onItemShiftTab();return}if(v.target!==v.currentTarget)return;let h=Cre(v,c.orientation,c.dir);if(h!==void 0){v.preventDefault();let b=d().filter(x=>x.focusable).map(x=>x.ref.current);if(h==="last")b.reverse();else if(h==="prev"||h==="next"){h==="prev"&&b.reverse();let x=b.indexOf(v.currentTarget);b=c.loop?xre(b,x+1):b.slice(x+1)}setTimeout(()=>fA(b))}})})))}),yre={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function bre(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Cre(e,t,r){let n=bre(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return yre[n]}function fA(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])}var pA=mre,dA=vre;a();var wre=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ls=new WeakMap,Pd=new WeakMap,Ad={},hg=0,mA=function(e){return e&&(e.host||mA(e.parentNode))},Sre=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=mA(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})},Dre=function(e,t,r,n){var o=Sre(t,Array.isArray(e)?e:[e]);Ad[r]||(Ad[r]=new WeakMap);var i=Ad[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 f=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(m){if(u.has(m))f(m);else try{var g=m.getAttribute(n),v=g!==null&&g!=="false",h=(ls.get(m)||0)+1,y=(i.get(m)||0)+1;ls.set(m,h),i.set(m,y),s.push(m),h===1&&v&&Pd.set(m,!0),y===1&&m.setAttribute(r,"true"),v||m.setAttribute(n,"true")}catch(b){console.error("aria-hidden: cannot operate on ",m,b)}})};return f(t),u.clear(),hg++,function(){s.forEach(function(d){var m=ls.get(d)-1,g=i.get(d)-1;ls.set(d,m),i.set(d,g),m||(Pd.has(d)||d.removeAttribute(n),Pd.delete(d)),g||d.removeAttribute(r)}),hg--,hg||(ls=new WeakMap,ls=new WeakMap,Pd=new WeakMap,Ad={})}},hA=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||wre(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Dre(n,o,r,"aria-hidden")):function(){return null}};a();a();a();var Jt=function(){return Jt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jt.apply(this,arguments)};function Od(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 gA(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}import*as Md from"react";a();import*as St from"react";a();var Di="right-scroll-bar-position",Ei="width-before-scroll-bar",gg="with-scroll-bars-hidden",vg="--removed-body-scroll-bar-size";a();a();function Fd(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}a();import{useState as Ere}from"react";function vA(e,t){var r=Ere(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}a();import*as $d from"react";var Tre=typeof window<"u"?$d.useLayoutEffect:$d.useEffect,yA=new WeakMap;function yg(e,t){var r=vA(t||null,function(n){return e.forEach(function(o){return Fd(o,n)})});return Tre(function(){var n=yA.get(r);if(n){var o=new Set(n),i=new Set(e),s=r.current;o.forEach(function(u){i.has(u)||Fd(u,null)}),i.forEach(function(u){o.has(u)||Fd(u,s)})}yA.set(r,e)},[e]),r}a();a();a();function Pre(e){return e}function Are(e,t){t===void 0&&(t=Pre);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(i){var s=t(i,n);return r.push(s),function(){r=r.filter(function(u){return u!==s})}},assignSyncMedium:function(i){for(n=!0;r.length;){var s=r;r=[],s.forEach(i)}r={push:function(u){return i(u)},filter:function(){return r}}},assignMedium:function(i){n=!0;var s=[];if(r.length){var u=r;r=[],u.forEach(i),s=r}var l=function(){var f=s;s=[],f.forEach(i)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(f){s.push(f),c()},filter:function(f){return s=s.filter(f),r}}}};return o}function bg(e){e===void 0&&(e={});var t=Are(null);return t.options=Jt({async:!0,ssr:!1},e),t}a();import*as bA from"react";var CA=function(e){var t=e.sideCar,r=Od(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 bA.createElement(n,Jt({},r))};CA.isSideCarExport=!0;function Cg(e,t){return e.useMedium(t),CA}var Rd=bg();var xg=function(){},qu=St.forwardRef(function(e,t){var r=St.useRef(null),n=St.useState({onScrollCapture:xg,onWheelCapture:xg,onTouchMoveCapture:xg}),o=n[0],i=n[1],s=e.forwardProps,u=e.children,l=e.className,c=e.removeScrollBar,f=e.enabled,d=e.shards,m=e.sideCar,g=e.noIsolation,v=e.inert,h=e.allowPinchZoom,y=e.as,b=y===void 0?"div":y,x=Od(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=m,S=yg([r,t]),E=Jt(Jt({},x),o);return St.createElement(St.Fragment,null,f&&St.createElement(w,{sideCar:Rd,removeScrollBar:c,shards:d,noIsolation:g,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:r}),s?St.cloneElement(St.Children.only(u),Jt(Jt({},E),{ref:S})):St.createElement(b,Jt({},E,{className:l,ref:S}),u))});qu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};qu.classNames={fullWidth:Ei,zeroRight:Di};a();a();import*as ze from"react";a();a();import*as fs from"react";a();a();a();import*as SA from"react";a();a();var xA;var wA=function(){if(xA)return xA;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ore(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=wA();return t&&e.setAttribute("nonce",t),e}function Fre(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function $re(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var wg=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Ore())&&(Fre(t,r),$re(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var Sg=function(){var e=wg();return function(t,r){SA.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var Xu=function(){var e=Sg(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t};a();var Rre={left:0,top:0,right:0,gap:0},Dg=function(e){return parseInt(e||"",10)||0},Bre=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[Dg(r),Dg(n),Dg(o)]},Eg=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Rre;var t=Bre(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 Mre=Xu(),cs="data-scroll-locked",Ire=function(e,t,r,n){var o=e.left,i=e.top,s=e.right,u=e.gap;return r===void 0&&(r="margin"),`
|
|
2090
|
+
`,YT=({placement:e="left",align:t="top",gap:r="1.5rem",item:n,children:o,...i})=>wee(XT,{...i,children:[$(n)?qT(xee,{align:t,gap:r,placement:e,children:n}):null,qT(Cee,{align:t,children:o})]});YT.displayName="MediaObject_VHS";a();import{useState as Mne}from"react";import Gg,{css as Ine,keyframes as wO}from"styled-components";a();import{useRef as uO,createElement as Dt,useCallback as Pne,forwardRef as Fr}from"react";a();function ye(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}a();import{useCallback as See}from"react";function Dee(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function gi(...e){return t=>e.forEach(r=>Dee(r,t))}function rt(...e){return See(gi(...e),e)}a();import{createContext as JT,useMemo as G2,createElement as Eee,useContext as Tee}from"react";function Jr(e,t=[]){let r=[];function n(i,s){let u=JT(s),l=r.length;r=[...r,s];function c(d){let{scope:m,children:g,...v}=d,h=m?.[e][l]||u,y=G2(()=>v,Object.values(v));return Eee(h.Provider,{value:y},g)}function f(d,m){let g=m?.[e][l]||u,v=Tee(g);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,f]}let o=()=>{let i=r.map(s=>JT(s));return function(u){let l=u?.[e]||i;return G2(()=>({[`__scope${e}`]:{...u,[e]:l}}),[u,l])}};return o.scopeName=e,[n,Pee(o,...t)]}function Pee(...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(i){let s=n.reduce((u,{useScope:l,scopeName:c})=>{let d=l(i)[`__scope${c}`];return{...u,...d}},{});return G2(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}a();import{useCallback as Ree,useState as $ee,useRef as Bee,useEffect as Mee}from"react";a();import{useRef as Aee,useEffect as Oee,useMemo as Fee}from"react";function it(e){let t=Aee(e);return Oee(()=>{t.current=e}),Fee(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function Lu({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=Iee({defaultProp:t,onChange:r}),i=e!==void 0,s=i?e:n,u=it(r),l=Ree(c=>{if(i){let d=typeof c=="function"?c(e):c;d!==e&&u(d)}else o(c)},[i,e,o,u]);return[s,l]}function Iee({defaultProp:e,onChange:t}){let r=$ee(e),[n]=r,o=Bee(n),i=it(t);return Mee(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}a();import{forwardRef as zee,useEffect as Hee,createElement as Gee}from"react";import{flushSync as jee}from"react-dom";a();import{forwardRef as ZT,Children as zu,isValidElement as cd,createElement as j2,cloneElement as QT,Fragment as kee}from"react";var xo=ZT((e,t)=>{let{children:r,...n}=e,o=zu.toArray(r),i=o.find(Vee);if(i){let s=i.props.children,u=o.map(l=>l===i?zu.count(s)>1?zu.only(null):cd(s)?s.props.children:null:l);return j2(_2,Z({},n,{ref:t}),cd(s)?QT(s,void 0,u):null)}return j2(_2,Z({},n,{ref:t}),r)});xo.displayName="Slot";var _2=ZT((e,t)=>{let{children:r,...n}=e;return cd(r)?QT(r,{...Lee(n,r.props),ref:t?gi(t,r.ref):r.ref}):zu.count(r)>1?zu.only(null):null});_2.displayName="SlotClone";var Nee=({children:e})=>j2(kee,null,e);function Vee(e){return cd(e)&&e.type===Nee}function Lee(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...u)=>{i(...u),o(...u)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}var _ee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],at=_ee.reduce((e,t)=>{let r=zee((n,o)=>{let{asChild:i,...s}=n,u=i?xo:t;return Hee(()=>{window[Symbol.for("radix-ui")]=!0},[]),Gee(u,Z({},s,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function fd(e,t){e&&jee(()=>e.dispatchEvent(t))}a();import{useState as ds,useRef as Zt,useEffect as Ai,createElement as ge,useCallback as Pi,forwardRef as It,Fragment as Ure}from"react";a();import Zr from"react";function pd(e){let t=e+"CollectionProvider",[r,n]=Jr(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{let{scope:v,children:h}=g,y=Zr.useRef(null),b=Zr.useRef(new Map).current;return Zr.createElement(o,{scope:v,itemMap:b,collectionRef:y},h)},u=e+"CollectionSlot",l=Zr.forwardRef((g,v)=>{let{scope:h,children:y}=g,b=i(u,h),x=rt(v,b.collectionRef);return Zr.createElement(xo,{ref:x},y)}),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Zr.forwardRef((g,v)=>{let{scope:h,children:y,...b}=g,x=Zr.useRef(null),w=rt(v,x),S=i(c,h);return Zr.useEffect(()=>(S.itemMap.set(x,{ref:x,...b}),()=>void S.itemMap.delete(x))),Zr.createElement(xo,{[f]:"",ref:w},y)});function m(g){let v=i(e+"CollectionConsumer",g);return Zr.useCallback(()=>{let y=v.collectionRef.current;if(!y)return[];let b=Array.from(y.querySelectorAll(`[${f}]`));return Array.from(v.itemMap.values()).sort((S,E)=>b.indexOf(S.ref.current)-b.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},m,n]}a();import{createContext as Wee,createElement as Nnt,useContext as Uee}from"react";var Kee=Wee(void 0);function dd(e){let t=Uee(Kee);return e||t||"ltr"}a();import{createContext as Xee,forwardRef as Yee,useContext as Jee,useState as tP,useEffect as Hu,createElement as Zee,useRef as W2}from"react";a();import{useEffect as qee}from"react";function eP(e,t=globalThis?.document){let r=it(e);qee(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}var U2="dismissableLayer.update",Qee="dismissableLayer.pointerDownOutside",ete="dismissableLayer.focusOutside",rP,tte=Xee({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),oP=Yee((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:u,onDismiss:l,...c}=e,f=Jee(tte),[d,m]=tP(null),g=(r=d?.ownerDocument)!==null&&r!==void 0?r:globalThis?.document,[,v]=tP({}),h=rt(t,O=>m(O)),y=Array.from(f.layers),[b]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(b),w=d?y.indexOf(d):-1,S=f.layersWithOutsidePointerEventsDisabled.size>0,E=w>=x,D=rte(O=>{let F=O.target,I=[...f.branches].some(G=>G.contains(F));!E||I||(i?.(O),u?.(O),O.defaultPrevented||l?.())},g),T=nte(O=>{let F=O.target;[...f.branches].some(G=>G.contains(F))||(s?.(O),u?.(O),O.defaultPrevented||l?.())},g);return eP(O=>{w===f.layers.size-1&&(o?.(O),!O.defaultPrevented&&l&&(O.preventDefault(),l()))},g),Hu(()=>{if(d)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(rP=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),nP(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=rP)}},[d,g,n,f]),Hu(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),nP())},[d,f]),Hu(()=>{let O=()=>v({});return document.addEventListener(U2,O),()=>document.removeEventListener(U2,O)},[]),Zee(at.div,Z({},c,{ref:h,style:{pointerEvents:S?E?"auto":"none":void 0,...e.style},onFocusCapture:ye(e.onFocusCapture,T.onFocusCapture),onBlurCapture:ye(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:ye(e.onPointerDownCapture,D.onPointerDownCapture)}))});function rte(e,t=globalThis?.document){let r=it(e),n=W2(!1),o=W2(()=>{});return Hu(()=>{let i=u=>{if(u.target&&!n.current){let c=function(){iP(Qee,r,l,{discrete:!0})},l={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",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function nte(e,t=globalThis?.document){let r=it(e),n=W2(!1);return Hu(()=>{let o=i=>{i.target&&!n.current&&iP(ete,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function nP(){let e=new CustomEvent(U2);document.dispatchEvent(e)}function iP(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?fd(o,i):o.dispatchEvent(i)}a();import{useEffect as ote}from"react";var K2=0;function sP(){ote(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:aP()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:aP()),K2++,()=>{K2===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),K2--}},[])}function aP(){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}a();import{forwardRef as ite,useState as ate,useRef as uP,useEffect as lP,useCallback as ste,createElement as ute}from"react";var q2="focusScope.autoFocusOnMount",X2="focusScope.autoFocusOnUnmount",cP={bubbles:!1,cancelable:!0};var mP=ite((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[u,l]=ate(null),c=it(o),f=it(i),d=uP(null),m=rt(t,h=>l(h)),g=uP({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;lP(()=>{if(n){let h=function(w){if(g.paused||!u)return;let S=w.target;u.contains(S)?d.current=S:wo(d.current,{select:!0})},y=function(w){if(g.paused||!u)return;let S=w.relatedTarget;S!==null&&(u.contains(S)||wo(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(let E of w)E.removedNodes.length>0&&wo(u)};document.addEventListener("focusin",h),document.addEventListener("focusout",y);let x=new MutationObserver(b);return u&&x.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",y),x.disconnect()}}},[n,u,g.paused]),lP(()=>{if(u){pP.add(g);let h=document.activeElement;if(!u.contains(h)){let b=new CustomEvent(q2,cP);u.addEventListener(q2,c),u.dispatchEvent(b),b.defaultPrevented||(lte(mte(hP(u)),{select:!0}),document.activeElement===h&&wo(u))}return()=>{u.removeEventListener(q2,c),setTimeout(()=>{let b=new CustomEvent(X2,cP);u.addEventListener(X2,f),u.dispatchEvent(b),b.defaultPrevented||wo(h??document.body,{select:!0}),u.removeEventListener(X2,f),pP.remove(g)},0)}}},[u,c,f,g]);let v=ste(h=>{if(!r&&!n||g.paused)return;let y=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,b=document.activeElement;if(y&&b){let x=h.currentTarget,[w,S]=cte(x);w&&S?!h.shiftKey&&b===S?(h.preventDefault(),r&&wo(w,{select:!0})):h.shiftKey&&b===w&&(h.preventDefault(),r&&wo(S,{select:!0})):b===x&&h.preventDefault()}},[r,n,g.paused]);return ute(at.div,Z({tabIndex:-1},s,{ref:m,onKeyDown:v}))});function lte(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(wo(n,{select:t}),document.activeElement!==r)return}function cte(e){let t=hP(e),r=fP(t,e),n=fP(t.reverse(),e);return[r,n]}function hP(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 fP(e,t){for(let r of e)if(!fte(r,{upTo:t}))return r}function fte(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 pte(e){return e instanceof HTMLInputElement&&"select"in e}function wo(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&pte(e)&&t&&e.select()}}var pP=dte();function dte(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=dP(e,t),e.unshift(t)},remove(t){var r;e=dP(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function dP(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function mte(e){return e.filter(t=>t.tagName!=="A")}a();import*as md from"react";a();import{useLayoutEffect as hte}from"react";var Qr=globalThis?.document?hte:()=>{};var gte=md.useId||(()=>{}),vte=0;function So(e){let[t,r]=md.useState(gte());return Qr(()=>{e||r(n=>n??String(vte++))},[e]),e||(t?`radix-${t}`:"")}a();import{useState as Dd,createElement as Ku,forwardRef as ZP,useRef as Hte,useEffect as Gte}from"react";a();a();a();a();var gP=["top","right","bottom","left"];var en=Math.min,Mt=Math.max,ju=Math.round,_u=Math.floor,Bn=e=>({x:e,y:e}),yte={left:"right",right:"left",bottom:"top",top:"bottom"},bte={start:"end",end:"start"};function gd(e,t,r){return Mt(e,en(t,r))}function tn(e,t){return typeof e=="function"?e(t):e}function rn(e){return e.split("-")[0]}function vi(e){return e.split("-")[1]}function vd(e){return e==="x"?"y":"x"}function yd(e){return e==="y"?"height":"width"}function yi(e){return["top","bottom"].includes(rn(e))?"y":"x"}function bd(e){return vd(yi(e))}function vP(e,t,r){r===void 0&&(r=!1);let n=vi(e),o=bd(e),i=yd(o),s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Gu(s)),[s,Gu(s)]}function yP(e){let t=Gu(e);return[hd(e),t,hd(t)]}function hd(e){return e.replace(/start|end/g,t=>bte[t])}function Cte(e,t,r){let n=["left","right"],o=["right","left"],i=["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?i:s;default:return[]}}function bP(e,t,r,n){let o=vi(e),i=Cte(rn(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(hd)))),i}function Gu(e){return e.replace(/left|right|bottom|top/g,t=>yte[t])}function xte(e){return{top:0,right:0,bottom:0,left:0,...e}}function Y2(e){return typeof e!="number"?xte(e):{top:e,right:e,bottom:e,left:e}}function bi(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 CP(e,t,r){let{reference:n,floating:o}=e,i=yi(t),s=bd(t),u=yd(s),l=rn(t),c=i==="y",f=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,m=n[u]/2-o[u]/2,g;switch(l){case"top":g={x:f,y:n.y-o.height};break;case"bottom":g={x:f,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(vi(t)){case"start":g[s]-=m*(r&&c?-1:1);break;case"end":g[s]+=m*(r&&c?-1:1);break}return g}var SP=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,u=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=CP(c,n,l),m=n,g={},v=0;for(let h=0;h<u.length;h++){let{name:y,fn:b}=u[h],{x,y:w,data:S,reset:E}=await b({x:f,y:d,initialPlacement:n,placement:m,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});f=x??f,d=w??d,g={...g,[y]:{...g[y],...S}},E&&v<=50&&(v++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(c=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:d}=CP(c,m,l)),h=-1)}return{x:f,y:d,placement:m,strategy:o,middlewareData:g}};async function is(e,t){var r;t===void 0&&(t={});let{x:n,y:o,platform:i,rects:s,elements:u,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:g=0}=tn(t,e),v=Y2(g),y=u[m?d==="floating"?"reference":"floating":d],b=bi(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(y)))==null||r?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(u.floating)),boundary:c,rootBoundary:f,strategy:l})),x=d==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u.floating)),S=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},E=bi(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:x,offsetParent:w,strategy:l}):x);return{top:(b.top-E.top+v.top)/S.y,bottom:(E.bottom-b.bottom+v.bottom)/S.y,left:(b.left-E.left+v.left)/S.x,right:(E.right-b.right+v.right)/S.x}}var DP=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:i,platform:s,elements:u,middlewareData:l}=t,{element:c,padding:f=0}=tn(e,t)||{};if(c==null)return{};let d=Y2(f),m={x:r,y:n},g=bd(o),v=yd(g),h=await s.getDimensions(c),y=g==="y",b=y?"top":"left",x=y?"bottom":"right",w=y?"clientHeight":"clientWidth",S=i.reference[v]+i.reference[g]-m[g]-i.floating[v],E=m[g]-i.reference[g],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c)),T=D?D[w]:0;(!T||!await(s.isElement==null?void 0:s.isElement(D)))&&(T=u.floating[w]||i.floating[v]);let O=S/2-E/2,F=T/2-h[v]/2-1,I=en(d[b],F),G=en(d[x],F),k=I,H=T-h[v]-G,N=T/2-h[v]/2+O,M=gd(k,N,H),Q=!l.arrow&&vi(o)!=null&&N!==M&&i.reference[v]/2-(N<k?I:G)-h[v]/2<0,re=Q?N<k?N-k:N-H:0;return{[g]:m[g]+re,data:{[g]:M,centerOffset:N-M-re,...Q&&{alignmentOffset:re}},reset:Q}}});var EP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;let{placement:o,middlewareData:i,rects:s,initialPlacement:u,platform:l,elements:c}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...y}=tn(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let b=rn(o),x=rn(u)===u,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=m||(x||!h?[Gu(u)]:yP(u));!m&&v!=="none"&&S.push(...bP(u,h,v,w));let E=[u,...S],D=await is(t,y),T=[],O=((n=i.flip)==null?void 0:n.overflows)||[];if(f&&T.push(D[b]),d){let k=vP(o,s,w);T.push(D[k[0]],D[k[1]])}if(O=[...O,{placement:o,overflows:T}],!T.every(k=>k<=0)){var F,I;let k=(((F=i.flip)==null?void 0:F.index)||0)+1,H=E[k];if(H)return{data:{index:k,overflows:O},reset:{placement:H}};let N=(I=O.filter(M=>M.overflows[0]<=0).sort((M,Q)=>M.overflows[1]-Q.overflows[1])[0])==null?void 0:I.placement;if(!N)switch(g){case"bestFit":{var G;let M=(G=O.map(Q=>[Q.placement,Q.overflows.filter(re=>re>0).reduce((re,se)=>re+se,0)]).sort((Q,re)=>Q[1]-re[1])[0])==null?void 0:G[0];M&&(N=M);break}case"initialPlacement":N=u;break}if(o!==N)return{reset:{placement:N}}}return{}}}};function xP(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function wP(e){return gP.some(t=>e[t]>=0)}var TP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=tn(e,t);switch(n){case"referenceHidden":{let i=await is(t,{...o,elementContext:"reference"}),s=xP(i,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:wP(s)}}}case"escaped":{let i=await is(t,{...o,altBoundary:!0}),s=xP(i,r.floating);return{data:{escapedOffsets:s,escaped:wP(s)}}}default:return{}}}}};async function wte(e,t){let{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=rn(r),u=vi(r),l=yi(r)==="y",c=["left","top"].includes(s)?-1:1,f=i&&l?-1:1,d=tn(t,e),{mainAxis:m,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*f,y:m*c}:{x:m*c,y:g*f}}var PP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:s,middlewareData:u}=t,l=await wte(t,e);return s===((r=u.offset)==null?void 0:r.placement)&&(n=u.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},AP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:u={fn:y=>{let{x:b,y:x}=y;return{x:b,y:x}}},...l}=tn(e,t),c={x:r,y:n},f=await is(t,l),d=yi(rn(o)),m=vd(d),g=c[m],v=c[d];if(i){let y=m==="y"?"top":"left",b=m==="y"?"bottom":"right",x=g+f[y],w=g-f[b];g=gd(x,g,w)}if(s){let y=d==="y"?"top":"left",b=d==="y"?"bottom":"right",x=v+f[y],w=v-f[b];v=gd(x,v,w)}let h=u.fn({...t,[m]:g,[d]:v});return{...h,data:{x:h.x-r,y:h.y-n}}}}},OP=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:i,middlewareData:s}=t,{offset:u=0,mainAxis:l=!0,crossAxis:c=!0}=tn(e,t),f={x:r,y:n},d=yi(o),m=vd(d),g=f[m],v=f[d],h=tn(u,t),y=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){let w=m==="y"?"height":"width",S=i.reference[m]-i.floating[w]+y.mainAxis,E=i.reference[m]+i.reference[w]-y.mainAxis;g<S?g=S:g>E&&(g=E)}if(c){var b,x;let w=m==="y"?"width":"height",S=["top","left"].includes(rn(o)),E=i.reference[d]-i.floating[w]+(S&&((b=s.offset)==null?void 0:b[d])||0)+(S?0:y.crossAxis),D=i.reference[d]+i.reference[w]+(S?0:((x=s.offset)==null?void 0:x[d])||0)-(S?y.crossAxis:0);v<E?v=E:v>D&&(v=D)}return{[m]:g,[d]:v}}}},FP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:n,platform:o,elements:i}=t,{apply:s=()=>{},...u}=tn(e,t),l=await is(t,u),c=rn(r),f=vi(r),d=yi(r)==="y",{width:m,height:g}=n.floating,v,h;c==="top"||c==="bottom"?(v=c,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=c,v=f==="end"?"top":"bottom");let y=g-l[v],b=m-l[h],x=!t.middlewareData.shift,w=y,S=b;if(d){let D=m-l.left-l.right;S=f||x?en(b,D):D}else{let D=g-l.top-l.bottom;w=f||x?en(y,D):D}if(x&&!f){let D=Mt(l.left,0),T=Mt(l.right,0),O=Mt(l.top,0),F=Mt(l.bottom,0);d?S=m-2*(D!==0||T!==0?D+T:Mt(l.left,l.right)):w=g-2*(O!==0||F!==0?O+F:Mt(l.top,l.bottom))}await s({...t,availableWidth:S,availableHeight:w});let E=await o.getDimensions(i.floating);return m!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}};a();function Mn(e){return $P(e)?(e.nodeName||"").toLowerCase():"#document"}function Yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function nn(e){var t;return(t=($P(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $P(e){return e instanceof Node||e instanceof Yt(e).Node}function on(e){return e instanceof Element||e instanceof Yt(e).Element}function Ar(e){return e instanceof HTMLElement||e instanceof Yt(e).HTMLElement}function RP(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Yt(e).ShadowRoot}function as(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=pr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function BP(e){return["table","td","th"].includes(Mn(e))}function Cd(e){let t=xd(),r=pr(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 MP(e){let t=Ci(e);for(;Ar(t)&&!Wu(t);){if(Cd(t))return t;t=Ci(t)}return null}function xd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wu(e){return["html","body","#document"].includes(Mn(e))}function pr(e){return Yt(e).getComputedStyle(e)}function Uu(e){return on(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ci(e){if(Mn(e)==="html")return e;let t=e.assignedSlot||e.parentNode||RP(e)&&e.host||nn(e);return RP(t)?t.host:t}function IP(e){let t=Ci(e);return Wu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ar(t)&&as(t)?t:IP(t)}function xi(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let o=IP(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Yt(o);return i?t.concat(s,s.visualViewport||[],as(o)?o:[],s.frameElement&&r?xi(s.frameElement):[]):t.concat(o,xi(o,[],r))}function VP(e){let t=pr(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=Ar(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,u=ju(r)!==i||ju(n)!==s;return u&&(r=i,n=s),{width:r,height:n,$:u}}function J2(e){return on(e)?e:e.contextElement}function ss(e){let t=J2(e);if(!Ar(t))return Bn(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=VP(t),s=(i?ju(r.width):r.width)/n,u=(i?ju(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}var Ste=Bn(0);function LP(e){let t=Yt(e);return!xd()||!t.visualViewport?Ste:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Dte(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Yt(e)?!1:t}function wi(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let o=e.getBoundingClientRect(),i=J2(e),s=Bn(1);t&&(n?on(n)&&(s=ss(n)):s=ss(e));let u=Dte(i,r,n)?LP(i):Bn(0),l=(o.left+u.x)/s.x,c=(o.top+u.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(i){let m=Yt(i),g=n&&on(n)?Yt(n):n,v=m,h=v.frameElement;for(;h&&n&&g!==v;){let y=ss(h),b=h.getBoundingClientRect(),x=pr(h),w=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*y.x,S=b.top+(h.clientTop+parseFloat(x.paddingTop))*y.y;l*=y.x,c*=y.y,f*=y.x,d*=y.y,l+=w,c+=S,v=Yt(h),h=v.frameElement}}return bi({width:f,height:d,x:l,y:c})}var Ete=[":popover-open",":modal"];function zP(e){return Ete.some(t=>{try{return e.matches(t)}catch{return!1}})}function Tte(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i=o==="fixed",s=nn(n),u=t?zP(t.floating):!1;if(n===s||u&&i)return r;let l={scrollLeft:0,scrollTop:0},c=Bn(1),f=Bn(0),d=Ar(n);if((d||!d&&!i)&&((Mn(n)!=="body"||as(s))&&(l=Uu(n)),Ar(n))){let m=wi(n);c=ss(n),f.x=m.x+n.clientLeft,f.y=m.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+f.x,y:r.y*c.y-l.scrollTop*c.y+f.y}}function Pte(e){return Array.from(e.getClientRects())}function HP(e){return wi(nn(e)).left+Uu(e).scrollLeft}function Ate(e){let t=nn(e),r=Uu(e),n=e.ownerDocument.body,o=Mt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Mt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+HP(e),u=-r.scrollTop;return pr(n).direction==="rtl"&&(s+=Mt(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:u}}function Ote(e,t){let r=Yt(e),n=nn(e),o=r.visualViewport,i=n.clientWidth,s=n.clientHeight,u=0,l=0;if(o){i=o.width,s=o.height;let c=xd();(!c||c&&t==="fixed")&&(u=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:u,y:l}}function Fte(e,t){let r=wi(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Ar(e)?ss(e):Bn(1),s=e.clientWidth*i.x,u=e.clientHeight*i.y,l=o*i.x,c=n*i.y;return{width:s,height:u,x:l,y:c}}function kP(e,t,r){let n;if(t==="viewport")n=Ote(e,r);else if(t==="document")n=Ate(nn(e));else if(on(t))n=Fte(t,r);else{let o=LP(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return bi(n)}function GP(e,t){let r=Ci(e);return r===t||!on(r)||Wu(r)?!1:pr(r).position==="fixed"||GP(r,t)}function Rte(e,t){let r=t.get(e);if(r)return r;let n=xi(e,[],!1).filter(u=>on(u)&&Mn(u)!=="body"),o=null,i=pr(e).position==="fixed",s=i?Ci(e):e;for(;on(s)&&!Wu(s);){let u=pr(s),l=Cd(s);!l&&u.position==="fixed"&&(o=null),(i?!l&&!o:!l&&u.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||as(s)&&!l&&GP(e,s))?n=n.filter(f=>f!==s):o=u,s=Ci(s)}return t.set(e,n),n}function $te(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?Rte(t,this._c):[].concat(r),n],u=s[0],l=s.reduce((c,f)=>{let d=kP(t,f,o);return c.top=Mt(d.top,c.top),c.right=en(d.right,c.right),c.bottom=en(d.bottom,c.bottom),c.left=Mt(d.left,c.left),c},kP(t,u,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Bte(e){let{width:t,height:r}=VP(e);return{width:t,height:r}}function Mte(e,t,r){let n=Ar(t),o=nn(t),i=r==="fixed",s=wi(e,!0,i,t),u={scrollLeft:0,scrollTop:0},l=Bn(0);if(n||!n&&!i)if((Mn(t)!=="body"||as(o))&&(u=Uu(t)),n){let d=wi(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&(l.x=HP(o));let c=s.left+u.scrollLeft-l.x,f=s.top+u.scrollTop-l.y;return{x:c,y:f,width:s.width,height:s.height}}function NP(e,t){return!Ar(e)||pr(e).position==="fixed"?null:t?t(e):e.offsetParent}function jP(e,t){let r=Yt(e);if(!Ar(e)||zP(e))return r;let n=NP(e,t);for(;n&&BP(n)&&pr(n).position==="static";)n=NP(n,t);return n&&(Mn(n)==="html"||Mn(n)==="body"&&pr(n).position==="static"&&!Cd(n))?r:n||MP(e)||r}var Ite=async function(e){let t=this.getOffsetParent||jP,r=this.getDimensions,n=await r(e.floating);return{reference:Mte(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function kte(e){return pr(e).direction==="rtl"}var _P={convertOffsetParentRelativeRectToViewportRelativeRect:Tte,getDocumentElement:nn,getClippingRect:$te,getOffsetParent:jP,getElementRects:Ite,getClientRects:Pte,getDimensions:Bte,getScale:ss,isElement:on,isRTL:kte};function Nte(e,t){let r=null,n,o=nn(e);function i(){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),i();let{left:c,top:f,width:d,height:m}=e.getBoundingClientRect();if(u||t(),!d||!m)return;let g=_u(f),v=_u(o.clientWidth-(c+d)),h=_u(o.clientHeight-(f+m)),y=_u(c),x={rootMargin:-g+"px "+-v+"px "+-h+"px "+-y+"px",threshold:Mt(0,en(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),i}function Z2(e,t,r,n){n===void 0&&(n={});let{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=J2(e),f=o||i?[...c?xi(c):[],...xi(t)]:[];f.forEach(b=>{o&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});let d=c&&u?Nte(c,r):null,m=-1,g=null;s&&(g=new ResizeObserver(b=>{let[x]=b;x&&x.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),r()}),c&&!l&&g.observe(c),g.observe(t));let v,h=l?wi(e):null;l&&y();function y(){let b=wi(e);h&&(b.x!==h.x||b.y!==h.y||b.width!==h.width||b.height!==h.height)&&r(),h=b,v=requestAnimationFrame(y)}return r(),()=>{var b;f.forEach(x=>{o&&x.removeEventListener("scroll",r),i&&x.removeEventListener("resize",r)}),d?.(),(b=g)==null||b.disconnect(),g=null,l&&cancelAnimationFrame(v)}}var Q2=PP;var eg=AP,tg=EP,rg=FP,ng=TP,og=DP;var ig=OP,ag=(e,t,r)=>{let n=new Map,o={platform:_P,...r},i={...o.platform,_c:n};return SP(e,t,{...o,platform:i})};import*as nt from"react";import{useLayoutEffect as Vte,useEffect as Lte}from"react";import*as KP from"react-dom";var qP=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?og({element:n.current,padding:o}).fn(r):{}:n?og({element:n,padding:o}).fn(r):{}}}},wd=typeof document<"u"?Vte:Lte;function Sd(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(!Sd(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 i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!Sd(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function XP(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function WP(e,t){let r=XP(e);return Math.round(t*r)/r}function UP(e){let t=nt.useRef(e);return wd(()=>{t.current=e}),t}function YP(e){e===void 0&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:s}={},transform:u=!0,whileElementsMounted:l,open:c}=e,[f,d]=nt.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=nt.useState(n);Sd(m,n)||g(n);let[v,h]=nt.useState(null),[y,b]=nt.useState(null),x=nt.useCallback(re=>{re!==D.current&&(D.current=re,h(re))},[]),w=nt.useCallback(re=>{re!==T.current&&(T.current=re,b(re))},[]),S=i||v,E=s||y,D=nt.useRef(null),T=nt.useRef(null),O=nt.useRef(f),F=l!=null,I=UP(l),G=UP(o),k=nt.useCallback(()=>{if(!D.current||!T.current)return;let re={placement:t,strategy:r,middleware:m};G.current&&(re.platform=G.current),ag(D.current,T.current,re).then(se=>{let j={...se,isPositioned:!0};H.current&&!Sd(O.current,j)&&(O.current=j,KP.flushSync(()=>{d(j)}))})},[m,t,r,G]);wd(()=>{c===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,d(re=>({...re,isPositioned:!1})))},[c]);let H=nt.useRef(!1);wd(()=>(H.current=!0,()=>{H.current=!1}),[]),wd(()=>{if(S&&(D.current=S),E&&(T.current=E),S&&E){if(I.current)return I.current(S,E,k);k()}},[S,E,k,I,F]);let N=nt.useMemo(()=>({reference:D,floating:T,setReference:x,setFloating:w}),[x,w]),M=nt.useMemo(()=>({reference:S,floating:E}),[S,E]),Q=nt.useMemo(()=>{let re={position:r,left:0,top:0};if(!M.floating)return re;let se=WP(M.floating,f.x),j=WP(M.floating,f.y);return u?{...re,transform:"translate("+se+"px, "+j+"px)",...XP(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:se,top:j}},[r,u,M.floating,f.x,f.y]);return nt.useMemo(()=>({...f,update:k,refs:N,elements:M,floatingStyles:Q}),[f,k,N,M,Q])}a();import{useState as zte}from"react";function JP(e){let[t,r]=zte(void 0);return Qr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;let i=o[0],s,u;if("borderBoxSize"in i){let l=i.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 QP="Popper",[eA,sg]=Jr(QP),[jte,tA]=eA(QP),_te=e=>{let{__scopePopper:t,children:r}=e,[n,o]=Dd(null);return Ku(jte,{scope:t,anchor:n,onAnchorChange:o},r)},Wte="PopperAnchor",Ute=ZP((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,i=tA(Wte,r),s=Hte(null),u=rt(t,s);return Gte(()=>{i.onAnchorChange(n?.current||s.current)}),n?null:Ku(at.div,Z({},o,{ref:u}))}),rA="PopperContent",[Kte,Zot]=eA(rA),qte=ZP((e,t)=>{var r,n,o,i,s,u,l,c;let{__scopePopper:f,side:d="bottom",sideOffset:m=0,align:g="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:y=!0,collisionBoundary:b=[],collisionPadding:x=0,sticky:w="partial",hideWhenDetached:S=!1,updatePositionStrategy:E="optimized",onPlaced:D,...T}=e,O=tA(rA,f),[F,I]=Dd(null),G=rt(t,je=>I(je)),[k,H]=Dd(null),N=JP(k),M=(r=N?.width)!==null&&r!==void 0?r:0,Q=(n=N?.height)!==null&&n!==void 0?n:0,re=d+(g!=="center"?"-"+g:""),se=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},j=Array.isArray(b)?b:[b],ne=j.length>0,ce={padding:se,boundary:j.filter(Xte),altBoundary:ne},{refs:pe,floatingStyles:Be,placement:A,isPositioned:_,middlewareData:z}=YP({strategy:"fixed",placement:re,whileElementsMounted:(...je)=>Z2(...je,{animationFrame:E==="always"}),elements:{reference:O.anchor},middleware:[Q2({mainAxis:m+Q,alignmentAxis:v}),y&&eg({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?ig():void 0,...ce}),y&&tg({...ce}),rg({...ce,apply:({elements:je,rects:Ye,availableWidth:Ne,availableHeight:Tt})=>{let{width:Ct,height:st}=Ye.reference,ut=je.floating.style;ut.setProperty("--radix-popper-available-width",`${Ne}px`),ut.setProperty("--radix-popper-available-height",`${Tt}px`),ut.setProperty("--radix-popper-anchor-width",`${Ct}px`),ut.setProperty("--radix-popper-anchor-height",`${st}px`)}}),k&&qP({element:k,padding:h}),Yte({arrowWidth:M,arrowHeight:Q}),S&&ng({strategy:"referenceHidden",...ce})]}),[U,ue]=nA(A),ee=it(D);Qr(()=>{_&&ee?.()},[_,ee]);let he=(o=z.arrow)===null||o===void 0?void 0:o.x,we=(i=z.arrow)===null||i===void 0?void 0:i.y,De=((s=z.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Ae,Ce]=Dd();return Qr(()=>{F&&Ce(window.getComputedStyle(F).zIndex)},[F]),Ku("div",{ref:pe.setFloating,"data-radix-popper-content-wrapper":"",style:{...Be,transform:_?Be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ae,"--radix-popper-transform-origin":[(u=z.transformOrigin)===null||u===void 0?void 0:u.x,(l=z.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},Ku(Kte,{scope:f,placedSide:U,onArrowChange:H,arrowX:he,arrowY:we,shouldHideArrow:De},Ku(at.div,Z({"data-side":U,"data-align":ue},T,{ref:G,style:{...T.style,animation:_?void 0:"none",opacity:(c=z.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function Xte(e){return e!==null}var Yte=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,s;let{placement:u,rects:l,middlewareData:c}=t,d=((r=c.arrow)===null||r===void 0?void 0:r.centerOffset)!==0,m=d?0:e.arrowWidth,g=d?0:e.arrowHeight,[v,h]=nA(u),y={start:"0%",center:"50%",end:"100%"}[h],b=((n=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&n!==void 0?n:0)+m/2,x=((i=(s=c.arrow)===null||s===void 0?void 0:s.y)!==null&&i!==void 0?i:0)+g/2,w="",S="";return v==="bottom"?(w=d?y:`${b}px`,S=`${-g}px`):v==="top"?(w=d?y:`${b}px`,S=`${l.floating.height+g}px`):v==="right"?(w=`${-g}px`,S=d?y:`${x}px`):v==="left"&&(w=`${l.floating.width+g}px`,S=d?y:`${x}px`),{data:{x:w,y:S}}}});function nA(e){let[t,r="center"]=e.split("-");return[t,r]}var ug=_te,oA=Ute,iA=qte;a();import{forwardRef as Jte,createElement as Zte}from"react";import Qte from"react-dom";var aA=Jte((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Qte.createPortal(Zte(at.div,Z({},o,{ref:t})),n):null});a();import{Children as ere,cloneElement as tre,useState as rre,useRef as lg,useEffect as nre,useCallback as ore,useReducer as ire}from"react";import{flushSync as are}from"react-dom";function sre(e,t){return ire((r,n)=>{let o=t[r][n];return o??r},e)}var us=e=>{let{present:t,children:r}=e,n=ure(t),o=typeof r=="function"?r({present:n.isPresent}):ere.only(r),i=rt(n.ref,o.ref);return typeof r=="function"||n.isPresent?tre(o,{ref:i}):null};us.displayName="Presence";function ure(e){let[t,r]=rre(),n=lg({}),o=lg(e),i=lg("none"),s=e?"mounted":"unmounted",[u,l]=sre(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return nre(()=>{let c=Ed(n.current);i.current=u==="mounted"?c:"none"},[u]),Qr(()=>{let c=n.current,f=o.current;if(f!==e){let m=i.current,g=Ed(c);e?l("MOUNT"):g==="none"||c?.display==="none"?l("UNMOUNT"):l(f&&m!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Qr(()=>{if(t){let c=d=>{let g=Ed(n.current).includes(d.animationName);d.target===t&&g&&are(()=>l("ANIMATION_END"))},f=d=>{d.target===t&&(i.current=Ed(n.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:ore(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function Ed(e){return e?.animationName||"none"}a();import{forwardRef as pg,createElement as Si,useRef as sA,useState as uA,useEffect as lA,useCallback as Td}from"react";var cg="rovingFocusGroup.onEntryFocus",lre={bubbles:!1,cancelable:!0},dg="RovingFocusGroup",[fg,cA,cre]=pd(dg),[fre,mg]=Jr(dg,[cre]),[pre,dre]=fre(dg),mre=pg((e,t)=>Si(fg.Provider,{scope:e.__scopeRovingFocusGroup},Si(fg.Slot,{scope:e.__scopeRovingFocusGroup},Si(hre,Z({},e,{ref:t}))))),hre=pg((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:l,onEntryFocus:c,...f}=e,d=sA(null),m=rt(t,d),g=dd(i),[v=null,h]=Lu({prop:s,defaultProp:u,onChange:l}),[y,b]=uA(!1),x=it(c),w=cA(r),S=sA(!1),[E,D]=uA(0);return lA(()=>{let T=d.current;if(T)return T.addEventListener(cg,x),()=>T.removeEventListener(cg,x)},[x]),Si(pre,{scope:r,orientation:n,dir:g,loop:o,currentTabStopId:v,onItemFocus:Td(T=>h(T),[h]),onItemShiftTab:Td(()=>b(!0),[]),onFocusableItemAdd:Td(()=>D(T=>T+1),[]),onFocusableItemRemove:Td(()=>D(T=>T-1),[])},Si(at.div,Z({tabIndex:y||E===0?-1:0,"data-orientation":n},f,{ref:m,style:{outline:"none",...e.style},onMouseDown:ye(e.onMouseDown,()=>{S.current=!0}),onFocus:ye(e.onFocus,T=>{let O=!S.current;if(T.target===T.currentTarget&&O&&!y){let F=new CustomEvent(cg,lre);if(T.currentTarget.dispatchEvent(F),!F.defaultPrevented){let I=w().filter(M=>M.focusable),G=I.find(M=>M.active),k=I.find(M=>M.id===v),N=[G,k,...I].filter(Boolean).map(M=>M.ref.current);fA(N)}}S.current=!1}),onBlur:ye(e.onBlur,()=>b(!1))})))}),gre="RovingFocusGroupItem",vre=pg((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...s}=e,u=So(),l=i||u,c=dre(gre,r),f=c.currentTabStopId===l,d=cA(r),{onFocusableItemAdd:m,onFocusableItemRemove:g}=c;return lA(()=>{if(n)return m(),()=>g()},[n,m,g]),Si(fg.ItemSlot,{scope:r,id:l,focusable:n,active:o},Si(at.span,Z({tabIndex:f?0:-1,"data-orientation":c.orientation},s,{ref:t,onMouseDown:ye(e.onMouseDown,v=>{n?c.onItemFocus(l):v.preventDefault()}),onFocus:ye(e.onFocus,()=>c.onItemFocus(l)),onKeyDown:ye(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){c.onItemShiftTab();return}if(v.target!==v.currentTarget)return;let h=Cre(v,c.orientation,c.dir);if(h!==void 0){v.preventDefault();let b=d().filter(x=>x.focusable).map(x=>x.ref.current);if(h==="last")b.reverse();else if(h==="prev"||h==="next"){h==="prev"&&b.reverse();let x=b.indexOf(v.currentTarget);b=c.loop?xre(b,x+1):b.slice(x+1)}setTimeout(()=>fA(b))}})})))}),yre={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function bre(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Cre(e,t,r){let n=bre(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return yre[n]}function fA(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])}var pA=mre,dA=vre;a();var wre=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ls=new WeakMap,Pd=new WeakMap,Ad={},hg=0,mA=function(e){return e&&(e.host||mA(e.parentNode))},Sre=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=mA(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})},Dre=function(e,t,r,n){var o=Sre(t,Array.isArray(e)?e:[e]);Ad[r]||(Ad[r]=new WeakMap);var i=Ad[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 f=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(m){if(u.has(m))f(m);else try{var g=m.getAttribute(n),v=g!==null&&g!=="false",h=(ls.get(m)||0)+1,y=(i.get(m)||0)+1;ls.set(m,h),i.set(m,y),s.push(m),h===1&&v&&Pd.set(m,!0),y===1&&m.setAttribute(r,"true"),v||m.setAttribute(n,"true")}catch(b){console.error("aria-hidden: cannot operate on ",m,b)}})};return f(t),u.clear(),hg++,function(){s.forEach(function(d){var m=ls.get(d)-1,g=i.get(d)-1;ls.set(d,m),i.set(d,g),m||(Pd.has(d)||d.removeAttribute(n),Pd.delete(d)),g||d.removeAttribute(r)}),hg--,hg||(ls=new WeakMap,ls=new WeakMap,Pd=new WeakMap,Ad={})}},hA=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||wre(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),Dre(n,o,r,"aria-hidden")):function(){return null}};a();a();a();var Jt=function(){return Jt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Jt.apply(this,arguments)};function Od(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 gA(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}import*as Md from"react";a();import*as St from"react";a();var Di="right-scroll-bar-position",Ei="width-before-scroll-bar",gg="with-scroll-bars-hidden",vg="--removed-body-scroll-bar-size";a();a();function Fd(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}a();import{useState as Ere}from"react";function vA(e,t){var r=Ere(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}a();import*as Rd from"react";var Tre=typeof window<"u"?Rd.useLayoutEffect:Rd.useEffect,yA=new WeakMap;function yg(e,t){var r=vA(t||null,function(n){return e.forEach(function(o){return Fd(o,n)})});return Tre(function(){var n=yA.get(r);if(n){var o=new Set(n),i=new Set(e),s=r.current;o.forEach(function(u){i.has(u)||Fd(u,null)}),i.forEach(function(u){o.has(u)||Fd(u,s)})}yA.set(r,e)},[e]),r}a();a();a();function Pre(e){return e}function Are(e,t){t===void 0&&(t=Pre);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(i){var s=t(i,n);return r.push(s),function(){r=r.filter(function(u){return u!==s})}},assignSyncMedium:function(i){for(n=!0;r.length;){var s=r;r=[],s.forEach(i)}r={push:function(u){return i(u)},filter:function(){return r}}},assignMedium:function(i){n=!0;var s=[];if(r.length){var u=r;r=[],u.forEach(i),s=r}var l=function(){var f=s;s=[],f.forEach(i)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(f){s.push(f),c()},filter:function(f){return s=s.filter(f),r}}}};return o}function bg(e){e===void 0&&(e={});var t=Are(null);return t.options=Jt({async:!0,ssr:!1},e),t}a();import*as bA from"react";var CA=function(e){var t=e.sideCar,r=Od(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 bA.createElement(n,Jt({},r))};CA.isSideCarExport=!0;function Cg(e,t){return e.useMedium(t),CA}var $d=bg();var xg=function(){},qu=St.forwardRef(function(e,t){var r=St.useRef(null),n=St.useState({onScrollCapture:xg,onWheelCapture:xg,onTouchMoveCapture:xg}),o=n[0],i=n[1],s=e.forwardProps,u=e.children,l=e.className,c=e.removeScrollBar,f=e.enabled,d=e.shards,m=e.sideCar,g=e.noIsolation,v=e.inert,h=e.allowPinchZoom,y=e.as,b=y===void 0?"div":y,x=Od(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=m,S=yg([r,t]),E=Jt(Jt({},x),o);return St.createElement(St.Fragment,null,f&&St.createElement(w,{sideCar:$d,removeScrollBar:c,shards:d,noIsolation:g,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:r}),s?St.cloneElement(St.Children.only(u),Jt(Jt({},E),{ref:S})):St.createElement(b,Jt({},E,{className:l,ref:S}),u))});qu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};qu.classNames={fullWidth:Ei,zeroRight:Di};a();a();import*as ze from"react";a();a();import*as fs from"react";a();a();a();import*as SA from"react";a();a();var xA;var wA=function(){if(xA)return xA;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ore(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=wA();return t&&e.setAttribute("nonce",t),e}function Fre(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Rre(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var wg=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Ore())&&(Fre(t,r),Rre(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var Sg=function(){var e=wg();return function(t,r){SA.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var Xu=function(){var e=Sg(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t};a();var $re={left:0,top:0,right:0,gap:0},Dg=function(e){return parseInt(e||"",10)||0},Bre=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[Dg(r),Dg(n),Dg(o)]},Eg=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return $re;var t=Bre(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 Mre=Xu(),cs="data-scroll-locked",Ire=function(e,t,r,n){var o=e.left,i=e.top,s=e.right,u=e.gap;return r===void 0&&(r="margin"),`
|
|
2091
2091
|
.`.concat(gg,` {
|
|
2092
2092
|
overflow: hidden `).concat(n,`;
|
|
2093
2093
|
padding-right: `).concat(u,"px ").concat(n,`;
|
|
@@ -2127,7 +2127,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2127
2127
|
`)},DA=function(){var e=parseInt(document.body.getAttribute(cs)||"0",10);return isFinite(e)?e:0},kre=function(){fs.useEffect(function(){return document.body.setAttribute(cs,(DA()+1).toString()),function(){var e=DA()-1;e<=0?document.body.removeAttribute(cs):document.body.setAttribute(cs,e.toString())}},[])},Tg=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;kre();var i=fs.useMemo(function(){return Eg(o)},[o]);return fs.createElement(Mre,{styles:Ire(i,!t,o,r?"":"!important")})};a();var Pg=!1;if(typeof window<"u")try{Yu=Object.defineProperty({},"passive",{get:function(){return Pg=!0,!0}}),window.addEventListener("test",Yu,Yu),window.removeEventListener("test",Yu,Yu)}catch{Pg=!1}var Yu,Ti=Pg?{passive:!1}:!1;a();var Nre=function(e){return e.tagName==="TEXTAREA"},EA=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Nre(e)&&r[t]==="visible")},Vre=function(e){return EA(e,"overflowY")},Lre=function(e){return EA(e,"overflowX")},Ag=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=TA(e,r);if(n){var o=PA(e,r),i=o[1],s=o[2];if(i>s)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},zre=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Hre=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},TA=function(e,t){return e==="v"?Vre(t):Lre(t)},PA=function(e,t){return e==="v"?zre(t):Hre(t)},Gre=function(e,t){return e==="h"&&t==="rtl"?-1:1},AA=function(e,t,r,n,o){var i=Gre(e,window.getComputedStyle(t).direction),s=i*n,u=r.target,l=t.contains(u),c=!1,f=s>0,d=0,m=0;do{var g=PA(e,u),v=g[0],h=g[1],y=g[2],b=h-y-i*v;(v||b)&&TA(e,u)&&(d+=b,m+=v),u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return(f&&(o&&d===0||!o&&s>d)||!f&&(o&&m===0||!o&&-s>m))&&(c=!0),c};var Bd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},OA=function(e){return[e.deltaX,e.deltaY]},FA=function(e){return e&&"current"in e?e.current:e},jre=function(e,t){return e[0]===t[0]&&e[1]===t[1]},_re=function(e){return`
|
|
2128
2128
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
2129
2129
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
2130
|
-
`)},Wre=0,ps=[];function $A(e){var t=ze.useRef([]),r=ze.useRef([0,0]),n=ze.useRef(),o=ze.useState(Wre++)[0],i=ze.useState(function(){return Xu()})[0],s=ze.useRef(e);ze.useEffect(function(){s.current=e},[e]),ze.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=gA([e.lockRef.current],(e.shards||[]).map(FA),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=ze.useCallback(function(h,y){if("touches"in h&&h.touches.length===2)return!s.current.allowPinchZoom;var b=Bd(h),x=r.current,w="deltaX"in h?h.deltaX:x[0]-b[0],S="deltaY"in h?h.deltaY:x[1]-b[1],E,D=h.target,T=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in h&&T==="h"&&D.type==="range")return!1;var O=Ag(T,D);if(!O)return!0;if(O?E=T:(E=T==="v"?"h":"v",O=Ag(T,D)),!O)return!1;if(!n.current&&"changedTouches"in h&&(w||S)&&(n.current=E),!E)return!0;var F=n.current||E;return AA(F,y,h,F==="h"?w:S,!0)},[]),l=ze.useCallback(function(h){var y=h;if(!(!ps.length||ps[ps.length-1]!==i)){var b="deltaY"in y?OA(y):Bd(y),x=t.current.filter(function(E){return E.name===y.type&&E.target===y.target&&jre(E.delta,b)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(FA).filter(Boolean).filter(function(E){return E.contains(y.target)}),S=w.length>0?u(y,w[0]):!s.current.noIsolation;S&&y.cancelable&&y.preventDefault()}}},[]),c=ze.useCallback(function(h,y,b,x){var w={name:h,delta:y,target:b,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),f=ze.useCallback(function(h){r.current=Bd(h),n.current=void 0},[]),d=ze.useCallback(function(h){c(h.type,OA(h),h.target,u(h,e.lockRef.current))},[]),m=ze.useCallback(function(h){c(h.type,Bd(h),h.target,u(h,e.lockRef.current))},[]);ze.useEffect(function(){return ps.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Ti),document.addEventListener("touchmove",l,Ti),document.addEventListener("touchstart",f,Ti),function(){ps=ps.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,Ti),document.removeEventListener("touchmove",l,Ti),document.removeEventListener("touchstart",f,Ti)}},[]);var g=e.removeScrollBar,v=e.inert;return ze.createElement(ze.Fragment,null,v?ze.createElement(i,{styles:_re(o)}):null,g?ze.createElement(Tg,{gapMode:"margin"}):null)}var RA=Cg(Rd,$A);var BA=Md.forwardRef(function(e,t){return Md.createElement(qu,Jt({},e,{ref:t,sideCar:RA}))});BA.classNames=qu.classNames;var Og=BA;var Fg=["Enter"," "],Kre=["ArrowDown","PageUp","Home"],IA=["ArrowUp","PageDown","End"],qre=[...Kre,...IA],Xre={ltr:[...Fg,"ArrowRight"],rtl:[...Fg,"ArrowLeft"]},Yre={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Nd="Menu",[Ju,Jre,Zre]=pd(Nd),[Oi,Rg]=Jr(Nd,[Zre,sg,mg]),Vd=sg(),kA=mg(),[NA,Do]=Oi(Nd),[Qre,Qu]=Oi(Nd),ene=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:i,modal:s=!0}=e,u=Vd(t),[l,c]=ds(null),f=Zt(!1),d=it(i),m=dd(o);return Ai(()=>{let g=()=>{f.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>f.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})}},[]),ge(ug,u,ge(NA,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:c},ge(Qre,{scope:t,onClose:Pi(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:m,modal:s},n)))};var VA=It((e,t)=>{let{__scopeMenu:r,...n}=e,o=Vd(r);return ge(oA,Z({},o,n,{ref:t}))}),LA="MenuPortal",[tne,zA]=Oi(LA,{forceMount:void 0}),rne=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,i=Do(LA,t);return ge(tne,{scope:t,forceMount:r},ge(us,{present:r||i.open},ge(aA,{asChild:!0,container:o},n)))},Or="MenuContent",[nne,Bg]=Oi(Or),one=It((e,t)=>{let r=zA(Or,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=Do(Or,e.__scopeMenu),s=Qu(Or,e.__scopeMenu);return ge(Ju.Provider,{scope:e.__scopeMenu},ge(us,{present:n||i.open},ge(Ju.Slot,{scope:e.__scopeMenu},s.modal?ge(ine,Z({},o,{ref:t})):ge(ane,Z({},o,{ref:t})))))}),ine=It((e,t)=>{let r=Do(Or,e.__scopeMenu),n=Zt(null),o=rt(t,n);return Ai(()=>{let i=n.current;if(i)return hA(i)},[]),ge(Mg,Z({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:ye(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)}))}),ane=It((e,t)=>{let r=Do(Or,e.__scopeMenu);return ge(Mg,Z({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)}))}),Mg=It((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:m,onDismiss:g,disableOutsideScroll:v,...h}=e,y=Do(Or,r),b=Qu(Or,r),x=Vd(r),w=kA(r),S=Jre(r),[E,D]=ds(null),T=Zt(null),O=rt(t,T,y.onContentChange),F=Zt(0),I=Zt(""),G=Zt(0),k=Zt(null),H=Zt("right"),N=Zt(0),M=v?Og:Ure,Q=v?{as:xo,allowPinchZoom:!0}:void 0,re=j=>{var ne,ce;let pe=I.current+j,Be=S().filter(ee=>!ee.disabled),A=document.activeElement,_=(ne=Be.find(ee=>ee.ref.current===A))===null||ne===void 0?void 0:ne.textValue,z=Be.map(ee=>ee.textValue),U=Dne(z,pe,_),ue=(ce=Be.find(ee=>ee.textValue===U))===null||ce===void 0?void 0:ce.ref.current;(function ee(he){I.current=he,window.clearTimeout(F.current),he!==""&&(F.current=window.setTimeout(()=>ee(""),1e3))})(pe),ue&&setTimeout(()=>ue.focus())};Ai(()=>()=>window.clearTimeout(F.current),[]),sP();let se=Pi(j=>{var ne,ce;return H.current===((ne=k.current)===null||ne===void 0?void 0:ne.side)&&Tne(j,(ce=k.current)===null||ce===void 0?void 0:ce.area)},[]);return ge(nne,{scope:r,searchRef:I,onItemEnter:Pi(j=>{se(j)&&j.preventDefault()},[se]),onItemLeave:Pi(j=>{var ne;se(j)||((ne=T.current)===null||ne===void 0||ne.focus(),D(null))},[se]),onTriggerLeave:Pi(j=>{se(j)&&j.preventDefault()},[se]),pointerGraceTimerRef:G,onPointerGraceIntentChange:Pi(j=>{k.current=j},[])},ge(M,Q,ge(mP,{asChild:!0,trapped:o,onMountAutoFocus:ye(i,j=>{var ne;j.preventDefault(),(ne=T.current)===null||ne===void 0||ne.focus()}),onUnmountAutoFocus:s},ge(oP,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:m,onDismiss:g},ge(pA,Z({asChild:!0},w,{dir:b.dir,orientation:"vertical",loop:n,currentTabStopId:E,onCurrentTabStopIdChange:D,onEntryFocus:ye(l,j=>{b.isUsingKeyboardRef.current||j.preventDefault()})}),ge(iA,Z({role:"menu","aria-orientation":"vertical","data-state":KA(y.open),"data-radix-menu-content":"",dir:b.dir},x,h,{ref:O,style:{outline:"none",...h.style},onKeyDown:ye(h.onKeyDown,j=>{let ce=j.target.closest("[data-radix-menu-content]")===j.currentTarget,pe=j.ctrlKey||j.altKey||j.metaKey,Be=j.key.length===1;ce&&(j.key==="Tab"&&j.preventDefault(),!pe&&Be&&re(j.key));let A=T.current;if(j.target!==A||!qre.includes(j.key))return;j.preventDefault();let z=S().filter(U=>!U.disabled).map(U=>U.ref.current);IA.includes(j.key)&&z.reverse(),wne(z)}),onBlur:ye(e.onBlur,j=>{j.currentTarget.contains(j.target)||(window.clearTimeout(F.current),I.current="")}),onPointerMove:ye(e.onPointerMove,Zu(j=>{let ne=j.target,ce=N.current!==j.clientX;if(j.currentTarget.contains(ne)&&ce){let pe=j.clientX>N.current?"right":"left";H.current=pe,N.current=j.clientX}}))})))))))});var HA=It((e,t)=>{let{__scopeMenu:r,...n}=e;return ge(at.div,Z({role:"group"},n,{ref:t}))});var sne=It((e,t)=>{let{__scopeMenu:r,...n}=e;return ge(at.div,Z({},n,{ref:t}))}),$g="MenuItem",MA="menu.itemSelect",Ig=It((e,t)=>{let{disabled:r=!1,onSelect:n,...o}=e,i=Zt(null),s=Qu($g,e.__scopeMenu),u=Bg($g,e.__scopeMenu),l=rt(t,i),c=Zt(!1),f=()=>{let d=i.current;if(!r&&d){let m=new CustomEvent(MA,{bubbles:!0,cancelable:!0});d.addEventListener(MA,g=>n?.(g),{once:!0}),fd(d,m),m.defaultPrevented?c.current=!1:s.onClose()}};return ge(GA,Z({},o,{ref:l,disabled:r,onClick:ye(e.onClick,f),onPointerDown:d=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,d),c.current=!0},onPointerUp:ye(e.onPointerUp,d=>{var m;c.current||(m=d.currentTarget)===null||m===void 0||m.click()}),onKeyDown:ye(e.onKeyDown,d=>{let m=u.searchRef.current!=="";r||m&&d.key===" "||Fg.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})}))}),GA=It((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:o,...i}=e,s=Bg($g,r),u=kA(r),l=Zt(null),c=rt(t,l),[f,d]=ds(!1),[m,g]=ds("");return Ai(()=>{let v=l.current;if(v){var h;g(((h=v.textContent)!==null&&h!==void 0?h:"").trim())}},[i.children]),ge(Ju.ItemSlot,{scope:r,disabled:n,textValue:o??m},ge(dA,Z({asChild:!0},u,{focusable:!n}),ge(at.div,Z({role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0},i,{ref:c,onPointerMove:ye(e.onPointerMove,Zu(v=>{n?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus())})),onPointerLeave:ye(e.onPointerLeave,Zu(v=>s.onItemLeave(v))),onFocus:ye(e.onFocus,()=>d(!0)),onBlur:ye(e.onBlur,()=>d(!1))}))))});var une=It((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return ge(_A,{scope:e.__scopeMenu,checked:r},ge(Ig,Z({role:"menuitemcheckbox","aria-checked":kd(r)?"mixed":r},o,{ref:t,"data-state":kg(r),onSelect:ye(o.onSelect,()=>n?.(kd(r)?!0:!r),{checkForDefaultPrevented:!1})})))}),lne="MenuRadioGroup",[cne,fne]=Oi(lne,{value:void 0,onValueChange:()=>{}}),pne=It((e,t)=>{let{value:r,onValueChange:n,...o}=e,i=it(n);return ge(cne,{scope:e.__scopeMenu,value:r,onValueChange:i},ge(HA,Z({},o,{ref:t})))}),dne="MenuRadioItem",mne=It((e,t)=>{let{value:r,...n}=e,o=fne(dne,e.__scopeMenu),i=r===o.value;return ge(_A,{scope:e.__scopeMenu,checked:i},ge(Ig,Z({role:"menuitemradio","aria-checked":i},n,{ref:t,"data-state":kg(i),onSelect:ye(n.onSelect,()=>{var s;return(s=o.onValueChange)===null||s===void 0?void 0:s.call(o,r)},{checkForDefaultPrevented:!1})})))}),jA="MenuItemIndicator",[_A,hne]=Oi(jA,{checked:!1}),gne=It((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,i=hne(jA,r);return ge(us,{present:n||kd(i.checked)||i.checked===!0},ge(at.span,Z({},o,{ref:t,"data-state":kg(i.checked)})))});var WA="MenuSub",[vne,UA]=Oi(WA),yne=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,i=Do(WA,t),s=Vd(t),[u,l]=ds(null),[c,f]=ds(null),d=it(o);return Ai(()=>(i.open===!1&&d(!1),()=>d(!1)),[i.open,d]),ge(ug,s,ge(NA,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:f},ge(vne,{scope:t,contentId:So(),triggerId:So(),trigger:u,onTriggerChange:l},r)))},Id="MenuSubTrigger",bne=It((e,t)=>{let r=Do(Id,e.__scopeMenu),n=Qu(Id,e.__scopeMenu),o=UA(Id,e.__scopeMenu),i=Bg(Id,e.__scopeMenu),s=Zt(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:l}=i,c={__scopeMenu:e.__scopeMenu},f=Pi(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return Ai(()=>f,[f]),Ai(()=>{let d=u.current;return()=>{window.clearTimeout(d),l(null)}},[u,l]),ge(VA,Z({asChild:!0},c),ge(GA,Z({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":KA(r.open)},e,{ref:gi(t,o.onTriggerChange),onClick:d=>{var m;(m=e.onClick)===null||m===void 0||m.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:ye(e.onPointerMove,Zu(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),f()},100))})),onPointerLeave:ye(e.onPointerLeave,Zu(d=>{var m;f();let g=(m=r.content)===null||m===void 0?void 0:m.getBoundingClientRect();if(g){var v;let h=(v=r.content)===null||v===void 0?void 0:v.dataset.side,y=h==="right",b=y?-5:5,x=g[y?"left":"right"],w=g[y?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+b,y:d.clientY},{x,y:g.top},{x:w,y:g.top},{x:w,y:g.bottom},{x,y:g.bottom}],side:h}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:ye(e.onKeyDown,d=>{let m=i.searchRef.current!=="";if(!(e.disabled||m&&d.key===" ")&&Xre[n.dir].includes(d.key)){var g;r.onOpenChange(!0),(g=r.content)===null||g===void 0||g.focus(),d.preventDefault()}})})))}),Cne="MenuSubContent",xne=It((e,t)=>{let r=zA(Or,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=Do(Or,e.__scopeMenu),s=Qu(Or,e.__scopeMenu),u=UA(Cne,e.__scopeMenu),l=Zt(null),c=rt(t,l);return ge(Ju.Provider,{scope:e.__scopeMenu},ge(us,{present:n||i.open},ge(Ju.Slot,{scope:e.__scopeMenu},ge(Mg,Z({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:f=>{var d;s.isUsingKeyboardRef.current&&((d=l.current)===null||d===void 0||d.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:ye(e.onFocusOutside,f=>{f.target!==u.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:ye(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:ye(e.onKeyDown,f=>{let d=f.currentTarget.contains(f.target),m=Yre[s.dir].includes(f.key);if(d&&m){var g;i.onOpenChange(!1),(g=u.trigger)===null||g===void 0||g.focus(),f.preventDefault()}})})))))});function KA(e){return e?"open":"closed"}function kd(e){return e==="indeterminate"}function kg(e){return kd(e)?"indeterminate":e?"checked":"unchecked"}function wne(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function Sne(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function Dne(e,t,r){let o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=r?e.indexOf(r):-1,s=Sne(e,Math.max(i,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 Ene(e,t){let{x:r,y:n}=e,o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){let u=t[i].x,l=t[i].y,c=t[s].x,f=t[s].y;l>n!=f>n&&r<(c-u)*(n-l)/(f-l)+u&&(o=!o)}return o}function Tne(e,t){if(!t)return!1;let r={x:e.clientX,y:e.clientY};return Ene(r,t)}function Zu(e){return t=>t.pointerType==="mouse"?e(t):void 0}var qA=ene,XA=VA,YA=rne,JA=one,ZA=HA,QA=sne,eO=Ig,tO=une,rO=pne,nO=mne,oO=gne;var iO=yne,aO=bne,sO=xne;var lO="DropdownMenu",[Ane,Gst]=Jr(lO,[Rg]),Qt=Rg(),[One,cO]=Ane(lO),fO=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:i,onOpenChange:s,modal:u=!0}=e,l=Qt(t),c=uO(null),[f=!1,d]=Lu({prop:o,defaultProp:i,onChange:s});return Dt(One,{scope:t,triggerId:So(),triggerRef:c,contentId:So(),open:f,onOpenChange:d,onOpenToggle:Pne(()=>d(m=>!m),[d]),modal:u},Dt(qA,Z({},l,{open:f,onOpenChange:d,dir:n,modal:u}),r))},Fne="DropdownMenuTrigger",pO=Fr((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,i=cO(Fne,r),s=Qt(r);return Dt(XA,Z({asChild:!0},s),Dt(at.button,Z({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n},o,{ref:gi(t,i.triggerRef),onPointerDown:ye(e.onPointerDown,u=>{!n&&u.button===0&&u.ctrlKey===!1&&(i.onOpenToggle(),i.open||u.preventDefault())}),onKeyDown:ye(e.onKeyDown,u=>{n||(["Enter"," "].includes(u.key)&&i.onOpenToggle(),u.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})))});var Ng=e=>{let{__scopeDropdownMenu:t,...r}=e,n=Qt(t);return Dt(YA,Z({},n,r))},$ne="DropdownMenuContent",dO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=cO($ne,r),i=Qt(r),s=uO(!1);return Dt(JA,Z({id:o.contentId,"aria-labelledby":o.triggerId},i,n,{ref:t,onCloseAutoFocus:ye(e.onCloseAutoFocus,u=>{var l;s.current||(l=o.triggerRef.current)===null||l===void 0||l.focus(),s.current=!1,u.preventDefault()}),onInteractOutside:ye(e.onInteractOutside,u=>{let l=u.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,f=l.button===2||c;(!o.modal||f)&&(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)"}}))});var mO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(ZA,Z({},o,n,{ref:t}))});var hO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(QA,Z({},o,n,{ref:t}))});var Vg=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(eO,Z({},o,n,{ref:t}))});var gO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(tO,Z({},o,n,{ref:t}))});var vO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(rO,Z({},o,n,{ref:t}))});var yO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(nO,Z({},o,n,{ref:t}))});var Lg=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(oO,Z({},o,n,{ref:t}))});var bO=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:i}=e,s=Qt(t),[u=!1,l]=Lu({prop:n,defaultProp:i,onChange:o});return Dt(iO,Z({},s,{open:u,onOpenChange:l}),r)};var CO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(aO,Z({},o,n,{ref:t}))});var xO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(sO,Z({},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)"}}))});a();import ms from"styled-components";import{jsx as Ke,jsxs as $r}from"react/jsx-runtime";var Rne="0.08",Ld=ms.div`
|
|
2130
|
+
`)},Wre=0,ps=[];function RA(e){var t=ze.useRef([]),r=ze.useRef([0,0]),n=ze.useRef(),o=ze.useState(Wre++)[0],i=ze.useState(function(){return Xu()})[0],s=ze.useRef(e);ze.useEffect(function(){s.current=e},[e]),ze.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=gA([e.lockRef.current],(e.shards||[]).map(FA),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=ze.useCallback(function(h,y){if("touches"in h&&h.touches.length===2)return!s.current.allowPinchZoom;var b=Bd(h),x=r.current,w="deltaX"in h?h.deltaX:x[0]-b[0],S="deltaY"in h?h.deltaY:x[1]-b[1],E,D=h.target,T=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in h&&T==="h"&&D.type==="range")return!1;var O=Ag(T,D);if(!O)return!0;if(O?E=T:(E=T==="v"?"h":"v",O=Ag(T,D)),!O)return!1;if(!n.current&&"changedTouches"in h&&(w||S)&&(n.current=E),!E)return!0;var F=n.current||E;return AA(F,y,h,F==="h"?w:S,!0)},[]),l=ze.useCallback(function(h){var y=h;if(!(!ps.length||ps[ps.length-1]!==i)){var b="deltaY"in y?OA(y):Bd(y),x=t.current.filter(function(E){return E.name===y.type&&E.target===y.target&&jre(E.delta,b)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}if(!x){var w=(s.current.shards||[]).map(FA).filter(Boolean).filter(function(E){return E.contains(y.target)}),S=w.length>0?u(y,w[0]):!s.current.noIsolation;S&&y.cancelable&&y.preventDefault()}}},[]),c=ze.useCallback(function(h,y,b,x){var w={name:h,delta:y,target:b,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),f=ze.useCallback(function(h){r.current=Bd(h),n.current=void 0},[]),d=ze.useCallback(function(h){c(h.type,OA(h),h.target,u(h,e.lockRef.current))},[]),m=ze.useCallback(function(h){c(h.type,Bd(h),h.target,u(h,e.lockRef.current))},[]);ze.useEffect(function(){return ps.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Ti),document.addEventListener("touchmove",l,Ti),document.addEventListener("touchstart",f,Ti),function(){ps=ps.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,Ti),document.removeEventListener("touchmove",l,Ti),document.removeEventListener("touchstart",f,Ti)}},[]);var g=e.removeScrollBar,v=e.inert;return ze.createElement(ze.Fragment,null,v?ze.createElement(i,{styles:_re(o)}):null,g?ze.createElement(Tg,{gapMode:"margin"}):null)}var $A=Cg($d,RA);var BA=Md.forwardRef(function(e,t){return Md.createElement(qu,Jt({},e,{ref:t,sideCar:$A}))});BA.classNames=qu.classNames;var Og=BA;var Fg=["Enter"," "],Kre=["ArrowDown","PageUp","Home"],IA=["ArrowUp","PageDown","End"],qre=[...Kre,...IA],Xre={ltr:[...Fg,"ArrowRight"],rtl:[...Fg,"ArrowLeft"]},Yre={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Nd="Menu",[Ju,Jre,Zre]=pd(Nd),[Oi,$g]=Jr(Nd,[Zre,sg,mg]),Vd=sg(),kA=mg(),[NA,Do]=Oi(Nd),[Qre,Qu]=Oi(Nd),ene=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:i,modal:s=!0}=e,u=Vd(t),[l,c]=ds(null),f=Zt(!1),d=it(i),m=dd(o);return Ai(()=>{let g=()=>{f.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>f.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})}},[]),ge(ug,u,ge(NA,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:c},ge(Qre,{scope:t,onClose:Pi(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:m,modal:s},n)))};var VA=It((e,t)=>{let{__scopeMenu:r,...n}=e,o=Vd(r);return ge(oA,Z({},o,n,{ref:t}))}),LA="MenuPortal",[tne,zA]=Oi(LA,{forceMount:void 0}),rne=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,i=Do(LA,t);return ge(tne,{scope:t,forceMount:r},ge(us,{present:r||i.open},ge(aA,{asChild:!0,container:o},n)))},Or="MenuContent",[nne,Bg]=Oi(Or),one=It((e,t)=>{let r=zA(Or,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=Do(Or,e.__scopeMenu),s=Qu(Or,e.__scopeMenu);return ge(Ju.Provider,{scope:e.__scopeMenu},ge(us,{present:n||i.open},ge(Ju.Slot,{scope:e.__scopeMenu},s.modal?ge(ine,Z({},o,{ref:t})):ge(ane,Z({},o,{ref:t})))))}),ine=It((e,t)=>{let r=Do(Or,e.__scopeMenu),n=Zt(null),o=rt(t,n);return Ai(()=>{let i=n.current;if(i)return hA(i)},[]),ge(Mg,Z({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:ye(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)}))}),ane=It((e,t)=>{let r=Do(Or,e.__scopeMenu);return ge(Mg,Z({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)}))}),Mg=It((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:m,onDismiss:g,disableOutsideScroll:v,...h}=e,y=Do(Or,r),b=Qu(Or,r),x=Vd(r),w=kA(r),S=Jre(r),[E,D]=ds(null),T=Zt(null),O=rt(t,T,y.onContentChange),F=Zt(0),I=Zt(""),G=Zt(0),k=Zt(null),H=Zt("right"),N=Zt(0),M=v?Og:Ure,Q=v?{as:xo,allowPinchZoom:!0}:void 0,re=j=>{var ne,ce;let pe=I.current+j,Be=S().filter(ee=>!ee.disabled),A=document.activeElement,_=(ne=Be.find(ee=>ee.ref.current===A))===null||ne===void 0?void 0:ne.textValue,z=Be.map(ee=>ee.textValue),U=Dne(z,pe,_),ue=(ce=Be.find(ee=>ee.textValue===U))===null||ce===void 0?void 0:ce.ref.current;(function ee(he){I.current=he,window.clearTimeout(F.current),he!==""&&(F.current=window.setTimeout(()=>ee(""),1e3))})(pe),ue&&setTimeout(()=>ue.focus())};Ai(()=>()=>window.clearTimeout(F.current),[]),sP();let se=Pi(j=>{var ne,ce;return H.current===((ne=k.current)===null||ne===void 0?void 0:ne.side)&&Tne(j,(ce=k.current)===null||ce===void 0?void 0:ce.area)},[]);return ge(nne,{scope:r,searchRef:I,onItemEnter:Pi(j=>{se(j)&&j.preventDefault()},[se]),onItemLeave:Pi(j=>{var ne;se(j)||((ne=T.current)===null||ne===void 0||ne.focus(),D(null))},[se]),onTriggerLeave:Pi(j=>{se(j)&&j.preventDefault()},[se]),pointerGraceTimerRef:G,onPointerGraceIntentChange:Pi(j=>{k.current=j},[])},ge(M,Q,ge(mP,{asChild:!0,trapped:o,onMountAutoFocus:ye(i,j=>{var ne;j.preventDefault(),(ne=T.current)===null||ne===void 0||ne.focus()}),onUnmountAutoFocus:s},ge(oP,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:m,onDismiss:g},ge(pA,Z({asChild:!0},w,{dir:b.dir,orientation:"vertical",loop:n,currentTabStopId:E,onCurrentTabStopIdChange:D,onEntryFocus:ye(l,j=>{b.isUsingKeyboardRef.current||j.preventDefault()})}),ge(iA,Z({role:"menu","aria-orientation":"vertical","data-state":KA(y.open),"data-radix-menu-content":"",dir:b.dir},x,h,{ref:O,style:{outline:"none",...h.style},onKeyDown:ye(h.onKeyDown,j=>{let ce=j.target.closest("[data-radix-menu-content]")===j.currentTarget,pe=j.ctrlKey||j.altKey||j.metaKey,Be=j.key.length===1;ce&&(j.key==="Tab"&&j.preventDefault(),!pe&&Be&&re(j.key));let A=T.current;if(j.target!==A||!qre.includes(j.key))return;j.preventDefault();let z=S().filter(U=>!U.disabled).map(U=>U.ref.current);IA.includes(j.key)&&z.reverse(),wne(z)}),onBlur:ye(e.onBlur,j=>{j.currentTarget.contains(j.target)||(window.clearTimeout(F.current),I.current="")}),onPointerMove:ye(e.onPointerMove,Zu(j=>{let ne=j.target,ce=N.current!==j.clientX;if(j.currentTarget.contains(ne)&&ce){let pe=j.clientX>N.current?"right":"left";H.current=pe,N.current=j.clientX}}))})))))))});var HA=It((e,t)=>{let{__scopeMenu:r,...n}=e;return ge(at.div,Z({role:"group"},n,{ref:t}))});var sne=It((e,t)=>{let{__scopeMenu:r,...n}=e;return ge(at.div,Z({},n,{ref:t}))}),Rg="MenuItem",MA="menu.itemSelect",Ig=It((e,t)=>{let{disabled:r=!1,onSelect:n,...o}=e,i=Zt(null),s=Qu(Rg,e.__scopeMenu),u=Bg(Rg,e.__scopeMenu),l=rt(t,i),c=Zt(!1),f=()=>{let d=i.current;if(!r&&d){let m=new CustomEvent(MA,{bubbles:!0,cancelable:!0});d.addEventListener(MA,g=>n?.(g),{once:!0}),fd(d,m),m.defaultPrevented?c.current=!1:s.onClose()}};return ge(GA,Z({},o,{ref:l,disabled:r,onClick:ye(e.onClick,f),onPointerDown:d=>{var m;(m=e.onPointerDown)===null||m===void 0||m.call(e,d),c.current=!0},onPointerUp:ye(e.onPointerUp,d=>{var m;c.current||(m=d.currentTarget)===null||m===void 0||m.click()}),onKeyDown:ye(e.onKeyDown,d=>{let m=u.searchRef.current!=="";r||m&&d.key===" "||Fg.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})}))}),GA=It((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:o,...i}=e,s=Bg(Rg,r),u=kA(r),l=Zt(null),c=rt(t,l),[f,d]=ds(!1),[m,g]=ds("");return Ai(()=>{let v=l.current;if(v){var h;g(((h=v.textContent)!==null&&h!==void 0?h:"").trim())}},[i.children]),ge(Ju.ItemSlot,{scope:r,disabled:n,textValue:o??m},ge(dA,Z({asChild:!0},u,{focusable:!n}),ge(at.div,Z({role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0},i,{ref:c,onPointerMove:ye(e.onPointerMove,Zu(v=>{n?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus())})),onPointerLeave:ye(e.onPointerLeave,Zu(v=>s.onItemLeave(v))),onFocus:ye(e.onFocus,()=>d(!0)),onBlur:ye(e.onBlur,()=>d(!1))}))))});var une=It((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return ge(_A,{scope:e.__scopeMenu,checked:r},ge(Ig,Z({role:"menuitemcheckbox","aria-checked":kd(r)?"mixed":r},o,{ref:t,"data-state":kg(r),onSelect:ye(o.onSelect,()=>n?.(kd(r)?!0:!r),{checkForDefaultPrevented:!1})})))}),lne="MenuRadioGroup",[cne,fne]=Oi(lne,{value:void 0,onValueChange:()=>{}}),pne=It((e,t)=>{let{value:r,onValueChange:n,...o}=e,i=it(n);return ge(cne,{scope:e.__scopeMenu,value:r,onValueChange:i},ge(HA,Z({},o,{ref:t})))}),dne="MenuRadioItem",mne=It((e,t)=>{let{value:r,...n}=e,o=fne(dne,e.__scopeMenu),i=r===o.value;return ge(_A,{scope:e.__scopeMenu,checked:i},ge(Ig,Z({role:"menuitemradio","aria-checked":i},n,{ref:t,"data-state":kg(i),onSelect:ye(n.onSelect,()=>{var s;return(s=o.onValueChange)===null||s===void 0?void 0:s.call(o,r)},{checkForDefaultPrevented:!1})})))}),jA="MenuItemIndicator",[_A,hne]=Oi(jA,{checked:!1}),gne=It((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,i=hne(jA,r);return ge(us,{present:n||kd(i.checked)||i.checked===!0},ge(at.span,Z({},o,{ref:t,"data-state":kg(i.checked)})))});var WA="MenuSub",[vne,UA]=Oi(WA),yne=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,i=Do(WA,t),s=Vd(t),[u,l]=ds(null),[c,f]=ds(null),d=it(o);return Ai(()=>(i.open===!1&&d(!1),()=>d(!1)),[i.open,d]),ge(ug,s,ge(NA,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:f},ge(vne,{scope:t,contentId:So(),triggerId:So(),trigger:u,onTriggerChange:l},r)))},Id="MenuSubTrigger",bne=It((e,t)=>{let r=Do(Id,e.__scopeMenu),n=Qu(Id,e.__scopeMenu),o=UA(Id,e.__scopeMenu),i=Bg(Id,e.__scopeMenu),s=Zt(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:l}=i,c={__scopeMenu:e.__scopeMenu},f=Pi(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return Ai(()=>f,[f]),Ai(()=>{let d=u.current;return()=>{window.clearTimeout(d),l(null)}},[u,l]),ge(VA,Z({asChild:!0},c),ge(GA,Z({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":KA(r.open)},e,{ref:gi(t,o.onTriggerChange),onClick:d=>{var m;(m=e.onClick)===null||m===void 0||m.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:ye(e.onPointerMove,Zu(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),f()},100))})),onPointerLeave:ye(e.onPointerLeave,Zu(d=>{var m;f();let g=(m=r.content)===null||m===void 0?void 0:m.getBoundingClientRect();if(g){var v;let h=(v=r.content)===null||v===void 0?void 0:v.dataset.side,y=h==="right",b=y?-5:5,x=g[y?"left":"right"],w=g[y?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+b,y:d.clientY},{x,y:g.top},{x:w,y:g.top},{x:w,y:g.bottom},{x,y:g.bottom}],side:h}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:ye(e.onKeyDown,d=>{let m=i.searchRef.current!=="";if(!(e.disabled||m&&d.key===" ")&&Xre[n.dir].includes(d.key)){var g;r.onOpenChange(!0),(g=r.content)===null||g===void 0||g.focus(),d.preventDefault()}})})))}),Cne="MenuSubContent",xne=It((e,t)=>{let r=zA(Or,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=Do(Or,e.__scopeMenu),s=Qu(Or,e.__scopeMenu),u=UA(Cne,e.__scopeMenu),l=Zt(null),c=rt(t,l);return ge(Ju.Provider,{scope:e.__scopeMenu},ge(us,{present:n||i.open},ge(Ju.Slot,{scope:e.__scopeMenu},ge(Mg,Z({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:f=>{var d;s.isUsingKeyboardRef.current&&((d=l.current)===null||d===void 0||d.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:ye(e.onFocusOutside,f=>{f.target!==u.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:ye(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:ye(e.onKeyDown,f=>{let d=f.currentTarget.contains(f.target),m=Yre[s.dir].includes(f.key);if(d&&m){var g;i.onOpenChange(!1),(g=u.trigger)===null||g===void 0||g.focus(),f.preventDefault()}})})))))});function KA(e){return e?"open":"closed"}function kd(e){return e==="indeterminate"}function kg(e){return kd(e)?"indeterminate":e?"checked":"unchecked"}function wne(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function Sne(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function Dne(e,t,r){let o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=r?e.indexOf(r):-1,s=Sne(e,Math.max(i,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 Ene(e,t){let{x:r,y:n}=e,o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){let u=t[i].x,l=t[i].y,c=t[s].x,f=t[s].y;l>n!=f>n&&r<(c-u)*(n-l)/(f-l)+u&&(o=!o)}return o}function Tne(e,t){if(!t)return!1;let r={x:e.clientX,y:e.clientY};return Ene(r,t)}function Zu(e){return t=>t.pointerType==="mouse"?e(t):void 0}var qA=ene,XA=VA,YA=rne,JA=one,ZA=HA,QA=sne,eO=Ig,tO=une,rO=pne,nO=mne,oO=gne;var iO=yne,aO=bne,sO=xne;var lO="DropdownMenu",[Ane,Gst]=Jr(lO,[$g]),Qt=$g(),[One,cO]=Ane(lO),fO=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:i,onOpenChange:s,modal:u=!0}=e,l=Qt(t),c=uO(null),[f=!1,d]=Lu({prop:o,defaultProp:i,onChange:s});return Dt(One,{scope:t,triggerId:So(),triggerRef:c,contentId:So(),open:f,onOpenChange:d,onOpenToggle:Pne(()=>d(m=>!m),[d]),modal:u},Dt(qA,Z({},l,{open:f,onOpenChange:d,dir:n,modal:u}),r))},Fne="DropdownMenuTrigger",pO=Fr((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,i=cO(Fne,r),s=Qt(r);return Dt(XA,Z({asChild:!0},s),Dt(at.button,Z({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n},o,{ref:gi(t,i.triggerRef),onPointerDown:ye(e.onPointerDown,u=>{!n&&u.button===0&&u.ctrlKey===!1&&(i.onOpenToggle(),i.open||u.preventDefault())}),onKeyDown:ye(e.onKeyDown,u=>{n||(["Enter"," "].includes(u.key)&&i.onOpenToggle(),u.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})))});var Ng=e=>{let{__scopeDropdownMenu:t,...r}=e,n=Qt(t);return Dt(YA,Z({},n,r))},Rne="DropdownMenuContent",dO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=cO(Rne,r),i=Qt(r),s=uO(!1);return Dt(JA,Z({id:o.contentId,"aria-labelledby":o.triggerId},i,n,{ref:t,onCloseAutoFocus:ye(e.onCloseAutoFocus,u=>{var l;s.current||(l=o.triggerRef.current)===null||l===void 0||l.focus(),s.current=!1,u.preventDefault()}),onInteractOutside:ye(e.onInteractOutside,u=>{let l=u.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,f=l.button===2||c;(!o.modal||f)&&(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)"}}))});var mO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(ZA,Z({},o,n,{ref:t}))});var hO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(QA,Z({},o,n,{ref:t}))});var Vg=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(eO,Z({},o,n,{ref:t}))});var gO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(tO,Z({},o,n,{ref:t}))});var vO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(rO,Z({},o,n,{ref:t}))});var yO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(nO,Z({},o,n,{ref:t}))});var Lg=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(oO,Z({},o,n,{ref:t}))});var bO=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:i}=e,s=Qt(t),[u=!1,l]=Lu({prop:n,defaultProp:i,onChange:o});return Dt(iO,Z({},s,{open:u,onOpenChange:l}),r)};var CO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(aO,Z({},o,n,{ref:t}))});var xO=Fr((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=Qt(r);return Dt(sO,Z({},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)"}}))});a();import ms from"styled-components";import{jsx as Ke,jsxs as Rr}from"react/jsx-runtime";var $ne="0.08",Ld=ms.div`
|
|
2131
2131
|
${Gn};
|
|
2132
2132
|
border-radius: 4px;
|
|
2133
2133
|
${vr};
|
|
@@ -2146,7 +2146,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2146
2146
|
|
|
2147
2147
|
&:focus,
|
|
2148
2148
|
[data-state='highlighted'] {
|
|
2149
|
-
background-color: ${({theme:e})=>ct(
|
|
2149
|
+
background-color: ${({theme:e})=>ct($ne,e.color.grey200)};
|
|
2150
2150
|
}
|
|
2151
2151
|
|
|
2152
2152
|
&:hover:not([aria-disabled]) {
|
|
@@ -2175,14 +2175,14 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2175
2175
|
grid-row: span 2;
|
|
2176
2176
|
text-align: center;
|
|
2177
2177
|
width: 0;
|
|
2178
|
-
`,eut=({children:e,label:t,description:r,badge:n,icon:o,renderAs:i,href:s,...u})=>{let l=i;return lt(i)&&(l=J(s)?"a":"div"),Ke(Vg,{style:{outline:"none"},...u,asChild:!0,children:Ke(Ld,{as:l,href:s,children:J(e)?e
|
|
2178
|
+
`,eut=({children:e,label:t,description:r,badge:n,icon:o,renderAs:i,href:s,...u})=>{let l=i;return lt(i)&&(l=J(s)?"a":"div"),Ke(Vg,{style:{outline:"none"},...u,asChild:!0,children:Ke(Ld,{as:l,href:s,children:J(e)?e:Rr(zd,{children:[J(o)?Ke(Gd,{children:o}):Ke(jd,{}),Rr(Hd,{children:[t," ",n]}),J(r)?Ke(sr,{variant:"caption",children:r}):null]})})})},tut=({children:e,label:t,description:r,badge:n,icon:o,indicator:i=Ke(Ee,{size:"sm",type:"checkmark"}),...s})=>Ke(gO,{...s,asChild:!0,children:Rr(Ld,{children:[J(e)?e:Rr(zd,{children:[J(o)?Ke(Gd,{children:o}):Ke(jd,{}),Rr(Hd,{children:[t," ",n]}),J(r)?Ke(sr,{variant:"caption",children:r}):null]}),Ke(Lg,{children:i})]})}),rut=({children:e,label:t,badge:r,description:n,icon:o,indicator:i=Ke(Ee,{size:"sm",type:"checkmark"}),...s})=>Ke(yO,{...s,asChild:!0,children:Rr(Ld,{children:[J(e)?e:Rr(zd,{children:[J(o)?Ke(Gd,{children:o}):Ke(jd,{}),Rr(Hd,{children:[t," ",r]})," ",J(n)?Ke(sr,{variant:"caption",children:n}):null]}),Ke(Lg,{children:i})]})}),Bne=ms(CO)`
|
|
2179
2179
|
outline: none;
|
|
2180
2180
|
|
|
2181
2181
|
&[data-state='open'],
|
|
2182
2182
|
&[data-highlighted] {
|
|
2183
2183
|
background-color: ${({theme:e})=>e.color.grey200};
|
|
2184
2184
|
}
|
|
2185
|
-
`,zg=({children:e,label:t,badge:r,description:n,icon:o,onClick:i})=>{let{isSmAndUp:s}=Go();return Ke(s?Bne:Vg,{onClick:l=>{J(i)&&i(l)},children
|
|
2185
|
+
`,zg=({children:e,label:t,badge:r,description:n,icon:o,onClick:i})=>{let{isSmAndUp:s}=Go();return Ke(s?Bne:Vg,{onClick:l=>{J(i)&&i(l)},children:Rr(Ld,{children:[J(e)?e:Rr(zd,{children:[J(o)?Ke(Gd,{children:o}):Ke(jd,{}),Rr(Hd,{children:[t," ",r]}),J(n)?Ke(sr,{variant:"caption",children:n}):null]}),Ke(Ee,{size:"md",type:"caret-right"})]})})};import{jsx as $r,jsxs as Hg}from"react/jsx-runtime";var _d="8px",kne=wO`
|
|
2186
2186
|
from {
|
|
2187
2187
|
opacity: 0;
|
|
2188
2188
|
transform: scale(.97) translateY(-8px);
|
|
@@ -2218,7 +2218,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2218
2218
|
${({theme:e})=>e.easing.exit.productive};
|
|
2219
2219
|
}
|
|
2220
2220
|
|
|
2221
|
-
${
|
|
2221
|
+
${$e.smAndUp} {
|
|
2222
2222
|
bottom: 0;
|
|
2223
2223
|
padding: ${_d};
|
|
2224
2224
|
right: 0;
|
|
@@ -2234,12 +2234,12 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2234
2234
|
`,Lne=Gg(xO)`
|
|
2235
2235
|
${SO}
|
|
2236
2236
|
|
|
2237
|
-
${
|
|
2237
|
+
${$e.smAndDown} {
|
|
2238
2238
|
transform: translateX(-100%) !important;
|
|
2239
2239
|
}
|
|
2240
2240
|
`,zne=Gg.div`
|
|
2241
2241
|
margin-left: ${({theme:e})=>e.spacing.space03};
|
|
2242
|
-
`,mut=({children:e,...t})
|
|
2242
|
+
`,mut=({children:e,...t})=>$r(hO,{asChild:!0,children:$r(sr,{variant:"subtitle1",...t,children:e})}),hut=vO,gut=({label:e,icon:t,description:r,children:n})=>{let{isSmAndUp:o}=Go(),[i,s]=Mne(!1);return o?Hg(bO,{children:[$r(zg,{description:r,icon:t,label:e}),$r(Ng,{children:$r(Lne,{children:n})})]}):Hg(mO,{children:[$r(zg,{description:r,icon:t,label:e,onClick:u=>{u.preventDefault(),s(l=>!l)}}),$r(zne,{children:i?n:null})]})},Hne=({align:e="start",children:t,trigger:r,label:n,isOpen:o,triggerProps:i={},onOpenChange:s,...u})=>Hg(fO,{onOpenChange:s,open:o,children:[$r(pO,{asChild:!0,children:J(r)?r:$r(Ze,{"aria-expanded":o,forceState:o?"active":void 0,iconName:"caret-down",iconPosition:"end",...i,children:n})}),$r(Ng,{children:$r(Vne,{...u,align:e,sideOffset:6,children:t})})]});Hne.displayName="Menu_VHS";a();a();import{useCallback as MO,cloneElement as Zne,useState as IO,useLayoutEffect as Qne,useRef as eoe}from"react";import kO,{css as NO}from"styled-components";a();a();import{forwardRef as Gne,useRef as jne,useEffect as DO}from"react";import PO,{css as AO}from"styled-components";import{Fragment as qne,jsx as jg,jsxs as TO}from"react/jsx-runtime";var OO=["fullWidth","maxItem"],hs="8px",FO="0.08",_ne=e=>OO.includes(e)?null:e,Wne=PO.div`
|
|
2243
2243
|
background: white;
|
|
2244
2244
|
border-radius: 4px 4px 0 0;
|
|
2245
2245
|
box-shadow: ${({theme:e})=>e.shadow.elevation2};
|
|
@@ -2248,7 +2248,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2248
2248
|
width: ${({menuWidth:e})=>_ne(e)};
|
|
2249
2249
|
z-index: ${({theme:e})=>e.zIndex.MenuComponent};
|
|
2250
2250
|
|
|
2251
|
-
${
|
|
2251
|
+
${$e.smAndUp} {
|
|
2252
2252
|
border-radius: 4px;
|
|
2253
2253
|
padding: ${hs};
|
|
2254
2254
|
}
|
|
@@ -2312,7 +2312,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2312
2312
|
width: 100%;
|
|
2313
2313
|
${vr};
|
|
2314
2314
|
|
|
2315
|
-
${
|
|
2315
|
+
${$e.smAndUp} {
|
|
2316
2316
|
font-size: 16px;
|
|
2317
2317
|
height: 40px;
|
|
2318
2318
|
}
|
|
@@ -2342,20 +2342,20 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2342
2342
|
/* Precedence boost: https://styled-components.com/docs/basics#pseudoelements-pseudoselectors-and-nesting */
|
|
2343
2343
|
&& {
|
|
2344
2344
|
${({variant:e})=>e==="dangerous"?Une:null}
|
|
2345
|
-
${({disabled:e})
|
|
2345
|
+
${({disabled:e})=>$(e)&&e?Kne:null}
|
|
2346
2346
|
}
|
|
2347
|
-
`,Wd=Gne(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:i,onOpen:s,onClose:u,...l},c)=>{let f=jne(),d
|
|
2347
|
+
`,Wd=Gne(({items:e,menuHeader:t,width:r="fullWidth",onClick:n,onClickOutside:o,onPressEsc:i,onOpen:s,onClose:u,...l},c)=>{let f=jne(),d=$(o)?o:()=>{};Ks(f,d);let m=Ws([f,c]);if(DO(()=>(s&&s(),()=>{u&&u()}),[s,u]),DO(()=>{let h=y=>{y.key==="Escape"&&i&&i(y)};return document.addEventListener("keyup",h),()=>{document.removeEventListener("keyup",h)}},[i]),e?.length==null)return null;let g=e.map(h=>{let{disabled:y,variant:b}=h.props,x=$(y)?y:!1,w=be(b)?b:void 0,S=`wrapper-${h.key}`;return jg(EO,{disabled:x,variant:w,children:h},S)});return TO(Wne,{ref:m,menuWidth:r,onClick:n,...l,children:[$(t)?TO(qne,{children:[t,jg(EO,{children:jg(lp,{})})]}):null,g]})});Wd.displayName="Menu_VHS";a();import $O from"styled-components";import{jsx as RO,jsxs as Jne}from"react/jsx-runtime";var Xne=$O.div`
|
|
2348
2348
|
align-items: center;
|
|
2349
2349
|
display: flex;
|
|
2350
2350
|
gap: ${({theme:e})=>e.spacing.space02};
|
|
2351
2351
|
justify-content: space-between;
|
|
2352
2352
|
padding: ${({theme:e})=>e.spacing.space02};
|
|
2353
|
-
`,Yne
|
|
2353
|
+
`,Yne=$O.span`
|
|
2354
2354
|
color: ${({theme:e})=>e.color.grey900};
|
|
2355
2355
|
font-size: 20px;
|
|
2356
2356
|
font-weight: 700;
|
|
2357
2357
|
line-height: 24px;
|
|
2358
|
-
`,BO=({label:e,onCloseClick:t,overrideMenuHeader:r=void 0})=>Jne(Xne,{children:[
|
|
2358
|
+
`,BO=({label:e,onCloseClick:t,overrideMenuHeader:r=void 0})=>Jne(Xne,{children:[$(r)?r:RO(Yne,{children:e||"Menu"}),RO(La,{onClick:t})]});import{jsx as el,jsxs as ioe}from"react/jsx-runtime";var VO=8,toe=NO`
|
|
2359
2359
|
bottom: 0;
|
|
2360
2360
|
margin-bottom: ${({dropdownButtonHeight:e})=>e+VO}px;
|
|
2361
2361
|
`,roe=NO`
|
|
@@ -2370,7 +2370,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2370
2370
|
position: fixed;
|
|
2371
2371
|
width: 100%;
|
|
2372
2372
|
|
|
2373
|
-
${
|
|
2373
|
+
${$e.smAndUp} {
|
|
2374
2374
|
animation: unset;
|
|
2375
2375
|
bottom: initial;
|
|
2376
2376
|
left: initial;
|
|
@@ -2387,7 +2387,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2387
2387
|
|
|
2388
2388
|
/* prevent dropdown button from wrapping underneath main button */
|
|
2389
2389
|
position: relative;
|
|
2390
|
-
`,LO=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:i,onMenuClosed:s,disabled:u=!1,iconButtonComponent:l,overrideMenuHeader:c,size:f="lg",...d})=>{let[m,g,,v]=lm(!1),[h,y]=IO(!1),[b,x]=IO(0),w=eoe(null),{isXsAndDown:S}=Go();Qne(()=>{w.current&&x(w.current.offsetHeight)},[w]);let E=F=>{!m
|
|
2390
|
+
`,LO=({label:e,menuAlignment:t="right",menuItems:r,menuPosition:n="below",menuWidth:o="maxItem",onMenuClick:i,onMenuClosed:s,disabled:u=!1,iconButtonComponent:l,overrideMenuHeader:c,size:f="lg",...d})=>{let[m,g,,v]=lm(!1),[h,y]=IO(!1),[b,x]=IO(0),w=eoe(null),{isXsAndDown:S}=Go();Qne(()=>{w.current&&x(w.current.offsetHeight)},[w]);let E=F=>{!m||$(F)&&dn(w.current?.contains(F.target))||(v(),Fo(s)&&s(),w.current?.focus())},D=MO(()=>{y(!0),g()},[g]),T=MO(F=>{i&&i(F),D()},[i,D]),O=()=>el(Ze,{ref:w,"aria-expanded":m,disabled:u,forceState:m?"active":void 0,iconName:"caret-down",iconPosition:"end",label:e,onClick:T,size:f,...d});return $(l)&&(O=()=>Zne(l,{label:e,onClick:T,ref:w,disabled:u,"aria-expanded":m,...d})),ioe(ooe,{children:[el(O,{}),el(noe,{dropdownButtonHeight:b,isMenuVisible:m,items:h?r:[],menuAlignment:t,menuHeader:S?el(BO,{label:e,onCloseClick:E,overrideMenuHeader:c}):null,menuPosition:n,onClick:E,onClickOutside:E,onPressEsc:E,width:o}),S&&m?el(_r,{}):null]})};LO.displayName="MenuButton_VHS";a();import{forwardRef as loe,useEffect as _O,useRef as WO}from"react";import UO from"styled-components";import{createPortal as coe}from"react-dom";a();import aoe from"styled-components";var zO=aoe.div`
|
|
2391
2391
|
background-color: white;
|
|
2392
2392
|
box-sizing: border-box;
|
|
2393
2393
|
display: flex;
|
|
@@ -2398,7 +2398,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2398
2398
|
position: relative;
|
|
2399
2399
|
width: 100vw;
|
|
2400
2400
|
|
|
2401
|
-
${
|
|
2401
|
+
${$e.smAndUp} {
|
|
2402
2402
|
border-radius: 16px;
|
|
2403
2403
|
height: ${({fullHeight:e})=>e?"min-content":"auto"};
|
|
2404
2404
|
margin: ${({theme:e})=>e.spacing.space05};
|
|
@@ -2415,7 +2415,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2415
2415
|
display: flex;
|
|
2416
2416
|
flex-direction: column;
|
|
2417
2417
|
width: 100%;
|
|
2418
|
-
`,doe=e
|
|
2418
|
+
`,doe=e=>$(e)&&c3(e,"current")&&$(e.current),moe=e=>{_O(()=>{let t=document.activeElement;return doe(e)&&e.current.focus(),()=>{t!==null&&setTimeout(()=>{t.focus()},0)}},[e])},KO=loe(({alignHorizontal:e="center",alignVertical:t="center",children:r,className:n,fullHeight:o=!1,initialFocusRef:i,onRequestClose:s,shouldCloseOnClickOutside:u=!0,width:l,...c},f)=>{moe(f);let d=WO(null),m=gm(!0,{focusSelector:i?.current});return Ks(d,()=>{s&&u&&s()}),jm(c.isOpen),zm("Escape",g=>{s&&s(),g.preventDefault()}),gs(GO,{value:s,children:gs(foe,{alignHorizontal:e,alignVertical:t,children:gs(zO,{ref:m,"aria-modal":"true",fullHeight:o,role:"dialog",tabIndex:-1,width:l,...c,children:gs(poe,{ref:d,children:r})})})})});KO.displayName="ModalContent_VHS";var Elt=e=>{let{id:t,...r}=e,n=document.createElement("div");n.classList.add("Modal"),J(e.className)&&n.classList.add(e.className),J(t)&&(n.id=t);let o=WO(n);return _O(()=>{let i=o.current;return document.body.appendChild(i),()=>i.remove()},[]),coe(gs(lu,{children:e.isOpen?gs(KO,{ref:o,...r}):null}),o.current)};a();import Ud from"styled-components";import{jsx as qO}from"react/jsx-runtime";var Blt=Ud.div`
|
|
2419
2419
|
align-items: center;
|
|
2420
2420
|
display: flex;
|
|
2421
2421
|
padding: ${({theme:e})=>e.spacing.space04} ${({theme:e})=>e.spacing.space04};
|
|
@@ -2458,7 +2458,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2458
2458
|
margin-right: ${({theme:e})=>e.spacing.space04};
|
|
2459
2459
|
text-align: right;
|
|
2460
2460
|
width: 5ch;
|
|
2461
|
-
`,ZO=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,labelColorOverride:n=void 0,meterBgColorOverride:o=void 0,...i})=>{let s=Math.round(t*100);return YO(boe,{"aria-label":"Progress","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":s,"data-testid":"progress-bar",role:"progressbar",...i,children:[e?YO(woe,{"data-testid":"progress-bar-label",labelColorOverride:n,children:[s,"%"]}):null,JO(Coe,{meterBgColorOverride:o,children:JO(xoe,{colorOverride:r,progress:t})})]})};ZO.displayName="ProgressBar_VHS";a();a();import{useEffect as DF,useState as al}from"react";import Br from"styled-components";a();a();import{useEffect as tl,useMemo as Kg,useState as Zd}from"react";import
|
|
2461
|
+
`,ZO=({hasLabel:e=!0,progress:t=0,colorOverride:r=void 0,labelColorOverride:n=void 0,meterBgColorOverride:o=void 0,...i})=>{let s=Math.round(t*100);return YO(boe,{"aria-label":"Progress","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":s,"data-testid":"progress-bar",role:"progressbar",...i,children:[e?YO(woe,{"data-testid":"progress-bar-label",labelColorOverride:n,children:[s,"%"]}):null,JO(Coe,{meterBgColorOverride:o,children:JO(xoe,{colorOverride:r,progress:t})})]})};ZO.displayName="ProgressBar_VHS";a();a();import{useEffect as DF,useState as al}from"react";import Br from"styled-components";a();a();import{useEffect as tl,useMemo as Kg,useState as Zd}from"react";import Roe from"styled-components";a();a();import Eo from"styled-components";import{jsx as an,jsxs as Wg}from"react/jsx-runtime";var qd=45,Soe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ug=7,QO=e=>e[0]instanceof Date||e[6]instanceof Date,Doe=e=>{let t={start:Ss(xr(e)),end:g1(xr(e))};return g3(t)},eF=()=>Array.from({length:Ug},()=>[]),Eoe=e=>{let t=[],r=$(e[0])?v3(e[0]):0,n=eF();for(let o=0;o<e.length;o++){let i=(o+r)%Ug;i===0&&QO(n)&&(t.push(n),n=eF()),n[i]=e[o]}return QO(n)&&t.push(n),t},Toe=Eo.div`
|
|
2462
2462
|
cursor: not-allowed;
|
|
2463
2463
|
padding-top: ${({theme:e})=>e.spacing.space04};
|
|
2464
2464
|
width: ${qd*Ug}px;
|
|
@@ -2510,7 +2510,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2510
2510
|
color: ${e=>e.theme.color.grey300};
|
|
2511
2511
|
cursor: not-allowed;
|
|
2512
2512
|
}
|
|
2513
|
-
`,Jd=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:i=!1,renderDay:s})=>{let u=Eoe(Doe(e)),l=Ss(xs(e,1)),c=g1(xs(e,-1)),f=D=>r?y3(D,r):!1,d=D=>i?b3(D):!1,m=D=>t?Mr(D,t):!1,g=D=>f(D)||d(D)||m(D),v=D=>D.toLocaleDateString("en-US",{day:"numeric"}),h=D=>s?s({day:D,isDisabled:g(D),formattedDay:v(D)}):an(Xd,{"data-day":v(D),disabled:g(D),children:an(Yd,{children:v(D)})},D),y={start:t??h1(new Date,-5),end:i?new Date:h1(new Date,5)},b=e.getFullYear(),x=()=>{let D=new Intl.DateTimeFormat("en",{month:"long"});return v1(y).filter(T=>T.getFullYear()===e.getFullYear()).map(T=>({value:T.getMonth(),label:D.format(T)}))},w=()=>Object.values(v1(y).map(D=>({value:D.getFullYear(),label:D.getFullYear()})).reduce((D,T)
|
|
2513
|
+
`,Jd=({displayDate:e,earliestDate:t,latestDate:r,onDisplayDateChange:n,onMouseLeave:o,shouldPreventFuture:i=!1,renderDay:s})=>{let u=Eoe(Doe(e)),l=Ss(xs(e,1)),c=g1(xs(e,-1)),f=D=>r?y3(D,r):!1,d=D=>i?b3(D):!1,m=D=>t?Mr(D,t):!1,g=D=>f(D)||d(D)||m(D),v=D=>D.toLocaleDateString("en-US",{day:"numeric"}),h=D=>s?s({day:D,isDisabled:g(D),formattedDay:v(D)}):an(Xd,{"data-day":v(D),disabled:g(D),children:an(Yd,{children:v(D)})},D),y={start:t??h1(new Date,-5),end:i?new Date:h1(new Date,5)},b=e.getFullYear(),x=()=>{let D=new Intl.DateTimeFormat("en",{month:"long"});return v1(y).filter(T=>T.getFullYear()===e.getFullYear()).map(T=>({value:T.getMonth(),label:D.format(T)}))},w=()=>Object.values(v1(y).map(D=>({value:D.getFullYear(),label:D.getFullYear()})).reduce((D,T)=>$(D[T.value])?D:{...D,[T.value]:T},{})),S=x(),E=w();return Wg(Toe,{"data-testid":"calendar-test-identifier",children:[Wg(Poe,{children:[an(tF,{"aria-label":"Previous month","data-testid":"month-prev",disabled:m(c),onClick:()=>{n&&n(c)},style:{transform:"translateX(-5px)"},type:"button",children:an(Ee,{size:"md",type:"caret-left"})}),an(ai,{"aria-label":"Select month","data-testid":"monthSelect",fullWidth:!1,onChange:D=>{let T=D.target.value,O=new Date(b,Number(T));n&&(d(O)?n(new Date):m(O)?n(t):n(O))},options:S,placeholder:null,value:e.getMonth()}),an(ai,{"aria-label":"Select year","data-testid":"yearSelect",fullWidth:!1,onChange:D=>{let T=e.getMonth(),O=D.target.value,F=new Date(Number(O),T);n&&(d(F)?n(new Date):m(F)?n(t):n(F))},options:E,placeholder:null,value:e.getFullYear()}),an(tF,{"aria-label":"Next month","data-testid":"month-next",disabled:d(l),onClick:()=>{n&&n(l)},style:{transform:"translateX(4px)"},type:"button",children:an(Ee,{size:"md",type:"caret-right"})})]}),Wg(Aoe,{"aria-label":"Day selection grid",onMouseLeave:o,role:"button",children:[Soe.map(D=>an(Foe,{children:D},D)),u.map(D=>D.map(T=>T instanceof Date?h(T):an(Ooe,{},Math.random())))]})]})};Jd.displayName="Calendar_VHS";import{jsx as qg}from"react/jsx-runtime";var $oe=Roe(Xd)`
|
|
2514
2514
|
${e=>e.isBeginning&&!e.isInRange&&`
|
|
2515
2515
|
border-top-right-radius: 0;
|
|
2516
2516
|
border-bottom-right-radius: 0;
|
|
@@ -2568,7 +2568,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2568
2568
|
color: white;
|
|
2569
2569
|
}
|
|
2570
2570
|
`};
|
|
2571
|
-
${e
|
|
2571
|
+
${e=>$(e.isEnd)&&!e.isBeginning&&!e.disabled&&e.isHovered&&`
|
|
2572
2572
|
color: white;
|
|
2573
2573
|
|
|
2574
2574
|
&::after {
|
|
@@ -2578,14 +2578,14 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2578
2578
|
background: ${e.theme.color.brandBlue500};
|
|
2579
2579
|
}
|
|
2580
2580
|
`}
|
|
2581
|
-
`,rl=e=>{if(de(e))return!1;let{start:t,end:r}=e;return t instanceof Date&&r instanceof Date&&Mr(t,r)},rF=(e,t)=>de(e)||h3(e.end,e.start)<2?!1:C3(t,{start:d1(e.start,1),end:d1(e.end,-1)}),oF=(e,t)=>{if(e instanceof Date
|
|
2581
|
+
`,rl=e=>{if(de(e))return!1;let{start:t,end:r}=e;return t instanceof Date&&r instanceof Date&&Mr(t,r)},rF=(e,t)=>de(e)||h3(e.end,e.start)<2?!1:C3(t,{start:d1(e.start,1),end:d1(e.end,-1)}),oF=(e,t)=>{if(e instanceof Date&&$(t)){let[r,n]=[e,t].sort(fl);if($(r)&&$(n))return{start:r,end:Mi(n)}}},nF=(e,t)=>{let[r,n]=Zd();return tl(()=>{n(oF(e,t))},[e,t,n]),r},Qd=({range:e={end:new Date,start:new Date},rangePartToShow:t="",onChange:r,onIsValidChange:n=()=>{},earliestDate:o,latestDate:i,shouldPreventFuture:s=!1})=>{let u=Kg(()=>Ss(new Date),[]),l=$(e.end)?e.end:u,[c,f]=Zd(l),[{firstDate:d,secondDate:m},g]=Zd({}),[v,h]=Zd(),y=nF(d,m),b=qs(y),x=nF(!rl(y)&&d,v),w=Kg(()=>Us(100,n),[n]),S=Kg(()=>Us(0,f),[]);tl(()=>{S(e.end)},[]),tl(()=>{if(!(!y||!b)&&t){let D=y[t];S(D)}},[t,y,b,S]),tl(()=>{w(rl(y))},[y,w]),tl(()=>{if(rl(e)){let D;b&&!C1(e.start,b.start)&&(D=e.start),b&&!C1(e.end,b.end)&&(D=e.end),D&&S(D),g({firstDate:e.start,secondDate:e.end})}},[e,b,S]);let E=D=>{let T=$(d)&&er(d,D)||$(m)&&er(m,D),O=rF(y,D),F=!y&&rF(x,D),I=D.toLocaleDateString("en-US"),G=$(v)?er(D,v):!1,k=!!(y&&er(y.start,D)||x&&er(x.start,D)),H=!!(y&&er(y.end,D)||x&&er(x.end,D));return{isActive:T,isBeginning:k,isEnd:H,isInRange:O,isInTempRange:F,isHovered:G,val:I}};return qg(Jd,{displayDate:c,earliestDate:o,latestDate:i,onDisplayDateChange:S,onMouseLeave:()=>{h(void 0)},renderDay:({day:D,isDisabled:T,formattedDay:O})=>{let F=E(D);return qg($oe,{...F,"data-day":O,"data-is-beginning":F.isBeginning,"data-is-end":F.isEnd,"data-is-in-temp-range":F.isInTempRange,disabled:T,onClick:()=>{let I=D,G=D;d&&m?G=void 0:d?I=d:G=m,g({firstDate:I,secondDate:G});let k=oF(I,G);rl(k)&&r&&r(k),h(void 0)},onMouseOver:()=>{d&&!T&&h(D)},children:qg(Yd,{children:O})},D)},shouldPreventFuture:s})};Qd.displayName="RangeSelectorCalendar_VHS";a();a();import{useCallback as joe,useEffect as n1,useRef as _oe,useState as o1}from"react";import Woe from"styled-components";a();import aF from"styled-components";import{jsx as iF}from"react/jsx-runtime";var Boe=aF.ul`
|
|
2582
2582
|
list-style: none;
|
|
2583
2583
|
margin: 0;
|
|
2584
2584
|
padding: 0;
|
|
2585
2585
|
`,Moe=aF.li`
|
|
2586
2586
|
color: ${e=>e.theme.color.error600};
|
|
2587
2587
|
font-size: 12px;
|
|
2588
|
-
`,sF=({messages:e=[]})=>iF(Boe,{children:e.map(t=>iF(Moe,{children:t},t))});a();var To=" - ",In=`mm/dd/yyyy${To}mm/dd/yyyy`,Ioe=[{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"}],koe=e=>{let t={month:2,day:2,year:4,skip:To.length-2},r=0;return e.map(({type:n,id:o},i)=>{let s=r+(i===0?0:1),u=s+t[n];return r=u,{start:s,end:u,type:n,id:o}})},Po=koe(Ioe);a();var Noe=new Set(["Enter","Backspace","Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","/"]),e1=e=>/^[0-9]$/i.test(e.key),Voe=e=>Noe.has(e.key),uF=e=>e1(e)||Voe(e),Xg=({key:e,shiftKey:t})=>e==="Tab"&&!t||e==="/"||e==="ArrowRight",Yg=({key:e,shiftKey:t})=>e==="ArrowLeft"||e==="Tab"&&t,Jg=e=>e.key==="ArrowUp"||e.key==="ArrowDown",Zg=e=>e.key==="Backspace",lF=e=>e1(e)||Jg(e)||Zg(e),cF=e=>Yg(e)||Xg(e);a();var sn=e=>{let[t,r]=e.split(To),n="",o="",i="",s="",u="",l=""
|
|
2588
|
+
`,sF=({messages:e=[]})=>iF(Boe,{children:e.map(t=>iF(Moe,{children:t},t))});a();var To=" - ",In=`mm/dd/yyyy${To}mm/dd/yyyy`,Ioe=[{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"}],koe=e=>{let t={month:2,day:2,year:4,skip:To.length-2},r=0;return e.map(({type:n,id:o},i)=>{let s=r+(i===0?0:1),u=s+t[n];return r=u,{start:s,end:u,type:n,id:o}})},Po=koe(Ioe);a();var Noe=new Set(["Enter","Backspace","Tab","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","/"]),e1=e=>/^[0-9]$/i.test(e.key),Voe=e=>Noe.has(e.key),uF=e=>e1(e)||Voe(e),Xg=({key:e,shiftKey:t})=>e==="Tab"&&!t||e==="/"||e==="ArrowRight",Yg=({key:e,shiftKey:t})=>e==="ArrowLeft"||e==="Tab"&&t,Jg=e=>e.key==="ArrowUp"||e.key==="ArrowDown",Zg=e=>e.key==="Backspace",lF=e=>e1(e)||Jg(e)||Zg(e),cF=e=>Yg(e)||Xg(e);a();var sn=e=>{let[t,r]=e.split(To),n="",o="",i="",s="",u="",l="";$(t)&&([n,o,i]=t.split("/")),$(r)&&([s,u,l]=r.split("/"));let c=be(n)?n:"",f=be(o)?o:"",d=be(i)?i:"",m=be(s)?s:"",g=be(u)?u:"",v=be(l)?l:"";return{month1:c,day1:f,year1:d,month2:m,day2:g,year2:v}},nl=e=>{if(!ws(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""}},t1=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:i,year2:s}=e;return`${t}/${r}/${n}${To}${o}/${i}/${s}`},r1=e=>{let{month1:t,day1:r,year1:n,month2:o,day2:i,year2:s}=sn(e);try{let u=xr(new Date(Number(n),Number(t)-1,Number(r))),l=Mi(new Date(Number(s),Number(o)-1,Number(i)));return{start:u,end:l}}catch{return}},Qg=({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}${To}${o}`};a();var e3=dr(bc());a();var vs,fF=e=>{$(vs)&&(e.preventDefault(),clearTimeout(vs),vs=void 0),vs=setTimeout(()=>{clearTimeout(vs),vs=void 0},200)},pF=({start:e,end:t})=>ws(e)&&ws(t),dF=([e],t)=>{let r=t.find(n=>n.start===e);return $(r)&&$(r.id)?r.id:""},ol=(e,t)=>{let r=t.substring(0,t.length-1),n=t.charAt(t.length-1),o=12,i=31;switch(r){case"month":return o;case"year":return b1(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 y1(new Date(l,u))}return y1(new Date(b1(new Date),u))}return i;default:return 0}},mF=({range:e,maxDate:t,minDate:r})=>{let n=nl(e.start),o=nl(e.end),i=[];if($(t)){let s=nl(t);Mr(t,e.start)&&i.push(`${n} is after maximum of ${s}`),Mr(t,e.end)&&i.push(`${o} is after maximum of ${s}`)}if(r){let s=nl(r);Mr(e.start,r)&&i.push(`${n} is before minimum of ${s}`),Mr(e.end,r)&&i.push(`${o} is before minimum of ${s}`)}return(Mr(e.end,e.start)||er(e.end,e.start))&&i.push("start date must come before end date"),i},hF=e=>{let[t,r]=[e.start,e.end].sort(fl);return{start:t,end:r}};a();var Loe=e=>{let t=e.current?.selectionStart,r=e.current?.selectionEnd;return{startPos:t,endPos:r}},gF=(e,t,r)=>{let n=e.current;n&&n.setSelectionRange(t,r)},il=(e,t,r)=>{let n=r.findIndex(i=>i.start===e[0]),o=r[n+t];return o&&o.type==="skip"&&(o=r[n+t*2]),o?[o.start,o.end]:e},vF=(e,t)=>{let r=Loe(e);for(let n=0;n<t.length;n++){if(lt(t[n]))return[];let{start:o,end:i,type:s}=t[n];if($(r.startPos)&&r.startPos>o-1&&r.startPos<=i)return s==="skip"&&J(t[n+1])?[t[n+1].start,t[n+1].end]:[o,i]}return[]},yF=e=>{let t=sn(e),r=sn(In),n=["month1","day1","year1","month2","day2","year2"];for(let o=0;o<n.length;o++){if(lt(n[o]))return-1;if(t[n[o]]===r[n[o]])return o}return-1},bF=([,e])=>{let t=In.indexOf(To);return e===-1?"":J(e)&&e<=t?"start":"end"};var CF=e=>{let t={...e},r=n=>`${n}`.padStart(2,"0");return e.day1!=="dd"&&(t.day1=r(Math.min(Number(e.day1),ol(e,"day1")))),e.day2!=="dd"&&(t.day2=r(Math.min(Number(e.day2),ol(e,"day2")))),t},zoe=(e,t,r,n,o)=>{let i=sn(In)[t],s=i.length,u=h=>`${h}`.padStart(s,"0"),l=h=>({...e,[t]:u(h)}),c=e[t],f=c===i;if(o===0)return l(u(n));let d=ol(e,t),m=`${Number.parseInt(c,10)}`,g=`${m}${n}`,v=m.length===s;return f&&r!=="year"||v?l(n):Number.parseInt(g,10)>d?l(d):l(g)},Hoe=(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},Goe=(e,t,r)=>{let o=sn(In)[t].length,i=c=>`${c}`.padStart(o,"0"),s=c=>({...e,[t]:i(c)}),u=e[t],l=ol(e,t);return s(i(Hoe(u,l,r)))},xF=({event:e,currentSelection:t,keyCount:r,valueParts:n,selectionLength:o})=>{let i="",s=r,u=!1,l=dF(t,Po),c=l.substring(0,l.length-1);if(e1(e)){e.preventDefault();let f=zoe(n,l,c,e.key,r),d=CF(f);i=t1(d),s+=1,u=o===s}if(Jg(e)){e.preventDefault();let f=e.key==="ArrowUp"?1:-1,d=Goe(n,l,f),m=CF(d);i=t1(m),s=0,u=!0}if(Zg(e)){e.preventDefault();let f=sn(In);i=t1({...n,[l]:f[l]}),s=0}return{nextValue:i,nextKeyCount:s,shouldApply:u}},wF=({event:e,currentSelection:t})=>{let r;return Xg(e)&&(r=il(t,1,Po),(0,e3.default)(r,t)||e.preventDefault()),Yg(e)&&(r=il(t,-1,Po),(0,e3.default)(r,t)||e.preventDefault()),{nextSelection:r,nextKeyCount:0}};import{jsx as SF,jsxs as qoe}from"react/jsx-runtime";var Uoe=Woe.input`
|
|
2589
2589
|
border: 1px solid ${e=>e.theme.color.grey400};
|
|
2590
2590
|
border-radius: 4px;
|
|
2591
2591
|
color: ${e=>e.theme.color.grey800};
|
|
@@ -2598,7 +2598,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2598
2598
|
&:focus {
|
|
2599
2599
|
border: 1px solid ${e=>e.theme.color.brandBlue500};
|
|
2600
2600
|
}
|
|
2601
|
-
`,Koe=({latestDate:e,shouldPreventFuture:t})=>e||(t?Mi(new Date):void 0),i1=({onChange:e,onSelectedRangePartChange:t,range:r,earliestDate:n,latestDate:o,shouldPreventFuture:i=!1,width:s="100%",onErrorChange:u})=>{let[l,c]=o1(In),[f,d]=o1(0),[m,g]=o1([]),v=_oe(null),[h,y]=o1([0,-1]),b=lt(h)||lt(h[1])||lt(h[0])?0:h[1]-h[0],x=sn(l),w=joe(S=>{let E=mF({range:S,maxDate:Koe({latestDate:o,shouldPreventFuture:i}),minDate:n});pF(S)&&(c(Qg(S)),!E.length&&J(e)&&e(hF(S))),g(E)},[n,o,i,e]);return n1(()=>{g([]),c(Qg(r))},[r]),n1(()=>{J(u)&&u(m)},[m,u]),n1(()=>{if(b===f){d(0);let S=il(h,1,Po);y(S)}},[f,h,b]),n1(()=>{gF(v,h[0],h[1]),J(t)&&t(bF(h))},[h,l,v,t]),qoe("div",{children:[!!m.length&&SF(sF,{messages:m}),SF(Uoe,{ref:v,"data-testid":"range-selector-input",onBlur:()=>{if(f!==b&&f!==0){let S=r1(l)
|
|
2601
|
+
`,Koe=({latestDate:e,shouldPreventFuture:t})=>e||(t?Mi(new Date):void 0),i1=({onChange:e,onSelectedRangePartChange:t,range:r,earliestDate:n,latestDate:o,shouldPreventFuture:i=!1,width:s="100%",onErrorChange:u})=>{let[l,c]=o1(In),[f,d]=o1(0),[m,g]=o1([]),v=_oe(null),[h,y]=o1([0,-1]),b=lt(h)||lt(h[1])||lt(h[0])?0:h[1]-h[0],x=sn(l),w=joe(S=>{let E=mF({range:S,maxDate:Koe({latestDate:o,shouldPreventFuture:i}),minDate:n});pF(S)&&(c(Qg(S)),!E.length&&J(e)&&e(hF(S))),g(E)},[n,o,i,e]);return n1(()=>{g([]),c(Qg(r))},[r]),n1(()=>{J(u)&&u(m)},[m,u]),n1(()=>{if(b===f){d(0);let S=il(h,1,Po);y(S)}},[f,h,b]),n1(()=>{gF(v,h[0],h[1]),J(t)&&t(bF(h))},[h,l,v,t]),qoe("div",{children:[!!m.length&&SF(sF,{messages:m}),SF(Uoe,{ref:v,"data-testid":"range-selector-input",onBlur:()=>{if(f!==b&&f!==0){let S=r1(l);$(S)&&w(S)}y([0,-1])},onFocus:()=>{if(yF(l)!==-1){let E=Po[0];if($(E)){let{start:D,end:T}=E;y([D,T])}}},onKeyDown:S=>{let E={event:S,currentSelection:h,keyCount:f,valueParts:x,selectionLength:b};if(!uF(S)){S.preventDefault();return}if(lF(S)){let{nextValue:D,nextKeyCount:T,shouldApply:O}=xF(E),F=r1(D);O&&J(F)?w(F):c(D),d(T)}if(cF(S)){let{nextSelection:D,nextKeyCount:T}=wF(E);J(D)&&y(D),d(T);let O=r1(l);J(O)&&w(O)}},onMouseDown:fF,onMouseUp:()=>{d(0),y(vF(v,Po))},readOnly:!0,type:"text",value:l,width:s})]})};i1.displayName="RangeSelectorInput_VHS";import{jsx as Et,jsxs as Fi}from"react/jsx-runtime";var Xoe=Br.div`
|
|
2602
2602
|
text-align: left;
|
|
2603
2603
|
width: 240px;
|
|
2604
2604
|
`,Yoe=({tooltipText:e})=>Et(Va,{direction:"right",label:Et(Xoe,{children:e}),shouldWrap:!0,children:Et(Ee,{size:"md",style:{verticalAlign:"text-bottom"},type:"question-mark"})}),EF=e=>e.toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}),Joe=({start:e,end:t})=>`${EF(e)} - ${EF(t)}`,Zoe=(e,t)=>er(e.start,t.start)&&er(e.end,t.end),Qoe=Br.div`
|
|
@@ -2685,7 +2685,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2685
2685
|
visibility: hidden;
|
|
2686
2686
|
width: calc(100% + 40px);
|
|
2687
2687
|
}
|
|
2688
|
-
`,TF=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=Joe,fullWidth:i=!1,footerText:s,onChange:u,presets:l=[],range:c={end:new Date,start:new Date},shouldPreventFuture:f=!1,...d})=>{let[m,g]=al(c),[v,h]=al(!1),[y,b]=al(!0),[x,w]=al("end"),[S,E]=al([]),D=hn();return DF(()=>{g(c)},[c]),DF(()=>{let O=()=>{h(!1),g(c)};return v&&window.addEventListener("click",O),()=>{window.removeEventListener("click",O)}},[v,c,g]),Fi(eie,{"data-testid":"rangeselector-test-identifer",onClick:O=>O.stopPropagation(),children:[Et(tie,{...d,"data-testid":"trigger",fullWidth:i,icon:Et(Ee,{size:"sm",type:"caret-down"}),iconPosition:"end",inputButtonOverride:t==="input",onClick:()=>h(!v),textAlign:"left",variant:t==="input"?"tertiary":t,children:o(c)}),v?Fi(oie,{align:e,hasPresets:!!l.length,children:[Fi(iie,{children:[!!l.length&&Et(ld,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${D.color.grey400}`,padding:"12px"},variant:"unbulleted",children:l.map(({label:O,value:F,tooltipText:I})=>Et(os,{children:Et(rie,{"data-testid":O?.replaceAll(" ","_"),isActive:Zoe(m,F),onClick:()=>{g(F)},children:Fi(uie,{"data-title":`${O}___`,children:[O," ",I!==void 0?Et(Yoe,{tooltipText:I}):null]})})},O))}),Et(aie,{children:Fi(Qoe,{children:[Et(i1,{earliestDate:r,latestDate:n,onChange:O=>{g(O)},onErrorChange:E,onSelectedRangePartChange:w,range:m,shouldPreventFuture:f,width:"100%"}),Et(Qd,{earliestDate:r,latestDate:n,onChange:O=>{g(O)},onIsValidChange:b,range:m,rangePartToShow:x,shouldPreventFuture:f})]})})]}),Et(nie,{}),Fi(sie,{children:[Et("div",{children:s}),Fi(co,{align:"right",children:[Et(Ze,{onClick:()=>{g(c),h(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),Et(Ze,{"data-testid":"apply-button",disabled:!!S.length||!y,onMouseUp:()=>{u&&u(m),h(!1)},children:"Apply"})]})]})]}):null]})};TF.displayName="RangeSelector_VHS";a();a();import a3,{css as lie}from"styled-components";a();a();import ys from"react";function t3(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function r3(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function a1(e){return e!==null&&e.length===1?e[0]:e.slice()}function s1(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function $i(e,t){return n3(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function n3(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 o3=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]),f=o.getValueFromPosition(c);o.move(f)},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],m=l[1]-o.startPosition[1];o.isScrolling=Math.abs(m)>Math.abs(d)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(l[0]),f=o.getValueFromPosition(c);o.move(f)},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]),s1(o.getMouseEventMap())})}t3(u)}},o.onSliderClick=u=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let l=o.getMousePosition(u),c=$i(o.calcValue(o.calcOffsetFromPosition(l[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=u=>l=>{o.props.disabled||(o.start(u),s1(o.getKeyDownEventMap()),t3(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]),s1(o.getMouseEventMap()),t3(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]),s1(o.getTouchEventMap()),function(f){f.stopPropagation&&f.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:""),f={ref:m=>{o["thumb"+l]=m},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:a1(o.state.value),valueNow:o.state.value[l]};return o.props.ariaValuetext&&(f["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(d)),o.props.renderThumb(f,d)},o.renderTrack=(u,l,c)=>{let f={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:a1(o.state.value)};return o.props.renderTrack(f,d)};let i=r3(n.value);i.length||(i=r3(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let u=0;u<i.length;u+=1)i[u]=$i(i[u],n),s.push(u);return o.resizeObserver=null,o.resizeElementRef=ys.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:i,zIndices:s},o}fn(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 i=r3(n.value);return i.length?o.pending?null:{value:i.map(s=>$i(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(i=>{typeof document<"u"&&document.removeEventListener(i,o[i],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return a1(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,i=-1,{value:s}=this.state,u=s.length;for(let l=0;l<u;l+=1){let c=this.calcOffset(s[l]),f=Math.abs(n-c);f<o&&(o=f,i=l)}return i},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 $i(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 i=this.sizeKey(),s=n.getBoundingClientRect(),u=n[i],l=s[this.posMaxKey()],c=s[this.posMinKey()],f=o.getBoundingClientRect()[i.replace("client","").toLowerCase()],d=u-f,m=Math.abs(l-c);this.state.upperBound===d&&this.state.sliderLength===m&&this.state.thumbSize===f||this.setState({upperBound:d,sliderLength:m,thumbSize:f})},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,i=o.getBoundingClientRect(),s=i[this.posMaxKey()],u=i[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 i=this.calcOffsetFromPosition(n),s=this.getClosestIndex(i),u=$i(this.calcValue(i),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 i=this["thumb"+n];i&&i.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],i=$i(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(i,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],i=$i(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(i,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:i}=this.state,{length:s}=o,u=o[i];if(n===u)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:l,max:c,min:f,minDistance:d}=this.props;if(!l){if(i>0){let m=o[i-1];n<m+d&&(n=m+d)}if(i<s-1){let m=o[i+1];n>m-d&&(n=m-d)}}o[i]=n,l&&s>1&&(n>u?(this.pushSucceeding(o,d,i),function(m,g,v,h){for(let y=0;y<m;y+=1){let b=h-y*v;g[m-1-y]>b&&(g[m-1-y]=b)}}(s,o,d,c)):n<u&&(this.pushPreceding(o,d,i),function(m,g,v,h){for(let y=0;y<m;y+=1){let b=h+y*v;g[y]<b&&(g[y]=b)}}(s,o,d,f))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,i){let s,u;for(s=i,u=n[s]+o;n[s+1]!==null&&u>n[s+1];s+=1,u=n[s]+o)n[s+1]=n3(u,this.props)},r.pushPreceding=function(n,o,i){for(let s=i,u=n[s]-o;n[s-1]!==null&&u<n[s-1];s-=1,u=n[s]-o)n[s-1]=n3(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](a1(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let i={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return i[this.posMinKey()]=n+"px",i},r.buildTrackStyle=function(n,o){let i={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return i[this.posMinKey()]=n,i[this.posMaxKey()]=o,i},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,i=[];for(let u=0;u<o;u+=1)i[u]=this.buildThumbStyle(n[u],u);let s=[];for(let u=0;u<o;u+=1)s[u]=this.renderThumb(i[u],u);return s},r.renderTracks=function(n){let o=[],i=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<i;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(i+1,n[i],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((i,s)=>s):typeof n=="number"&&(n=Array.from({length:o}).map((i,s)=>s).filter(i=>i%n==0)),n.map(parseFloat).sort((i,s)=>i-s).map(i=>{let s=this.calcOffset(i),u={key:i,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(u)})},r.render=function(){let n=[],{value:o}=this.state,i=o.length;for(let c=0;c<i;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 ys.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}(ys.Component);o3.displayName="ReactSlider",o3.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=>ys.createElement("div",e),renderTrack:e=>ys.createElement("div",e),renderMark:e=>ys.createElement("span",e)};var i3=o3;import{jsx as sl}from"react/jsx-runtime";var PF="4px",cie=lie`
|
|
2688
|
+
`,TF=({align:e="left",buttonVariant:t="secondary",earliestDate:r,latestDate:n,format:o=Joe,fullWidth:i=!1,footerText:s,onChange:u,presets:l=[],range:c={end:new Date,start:new Date},shouldPreventFuture:f=!1,...d})=>{let[m,g]=al(c),[v,h]=al(!1),[y,b]=al(!0),[x,w]=al("end"),[S,E]=al([]),D=hn();return DF(()=>{g(c)},[c]),DF(()=>{let O=()=>{h(!1),g(c)};return v&&window.addEventListener("click",O),()=>{window.removeEventListener("click",O)}},[v,c,g]),Fi(eie,{"data-testid":"rangeselector-test-identifer",onClick:O=>O.stopPropagation(),children:[Et(tie,{...d,"data-testid":"trigger",fullWidth:i,icon:Et(Ee,{size:"sm",type:"caret-down"}),iconPosition:"end",inputButtonOverride:t==="input",onClick:()=>h(!v),textAlign:"left",variant:t==="input"?"tertiary":t,children:o(c)}),v?Fi(oie,{align:e,hasPresets:!!l.length,children:[Fi(iie,{children:[!!l.length&&Et(ld,{"data-testid":"presets",style:{marginBottom:0,borderRight:`1px solid ${D.color.grey400}`,padding:"12px"},variant:"unbulleted",children:l.map(({label:O,value:F,tooltipText:I})=>Et(os,{children:Et(rie,{"data-testid":O?.replaceAll(" ","_"),isActive:Zoe(m,F),onClick:()=>{g(F)},children:Fi(uie,{"data-title":`${O}___`,children:[O," ",I!==void 0?Et(Yoe,{tooltipText:I}):null]})})},O))}),Et(aie,{children:Fi(Qoe,{children:[Et(i1,{earliestDate:r,latestDate:n,onChange:O=>{g(O)},onErrorChange:E,onSelectedRangePartChange:w,range:m,shouldPreventFuture:f,width:"100%"}),Et(Qd,{earliestDate:r,latestDate:n,onChange:O=>{g(O)},onIsValidChange:b,range:m,rangePartToShow:x,shouldPreventFuture:f})]})})]}),Et(nie,{}),Fi(sie,{children:[Et("div",{children:s}),Fi(co,{align:"right",children:[Et(Ze,{onClick:()=>{g(c),h(!1)},style:{marginLeft:0},variant:"secondary",children:"Cancel"}),Et(Ze,{"data-testid":"apply-button",disabled:!!S.length||!y,onMouseUp:()=>{u&&u(m),h(!1)},children:"Apply"})]})]})]}):null]})};TF.displayName="RangeSelector_VHS";a();a();import a3,{css as lie}from"styled-components";a();a();import ys from"react";function t3(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function r3(e){return e==null?[]:Array.isArray(e)?e.slice():[e]}function a1(e){return e!==null&&e.length===1?e[0]:e.slice()}function s1(e){Object.keys(e).forEach(t=>{typeof document<"u"&&document.addEventListener(t,e[t],!1)})}function Ri(e,t){return n3(function(r,n){let o=r;return o<=n.min&&(o=n.min),o>=n.max&&(o=n.max),o}(e,t),t)}function n3(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 o3=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]),f=o.getValueFromPosition(c);o.move(f)},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],m=l[1]-o.startPosition[1];o.isScrolling=Math.abs(m)>Math.abs(d)}if(o.isScrolling)return void o.setState({index:-1});let c=o.getDiffPosition(l[0]),f=o.getValueFromPosition(c);o.move(f)},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]),s1(o.getMouseEventMap())})}t3(u)}},o.onSliderClick=u=>{if(!o.props.disabled&&o.props.onSliderClick&&!o.hasMoved){let l=o.getMousePosition(u),c=Ri(o.calcValue(o.calcOffsetFromPosition(l[0])),o.props);o.props.onSliderClick(c)}},o.createOnKeyDown=u=>l=>{o.props.disabled||(o.start(u),s1(o.getKeyDownEventMap()),t3(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]),s1(o.getMouseEventMap()),t3(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]),s1(o.getTouchEventMap()),function(f){f.stopPropagation&&f.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:""),f={ref:m=>{o["thumb"+l]=m},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:a1(o.state.value),valueNow:o.state.value[l]};return o.props.ariaValuetext&&(f["aria-valuetext"]=typeof o.props.ariaValuetext=="string"?o.props.ariaValuetext:o.props.ariaValuetext(d)),o.props.renderThumb(f,d)},o.renderTrack=(u,l,c)=>{let f={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:a1(o.state.value)};return o.props.renderTrack(f,d)};let i=r3(n.value);i.length||(i=r3(n.defaultValue)),o.pendingResizeTimeouts=[];let s=[];for(let u=0;u<i.length;u+=1)i[u]=Ri(i[u],n),s.push(u);return o.resizeObserver=null,o.resizeElementRef=ys.createRef(),o.state={index:-1,upperBound:0,sliderLength:0,value:i,zIndices:s},o}fn(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 i=r3(n.value);return i.length?o.pending?null:{value:i.map(s=>Ri(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(i=>{typeof document<"u"&&document.removeEventListener(i,o[i],!1)})}(n),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pending:!1}),this.hasMoved=!1},r.getValue=function(){return a1(this.state.value)},r.getClosestIndex=function(n){let o=Number.MAX_VALUE,i=-1,{value:s}=this.state,u=s.length;for(let l=0;l<u;l+=1){let c=this.calcOffset(s[l]),f=Math.abs(n-c);f<o&&(o=f,i=l)}return i},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 Ri(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 i=this.sizeKey(),s=n.getBoundingClientRect(),u=n[i],l=s[this.posMaxKey()],c=s[this.posMinKey()],f=o.getBoundingClientRect()[i.replace("client","").toLowerCase()],d=u-f,m=Math.abs(l-c);this.state.upperBound===d&&this.state.sliderLength===m&&this.state.thumbSize===f||this.setState({upperBound:d,sliderLength:m,thumbSize:f})},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,i=o.getBoundingClientRect(),s=i[this.posMaxKey()],u=i[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 i=this.calcOffsetFromPosition(n),s=this.getClosestIndex(i),u=Ri(this.calcValue(i),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 i=this["thumb"+n];i&&i.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],i=Ri(this.props.invert&&this.props.orientation==="horizontal"?o-n:o+n,this.props);this.move(Math.min(i,this.props.max))},r.moveDownByStep=function(n){n===void 0&&(n=this.props.step);let o=this.state.value[this.state.index],i=Ri(this.props.invert&&this.props.orientation==="horizontal"?o+n:o-n,this.props);this.move(Math.max(i,this.props.min))},r.move=function(n){let o=this.state.value.slice(),{index:i}=this.state,{length:s}=o,u=o[i];if(n===u)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;let{pearling:l,max:c,min:f,minDistance:d}=this.props;if(!l){if(i>0){let m=o[i-1];n<m+d&&(n=m+d)}if(i<s-1){let m=o[i+1];n>m-d&&(n=m-d)}}o[i]=n,l&&s>1&&(n>u?(this.pushSucceeding(o,d,i),function(m,g,v,h){for(let y=0;y<m;y+=1){let b=h-y*v;g[m-1-y]>b&&(g[m-1-y]=b)}}(s,o,d,c)):n<u&&(this.pushPreceding(o,d,i),function(m,g,v,h){for(let y=0;y<m;y+=1){let b=h+y*v;g[y]<b&&(g[y]=b)}}(s,o,d,f))),this.setState({value:o},this.fireChangeEvent.bind(this,"onChange"))},r.pushSucceeding=function(n,o,i){let s,u;for(s=i,u=n[s]+o;n[s+1]!==null&&u>n[s+1];s+=1,u=n[s]+o)n[s+1]=n3(u,this.props)},r.pushPreceding=function(n,o,i){for(let s=i,u=n[s]-o;n[s-1]!==null&&u<n[s-1];s-=1,u=n[s]-o)n[s-1]=n3(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](a1(this.state.value),this.state.index)},r.buildThumbStyle=function(n,o){let i={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(o)+1};return i[this.posMinKey()]=n+"px",i},r.buildTrackStyle=function(n,o){let i={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return i[this.posMinKey()]=n,i[this.posMaxKey()]=o,i},r.buildMarkStyle=function(n){var o;return(o={position:"absolute"})[this.posMinKey()]=n,o},r.renderThumbs=function(n){let{length:o}=n,i=[];for(let u=0;u<o;u+=1)i[u]=this.buildThumbStyle(n[u],u);let s=[];for(let u=0;u<o;u+=1)s[u]=this.renderThumb(i[u],u);return s},r.renderTracks=function(n){let o=[],i=n.length-1;o.push(this.renderTrack(0,0,n[0]));for(let s=0;s<i;s+=1)o.push(this.renderTrack(s+1,n[s],n[s+1]));return o.push(this.renderTrack(i+1,n[i],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((i,s)=>s):typeof n=="number"&&(n=Array.from({length:o}).map((i,s)=>s).filter(i=>i%n==0)),n.map(parseFloat).sort((i,s)=>i-s).map(i=>{let s=this.calcOffset(i),u={key:i,className:this.props.markClassName,style:this.buildMarkStyle(s)};return this.props.renderMark(u)})},r.render=function(){let n=[],{value:o}=this.state,i=o.length;for(let c=0;c<i;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 ys.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}(ys.Component);o3.displayName="ReactSlider",o3.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=>ys.createElement("div",e),renderTrack:e=>ys.createElement("div",e),renderMark:e=>ys.createElement("span",e)};var i3=o3;import{jsx as sl}from"react/jsx-runtime";var PF="4px",cie=lie`
|
|
2689
2689
|
opacity: 0.5;
|
|
2690
2690
|
|
|
2691
2691
|
& * {
|
|
@@ -2725,7 +2725,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2725
2725
|
background: ${({isFilledTrack:e,theme:t})=>e?t.color.brandBlue500:t.color.grey400};
|
|
2726
2726
|
border-radius: 999px;
|
|
2727
2727
|
height: ${PF};
|
|
2728
|
-
`,AF=({ariaLabel:e,ariaLabelledby:t,ariaValuetext:r,disabled:n=!1,defaultValue:o=0,max:i=100,min:s=0,onChange:u,step:l=1,value:c,"data-testid":f,...d})=>{be(e)||be(t)||console.warn("VHS Slider: Sliders are required to have an accessible name. Add a label using the ariaLabel or ariaLabelledby prop.");let m
|
|
2728
|
+
`,AF=({ariaLabel:e,ariaLabelledby:t,ariaValuetext:r,disabled:n=!1,defaultValue:o=0,max:i=100,min:s=0,onChange:u,step:l=1,value:c,"data-testid":f,...d})=>{be(e)||be(t)||console.warn("VHS Slider: Sliders are required to have an accessible name. Add a label using the ariaLabel or ariaLabelledby prop.");let m=$(f)?f:"vhs-slider";return sl(fie,{...d,"data-testid":m,disabled:n,children:sl(i3,{ariaLabel:gt(e)||Cs(e)?e:void 0,ariaLabelledby:gt(t)||Cs(t)?t:void 0,ariaValuetext:Fo(r)?g=>r(g):r,defaultValue:p1(o)||Cs(o)?o:void 0,disabled:n,marks:l,max:i,min:s,onChange:u,renderMark:g=>sl("div",{...g,"data-testid":`${m}-mark-${g.key+s}`}),renderThumb:(g,v)=>sl(pie,{...g,"data-testid":`${m}-thumb-${v.index}`}),renderTrack:(g,v)=>sl(mie,{...g,"data-testid":`${m}-track-${v.index}`,isFilledTrack:die(v)}),step:l,value:p1(c)||Cs(c)?c:void 0})})};AF.displayName="Slider_VHS";a();a();import FF from"styled-components";import{jsx as OF}from"react/jsx-runtime";var s3=FF.button`
|
|
2729
2729
|
background-color: white;
|
|
2730
2730
|
border-color: ${({theme:e})=>e.color.grey700};
|
|
2731
2731
|
border-radius: 20px;
|
|
@@ -2804,7 +2804,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2804
2804
|
left: 20px;
|
|
2805
2805
|
}
|
|
2806
2806
|
}
|
|
2807
|
-
|
|
2807
|
+
`,RF=({disabled:e=!1,isChecked:t=!1,onChange:r,colorOverride:n,...o})=>OF(s3,{"aria-checked":t,"aria-disabled":e,"aria-label":t?"on":"off",colorOverride:n,onClick:e?void 0:()=>{r&&r(!t)},role:"switch",type:"button",...o,children:OF(hie,{})});RF.displayName="Switch_VHS";a();a();import $i from"styled-components";import{jsx as kn,jsxs as $F}from"react/jsx-runtime";var gie=$i.div`
|
|
2808
2808
|
${({gradientBackground:e})=>Ir(e)};
|
|
2809
2809
|
aspect-ratio: 16 / 9;
|
|
2810
2810
|
background-image: ${({backgroundUrl:e})=>e};
|
|
@@ -2815,15 +2815,15 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2815
2815
|
overflow: hidden;
|
|
2816
2816
|
position: relative;
|
|
2817
2817
|
width: ${({width:e})=>e};
|
|
2818
|
-
`,vie
|
|
2818
|
+
`,vie=$i.img`
|
|
2819
2819
|
height: 100%;
|
|
2820
2820
|
object-fit: cover;
|
|
2821
2821
|
width: 100%;
|
|
2822
|
-
`,yie
|
|
2822
|
+
`,yie=$i.img`
|
|
2823
2823
|
backdrop-filter: blur(8px);
|
|
2824
2824
|
object-fit: contain;
|
|
2825
2825
|
width: 100%;
|
|
2826
|
-
`,bie
|
|
2826
|
+
`,bie=$i.div`
|
|
2827
2827
|
align-items: center;
|
|
2828
2828
|
background-color: rgb(0 0 0 / 50%);
|
|
2829
2829
|
border-radius: 2px;
|
|
@@ -2839,7 +2839,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2839
2839
|
position: absolute;
|
|
2840
2840
|
right: 0;
|
|
2841
2841
|
z-index: ${({theme:e})=>e.zIndex.ThumbnailDuration};
|
|
2842
|
-
`,Cie
|
|
2842
|
+
`,Cie=$i.div`
|
|
2843
2843
|
align-self: center;
|
|
2844
2844
|
aspect-ratio: 1;
|
|
2845
2845
|
margin: 30%;
|
|
@@ -2849,12 +2849,12 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2849
2849
|
height: 100%;
|
|
2850
2850
|
width: 100%;
|
|
2851
2851
|
}
|
|
2852
|
-
`,xie=({thumbnailImageType:e,thumbnailUrl:t})=>e==="wide"?kn(vie,{alt:"",src:t}):e==="square"?kn(yie,{alt:"",src:t}):null,wie
|
|
2852
|
+
`,xie=({thumbnailImageType:e,thumbnailUrl:t})=>e==="wide"?kn(vie,{alt:"",src:t}):e==="square"?kn(yie,{alt:"",src:t}):null,wie=$i.div`
|
|
2853
2853
|
display: grid;
|
|
2854
2854
|
grid-template-columns: auto auto;
|
|
2855
2855
|
grid-template-rows: 50% 50%;
|
|
2856
2856
|
width: 100%;
|
|
2857
|
-
`,Sie
|
|
2857
|
+
`,Sie=$i.div`
|
|
2858
2858
|
background-image: ${({thumbnailUrl:e})=>`url(${e})`};
|
|
2859
2859
|
background-position: center;
|
|
2860
2860
|
background-size: cover;
|
|
@@ -2869,7 +2869,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2869
2869
|
grid-column: 2;
|
|
2870
2870
|
${({total:e})=>e===2&&"grid-row: 1 / 3;"}
|
|
2871
2871
|
}
|
|
2872
|
-
`,BF=({bottomRightText:e,thumbnailUrl:t,thumbnailImageType:r="square",icon:n,bottomRightIcon:o,width:i="auto",gradientBackground:s="defaultMidOne",iconColor:u="white",...l})=>{let c=Array.isArray(t)?t[0]:t;return
|
|
2872
|
+
`,BF=({bottomRightText:e,thumbnailUrl:t,thumbnailImageType:r="square",icon:n,bottomRightIcon:o,width:i="auto",gradientBackground:s="defaultMidOne",iconColor:u="white",...l})=>{let c=Array.isArray(t)?t[0]:t;return $F(gie,{backgroundUrl:r==="square"&&$(c)?`url(${c})`:"",gradientBackground:s,width:i,...l,children:[$(e)?$F(bie,{children:[o?kn(Ee,{size:"sm",type:o}):null,kn("span",{children:e})]}):null,$(n)&&kn(Cie,{children:kn(Ee,{color:u,type:n})}),!Array.isArray(t)&&$(r)&&$(t)&&kn(xie,{thumbnailImageType:r,thumbnailUrl:t}),Array.isArray(t)&&$(r)&&$(t)&&kn(wie,{"data-testid":"thumbnail-collage",children:t.map((f,d)=>kn(Sie,{thumbnailUrl:f,total:t.length},`${f}${d}`))})]})};BF.displayName="Thumbnail_VHS";a();a();import Die from"styled-components";import{jsx as Ao,jsxs as IF}from"react/jsx-runtime";var Eie=Die.svg`
|
|
2873
2873
|
height: ${({height:e})=>`${e}px`};
|
|
2874
2874
|
|
|
2875
2875
|
/* ensure it will always fit on mobile */
|
|
@@ -2903,7 +2903,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2903
2903
|
3h5.8v16.78h3.08V3h5.91V.22H83.72zm18.12 16.79h3.07V.25h-3.07zm25.31
|
|
2904
2904
|
0H124l-2.56-5.69h-8L111 19.78h-3.18l.1-.22L116.25.14h2.14zM117.3
|
|
2905
2905
|
4.93l-2.64 6.39h5.49z
|
|
2906
|
-
`})}),Aie=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",MF=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:i=!0,title:s="Wistia",variant:u="standard",...l}={})=>{let[c]=_e(["brandBlue500"]),f={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=f[u].brandmark,m=f[u].logotype;if(!e&&!i)return null;let g=IF(Eie,{height:r,hoverColor:n,role:"img",title:"Wistia Logo",viewBox:Aie(!!e,!!i),xmlns:"http://www.w3.org/2000/svg",...l,children:[Ao("title",{children:s}),e?Ao(Tie,{brandmarkColor:d}):null,i?Ao(Pie,{logotypeColor:m}):null]});return o!==void 0?Ao("a",{href:o,children:g}):g};MF.displayName="WistiaLogo_VHS";a();a();import Oie from"styled-components";import{jsx as Nn,jsxs as Mie}from"react/jsx-runtime";var Fie=(e,t)=>t?Nn("g",{fill:e,children:Nn("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"})}):Nn("g",{fill:e,children:Nn("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"})})
|
|
2906
|
+
`})}),Aie=(e,t)=>e&&!t?"0 0 25.7 19.9":!e&&t?"29.6 0 97.7 20":"0 0 127.15 20",MF=({brandmark:e=!0,colorOverride:t=void 0,height:r=100,hoverColor:n=void 0,href:o=void 0,logotype:i=!0,title:s="Wistia",variant:u="standard",...l}={})=>{let[c]=_e(["brandBlue500"]),f={standard:{brandmark:t??c,logotype:t??"#0A162F"},black:{brandmark:"black",logotype:"black"},white:{brandmark:"white",logotype:"white"}},d=f[u].brandmark,m=f[u].logotype;if(!e&&!i)return null;let g=IF(Eie,{height:r,hoverColor:n,role:"img",title:"Wistia Logo",viewBox:Aie(!!e,!!i),xmlns:"http://www.w3.org/2000/svg",...l,children:[Ao("title",{children:s}),e?Ao(Tie,{brandmarkColor:d}):null,i?Ao(Pie,{logotypeColor:m}):null]});return o!==void 0?Ao("a",{href:o,children:g}):g};MF.displayName="WistiaLogo_VHS";a();a();import Oie from"styled-components";import{jsx as Nn,jsxs as Mie}from"react/jsx-runtime";var Fie=(e,t)=>t?Nn("g",{fill:e,children:Nn("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"})}):Nn("g",{fill:e,children:Nn("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"})}),Rie=(e,t)=>t?null:Nn("g",{fill:e,children:Nn("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"})}),$ie=e=>e?"0 0 34.4 26.78":"0 0 144 31.47",Bie=Oie.svg`
|
|
2907
2907
|
height: ${({height:e})=>`${e}px`};
|
|
2908
2908
|
|
|
2909
2909
|
/* ensure it will always fit on mobile */
|
|
@@ -2915,7 +2915,7 @@ var GF=Object.create;var ul=Object.defineProperty;var jF=Object.getOwnPropertyDe
|
|
|
2915
2915
|
${({hoverColor:e})=>e!==void 0?`fill: ${e}`:null};
|
|
2916
2916
|
}
|
|
2917
2917
|
}
|
|
2918
|
-
`,kF=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:i="Wistia Logo",variant:s="standard",...u})=>{let l="#2949e5",c="#000934",f="#ffffff",d={standard:{brandmark:l,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:f,logotype:f}},m=d[s].brandmark,g=d[s].logotype,v=Mie(Bie,{height:t,hoverColor:r,role:"img",viewBox
|
|
2918
|
+
`,kF=({description:e=void 0,height:t=100,hoverColor:r=void 0,href:n=void 0,iconOnly:o=!1,title:i="Wistia Logo",variant:s="standard",...u})=>{let l="#2949e5",c="#000934",f="#ffffff",d={standard:{brandmark:l,logotype:c},dark:{brandmark:c,logotype:c},light:{brandmark:f,logotype:f}},m=d[s].brandmark,g=d[s].logotype,v=Mie(Bie,{height:t,hoverColor:r,role:"img",viewBox:$ie(o),xmlns:"http://www.w3.org/2000/svg",...u,children:[Nn("title",{children:i}),$(e)?Nn("desc",{children:e}):null,Fie(m,o),Rie(g,o)]});return n!==void 0?Nn("a",{href:n,children:v}):v};kF.displayName="WistiaLogoNew_VHS";export{Wx as ActionModal,_r as Backdrop,Kx as BackgroundImage,Yx as Badge,hu as Banner,rw as Box,nw as Breakline,Ze as Button,co as ButtonGroup,pw as ButtonLink,rp as Checkbox,ap as CheckboxGroup,tut as CheckboxMenuItem,yw as ClickArea,xw as CloseButton,Rw as CollapsibleGroup,lp as Divider,Rx as Ellipsis,$w as FileSelect,Lw as Form,Hw as FormButtons,zT as FormField,op as FormFieldError,cp as FormGlobalError,HT as FullScreenModal,Ee as Icon,fo as IconButton,GT as Image,Ha as Input,jT as KeyboardShortcut,np as Label,ip as LabelDescription,Yf as Link,_T as LinkButton,ld as List,os as ListItem,YT as MediaObject,Hne as Menu,LO as MenuButton,eut as MenuItem,mut as MenuLabel,hut as MenuRadioGroup,Elt as Modal,Na as ModalBase,Mlt as ModalBody,klt as ModalCloseButton,KO as ModalContent,Ilt as ModalFooter,Blt as ModalHeader,XO as Paper,ZO as ProgressBar,yp as Radio,bp as RadioGroup,rut as RadioMenuItem,TF as RangeSelector,Qd as RangeSelectorCalendar,i1 as RangeSelectorInput,id as RichTextEditor,jf as ScreenReaderOnly,ai as Select,AF as Slider,gut as SubMenu,zg as SubMenuTrigger,RF as Switch,sr as Text,BF as Thumbnail,Ol as Toast,im as ToastProvider,Va as Tooltip,Uf as Truncate,J3e as VHSProvider,MF as WistiaLogo,kF as WistiaLogoNew,bs as copyToClipboard,Ase as datetimeHelpers,lj as ellipsisFlexParentStyle,vr as ellipsisStyle,Ir as getBackgroundGradient,Lse as getSemiRandomBackgroundGradient,Sl as iconSizeMap,rl as isValidRange,$e as mq,ele as objectHelpers,td as rteDeserializeHTML,mt as rteFormatTypes,rs as rteSerializeToHTML,fu as screenReaderOnlyStyle,Vle as stringHelpers,lm as useBoolean,TB as useClipboard,cm as useElementObserver,pm as useEvent,gm as useFocusTrap,LB as useForceUpdate,Ho as useFormikContext,SL as useIsHovered,vc as useKey,Vm as useKeyPress,zm as useKeyPressOnce,FL as useLocalStorage,Ws as useMergedRefs,Go as useMq,Ks as useOnClickOutside,jm as usePreventScroll,qs as usePreviousValue,hn as useTheme,_e as useThemeColor,yu as useToast,Gm as useWindowSize};
|
|
2919
2919
|
/*! Bundled license information:
|
|
2920
2920
|
|
|
2921
2921
|
react-is/cjs/react-is.production.min.js:
|